]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-netbios.c
Mark the TCP header structure as unaligned.
[tcpdump] / print-netbios.c
index 14ac0c84a91fba0faff0ea0b553955824d040dfe..664d568a844358baa4dea654f7630d6d1074e03f 100644 (file)
@@ -22,7 +22,6 @@
  * Contributed by Brad Parker ([email protected]).
  */
 
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
 #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.
  */