summaryrefslogtreecommitdiff
path: root/ip.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-06-17 01:09:16 -0700
committerGuy Harris <guy@alum.mit.edu>2011-06-17 01:09:16 -0700
commit57bfcb4ebe253111f5d0c12e2269846678306c2a (patch)
treed51bf19ad10f43b4f3404f9ffe18fae3050ade23 /ip.h
parentd18bb2331dbcb9585d6ca2de96ad02a2ddb7ad03 (diff)
downloadtcpdump-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ip.h b/ip.h
index fd53503e..8a97632e 100644
--- a/ip.h
+++ b/ip.h
@@ -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);