Wireshark 4.5.0
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 <[email protected]>
7 *
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <[email protected]>
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>
21extern 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);
22extern 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);
23extern int dissect_ulmap_ie(proto_tree *ie_tree, packet_info* pinfo, int offset, int length, tvbuff_t *tvb);
24extern unsigned get_service_type(void);
25extern void init_wimax_globals(void); /* defined in msg_ulmap.c */
26extern bool is_down_link(packet_info *pinfo);
27extern int RCID_IE(proto_tree *diuc_tree, int offset, int length, tvbuff_t *tvb, int RCID_Type);
28extern void wimax_service_flow_encodings_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
29extern void wimax_convengence_service_parameter_encoding_rules_decoder(unsigned sfe_type, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
30extern int wimax_decode_ulmapc(proto_tree *base_tree, packet_info* pinfo, int offset, int length, tvbuff_t *tvb);
31extern int wimax_decode_ulmap_reduced_aas(proto_tree *ie_tree, int offset, int length, tvbuff_t *tvb);
32extern int wimax_decode_dlmapc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *pdu_tree);
33extern int wimax_decode_dlmap_reduced_aas(tvbuff_t *tvb, packet_info *pinfo, proto_tree *base_tree);
34extern void wimax_error_parameter_set_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
35extern void wimax_hmac_tuple_decoder(proto_tree *tree, tvbuff_t *tvb, unsigned offset, unsigned length);
36extern void wimax_cmac_tuple_decoder(proto_tree *tree, tvbuff_t *tvb, unsigned offset, unsigned length);
37extern void wimax_short_hmac_tuple_decoder(proto_tree *tree, tvbuff_t *tvb, unsigned offset, unsigned length);
38extern void wimax_security_negotiation_parameters_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
39extern void wimax_tek_parameters_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
40extern void wimax_pkm_configuration_settings_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
41extern void wimax_sa_descriptor_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
42extern void wimax_pkm_tlv_encoded_attributes_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
43extern void wimax_cryptographic_suite_list_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
44extern void wimax_security_capabilities_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
45extern void wimax_vendor_specific_information_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
46extern unsigned wimax_common_tlv_encoding_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
47
48//Windows can't handle plugins using globals from epan, so copies are necessary
49extern const unit_name_string wimax_units_byte_bytes;
50extern const unit_name_string wimax_units_bit_sec;
51extern const unit_name_string wimax_units_db;
52extern const unit_name_string wimax_units_dbm;
53extern const unit_name_string wimax_units_frame_frames;
54extern const unit_name_string wimax_units_frame_offset;
55extern const unit_name_string wimax_units_hz;
56extern const unit_name_string wimax_units_khz;
57extern const unit_name_string wimax_units_ms;
58extern const unit_name_string wimax_units_ps;
59
60#endif /* WIMAX_UTILS_H */
Definition packet_info.h:43
Definition proto.h:903
Definition tvbuff-int.h:35
Definition unit_strings.h:26