Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
nettl.h
Go to the documentation of this file.
1
12#ifndef __NETTL_H__
13#define __NETTL_H__
14
15#include "wtap.h"
16
17/* nettl subsystems are defined in /etc/nettlgen.conf */
18
19#define NETTL_SUBSYS_NS_LS_LOGGING 0
20#define NETTL_SUBSYS_NS_LS_NFT 1
21#define NETTL_SUBSYS_NS_LS_LOOPBACK 2
22#define NETTL_SUBSYS_NS_LS_NI 3
23#define NETTL_SUBSYS_NS_LS_IPC 4
24#define NETTL_SUBSYS_NS_LS_SOCKREGD 5
25#define NETTL_SUBSYS_NS_LS_TCP 6
26#define NETTL_SUBSYS_NS_LS_PXP 7
27#define NETTL_SUBSYS_NS_LS_UDP 8
28#define NETTL_SUBSYS_NS_LS_IP 9
29#define NETTL_SUBSYS_NS_LS_PROBE 10
30#define NETTL_SUBSYS_NS_LS_DRIVER 11
31#define NETTL_SUBSYS_NS_LS_RLBD 12
32#define NETTL_SUBSYS_NS_LS_BUFS 13
33#define NETTL_SUBSYS_NS_LS_CASE21 14
34#define NETTL_SUBSYS_NS_LS_ROUTER21 15
35#define NETTL_SUBSYS_NS_LS_NFS 16
36#define NETTL_SUBSYS_NS_LS_NETISR 17
37#define NETTL_SUBSYS_NS_LS_NSE 18
38#define NETTL_SUBSYS_NS_LS_STRLOG 19
39#define NETTL_SUBSYS_NS_LS_TIRDWR 21
40#define NETTL_SUBSYS_NS_LS_TIMOD 22
41#define NETTL_SUBSYS_NS_LS_ICMP 23
42#define NETTL_SUBSYS_FILTER 26
43#define NETTL_SUBSYS_NAME 27
44#define NETTL_SUBSYS_IGMP 29
45#define NETTL_SUBSYS_SX25L2 34
46#define NETTL_SUBSYS_SX25L3 35
47#define NETTL_SUBSYS_FTAM_INIT 64
48#define NETTL_SUBSYS_FTAM_RESP 65
49#define NETTL_SUBSYS_FTAM_VFS 70
50#define NETTL_SUBSYS_FTAM_USER 72
51#define NETTL_SUBSYS_OTS 90
52#define NETTL_SUBSYS_NETWORK 91
53#define NETTL_SUBSYS_TRANSPORT 92
54#define NETTL_SUBSYS_SESSION 93
55#define NETTL_SUBSYS_ACSE_PRES 94
56#define NETTL_SUBSYS_SHM 116
57#define NETTL_SUBSYS_ACSE_US 119
58#define NETTL_SUBSYS_HPS 121
59#define NETTL_SUBSYS_CM 122
60#define NETTL_SUBSYS_ULA_UTILS 123
61#define NETTL_SUBSYS_EM 124
62#define NETTL_SUBSYS_HP_APAPORT 189
63#define NETTL_SUBSYS_HP_APALACP 190
64#define NETTL_SUBSYS_NS_LS_IPV6 244
65#define NETTL_SUBSYS_NS_LS_ICMPV6 245
66#define NETTL_SUBSYS_NS_LS_TELNET 267
67#define NETTL_SUBSYS_NS_LS_SCTP 268
68
69/* Ethernet cards */
70#define NETTL_SUBSYS_100VG 37
71#define NETTL_SUBSYS_LAN100 164
72#define NETTL_SUBSYS_EISA100BT 172
73#define NETTL_SUBSYS_BASE100 173
74#define NETTL_SUBSYS_GSC100BT 178
75#define NETTL_SUBSYS_PCI100BT 179
76#define NETTL_SUBSYS_SPP100BT 180
77#define NETTL_SUBSYS_GELAN 185
78#define NETTL_SUBSYS_BTLAN 210
79#define NETTL_SUBSYS_INTL100 233
80#define NETTL_SUBSYS_IGELAN 252
81#define NETTL_SUBSYS_IETHER 253
82#define NETTL_SUBSYS_IXGBE 265
83#define NETTL_SUBSYS_ICXGBE 271
84#define NETTL_SUBSYS_IEXGBE 275
85#define NETTL_SUBSYS_IOCXGBE 277
86#define NETTL_SUBSYS_IQXGBE 278
87
88/* FDDI cards */
89#define NETTL_SUBSYS_HPPB_FDDI 95
90#define NETTL_SUBSYS_EISA_FDDI 174
91#define NETTL_SUBSYS_PCI_FDDI 176
92#define NETTL_SUBSYS_HSC_FDDI 177
93
94/* Token Ring cards */
95#define NETTL_SUBSYS_TOKEN 31
96#define NETTL_SUBSYS_PCI_TR 187
97
98/* Accelerated Virtual I/O (AVIO) drivers */
99#define NETTL_SUBSYS_HSSN 269
100#define NETTL_SUBSYS_IGSSN 270
101
102/* from /usr/include/sys/subsys_id.h */
103
104#define NETTL_HDR_HDRIN 0x80000000
105#define NETTL_HDR_HDROUT 0x40000000
106#define NETTL_HDR_PDUIN 0x20000000
107#define NETTL_HDR_PDUOUT 0x10000000
108#define NETTL_HDR_PROCEDURE_TRACE 0x08000000
109#define NETTL_HDR_STATE_TRACE 0x04000000
110#define NETTL_HDR_ERROR_TRACE 0x02000000
111#define NETTL_HDR_LOG_TRACE 0x01000000
112#define NETTL_HDR_LOOPBACK 0x00800000
113#define NETTL_HDR_PTOP 0x00400000
114#define NETTL_HDR_SUBSYSTEM_BITS_MASK 0x000fffff
115
116#define NETTL_HDR_PDU_MASK 0x30000000
117
118wtap_open_return_val nettl_open(wtap *wth, int *err, char **err_info);
119
120#endif
Definition wtap-int.h:37