Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-acdr.h
1/* packet-acdr.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <[email protected]>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10#ifndef __PACKET_ACDR_H__
11#define __PACKET_ACDR_H__
12
13enum acdr_media_types
14{
15 ACDR_DSP_AC49X = 0,
16 ACDR_RTP = 1,
17 ACDR_RTCP = 2,
18 ACDR_T38 = 3,
19 ACDR_Event = 4,
20 ACDR_Info = 5,
21 ACDR_VoiceAI = 6,
22 ACDR_NotUse1 = 7,
23 ACDR_NotUse2 = 8,
24 ACDR_NotUse3 = 9,
25 ACDR_SIP = 10,
26 ACDR_MEGACO = 11,
27 ACDR_MGCP = 12,
28 ACDR_TPNCP = 13,
29 ACDR_Control = 14,
30 ACDR_PCM = 15,
31 ACDR_NP_CONTROL = 16,
32 ACDR_NP_DATA = 17,
33 ACDR_DSP_AC48X = 18,
34 ACDR_DSP_AC45X = 19,
35 ACDR_RESERVED_FOR_INTERNAL_USE_20 = 20,
36 ACDR_RESERVED_FOR_INTERNAL_USE_21 = 21,
37 ACDR_RESERVED_FOR_INTERNAL_USE_22 = 22,
38 ACDR_HA = 23,
39 ACDR_CAS = 24,
40 ACDR_NET_BRICKS = 25,
41 ACDR_COMMAND = 26,
42 ACDR_VIDEORTP = 27,
43 ACDR_VIDEORTCP = 28,
44 ACDR_PCIIF_COMMAND = 29,
45 ACDR_GWAPPSYSLOG = 30,
46 ACDR_V1501 = 31,
47 ACDR_DSP_AC5X = 32,
48 ACDR_TLS = 33,
49 ACDR_TLSPeek = 34,
50 ACDR_DSP_AC5X_MII = 35,
51 ACDR_NATIVE = 36,
52 ACDR_SIGNALING = 37,
53 ACDR_FRAGMENTED = 38,
54 ACDR_RESERVED_FOR_INTERNAL_USE_39 = 39,
55 ACDR_RESERVED_FOR_INTERNAL_USE_40 = 40,
56 ACDR_RESERVED_FOR_INTERNAL_USE_41 = 41,
57 ACDR_QOE_CDR = 42,
58 ACDR_QOE_MDR = 43,
59 ACDR_QOE_EVENT = 44,
60 ACDR_RESERVED_FOR_INTERNAL_USE_45 = 45,
61 ACDR_RESERVED_FOR_INTERNAL_USE_46 = 46,
62 ACDR_DSP_TDM_PLAYBACK = 47,
63 ACDR_DSP_NET_PLAYBACK = 48,
64 ACDR_DSP_DATA_RELAY = 49,
65 ACDR_DSP_SNIFFER = 50,
66 ACDR_RTP_AMR = 51,
67 ACDR_RTP_EVRC = 52,
68 ACDR_RTP_RFC2198 = 53,
69 ACDR_RTP_RFC2833 = 54,
70 ACDR_T38_OVER_RTP = 55,
71 ACDR_RTP_FEC = 56,
72 ACDR_RTP_FAX_BYPASS = 57,
73 ACDR_RTP_MODEM_BYPASS = 58,
74 ACDR_RTP_NSE = 59,
75 ACDR_RTP_NO_OP = 60,
76 ACDR_DTLS = 61,
77 ACDR_SSH_SHELL = 62,
78 ACDR_SSH_SFTP = 63,
79 ACDR_SSH_SCP = 64
80};
81
82enum AcdrTlsApplication
83{
84 TLS_APP_UNKNWN = 0,
85 TLS_APP_HTTP = 1,
86 TLS_APP_TR069 = 2,
87 TLS_APP_SIP = 3,
88 TLS_APP_LDAP = 4,
89 TLS_APP_XML = 5,
90 TLS_APP_TCP = 6, // TLS_APP_TCP value (6) is defined for backward compatible
91 TLS_APP_TELNET = 7,
92 TLS_APP_FTP = 8,
93 TLS_APP_TPNCP = 9
94};
95
96// must be in same order as in DebugRecordingAPI.h in TPApp.
97enum AcdrTracePoints
98{
99 Net2Dsp = 0,
100 Dsp2Net = 1,
101 Dsp2Host = 2,
102 Host2Dsp = 3,
103 Net2Host = 4,
104 Host2Net = 5,
105 System = 6,
106 Dsp2Dsp = 7,
107 Net2Net = 8,
108 Dsp2Tdm = 9,
109 Tdm2Dsp = 10,
110 Np2Dsp = 11,
111 Dsp2Np = 12,
112 Host2Np = 13,
113 Np2Host = 14,
114 acUnknown = 15,
115 Net = 16,
116 P2P = 17,
117 DspDecoder = 18,
118 DspEncoder = 19,
119 VoipDecoder = 20,
120 VoipEncoder = 21,
121 NetEncoder = 22,
122 P2PDecoder = 23,
123 P2PEncoder = 24,
124 Host2Pstn = 25,
125 Pstn2Host = 26,
126 Net2DspPing = 27,
127 Dsp2NetPing = 28,
128 Src2Dest = 29,
129 Addr2Addr = 30,
130 GeneralSystem = 31,
131 AllMedia = 32,
132 DspIncoming = 33,
133 DspOutgoing = 34,
134 AfterSrtpDecoder = 35
135};
136
137typedef struct {
138 bool header_added;
139 uint8_t version;
140 uint16_t tls_source_port;
141 uint16_t tls_dest_port;
142 uint8_t tls_application;
143 uint8_t media_type;
144 uint16_t payload_type;
145 uint8_t trace_point;
146 bool medium_mii;
147 bool li_packet;
149
150#endif /* __PACKET_ACDR_H__ */
151
152/*
153 * Editor modelines - https://www.wireshark.org/tools/modelines.html
154 *
155 * Local variables:
156 * c-basic-offset: 4
157 * tab-width: 8
158 * indent-tabs-mode: nil
159 * End:
160 *
161 * vi: set shiftwidth=4 tabstop=8 expandtab:
162 * :indentSize=4:tabSize=8:noTabs=true:
163 */
Definition packet-acdr.h:137