Add a "reserved" field to tcp_hdr record

This record is available by handling either raw_packet or new_packet
events.
This commit is contained in:
Jon Siwek 2020-03-24 10:49:36 -07:00
parent b0b1fffe3e
commit 13391806ba
3 changed files with 11 additions and 9 deletions

View file

@ -1566,7 +1566,8 @@ type tcp_hdr: record {
ack: count; ##< acknowledgement number
hl: count; ##< header length (in bytes)
dl: count; ##< data length (xxx: not in original tcphdr!)
flags: count; ##< flags
reserved: count; ##< The "reserved" 4 bits after the "data offset" field.
flags: count; ##< The 8 bits of flags after the "reserved" field.
win: count; ##< window
};