Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / asn1 / h225 / packet-h225-template.h
blob049b8d866ba9b519944c36cf4aa7e9a552e406d4
1 /* packet-h225.h
2 * Routines for h225 packet dissection
3 * Copyright 2005, Anders Broman <anders.broman@ericsson.com>
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef PACKET_H225_H
13 #define PACKET_H225_H
15 typedef enum _h225_msg_type {
16 H225_RAS,
17 H225_CS,
18 H225_OTHERS
19 } h225_msg_type;
21 typedef enum _h225_cs_type {
22 H225_SETUP,
23 H225_CALL_PROCEDING,
24 H225_CONNECT,
25 H225_ALERTING,
26 H225_INFORMATION,
27 H225_RELEASE_COMPLET,
28 H225_FACILITY,
29 H225_PROGRESS,
30 H225_EMPTY,
31 H225_STATUS,
32 H225_STATUS_INQUIRY,
33 H225_SETUP_ACK,
34 H225_NOTIFY,
35 H225_OTHER
36 } h225_cs_type;
38 typedef struct _h225_packet_info {
39 h225_msg_type msg_type; /* ras or cs message */
40 h225_cs_type cs_type; /* cs message type */
41 int msg_tag; /* message tag*/
42 int reason; /* reason tag, if available */
43 unsigned requestSeqNum; /* request sequence number of ras-message, if available */
44 e_guid_t guid; /* globally unique call id */
45 bool is_duplicate; /* true, if this is a repeated message */
46 bool request_available; /* true, if response matches to a request */
47 nstime_t delta_time; /* this is the RAS response time delay */
48 /* added for h225 conversations analysis */
49 bool is_faststart; /* true, if faststart field is included */
50 bool is_h245;
51 bool is_h245Tunneling;
52 uint32_t h245_address;
53 uint16_t h245_port;
54 char dialedDigits[129]; /* Dialed Digits in the LRQ and LCF used for voip analysis */
55 bool is_destinationInfo;
56 char frame_label[50]; /* the Frame label used by graph_analysis, what is an abbreviation of cinfo */
57 } h225_packet_info;
60 * the following allows TAP code access to the messages
61 * without having to duplicate it. With MSVC and a
62 * libwireshark.dll, we need a special declaration.
65 #include <epan/asn1.h>
66 #include "packet-per.h"
68 #include "packet-h225-exp.h"
70 #endif /* PACKET_H225_H */
73 * Editor modelines - https://www.wireshark.org/tools/modelines.html
75 * Local Variables:
76 * c-basic-offset: 2
77 * tab-width: 8
78 * indent-tabs-mode: nil
79 * End:
81 * vi: set shiftwidth=2 tabstop=8 expandtab:
82 * :indentSize=2:tabSize=8:noTabs=true: