]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-vjc.c
Pull the "linux-include" versions of "slip.h" and "slcompress.h" up to
[tcpdump] / print-vjc.c
index d307d900aaef01cab90bf33a5d985d983922c63c..6936e531efca4f02ae9ad80f020572a270557091 100644 (file)
 #include "config.h"
 #endif
 
-#if defined(__bsdi__)
-
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-vjc.c,v 1.8 2000-09-29 04:58:52 guy 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>
-
-struct mbuf;
-struct rtentry;
 
 #include <netinet/in.h>
 
@@ -46,19 +38,12 @@ struct rtentry;
 #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)
 {
@@ -95,4 +80,3 @@ vjc_print(register const char *bp, register u_int length, u_short proto)
                return -1;
        }
 }
-#endif /* defined(__bsdi__) || defined(__NetBSD__) */