diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:53 +0000 |
commit | a86c5f7cae7ec9a3398300555a0b644689d946a1 (patch) | |
tree | 39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /plugins/epan/wimax/wimax_tlv.h | |
parent | Releasing progress-linux version 4.2.6-1~progress7.99u1. (diff) | |
download | wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip |
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'plugins/epan/wimax/wimax_tlv.h')
-rw-r--r-- | plugins/epan/wimax/wimax_tlv.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/plugins/epan/wimax/wimax_tlv.h b/plugins/epan/wimax/wimax_tlv.h index 0011c563..2242e960 100644 --- a/plugins/epan/wimax/wimax_tlv.h +++ b/plugins/epan/wimax/wimax_tlv.h @@ -23,23 +23,23 @@ typedef struct { - guint8 valid; /* TLV info status: 0=invalid; 1=valid */ - guint8 type; /* TLV type */ - guint8 length_type; /* length type: 0=single byte; 1=multiple bytes */ - guint8 size_of_length; /* size of the TLV length */ - guint value_offset; /* the offset of TLV value field */ - gint32 length; /* length of TLV value field */ + uint8_t valid; /* TLV info status: 0=invalid; 1=valid */ + uint8_t type; /* TLV type */ + uint8_t length_type; /* length type: 0=single byte; 1=multiple bytes */ + uint8_t size_of_length; /* size of the TLV length */ + unsigned value_offset; /* the offset of TLV value field */ + int32_t length; /* length of TLV value field */ } tlv_info_t; -gint init_tlv_info(tlv_info_t *info, tvbuff_t *tvb, gint offset); -gint valid_tlv_info(tlv_info_t *info); -gint get_tlv_type(tlv_info_t *info); -gint get_tlv_length_type(tlv_info_t *info); -gint get_tlv_size_of_length(tlv_info_t *info); -gint get_tlv_value_offset(tlv_info_t *info); -gint32 get_tlv_length(tlv_info_t *info); -proto_item *add_tlv_subtree(tlv_info_t *info, proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, const guint encoding); -proto_tree *add_tlv_subtree_no_item(tlv_info_t *info, proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start); -proto_tree *add_protocol_subtree(tlv_info_t *info, gint idx, proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, gint length, const char *label); +int init_tlv_info(tlv_info_t *info, tvbuff_t *tvb, int offset); +int valid_tlv_info(tlv_info_t *info); +int get_tlv_type(tlv_info_t *info); +int get_tlv_length_type(tlv_info_t *info); +int get_tlv_size_of_length(tlv_info_t *info); +int get_tlv_value_offset(tlv_info_t *info); +int32_t get_tlv_length(tlv_info_t *info); +proto_item *add_tlv_subtree(tlv_info_t *info, proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, const unsigned encoding); +proto_tree *add_tlv_subtree_no_item(tlv_info_t *info, proto_tree *tree, int hfindex, tvbuff_t *tvb, int start); +proto_tree *add_protocol_subtree(tlv_info_t *info, int idx, proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const char *label); #endif /* WIMAX_TLV_H */ |