summaryrefslogtreecommitdiff
path: root/ip.h
diff options
context:
space:
mode:
authorfenner <fenner>2002-07-28 04:14:21 +0000
committerfenner <fenner>2002-07-28 04:14:21 +0000
commita71d112b5c898951be91480f193dce7101727d2d (patch)
treece7227eee6c510def89caad6a6c9239011f5c544 /ip.h
parentdc97370ce2efb3b5841eb6db755ef955a6eba937 (diff)
downloadtcpdump-a71d112b5c898951be91480f193dce7101727d2d.tar.gz
Calculate UDP/TCP pseudo-checksum properly in the presence of
source-route options.
Diffstat (limited to 'ip.h')
-rw-r--r--ip.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ip.h b/ip.h
index 5b7e449c..dd8bad60 100644
--- a/ip.h
+++ b/ip.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/ip.h,v 1.7 2000-10-03 09:17:40 guy Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/ip.h,v 1.8 2002-07-28 04:14:21 fenner Exp $ (LBL) */
/*
* Copyright (c) 1982, 1986, 1993
* The Regents of the University of California. All rights reserved.
@@ -157,3 +157,6 @@ struct ip_timestamp {
#define IPTTLDEC 1 /* subtracted when forwarding */
#define IP_MSS 576 /* default maximum segment size */
+
+/* in print-ip.c */
+extern u_int32_t ip_finddst(const struct ip *);