| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
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 uint32_t transid;
28 nstime_t req_time;
29 bool is_duplicate;
30 bool request_available;
31 uint32_t req_num; /* frame number request seen */
32 char *endpointId;
33 char *observedEvents;
34 uint32_t rspcode;
35 char *signalReq;
36 bool hasDigitMap;
37 bool is_osmux;
38} mgcp_info_t;
39
40/* Item of request list */
41 typedef struct _mgcp_call_t
42{
43 uint32_t transid;
44 char code[5];
45 uint32_t req_num; /* frame number request seen */
46 uint32_t rsp_num; /* frame number response seen */
47 uint32_t rspcode;
48 nstime_t req_time;
49 bool 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