Wireshark
4.3.0
The Wireshark network protocol analyzer
epan
dissectors
packet-mgcp.h
1
/* packet-mgcp.h
2
* Routines for mgcp packet disassembly
3
* RFC 2705
4
*
5
* Copyright (c) 2000 by Ed Warnicke <hagbard@physics.rutgers.edu>
6
*
7
* Wireshark - Network traffic analyzer
8
* By Gerald Combs <gerald@wireshark.org>
9
* Copyright 1999 Gerald Combs
10
*
11
* SPDX-License-Identifier: GPL-2.0-or-later
12
*/
13
14
/* A simple MGCP type that is occasionally handy */
15
typedef
enum
_mgcp_type
16
{
17
MGCP_REQUEST,
18
MGCP_RESPONSE,
19
MGCP_OTHERS
20
} mgcp_type_t;
21
22
/* Container for tapping relevant data */
23
typedef
struct
_mgcp_info_t
24
{
25
mgcp_type_t mgcp_type;
26
char
code[5];
27
guint32 transid;
28
nstime_t
req_time;
29
gboolean is_duplicate;
30
gboolean request_available;
31
guint32 req_num;
/* frame number request seen */
32
gchar *endpointId;
33
gchar *observedEvents;
34
guint32 rspcode;
35
gchar *signalReq;
36
gboolean hasDigitMap;
37
gboolean is_osmux;
38
}
mgcp_info_t
;
39
40
/* Item of request list */
41
typedef
struct
_mgcp_call_t
42
{
43
guint32 transid;
44
char
code[5];
45
guint32 req_num;
/* frame number request seen */
46
guint32 rsp_num;
/* frame number response seen */
47
guint32 rspcode;
48
nstime_t
req_time;
49
gboolean responded;
50
}
mgcp_call_t
;
51
52
/*
53
* Editor modelines - https://www.wireshark.org/tools/modelines.html
54
*
55
* Local variables:
56
* c-basic-offset: 8
57
* tab-width: 8
58
* indent-tabs-mode: t
59
* End:
60
*
61
* vi: set shiftwidth=8 tabstop=8 noexpandtab:
62
* :indentSize=8:tabSize=8:noTabs=false:
63
*/
_mgcp_call_t
Definition:
packet-mgcp.h:42
_mgcp_info_t
Definition:
packet-mgcp.h:24
nstime_t
Definition:
nstime.h:26
Generated by
1.9.1