Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-h225.h
blobd1abe00bfe73916cc85dfa93ede495dd9d7d1974
1 /* Do not modify this file. Changes will be overwritten. */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler */
3 /* packet-h225.h */
4 /* asn2wrs.py -q -L -p h225 -c ./h225.cnf -s ./packet-h225-template -D . -O ../.. H323-MESSAGES.asn */
6 /* packet-h225.h
7 * Routines for h225 packet dissection
8 * Copyright 2005, Anders Broman <anders.broman@ericsson.com>
10 * Wireshark - Network traffic analyzer
11 * By Gerald Combs <gerald@wireshark.org>
12 * Copyright 1998 Gerald Combs
14 * SPDX-License-Identifier: GPL-2.0-or-later
17 #ifndef PACKET_H225_H
18 #define PACKET_H225_H
20 typedef enum _h225_msg_type {
21 H225_RAS,
22 H225_CS,
23 H225_OTHERS
24 } h225_msg_type;
26 typedef enum _h225_cs_type {
27 H225_SETUP,
28 H225_CALL_PROCEDING,
29 H225_CONNECT,
30 H225_ALERTING,
31 H225_INFORMATION,
32 H225_RELEASE_COMPLET,
33 H225_FACILITY,
34 H225_PROGRESS,
35 H225_EMPTY,
36 H225_STATUS,
37 H225_STATUS_INQUIRY,
38 H225_SETUP_ACK,
39 H225_NOTIFY,
40 H225_OTHER
41 } h225_cs_type;
43 typedef struct _h225_packet_info {
44 h225_msg_type msg_type; /* ras or cs message */
45 h225_cs_type cs_type; /* cs message type */
46 int msg_tag; /* message tag*/
47 int reason; /* reason tag, if available */
48 unsigned requestSeqNum; /* request sequence number of ras-message, if available */
49 e_guid_t guid; /* globally unique call id */
50 bool is_duplicate; /* true, if this is a repeated message */
51 bool request_available; /* true, if response matches to a request */
52 nstime_t delta_time; /* this is the RAS response time delay */
53 /* added for h225 conversations analysis */
54 bool is_faststart; /* true, if faststart field is included */
55 bool is_h245;
56 bool is_h245Tunneling;
57 uint32_t h245_address;
58 uint16_t h245_port;
59 char dialedDigits[129]; /* Dialed Digits in the LRQ and LCF used for voip analysis */
60 bool is_destinationInfo;
61 char frame_label[50]; /* the Frame label used by graph_analysis, what is an abbreviation of cinfo */
62 } h225_packet_info;
65 * the following allows TAP code access to the messages
66 * without having to duplicate it. With MSVC and a
67 * libwireshark.dll, we need a special declaration.
70 #include <epan/asn1.h>
71 #include "packet-per.h"
73 WS_DLL_PUBLIC const value_string T_h323_message_body_vals[];
74 WS_DLL_PUBLIC const value_string h225_ReleaseCompleteReason_vals[];
75 extern const value_string h225_PresentationIndicator_vals[];
76 extern const value_string h225_ScreeningIndicator_vals[];
77 WS_DLL_PUBLIC const value_string FacilityReason_vals[];
78 extern const value_string h225_TransportAddress_vals[];
79 extern const value_string h225_SupportedProtocols_vals[];
80 extern const value_string AliasAddress_vals[];
81 extern const value_string h225_PartyNumber_vals[];
82 extern const value_string h225_PublicTypeOfNumber_vals[];
83 extern const value_string h225_PrivateTypeOfNumber_vals[];
84 extern const value_string h225_IntegrityMechanism_vals[];
85 extern const value_string h225_CryptoH323Token_vals[];
86 extern const value_string h225_GenericIdentifier_vals[];
87 WS_DLL_PUBLIC const value_string h225_RasMessage_vals[];
88 WS_DLL_PUBLIC const value_string GatekeeperRejectReason_vals[];
89 WS_DLL_PUBLIC const value_string RegistrationRejectReason_vals[];
90 WS_DLL_PUBLIC const value_string UnregRequestReason_vals[];
91 WS_DLL_PUBLIC const value_string UnregRejectReason_vals[];
92 extern const value_string h225_TransportQOS_vals[];
93 WS_DLL_PUBLIC const value_string AdmissionRejectReason_vals[];
94 WS_DLL_PUBLIC const value_string BandRejectReason_vals[];
95 WS_DLL_PUBLIC const value_string LocationRejectReason_vals[];
96 WS_DLL_PUBLIC const value_string DisengageReason_vals[];
97 WS_DLL_PUBLIC const value_string DisengageRejectReason_vals[];
98 WS_DLL_PUBLIC const value_string InfoRequestNakReason_vals[];
99 WS_DLL_PUBLIC int dissect_h225_ReleaseCompleteReason(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
100 int dissect_h225_PresentationIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
101 int dissect_h225_ScreeningIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
102 int dissect_h225_TransportAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
103 int dissect_h225_EndpointType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
104 int dissect_h225_SupportedProtocols(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
105 int dissect_h225_TunnelledProtocol(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
106 int dissect_h225_NonStandardParameter(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
107 int dissect_h225_AliasAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
108 int dissect_h225_PartyNumber(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
109 int dissect_h225_PublicTypeOfNumber(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
110 int dissect_h225_PrivateTypeOfNumber(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
111 int dissect_h225_AlternateTransportAddresses(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
112 int dissect_h225_GloballyUniqueID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
113 int dissect_h225_ConferenceIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
114 int dissect_h225_GatekeeperIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
115 int dissect_h225_BandWidth(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
116 int dissect_h225_CallReferenceValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
117 int dissect_h225_TimeToLive(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
118 int dissect_h225_CallIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
119 int dissect_h225_IntegrityMechanism(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
120 int dissect_h225_ICV(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
121 int dissect_h225_CryptoH323Token(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
122 int dissect_h225_CircuitInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
123 int dissect_h225_CircuitIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
124 int dissect_h225_ServiceControlSession(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
125 int dissect_h225_GenericData(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
126 int dissect_h225_GenericIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
127 int dissect_h225_FeatureSet(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
128 int dissect_h225_TransportChannelInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
129 WS_DLL_PUBLIC int dissect_h225_RasMessage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
130 int dissect_h225_TransportQOS(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
131 int dissect_h225_ExtendedAliasAddress_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
133 #endif /* PACKET_H225_H */
136 * Editor modelines - https://www.wireshark.org/tools/modelines.html
138 * Local Variables:
139 * c-basic-offset: 2
140 * tab-width: 8
141 * indent-tabs-mode: nil
142 * End:
144 * vi: set shiftwidth=2 tabstop=8 expandtab:
145 * :indentSize=2:tabSize=8:noTabs=true: