Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
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 } mgcp_info_t;
38 
39 /* Item of request list */
40 typedef struct _mgcp_call_t
41 {
42  guint32 transid;
43  char code[5];
44  guint32 req_num; /* frame number request seen */
45  guint32 rsp_num; /* frame number response seen */
46  guint32 rspcode;
47  nstime_t req_time;
48  gboolean responded;
49 } mgcp_call_t;
50 
51 /*
52  * Editor modelines - http://www.wireshark.org/tools/modelines.html
53  *
54  * Local variables:
55  * c-basic-offset: 8
56  * tab-width: 8
57  * indent-tabs-mode: t
58  * End:
59  *
60  * vi: set shiftwidth=8 tabstop=8 noexpandtab:
61  * :indentSize=8:tabSize=8:noTabs=false:
62  */
Definition: packet-mgcp.h:40
Definition: nstime.h:27
Definition: packet-mgcp.h:23