tcpdump/tests/ipv4_tcp_http_xml_tso.pcap
Francois-Xavier Le Bail 3465ec4a0c IP: Enable TSO (TCP Segmentation Offload) support
It's a follow-up to c8623960f0.

The support is now enabled by default. No more "#ifdef GUESS_TSO".

Output example:
  length 2016 [was 0, presumed TSO]

Add a test file with presumed TSO.
(From http://cloudshark.org/captures/25e40f73bc1c, found via
https://osqa-ask.wireshark.org/questions/16279/)

Use ND_ICHECKMSG_U() to test an invalid total length < header length.

Output example:
  [total length 19 < 20] (invalid)

Add a test file for this case.

Move ND_TCHECK_SIZE(ip) after the new tests.

Add a const qualifier for the ip_print() parameter 'length'.

Update the man page.
2023-10-06 14:26:19 +00:00

2.0 KiB