diff options
author | Aurelien Aptel <aaptel@suse.com> | 2016-02-11 19:44:47 +0100 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-02-29 21:01:49 +0000 |
commit | 8ff3d1bd75588b8829797d603df946545cb730e7 (patch) | |
tree | 52757c843415220dc6f4505a6bb584dc54a7e0d3 /epan/dissectors | |
parent | 62a0ebf1e0aaee058532e6d324b18be5f6715ede (diff) |
PIDL: regen pidl-generated dissectors
mapi&nspi dissectors skipped on purpose since they the output is
malformed. This was already the case before the samba sync.
Change-Id: Ib3b78459e3506c755aaa219433ac6b5865482f01
Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-on: https://code.wireshark.org/review/13968
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-dcerpc-atsvc.c | 12 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-dfs.c | 111 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-dnsserver.c | 27 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-dssetup.c | 12 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-efs.c | 20 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-eventlog.c | 12 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-frsrpc.c | 31 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-frstrans.c | 40 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-lsa.c | 239 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-mdssvc.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-misc.c | 16 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-rfr.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-rfr.h | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-samr.c | 262 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-winreg.c | 28 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-witness.c | 8 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-witness.h | 2 |
17 files changed, 210 insertions, 618 deletions
diff --git a/epan/dissectors/packet-dcerpc-atsvc.c b/epan/dissectors/packet-dcerpc-atsvc.c index 4a7e598560..2dd9fa8c78 100644 --- a/epan/dissectors/packet-dcerpc-atsvc.c +++ b/epan/dissectors/packet-dcerpc-atsvc.c @@ -871,15 +871,13 @@ atsvc_dissect_struct_JobInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pin ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_atsvc_atsvc_JobInfo); } - + offset = atsvc_dissect_element_JobInfo_job_time(tvb, offset, pinfo, tree, di, drep); offset = atsvc_dissect_element_JobInfo_days_of_month(tvb, offset, pinfo, tree, di, drep); @@ -979,15 +977,13 @@ atsvc_dissect_struct_JobEnumInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_atsvc_atsvc_JobEnumInfo); } - + offset = atsvc_dissect_element_JobEnumInfo_job_id(tvb, offset, pinfo, tree, di, drep); offset = atsvc_dissect_element_JobEnumInfo_job_time(tvb, offset, pinfo, tree, di, drep); @@ -1058,15 +1054,13 @@ atsvc_dissect_struct_enum_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pi ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_atsvc_atsvc_enum_ctr); } - + offset = atsvc_dissect_element_enum_ctr_entries_read(tvb, offset, pinfo, tree, di, drep); offset = atsvc_dissect_element_enum_ctr_first_entry(tvb, offset, pinfo, tree, di, drep); diff --git a/epan/dissectors/packet-dcerpc-dfs.c b/epan/dissectors/packet-dcerpc-dfs.c index cb43fa6087..2f9ec2d96d 100644 --- a/epan/dissectors/packet-dcerpc-dfs.c +++ b/epan/dissectors/packet-dcerpc-dfs.c @@ -580,13 +580,12 @@ netdfs_dissect_struct_dfs_Info0(tvbuff_t *tvb _U_, int offset _U_, packet_info * proto_item *item = NULL; int old_offset; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); } - + proto_item_set_len(item, offset-old_offset); @@ -627,15 +626,13 @@ netdfs_dissect_struct_dfs_Info1(tvbuff_t *tvb _U_, int offset _U_, packet_info * ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info1); } - + offset = netdfs_dissect_element_dfs_Info1_path(tvb, offset, pinfo, tree, di, drep); @@ -805,15 +802,13 @@ netdfs_dissect_struct_dfs_Info2(tvbuff_t *tvb _U_, int offset _U_, packet_info * ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info2); } - + offset = netdfs_dissect_element_dfs_Info2_path(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_Info2_comment(tvb, offset, pinfo, tree, di, drep); @@ -953,15 +948,13 @@ netdfs_dissect_struct_dfs_StorageInfo(tvbuff_t *tvb _U_, int offset _U_, packet_ ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_StorageInfo); } - + offset = netdfs_dissect_element_dfs_StorageInfo_state(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_StorageInfo_server(tvb, offset, pinfo, tree, di, drep); @@ -1075,15 +1068,13 @@ netdfs_dissect_struct_dfs_Info3(tvbuff_t *tvb _U_, int offset _U_, packet_info * ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info3); } - + offset = netdfs_dissect_element_dfs_Info3_path(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_Info3_comment(tvb, offset, pinfo, tree, di, drep); @@ -1219,15 +1210,13 @@ netdfs_dissect_struct_dfs_Info4(tvbuff_t *tvb _U_, int offset _U_, packet_info * ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info4); } - + offset = netdfs_dissect_element_dfs_Info4_path(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_Info4_comment(tvb, offset, pinfo, tree, di, drep); @@ -1436,15 +1425,13 @@ netdfs_dissect_struct_dfs_Info5(tvbuff_t *tvb _U_, int offset _U_, packet_info * ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info5); } - + offset = netdfs_dissect_element_dfs_Info5_path(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_Info5_comment(tvb, offset, pinfo, tree, di, drep); @@ -1536,15 +1523,13 @@ netdfs_dissect_struct_dfs_Target_Priority(tvbuff_t *tvb _U_, int offset _U_, pac ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Target_Priority); } - + offset = netdfs_dissect_element_dfs_Target_Priority_target_priority_class(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_Target_Priority_target_priority_rank(tvb, offset, pinfo, tree, di, drep); @@ -1593,15 +1578,13 @@ netdfs_dissect_struct_dfs_StorageInfo2(tvbuff_t *tvb _U_, int offset _U_, packet ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_StorageInfo2); } - + offset = netdfs_dissect_element_dfs_StorageInfo2_info(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_StorageInfo2_target_priority(tvb, offset, pinfo, tree, di, drep); @@ -1749,15 +1732,13 @@ netdfs_dissect_struct_dfs_Info6(tvbuff_t *tvb _U_, int offset _U_, packet_info * ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info6); } - + offset = netdfs_dissect_element_dfs_Info6_entry_path(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_Info6_comment(tvb, offset, pinfo, tree, di, drep); @@ -1809,15 +1790,13 @@ netdfs_dissect_struct_dfs_Info7(tvbuff_t *tvb _U_, int offset _U_, packet_info * ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info7); } - + offset = netdfs_dissect_element_dfs_Info7_generation_guid(tvb, offset, pinfo, tree, di, drep); @@ -1864,15 +1843,13 @@ netdfs_dissect_struct_dfs_Info100(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info100); } - + offset = netdfs_dissect_element_dfs_Info100_comment(tvb, offset, pinfo, tree, di, drep); @@ -1908,15 +1885,13 @@ netdfs_dissect_struct_dfs_Info101(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info101); } - + offset = netdfs_dissect_element_dfs_Info101_state(tvb, offset, pinfo, tree, di, drep); @@ -1952,15 +1927,13 @@ netdfs_dissect_struct_dfs_Info102(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info102); } - + offset = netdfs_dissect_element_dfs_Info102_timeout(tvb, offset, pinfo, tree, di, drep); @@ -1996,15 +1969,13 @@ netdfs_dissect_struct_dfs_Info103(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info103); } - + offset = netdfs_dissect_element_dfs_Info103_flags(tvb, offset, pinfo, tree, di, drep); @@ -2040,15 +2011,13 @@ netdfs_dissect_struct_dfs_Info104(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info104); } - + offset = netdfs_dissect_element_dfs_Info104_priority(tvb, offset, pinfo, tree, di, drep); @@ -2131,15 +2100,13 @@ netdfs_dissect_struct_dfs_Info105(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info105); } - + offset = netdfs_dissect_element_dfs_Info105_comment(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_Info105_state(tvb, offset, pinfo, tree, di, drep); @@ -2192,15 +2159,13 @@ netdfs_dissect_struct_dfs_Info106(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info106); } - + offset = netdfs_dissect_element_dfs_Info106_state(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_Info106_priority(tvb, offset, pinfo, tree, di, drep); @@ -2249,15 +2214,13 @@ netdfs_dissect_struct_dfs_Info200(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info200); } - + offset = netdfs_dissect_element_dfs_Info200_dom_root(tvb, offset, pinfo, tree, di, drep); @@ -2333,15 +2296,13 @@ netdfs_dissect_struct_dfs_Info300(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_Info300); } - + offset = netdfs_dissect_element_dfs_Info300_flavor(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_Info300_dom_root(tvb, offset, pinfo, tree, di, drep); @@ -2745,15 +2706,13 @@ netdfs_dissect_struct_dfs_EnumArray1(tvbuff_t *tvb _U_, int offset _U_, packet_i ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_EnumArray1); } - + offset = netdfs_dissect_element_dfs_EnumArray1_count(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_EnumArray1_s(tvb, offset, pinfo, tree, di, drep); @@ -2816,15 +2775,13 @@ netdfs_dissect_struct_dfs_EnumArray2(tvbuff_t *tvb _U_, int offset _U_, packet_i ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_EnumArray2); } - + offset = netdfs_dissect_element_dfs_EnumArray2_count(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_EnumArray2_s(tvb, offset, pinfo, tree, di, drep); @@ -2887,15 +2844,13 @@ netdfs_dissect_struct_dfs_EnumArray3(tvbuff_t *tvb _U_, int offset _U_, packet_i ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_EnumArray3); } - + offset = netdfs_dissect_element_dfs_EnumArray3_count(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_EnumArray3_s(tvb, offset, pinfo, tree, di, drep); @@ -2958,15 +2913,13 @@ netdfs_dissect_struct_dfs_EnumArray4(tvbuff_t *tvb _U_, int offset _U_, packet_i ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_EnumArray4); } - + offset = netdfs_dissect_element_dfs_EnumArray4_count(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_EnumArray4_s(tvb, offset, pinfo, tree, di, drep); @@ -3029,15 +2982,13 @@ netdfs_dissect_struct_dfs_EnumArray200(tvbuff_t *tvb _U_, int offset _U_, packet ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_EnumArray200); } - + offset = netdfs_dissect_element_dfs_EnumArray200_count(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_EnumArray200_s(tvb, offset, pinfo, tree, di, drep); @@ -3100,15 +3051,13 @@ netdfs_dissect_struct_dfs_EnumArray300(tvbuff_t *tvb _U_, int offset _U_, packet ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_EnumArray300); } - + offset = netdfs_dissect_element_dfs_EnumArray300_count(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_EnumArray300_s(tvb, offset, pinfo, tree, di, drep); @@ -3308,15 +3257,13 @@ netdfs_dissect_struct_dfs_EnumStruct(tvbuff_t *tvb _U_, int offset _U_, packet_i ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_EnumStruct); } - + offset = netdfs_dissect_element_dfs_EnumStruct_level(tvb, offset, pinfo, tree, di, drep, &level); offset = netdfs_dissect_element_dfs_EnumStruct_e(tvb, offset, pinfo, tree, di, drep, &level); @@ -3374,15 +3321,13 @@ netdfs_dissect_struct_dfs_UnknownStruct(tvbuff_t *tvb _U_, int offset _U_, packe ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_netdfs_dfs_UnknownStruct); } - + offset = netdfs_dissect_element_dfs_UnknownStruct_unknown1(tvb, offset, pinfo, tree, di, drep); offset = netdfs_dissect_element_dfs_UnknownStruct_unknown2(tvb, offset, pinfo, tree, di, drep); diff --git a/epan/dissectors/packet-dcerpc-dnsserver.c b/epan/dissectors/packet-dcerpc-dnsserver.c index 0ae12bbc48..25a5b660db 100644 --- a/epan/dissectors/packet-dcerpc-dnsserver.c +++ b/epan/dissectors/packet-dcerpc-dnsserver.c @@ -690,15 +690,13 @@ dnsserver_dissect_struct_DNS_RPC_VERSION(tvbuff_t *tvb _U_, int offset _U_, pack ALIGN_TO_2_BYTES; - ALIGN_TO_2_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_dnsserver_DNS_RPC_VERSION); } - + offset = dnsserver_dissect_element_DNS_RPC_VERSION_OSMajorVersion(tvb, offset, pinfo, tree, di, drep); offset = dnsserver_dissect_element_DNS_RPC_VERSION_OSMinorVersion(tvb, offset, pinfo, tree, di, drep); @@ -1262,14 +1260,13 @@ dnsserver_dissect_struct_DNS_RPC_RECORD_NODE_NAME(tvbuff_t *tvb _U_, int offset proto_tree *tree = NULL; int old_offset; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_dnsserver_DNS_RPC_RECORD_NODE_NAME); } - + offset = dnsserver_dissect_element_DNS_RPC_RECORD_NODE_NAME_Name(tvb, offset, pinfo, tree, di, drep); @@ -1402,15 +1399,13 @@ dnsserver_dissect_struct_DNS_RPC_RECORD(tvbuff_t *tvb _U_, int offset _U_, packe ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_dnsserver_DNS_RPC_RECORD); } - + offset = dnsserver_dissect_element_DNS_RPC_RECORD_DataLength(tvb, offset, pinfo, tree, di, drep); offset = dnsserver_dissect_element_DNS_RPC_RECORD_Type(tvb, offset, pinfo, tree, di, drep, &Type); @@ -1497,15 +1492,13 @@ dnsserver_dissect_struct_DNS_RPC_NODE(tvbuff_t *tvb _U_, int offset _U_, packet_ ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_dnsserver_DNS_RPC_NODE); } - + offset = dnsserver_dissect_element_DNS_RPC_NODE_Length(tvb, offset, pinfo, tree, di, drep); offset = dnsserver_dissect_element_DNS_RPC_NODE_RecordCount(tvb, offset, pinfo, tree, di, drep); @@ -1568,15 +1561,13 @@ dnsserver_dissect_struct_IP4_ARRAY(tvbuff_t *tvb _U_, int offset _U_, packet_inf ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_dnsserver_IP4_ARRAY); } - + offset = dnsserver_dissect_element_IP4_ARRAY_AddrCount(tvb, offset, pinfo, tree, di, drep); offset = dnsserver_dissect_element_IP4_ARRAY_AddrArray(tvb, offset, pinfo, tree, di, drep); @@ -2331,15 +2322,13 @@ dnsserver_dissect_struct_DNS_RPC_SERVER_INFO_DOTNET(tvbuff_t *tvb _U_, int offse ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_dnsserver_DNS_RPC_SERVER_INFO_DOTNET); } - + offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RpcStructureVersion(tvb, offset, pinfo, tree, di, drep); offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserved0(tvb, offset, pinfo, tree, di, drep); @@ -2635,15 +2624,13 @@ dnsserver_dissect_struct_DNS_RECORD_BUFFER(tvbuff_t *tvb _U_, int offset _U_, pa ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_dnsserver_DNS_RECORD_BUFFER); } - + offset = dnsserver_dissect_element_DNS_RECORD_BUFFER_rpc_node(tvb, offset, pinfo, tree, di, drep); diff --git a/epan/dissectors/packet-dcerpc-dssetup.c b/epan/dissectors/packet-dcerpc-dssetup.c index a705757bc6..48485364cf 100644 --- a/epan/dissectors/packet-dcerpc-dssetup.c +++ b/epan/dissectors/packet-dcerpc-dssetup.c @@ -320,15 +320,13 @@ dssetup_dissect_struct_DsRolePrimaryDomInfoBasic(tvbuff_t *tvb _U_, int offset _ ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_dssetup_dssetup_DsRolePrimaryDomInfoBasic); } - + offset = dssetup_dissect_element_DsRolePrimaryDomInfoBasic_role(tvb, offset, pinfo, tree, di, drep); offset = dssetup_dissect_element_DsRolePrimaryDomInfoBasic_flags(tvb, offset, pinfo, tree, di, drep); @@ -424,15 +422,13 @@ dssetup_dissect_struct_DsRoleUpgradeStatus(tvbuff_t *tvb _U_, int offset _U_, pa ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_dssetup_dssetup_DsRoleUpgradeStatus); } - + offset = dssetup_dissect_element_DsRoleUpgradeStatus_upgrading(tvb, offset, pinfo, tree, di, drep); offset = dssetup_dissect_element_DsRoleUpgradeStatus_previous_role(tvb, offset, pinfo, tree, di, drep); @@ -491,15 +487,13 @@ dssetup_dissect_struct_DsRoleOpStatus(tvbuff_t *tvb _U_, int offset _U_, packet_ ALIGN_TO_3_BYTES; - ALIGN_TO_3_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_dssetup_dssetup_DsRoleOpStatus); } - + offset = dssetup_dissect_element_DsRoleOpStatus_status(tvb, offset, pinfo, tree, di, drep); diff --git a/epan/dissectors/packet-dcerpc-efs.c b/epan/dissectors/packet-dcerpc-efs.c index 042aa4b7fe..e012de2711 100644 --- a/epan/dissectors/packet-dcerpc-efs.c +++ b/epan/dissectors/packet-dcerpc-efs.c @@ -182,15 +182,13 @@ efs_dissect_struct_EFS_HASH_BLOB(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_efs_EFS_HASH_BLOB); } - + offset = efs_dissect_element_EFS_HASH_BLOB_cbData(tvb, offset, pinfo, tree, di, drep); offset = efs_dissect_element_EFS_HASH_BLOB_pbData(tvb, offset, pinfo, tree, di, drep); @@ -282,15 +280,13 @@ efs_dissect_struct_ENCRYPTION_CERTIFICATE_HASH(tvbuff_t *tvb _U_, int offset _U_ ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_efs_ENCRYPTION_CERTIFICATE_HASH); } - + offset = efs_dissect_element_ENCRYPTION_CERTIFICATE_HASH_cbTotalLength(tvb, offset, pinfo, tree, di, drep); offset = efs_dissect_element_ENCRYPTION_CERTIFICATE_HASH_pUserSid(tvb, offset, pinfo, tree, di, drep); @@ -357,15 +353,13 @@ efs_dissect_struct_ENCRYPTION_CERTIFICATE_HASH_LIST(tvbuff_t *tvb _U_, int offse ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_efs_ENCRYPTION_CERTIFICATE_HASH_LIST); } - + offset = efs_dissect_element_ENCRYPTION_CERTIFICATE_HASH_LIST_nCert_Hash(tvb, offset, pinfo, tree, di, drep); offset = efs_dissect_element_ENCRYPTION_CERTIFICATE_HASH_LIST_pUsers(tvb, offset, pinfo, tree, di, drep); @@ -437,15 +431,13 @@ efs_dissect_struct_EFS_CERTIFICATE_BLOB(tvbuff_t *tvb _U_, int offset _U_, packe ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_efs_EFS_CERTIFICATE_BLOB); } - + offset = efs_dissect_element_EFS_CERTIFICATE_BLOB_dwCertEncodingType(tvb, offset, pinfo, tree, di, drep); offset = efs_dissect_element_EFS_CERTIFICATE_BLOB_cbData(tvb, offset, pinfo, tree, di, drep); @@ -519,15 +511,13 @@ efs_dissect_struct_ENCRYPTION_CERTIFICATE(tvbuff_t *tvb _U_, int offset _U_, pac ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_efs_ENCRYPTION_CERTIFICATE); } - + offset = efs_dissect_element_ENCRYPTION_CERTIFICATE_TotalLength(tvb, offset, pinfo, tree, di, drep); offset = efs_dissect_element_ENCRYPTION_CERTIFICATE_pUserSid(tvb, offset, pinfo, tree, di, drep); diff --git a/epan/dissectors/packet-dcerpc-eventlog.c b/epan/dissectors/packet-dcerpc-eventlog.c index 7ccfea8e63..ca2b992a5a 100644 --- a/epan/dissectors/packet-dcerpc-eventlog.c +++ b/epan/dissectors/packet-dcerpc-eventlog.c @@ -552,15 +552,13 @@ eventlog_dissect_struct_OpenUnknown0(tvbuff_t *tvb _U_, int offset _U_, packet_i ALIGN_TO_2_BYTES; - ALIGN_TO_2_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_eventlog_eventlog_OpenUnknown0); } - + offset = eventlog_dissect_element_OpenUnknown0_unknown0(tvb, offset, pinfo, tree, di, drep); offset = eventlog_dissect_element_OpenUnknown0_unknown1(tvb, offset, pinfo, tree, di, drep); @@ -713,15 +711,13 @@ eventlog_dissect_struct_Record(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_eventlog_eventlog_Record); } - + offset = eventlog_dissect_element_Record_size(tvb, offset, pinfo, tree, di, drep); offset = eventlog_dissect_element_Record_reserved(tvb, offset, pinfo, tree, di, drep); @@ -804,15 +800,13 @@ eventlog_dissect_struct_ChangeUnknown0(tvbuff_t *tvb _U_, int offset _U_, packet ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_eventlog_eventlog_ChangeUnknown0); } - + offset = eventlog_dissect_element_ChangeUnknown0_unknown0(tvb, offset, pinfo, tree, di, drep); offset = eventlog_dissect_element_ChangeUnknown0_unknown1(tvb, offset, pinfo, tree, di, drep); diff --git a/epan/dissectors/packet-dcerpc-frsrpc.c b/epan/dissectors/packet-dcerpc-frsrpc.c index be674a8e4f..ec9931ba92 100644 --- a/epan/dissectors/packet-dcerpc-frsrpc.c +++ b/epan/dissectors/packet-dcerpc-frsrpc.c @@ -791,14 +791,13 @@ frsrpc_dissect_struct_CommPktChunkGuidName(tvbuff_t *tvb _U_, int offset _U_, pa proto_tree *tree = NULL; int old_offset; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktChunkGuidName); } - + offset = frsrpc_dissect_element_CommPktChunkGuidName_guid(tvb, offset, pinfo, tree, di, drep); offset = frsrpc_dissect_element_CommPktChunkGuidName_name(tvb, offset, pinfo, tree, di, drep); @@ -841,15 +840,13 @@ frsrpc_dissect_struct_CommPktGSVN(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktGSVN); } - + offset = frsrpc_dissect_element_CommPktGSVN_vsn(tvb, offset, pinfo, tree, di, drep); offset = frsrpc_dissect_element_CommPktGSVN_guid(tvb, offset, pinfo, tree, di, drep); @@ -1721,15 +1718,13 @@ frsrpc_dissect_struct_CommPktChangeOrderCommand(tvbuff_t *tvb _U_, int offset _U ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktChangeOrderCommand); } - + offset = frsrpc_dissect_element_CommPktChangeOrderCommand_sequence_number(tvb, offset, pinfo, tree, di, drep); offset = frsrpc_dissect_element_CommPktChangeOrderCommand_flags(tvb, offset, pinfo, tree, di, drep); @@ -1894,15 +1889,13 @@ frsrpc_dissect_struct_CommPktDataExtensionChecksum(tvbuff_t *tvb _U_, int offset ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktDataExtensionChecksum); } - + offset = frsrpc_dissect_element_CommPktDataExtensionChecksum_prefix_size(tvb, offset, pinfo, tree, di, drep); offset = frsrpc_dissect_element_CommPktDataExtensionChecksum_prefix_type(tvb, offset, pinfo, tree, di, drep); @@ -1978,15 +1971,13 @@ frsrpc_dissect_struct_CommPktDataExtensionRetryTimeout(tvbuff_t *tvb _U_, int of ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout); } - + offset = frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_prefix_size(tvb, offset, pinfo, tree, di, drep); offset = frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_prefix_type(tvb, offset, pinfo, tree, di, drep); @@ -2095,15 +2086,13 @@ frsrpc_dissect_struct_CommPktCoRecordExtensionWin2k(tvbuff_t *tvb _U_, int offse ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k); } - + offset = frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_field_size(tvb, offset, pinfo, tree, di, drep); offset = frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_major(tvb, offset, pinfo, tree, di, drep); @@ -2221,15 +2210,13 @@ frsrpc_dissect_struct_CommPktChangeOrderRecordExtension(tvbuff_t *tvb _U_, int o ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktChangeOrderRecordExtension); } - + offset = frsrpc_dissect_element_CommPktChangeOrderRecordExtension_field_size(tvb, offset, pinfo, tree, di, drep); offset = frsrpc_dissect_element_CommPktChangeOrderRecordExtension_major(tvb, offset, pinfo, tree, di, drep); @@ -3028,15 +3015,13 @@ frsrpc_dissect_struct_FrsSendCommPktReq(tvbuff_t *tvb _U_, int offset _U_, packe ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_FrsSendCommPktReq); } - + offset = frsrpc_dissect_element_FrsSendCommPktReq_major(tvb, offset, pinfo, tree, di, drep); offset = frsrpc_dissect_element_FrsSendCommPktReq_minor(tvb, offset, pinfo, tree, di, drep); diff --git a/epan/dissectors/packet-dcerpc-frstrans.c b/epan/dissectors/packet-dcerpc-frstrans.c index d28704f86f..e35afe0559 100644 --- a/epan/dissectors/packet-dcerpc-frstrans.c +++ b/epan/dissectors/packet-dcerpc-frstrans.c @@ -475,15 +475,13 @@ frstrans_dissect_struct_VersionVector(tvbuff_t *tvb _U_, int offset _U_, packet_ ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frstrans_frstrans_VersionVector); } - + offset = frstrans_dissect_element_VersionVector_db_guid(tvb, offset, pinfo, tree, di, drep); offset = frstrans_dissect_element_VersionVector_low(tvb, offset, pinfo, tree, di, drep); @@ -690,15 +688,13 @@ frstrans_dissect_struct_Update(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frstrans_frstrans_Update); } - + offset = frstrans_dissect_element_Update_present(tvb, offset, pinfo, tree, di, drep); offset = frstrans_dissect_element_Update_name_conflict(tvb, offset, pinfo, tree, di, drep); @@ -879,15 +875,13 @@ frstrans_dissect_struct_EpoqueVector(tvbuff_t *tvb _U_, int offset _U_, packet_i ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frstrans_frstrans_EpoqueVector); } - + offset = frstrans_dissect_element_EpoqueVector_machine_guid(tvb, offset, pinfo, tree, di, drep); offset = frstrans_dissect_element_EpoqueVector_year(tvb, offset, pinfo, tree, di, drep); @@ -1007,15 +1001,13 @@ frstrans_dissect_struct_AsyncVersionVectorResponse(tvbuff_t *tvb _U_, int offset ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frstrans_frstrans_AsyncVersionVectorResponse); } - + offset = frstrans_dissect_element_AsyncVersionVectorResponse_vv_generation(tvb, offset, pinfo, tree, di, drep); offset = frstrans_dissect_element_AsyncVersionVectorResponse_version_vector_count(tvb, offset, pinfo, tree, di, drep); @@ -1077,15 +1069,13 @@ frstrans_dissect_struct_AsyncResponseContext(tvbuff_t *tvb _U_, int offset _U_, ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frstrans_frstrans_AsyncResponseContext); } - + offset = frstrans_dissect_element_AsyncResponseContext_sequence_number(tvb, offset, pinfo, tree, di, drep); offset = frstrans_dissect_element_AsyncResponseContext_status(tvb, offset, pinfo, tree, di, drep); @@ -1187,15 +1177,13 @@ frstrans_dissect_struct_RdcParameterGeneric(tvbuff_t *tvb _U_, int offset _U_, p ALIGN_TO_3_BYTES; - ALIGN_TO_3_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frstrans_frstrans_RdcParameterGeneric); } - + offset = frstrans_dissect_element_RdcParameterGeneric_chunker_type(tvb, offset, pinfo, tree, di, drep); offset = frstrans_dissect_element_RdcParameterGeneric_chunker_parameters(tvb, offset, pinfo, tree, di, drep); @@ -1242,15 +1230,13 @@ frstrans_dissect_struct_RdcParameterFilterMax(tvbuff_t *tvb _U_, int offset _U_, ALIGN_TO_2_BYTES; - ALIGN_TO_2_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frstrans_frstrans_RdcParameterFilterMax); } - + offset = frstrans_dissect_element_RdcParameterFilterMax_min_horizon_size(tvb, offset, pinfo, tree, di, drep); offset = frstrans_dissect_element_RdcParameterFilterMax_max_window_size(tvb, offset, pinfo, tree, di, drep); @@ -1297,15 +1283,13 @@ frstrans_dissect_struct_RdcParameterFilterPoint(tvbuff_t *tvb _U_, int offset _U ALIGN_TO_2_BYTES; - ALIGN_TO_2_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frstrans_frstrans_RdcParameterFilterPoint); } - + offset = frstrans_dissect_element_RdcParameterFilterPoint_min_chunk_size(tvb, offset, pinfo, tree, di, drep); offset = frstrans_dissect_element_RdcParameterFilterPoint_max_chunk_size(tvb, offset, pinfo, tree, di, drep); @@ -1418,15 +1402,13 @@ frstrans_dissect_struct_RdcParameters(tvbuff_t *tvb _U_, int offset _U_, packet_ ALIGN_TO_3_BYTES; - ALIGN_TO_3_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frstrans_frstrans_RdcParameters); } - + offset = frstrans_dissect_element_RdcParameters_rdc_chunker_algorithm(tvb, offset, pinfo, tree, di, drep, &rdc_chunker_algorithm); offset = frstrans_dissect_element_RdcParameters_u(tvb, offset, pinfo, tree, di, drep, &rdc_chunker_algorithm); @@ -1584,15 +1566,13 @@ frstrans_dissect_struct_RdcFileInfo(tvbuff_t *tvb _U_, int offset _U_, packet_in ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_frstrans_frstrans_RdcFileInfo); } - + offset = frstrans_dissect_element_RdcFileInfo_on_disk_file_size(tvb, offset, pinfo, tree, di, drep); offset = frstrans_dissect_element_RdcFileInfo_file_size_estimate(tvb, offset, pinfo, tree, di, drep); diff --git a/epan/dissectors/packet-dcerpc-lsa.c b/epan/dissectors/packet-dcerpc-lsa.c index 98667be5c3..ba993ce799 100644 --- a/epan/dissectors/packet-dcerpc-lsa.c +++ b/epan/dissectors/packet-dcerpc-lsa.c @@ -1678,15 +1678,13 @@ lsarpc_dissect_struct_lsa_String(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_String); } - + offset = lsarpc_dissect_element_lsa_String_length(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_String_size(tvb, offset, pinfo, tree, di, drep); @@ -1744,15 +1742,13 @@ lsarpc_dissect_struct_lsa_StringLarge(tvbuff_t *tvb _U_, int offset _U_, packet_ ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_StringLarge); } - + offset = lsarpc_dissect_element_lsa_StringLarge_length(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_StringLarge_size(tvb, offset, pinfo, tree, di, drep); @@ -1817,15 +1813,13 @@ lsarpc_dissect_struct_lsa_Strings(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_Strings); } - + offset = lsarpc_dissect_element_lsa_Strings_count(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_Strings_names(tvb, offset, pinfo, tree, di, drep); @@ -1897,15 +1891,13 @@ lsarpc_dissect_struct_lsa_AsciiString(tvbuff_t *tvb _U_, int offset _U_, packet_ ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_AsciiString); } - + offset = lsarpc_dissect_element_lsa_AsciiString_length(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_AsciiString_size(tvb, offset, pinfo, tree, di, drep); @@ -1979,15 +1971,13 @@ lsarpc_dissect_struct_lsa_AsciiStringLarge(tvbuff_t *tvb _U_, int offset _U_, pa ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_AsciiStringLarge); } - + offset = lsarpc_dissect_element_lsa_AsciiStringLarge_length(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_AsciiStringLarge_size(tvb, offset, pinfo, tree, di, drep); @@ -2036,15 +2026,13 @@ lsarpc_dissect_struct_lsa_LUID(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_LUID); } - + offset = lsarpc_dissect_element_lsa_LUID_low(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_LUID_high(tvb, offset, pinfo, tree, di, drep); @@ -2091,15 +2079,13 @@ lsarpc_dissect_struct_lsa_PrivEntry(tvbuff_t *tvb _U_, int offset _U_, packet_in ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_PrivEntry); } - + offset = lsarpc_dissect_element_lsa_PrivEntry_name(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_PrivEntry_luid(tvb, offset, pinfo, tree, di, drep); @@ -2162,15 +2148,13 @@ lsarpc_dissect_struct_lsa_PrivArray(tvbuff_t *tvb _U_, int offset _U_, packet_in ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_PrivArray); } - + offset = lsarpc_dissect_element_lsa_PrivArray_count(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_PrivArray_privs(tvb, offset, pinfo, tree, di, drep); @@ -2257,15 +2241,13 @@ lsarpc_dissect_struct_lsa_QosInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_QosInfo); } - + offset = lsarpc_dissect_element_lsa_QosInfo_len(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_QosInfo_impersonation_level(tvb, offset, pinfo, tree, di, drep); @@ -2387,15 +2369,13 @@ lsarpc_dissect_struct_lsa_ObjectAttribute(tvbuff_t *tvb _U_, int offset _U_, pac ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_ObjectAttribute); } - + offset = lsarpc_dissect_element_lsa_ObjectAttribute_len(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_ObjectAttribute_root_dir(tvb, offset, pinfo, tree, di, drep); @@ -2495,15 +2475,13 @@ lsarpc_dissect_struct_lsa_AuditLogInfo(tvbuff_t *tvb _U_, int offset _U_, packet ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_AuditLogInfo); } - + offset = lsarpc_dissect_element_lsa_AuditLogInfo_percent_full(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_AuditLogInfo_log_size(tvb, offset, pinfo, tree, di, drep); @@ -2635,15 +2613,13 @@ lsarpc_dissect_struct_lsa_AuditEventsInfo(tvbuff_t *tvb _U_, int offset _U_, pac ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_AuditEventsInfo); } - + offset = lsarpc_dissect_element_lsa_AuditEventsInfo_auditing_mode(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_AuditEventsInfo_settings(tvb, offset, pinfo, tree, di, drep); @@ -2700,15 +2676,13 @@ lsarpc_dissect_struct_lsa_DomainInfo(tvbuff_t *tvb _U_, int offset _U_, packet_i ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_DomainInfo); } - + offset = lsarpc_dissect_element_lsa_DomainInfo_name(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_DomainInfo_sid(tvb, offset, pinfo, tree, di, drep); @@ -2746,15 +2720,13 @@ lsarpc_dissect_struct_lsa_PDAccountInfo(tvbuff_t *tvb _U_, int offset _U_, packe ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_PDAccountInfo); } - + offset = lsarpc_dissect_element_lsa_PDAccountInfo_name(tvb, offset, pinfo, tree, di, drep); @@ -2810,15 +2782,13 @@ lsarpc_dissect_struct_lsa_ServerRole(tvbuff_t *tvb _U_, int offset _U_, packet_i ALIGN_TO_3_BYTES; - ALIGN_TO_3_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_ServerRole); } - + offset = lsarpc_dissect_element_lsa_ServerRole_role(tvb, offset, pinfo, tree, di, drep); @@ -2863,15 +2833,13 @@ lsarpc_dissect_struct_lsa_ReplicaSourceInfo(tvbuff_t *tvb _U_, int offset _U_, p ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_ReplicaSourceInfo); } - + offset = lsarpc_dissect_element_lsa_ReplicaSourceInfo_source(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_ReplicaSourceInfo_account(tvb, offset, pinfo, tree, di, drep); @@ -2954,15 +2922,13 @@ lsarpc_dissect_struct_lsa_DefaultQuotaInfo(tvbuff_t *tvb _U_, int offset _U_, pa ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_DefaultQuotaInfo); } - + offset = lsarpc_dissect_element_lsa_DefaultQuotaInfo_paged_pool(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_DefaultQuotaInfo_non_paged_pool(tvb, offset, pinfo, tree, di, drep); @@ -3017,15 +2983,13 @@ lsarpc_dissect_struct_lsa_ModificationInfo(tvbuff_t *tvb _U_, int offset _U_, pa ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_ModificationInfo); } - + offset = lsarpc_dissect_element_lsa_ModificationInfo_modified_id(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_ModificationInfo_db_create_time(tvb, offset, pinfo, tree, di, drep); @@ -3061,14 +3025,13 @@ lsarpc_dissect_struct_lsa_AuditFullSetInfo(tvbuff_t *tvb _U_, int offset _U_, pa proto_tree *tree = NULL; int old_offset; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_AuditFullSetInfo); } - + offset = lsarpc_dissect_element_lsa_AuditFullSetInfo_shutdown_on_full(tvb, offset, pinfo, tree, di, drep); @@ -3118,15 +3081,13 @@ lsarpc_dissect_struct_lsa_AuditFullQueryInfo(tvbuff_t *tvb _U_, int offset _U_, ALIGN_TO_2_BYTES; - ALIGN_TO_2_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_AuditFullQueryInfo); } - + offset = lsarpc_dissect_element_lsa_AuditFullQueryInfo_unknown(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_AuditFullQueryInfo_shutdown_on_full(tvb, offset, pinfo, tree, di, drep); @@ -3210,15 +3171,13 @@ lsarpc_dissect_struct_lsa_DnsDomainInfo(tvbuff_t *tvb _U_, int offset _U_, packe ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_DnsDomainInfo); } - + offset = lsarpc_dissect_element_lsa_DnsDomainInfo_name(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_DnsDomainInfo_dns_domain(tvb, offset, pinfo, tree, di, drep); @@ -3484,15 +3443,13 @@ lsarpc_dissect_struct_lsa_SidPtr(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_SidPtr); } - + offset = lsarpc_dissect_element_lsa_SidPtr_sid(tvb, offset, pinfo, tree, di, drep); @@ -3553,15 +3510,13 @@ lsarpc_dissect_struct_lsa_SidArray(tvbuff_t *tvb _U_, int offset _U_, packet_inf ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_SidArray); } - + offset = lsarpc_dissect_element_lsa_SidArray_num_sids(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_SidArray_sids(tvb, offset, pinfo, tree, di, drep); @@ -3624,15 +3579,13 @@ lsarpc_dissect_struct_lsa_DomainList(tvbuff_t *tvb _U_, int offset _U_, packet_i ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_DomainList); } - + offset = lsarpc_dissect_element_lsa_DomainList_count(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_DomainList_domains(tvb, offset, pinfo, tree, di, drep); @@ -3716,15 +3669,13 @@ lsarpc_dissect_struct_lsa_TranslatedSid(tvbuff_t *tvb _U_, int offset _U_, packe ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TranslatedSid); } - + offset = lsarpc_dissect_element_lsa_TranslatedSid_sid_type(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TranslatedSid_rid(tvb, offset, pinfo, tree, di, drep); @@ -3789,15 +3740,13 @@ lsarpc_dissect_struct_lsa_TransSidArray(tvbuff_t *tvb _U_, int offset _U_, packe ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TransSidArray); } - + offset = lsarpc_dissect_element_lsa_TransSidArray_count(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TransSidArray_sids(tvb, offset, pinfo, tree, di, drep); @@ -3869,15 +3818,13 @@ lsarpc_dissect_struct_lsa_RefDomainList(tvbuff_t *tvb _U_, int offset _U_, packe ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_RefDomainList); } - + offset = lsarpc_dissect_element_lsa_RefDomainList_count(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_RefDomainList_domains(tvb, offset, pinfo, tree, di, drep); @@ -3959,15 +3906,13 @@ lsarpc_dissect_struct_lsa_TranslatedName(tvbuff_t *tvb _U_, int offset _U_, pack ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TranslatedName); } - + offset = lsarpc_dissect_element_lsa_TranslatedName_sid_type(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TranslatedName_name(tvb, offset, pinfo, tree, di, drep); @@ -4032,15 +3977,13 @@ lsarpc_dissect_struct_lsa_TransNameArray(tvbuff_t *tvb _U_, int offset _U_, pack ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TransNameArray); } - + offset = lsarpc_dissect_element_lsa_TransNameArray_count(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TransNameArray_names(tvb, offset, pinfo, tree, di, drep); @@ -4087,15 +4030,13 @@ lsarpc_dissect_struct_lsa_LUIDAttribute(tvbuff_t *tvb _U_, int offset _U_, packe ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_LUIDAttribute); } - + offset = lsarpc_dissect_element_lsa_LUIDAttribute_luid(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_LUIDAttribute_attribute(tvb, offset, pinfo, tree, di, drep); @@ -4159,15 +4100,13 @@ lsarpc_dissect_struct_lsa_PrivilegeSet(tvbuff_t *tvb _U_, int offset _U_, packet ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_PrivilegeSet); } - + offset = lsarpc_dissect_element_lsa_PrivilegeSet_count(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_PrivilegeSet_unknown(tvb, offset, pinfo, tree, di, drep); @@ -4241,15 +4180,13 @@ lsarpc_dissect_struct_lsa_DATA_BUF(tvbuff_t *tvb _U_, int offset _U_, packet_inf ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_DATA_BUF); } - + offset = lsarpc_dissect_element_lsa_DATA_BUF_length(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_DATA_BUF_size(tvb, offset, pinfo, tree, di, drep); @@ -4314,15 +4251,13 @@ lsarpc_dissect_struct_lsa_DATA_BUF2(tvbuff_t *tvb _U_, int offset _U_, packet_in ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_DATA_BUF2); } - + offset = lsarpc_dissect_element_lsa_DATA_BUF2_size(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_DATA_BUF2_data(tvb, offset, pinfo, tree, di, drep); @@ -4388,15 +4323,13 @@ lsarpc_dissect_struct_lsa_TrustDomainInfoName(tvbuff_t *tvb _U_, int offset _U_, ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TrustDomainInfoName); } - + offset = lsarpc_dissect_element_lsa_TrustDomainInfoName_netbios_name(tvb, offset, pinfo, tree, di, drep); @@ -4432,15 +4365,13 @@ lsarpc_dissect_struct_lsa_TrustDomainInfoPosixOffset(tvbuff_t *tvb _U_, int offs ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TrustDomainInfoPosixOffset); } - + offset = lsarpc_dissect_element_lsa_TrustDomainInfoPosixOffset_posix_offset(tvb, offset, pinfo, tree, di, drep); @@ -4501,15 +4432,13 @@ lsarpc_dissect_struct_lsa_TrustDomainInfoPassword(tvbuff_t *tvb _U_, int offset ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TrustDomainInfoPassword); } - + offset = lsarpc_dissect_element_lsa_TrustDomainInfoPassword_password(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TrustDomainInfoPassword_old_password(tvb, offset, pinfo, tree, di, drep); @@ -4564,15 +4493,13 @@ lsarpc_dissect_struct_lsa_TrustDomainInfoBasic(tvbuff_t *tvb _U_, int offset _U_ ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TrustDomainInfoBasic); } - + offset = lsarpc_dissect_element_lsa_TrustDomainInfoBasic_netbios_name(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TrustDomainInfoBasic_sid(tvb, offset, pinfo, tree, di, drep); @@ -4663,15 +4590,13 @@ lsarpc_dissect_struct_lsa_TrustDomainInfoInfoEx(tvbuff_t *tvb _U_, int offset _U ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TrustDomainInfoInfoEx); } - + offset = lsarpc_dissect_element_lsa_TrustDomainInfoInfoEx_domain_name(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TrustDomainInfoInfoEx_netbios_name(tvb, offset, pinfo, tree, di, drep); @@ -4735,15 +4660,13 @@ lsarpc_dissect_struct_lsa_TrustDomainInfoBuffer(tvbuff_t *tvb _U_, int offset _U ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TrustDomainInfoBuffer); } - + offset = lsarpc_dissect_element_lsa_TrustDomainInfoBuffer_last_update_time(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TrustDomainInfoBuffer_secret_type(tvb, offset, pinfo, tree, di, drep); @@ -4860,15 +4783,13 @@ lsarpc_dissect_struct_lsa_TrustDomainInfoAuthInfo(tvbuff_t *tvb _U_, int offset ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TrustDomainInfoAuthInfo); } - + offset = lsarpc_dissect_element_lsa_TrustDomainInfoAuthInfo_incoming_count(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TrustDomainInfoAuthInfo_incoming_current_auth_info(tvb, offset, pinfo, tree, di, drep); @@ -4932,15 +4853,13 @@ lsarpc_dissect_struct_lsa_TrustDomainInfoFullInfo(tvbuff_t *tvb _U_, int offset ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TrustDomainInfoFullInfo); } - + offset = lsarpc_dissect_element_lsa_TrustDomainInfoFullInfo_info_ex(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TrustDomainInfoFullInfo_posix_offset(tvb, offset, pinfo, tree, di, drep); @@ -4989,15 +4908,13 @@ lsarpc_dissect_struct_lsa_TrustDomainInfo11(tvbuff_t *tvb _U_, int offset _U_, p ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TrustDomainInfo11); } - + offset = lsarpc_dissect_element_lsa_TrustDomainInfo11_info_ex(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TrustDomainInfo11_data1(tvb, offset, pinfo, tree, di, drep); @@ -5062,15 +4979,13 @@ lsarpc_dissect_struct_lsa_TrustDomainInfoInfoAll(tvbuff_t *tvb _U_, int offset _ ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TrustDomainInfoInfoAll); } - + offset = lsarpc_dissect_element_lsa_TrustDomainInfoInfoAll_info_ex(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TrustDomainInfoInfoAll_data1(tvb, offset, pinfo, tree, di, drep); @@ -5263,15 +5178,13 @@ lsarpc_dissect_struct_lsa_DATA_BUF_PTR(tvbuff_t *tvb _U_, int offset _U_, packet ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_DATA_BUF_PTR); } - + offset = lsarpc_dissect_element_lsa_DATA_BUF_PTR_buf(tvb, offset, pinfo, tree, di, drep); @@ -5318,15 +5231,13 @@ lsarpc_dissect_struct_lsa_RightAttribute(tvbuff_t *tvb _U_, int offset _U_, pack ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_RightAttribute); } - + offset = lsarpc_dissect_element_lsa_RightAttribute_name(tvb, offset, pinfo, tree, di, drep); @@ -5387,15 +5298,13 @@ lsarpc_dissect_struct_lsa_RightSet(tvbuff_t *tvb _U_, int offset _U_, packet_inf ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_RightSet); } - + offset = lsarpc_dissect_element_lsa_RightSet_count(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_RightSet_names(tvb, offset, pinfo, tree, di, drep); @@ -5441,15 +5350,13 @@ lsarpc_dissect_struct_lsa_StringPointer(tvbuff_t *tvb _U_, int offset _U_, packe ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_StringPointer); } - + offset = lsarpc_dissect_element_lsa_StringPointer_string(tvb, offset, pinfo, tree, di, drep); @@ -5510,15 +5417,13 @@ lsarpc_dissect_struct_lsa_DomainListEx(tvbuff_t *tvb _U_, int offset _U_, packet ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_DomainListEx); } - + offset = lsarpc_dissect_element_lsa_DomainListEx_count(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_DomainListEx_domains(tvb, offset, pinfo, tree, di, drep); @@ -5601,15 +5506,13 @@ lsarpc_dissect_struct_lsa_DomainInfoKerberos(tvbuff_t *tvb _U_, int offset _U_, ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_DomainInfoKerberos); } - + offset = lsarpc_dissect_element_lsa_DomainInfoKerberos_enforce_restrictions(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_DomainInfoKerberos_service_tkt_lifetime(tvb, offset, pinfo, tree, di, drep); @@ -5664,15 +5567,13 @@ lsarpc_dissect_struct_lsa_DomainInfoEfs(tvbuff_t *tvb _U_, int offset _U_, packe ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_DomainInfoEfs); } - + offset = lsarpc_dissect_element_lsa_DomainInfoEfs_blob_size(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_DomainInfoEfs_efs_blob(tvb, offset, pinfo, tree, di, drep); @@ -5810,15 +5711,13 @@ lsarpc_dissect_struct_lsa_TranslatedName2(tvbuff_t *tvb _U_, int offset _U_, pac ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TranslatedName2); } - + offset = lsarpc_dissect_element_lsa_TranslatedName2_sid_type(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TranslatedName2_name(tvb, offset, pinfo, tree, di, drep); @@ -5885,15 +5784,13 @@ lsarpc_dissect_struct_lsa_TransNameArray2(tvbuff_t *tvb _U_, int offset _U_, pac ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TransNameArray2); } - + offset = lsarpc_dissect_element_lsa_TransNameArray2_count(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TransNameArray2_names(tvb, offset, pinfo, tree, di, drep); @@ -5958,15 +5855,13 @@ lsarpc_dissect_struct_lsa_TranslatedSid2(tvbuff_t *tvb _U_, int offset _U_, pack ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TranslatedSid2); } - + offset = lsarpc_dissect_element_lsa_TranslatedSid2_sid_type(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TranslatedSid2_rid(tvb, offset, pinfo, tree, di, drep); @@ -6033,15 +5928,13 @@ lsarpc_dissect_struct_lsa_TransSidArray2(tvbuff_t *tvb _U_, int offset _U_, pack ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TransSidArray2); } - + offset = lsarpc_dissect_element_lsa_TransSidArray2_count(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TransSidArray2_sids(tvb, offset, pinfo, tree, di, drep); @@ -6114,15 +6007,13 @@ lsarpc_dissect_struct_lsa_TranslatedSid3(tvbuff_t *tvb _U_, int offset _U_, pack ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TranslatedSid3); } - + offset = lsarpc_dissect_element_lsa_TranslatedSid3_sid_type(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TranslatedSid3_sid(tvb, offset, pinfo, tree, di, drep); @@ -6189,15 +6080,13 @@ lsarpc_dissect_struct_lsa_TransSidArray3(tvbuff_t *tvb _U_, int offset _U_, pack ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_TransSidArray3); } - + offset = lsarpc_dissect_element_lsa_TransSidArray3_count(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_TransSidArray3_sids(tvb, offset, pinfo, tree, di, drep); @@ -6260,15 +6149,13 @@ lsarpc_dissect_struct_lsa_ForestTrustBinaryData(tvbuff_t *tvb _U_, int offset _U ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_ForestTrustBinaryData); } - + offset = lsarpc_dissect_element_lsa_ForestTrustBinaryData_length(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_ForestTrustBinaryData_data(tvb, offset, pinfo, tree, di, drep); @@ -6332,15 +6219,13 @@ lsarpc_dissect_struct_lsa_ForestTrustDomainInfo(tvbuff_t *tvb _U_, int offset _U ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_ForestTrustDomainInfo); } - + offset = lsarpc_dissect_element_lsa_ForestTrustDomainInfo_domain_sid(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_ForestTrustDomainInfo_dns_domain_name(tvb, offset, pinfo, tree, di, drep); @@ -6508,15 +6393,13 @@ lsarpc_dissect_struct_lsa_ForestTrustRecord(tvbuff_t *tvb _U_, int offset _U_, p ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_ForestTrustRecord); } - + offset = lsarpc_dissect_element_lsa_ForestTrustRecord_flags(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_ForestTrustRecord_level(tvb, offset, pinfo, tree, di, drep, &level); @@ -6591,15 +6474,13 @@ lsarpc_dissect_struct_lsa_ForestTrustInformation(tvbuff_t *tvb _U_, int offset _ ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_lsarpc_lsa_ForestTrustInformation); } - + offset = lsarpc_dissect_element_lsa_ForestTrustInformation_count(tvb, offset, pinfo, tree, di, drep); offset = lsarpc_dissect_element_lsa_ForestTrustInformation_entries(tvb, offset, pinfo, tree, di, drep); diff --git a/epan/dissectors/packet-dcerpc-mdssvc.c b/epan/dissectors/packet-dcerpc-mdssvc.c index b1fc0a68fb..9b511fc3cf 100644 --- a/epan/dissectors/packet-dcerpc-mdssvc.c +++ b/epan/dissectors/packet-dcerpc-mdssvc.c @@ -170,15 +170,13 @@ mdssvc_dissect_struct_blob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_mdssvc_mdssvc_blob); } - + offset = mdssvc_dissect_element_blob_length(tvb, offset, pinfo, tree, di, drep); offset = mdssvc_dissect_element_blob_size(tvb, offset, pinfo, tree, di, drep); diff --git a/epan/dissectors/packet-dcerpc-misc.c b/epan/dissectors/packet-dcerpc-misc.c index 72d88e209a..b1ab5e5970 100644 --- a/epan/dissectors/packet-dcerpc-misc.c +++ b/epan/dissectors/packet-dcerpc-misc.c @@ -173,15 +173,13 @@ misc_dissect_struct_GUID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _ ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_misc_GUID); } - + offset = misc_dissect_element_GUID_time_low(tvb, offset, pinfo, tree, di, drep); offset = misc_dissect_element_GUID_time_mid(tvb, offset, pinfo, tree, di, drep); @@ -234,15 +232,13 @@ misc_dissect_struct_ndr_syntax_id(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_misc_ndr_syntax_id); } - + offset = misc_dissect_element_ndr_syntax_id_uuid(tvb, offset, pinfo, tree, di, drep); offset = misc_dissect_element_ndr_syntax_id_if_version(tvb, offset, pinfo, tree, di, drep); @@ -289,15 +285,13 @@ misc_dissect_struct_policy_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_misc_policy_handle); } - + offset = misc_dissect_element_policy_handle_handle_type(tvb, offset, pinfo, tree, di, drep); offset = misc_dissect_element_policy_handle_uuid(tvb, offset, pinfo, tree, di, drep); @@ -379,15 +373,13 @@ misc_dissect_struct_KRB5_EDATA_NTSTATUS(tvbuff_t *tvb _U_, int offset _U_, packe ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_misc_KRB5_EDATA_NTSTATUS); } - + offset = misc_dissect_element_KRB5_EDATA_NTSTATUS_ntstatus(tvb, offset, pinfo, tree, di, drep); offset = misc_dissect_element_KRB5_EDATA_NTSTATUS_unknown1(tvb, offset, pinfo, tree, di, drep); diff --git a/epan/dissectors/packet-dcerpc-rfr.c b/epan/dissectors/packet-dcerpc-rfr.c index a3a104441f..e04d527533 100644 --- a/epan/dissectors/packet-dcerpc-rfr.c +++ b/epan/dissectors/packet-dcerpc-rfr.c @@ -5,7 +5,7 @@ Pidl is a perl based IDL compiler for DCE/RPC idl files. It is maintained by the Samba team, not the Wireshark team. Instructions on how to download and install Pidl can be - found at http://wiki.wireshark.org/Pidl + found at https://wiki.wireshark.org/Pidl */ diff --git a/epan/dissectors/packet-dcerpc-rfr.h b/epan/dissectors/packet-dcerpc-rfr.h index 2f87331d4c..b3c36a0809 100644 --- a/epan/dissectors/packet-dcerpc-rfr.h +++ b/epan/dissectors/packet-dcerpc-rfr.h @@ -5,7 +5,7 @@ Pidl is a perl based IDL compiler for DCE/RPC idl files. It is maintained by the Samba team, not the Wireshark team. Instructions on how to download and install Pidl can be - found at http://wiki.wireshark.org/Pidl + found at https://wiki.wireshark.org/Pidl */ #ifndef __PACKET_DCERPC_RFR_H diff --git a/epan/dissectors/packet-dcerpc-samr.c b/epan/dissectors/packet-dcerpc-samr.c index 22a29befeb..06513ca67a 100644 --- a/epan/dissectors/packet-dcerpc-samr.c +++ b/epan/dissectors/packet-dcerpc-samr.c @@ -2249,15 +2249,13 @@ samr_dissect_struct_lsa_Strings(tvbuff_t *tvb _U_, int offset _U_, packet_info * ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_lsa_Strings); } - + offset = samr_dissect_element_lsa_Strings_count(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_lsa_Strings_names(tvb, offset, pinfo, tree, di, drep); @@ -2623,15 +2621,13 @@ samr_dissect_struct_SamEntry(tvbuff_t *tvb _U_, int offset _U_, packet_info *pin ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_SamEntry); } - + offset = samr_dissect_element_SamEntry_idx(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_SamEntry_name(tvb, offset, pinfo, tree, di, drep); @@ -2694,15 +2690,13 @@ samr_dissect_struct_SamArray(tvbuff_t *tvb _U_, int offset _U_, packet_info *pin ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_SamArray); } - + offset = samr_dissect_element_SamArray_count(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_SamArray_entries(tvb, offset, pinfo, tree, di, drep); @@ -2934,15 +2928,13 @@ samr_dissect_struct_DomInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pin ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DomInfo1); } - + offset = samr_dissect_element_DomInfo1_min_password_length(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_DomInfo1_password_history_length(tvb, offset, pinfo, tree, di, drep); @@ -3076,15 +3068,13 @@ samr_dissect_struct_DomGeneralInformation(tvbuff_t *tvb _U_, int offset _U_, pac ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DomGeneralInformation); } - + offset = samr_dissect_element_DomGeneralInformation_force_logoff_time(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_DomGeneralInformation_oem_information(tvb, offset, pinfo, tree, di, drep); @@ -3140,15 +3130,13 @@ samr_dissect_struct_DomInfo3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pin ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DomInfo3); } - + offset = samr_dissect_element_DomInfo3_force_logoff_time(tvb, offset, pinfo, tree, di, drep); @@ -3184,15 +3172,13 @@ samr_dissect_struct_DomOEMInformation(tvbuff_t *tvb _U_, int offset _U_, packet_ ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DomOEMInformation); } - + offset = samr_dissect_element_DomOEMInformation_oem_information(tvb, offset, pinfo, tree, di, drep); @@ -3228,15 +3214,13 @@ samr_dissect_struct_DomInfo5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pin ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DomInfo5); } - + offset = samr_dissect_element_DomInfo5_domain_name(tvb, offset, pinfo, tree, di, drep); @@ -3272,15 +3256,13 @@ samr_dissect_struct_DomInfo6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pin ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DomInfo6); } - + offset = samr_dissect_element_DomInfo6_primary(tvb, offset, pinfo, tree, di, drep); @@ -3316,15 +3298,13 @@ samr_dissect_struct_DomInfo7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pin ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DomInfo7); } - + offset = samr_dissect_element_DomInfo7_role(tvb, offset, pinfo, tree, di, drep); @@ -3369,15 +3349,13 @@ samr_dissect_struct_DomInfo8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pin ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DomInfo8); } - + offset = samr_dissect_element_DomInfo8_sequence_num(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_DomInfo8_domain_create_time(tvb, offset, pinfo, tree, di, drep); @@ -3415,15 +3393,13 @@ samr_dissect_struct_DomInfo9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pin ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DomInfo9); } - + offset = samr_dissect_element_DomInfo9_domain_server_state(tvb, offset, pinfo, tree, di, drep); @@ -3486,15 +3462,13 @@ samr_dissect_struct_DomGeneralInformation2(tvbuff_t *tvb _U_, int offset _U_, pa ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DomGeneralInformation2); } - + offset = samr_dissect_element_DomGeneralInformation2_general(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_DomGeneralInformation2_lockout_duration(tvb, offset, pinfo, tree, di, drep); @@ -3554,15 +3528,13 @@ samr_dissect_struct_DomInfo12(tvbuff_t *tvb _U_, int offset _U_, packet_info *pi ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DomInfo12); } - + offset = samr_dissect_element_DomInfo12_lockout_duration(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_DomInfo12_lockout_window(tvb, offset, pinfo, tree, di, drep); @@ -3620,15 +3592,13 @@ samr_dissect_struct_DomInfo13(tvbuff_t *tvb _U_, int offset _U_, packet_info *pi ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DomInfo13); } - + offset = samr_dissect_element_DomInfo13_sequence_num(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_DomInfo13_domain_create_time(tvb, offset, pinfo, tree, di, drep); @@ -3875,15 +3845,13 @@ samr_dissect_struct_Ids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_Ids); } - + offset = samr_dissect_element_Ids_count(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_Ids_ids(tvb, offset, pinfo, tree, di, drep); @@ -4042,15 +4010,13 @@ samr_dissect_struct_GroupInfoAll(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_GroupInfoAll); } - + offset = samr_dissect_element_GroupInfoAll_name(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_GroupInfoAll_attributes(tvb, offset, pinfo, tree, di, drep); @@ -4092,15 +4058,13 @@ samr_dissect_struct_GroupInfoAttributes(tvbuff_t *tvb _U_, int offset _U_, packe ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_GroupInfoAttributes); } - + offset = samr_dissect_element_GroupInfoAttributes_attributes(tvb, offset, pinfo, tree, di, drep); @@ -4136,15 +4100,13 @@ samr_dissect_struct_GroupInfoDescription(tvbuff_t *tvb _U_, int offset _U_, pack ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_GroupInfoDescription); } - + offset = samr_dissect_element_GroupInfoDescription_description(tvb, offset, pinfo, tree, di, drep); @@ -4344,15 +4306,13 @@ samr_dissect_struct_RidTypeArray(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_RidTypeArray); } - + offset = samr_dissect_element_RidTypeArray_count(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_RidTypeArray_rids(tvb, offset, pinfo, tree, di, drep); @@ -4410,15 +4370,13 @@ samr_dissect_struct_AliasInfoAll(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_AliasInfoAll); } - + offset = samr_dissect_element_AliasInfoAll_name(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_AliasInfoAll_num_members(tvb, offset, pinfo, tree, di, drep); @@ -4621,15 +4579,13 @@ samr_dissect_struct_UserInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pi ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo1); } - + offset = samr_dissect_element_UserInfo1_account_name(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_UserInfo1_full_name(tvb, offset, pinfo, tree, di, drep); @@ -4700,15 +4656,13 @@ samr_dissect_struct_UserInfo2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pi ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo2); } - + offset = samr_dissect_element_UserInfo2_comment(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_UserInfo2_unknown(tvb, offset, pinfo, tree, di, drep); @@ -4775,15 +4729,13 @@ samr_dissect_struct_LogonHours(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_LogonHours); } - + offset = samr_dissect_element_LogonHours_units_per_week(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_LogonHours_bits(tvb, offset, pinfo, tree, di, drep); @@ -4974,15 +4926,13 @@ samr_dissect_struct_UserInfo3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pi ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo3); } - + offset = samr_dissect_element_UserInfo3_account_name(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_UserInfo3_full_name(tvb, offset, pinfo, tree, di, drep); @@ -5052,15 +5002,13 @@ samr_dissect_struct_UserInfo4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pi ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo4); } - + offset = samr_dissect_element_UserInfo4_logon_hours(tvb, offset, pinfo, tree, di, drep); @@ -5249,15 +5197,13 @@ samr_dissect_struct_UserInfo5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pi ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo5); } - + offset = samr_dissect_element_UserInfo5_account_name(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_UserInfo5_full_name(tvb, offset, pinfo, tree, di, drep); @@ -5336,15 +5282,13 @@ samr_dissect_struct_UserInfo6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pi ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo6); } - + offset = samr_dissect_element_UserInfo6_account_name(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_UserInfo6_full_name(tvb, offset, pinfo, tree, di, drep); @@ -5382,15 +5326,13 @@ samr_dissect_struct_UserInfo7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pi ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo7); } - + offset = samr_dissect_element_UserInfo7_account_name(tvb, offset, pinfo, tree, di, drep); @@ -5426,15 +5368,13 @@ samr_dissect_struct_UserInfo8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pi ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo8); } - + offset = samr_dissect_element_UserInfo8_full_name(tvb, offset, pinfo, tree, di, drep); @@ -5470,15 +5410,13 @@ samr_dissect_struct_UserInfo9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pi ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo9); } - + offset = samr_dissect_element_UserInfo9_primary_gid(tvb, offset, pinfo, tree, di, drep); @@ -5523,15 +5461,13 @@ samr_dissect_struct_UserInfo10(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo10); } - + offset = samr_dissect_element_UserInfo10_home_directory(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_UserInfo10_home_drive(tvb, offset, pinfo, tree, di, drep); @@ -5569,15 +5505,13 @@ samr_dissect_struct_UserInfo11(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo11); } - + offset = samr_dissect_element_UserInfo11_logon_script(tvb, offset, pinfo, tree, di, drep); @@ -5613,15 +5547,13 @@ samr_dissect_struct_UserInfo12(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo12); } - + offset = samr_dissect_element_UserInfo12_profile_path(tvb, offset, pinfo, tree, di, drep); @@ -5657,15 +5589,13 @@ samr_dissect_struct_UserInfo13(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo13); } - + offset = samr_dissect_element_UserInfo13_description(tvb, offset, pinfo, tree, di, drep); @@ -5701,15 +5631,13 @@ samr_dissect_struct_UserInfo14(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo14); } - + offset = samr_dissect_element_UserInfo14_workstations(tvb, offset, pinfo, tree, di, drep); @@ -5745,15 +5673,13 @@ samr_dissect_struct_UserInfo16(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo16); } - + offset = samr_dissect_element_UserInfo16_acct_flags(tvb, offset, pinfo, tree, di, drep); @@ -5789,15 +5715,13 @@ samr_dissect_struct_UserInfo17(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo17); } - + offset = samr_dissect_element_UserInfo17_acct_expiry(tvb, offset, pinfo, tree, di, drep); @@ -5841,14 +5765,13 @@ samr_dissect_struct_Password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pin proto_tree *tree = NULL; int old_offset; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_Password); } - + offset = samr_dissect_element_Password_hash(tvb, offset, pinfo, tree, di, drep); @@ -5914,14 +5837,13 @@ samr_dissect_struct_UserInfo18(tvbuff_t *tvb _U_, int offset _U_, packet_info *p proto_tree *tree = NULL; int old_offset; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo18); } - + offset = samr_dissect_element_UserInfo18_nt_pwd(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_UserInfo18_lm_pwd(tvb, offset, pinfo, tree, di, drep); @@ -5961,15 +5883,13 @@ samr_dissect_struct_UserInfo20(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo20); } - + offset = samr_dissect_element_UserInfo20_parameters(tvb, offset, pinfo, tree, di, drep); @@ -6619,15 +6539,13 @@ samr_dissect_struct_UserInfo21(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo21); } - + offset = samr_dissect_element_UserInfo21_last_logon(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_UserInfo21_last_logoff(tvb, offset, pinfo, tree, di, drep); @@ -6737,14 +6655,13 @@ samr_dissect_struct_CryptPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info proto_tree *tree = NULL; int old_offset; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_CryptPassword); } - + offset = samr_dissect_element_CryptPassword_data(tvb, offset, pinfo, tree, di, drep); @@ -6785,15 +6702,13 @@ samr_dissect_struct_UserInfo23(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo23); } - + offset = samr_dissect_element_UserInfo23_info(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_UserInfo23_password(tvb, offset, pinfo, tree, di, drep); @@ -6838,14 +6753,13 @@ samr_dissect_struct_UserInfo24(tvbuff_t *tvb _U_, int offset _U_, packet_info *p proto_tree *tree = NULL; int old_offset; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo24); } - + offset = samr_dissect_element_UserInfo24_password(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_UserInfo24_password_expired(tvb, offset, pinfo, tree, di, drep); @@ -6887,14 +6801,13 @@ samr_dissect_struct_CryptPasswordEx(tvbuff_t *tvb _U_, int offset _U_, packet_in proto_tree *tree = NULL; int old_offset; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_CryptPasswordEx); } - + offset = samr_dissect_element_CryptPasswordEx_data(tvb, offset, pinfo, tree, di, drep); @@ -6935,15 +6848,13 @@ samr_dissect_struct_UserInfo25(tvbuff_t *tvb _U_, int offset _U_, packet_info *p ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo25); } - + offset = samr_dissect_element_UserInfo25_info(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_UserInfo25_password(tvb, offset, pinfo, tree, di, drep); @@ -6988,14 +6899,13 @@ samr_dissect_struct_UserInfo26(tvbuff_t *tvb _U_, int offset _U_, packet_info *p proto_tree *tree = NULL; int old_offset; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_UserInfo26); } - + offset = samr_dissect_element_UserInfo26_password(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_UserInfo26_password_expired(tvb, offset, pinfo, tree, di, drep); @@ -7363,15 +7273,13 @@ samr_dissect_struct_RidWithAttribute(tvbuff_t *tvb _U_, int offset _U_, packet_i ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_RidWithAttribute); } - + offset = samr_dissect_element_RidWithAttribute_rid(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_RidWithAttribute_attributes(tvb, offset, pinfo, tree, di, drep); @@ -7434,15 +7342,13 @@ samr_dissect_struct_RidWithAttributeArray(tvbuff_t *tvb _U_, int offset _U_, pac ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_RidWithAttributeArray); } - + offset = samr_dissect_element_RidWithAttributeArray_count(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_RidWithAttributeArray_rids(tvb, offset, pinfo, tree, di, drep); @@ -7525,15 +7431,13 @@ samr_dissect_struct_DispEntryGeneral(tvbuff_t *tvb _U_, int offset _U_, packet_i ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DispEntryGeneral); } - + offset = samr_dissect_element_DispEntryGeneral_idx(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_DispEntryGeneral_rid(tvb, offset, pinfo, tree, di, drep); @@ -7604,15 +7508,13 @@ samr_dissect_struct_DispInfoGeneral(tvbuff_t *tvb _U_, int offset _U_, packet_in ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DispInfoGeneral); } - + offset = samr_dissect_element_DispInfoGeneral_count(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_DispInfoGeneral_entries(tvb, offset, pinfo, tree, di, drep); @@ -7686,15 +7588,13 @@ samr_dissect_struct_DispEntryFull(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DispEntryFull); } - + offset = samr_dissect_element_DispEntryFull_idx(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_DispEntryFull_rid(tvb, offset, pinfo, tree, di, drep); @@ -7763,15 +7663,13 @@ samr_dissect_struct_DispInfoFull(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DispInfoFull); } - + offset = samr_dissect_element_DispInfoFull_count(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_DispInfoFull_entries(tvb, offset, pinfo, tree, di, drep); @@ -7845,15 +7743,13 @@ samr_dissect_struct_DispEntryFullGroup(tvbuff_t *tvb _U_, int offset _U_, packet ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DispEntryFullGroup); } - + offset = samr_dissect_element_DispEntryFullGroup_idx(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_DispEntryFullGroup_rid(tvb, offset, pinfo, tree, di, drep); @@ -7922,15 +7818,13 @@ samr_dissect_struct_DispInfoFullGroups(tvbuff_t *tvb _U_, int offset _U_, packet ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DispInfoFullGroups); } - + offset = samr_dissect_element_DispInfoFullGroups_count(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_DispInfoFullGroups_entries(tvb, offset, pinfo, tree, di, drep); @@ -7977,15 +7871,13 @@ samr_dissect_struct_DispEntryAscii(tvbuff_t *tvb _U_, int offset _U_, packet_inf ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DispEntryAscii); } - + offset = samr_dissect_element_DispEntryAscii_idx(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_DispEntryAscii_account_name(tvb, offset, pinfo, tree, di, drep); @@ -8048,15 +7940,13 @@ samr_dissect_struct_DispInfoAscii(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_DispInfoAscii); } - + offset = samr_dissect_element_DispInfoAscii_count(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_DispInfoAscii_entries(tvb, offset, pinfo, tree, di, drep); @@ -8217,15 +8107,13 @@ samr_dissect_struct_PwInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_PwInfo); } - + offset = samr_dissect_element_PwInfo_min_password_length(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_PwInfo_password_properties(tvb, offset, pinfo, tree, di, drep); @@ -8302,15 +8190,13 @@ samr_dissect_struct_ChangeReject(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_ChangeReject); } - + offset = samr_dissect_element_ChangeReject_reason(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_ChangeReject_unknown1(tvb, offset, pinfo, tree, di, drep); @@ -8359,15 +8245,13 @@ samr_dissect_struct_ConnectInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_ConnectInfo1); } - + offset = samr_dissect_element_ConnectInfo1_client_version(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_ConnectInfo1_unknown2(tvb, offset, pinfo, tree, di, drep); @@ -8604,15 +8488,13 @@ samr_dissect_struct_ValidationBlob(tvbuff_t *tvb _U_, int offset _U_, packet_inf ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_ValidationBlob); } - + offset = samr_dissect_element_ValidationBlob_length(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_ValidationBlob_data(tvb, offset, pinfo, tree, di, drep); @@ -8720,15 +8602,13 @@ samr_dissect_struct_ValidatePasswordInfo(tvbuff_t *tvb _U_, int offset _U_, pack ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_ValidatePasswordInfo); } - + offset = samr_dissect_element_ValidatePasswordInfo_fields_present(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_ValidatePasswordInfo_last_password_change(tvb, offset, pinfo, tree, di, drep); @@ -8785,15 +8665,13 @@ samr_dissect_struct_ValidatePasswordRepCtr(tvbuff_t *tvb _U_, int offset _U_, pa ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_ValidatePasswordRepCtr); } - + offset = samr_dissect_element_ValidatePasswordRepCtr_info(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_ValidatePasswordRepCtr_status(tvb, offset, pinfo, tree, di, drep); @@ -8941,15 +8819,13 @@ samr_dissect_struct_ValidatePasswordReq3(tvbuff_t *tvb _U_, int offset _U_, pack ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_ValidatePasswordReq3); } - + offset = samr_dissect_element_ValidatePasswordReq3_info(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_ValidatePasswordReq3_password(tvb, offset, pinfo, tree, di, drep); @@ -9031,15 +8907,13 @@ samr_dissect_struct_ValidatePasswordReq2(tvbuff_t *tvb _U_, int offset _U_, pack ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_ValidatePasswordReq2); } - + offset = samr_dissect_element_ValidatePasswordReq2_info(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_ValidatePasswordReq2_password(tvb, offset, pinfo, tree, di, drep); @@ -9092,15 +8966,13 @@ samr_dissect_struct_ValidatePasswordReq1(tvbuff_t *tvb _U_, int offset _U_, pack ALIGN_TO_8_BYTES; - ALIGN_TO_8_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_samr_samr_ValidatePasswordReq1); } - + offset = samr_dissect_element_ValidatePasswordReq1_info(tvb, offset, pinfo, tree, di, drep); offset = samr_dissect_element_ValidatePasswordReq1_password_matched(tvb, offset, pinfo, tree, di, drep); diff --git a/epan/dissectors/packet-dcerpc-winreg.c b/epan/dissectors/packet-dcerpc-winreg.c index 4747f4ee3d..b83d259d70 100644 --- a/epan/dissectors/packet-dcerpc-winreg.c +++ b/epan/dissectors/packet-dcerpc-winreg.c @@ -732,15 +732,13 @@ winreg_dissect_struct_String(tvbuff_t *tvb _U_, int offset _U_, packet_info *pin ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_winreg_winreg_String); } - + offset = winreg_dissect_element_String_name_len(tvb, offset, pinfo, tree, di, drep); offset = winreg_dissect_element_String_name_size(tvb, offset, pinfo, tree, di, drep); @@ -798,15 +796,13 @@ winreg_dissect_struct_KeySecurityData(tvbuff_t *tvb _U_, int offset _U_, packet_ ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_winreg_KeySecurityData); } - + offset = winreg_dissect_element_KeySecurityData_data(tvb, offset, pinfo, tree, di, drep); offset = winreg_dissect_element_KeySecurityData_size(tvb, offset, pinfo, tree, di, drep); @@ -864,15 +860,13 @@ winreg_dissect_struct_SecBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pin ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_winreg_winreg_SecBuf); } - + offset = winreg_dissect_element_SecBuf_length(tvb, offset, pinfo, tree, di, drep); offset = winreg_dissect_element_SecBuf_sd(tvb, offset, pinfo, tree, di, drep); @@ -1034,15 +1028,13 @@ winreg_dissect_struct_StringBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info * ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_winreg_winreg_StringBuf); } - + offset = winreg_dissect_element_StringBuf_length(tvb, offset, pinfo, tree, di, drep); offset = winreg_dissect_element_StringBuf_size(tvb, offset, pinfo, tree, di, drep); @@ -1116,15 +1108,13 @@ winreg_dissect_struct_ValNameBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_winreg_winreg_ValNameBuf); } - + offset = winreg_dissect_element_ValNameBuf_length(tvb, offset, pinfo, tree, di, drep); offset = winreg_dissect_element_ValNameBuf_size(tvb, offset, pinfo, tree, di, drep); @@ -1316,15 +1306,13 @@ winreg_dissect_struct_KeySecurityAttribute(tvbuff_t *tvb _U_, int offset _U_, pa ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_winreg_KeySecurityAttribute); } - + offset = winreg_dissect_element_KeySecurityAttribute_data_size(tvb, offset, pinfo, tree, di, drep); offset = winreg_dissect_element_KeySecurityAttribute_sec_data(tvb, offset, pinfo, tree, di, drep); @@ -1399,15 +1387,13 @@ winreg_dissect_struct_QueryMultipleValue(tvbuff_t *tvb _U_, int offset _U_, pack ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_winreg_QueryMultipleValue); } - + offset = winreg_dissect_element_QueryMultipleValue_ve_valuename(tvb, offset, pinfo, tree, di, drep); offset = winreg_dissect_element_QueryMultipleValue_ve_valuelen(tvb, offset, pinfo, tree, di, drep); diff --git a/epan/dissectors/packet-dcerpc-witness.c b/epan/dissectors/packet-dcerpc-witness.c index 82c24f9799..fa8d131d41 100644 --- a/epan/dissectors/packet-dcerpc-witness.c +++ b/epan/dissectors/packet-dcerpc-witness.c @@ -1,6 +1,6 @@ /* DO NOT EDIT This file was automatically generated by Pidl - from pidl/witness.idl and pidl/witness.cnf. + from witness.idl and witness.cnf. Pidl is a perl based IDL compiler for DCE/RPC idl files. It is maintained by the Samba team, not the Wireshark team. @@ -514,8 +514,6 @@ witness_dissect_struct_interfaceInfo(tvbuff_t *tvb _U_, int offset _U_, packet_i ALIGN_TO_4_BYTES; - ALIGN_TO_4_BYTES; - old_offset = offset; if (parent_tree) { @@ -593,8 +591,6 @@ witness_dissect_struct_interfaceList(tvbuff_t *tvb _U_, int offset _U_, packet_i ALIGN_TO_5_BYTES; - ALIGN_TO_5_BYTES; - old_offset = offset; if (parent_tree) { @@ -699,7 +695,6 @@ witness_dissect_struct_ResourceChange(tvbuff_t *tvb _U_, int offset _U_, packet_ gboolean oldalign = di->no_align; int old_offset; - di->no_align = TRUE; old_offset = offset; @@ -830,7 +825,6 @@ witness_dissect_struct_IPaddrInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info gboolean oldalign = di->no_align; int old_offset; - di->no_align = TRUE; old_offset = offset; diff --git a/epan/dissectors/packet-dcerpc-witness.h b/epan/dissectors/packet-dcerpc-witness.h index f2f9e8eed2..eadbda7aca 100644 --- a/epan/dissectors/packet-dcerpc-witness.h +++ b/epan/dissectors/packet-dcerpc-witness.h @@ -1,6 +1,6 @@ /* DO NOT EDIT This file was automatically generated by Pidl - from pidl/witness.idl and pidl/witness.cnf. + from witness.idl and witness.cnf. Pidl is a perl based IDL compiler for DCE/RPC idl files. It is maintained by the Samba team, not the Wireshark team. |