diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:33 +0000 |
commit | 9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9 (patch) | |
tree | 2784370cda9bbf2da9114d70f05399c0b229d28c /plugins/epan/wimax/msg_dsd.c | |
parent | Adding debian version 4.2.6-1. (diff) | |
download | wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.tar.xz wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.zip |
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'plugins/epan/wimax/msg_dsd.c')
-rw-r--r-- | plugins/epan/wimax/msg_dsd.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/plugins/epan/wimax/msg_dsd.c b/plugins/epan/wimax/msg_dsd.c index 6f7c4c07..06de174b 100644 --- a/plugins/epan/wimax/msg_dsd.c +++ b/plugins/epan/wimax/msg_dsd.c @@ -31,27 +31,27 @@ void proto_reg_handoff_mac_mgmt_msg_dsd(void); static dissector_handle_t dsd_req_handle; static dissector_handle_t dsd_rsp_handle; -static gint proto_mac_mgmt_msg_dsd_decoder = -1; -static gint ett_mac_mgmt_msg_dsd_req_decoder = -1; -static gint ett_mac_mgmt_msg_dsd_rsp_decoder = -1; -/* static gint ett_dsd_ul_sfe_decoder = -1; */ -/* static gint ett_dsd_dl_sfe_decoder = -1; */ -/* static gint ett_dsd_hmac_tuple = -1; */ -/* static gint ett_dsd_cmac_tuple = -1; */ +static int proto_mac_mgmt_msg_dsd_decoder; +static int ett_mac_mgmt_msg_dsd_req_decoder; +static int ett_mac_mgmt_msg_dsd_rsp_decoder; +/* static int ett_dsd_ul_sfe_decoder; */ +/* static int ett_dsd_dl_sfe_decoder; */ +/* static int ett_dsd_hmac_tuple; */ +/* static int ett_dsd_cmac_tuple; */ /* fix fields */ -static gint hf_dsd_transaction_id = -1; -static gint hf_dsd_service_flow_id = -1; -static gint hf_dsd_confirmation_code = -1; -static gint hf_dsd_invalid_tlv = -1; -static gint hf_dsd_unknown_type = -1; +static int hf_dsd_transaction_id; +static int hf_dsd_service_flow_id; +static int hf_dsd_confirmation_code; +static int hf_dsd_invalid_tlv; +static int hf_dsd_unknown_type; static int dissect_mac_mgmt_msg_dsd_req_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { - guint offset = 0; - guint tvb_len, tlv_len, tlv_value_offset; - gint tlv_type; + unsigned offset = 0; + unsigned tvb_len, tlv_len, tlv_value_offset; + int tlv_type; proto_item *dsd_item; proto_tree *dsd_tree; proto_tree *tlv_tree = NULL; @@ -119,9 +119,9 @@ static int dissect_mac_mgmt_msg_dsd_req_decoder(tvbuff_t *tvb, packet_info *pinf static int dissect_mac_mgmt_msg_dsd_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { - guint offset = 0; - guint tvb_len, tlv_len, tlv_value_offset; - gint tlv_type; + unsigned offset = 0; + unsigned tvb_len, tlv_len, tlv_value_offset; + int tlv_type; proto_item *dsd_item; proto_tree *dsd_tree; proto_tree *tlv_tree = NULL; @@ -234,7 +234,7 @@ void proto_register_mac_mgmt_msg_dsd(void) }; /* Setup protocol subtree array */ - static gint *ett[] = + static int *ett[] = { &ett_mac_mgmt_msg_dsd_req_decoder, &ett_mac_mgmt_msg_dsd_rsp_decoder, |