2 * Routines for h245 packet dissection
3 * Copyright 2005, Anders Broman <anders.broman@ericsson.com>
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
15 #include "ws_symbol_export.h"
17 typedef enum _h245_msg_type
{
35 typedef struct _h245_packet_info
{
36 h245_msg_type msg_type
; /* type of message */
37 char frame_label
[50]; /* the Frame label used by graph_analysis, what is an abbreviation of cinfo */
38 char comment
[50]; /* the Frame Comment used by graph_analysis, what is a message desc */
49 al2WithoutSequenceNumbers
,
50 al2WithSequenceNumbers
,
53 /* al?M: unimplemented annex C adaptation layers */
60 uint8_t control_field_octets
;
61 uint32_t send_buffer_size
;
68 dissector_handle_t subdissector
;
72 H245_nonStandardDataType
,
81 H245_multiplexedStream
,
82 H245_redundancyEncoding
,
83 H245_multiplePayloadStream
,
85 } h245_lc_data_type_enum
;
88 h245_lc_data_type_enum data_type
;
96 typedef struct _h223_mux_element h223_mux_element
;
97 struct _h223_mux_element
{
98 h223_mux_element
* sublist
; /* if NULL, use vc instead */
100 uint16_t repeat_count
; /* 0 == untilClosingFlag */
101 h223_mux_element
* next
;
104 #include <epan/packet_info.h>
105 #include "packet-per.h"
107 typedef void (*h223_set_mc_handle_t
) ( packet_info
* pinfo
, uint8_t mc
, h223_mux_element
* me
);
108 WS_DLL_PUBLIC
void h245_set_h223_set_mc_handle( h223_set_mc_handle_t handle
);
110 typedef void (*h223_add_lc_handle_t
) ( packet_info
* pinfo
, uint16_t lc
, h223_lc_params
* params
);
111 WS_DLL_PUBLIC
void h245_set_h223_add_lc_handle( h223_add_lc_handle_t handle
);
113 #include "packet-h245-exp.h"
114 void dissect_h245_FastStart_OLC(tvbuff_t
*tvb
, packet_info
*pinfo _U_
, proto_tree
*tree
, char *codec_str
);
117 #endif /* PACKET_H245_H */