diff options
author | 2014-06-20 04:04:52 +0000 | |
---|---|---|
committer | 2014-06-20 04:04:52 +0000 | |
commit | 127a37bf870689c2230ce51997a3e305721e5502 (patch) | |
tree | ec2f032ec8e01e91b2bc4f06374c504b2912cc43 /lib/libssl/src | |
parent | Import in_cksum_shouldbe() from mainline tcpdump; this is needed by my (diff) | |
download | wireguard-openbsd-127a37bf870689c2230ce51997a3e305721e5502.tar.xz wireguard-openbsd-127a37bf870689c2230ce51997a3e305721e5502.zip |
Instead of showing the difference between a bad checksum and a good
checksum, make tcpdump (with the -v flag) show the actual bad checksum
within the IP/protocol header itself and what the good checksum should
be, e.g. "[bad tcp cksum abcd! -> d1e6]"
This change applies to IP, TCP (over IPv4 and IPv6), UDP (over IPv4 and
IPv6), ICMP, and ICMPv6. This commit also fixes several inconsistencies
in the way bad checksums were displayed for these protocols.
Tested on amd64, i386, and macppc.
ok henning@
Diffstat (limited to 'lib/libssl/src')
0 files changed, 0 insertions, 0 deletions