1 /* Do not modify this file. Changes will be overwritten. */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler */
4 /* asn2wrs.py -q -L -p h245 -c ./h245.cnf -s ./packet-h245-template -D . -O ../.. MULTIMEDIA-SYSTEM-CONTROL.asn */
7 * Routines for h245 packet dissection
8 * Copyright 2005, Anders Broman <anders.broman@ericsson.com>
10 * Wireshark - Network traffic analyzer
11 * By Gerald Combs <gerald@wireshark.org>
12 * Copyright 1998 Gerald Combs
14 * SPDX-License-Identifier: GPL-2.0-or-later
20 #include "ws_symbol_export.h"
22 typedef enum _h245_msg_type
{
40 typedef struct _h245_packet_info
{
41 h245_msg_type msg_type
; /* type of message */
42 char frame_label
[50]; /* the Frame label used by graph_analysis, what is an abbreviation of cinfo */
43 char comment
[50]; /* the Frame Comment used by graph_analysis, what is a message desc */
54 al2WithoutSequenceNumbers
,
55 al2WithSequenceNumbers
,
58 /* al?M: unimplemented annex C adaptation layers */
65 uint8_t control_field_octets
;
66 uint32_t send_buffer_size
;
73 dissector_handle_t subdissector
;
77 H245_nonStandardDataType
,
86 H245_multiplexedStream
,
87 H245_redundancyEncoding
,
88 H245_multiplePayloadStream
,
90 } h245_lc_data_type_enum
;
93 h245_lc_data_type_enum data_type
;
101 typedef struct _h223_mux_element h223_mux_element
;
102 struct _h223_mux_element
{
103 h223_mux_element
* sublist
; /* if NULL, use vc instead */
105 uint16_t repeat_count
; /* 0 == untilClosingFlag */
106 h223_mux_element
* next
;
109 #include <epan/packet_info.h>
110 #include "packet-per.h"
112 typedef void (*h223_set_mc_handle_t
) ( packet_info
* pinfo
, uint8_t mc
, h223_mux_element
* me
);
113 WS_DLL_PUBLIC
void h245_set_h223_set_mc_handle( h223_set_mc_handle_t handle
);
115 typedef void (*h223_add_lc_handle_t
) ( packet_info
* pinfo
, uint16_t lc
, h223_lc_params
* params
);
116 WS_DLL_PUBLIC
void h245_set_h223_add_lc_handle( h223_add_lc_handle_t handle
);
118 extern const value_string h245_Capability_vals
[];
119 extern const value_string DataProtocolCapability_vals
[];
120 extern const value_string h245_TransportAddress_vals
[];
121 extern const value_string h245_UnicastAddress_vals
[];
122 extern const value_string h245_MulticastAddress_vals
[];
123 int dissect_h245_Capability(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
124 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_
);
125 int dissect_h245_QOSCapability(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
126 int dissect_h245_DataProtocolCapability(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
127 int dissect_h245_T38FaxProfile(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
128 int dissect_h245_OpenLogicalChannel(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
129 int dissect_h245_H223LogicalChannelParameters(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
130 int dissect_h245_TransportAddress(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
131 int dissect_h245_UnicastAddress(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
132 int dissect_h245_MulticastAddress(tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
133 void dissect_h245_FastStart_OLC(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, char *codec_str
);
136 #endif /* PACKET_H245_H */