X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/bbc1cfa669a5f51ed26bae3784447076e3fbc80f..25d016f61a3b38e9c048090980c6921b30d047f3:/print-netbios.c diff --git a/print-netbios.c b/print-netbios.c index c92eb9e6..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[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-netbios.c,v 1.20 2003-11-16 09:36:29 guy Exp $"; -#endif - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -39,9 +34,18 @@ static const char rcsid[] _U_ = #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. */