Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-mgcp.h
blobdb093e8561ca4f2ac88db092a00892ed3c7ac6b6
1 /* packet-mgcp.h
2 * Routines for mgcp packet disassembly
3 * RFC 2705
5 * Copyright (c) 2000 by Ed Warnicke <hagbard@physics.rutgers.edu>
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1999 Gerald Combs
11 * SPDX-License-Identifier: GPL-2.0-or-later
14 /* A simple MGCP type that is occasionally handy */
15 typedef enum _mgcp_type
17 MGCP_REQUEST,
18 MGCP_RESPONSE,
19 MGCP_OTHERS
20 } mgcp_type_t;
22 /* Container for tapping relevant data */
23 typedef struct _mgcp_info_t
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;
40 /* Item of request list */
41 typedef struct _mgcp_call_t
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;
53 * Editor modelines - https://www.wireshark.org/tools/modelines.html
55 * Local variables:
56 * c-basic-offset: 8
57 * tab-width: 8
58 * indent-tabs-mode: t
59 * End:
61 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
62 * :indentSize=8:tabSize=8:noTabs=false: