]> The Tcpdump Group git mirrors - tcpdump/commit
Add a "in_cksum_shouldbe()" to compute, given an Internet checksum field
authorguy <guy>
Sun, 21 Jul 2002 20:48:26 +0000 (20:48 +0000)
committerguy <guy>
Sun, 21 Jul 2002 20:48:26 +0000 (20:48 +0000)
commit5ada73a5d26ea61fea9120f483fd99c7e4cd5cb2
tree6b15da37e4368e3cd92da2162c2741c3dda29858
parentaa266b3ec5615dcdd66180612872c98948e0ca98
Add a "in_cksum_shouldbe()" to compute, given an Internet checksum field
in a packet header and the computed checksum for the data that the
checksum covers, what the checksum field's value should have been.

Use that routine in the IP printer.
interface.h
print-ip.c