| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
wimax_utils.h
1/* wimax_utils.h
2 * Header file of WiMax Utility Decoders
3 *
4 * Copyright (c) 2007 by Intel Corporation.
5 *
6 * Author: Lu Pan <lu.pan@intel.com>
7 *
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1999 Gerald Combs
11 *
12 * SPDX-License-Identifier: GPL-2.0-or-later
13 */
14#ifndef WIMAX_UTILS_H
15#define WIMAX_UTILS_H
16
17#include <epan/packet.h>
18#include <epan/unit_strings.h>
19
20#include <wsutil/array.h>
21
22 extern int seen_a_service_type;
23
36 extern void dissect_extended_tlv(proto_tree *reg_req_tree, int tlv_type, tvbuff_t *tvb, unsigned tlv_offset, unsigned tlv_len, packet_info *pinfo, unsigned offset, int proto_registry);
37
48 extern void dissect_power_saving_class(proto_tree *rng_req_tree, int tlv_type, tvbuff_t *tvb, unsigned compound_tlv_len, packet_info *pinfo, unsigned offset);
49
60 extern int dissect_ulmap_ie(proto_tree *ie_tree, packet_info* pinfo, int offset, int length, tvbuff_t *tvb);
61
67 extern unsigned get_service_type(void);
68
72 extern void init_wimax_globals(void); /* defined in msg_ulmap.c */
73
80 extern bool is_down_link(packet_info *pinfo);
81
92 extern int RCID_IE(proto_tree *diuc_tree, int offset, int length, tvbuff_t *tvb, int RCID_Type);
93
101 extern void wimax_service_flow_encodings_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
102
111 extern void wimax_convengence_service_parameter_encoding_rules_decoder(unsigned sfe_type, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
112
123 extern int wimax_decode_ulmapc(proto_tree *base_tree, packet_info* pinfo, int offset, int length, tvbuff_t *tvb);
124
134 extern int wimax_decode_ulmap_reduced_aas(proto_tree *ie_tree, int offset, int length, tvbuff_t *tvb);
135
144 extern int wimax_decode_dlmapc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *pdu_tree);
145
153 extern int wimax_decode_dlmap_reduced_aas(tvbuff_t *tvb, packet_info *pinfo, proto_tree *base_tree);
154
162 extern void wimax_error_parameter_set_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
163
172 extern void wimax_hmac_tuple_decoder(proto_tree *tree, tvbuff_t *tvb, unsigned offset, unsigned length);
173
182 extern void wimax_cmac_tuple_decoder(proto_tree *tree, tvbuff_t *tvb, unsigned offset, unsigned length);
183
192 extern void wimax_short_hmac_tuple_decoder(proto_tree *tree, tvbuff_t *tvb, unsigned offset, unsigned length);
193
201 extern void wimax_security_negotiation_parameters_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
202
210 extern void wimax_tek_parameters_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
211
219 extern void wimax_pkm_configuration_settings_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
220
228 extern void wimax_sa_descriptor_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
229
237 extern void wimax_pkm_tlv_encoded_attributes_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
238
246 extern void wimax_cryptographic_suite_list_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
247
255 extern void wimax_security_capabilities_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
256
264 extern void wimax_vendor_specific_information_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
265
274 extern unsigned wimax_common_tlv_encoding_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
275
276//Windows can't handle plugins using globals from epan, so copies are necessary
277 extern const unit_name_string wimax_units_byte_bytes;
278 extern const unit_name_string wimax_units_bit_sec;
279 extern const unit_name_string wimax_units_db;
280 extern const unit_name_string wimax_units_dbm;
281 extern const unit_name_string wimax_units_frame_frames;
282 extern const unit_name_string wimax_units_frame_offset;
283 extern const unit_name_string wimax_units_hz;
284 extern const unit_name_string wimax_units_khz;
285 extern const unit_name_string wimax_units_ms;
286 extern const unit_name_string wimax_units_ps;
287
288#endif /* WIMAX_UTILS_H */
array.h
packet_info
struct _packet_info packet_info
Represents the metadata and indexing information for a single captured frame.
packet.h
unit_name_string
Definition unit_strings.h:23
unit_strings.h