]> The Tcpdump Group git mirrors - tcpdump/commit
Clean up the checksum checking.
authorGuy Harris <[email protected]>
Fri, 17 Jun 2011 04:50:26 +0000 (21:50 -0700)
committerGuy Harris <[email protected]>
Fri, 17 Jun 2011 04:50:26 +0000 (21:50 -0700)
commit730d36df2c5582096e293cffc81e1682bbf26ef2
tree541b623494a98ee6ba0b1020690c288312821fc3
parent917f5f341f4901bde415293be911903362c1fbfe
Clean up the checksum checking.

Check -v and -K, and the fragmented flag, up front; then check the IP
version etc..  Don't check for IPv6 if we already know it's IPv4.  Fetch
the checksum field only once.
print-tcp.c