diff options
author | fenner <fenner@FreeBSD.org> | 1997-05-27 02:17:42 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1997-05-27 02:17:42 +0000 |
commit | a45d5a033f69ab70d6de3ead1e8c6fd59f87352b (patch) | |
tree | be1f1538067d8b764f3c8883470f914b73adcec2 /contrib/tcpdump/print-null.c | |
parent | 3ff0e744409afb9167d172e5c627942dd28ad80f (diff) | |
download | FreeBSD-src-a45d5a033f69ab70d6de3ead1e8c6fd59f87352b.zip FreeBSD-src-a45d5a033f69ab70d6de3ead1e8c6fd59f87352b.tar.gz |
Merge tcpdump 3.3.
The print_nfs.c changes are pretty extensive; this is partially because
LBL did a lot of cleanup and partially because I removed lots of
pointless changes away from the LBL style.
PR: 3371
mostly-Submitted by: Chris Timmons <skynyrd@opus.cts.cwu.edu>
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 eaa8a26..cf845d4 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) { |