]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-netbios.c
justify more function declarations
[tcpdump] / print-netbios.c
index b34affb84cf2c5c0ac52cd575b07aa37b9a68cc5..664d568a844358baa4dea654f7630d6d1074e03f 100644 (file)
  * Contributed by Brad Parker ([email protected]).
  */
 
-#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.
  */