diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-06-17 01:09:16 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-06-17 01:09:16 -0700 |
commit | 57bfcb4ebe253111f5d0c12e2269846678306c2a (patch) | |
tree | d51bf19ad10f43b4f3404f9ffe18fae3050ade23 /ip.h | |
parent | d18bb2331dbcb9585d6ca2de96ad02a2ddb7ad03 (diff) | |
download | tcpdump-57bfcb4ebe253111f5d0c12e2269846678306c2a.tar.gz |
Add a routine to do the "checksum with pseudo-header" stuff for IPv4.
Clean up some other stuff while we're at it.
Diffstat (limited to 'ip.h')
-rw-r--r-- | ip.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -161,4 +161,4 @@ struct ip_timestamp { #define IP_MSS 576 /* default maximum segment size */ /* in print-ip.c */ -extern u_int32_t ip_finddst(const struct ip *); +extern int nextproto4_cksum(const struct ip *, const u_int8_t *, u_int, u_int); |