Add packet-ansi_map.h to the distribution.
[obnox/wireshark/wip.git] / packet-h225.h
1 /* packet-h225.h
2  * Routines for H.225 packet dissection
3  * 2003  Tomas Kukosa
4  *
5  * $Id: packet-h225.h,v 1.5 2003/11/16 23:11:18 sahlberg Exp $
6  *
7  * Ethereal - Network traffic analyzer
8  * By Gerald Combs <gerald@ethereal.com>
9  * Copyright 1998 Gerald Combs
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24  */
25
26 #ifndef __H225_H__
27 #define __H225_H__
28
29 extern int dissect_h225_NonStandardParameter(tvbuff_t*, int, packet_info*, proto_tree*, int);
30
31 extern int dissect_h225_AliasAddress(tvbuff_t*, int, packet_info*, proto_tree*);
32
33 typedef enum _h225_msg_type {
34         H225_RAS,
35         H225_CS,
36         H225_OTHERS
37 } h225_msg_type;
38
39 typedef struct _h225_packet_info {
40         h225_msg_type msg_type;         /* ras or cs message */
41         gint msg_tag;                   /* message tag*/
42         gint reason;                    /* reason tag, if available */
43         guint requestSeqNum;            /* request sequence number of ras-message, if available */
44         guint8 guid[16];                /* globally unique call id */
45         gboolean is_duplicate;          /* true, if this is a repeated message */
46         gboolean request_available;     /* true, if response matches to a request */
47         nstime_t delta_time;            /* this is the RAS response time delay */
48 } h225_packet_info;
49
50 #endif  /* __H225_H__ */