mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Merge remote-tracking branch 'origin/topic/timw/structure-packing'
During merge, changed a bit of how Frame OffsetMap assignments/contruction were handled to keep parity with old version. * origin/topic/timw/structure-packing: Lazy-initalize some of the fields in Frame to reduce the size of all Frames when they're not used Set InternalHashTag to a uint16_t so CompositeHash doesn't have a gap in it. Mark constants in List constexpr so they don't actually take up space in created objects Reorder some class variables to fill in gaps in structure packing
This commit is contained in:
commit
5fe2a57356
18 changed files with 95 additions and 67 deletions
|
@ -44,11 +44,11 @@ protected:
|
|||
|
||||
u_char* proto_hdr;
|
||||
IP_Hdr* reassembled_pkt;
|
||||
uint16_t proto_hdr_len;
|
||||
NetSessions* s;
|
||||
uint64_t frag_size; // size of fully reassembled fragment
|
||||
uint16_t next_proto; // first IPv6 fragment header's next proto field
|
||||
FragReassemblerKey key;
|
||||
uint16_t next_proto; // first IPv6 fragment header's next proto field
|
||||
uint16_t proto_hdr_len;
|
||||
|
||||
FragTimer* expire_timer;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue