aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-acdr.h
blob: 864590f5205f81beae4dc6e7b7077ff1a33e1c5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
/* packet-acdr.h
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef __PACKET_ACDR_H__
#define __PACKET_ACDR_H__

enum acdr_media_types
{
    ACDR_DSP_AC49X = 0,
    ACDR_RTP = 1,
    ACDR_RTCP = 2,
    ACDR_T38 = 3,
    ACDR_Event = 4,
    ACDR_Info = 5,
    ACDR_VoiceAI = 6,
    ACDR_NotUse1 = 7,
    ACDR_NotUse2 = 8,
    ACDR_NotUse3 = 9,
    ACDR_SIP = 10,
    ACDR_MEGACO = 11,
    ACDR_MGCP = 12,
    ACDR_TPNCP = 13,
    ACDR_Control = 14,
    ACDR_PCM = 15,
    ACDR_NP_CONTROL = 16,
    ACDR_NP_DATA = 17,
    ACDR_DSP_AC48X = 18,
    ACDR_DSP_AC45X = 19,
    ACDR_RESERVED_FOR_INTERNAL_USE_20 = 20,
    ACDR_RESERVED_FOR_INTERNAL_USE_21 = 21,
    ACDR_RESERVED_FOR_INTERNAL_USE_22 = 22,
    ACDR_HA = 23,
    ACDR_CAS = 24,
    ACDR_NET_BRICKS = 25,
    ACDR_COMMAND = 26,
    ACDR_VIDEORTP = 27,
    ACDR_VIDEORTCP = 28,
    ACDR_PCIIF_COMMAND = 29,
    ACDR_GWAPPSYSLOG = 30,
    ACDR_V1501 = 31,
    ACDR_DSP_AC5X = 32,
    ACDR_TLS = 33,
    ACDR_TLSPeek = 34,
    ACDR_DSP_AC5X_MII = 35,
    ACDR_NATIVE = 36,
    ACDR_SIGNALING = 37,
    ACDR_FRAGMENTED = 38,
    ACDR_RESERVED_FOR_INTERNAL_USE_39 = 39,
    ACDR_RESERVED_FOR_INTERNAL_USE_40 = 40,
    ACDR_RESERVED_FOR_INTERNAL_USE_41 = 41,
    ACDR_QOE_CDR = 42,
    ACDR_QOE_MDR = 43,
    ACDR_QOE_EVENT = 44,
    ACDR_RESERVED_FOR_INTERNAL_USE_45 = 45,
    ACDR_RESERVED_FOR_INTERNAL_USE_46 = 46,
    ACDR_DSP_TDM_PLAYBACK = 47,
    ACDR_DSP_NET_PLAYBACK = 48,
    ACDR_DSP_DATA_RELAY = 49,
    ACDR_DSP_SNIFFER = 50,
    ACDR_RTP_AMR = 51,
    ACDR_RTP_EVRC = 52,
    ACDR_RTP_RFC2198 = 53,
    ACDR_RTP_RFC2833 = 54,
    ACDR_T38_OVER_RTP = 55,
    ACDR_RTP_FEC = 56,
    ACDR_RTP_FAX_BYPASS = 57,
    ACDR_RTP_MODEM_BYPASS = 58,
    ACDR_RTP_NSE = 59,
    ACDR_RTP_NO_OP = 60,
    ACDR_DTLS = 61
};

enum AcdrTlsApplication
{
    TLS_APP_UNKNWN = 0,
    TLS_APP_HTTP = 1,
    TLS_APP_TR069 = 2,
    TLS_APP_SIP = 3,
    TLS_APP_LDAP = 4,
    TLS_APP_XML = 5,
    TLS_APP_TCP = 6, // TLS_APP_TCP value (6) is defined for backward compatible
    TLS_APP_TELNET = 7,
    TLS_APP_FTP = 8,
    TLS_APP_TPNCP = 9
};

// must be in same order as in DebugRecordingAPI.h in TPApp.
enum AcdrTracePoints
{
    Net2Dsp = 0,
    Dsp2Net = 1,
    Dsp2Host = 2,
    Host2Dsp = 3,
    Net2Host = 4,
    Host2Net = 5,
    System = 6,
    Dsp2Dsp = 7,
    Net2Net = 8,
    Dsp2Tdm = 9,
    Tdm2Dsp = 10,
    Np2Dsp = 11,
    Dsp2Np = 12,
    Host2Np = 13,
    Np2Host = 14,
    acUnknown = 15,
    Net = 16,
    P2P = 17,
    DspDecoder = 18,
    DspEncoder = 19,
    VoipDecoder = 20,
    VoipEncoder = 21,
    NetEncoder = 22,
    P2PDecoder = 23,
    P2PEncoder = 24,
    Host2Pstn = 25,
    Pstn2Host = 26,
    Net2DspPing = 27,
    Dsp2NetPing = 28,
    Src2Dest = 29,
    Addr2Addr = 30,
    GeneralSystem = 31,
    AllMedia = 32,
    DspIncoming = 33,
    DspOutgoing = 34,
    AfterSrtpDecoder = 35
};

typedef struct {
    gboolean header_added;
    guint8  version;
    guint16 tls_source_port;
    guint16 tls_dest_port;
    guint8  tls_application;
    guint8 media_type;
    guint16 payload_type;
    guint8 trace_point;
    gboolean medium_mii;
    gboolean li_packet;
} acdr_dissector_data_t;

#endif /* __PACKET_ACDR_H__ */

/*
 * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
 *
 * Local variables:
 * c-basic-offset: 4
 * tab-width: 8
 * indent-tabs-mode: nil
 * End:
 *
 * vi: set shiftwidth=4 tabstop=8 expandtab:
 * :indentSize=4:tabSize=8:noTabs=true:
 */