]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-netbios.c
Merge branch 'master' of git+ssh://bpf.tcpdump.org/tcpdump/master/git/tcpdump
[tcpdump] / print-netbios.c
index 14ac0c84a91fba0faff0ea0b553955824d040dfe..a55a8afc9035b9627ce467fb3ac2cece800c189c 100644 (file)
  * Contributed by Brad Parker ([email protected]).
  */
 
  * Contributed by Brad Parker ([email protected]).
  */
 
+#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"
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 
 #include "interface.h"
 #include "addrtoname.h"
 
 #include "interface.h"
 #include "addrtoname.h"
-#include "netbios.h"
 #include "extract.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.
  */
 /*
  * Print NETBIOS packets.
  */