]> The Tcpdump Group git mirrors - tcpdump/commit
Fetch the sequence number the way we fetch the acknowledgment number.
authorGuy Harris <[email protected]>
Sun, 16 Feb 2014 10:21:28 +0000 (02:21 -0800)
committerGuy Harris <[email protected]>
Sun, 16 Feb 2014 10:21:28 +0000 (02:21 -0800)
commite9a1e0713be9b2aeeceff6f4b5869d09c21c3cae
treee0ea229171f47932e15f9b0624cb1eef8a0d292d
parenta64aff7ef33568da871acf230eb1cd7d36997f8e
Fetch the sequence number the way we fetch the acknowledgment number.

Fetch 24 bits if the X bit isn't set, 48 bits if it is, using the
appropriate EXTRACT_ macros.

We do this with "struct dccp_hdr" being a header structure with a 24-bit
sequence number and "struct dccp_hdr_ext" being a header structure with
a 48-bit sequence number.
print-dccp.c