X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/3d932490b826facb568937a1290910a1265267f5..0f5769df9c34cad23ce2f3a3f6ab9322e8b3c31c:/print-netbios.c diff --git a/print-netbios.c b/print-netbios.c index b34affb8..664d568a 100644 --- a/print-netbios.c +++ b/print-netbios.c @@ -22,11 +22,6 @@ * Contributed by Brad Parker (brad@fcr.com). */ -#ifndef lint -static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-netbios.c,v 1.18 2002-08-01 08:53:20 risso Exp $"; -#endif - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -39,9 +34,18 @@ static const char rcsid[] = #include "interface.h" #include "addrtoname.h" -#include "netbios.h" #include "extract.h" +struct p8022Hdr { + u_char dsap; + u_char ssap; + u_char flags; +}; + +#define p8022Size 3 /* min 802.2 header size */ + +#define UI 0x03 /* 802.2 flags */ + /* * Print NETBIOS packets. */