2003-08-23 08:23:24 +00:00
|
|
|
/* packet-h225.h
|
2003-09-23 18:40:54 +00:00
|
|
|
* Routines for H.225 packet dissection
|
2003-08-23 08:23:24 +00:00
|
|
|
* 2003 Tomas Kukosa
|
|
|
|
*
|
2004-03-04 07:07:57 +00:00
|
|
|
* $Id: packet-h225.h,v 1.7 2004/03/04 07:07:00 guy Exp $
|
2003-08-23 08:23:24 +00:00
|
|
|
*
|
|
|
|
* Ethereal - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@ethereal.com>
|
|
|
|
* 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
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2004-03-04 07:07:57 +00:00
|
|
|
#ifndef __PACKET_H225_H__
|
|
|
|
#define __PACKET_H225_H__
|
2003-09-23 18:40:54 +00:00
|
|
|
|
2003-09-26 22:20:08 +00:00
|
|
|
extern int dissect_h225_NonStandardParameter(tvbuff_t*, int, packet_info*, proto_tree*, int);
|
|
|
|
|
|
|
|
extern int dissect_h225_AliasAddress(tvbuff_t*, int, packet_info*, proto_tree*);
|
|
|
|
|
2003-10-28 00:31:17 +00:00
|
|
|
typedef enum _h225_msg_type {
|
|
|
|
H225_RAS,
|
|
|
|
H225_CS,
|
|
|
|
H225_OTHERS
|
|
|
|
} h225_msg_type;
|
|
|
|
|
|
|
|
typedef struct _h225_packet_info {
|
|
|
|
h225_msg_type msg_type; /* ras or cs message */
|
|
|
|
gint msg_tag; /* message tag*/
|
|
|
|
gint reason; /* reason tag, if available */
|
|
|
|
guint requestSeqNum; /* request sequence number of ras-message, if available */
|
|
|
|
guint8 guid[16]; /* 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 */
|
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
|
|
|
|
* without having to duplicate it
|
|
|
|
*/
|
|
|
|
extern const value_string RasMessage_vals[];
|
|
|
|
extern const value_string h323_message_body_vals[];
|
|
|
|
extern const value_string FacilityReason_vals[];
|
|
|
|
extern const value_string GatekeeperRejectReason_vals[];
|
|
|
|
extern const value_string UnregRequestReason_vals[];
|
|
|
|
extern const value_string UnregRejectReason_vals[];
|
|
|
|
extern const value_string BandRejectReason_vals[];
|
|
|
|
extern const value_string DisengageReason_vals[];
|
|
|
|
extern const value_string DisengageRejectReason_vals[];
|
|
|
|
extern const value_string InfoRequestNakReason_vals[];
|
|
|
|
extern const value_string ReleaseCompleteReason_vals[];
|
|
|
|
extern const value_string AdmissionRejectReason_vals[];
|
|
|
|
extern const value_string LocationRejectReason_vals[];
|
|
|
|
extern const value_string RegistrationRejectReason_vals[];
|
|
|
|
|
2004-03-04 07:07:57 +00:00
|
|
|
#endif /* __PACKET_H225_H__ */
|