X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/3824a6c0417a551961d1a1bf4f94f10eff736afc..25d016f61a3b38e9c048090980c6921b30d047f3:/print-netbios.c diff --git a/print-netbios.c b/print-netbios.c index 14ac0c84..664d568a 100644 --- a/print-netbios.c +++ b/print-netbios.c @@ -22,7 +22,6 @@ * Contributed by Brad Parker (brad@fcr.com). */ - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -35,13 +34,18 @@ #include "interface.h" #include "addrtoname.h" -#include "netbios.h" #include "extract.h" -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-netbios.c,v 1.19 2003-11-15 00:39:33 guy Exp $"; -#endif +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. */