summaryrefslogtreecommitdiff
path: root/ip.h
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2014-03-26 15:47:29 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2014-03-26 15:49:27 +0400
commitb6303af682e72841f79ac6847f93b0cb0a49c549 (patch)
tree5f6b66aec2e811c806c5d5880000a0886c4bfb46 /ip.h
parentd6af516cbc7c874404cb07456a6e80a8e9ddd9b4 (diff)
downloadtcpdump-b6303af682e72841f79ac6847f93b0cb0a49c549.tar.gz
NDOize AODV, IPv4 and SCTP decoders
Diffstat (limited to 'ip.h')
-rw-r--r--ip.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ip.h b/ip.h
index 2fcb40ea..64ec5dc6 100644
--- 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 */