1 /* Do not modify this file. */
2 /* It is created automatically by the ASN.1 to Ethereal dissector compiler */
4 /* ../../tools/asn2eth.py -X -b -e -p h248 -c h248.cnf -s packet-h248-template MEGACO.asn */
6 /* Input file: packet-h248-template.h */
8 #line 1 "packet-h248-template.h"
10 * Definitions for H.248/MEGACO packet dissection
12 * Ronnie Sahlberg 2004
17 * Ethereal - Network traffic analyzer
18 * By Gerald Combs <gerald@ethereal.com>
19 * Copyright 1998 Gerald Combs
21 * This program is free software; you can redistribute it and/or
22 * modify it under the terms of the GNU General Public License
23 * as published by the Free Software Foundation; either version 2
24 * of the License, or (at your option) any later version.
26 * This program is distributed in the hope that it will be useful,
27 * but WITHOUT ANY WARRANTY; without even the implied warranty of
28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 * GNU General Public License for more details.
31 * You should have received a copy of the GNU General Public License
32 * along with this program; if not, write to the Free Software
33 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
39 /*#include "packet-h248-exp.h"*/
47 H248_CMD_AUDITCAP_REQ,
48 H248_CMD_AUDITVAL_REQ,
51 H248_CMD_TOPOLOGY_REQ,
52 H248_CMD_CTX_ATTR_AUDIT_REQ,
57 H248_CMD_AUDITCAP_REPLY,
58 H248_CMD_AUDITVAL_REPLY,
59 H248_CMD_NOTIFY_REPLY,
60 H248_CMD_SVCCHG_REPLY,
61 H248_CMD_TOPOLOGY_REPLY,
74 typedef struct _h248_msg_t {
77 struct _h248_trx_msg_t* trxs;
81 typedef struct _h248_trx_msg_t {
82 struct _h248_trx_t* trx;
83 struct _h248_trx_msg_t* next;
84 struct _h248_trx_msg_t* last;
87 typedef struct _h248_cmd_msg_t {
88 struct _h248_cmd_t* cmd;
89 struct _h248_cmd_msg_t* next;
90 struct _h248_cmd_msg_t* last;
93 typedef struct _h248_trx_t {
98 struct _h248_cmd_msg_t* cmds;
99 struct _h248_trx_ctx_t* ctxs;
103 #define H248_TERM_TYPE_UNKNOWN 0
104 #define H248_TERM_TYPE_AAL1 1
105 #define H248_TERM_TYPE_AAL2 2
106 #define H248_TERM_TYPE_AAL1_STRUCT 3
107 #define H248_TERM_TYPE_IP_RTP 4
108 #define H248_TERM_TYPE_TDM 5
110 typedef enum _h248_wildcard_t {
112 H248_WILDCARD_CHOOSE,
116 typedef struct _h248_term_t {
140 typedef struct _h248_terms_t {
142 struct _h248_terms_t* next;
143 struct _h248_terms_t* last;
146 typedef struct _h248_cmd_t {
148 h248_cmd_type_t type;
150 struct _h248_msg_t* msg;
151 struct _h248_trx_t* trx;
152 struct _h248_ctx_t* ctx;
157 typedef struct _h248_ctx_t {
161 struct _h248_cmd_msg_t* cmds;
162 struct _h248_ctx_t* prev;
167 #endif /* PACKET_H248_H */