MSWSP: add two more Property Sets
[wireshark-wip.git] / epan / dissectors / packet-h245.h
blobc09767306c847540cb664f41d1d40a23cae95a87
1 /* Do not modify this file. Changes will be overwritten. */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler */
3 /* packet-h245.h */
4 /* ../../tools/asn2wrs.py -p h245 -c ./h245.cnf -s ./packet-h245-template -D . -O ../../epan/dissectors MULTIMEDIA-SYSTEM-CONTROL.asn */
6 /* Input file: packet-h245-template.h */
8 #line 1 "../../asn1/h245/packet-h245-template.h"
9 /* packet-h245.h
10 * Routines for h245 packet dissection
11 * Copyright 2005, Anders Broman <anders.broman@ericsson.com>
13 * $Id$
15 * Wireshark - Network traffic analyzer
16 * By Gerald Combs <gerald@wireshark.org>
17 * Copyright 1998 Gerald Combs
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.
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
34 #ifndef PACKET_H245_H
35 #define PACKET_H245_H
37 #include "ws_symbol_export.h"
39 typedef enum _h245_msg_type {
40 H245_TermCapSet,
41 H245_TermCapSetAck,
42 H245_TermCapSetRjc,
43 H245_TermCapSetRls,
44 H245_OpenLogChn,
45 H245_OpenLogChnCnf,
46 H245_OpenLogChnAck,
47 H245_OpenLogChnRjc,
48 H245_CloseLogChn,
49 H245_CloseLogChnAck,
50 H245_MastSlvDet,
51 H245_MastSlvDetAck,
52 H245_MastSlvDetRjc,
53 H245_MastSlvDetRls,
54 H245_OTHER
55 } h245_msg_type;
57 typedef struct _h245_packet_info {
58 h245_msg_type msg_type; /* type of message */
59 gchar frame_label[50]; /* the Frame label used by graph_analysis, what is a abreviation of cinfo */
60 gchar comment[50]; /* the Frame Comment used by graph_analysis, what is a message desc */
61 } h245_packet_info;
64 * h223 LC info
67 typedef enum {
68 al_nonStandard,
69 al1Framed,
70 al1NotFramed,
71 al2WithoutSequenceNumbers,
72 al2WithSequenceNumbers,
73 al3,
74 /*...*/
75 /* al?M: unimplemented annex C adaptation layers */
76 al1M,
77 al2M,
78 al3M
79 } h223_al_type;
81 typedef struct {
82 guint8 control_field_octets;
83 guint32 send_buffer_size;
84 } h223_al3_params;
86 typedef struct {
87 h223_al_type al_type;
88 gpointer al_params;
89 gboolean segmentable;
90 dissector_handle_t subdissector;
91 } h223_lc_params;
93 typedef enum {
94 H245_nonStandardDataType,
95 H245_nullData,
96 H245_videoData,
97 H245_audioData,
98 H245_data,
99 H245_encryptionData,
100 /*...,*/
101 H245_h235Control,
102 H245_h235Media,
103 H245_multiplexedStream,
104 H245_redundancyEncoding,
105 H245_multiplePayloadStream,
106 H245_fec
107 } h245_lc_data_type_enum;
109 typedef struct {
110 h245_lc_data_type_enum data_type;
111 gpointer params;
112 } h245_lc_data_type;
115 * h223 MUX info
118 typedef struct _h223_mux_element h223_mux_element;
119 struct _h223_mux_element {
120 h223_mux_element* sublist; /* if NULL, use vc instead */
121 guint16 vc;
122 guint16 repeat_count; /* 0 == untilClosingFlag */
123 h223_mux_element* next;
126 #include <epan/packet_info.h>
127 #include <epan/dissectors/packet-per.h>
129 typedef void (*h223_set_mc_handle_t) ( packet_info* pinfo, guint8 mc, h223_mux_element* me );
130 WS_DLL_PUBLIC void h245_set_h223_set_mc_handle( h223_set_mc_handle_t handle );
132 typedef void (*h223_add_lc_handle_t) ( packet_info* pinfo, guint16 lc, h223_lc_params* params );
133 WS_DLL_PUBLIC void h245_set_h223_add_lc_handle( h223_add_lc_handle_t handle );
136 /*--- Included file: packet-h245-exp.h ---*/
137 #line 1 "../../asn1/h245/packet-h245-exp.h"
138 extern const value_string h245_Capability_vals[];
139 extern const value_string DataProtocolCapability_vals[];
140 extern const value_string h245_TransportAddress_vals[];
141 extern const value_string h245_UnicastAddress_vals[];
142 extern const value_string h245_MulticastAddress_vals[];
143 int dissect_h245_Capability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
144 WS_DLL_PUBLIC int dissect_h245_H223Capability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
145 int dissect_h245_QOSCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
146 int dissect_h245_DataProtocolCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
147 int dissect_h245_T38FaxProfile(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
148 int dissect_h245_OpenLogicalChannel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
149 int dissect_h245_H223LogicalChannelParameters(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
150 int dissect_h245_TransportAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
151 int dissect_h245_UnicastAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
152 int dissect_h245_MulticastAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
154 /*--- End of included file: packet-h245-exp.h ---*/
155 #line 128 "../../asn1/h245/packet-h245-template.h"
156 void dissect_h245_FastStart_OLC(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, char *codec_str);
159 #endif /* PACKET_H245_H */