summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/print-vjc.c
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2001-04-03 07:45:48 +0000
committerfenner <fenner@FreeBSD.org>2001-04-03 07:45:48 +0000
commitf7d9a5e270bfcbb075a637a52416185441d33d8d (patch)
treee79d9e6f58638911260708c956a0d44069782cda /contrib/tcpdump/print-vjc.c
parent04f715925eb0f85e1b7d21424cdbb3f6f1fa0b41 (diff)
parentace14a2b50f2cc05c079d0b9137b49066dbb1206 (diff)
downloadFreeBSD-src-f7d9a5e270bfcbb075a637a52416185441d33d8d.zip
FreeBSD-src-f7d9a5e270bfcbb075a637a52416185441d33d8d.tar.gz
This commit was generated by cvs2svn to compensate for changes in r75115,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/tcpdump/print-vjc.c')
-rw-r--r--contrib/tcpdump/print-vjc.c30
1 files changed, 4 insertions, 26 deletions
diff --git a/contrib/tcpdump/print-vjc.c b/contrib/tcpdump/print-vjc.c
index 1b8847f..4283da6 100644
--- a/contrib/tcpdump/print-vjc.c
+++ b/contrib/tcpdump/print-vjc.c
@@ -23,48 +23,27 @@
#include "config.h"
#endif
-#if defined(__bsdi__)
-
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-vjc.c,v 1.2.2.1 2000/01/11 06:58:28 fenner Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-vjc.c,v 1.9 2000/10/09 01:53:21 guy Exp $ (LBL)";
#endif
#include <sys/param.h>
#include <sys/time.h>
-#include <sys/socket.h>
-#include <sys/file.h>
-#include <sys/ioctl.h>
-
-#if __STDC__
-struct mbuf;
-struct rtentry;
-#endif
-#include <net/if.h>
#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/ip.h>
-#include <netinet/if_ether.h>
#include <ctype.h>
#include <netdb.h>
#include <pcap.h>
#include <stdio.h>
-#if defined(__NetBSD__)
-#include <sys/mbuf.h>
-#include <net/ppp_defs.h>
-#endif
-
-#if defined(__bsdi__) || defined(__NetBSD__)
-#include <net/if_ppp.h>
-#include <net/slcompress.h>
-#endif
-
#include "interface.h"
#include "addrtoname.h"
+#include "slcompress.h"
+#include "ppp.h"
+
int
vjc_print(register const char *bp, register u_int length, u_short proto)
{
@@ -101,4 +80,3 @@ vjc_print(register const char *bp, register u_int length, u_short proto)
return -1;
}
}
-#endif /* defined(__bsdi__) || defined(__NetBSD__) */
OpenPOWER on IntegriCloud