Drop count is 64 bits
[obnox/wireshark/wip.git] / wiretap / nettl.h
index b1701a9e5ded4ec1076a520415ea8e50f4722eff..3e5227a91d761a87420cc835bae643486af7640b 100644 (file)
@@ -26,6 +26,9 @@
 #ifndef __NETTL_H__
 #define __NETTL_H__
 
+#include <glib.h>
+#include <wiretap/wtap.h>
+
 /* nettl subsystems are defined in /etc/nettlgen.conf */
 
 #define NETTL_SUBSYS_NS_LS_LOGGING     0
@@ -76,6 +79,7 @@
 #define NETTL_SUBSYS_NS_LS_IPV6                244
 #define NETTL_SUBSYS_NS_LS_ICMPV6      245
 #define NETTL_SUBSYS_NS_LS_TELNET      267
+#define NETTL_SUBSYS_NS_LS_SCTP                268
 
 /* Ethernet cards */
 #define NETTL_SUBSYS_100VG             37
@@ -91,6 +95,8 @@
 #define NETTL_SUBSYS_IGELAN            252
 #define NETTL_SUBSYS_IETHER            253
 #define NETTL_SUBSYS_IXGBE             265
+#define NETTL_SUBSYS_ICXGBE            271
+#define NETTL_SUBSYS_IEXGBE            275
 
 /* FDDI cards */
 #define NETTL_SUBSYS_HPPB_FDDI         95
 #define NETTL_SUBSYS_TOKEN             31
 #define NETTL_SUBSYS_PCI_TR            187
 
+/* Accelerated Virtual I/O (AVIO) drivers */
+#define NETTL_SUBSYS_HSSN              269
+#define NETTL_SUBSYS_IGSSN             270
+
 /* from /usr/include/sys/subsys_id.h */
 
+#define NETTL_HDR_HDRIN                 0x80000000
+#define NETTL_HDR_HDROUT                0x40000000
 #define NETTL_HDR_PDUIN                        0x20000000
 #define NETTL_HDR_PDUOUT               0x10000000
+#define NETTL_HDR_PROCEDURE_TRACE       0x08000000
+#define NETTL_HDR_STATE_TRACE           0x04000000
+#define NETTL_HDR_ERROR_TRACE          0x02000000
+#define NETTL_HDR_LOG_TRACE             0x01000000
+#define NETTL_HDR_LOOPBACK              0x00800000
+#define NETTL_HDR_PTOP                  0x00400000
+#define NETTL_HDR_SUBSYSTEM_BITS_MASK   0x000fffff
+
+#define NETTL_HDR_PDU_MASK              0x30000000
 
 int nettl_open(wtap *wth, int *err, gchar **err_info);
-gboolean nettl_dump_open(wtap_dumper *wdh, gboolean cant_seek _U_, int *err);
+gboolean nettl_dump_open(wtap_dumper *wdh, int *err);
 int nettl_dump_can_write_encap(int encap);
 
 #endif