2013-04-11 18:14:53 +00:00
|
|
|
/* Do not modify this file. Changes will be overwritten. */
|
|
|
|
/* Generated automatically by the ASN.1 to Wireshark dissector compiler */
|
2007-10-17 10:25:21 +00:00
|
|
|
/* packet-h225.h */
|
2013-10-20 18:26:08 +00:00
|
|
|
/* ../../tools/asn2wrs.py -p h225 -c ./h225.cnf -s ./packet-h225-template -D . -O ../../epan/dissectors H323-MESSAGES.asn */
|
2005-01-02 22:05:47 +00:00
|
|
|
|
|
|
|
/* Input file: packet-h225-template.h */
|
|
|
|
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/h225/packet-h225-template.h"
|
2003-08-23 08:23:24 +00:00
|
|
|
/* packet-h225.h
|
2005-01-02 22:05:47 +00:00
|
|
|
* Routines for h225 packet dissection
|
2005-01-08 14:42:12 +00:00
|
|
|
* Copyright 2005, Anders Broman <anders.broman@ericsson.com>
|
2003-08-23 08:23:24 +00:00
|
|
|
*
|
2004-07-18 00:24:25 +00:00
|
|
|
* $Id$
|
2003-08-23 08:23:24 +00:00
|
|
|
*
|
2006-05-21 04:49:01 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2003-08-23 08:23:24 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2003-08-23 08:23:24 +00:00
|
|
|
*/
|
|
|
|
|
2005-01-02 22:56:25 +00:00
|
|
|
#ifndef PACKET_H225_H
|
2005-01-02 22:05:47 +00:00
|
|
|
#define PACKET_H225_H
|
2003-09-26 22:20:08 +00:00
|
|
|
|
2003-10-28 00:31:17 +00:00
|
|
|
typedef enum _h225_msg_type {
|
|
|
|
H225_RAS,
|
|
|
|
H225_CS,
|
|
|
|
H225_OTHERS
|
|
|
|
} h225_msg_type;
|
|
|
|
|
2004-09-29 22:23:37 +00:00
|
|
|
typedef enum _h225_cs_type {
|
2005-02-01 12:12:35 +00:00
|
|
|
H225_SETUP,
|
|
|
|
H225_CALL_PROCEDING,
|
|
|
|
H225_CONNECT,
|
|
|
|
H225_ALERTING,
|
|
|
|
H225_INFORMATION,
|
|
|
|
H225_RELEASE_COMPLET,
|
|
|
|
H225_FACILITY,
|
|
|
|
H225_PROGRESS,
|
|
|
|
H225_EMPTY,
|
|
|
|
H225_STATUS,
|
|
|
|
H225_STATUS_INQUIRY,
|
|
|
|
H225_SETUP_ACK,
|
|
|
|
H225_NOTIFY,
|
|
|
|
H225_OTHER
|
2004-09-29 22:23:37 +00:00
|
|
|
} h225_cs_type;
|
|
|
|
|
2003-10-28 00:31:17 +00:00
|
|
|
typedef struct _h225_packet_info {
|
|
|
|
h225_msg_type msg_type; /* ras or cs message */
|
2004-09-29 22:23:37 +00:00
|
|
|
h225_cs_type cs_type; /* cs message type */
|
2003-10-28 00:31:17 +00:00
|
|
|
gint msg_tag; /* message tag*/
|
|
|
|
gint reason; /* reason tag, if available */
|
|
|
|
guint requestSeqNum; /* request sequence number of ras-message, if available */
|
2006-03-19 20:45:45 +00:00
|
|
|
e_guid_t guid; /* globally unique call id */
|
2003-11-16 23:11:20 +00:00
|
|
|
gboolean is_duplicate; /* true, if this is a repeated message */
|
|
|
|
gboolean request_available; /* true, if response matches to a request */
|
|
|
|
nstime_t delta_time; /* this is the RAS response time delay */
|
2004-09-29 22:23:37 +00:00
|
|
|
/* added for h225 conversations analysis */
|
|
|
|
gboolean is_faststart; /* true, if faststart field is included */
|
|
|
|
gboolean is_h245;
|
2005-02-01 12:12:35 +00:00
|
|
|
gboolean is_h245Tunneling;
|
2004-09-29 22:23:37 +00:00
|
|
|
guint32 h245_address;
|
|
|
|
guint16 h245_port;
|
2005-08-26 15:46:53 +00:00
|
|
|
gchar dialedDigits[129]; /* Dialed Digits in the LRQ and LCF used for voip analysis */
|
2005-02-07 08:57:47 +00:00
|
|
|
gboolean is_destinationInfo;
|
2005-02-01 12:12:35 +00:00
|
|
|
gchar frame_label[50]; /* the Fram label used by graph_analysis, what is a abreviation of cinfo */
|
2003-10-28 00:31:17 +00:00
|
|
|
} h225_packet_info;
|
2003-09-26 22:20:08 +00:00
|
|
|
|
2003-12-15 04:23:55 +00:00
|
|
|
/*
|
|
|
|
* the following allows TAP code access to the messages
|
2004-05-09 10:03:41 +00:00
|
|
|
* without having to duplicate it. With MSVC and a
|
2006-05-29 13:06:44 +00:00
|
|
|
* libwireshark.dll, we need a special declaration.
|
2003-12-15 04:23:55 +00:00
|
|
|
*/
|
2005-01-02 22:05:47 +00:00
|
|
|
|
2007-05-01 22:05:11 +00:00
|
|
|
#include <epan/asn1.h>
|
2006-08-10 09:02:24 +00:00
|
|
|
#include <epan/dissectors/packet-per.h>
|
2005-01-02 22:05:47 +00:00
|
|
|
|
|
|
|
|
2005-01-16 21:21:41 +00:00
|
|
|
/*--- Included file: packet-h225-exp.h ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/h225/packet-h225-exp.h"
|
2013-03-01 23:53:11 +00:00
|
|
|
WS_DLL_PUBLIC const value_string T_h323_message_body_vals[];
|
|
|
|
WS_DLL_PUBLIC const value_string h225_ReleaseCompleteReason_vals[];
|
2005-01-13 21:12:06 +00:00
|
|
|
extern const value_string h225_PresentationIndicator_vals[];
|
|
|
|
extern const value_string h225_ScreeningIndicator_vals[];
|
2013-03-01 23:53:11 +00:00
|
|
|
WS_DLL_PUBLIC const value_string FacilityReason_vals[];
|
2007-10-05 07:44:03 +00:00
|
|
|
extern const value_string h225_TransportAddress_vals[];
|
|
|
|
extern const value_string h225_SupportedProtocols_vals[];
|
2005-01-02 22:05:47 +00:00
|
|
|
extern const value_string AliasAddress_vals[];
|
2005-01-13 21:12:06 +00:00
|
|
|
extern const value_string h225_PartyNumber_vals[];
|
2007-10-05 07:44:03 +00:00
|
|
|
extern const value_string h225_PublicTypeOfNumber_vals[];
|
|
|
|
extern const value_string h225_PrivateTypeOfNumber_vals[];
|
|
|
|
extern const value_string h225_IntegrityMechanism_vals[];
|
|
|
|
extern const value_string h225_CryptoH323Token_vals[];
|
|
|
|
extern const value_string h225_GenericIdentifier_vals[];
|
2013-03-01 23:53:11 +00:00
|
|
|
WS_DLL_PUBLIC const value_string h225_RasMessage_vals[];
|
|
|
|
WS_DLL_PUBLIC const value_string GatekeeperRejectReason_vals[];
|
|
|
|
WS_DLL_PUBLIC const value_string RegistrationRejectReason_vals[];
|
|
|
|
WS_DLL_PUBLIC const value_string UnregRequestReason_vals[];
|
|
|
|
WS_DLL_PUBLIC const value_string UnregRejectReason_vals[];
|
2007-10-05 07:44:03 +00:00
|
|
|
extern const value_string h225_TransportQOS_vals[];
|
2013-03-01 23:53:11 +00:00
|
|
|
WS_DLL_PUBLIC const value_string AdmissionRejectReason_vals[];
|
|
|
|
WS_DLL_PUBLIC const value_string BandRejectReason_vals[];
|
|
|
|
WS_DLL_PUBLIC const value_string LocationRejectReason_vals[];
|
|
|
|
WS_DLL_PUBLIC const value_string DisengageReason_vals[];
|
|
|
|
WS_DLL_PUBLIC const value_string DisengageRejectReason_vals[];
|
|
|
|
WS_DLL_PUBLIC const value_string InfoRequestNakReason_vals[];
|
|
|
|
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_);
|
2007-03-21 10:22:22 +00:00
|
|
|
int dissect_h225_PresentationIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_ScreeningIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
2007-10-05 07:44:03 +00:00
|
|
|
int dissect_h225_TransportAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_EndpointType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_SupportedProtocols(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_TunnelledProtocol(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
2007-03-21 10:22:22 +00:00
|
|
|
int dissect_h225_NonStandardParameter(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_AliasAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_PartyNumber(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
2007-10-05 07:44:03 +00:00
|
|
|
int dissect_h225_PublicTypeOfNumber(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_PrivateTypeOfNumber(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_AlternateTransportAddresses(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_GloballyUniqueID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_ConferenceIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_GatekeeperIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_BandWidth(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_CallReferenceValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_TimeToLive(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
2007-03-21 10:22:22 +00:00
|
|
|
int dissect_h225_CallIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
2007-10-05 07:44:03 +00:00
|
|
|
int dissect_h225_IntegrityMechanism(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_ICV(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_CryptoH323Token(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_CircuitInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_CircuitIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_ServiceControlSession(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
2007-03-21 10:22:22 +00:00
|
|
|
int dissect_h225_GenericData(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
2007-10-05 07:44:03 +00:00
|
|
|
int dissect_h225_GenericIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_FeatureSet(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
|
|
|
int dissect_h225_TransportChannelInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
2013-03-01 23:53:11 +00:00
|
|
|
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_);
|
2007-10-05 07:44:03 +00:00
|
|
|
int dissect_h225_TransportQOS(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
2012-09-10 21:42:36 +00:00
|
|
|
int dissect_h225_ExtendedAliasAddress_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
|
2005-01-02 22:05:47 +00:00
|
|
|
|
2005-01-16 21:21:41 +00:00
|
|
|
/*--- End of included file: packet-h225-exp.h ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 83 "../../asn1/h225/packet-h225-template.h"
|
2005-01-02 22:05:47 +00:00
|
|
|
|
|
|
|
#endif /* PACKET_H225_H */
|
|
|
|
|
2003-12-15 04:23:55 +00:00
|
|
|
|