summaryrefslogtreecommitdiff
path: root/tcp.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-10-30 11:15:40 -0700
committerGuy Harris <guy@alum.mit.edu>2016-10-30 11:15:40 -0700
commit06c4ca1ac27515fb28d3f4aab1ef151c25946a14 (patch)
tree87a22f83f9f0948b927f50c1e8f4d4e4470f38a2 /tcp.h
parentfe01d2496c1cc3b4a327d7d9b2faba9c79479a13 (diff)
downloadtcpdump-06c4ca1ac27515fb28d3f4aab1ef151c25946a14.tar.gz
Further IPv4-mapped IPv6 address cleanups.
Have a routine to check for those addresses, and use it in all cases. Have a #define for the length of the fixed part of those addresses at the beginning, and use it. Fix a length check; Coverity noted that the check never failed, because we were comparing the length of the prefix field in the packet with the length of the IPv4 prefix, not the length of the IPv4 prefix plus the fixed part at the beginning.
Diffstat (limited to 'tcp.h')
0 files changed, 0 insertions, 0 deletions