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 /epan/dissectors/packet-dcerpc-rs_acct.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 'epan/dissectors/packet-dcerpc-rs_acct.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-rs_acct.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/epan/dissectors/packet-dcerpc-rs_acct.c b/epan/dissectors/packet-dcerpc-rs_acct.c index b823271f..c81bbfb2 100644 --- a/epan/dissectors/packet-dcerpc-rs_acct.c +++ b/epan/dissectors/packet-dcerpc-rs_acct.c @@ -21,30 +21,30 @@ void proto_register_rs_acct (void); void proto_reg_handoff_rs_acct (void); -static int proto_rs_acct = -1; -static int hf_rs_acct_opnum = -1; -static int hf_rs_acct_lookup_rqst_var = -1; -static int hf_rs_acct_lookup_rqst_key_size = -1; -static int hf_rs_acct_lookup_rqst_key_t = -1; -static int hf_rs_acct_get_projlist_rqst_var1 = -1; -static int hf_rs_acct_get_projlist_rqst_key_size = -1; -static int hf_rs_acct_get_projlist_rqst_key_t = -1; +static int proto_rs_acct; +static int hf_rs_acct_opnum; +static int hf_rs_acct_lookup_rqst_var; +static int hf_rs_acct_lookup_rqst_key_size; +static int hf_rs_acct_lookup_rqst_key_t; +static int hf_rs_acct_get_projlist_rqst_var1; +static int hf_rs_acct_get_projlist_rqst_key_size; +static int hf_rs_acct_get_projlist_rqst_key_t; -static gint ett_rs_acct = -1; +static int ett_rs_acct; static e_guid_t uuid_rs_acct = { 0x4c878280, 0x2000, 0x0000, { 0x0d, 0x00, 0x02, 0x87, 0x14, 0x00, 0x00, 0x00 } }; -static guint16 ver_rs_acct = 1; +static uint16_t ver_rs_acct = 1; static int rs_acct_dissect_lookup_rqst (tvbuff_t *tvb, int offset, - packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) + packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep) { - guint32 key_size; - const guint8 *keyx_t = NULL; + uint32_t key_size; + const uint8_t *keyx_t = NULL; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_rs_acct_lookup_rqst_var, NULL); @@ -69,10 +69,10 @@ rs_acct_dissect_lookup_rqst (tvbuff_t *tvb, int offset, static int rs_acct_dissect_get_projlist_rqst (tvbuff_t *tvb, int offset, - packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) + packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep) { - guint32 key_size; - const guint8 *keyx_t = NULL; + uint32_t key_size; + const uint8_t *keyx_t = NULL; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_rs_acct_get_projlist_rqst_var1, NULL); @@ -90,7 +90,7 @@ rs_acct_dissect_get_projlist_rqst (tvbuff_t *tvb, int offset, } -static dcerpc_sub_dissector rs_acct_dissectors[] = { +static const dcerpc_sub_dissector rs_acct_dissectors[] = { { 0, "add", NULL, NULL}, { 1, "delete", NULL, NULL}, { 2, "rename", NULL, NULL}, @@ -120,7 +120,7 @@ proto_register_rs_acct (void) { "Var1", "rs_acct.get_projlist_rqst_key_t", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }} }; - static gint *ett[] = { + static int *ett[] = { &ett_rs_acct, }; proto_rs_acct = proto_register_protocol ("DCE/RPC RS_ACCT", "RS_ACCT", "rs_acct"); |