| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-h225.h
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 */
5
6/* packet-h225.h
7 * Routines for h225 packet dissection
8 * Copyright 2005, Anders Broman <anders.broman@ericsson.com>
9 *
10 * Wireshark - Network traffic analyzer
11 * By Gerald Combs <gerald@wireshark.org>
12 * Copyright 1998 Gerald Combs
13 *
14 * SPDX-License-Identifier: GPL-2.0-or-later
15 */
16
17#ifndef PACKET_H225_H
18#define PACKET_H225_H
19
20 typedef enum _h225_msg_type {
21 H225_RAS,
22 H225_CS,
23 H225_OTHERS
24} h225_msg_type;
25
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;
42
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; /* the Frame label used by graph_analysis, what is an abbreviation of cinfo */
62} h225_packet_info;
63
64/*
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.
68 */
69
70#include <epan/asn1.h>
71#include "packet-per.h"
72
73 extern const value_string T_h323_message_body_vals[];
74 extern const value_string h225_ReleaseCompleteReason_vals[];
75 extern const value_string h225_PresentationIndicator_vals[];
76 extern const value_string h225_ScreeningIndicator_vals[];
77 extern 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 extern const value_string h225_RasMessage_vals[];
88 extern const value_string GatekeeperRejectReason_vals[];
89 extern const value_string RegistrationRejectReason_vals[];
90 extern const value_string UnregRequestReason_vals[];
91 extern const value_string UnregRejectReason_vals[];
92 extern const value_string h225_TransportQOS_vals[];
93 extern const value_string AdmissionRejectReason_vals[];
94 extern const value_string BandRejectReason_vals[];
95 extern const value_string LocationRejectReason_vals[];
96 extern const value_string DisengageReason_vals[];
97 extern const value_string DisengageRejectReason_vals[];
98 extern const value_string InfoRequestNakReason_vals[];
99WS_DLL_PUBLIC unsigned dissect_h225_ReleaseCompleteReason(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
100 unsigned dissect_h225_PresentationIndicator(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
101 unsigned dissect_h225_ScreeningIndicator(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
102 unsigned dissect_h225_TransportAddress(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
103 unsigned dissect_h225_EndpointType(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
104 unsigned dissect_h225_SupportedProtocols(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
105 unsigned dissect_h225_TunnelledProtocol(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
106 unsigned dissect_h225_NonStandardParameter(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
107 unsigned dissect_h225_AliasAddress(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
108 unsigned dissect_h225_PartyNumber(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
109 unsigned dissect_h225_PublicTypeOfNumber(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
110 unsigned dissect_h225_PrivateTypeOfNumber(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
111 unsigned dissect_h225_AlternateTransportAddresses(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
112 unsigned dissect_h225_GloballyUniqueID(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
113 unsigned dissect_h225_ConferenceIdentifier(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
114 unsigned dissect_h225_GatekeeperIdentifier(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
115 unsigned dissect_h225_BandWidth(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
116 unsigned dissect_h225_CallReferenceValue(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
117 unsigned dissect_h225_TimeToLive(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
118 unsigned dissect_h225_CallIdentifier(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
119 unsigned dissect_h225_IntegrityMechanism(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
120 unsigned dissect_h225_ICV(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
121 unsigned dissect_h225_CryptoH323Token(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
122 unsigned dissect_h225_CircuitInfo(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
123 unsigned dissect_h225_CircuitIdentifier(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
124 unsigned dissect_h225_ServiceControlSession(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
125 unsigned dissect_h225_GenericData(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
126 unsigned dissect_h225_GenericIdentifier(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
127 unsigned dissect_h225_FeatureSet(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
128 unsigned dissect_h225_TransportChannelInfo(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
129WS_DLL_PUBLIC unsigned dissect_h225_RasMessage(tvbuff_t *tvb _U_, uint32_t offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
130 unsigned dissect_h225_TransportQOS(tvbuff_t *tvb _U_, uint32_t 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_);
132
133#endif /* PACKET_H225_H */
134
135/*
136 * Editor modelines - https://www.wireshark.org/tools/modelines.html
137 *
138 * Local Variables:
139 * c-basic-offset: 2
140 * tab-width: 8
141 * indent-tabs-mode: nil
142 * End:
143 *
144 * vi: set shiftwidth=2 tabstop=8 expandtab:
145 * :indentSize=2:tabSize=8:noTabs=true:
146 */
asn1.h
_asn1_ctx_t
Definition asn1.h:66
_e_guid_t
Definition guid-utils.h:23
_h225_packet_info
Definition packet-h225.h:43
_packet_info
Definition packet_info.h:43
_proto_node
Definition proto.h:907
_value_string
Mapping between a 32-bit integer value and its string representation.
Definition value_string.h:33
nstime_t
Definition nstime.h:26
tvbuff
Definition tvbuff-int.h:35