diff options
author | fenner <fenner@FreeBSD.org> | 1997-05-27 02:11:31 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1997-05-27 02:11:31 +0000 |
commit | a9b9c86c8a0ccde5c1480bf5a0ba250d949a6d65 (patch) | |
tree | e094325bbde8f6c3c673d34a84cb20359f0f55fd /contrib/tcpdump/print-null.c | |
parent | 97a804ef88319863cfa8146c068ec895f4ad8316 (diff) | |
download | FreeBSD-src-a9b9c86c8a0ccde5c1480bf5a0ba250d949a6d65.zip FreeBSD-src-a9b9c86c8a0ccde5c1480bf5a0ba250d949a6d65.tar.gz |
Virgin import of LBL tcpdump v3.3
Diffstat (limited to 'contrib/tcpdump/print-null.c')
-rw-r--r-- | contrib/tcpdump/print-null.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/tcpdump/print-null.c b/contrib/tcpdump/print-null.c index 89e1695..ba731d8 100644 --- a/contrib/tcpdump/print-null.c +++ b/contrib/tcpdump/print-null.c @@ -20,8 +20,8 @@ */ #ifndef lint -static char rcsid[] = - "@(#)$Header: print-null.c,v 1.19 96/07/14 19:39:02 leres Exp $ (LBL)"; +static const char rcsid[] = + "@(#) $Header: print-null.c,v 1.22 96/12/10 23:18:58 leres Exp $ (LBL)"; #endif #include <sys/param.h> @@ -46,15 +46,19 @@ struct rtentry; #include <netinet/tcp.h> #include <netinet/tcpip.h> +#include <pcap.h> #include <stdio.h> #include <string.h> -#include "interface.h" #include "addrtoname.h" -#include "pcap.h" +#include "interface.h" #define NULL_HDRLEN 4 +#ifndef AF_NS +#define AF_NS 6 /* XEROX NS protocols */ +#endif + static void null_print(const u_char *p, const struct ip *ip, u_int length) { |