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