Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
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 -q -L -p h245 -c ./h245.cnf -s ./packet-h245-template -D . -O ../.. MULTIMEDIA-SYSTEM-CONTROL.asn */
5
6/* packet-h245.h
7 * Routines for h245 packet dissection
8 * Copyright 2005, Anders Broman <[email protected]>
9 *
10 * Wireshark - Network traffic analyzer
11 * By Gerald Combs <[email protected]>
12 * Copyright 1998 Gerald Combs
13 *
14 * SPDX-License-Identifier: GPL-2.0-or-later
15 */
16
17#ifndef PACKET_H245_H
18#define PACKET_H245_H
19
20#include "ws_symbol_export.h"
21
22typedef enum _h245_msg_type {
23 H245_TermCapSet,
24 H245_TermCapSetAck,
25 H245_TermCapSetRjc,
26 H245_TermCapSetRls,
27 H245_OpenLogChn,
28 H245_OpenLogChnCnf,
29 H245_OpenLogChnAck,
30 H245_OpenLogChnRjc,
31 H245_CloseLogChn,
32 H245_CloseLogChnAck,
33 H245_MastSlvDet,
34 H245_MastSlvDetAck,
35 H245_MastSlvDetRjc,
36 H245_MastSlvDetRls,
37 H245_OTHER
38} h245_msg_type;
39
40typedef 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 */
45
46/*
47 * h223 LC info
48 */
49
50typedef enum {
51 al_nonStandard,
52 al1Framed,
53 al1NotFramed,
54 al2WithoutSequenceNumbers,
55 al2WithSequenceNumbers,
56 al3,
57 /*...*/
58 /* al?M: unimplemented annex C adaptation layers */
59 al1M,
60 al2M,
61 al3M
62} h223_al_type;
63
64typedef struct {
65 uint8_t control_field_octets;
66 uint32_t send_buffer_size;
68
69typedef struct {
70 h223_al_type al_type;
71 void *al_params;
72 bool segmentable;
73 dissector_handle_t subdissector;
75
76typedef enum {
77 H245_nonStandardDataType,
78 H245_nullData,
79 H245_videoData,
80 H245_audioData,
81 H245_data,
82 H245_encryptionData,
83 /*...,*/
84 H245_h235Control,
85 H245_h235Media,
86 H245_multiplexedStream,
87 H245_redundancyEncoding,
88 H245_multiplePayloadStream,
89 H245_fec
90} h245_lc_data_type_enum;
91
92typedef struct {
93 h245_lc_data_type_enum data_type;
94 void * params;
96
97/*
98 * h223 MUX info
99 */
100
103 h223_mux_element* sublist; /* if NULL, use vc instead */
104 uint16_t vc;
105 uint16_t repeat_count; /* 0 == untilClosingFlag */
106 h223_mux_element* next;
107};
108
109#include <epan/packet_info.h>
110#include "packet-per.h"
111
112typedef void (*h223_set_mc_handle_t) ( packet_info* pinfo, uint8_t mc, h223_mux_element* me);
113WS_DLL_PUBLIC void h245_set_h223_set_mc_handle( h223_set_mc_handle_t handle );
114
115typedef void (*h223_add_lc_handle_t) ( packet_info* pinfo, uint16_t lc, h223_lc_params* params);
116WS_DLL_PUBLIC void h245_set_h223_add_lc_handle( h223_add_lc_handle_t handle );
117
118extern const value_string h245_Capability_vals[];
119extern const value_string DataProtocolCapability_vals[];
120extern const value_string h245_TransportAddress_vals[];
121extern const value_string h245_UnicastAddress_vals[];
122extern const value_string h245_MulticastAddress_vals[];
123int dissect_h245_Capability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
124WS_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_);
125int dissect_h245_QOSCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
126int dissect_h245_DataProtocolCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
127int dissect_h245_T38FaxProfile(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
128int dissect_h245_OpenLogicalChannel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
129int dissect_h245_H223LogicalChannelParameters(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
130int dissect_h245_TransportAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
131int dissect_h245_UnicastAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
132int dissect_h245_MulticastAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
133void dissect_h245_FastStart_OLC(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, char *codec_str);
134
135
136#endif /* PACKET_H245_H */
137
138
Definition asn1.h:65
Definition packet-h245.h:102
Definition packet-h245.h:40
Definition packet_info.h:43
Definition proto.h:901
Definition value_string.h:25
Definition packet.c:763
Definition packet-h245.h:64
Definition packet-h245.h:69
Definition packet-h245.h:92
Definition tvbuff-int.h:35