Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

packet-h245.h
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 /* asn2wrs.py -p h245 -c ./h245.cnf -s ./packet-h245-template -D . -O ../.. MULTIMEDIA-SYSTEM-CONTROL.asn */
5
6 /* Input file: packet-h245-template.h */
7
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>
12 *
13 * Wireshark - Network traffic analyzer
14 * By Gerald Combs <gerald@wireshark.org>
15 * Copyright 1998 Gerald Combs
16 *
17 * SPDX-License-Identifier: GPL-2.0-or-later
18 */
19
20 #ifndef PACKET_H245_H
21 #define PACKET_H245_H
22
23 #include "ws_symbol_export.h"
24
25 typedef enum _h245_msg_type {
26 H245_TermCapSet,
27 H245_TermCapSetAck,
28 H245_TermCapSetRjc,
29 H245_TermCapSetRls,
30 H245_OpenLogChn,
31 H245_OpenLogChnCnf,
32 H245_OpenLogChnAck,
33 H245_OpenLogChnRjc,
34 H245_CloseLogChn,
35 H245_CloseLogChnAck,
36 H245_MastSlvDet,
37 H245_MastSlvDetAck,
38 H245_MastSlvDetRjc,
39 H245_MastSlvDetRls,
40 H245_OTHER
41 } h245_msg_type;
42
43 typedef struct _h245_packet_info {
44 h245_msg_type msg_type; /* type of message */
45 gchar frame_label[50]; /* the Frame label used by graph_analysis, what is a abreviation of cinfo */
46 gchar comment[50]; /* the Frame Comment used by graph_analysis, what is a message desc */
47 } h245_packet_info;
48
49 /*
50 * h223 LC info
51 */
52
53 typedef enum {
54 al_nonStandard,
55 al1Framed,
56 al1NotFramed,
57 al2WithoutSequenceNumbers,
58 al2WithSequenceNumbers,
59 al3,
60 /*...*/
61 /* al?M: unimplemented annex C adaptation layers */
62 al1M,
63 al2M,
64 al3M
65 } h223_al_type;
66
67 typedef struct {
68 guint8 control_field_octets;
69 guint32 send_buffer_size;
70 } h223_al3_params;
71
72 typedef struct {
73 h223_al_type al_type;
74 gpointer al_params;
75 gboolean segmentable;
76 dissector_handle_t subdissector;
77 } h223_lc_params;
78
79 typedef enum {
80 H245_nonStandardDataType,
81 H245_nullData,
82 H245_videoData,
83 H245_audioData,
84 H245_data,
85 H245_encryptionData,
86 /*...,*/
87 H245_h235Control,
88 H245_h235Media,
89 H245_multiplexedStream,
90 H245_redundancyEncoding,
91 H245_multiplePayloadStream,
92 H245_fec
93 } h245_lc_data_type_enum;
94
95 typedef struct {
96 h245_lc_data_type_enum data_type;
97 gpointer params;
98 } h245_lc_data_type;
99
100 /*
101 * h223 MUX info
102 */
103
104 typedef struct _h223_mux_element h223_mux_element;
105 struct _h223_mux_element {
106 h223_mux_element* sublist; /* if NULL, use vc instead */
107 guint16 vc;
108 guint16 repeat_count; /* 0 == untilClosingFlag */
109 h223_mux_element* next;
110 };
111
112 #include <epan/packet_info.h>
113 #include <epan/dissectors/packet-per.h>
114
115 typedef void (*h223_set_mc_handle_t) ( packet_info* pinfo, guint8 mc, h223_mux_element* me);
116 WS_DLL_PUBLIC void h245_set_h223_set_mc_handle( h223_set_mc_handle_t handle );
117
118 typedef void (*h223_add_lc_handle_t) ( packet_info* pinfo, guint16 lc, h223_lc_params* params);
119 WS_DLL_PUBLIC void h245_set_h223_add_lc_handle( h223_add_lc_handle_t handle );
120
121
122 /*--- Included file: packet-h245-exp.h ---*/
123 #line 1 "./asn1/h245/packet-h245-exp.h"
124 extern const value_string h245_Capability_vals[];
125 extern const value_string DataProtocolCapability_vals[];
126 extern const value_string h245_TransportAddress_vals[];
127 extern const value_string h245_UnicastAddress_vals[];
128 extern const value_string h245_MulticastAddress_vals[];
129 int dissect_h245_Capability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
130 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_);
131 int dissect_h245_QOSCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
132 int dissect_h245_DataProtocolCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
133 int dissect_h245_T38FaxProfile(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
134 int dissect_h245_OpenLogicalChannel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
135 int dissect_h245_H223LogicalChannelParameters(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
136 int dissect_h245_TransportAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
137 int dissect_h245_UnicastAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
138 int dissect_h245_MulticastAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
139
140 /*--- End of included file: packet-h245-exp.h ---*/
141 #line 114 "./asn1/h245/packet-h245-template.h"
142 void dissect_h245_FastStart_OLC(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, char *codec_str);
143
144
145 #endif /* PACKET_H245_H */
146
147
_h223_mux_element
Definition: packet-h245-template.h:97
_h245_packet_info
Definition: packet-h245-template.h:35
h223_lc_params
Definition: packet-h245-template.h:64
_packet_info
Definition: packet_info.h:44
tvbuff
Definition: tvbuff-int.h:35
dissector_handle
Definition: packet.c:659
h245_lc_data_type
Definition: packet-h245-template.h:87
_asn1_ctx_t
Definition: asn1.h:63
_value_string
Definition: value_string.h:24
_proto_node
Definition: proto.h:759
h223_al3_params
Definition: packet-h245-template.h:59
packet_info.h