| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
exported_pdu_tlvs.h
Go to the documentation of this file.
1
13#ifndef EXPORTED_PDU_TLVS_H
14#define EXPORTED_PDU_TLVS_H
15
65/* Tag values
66 *
67 * Do NOT add new values to this list without asking
68 * wireshark-dev[AT]wireshark.org for a value. Otherwise, you run the risk of
69 * using a value that's already being used for some other purpose, and of
70 * having tools that read exported_pdu captures not being able to handle
71 * captures with your new tag value, with no hope that they will ever be
72 * changed to do so (as that would destroy their ability to read captures
73 * using that value for that other purpose).
74 */
75#define EXP_PDU_TAG_END_OF_OPT 0
76/* 1 - 9 reserved */
77#define EXP_PDU_TAG_OPTIONS_LENGTH 10
80#define EXP_PDU_TAG_LINKTYPE 11
81#define EXP_PDU_TAG_DISSECTOR_NAME 12
91#define EXP_PDU_TAG_HEUR_DISSECTOR_NAME 13
96#define EXP_PDU_TAG_DISSECTOR_TABLE_NAME 14
102/* For backwards source compatibility */
103#define EXP_PDU_TAG_PROTO_NAME EXP_PDU_TAG_DISSECTOR_NAME
104#define EXP_PDU_TAG_HEUR_PROTO_NAME EXP_PDU_TAG_HEUR_DISSECTOR_NAME
105
106/* Add protocol type related tags here.
107 * NOTE Only one protocol type tag may be present in a packet, the first one
108 * found will be used*/
109/* 13 - 19 reserved */
110#define EXP_PDU_TAG_IPV4_SRC 20
111#define EXP_PDU_TAG_IPV4_DST 21
112#define EXP_PDU_TAG_IPV6_SRC 22
113#define EXP_PDU_TAG_IPV6_DST 23
115/* Port type values for EXP_PDU_TAG_PORT_TYPE; these do not necessarily
116 * correspond to port type values inside libwireshark. */
117#define EXP_PDU_PT_NONE 0
118#define EXP_PDU_PT_SCTP 1
119#define EXP_PDU_PT_TCP 2
120#define EXP_PDU_PT_UDP 3
121#define EXP_PDU_PT_DCCP 4
122#define EXP_PDU_PT_IPX 5
123#define EXP_PDU_PT_NCP 6
124#define EXP_PDU_PT_EXCHG 7
125#define EXP_PDU_PT_DDP 8
126#define EXP_PDU_PT_SBCCS 9
127#define EXP_PDU_PT_IDP 10
128#define EXP_PDU_PT_TIPC 11
129#define EXP_PDU_PT_USB 12
130#define EXP_PDU_PT_I2C 13
131#define EXP_PDU_PT_IBQP 14
132#define EXP_PDU_PT_BLUETOOTH 15
133#define EXP_PDU_PT_TDMOP 16
134#define EXP_PDU_PT_IWARP_MPA 17
135#define EXP_PDU_PT_MCTP 18
136
137#define EXP_PDU_TAG_PORT_TYPE 24
138#define EXP_PDU_TAG_SRC_PORT 25
139#define EXP_PDU_TAG_DST_PORT 26
141#define EXP_PDU_TAG_SS7_OPC 28
142#define EXP_PDU_TAG_SS7_DPC 29
143
144#define EXP_PDU_TAG_ORIG_FNO 30
145
146#define EXP_PDU_TAG_DVBCI_EVT 31
147
148#define EXP_PDU_TAG_DISSECTOR_TABLE_NAME_NUM_VAL 32
152#define EXP_PDU_TAG_COL_PROT_TEXT 33
174#define EXP_PDU_TAG_TCP_INFO_DATA 34
175
176#define EXP_PDU_TAG_P2P_DIRECTION 35
178#define EXP_PDU_TAG_COL_INFO_TEXT 36
181#define EXP_PDU_TAG_USER_DATA_PDU 37
183/* 3GPP identity types for EXP_PDU_TAG_3GPP_ID */
184#define EXP_PDU_3GPP_ID_CGI 0
185#define EXP_PDU_3GPP_ID_ECGI 1
186#define EXP_PDU_3GPP_ID_NCGI 2
192#define EXP_PDU_TAG_3GPP_ID 38
193
194#define EXP_PDU_TAG_LINK_DIRECTION 39
196#define EXP_PDU_TAG_IPV4_LEN 4
197#define EXP_PDU_TAG_IPV6_LEN 16
198
199#define EXP_PDU_TAG_PORT_TYPE_LEN 4
200#define EXP_PDU_TAG_PORT_LEN 4
201
202#define EXP_PDU_TAG_SS7_OPC_LEN 8 /* 4 bytes PC, 2 bytes standard type, 1 byte NI, 1 byte padding */
203#define EXP_PDU_TAG_SS7_DPC_LEN 8 /* 4 bytes PC, 2 bytes standard type, 1 byte NI, 1 byte padding */
204
205#define EXP_PDU_TAG_ORIG_FNO_LEN 4
206
207#define EXP_PDU_TAG_DVBCI_EVT_LEN 1
208
209#define EXP_PDU_TAG_DISSECTOR_TABLE_NUM_VAL_LEN 4
210
211#endif /* EXPORTED_PDU_TLVS_H */