]> The Tcpdump Group git mirrors - tcpdump/blobdiff - ip.h
NDOize AODV, IPv4 and SCTP decoders
[tcpdump] / ip.h
diff --git a/ip.h b/ip.h
index 2fcb40eaffa9c04a15471b9d0d47e77be019fd0b..64ec5dc6f50c391c6591c4ec4d9309d1cd013901 100644 (file)
--- a/ip.h
+++ b/ip.h
@@ -33,6 +33,9 @@
  *     @(#)ip.h        8.2 (Berkeley) 6/1/94
  */
 
+#ifndef TCPDUMP_IP_H
+#define TCPDUMP_IP_H
+
 /*
  * Definitions for internet protocol version 4.
  * Per RFC 791, September 1981.
@@ -158,6 +161,4 @@ struct      ip_timestamp {
 #define        IPTTLDEC        1               /* subtracted when forwarding */
 
 #define        IP_MSS          576             /* default maximum segment size */
-
-/* in print-ip.c */
-extern int nextproto4_cksum(const struct ip *, const u_int8_t *, u_int, u_int, u_int);
+#endif /* TCPDUMP_IP_H */