summaryrefslogtreecommitdiff
path: root/print-frag6.c
diff options
context:
space:
mode:
authorguy <guy>2000-09-23 08:54:24 +0000
committerguy <guy>2000-09-23 08:54:24 +0000
commit536f5125835b031330f472aebed8241a1718b018 (patch)
treea334e9acc3b3104a347ebfebffead00d12f19c68 /print-frag6.c
parent7b50febe28e54e076a9917164eeddec4bc7a170e (diff)
downloadtcpdump-536f5125835b031330f472aebed8241a1718b018.tar.gz
Add an "ip.h" header, to declare the IP stuff needed by dissectors, and
have dissectors include them rather than <netinet/ip.h> or <netinet/ip_var.h>, if they actually need that stuff. Put the declarations of the ICMP stuff directly into "print-icmp.c". Remove all unnecessary includes of <netinet/ip*.h> files. Copy the byte-order stuff from "nameser.h" into "tcp.h".
Diffstat (limited to 'print-frag6.c')
-rw-r--r--print-frag6.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/print-frag6.c b/print-frag6.c
index 31d59836..4e422a69 100644
--- a/print-frag6.c
+++ b/print-frag6.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-frag6.c,v 1.7 2000-09-23 08:26:33 guy Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-frag6.c,v 1.8 2000-09-23 08:54:29 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H
@@ -39,9 +39,6 @@ static const char rcsid[] =
#include <netinet/in.h>
#include <netinet/in_systm.h>
-#include <netinet/ip.h>
-#include <netinet/ip_icmp.h>
-#include <netinet/ip_var.h>
#include <stdio.h>