From Didier Gautheron:
[obnox/wireshark/wip.git] / epan / dissectors / packet-h225.h
1 /* Do not modify this file.                                                   */
2 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
3 /* packet-h225.h                                                              */
4 /* ../../tools/asn2wrs.py -e -p h225 -c ./h225.cnf -s ./packet-h225-template -D . H323-MESSAGES.asn */
5
6 /* Input file: packet-h225-template.h */
7
8 #line 1 "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  * $Id$
14  *
15  * Wireshark - Network traffic analyzer
16  * By Gerald Combs <gerald@wireshark.org>
17  * Copyright 1998 Gerald Combs
18  *
19  * This program is free software; you can redistribute it and/or
20  * modify it under the terms of the GNU General Public License
21  * as published by the Free Software Foundation; either version 2
22  * of the License, or (at your option) any later version.
23  *
24  * This program is distributed in the hope that it will be useful,
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27  * GNU General Public License for more details.
28  *
29  * You should have received a copy of the GNU General Public License
30  * along with this program; if not, write to the Free Software
31  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
32  */
33
34 #ifndef PACKET_H225_H
35 #define PACKET_H225_H
36
37 typedef enum _h225_msg_type {
38         H225_RAS,
39         H225_CS,
40         H225_OTHERS
41 } h225_msg_type;
42
43 typedef enum _h225_cs_type {
44     H225_SETUP,
45     H225_CALL_PROCEDING,
46     H225_CONNECT,
47     H225_ALERTING,
48     H225_INFORMATION,
49     H225_RELEASE_COMPLET,
50     H225_FACILITY,
51     H225_PROGRESS,
52     H225_EMPTY,
53     H225_STATUS,
54     H225_STATUS_INQUIRY,
55     H225_SETUP_ACK,
56     H225_NOTIFY,
57     H225_OTHER
58 } h225_cs_type;
59
60 typedef struct _h225_packet_info {
61         h225_msg_type msg_type;         /* ras or cs message */
62         h225_cs_type cs_type;           /* cs message type */
63         gint msg_tag;                   /* message tag*/
64         gint reason;                    /* reason tag, if available */
65         guint requestSeqNum;            /* request sequence number of ras-message, if available */
66         e_guid_t guid;                  /* globally unique call id */
67         gboolean is_duplicate;          /* true, if this is a repeated message */
68         gboolean request_available;     /* true, if response matches to a request */
69         nstime_t delta_time;            /* this is the RAS response time delay */
70         /* added for h225 conversations analysis */
71         gboolean is_faststart;          /* true, if faststart field is included */
72         gboolean is_h245;
73         gboolean is_h245Tunneling;
74         guint32 h245_address;
75         guint16 h245_port;
76         gchar dialedDigits[129]; /* Dialed Digits in the LRQ and LCF used for voip analysis */
77         gboolean is_destinationInfo;
78         gchar frame_label[50]; /* the Fram label used by graph_analysis, what is a abreviation of cinfo */
79 } h225_packet_info;
80
81 /*
82  * the following allows TAP code access to the messages
83  * without having to duplicate it. With MSVC and a 
84  * libwireshark.dll, we need a special declaration.
85  */
86
87 #include <epan/asn1.h>
88 #include <epan/dissectors/packet-per.h>
89
90
91 /*--- Included file: packet-h225-exp.h ---*/
92 #line 1 "packet-h225-exp.h"
93 WS_VAR_IMPORT const value_string T_h323_message_body_vals[];
94 WS_VAR_IMPORT const value_string h225_ReleaseCompleteReason_vals[];
95 extern const value_string h225_PresentationIndicator_vals[];
96 extern const value_string h225_ScreeningIndicator_vals[];
97 WS_VAR_IMPORT const value_string FacilityReason_vals[];
98 extern const value_string h225_TransportAddress_vals[];
99 extern const value_string h225_SupportedProtocols_vals[];
100 extern const value_string AliasAddress_vals[];
101 extern const value_string h225_PartyNumber_vals[];
102 extern const value_string h225_PublicTypeOfNumber_vals[];
103 extern const value_string h225_PrivateTypeOfNumber_vals[];
104 extern const value_string h225_IntegrityMechanism_vals[];
105 extern const value_string h225_CryptoH323Token_vals[];
106 extern const value_string h225_GenericIdentifier_vals[];
107 WS_VAR_IMPORT const value_string h225_RasMessage_vals[];
108 WS_VAR_IMPORT const value_string GatekeeperRejectReason_vals[];
109 WS_VAR_IMPORT const value_string RegistrationRejectReason_vals[];
110 WS_VAR_IMPORT const value_string UnregRequestReason_vals[];
111 WS_VAR_IMPORT const value_string UnregRejectReason_vals[];
112 extern const value_string h225_TransportQOS_vals[];
113 WS_VAR_IMPORT const value_string AdmissionRejectReason_vals[];
114 WS_VAR_IMPORT const value_string BandRejectReason_vals[];
115 WS_VAR_IMPORT const value_string LocationRejectReason_vals[];
116 WS_VAR_IMPORT const value_string DisengageReason_vals[];
117 WS_VAR_IMPORT const value_string DisengageRejectReason_vals[];
118 WS_VAR_IMPORT const value_string InfoRequestNakReason_vals[];
119 int dissect_h225_ReleaseCompleteReason(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
120 int dissect_h225_PresentationIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
121 int dissect_h225_ScreeningIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
122 int dissect_h225_TransportAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
123 int dissect_h225_EndpointType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
124 int dissect_h225_SupportedProtocols(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
125 int dissect_h225_TunnelledProtocol(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
126 int dissect_h225_NonStandardParameter(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
127 int dissect_h225_AliasAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
128 int dissect_h225_PartyNumber(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
129 int dissect_h225_PublicTypeOfNumber(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
130 int dissect_h225_PrivateTypeOfNumber(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
131 int dissect_h225_AlternateTransportAddresses(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
132 int dissect_h225_GloballyUniqueID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
133 int dissect_h225_ConferenceIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
134 int dissect_h225_GatekeeperIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
135 int dissect_h225_BandWidth(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
136 int dissect_h225_CallReferenceValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
137 int dissect_h225_TimeToLive(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
138 int dissect_h225_CallIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
139 int dissect_h225_IntegrityMechanism(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
140 int dissect_h225_ICV(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
141 int dissect_h225_CryptoH323Token(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
142 int dissect_h225_CircuitInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
143 int dissect_h225_CircuitIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
144 int dissect_h225_ServiceControlSession(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
145 int dissect_h225_GenericData(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
146 int dissect_h225_GenericIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
147 int dissect_h225_FeatureSet(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
148 int dissect_h225_TransportChannelInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
149 int dissect_h225_RasMessage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
150 int dissect_h225_TransportQOS(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
151 int dissect_h225_ExtendedAliasAddress_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_);
152
153 /*--- End of included file: packet-h225-exp.h ---*/
154 #line 83 "packet-h225-template.h"
155
156 #endif  /* PACKET_H225_H */
157
158