regen pidl all: rm epan/dissectors/pidl/*-stamp; pushd epan/dissectors/pidl/ && make...
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-frsrpc.c
blobf75cac2a3af2ab2eafc37a6611aec382c47db6cc
1 /* DO NOT EDIT
2 This file was automatically generated by Pidl
3 from frsrpc.idl and frsrpc.cnf.
5 Pidl is a perl based IDL compiler for DCE/RPC idl files.
6 It is maintained by the Samba team, not the Wireshark team.
7 Instructions on how to download and install Pidl can be
8 found at https://wiki.wireshark.org/Pidl
9 */
12 #include "config.h"
13 #include <string.h>
14 #include <wsutil/array.h>
15 #include <epan/packet.h>
16 #include <epan/tfs.h>
18 #include "packet-dcerpc.h"
19 #include "packet-dcerpc-nt.h"
20 #include "packet-windows-common.h"
21 #include "packet-dcerpc-frsrpc.h"
22 void proto_register_dcerpc_frsrpc(void);
23 void proto_reg_handoff_dcerpc_frsrpc(void);
25 /* Ett declarations */
26 static int ett_ChunkCtr;
27 static int ett_dcerpc_frsrpc;
28 static int ett_frsrpc_frsrpc_CommPktChunkGuidName;
29 static int ett_frsrpc_frsrpc_CommPktGSVN;
30 static int ett_frsrpc_frsrpc_CommPktCoCmdFlags;
31 static int ett_frsrpc_frsrpc_CommPktCoCmdIFlags;
32 static int ett_frsrpc_frsrpc_CommPktCoCmdContentCmd;
33 static int ett_frsrpc_frsrpc_CommPktChangeOrderCommand;
34 static int ett_frsrpc_frsrpc_CommPktDataExtensionChecksum;
35 static int ett_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout;
36 static int ett_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k;
37 static int ett_frsrpc_frsrpc_CommPktChangeOrderRecordExtension;
38 static int ett_frsrpc_frsrpc_CommPktChunkData;
39 static int ett_frsrpc_frsrpc_CommPktChunk;
40 static int ett_frsrpc_frsrpc_FrsSendCommPktReq;
43 /* Header field declarations */
44 static int hf_CommPktChunk;
45 static int hf_frsrpc_CommPktChangeOrderCommand_file_name;
46 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_ack_version;
47 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_change_order_guid;
48 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_connection_guid;
49 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_content_cmd;
50 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_event_time;
51 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_extension;
52 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_attributes;
53 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_guid;
54 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_name;
55 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_name_length;
56 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_offset;
57 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_size;
58 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_usn;
59 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_version_number;
60 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_flags;
61 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_frs_vsn;
62 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_iflags;
63 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_jrnl_first_usn;
64 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_jrnl_usn;
65 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_location_cmd;
66 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_new_parent_guid;
67 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_new_replica_num;
68 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_not_used;
69 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_old_parent_guid;
70 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_original_replica_num;
71 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_originator_guid;
72 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_padding1;
73 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_padding2;
74 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_padding3;
75 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_padding4;
76 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_partern_ack_sequence_number;
77 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_sequence_number;
78 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare1guid_p1;
79 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare1guid_p2;
80 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare1wcs;
81 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare2bin;
82 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare2guid_p1;
83 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare2ul1;
84 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare2wcs;
85 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare3guid_p2;
86 static int hf_frsrpc_frsrpc_CommPktChangeOrderCommand_status;
87 static int hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_data_checksum;
88 static int hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_data_retry_timeout;
89 static int hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_field_size;
90 static int hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_major;
91 static int hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_not_used;
92 static int hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_offset0;
93 static int hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_offset1;
94 static int hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_offset_count;
95 static int hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_offset_last;
96 static int hf_frsrpc_frsrpc_CommPktChunkData_blob;
97 static int hf_frsrpc_frsrpc_CommPktChunkData_block;
98 static int hf_frsrpc_frsrpc_CommPktChunkData_block_size;
99 static int hf_frsrpc_frsrpc_CommPktChunkData_bop;
100 static int hf_frsrpc_frsrpc_CommPktChunkData_bopend;
101 static int hf_frsrpc_frsrpc_CommPktChunkData_co_ext_win2k;
102 static int hf_frsrpc_frsrpc_CommPktChunkData_co_ext_win2k_;
103 static int hf_frsrpc_frsrpc_CommPktChunkData_co_extension2;
104 static int hf_frsrpc_frsrpc_CommPktChunkData_co_guid;
105 static int hf_frsrpc_frsrpc_CommPktChunkData_co_guid_;
106 static int hf_frsrpc_frsrpc_CommPktChunkData_co_sequence_number;
107 static int hf_frsrpc_frsrpc_CommPktChunkData_command;
108 static int hf_frsrpc_frsrpc_CommPktChunkData_compression_guid;
109 static int hf_frsrpc_frsrpc_CommPktChunkData_connection;
110 static int hf_frsrpc_frsrpc_CommPktChunkData_file_offset;
111 static int hf_frsrpc_frsrpc_CommPktChunkData_file_size;
112 static int hf_frsrpc_frsrpc_CommPktChunkData_from;
113 static int hf_frsrpc_frsrpc_CommPktChunkData_gvsn;
114 static int hf_frsrpc_frsrpc_CommPktChunkData_gvsn_;
115 static int hf_frsrpc_frsrpc_CommPktChunkData_join_guid;
116 static int hf_frsrpc_frsrpc_CommPktChunkData_join_guid_;
117 static int hf_frsrpc_frsrpc_CommPktChunkData_join_time;
118 static int hf_frsrpc_frsrpc_CommPktChunkData_join_time_;
119 static int hf_frsrpc_frsrpc_CommPktChunkData_last_join_time;
120 static int hf_frsrpc_frsrpc_CommPktChunkData_remote_co;
121 static int hf_frsrpc_frsrpc_CommPktChunkData_remote_co_;
122 static int hf_frsrpc_frsrpc_CommPktChunkData_replica;
123 static int hf_frsrpc_frsrpc_CommPktChunkData_replica_version_guid;
124 static int hf_frsrpc_frsrpc_CommPktChunkData_replica_version_guid_;
125 static int hf_frsrpc_frsrpc_CommPktChunkData_to;
126 static int hf_frsrpc_frsrpc_CommPktChunkData_vvector;
127 static int hf_frsrpc_frsrpc_CommPktChunkData_vvector_;
128 static int hf_frsrpc_frsrpc_CommPktChunkGuidName_guid;
129 static int hf_frsrpc_frsrpc_CommPktChunkGuidName_guid_;
130 static int hf_frsrpc_frsrpc_CommPktChunkGuidName_name;
131 static int hf_frsrpc_frsrpc_CommPktChunkGuidName_name_;
132 static int hf_frsrpc_frsrpc_CommPktChunk_data;
133 static int hf_frsrpc_frsrpc_CommPktChunk_data_;
134 static int hf_frsrpc_frsrpc_CommPktChunk_type;
135 static int hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_BASIC_INFO_CHANGE;
136 static int hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_COMPRESSION_CHANGE;
137 static int hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_EXTEND;
138 static int hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_OVERWRITE;
139 static int hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_TRUNCATION;
140 static int hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_EA_CHANGE;
141 static int hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_FILE_CREATE;
142 static int hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_FILE_DELETE;
143 static int hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_EXTEND;
144 static int hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_OVERWRITE;
145 static int hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_TRUNCATION;
146 static int hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NEW_NAME;
147 static int hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_OLD_NAME;
148 static int hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_SECURITY_CHANGE;
149 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_ABORT_CO;
150 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_COMPRESSED_STAGE;
151 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_CONTENT_CMD;
152 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_CONTROL;
153 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_DIRECTED_CO;
154 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_JUST_OID_RESET;
155 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_LOCALCO;
156 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_LOCATION_CMD;
157 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_MORPH_GEN_HEAD;
158 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_MOVEIN_GEN;
159 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_NEW_FILE;
160 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_ONLIST;
161 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_OUT_OF_ORDER;
162 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_RETRY;
163 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_SKIP_ORIG_REC_C;
164 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_SKIP_VV_UPDATE;
165 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_VVJOIN_TO_ORIG;
166 static int hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_VV_ACTIVATED;
167 static int hf_frsrpc_frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_CO_ABORT;
168 static int hf_frsrpc_frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_DIR_ENUM_PENDING;
169 static int hf_frsrpc_frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_VVRETIRE_EXEC;
170 static int hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_data_checksum;
171 static int hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_field_size;
172 static int hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_major;
173 static int hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_offset;
174 static int hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_offset_count;
175 static int hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_offset_last;
176 static int hf_frsrpc_frsrpc_CommPktDataExtensionChecksum_data;
177 static int hf_frsrpc_frsrpc_CommPktDataExtensionChecksum_prefix_size;
178 static int hf_frsrpc_frsrpc_CommPktDataExtensionChecksum_prefix_type;
179 static int hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_count;
180 static int hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_first_try_time;
181 static int hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_not_used;
182 static int hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_prefix_size;
183 static int hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_prefix_type;
184 static int hf_frsrpc_frsrpc_CommPktGSVN_guid;
185 static int hf_frsrpc_frsrpc_CommPktGSVN_vsn;
186 static int hf_frsrpc_frsrpc_FrsSendCommPktReq_cs_id;
187 static int hf_frsrpc_frsrpc_FrsSendCommPktReq_ctr;
188 static int hf_frsrpc_frsrpc_FrsSendCommPktReq_ctr_;
189 static int hf_frsrpc_frsrpc_FrsSendCommPktReq_data_handle;
190 static int hf_frsrpc_frsrpc_FrsSendCommPktReq_data_name;
191 static int hf_frsrpc_frsrpc_FrsSendCommPktReq_major;
192 static int hf_frsrpc_frsrpc_FrsSendCommPktReq_memory_len;
193 static int hf_frsrpc_frsrpc_FrsSendCommPktReq_minor;
194 static int hf_frsrpc_frsrpc_FrsSendCommPktReq_pkt_len;
195 static int hf_frsrpc_frsrpc_FrsSendCommPktReq_upk_len;
196 static int hf_frsrpc_frsrpc_FrsSendCommPkt_req;
197 static int hf_frsrpc_frsrpc_FrsStartPromotionParent___ndr_guid_size;
198 static int hf_frsrpc_frsrpc_FrsStartPromotionParent_connection_guid;
199 static int hf_frsrpc_frsrpc_FrsStartPromotionParent_connection_guid_;
200 static int hf_frsrpc_frsrpc_FrsStartPromotionParent_connection_name;
201 static int hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_account;
202 static int hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_guid;
203 static int hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_guid_;
204 static int hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_password;
205 static int hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_auth_level;
206 static int hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_guid;
207 static int hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_guid_;
208 static int hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_name;
209 static int hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_princ_name;
210 static int hf_frsrpc_frsrpc_FrsStartPromotionParent_replica_set_name;
211 static int hf_frsrpc_frsrpc_FrsStartPromotionParent_replica_set_type;
212 static int hf_frsrpc_frsrpc_FrsVerifyPromotionParent___ndr_guid_size;
213 static int hf_frsrpc_frsrpc_FrsVerifyPromotionParent_parent_account;
214 static int hf_frsrpc_frsrpc_FrsVerifyPromotionParent_parent_password;
215 static int hf_frsrpc_frsrpc_FrsVerifyPromotionParent_partner_auth_level;
216 static int hf_frsrpc_frsrpc_FrsVerifyPromotionParent_replica_set_name;
217 static int hf_frsrpc_frsrpc_FrsVerifyPromotionParent_replica_set_type;
218 static int hf_frsrpc_opnum;
219 static int hf_frsrpc_werror;
221 static int proto_dcerpc_frsrpc;
222 /* Version information */
225 static e_guid_t uuid_dcerpc_frsrpc = {
226 0xf5cc59b4, 0x4264, 0x101a,
227 { 0x8c, 0x59, 0x08, 0x00, 0x2b, 0x2f, 0x84, 0x26 }
229 static uint16_t ver_dcerpc_frsrpc = 1;
231 static int frsrpc_dissect_element_CommPktChunkGuidName_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
232 static int frsrpc_dissect_element_CommPktChunkGuidName_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
233 static int frsrpc_dissect_element_CommPktChunkGuidName_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
234 static int frsrpc_dissect_element_CommPktChunkGuidName_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
235 static int frsrpc_dissect_element_CommPktGSVN_vsn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
236 static int frsrpc_dissect_element_CommPktGSVN_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
237 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_ABORT_CO_tfs = {
238 "FRSRPC_CO_FLAG_ABORT_CO is SET",
239 "FRSRPC_CO_FLAG_ABORT_CO is NOT SET",
241 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_VV_ACTIVATED_tfs = {
242 "FRSRPC_CO_FLAG_VV_ACTIVATED is SET",
243 "FRSRPC_CO_FLAG_VV_ACTIVATED is NOT SET",
245 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_CONTENT_CMD_tfs = {
246 "FRSRPC_CO_FLAG_CONTENT_CMD is SET",
247 "FRSRPC_CO_FLAG_CONTENT_CMD is NOT SET",
249 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_LOCATION_CMD_tfs = {
250 "FRSRPC_CO_FLAG_LOCATION_CMD is SET",
251 "FRSRPC_CO_FLAG_LOCATION_CMD is NOT SET",
253 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_ONLIST_tfs = {
254 "FRSRPC_CO_FLAG_ONLIST is SET",
255 "FRSRPC_CO_FLAG_ONLIST is NOT SET",
257 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_LOCALCO_tfs = {
258 "FRSRPC_CO_FLAG_LOCALCO is SET",
259 "FRSRPC_CO_FLAG_LOCALCO is NOT SET",
261 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_RETRY_tfs = {
262 "FRSRPC_CO_FLAG_RETRY is SET",
263 "FRSRPC_CO_FLAG_RETRY is NOT SET",
265 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_OUT_OF_ORDER_tfs = {
266 "FRSRPC_CO_FLAG_OUT_OF_ORDER is SET",
267 "FRSRPC_CO_FLAG_OUT_OF_ORDER is NOT SET",
269 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_NEW_FILE_tfs = {
270 "FRSRPC_CO_FLAG_NEW_FILE is SET",
271 "FRSRPC_CO_FLAG_NEW_FILE is NOT SET",
273 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_CONTROL_tfs = {
274 "FRSRPC_CO_FLAG_CONTROL is SET",
275 "FRSRPC_CO_FLAG_CONTROL is NOT SET",
277 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_DIRECTED_CO_tfs = {
278 "FRSRPC_CO_FLAG_DIRECTED_CO is SET",
279 "FRSRPC_CO_FLAG_DIRECTED_CO is NOT SET",
281 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_VVJOIN_TO_ORIG_tfs = {
282 "FRSRPC_CO_FLAG_VVJOIN_TO_ORIG is SET",
283 "FRSRPC_CO_FLAG_VVJOIN_TO_ORIG is NOT SET",
285 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_SKIP_ORIG_REC_C_tfs = {
286 "FRSRPC_CO_FLAG_SKIP_ORIG_REC_C is SET",
287 "FRSRPC_CO_FLAG_SKIP_ORIG_REC_C is NOT SET",
289 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_MOVEIN_GEN_tfs = {
290 "FRSRPC_CO_FLAG_MOVEIN_GEN is SET",
291 "FRSRPC_CO_FLAG_MOVEIN_GEN is NOT SET",
293 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_MORPH_GEN_HEAD_tfs = {
294 "FRSRPC_CO_FLAG_MORPH_GEN_HEAD is SET",
295 "FRSRPC_CO_FLAG_MORPH_GEN_HEAD is NOT SET",
297 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_JUST_OID_RESET_tfs = {
298 "FRSRPC_CO_FLAG_JUST_OID_RESET is SET",
299 "FRSRPC_CO_FLAG_JUST_OID_RESET is NOT SET",
301 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_COMPRESSED_STAGE_tfs = {
302 "FRSRPC_CO_FLAG_COMPRESSED_STAGE is SET",
303 "FRSRPC_CO_FLAG_COMPRESSED_STAGE is NOT SET",
305 static const true_false_string frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_SKIP_VV_UPDATE_tfs = {
306 "FRSRPC_CO_FLAG_SKIP_VV_UPDATE is SET",
307 "FRSRPC_CO_FLAG_SKIP_VV_UPDATE is NOT SET",
309 static const true_false_string frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_VVRETIRE_EXEC_tfs = {
310 "FRSRPC_CO_IFLAG_VVRETIRE_EXEC is SET",
311 "FRSRPC_CO_IFLAG_VVRETIRE_EXEC is NOT SET",
313 static const true_false_string frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_CO_ABORT_tfs = {
314 "FRSRPC_CO_IFLAG_CO_ABORT is SET",
315 "FRSRPC_CO_IFLAG_CO_ABORT is NOT SET",
317 static const true_false_string frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_DIR_ENUM_PENDING_tfs = {
318 "FRSRPC_CO_IFLAG_DIR_ENUM_PENDING is SET",
319 "FRSRPC_CO_IFLAG_DIR_ENUM_PENDING is NOT SET",
321 const value_string frsrpc_frsrpc_CommPktCoCmdStatus_vals[] = {
322 { FRSRPC_CO_STATUS_CO_ENTERED_LOG, "FRSRPC_CO_STATUS_CO_ENTERED_LOG" },
323 { FRSRPC_CO_STATUS_ALLOC_STAGING_LOCAL_CO, "FRSRPC_CO_STATUS_ALLOC_STAGING_LOCAL_CO" },
324 { FRSRPC_CO_STATUS_LOCAL_CO_STAGING_STARTED, "FRSRPC_CO_STATUS_LOCAL_CO_STAGING_STARTED" },
325 { FRSRPC_CO_STATUS_LOCAL_CO_STAGING_COMPLETED, "FRSRPC_CO_STATUS_LOCAL_CO_STAGING_COMPLETED" },
326 { FRSRPC_CO_STATUS_WAIT_RETRY_LOCAL_CO_STAGING, "FRSRPC_CO_STATUS_WAIT_RETRY_LOCAL_CO_STAGING" },
327 { FRSRPC_CO_STATUS_ALLOC_STAGING_REMOTE_CO, "FRSRPC_CO_STATUS_ALLOC_STAGING_REMOTE_CO" },
328 { FRSRPC_CO_STATUS_REMOTE_CO_STAGING_STARTED, "FRSRPC_CO_STATUS_REMOTE_CO_STAGING_STARTED" },
329 { FRSRPC_CO_STATUS_REMOTE_CO_STAGING_COMPLETED, "FRSRPC_CO_STATUS_REMOTE_CO_STAGING_COMPLETED" },
330 { FRSRPC_CO_STATUS_WAIT_RETRY_REMOTE_CO_STAGING, "FRSRPC_CO_STATUS_WAIT_RETRY_REMOTE_CO_STAGING" },
331 { FRSRPC_CO_STATUS_FILE_INSTALL_REQUESTED, "FRSRPC_CO_STATUS_FILE_INSTALL_REQUESTED" },
332 { FRSRPC_CO_STATUS_FILE_INSTALL_STARTED, "FRSRPC_CO_STATUS_FILE_INSTALL_STARTED" },
333 { FRSRPC_CO_STATUS_FILE_INSTALL_COMPLETED, "FRSRPC_CO_STATUS_FILE_INSTALL_COMPLETED" },
334 { FRSRPC_CO_STATUS_FILE_INSTALL_WAIT_RETRY, "FRSRPC_CO_STATUS_FILE_INSTALL_WAIT_RETRY" },
335 { FRSRPC_CO_STATUS_FILE_INSTALL_RETRYING, "FRSRPC_CO_STATUS_FILE_INSTALL_RETRYING" },
336 { FRSRPC_CO_STATUS_FILE_INSTALL_RENAME_RETRYING, "FRSRPC_CO_STATUS_FILE_INSTALL_RENAME_RETRYING" },
337 { FRSRPC_CO_STATUS_FILE_INSTALL_DELETE_RETRYING, "FRSRPC_CO_STATUS_FILE_INSTALL_DELETE_RETRYING" },
338 { FRSRPC_CO_STATUS_CO_RECYCLED_FOR_ENUM, "FRSRPC_CO_STATUS_CO_RECYCLED_FOR_ENUM" },
339 { FRSRPC_CO_STATUS_REQUEST_OUTBOUND_PROPAGATION, "FRSRPC_CO_STATUS_REQUEST_OUTBOUND_PROPAGATION" },
340 { FRSRPC_CO_STATUS_REQUEST_ACCEPTED_OUTBOUND_LOG, "FRSRPC_CO_STATUS_REQUEST_ACCEPTED_OUTBOUND_LOG" },
341 { FRSRPC_CO_STATUS_DB_STATE_UPDATE_STARTED, "FRSRPC_CO_STATUS_DB_STATE_UPDATE_STARTED" },
342 { FRSRPC_CO_STATUS_DB_STATE_UPDATE_COMPLETED, "FRSRPC_CO_STATUS_DB_STATE_UPDATE_COMPLETED" },
343 { FRSRPC_CO_STATUS_CO_ABORTED, "FRSRPC_CO_STATUS_CO_ABORTED" },
344 { 0, NULL }
346 static const true_false_string frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_OVERWRITE_tfs = {
347 "FRSRPC_CONTENT_REASON_DATA_OVERWRITE is SET",
348 "FRSRPC_CONTENT_REASON_DATA_OVERWRITE is NOT SET",
350 static const true_false_string frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_EXTEND_tfs = {
351 "FRSRPC_CONTENT_REASON_DATA_EXTEND is SET",
352 "FRSRPC_CONTENT_REASON_DATA_EXTEND is NOT SET",
354 static const true_false_string frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_TRUNCATION_tfs = {
355 "FRSRPC_CONTENT_REASON_DATA_TRUNCATION is SET",
356 "FRSRPC_CONTENT_REASON_DATA_TRUNCATION is NOT SET",
358 static const true_false_string frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_OVERWRITE_tfs = {
359 "FRSRPC_CONTENT_REASON_NAMED_DATA_OVERWRITE is SET",
360 "FRSRPC_CONTENT_REASON_NAMED_DATA_OVERWRITE is NOT SET",
362 static const true_false_string frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_EXTEND_tfs = {
363 "FRSRPC_CONTENT_REASON_NAMED_DATA_EXTEND is SET",
364 "FRSRPC_CONTENT_REASON_NAMED_DATA_EXTEND is NOT SET",
366 static const true_false_string frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_TRUNCATION_tfs = {
367 "FRSRPC_CONTENT_REASON_NAMED_DATA_TRUNCATION is SET",
368 "FRSRPC_CONTENT_REASON_NAMED_DATA_TRUNCATION is NOT SET",
370 static const true_false_string frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_FILE_CREATE_tfs = {
371 "FRSRPC_CONTENT_REASON_FILE_CREATE is SET",
372 "FRSRPC_CONTENT_REASON_FILE_CREATE is NOT SET",
374 static const true_false_string frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_FILE_DELETE_tfs = {
375 "FRSRPC_CONTENT_REASON_FILE_DELETE is SET",
376 "FRSRPC_CONTENT_REASON_FILE_DELETE is NOT SET",
378 static const true_false_string frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_EA_CHANGE_tfs = {
379 "FRSRPC_CONTENT_REASON_EA_CHANGE is SET",
380 "FRSRPC_CONTENT_REASON_EA_CHANGE is NOT SET",
382 static const true_false_string frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_SECURITY_CHANGE_tfs = {
383 "FRSRPC_CONTENT_REASON_SECURITY_CHANGE is SET",
384 "FRSRPC_CONTENT_REASON_SECURITY_CHANGE is NOT SET",
386 static const true_false_string frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_OLD_NAME_tfs = {
387 "FRSRPC_CONTENT_REASON_OLD_NAME is SET",
388 "FRSRPC_CONTENT_REASON_OLD_NAME is NOT SET",
390 static const true_false_string frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NEW_NAME_tfs = {
391 "FRSRPC_CONTENT_REASON_NEW_NAME is SET",
392 "FRSRPC_CONTENT_REASON_NEW_NAME is NOT SET",
394 static const true_false_string frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_BASIC_INFO_CHANGE_tfs = {
395 "FRSRPC_CONTENT_REASON_BASIC_INFO_CHANGE is SET",
396 "FRSRPC_CONTENT_REASON_BASIC_INFO_CHANGE is NOT SET",
398 static const true_false_string frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_COMPRESSION_CHANGE_tfs = {
399 "FRSRPC_CONTENT_REASON_COMPRESSION_CHANGE is SET",
400 "FRSRPC_CONTENT_REASON_COMPRESSION_CHANGE is NOT SET",
402 const value_string frsrpc_frsrpc_CommPktCoCmdLocationCmd_vals[] = {
403 { FRSRPC_CO_LOCATION_FILE_CREATE, "FRSRPC_CO_LOCATION_FILE_CREATE" },
404 { FRSRPC_CO_LOCATION_DIR_CREATE, "FRSRPC_CO_LOCATION_DIR_CREATE" },
405 { FRSRPC_CO_LOCATION_FILE_DELETE, "FRSRPC_CO_LOCATION_FILE_DELETE" },
406 { FRSRPC_CO_LOCATION_DIR_DELETE, "FRSRPC_CO_LOCATION_DIR_DELETE" },
407 { FRSRPC_CO_LOCATION_FILE_MOVEIN, "FRSRPC_CO_LOCATION_FILE_MOVEIN" },
408 { FRSRPC_CO_LOCATION_DIR_MOVEIN, "FRSRPC_CO_LOCATION_DIR_MOVEIN" },
409 { FRSRPC_CO_LOCATION_FILE_MOVEIN2, "FRSRPC_CO_LOCATION_FILE_MOVEIN2" },
410 { FRSRPC_CO_LOCATION_DIR_MOVEIN2, "FRSRPC_CO_LOCATION_DIR_MOVEIN2" },
411 { FRSRPC_CO_LOCATION_FILE_MOVEOUT, "FRSRPC_CO_LOCATION_FILE_MOVEOUT" },
412 { FRSRPC_CO_LOCATION_DIR_MOVEOUT, "FRSRPC_CO_LOCATION_DIR_MOVEOUT" },
413 { FRSRPC_CO_LOCATION_FILE_MOVERS, "FRSRPC_CO_LOCATION_FILE_MOVERS" },
414 { FRSRPC_CO_LOCATION_DIR_MOVERS, "FRSRPC_CO_LOCATION_DIR_MOVERS" },
415 { FRSRPC_CO_LOCATION_FILE_MOVEDIR, "FRSRPC_CO_LOCATION_FILE_MOVEDIR" },
416 { FRSRPC_CO_LOCATION_DIR_MOVEDIR, "FRSRPC_CO_LOCATION_DIR_MOVEDIR" },
417 { FRSRPC_CO_LOCATION_FILE_NO_CMD, "FRSRPC_CO_LOCATION_FILE_NO_CMD" },
418 { FRSRPC_CO_LOCATION_DIR_NO_CMD, "FRSRPC_CO_LOCATION_DIR_NO_CMD" },
419 { 0, NULL }
421 static int frsrpc_dissect_element_CommPktChangeOrderCommand_sequence_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
422 static int frsrpc_dissect_element_CommPktChangeOrderCommand_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
423 static int frsrpc_dissect_element_CommPktChangeOrderCommand_iflags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
424 static int frsrpc_dissect_element_CommPktChangeOrderCommand_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
425 static int frsrpc_dissect_element_CommPktChangeOrderCommand_content_cmd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
426 static int frsrpc_dissect_element_CommPktChangeOrderCommand_location_cmd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
427 static int frsrpc_dissect_element_CommPktChangeOrderCommand_file_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
428 static int frsrpc_dissect_element_CommPktChangeOrderCommand_file_version_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
429 static int frsrpc_dissect_element_CommPktChangeOrderCommand_partern_ack_sequence_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
430 static int frsrpc_dissect_element_CommPktChangeOrderCommand_not_used(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
431 static int frsrpc_dissect_element_CommPktChangeOrderCommand_file_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
432 static int frsrpc_dissect_element_CommPktChangeOrderCommand_file_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
433 static int frsrpc_dissect_element_CommPktChangeOrderCommand_frs_vsn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
434 static int frsrpc_dissect_element_CommPktChangeOrderCommand_file_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
435 static int frsrpc_dissect_element_CommPktChangeOrderCommand_jrnl_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
436 static int frsrpc_dissect_element_CommPktChangeOrderCommand_jrnl_first_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
437 static int frsrpc_dissect_element_CommPktChangeOrderCommand_original_replica_num(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
438 static int frsrpc_dissect_element_CommPktChangeOrderCommand_new_replica_num(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
439 static int frsrpc_dissect_element_CommPktChangeOrderCommand_change_order_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
440 static int frsrpc_dissect_element_CommPktChangeOrderCommand_originator_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
441 static int frsrpc_dissect_element_CommPktChangeOrderCommand_file_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
442 static int frsrpc_dissect_element_CommPktChangeOrderCommand_old_parent_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
443 static int frsrpc_dissect_element_CommPktChangeOrderCommand_new_parent_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
444 static int frsrpc_dissect_element_CommPktChangeOrderCommand_connection_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
445 static int frsrpc_dissect_element_CommPktChangeOrderCommand_ack_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
446 static int frsrpc_dissect_element_CommPktChangeOrderCommand_spare2ul1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
447 static int frsrpc_dissect_element_CommPktChangeOrderCommand_spare1guid_p1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
448 static int frsrpc_dissect_element_CommPktChangeOrderCommand_spare1guid_p2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
449 static int frsrpc_dissect_element_CommPktChangeOrderCommand_spare2guid_p1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
450 static int frsrpc_dissect_element_CommPktChangeOrderCommand_spare3guid_p2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
451 static int frsrpc_dissect_element_CommPktChangeOrderCommand_spare1wcs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
452 static int frsrpc_dissect_element_CommPktChangeOrderCommand_spare2wcs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
453 static int frsrpc_dissect_element_CommPktChangeOrderCommand_extension(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
454 static int frsrpc_dissect_element_CommPktChangeOrderCommand_spare2bin(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
455 static int frsrpc_dissect_element_CommPktChangeOrderCommand_event_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
456 static int frsrpc_dissect_element_CommPktChangeOrderCommand_file_name_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
457 static int frsrpc_dissect_element_CommPktChangeOrderCommand_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
458 static int frsrpc_dissect_element_CommPktChangeOrderCommand_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
459 static int frsrpc_dissect_element_CommPktChangeOrderCommand_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
460 static int frsrpc_dissect_element_CommPktChangeOrderCommand_padding4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
461 const value_string frsrpc_frsrpc_CommPktDataExtensionType_vals[] = {
462 { FRSRPC_DATA_EXTENSION_TERMINATOR, "FRSRPC_DATA_EXTENSION_TERMINATOR" },
463 { FRSRPC_DATA_EXTENSION_MD5_CHECKSUM, "FRSRPC_DATA_EXTENSION_MD5_CHECKSUM" },
464 { FRSRPC_DATA_EXTENSION_RETRY_TIMEOUT, "FRSRPC_DATA_EXTENSION_RETRY_TIMEOUT" },
465 { 0, NULL }
467 static int frsrpc_dissect_element_CommPktDataExtensionChecksum_prefix_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
468 static int frsrpc_dissect_element_CommPktDataExtensionChecksum_prefix_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
469 static int frsrpc_dissect_element_CommPktDataExtensionChecksum_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
470 static int frsrpc_dissect_element_CommPktDataExtensionChecksum_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
471 static int frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_prefix_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
472 static int frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_prefix_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
473 static int frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
474 static int frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_not_used(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
475 static int frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_first_try_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
476 const value_string frsrpc_frsrpc_CommPktCoRecordExtensionMajor_vals[] = {
477 { FRSRPC_CO_RECORD_EXTENSION_VERSION_WIN2K, "FRSRPC_CO_RECORD_EXTENSION_VERSION_WIN2K" },
478 { FRSRPC_CO_RECORD_EXTENSION_VERSION_1, "FRSRPC_CO_RECORD_EXTENSION_VERSION_1" },
479 { 0, NULL }
481 static int frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_field_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
482 static int frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
483 static int frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_offset_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
484 static int frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
485 static int frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_offset_last(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
486 static int frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_data_checksum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
487 static int frsrpc_dissect_element_CommPktChangeOrderRecordExtension_field_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
488 static int frsrpc_dissect_element_CommPktChangeOrderRecordExtension_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
489 static int frsrpc_dissect_element_CommPktChangeOrderRecordExtension_offset_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
490 static int frsrpc_dissect_element_CommPktChangeOrderRecordExtension_offset0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
491 static int frsrpc_dissect_element_CommPktChangeOrderRecordExtension_offset1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
492 static int frsrpc_dissect_element_CommPktChangeOrderRecordExtension_offset_last(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
493 static int frsrpc_dissect_element_CommPktChangeOrderRecordExtension_not_used(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
494 static int frsrpc_dissect_element_CommPktChangeOrderRecordExtension_data_checksum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
495 static int frsrpc_dissect_element_CommPktChangeOrderRecordExtension_data_retry_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
496 const value_string frsrpc_frsrpc_CommPktCommand_vals[] = {
497 { FRSRPC_COMMAND_REMOTE_CO, "FRSRPC_COMMAND_REMOTE_CO" },
498 { FRSRPC_COMMAND_RECEIVING_STATE, "FRSRPC_COMMAND_RECEIVING_STATE" },
499 { FRSRPC_COMMAND_REMOTE_CO_DONE, "FRSRPC_COMMAND_REMOTE_CO_DONE" },
500 { FRSRPC_COMMAND_ABORT_FETCH, "FRSRPC_COMMAND_ABORT_FETCH" },
501 { FRSRPC_COMMAND_RETRY_FETCH, "FRSRPC_COMMAND_RETRY_FETCH" },
502 { FRSRPC_COMMAND_NEED_JOIN, "FRSRPC_COMMAND_NEED_JOIN" },
503 { FRSRPC_COMMAND_START_JOIN, "FRSRPC_COMMAND_START_JOIN" },
504 { FRSRPC_COMMAND_JOINING, "FRSRPC_COMMAND_JOINING" },
505 { FRSRPC_COMMAND_JOINED, "FRSRPC_COMMAND_JOINED" },
506 { FRSRPC_COMMAND_UNJOIN_REMOTE, "FRSRPC_COMMAND_UNJOIN_REMOTE" },
507 { FRSRPC_COMMAND_WJOIN_DONE, "FRSRPC_COMMAND_WJOIN_DONE" },
508 { FRSRPC_COMMAND_SEND_STAGE, "FRSRPC_COMMAND_SEND_STAGE" },
509 { 0, NULL }
511 const value_string frsrpc_frsrpc_CommPktChunkType_vals[] = {
512 { FRSRPC_COMM_PKT_CHUNK_BOP, "FRSRPC_COMM_PKT_CHUNK_BOP" },
513 { FRSRPC_COMM_PKT_CHUNK_COMMAND, "FRSRPC_COMM_PKT_CHUNK_COMMAND" },
514 { FRSRPC_COMM_PKT_CHUNK_TO, "FRSRPC_COMM_PKT_CHUNK_TO" },
515 { FRSRPC_COMM_PKT_CHUNK_FROM, "FRSRPC_COMM_PKT_CHUNK_FROM" },
516 { FRSRPC_COMM_PKT_CHUNK_REPLICA, "FRSRPC_COMM_PKT_CHUNK_REPLICA" },
517 { FRSRPC_COMM_PKT_CHUNK_CONNECTION, "FRSRPC_COMM_PKT_CHUNK_CONNECTION" },
518 { FRSRPC_COMM_PKT_CHUNK_JOIN_GUID, "FRSRPC_COMM_PKT_CHUNK_JOIN_GUID" },
519 { FRSRPC_COMM_PKT_CHUNK_LAST_JOIN_TIME, "FRSRPC_COMM_PKT_CHUNK_LAST_JOIN_TIME" },
520 { FRSRPC_COMM_PKT_CHUNK_VVECTOR, "FRSRPC_COMM_PKT_CHUNK_VVECTOR" },
521 { FRSRPC_COMM_PKT_CHUNK_JOIN_TIME, "FRSRPC_COMM_PKT_CHUNK_JOIN_TIME" },
522 { FRSRPC_COMM_PKT_CHUNK_REPLICA_VERSION_GUID, "FRSRPC_COMM_PKT_CHUNK_REPLICA_VERSION_GUID" },
523 { FRSRPC_COMM_PKT_CHUNK_COMPRESSION_GUID, "FRSRPC_COMM_PKT_CHUNK_COMPRESSION_GUID" },
524 { FRSRPC_COMM_PKT_CHUNK_BLOCK, "FRSRPC_COMM_PKT_CHUNK_BLOCK" },
525 { FRSRPC_COMM_PKT_CHUNK_BLOCK_SIZE, "FRSRPC_COMM_PKT_CHUNK_BLOCK_SIZE" },
526 { FRSRPC_COMM_PKT_CHUNK_FILE_SIZE, "FRSRPC_COMM_PKT_CHUNK_FILE_SIZE" },
527 { FRSRPC_COMM_PKT_CHUNK_FILE_OFFSET, "FRSRPC_COMM_PKT_CHUNK_FILE_OFFSET" },
528 { FRSRPC_COMM_PKT_CHUNK_GVSN, "FRSRPC_COMM_PKT_CHUNK_GVSN" },
529 { FRSRPC_COMM_PKT_CHUNK_CO_GUID, "FRSRPC_COMM_PKT_CHUNK_CO_GUID" },
530 { FRSRPC_COMM_PKT_CHUNK_CO_SEQUENCE_NUMBER, "FRSRPC_COMM_PKT_CHUNK_CO_SEQUENCE_NUMBER" },
531 { FRSRPC_COMM_PKT_CHUNK_REMOTE_CO, "FRSRPC_COMM_PKT_CHUNK_REMOTE_CO" },
532 { FRSRPC_COMM_PKT_CHUNK_CO_EXT_WIN2K, "FRSRPC_COMM_PKT_CHUNK_CO_EXT_WIN2K" },
533 { FRSRPC_COMM_PKT_CHUNK_CO_EXTENSION_2, "FRSRPC_COMM_PKT_CHUNK_CO_EXTENSION_2" },
534 { FRSRPC_COMM_PKT_CHUNK_EOP, "FRSRPC_COMM_PKT_CHUNK_EOP" },
535 { 0, NULL }
537 static int frsrpc_dissect_element_CommPktChunkData_blob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
538 static int frsrpc_dissect_element_CommPktChunkData_bop(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
539 static int frsrpc_dissect_element_CommPktChunkData_command(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
540 static int frsrpc_dissect_element_CommPktChunkData_to(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
541 static int frsrpc_dissect_element_CommPktChunkData_from(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
542 static int frsrpc_dissect_element_CommPktChunkData_replica(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
543 static int frsrpc_dissect_element_CommPktChunkData_connection(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
544 static int frsrpc_dissect_element_CommPktChunkData_join_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
545 static int frsrpc_dissect_element_CommPktChunkData_join_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
546 static int frsrpc_dissect_element_CommPktChunkData_last_join_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
547 static int frsrpc_dissect_element_CommPktChunkData_vvector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
548 static int frsrpc_dissect_element_CommPktChunkData_vvector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
549 static int frsrpc_dissect_element_CommPktChunkData_join_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
550 static int frsrpc_dissect_element_CommPktChunkData_join_time_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
551 static int frsrpc_dissect_element_CommPktChunkData_replica_version_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
552 static int frsrpc_dissect_element_CommPktChunkData_replica_version_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
553 static int frsrpc_dissect_element_CommPktChunkData_compression_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
554 static int frsrpc_dissect_element_CommPktChunkData_block(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
555 static int frsrpc_dissect_element_CommPktChunkData_block_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
556 static int frsrpc_dissect_element_CommPktChunkData_file_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
557 static int frsrpc_dissect_element_CommPktChunkData_file_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
558 static int frsrpc_dissect_element_CommPktChunkData_gvsn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
559 static int frsrpc_dissect_element_CommPktChunkData_gvsn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
560 static int frsrpc_dissect_element_CommPktChunkData_co_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
561 static int frsrpc_dissect_element_CommPktChunkData_co_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
562 static int frsrpc_dissect_element_CommPktChunkData_co_sequence_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
563 static int frsrpc_dissect_element_CommPktChunkData_remote_co(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
564 static int frsrpc_dissect_element_CommPktChunkData_remote_co_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
565 static int frsrpc_dissect_element_CommPktChunkData_co_ext_win2k(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
566 static int frsrpc_dissect_element_CommPktChunkData_co_ext_win2k_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
567 static int frsrpc_dissect_element_CommPktChunkData_co_extension2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
568 static int frsrpc_dissect_element_CommPktChunkData_bopend(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
569 static int frsrpc_dissect_element_CommPktChunk_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *type);
570 static int frsrpc_dissect_element_CommPktChunk_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t type);
571 static int frsrpc_dissect_element_CommPktChunk_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t type);
572 const value_string frsrpc_frsrpc_CommPktMajor_vals[] = {
573 { FRSRPC_COMM_PKT_MAJOR_0, "FRSRPC_COMM_PKT_MAJOR_0" },
574 { 0, NULL }
576 const value_string frsrpc_frsrpc_CommPktMinor_vals[] = {
577 { FRSRPC_COMM_PKT_MINOR_0, "FRSRPC_COMM_PKT_MINOR_0" },
578 { FRSRPC_COMM_PKT_MINOR_1, "FRSRPC_COMM_PKT_MINOR_1" },
579 { FRSRPC_COMM_PKT_MINOR_2, "FRSRPC_COMM_PKT_MINOR_2" },
580 { FRSRPC_COMM_PKT_MINOR_3, "FRSRPC_COMM_PKT_MINOR_3" },
581 { FRSRPC_COMM_PKT_MINOR_4, "FRSRPC_COMM_PKT_MINOR_4" },
582 { FRSRPC_COMM_PKT_MINOR_5, "FRSRPC_COMM_PKT_MINOR_5" },
583 { FRSRPC_COMM_PKT_MINOR_6, "FRSRPC_COMM_PKT_MINOR_6" },
584 { FRSRPC_COMM_PKT_MINOR_7, "FRSRPC_COMM_PKT_MINOR_7" },
585 { FRSRPC_COMM_PKT_MINOR_8, "FRSRPC_COMM_PKT_MINOR_8" },
586 { FRSRPC_COMM_PKT_MINOR_9, "FRSRPC_COMM_PKT_MINOR_9" },
587 { 0, NULL }
589 static int frsrpc_dissect_element_FrsSendCommPktReq_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
590 static int frsrpc_dissect_element_FrsSendCommPktReq_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
591 static int frsrpc_dissect_element_FrsSendCommPktReq_cs_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
592 static int frsrpc_dissect_element_FrsSendCommPktReq_memory_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
593 static int frsrpc_dissect_element_FrsSendCommPktReq_pkt_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
594 static int frsrpc_dissect_element_FrsSendCommPktReq_upk_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
595 static int frsrpc_dissect_element_FrsSendCommPktReq_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
596 static int frsrpc_dissect_element_FrsSendCommPktReq_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
597 static int frsrpc_dissect_element_FrsSendCommPktReq_ctr__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
598 static int frsrpc_dissect_element_FrsSendCommPktReq_data_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
599 static int frsrpc_dissect_element_FrsSendCommPktReq_data_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
600 const value_string frsrpc_frsrpc_PartnerAuthLevel_vals[] = {
601 { FRSRPC_PARENT_AUTH_LEVEL_ENCRYPTED_KERBEROS, "FRSRPC_PARENT_AUTH_LEVEL_ENCRYPTED_KERBEROS" },
602 { FRSRPC_PARENT_AUTH_LEVEL_NO_AUTHENTICATION, "FRSRPC_PARENT_AUTH_LEVEL_NO_AUTHENTICATION" },
603 { 0, NULL }
605 static int frsrpc_dissect_element_FrsSendCommPkt_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
606 static int frsrpc_dissect_element_FrsVerifyPromotionParent_parent_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
607 static int frsrpc_dissect_element_FrsVerifyPromotionParent_parent_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
608 static int frsrpc_dissect_element_FrsVerifyPromotionParent_parent_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
609 static int frsrpc_dissect_element_FrsVerifyPromotionParent_parent_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
610 static int frsrpc_dissect_element_FrsVerifyPromotionParent_replica_set_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
611 static int frsrpc_dissect_element_FrsVerifyPromotionParent_replica_set_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
612 static int frsrpc_dissect_element_FrsVerifyPromotionParent_replica_set_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
613 static int frsrpc_dissect_element_FrsVerifyPromotionParent_replica_set_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
614 static int frsrpc_dissect_element_FrsVerifyPromotionParent_partner_auth_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
615 static int frsrpc_dissect_element_FrsVerifyPromotionParent___ndr_guid_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
616 static int frsrpc_dissect_element_FrsStartPromotionParent_parent_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
617 static int frsrpc_dissect_element_FrsStartPromotionParent_parent_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
618 static int frsrpc_dissect_element_FrsStartPromotionParent_parent_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
619 static int frsrpc_dissect_element_FrsStartPromotionParent_parent_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
620 static int frsrpc_dissect_element_FrsStartPromotionParent_replica_set_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
621 static int frsrpc_dissect_element_FrsStartPromotionParent_replica_set_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
622 static int frsrpc_dissect_element_FrsStartPromotionParent_replica_set_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
623 static int frsrpc_dissect_element_FrsStartPromotionParent_replica_set_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
624 static int frsrpc_dissect_element_FrsStartPromotionParent_connection_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
625 static int frsrpc_dissect_element_FrsStartPromotionParent_connection_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
626 static int frsrpc_dissect_element_FrsStartPromotionParent_partner_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
627 static int frsrpc_dissect_element_FrsStartPromotionParent_partner_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
628 static int frsrpc_dissect_element_FrsStartPromotionParent_partner_princ_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
629 static int frsrpc_dissect_element_FrsStartPromotionParent_partner_princ_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
630 static int frsrpc_dissect_element_FrsStartPromotionParent_partner_auth_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
631 static int frsrpc_dissect_element_FrsStartPromotionParent___ndr_guid_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
632 static int frsrpc_dissect_element_FrsStartPromotionParent_connection_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
633 static int frsrpc_dissect_element_FrsStartPromotionParent_connection_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
634 static int frsrpc_dissect_element_FrsStartPromotionParent_connection_guid__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
635 static int frsrpc_dissect_element_FrsStartPromotionParent_partner_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
636 static int frsrpc_dissect_element_FrsStartPromotionParent_partner_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
637 static int frsrpc_dissect_element_FrsStartPromotionParent_partner_guid__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
638 static int frsrpc_dissect_element_FrsStartPromotionParent_parent_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
639 static int frsrpc_dissect_element_FrsStartPromotionParent_parent_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
640 static int frsrpc_dissect_element_FrsStartPromotionParent_parent_guid__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
641 static int
642 frsrpc_dissect_element_CommPktChangeOrderCommand_file_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di, uint8_t *drep _U_)
644 int conformant = di->conformant_run;
645 if (!conformant) {
646 uint32_t soffset = dissect_null_term_wstring(tvb, offset, pinfo, tree, drep, hf_frsrpc_CommPktChangeOrderCommand_file_name, 0);
647 /* The difference has to be 4 due to the uint16 of the length + null terminator utf16*/
648 DISSECTOR_ASSERT(soffset - offset < 261);
649 offset += 261;
651 return offset;
654 frsrpc_dissect_struct_CommPktChunk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
656 uint32_t type = 0;
657 int i = 0;
658 const char *s = NULL;
659 proto_item *item = NULL;
660 proto_tree *tree = NULL;
661 int old_offset;
662 old_offset = offset;
663 if (parent_tree) {
664 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
665 tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktChunk);
667 offset = frsrpc_dissect_element_CommPktChunk_type(tvb, offset, pinfo, tree, di, drep, &type);
668 offset = frsrpc_dissect_element_CommPktChunk_data(tvb, offset, pinfo, tree, di, drep, type);
669 for (i=0; frsrpc_frsrpc_CommPktChunkType_vals[i].strptr; i++) {
670 if (frsrpc_frsrpc_CommPktChunkType_vals[i].value == type) {
671 s = frsrpc_frsrpc_CommPktChunkType_vals[i].strptr;
674 if (s != NULL) {
675 proto_item_append_text(item, ", type = %s", s);
677 proto_item_set_len(item, offset-old_offset);
678 if (di->call_data->flags & DCERPC_IS_NDR64) {
679 ALIGN_TO_3_BYTES;
681 return offset;
684 frsrpc_dissect_enum_CommPktCommand(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di, uint8_t *drep _U_, int hf_index _U_, uint32_t *param _U_)
686 uint32_t parameter=0;
687 int i = 0;
688 const char *s = NULL;
689 if(param){
690 parameter=(uint32_t)*param;
692 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
693 for (i=0; frsrpc_frsrpc_CommPktCommand_vals[i].strptr != NULL; i++) {
694 if (frsrpc_frsrpc_CommPktCommand_vals[i].value == parameter) {
695 s = frsrpc_frsrpc_CommPktCommand_vals[i].strptr;
698 if (s!= NULL)
699 col_append_fstr(pinfo->cinfo, COL_INFO, ",command = %s",
701 if(param){
702 *param=(uint32_t)parameter;
704 return offset;
706 static int
707 frsrpc_dissect_struct_frsrpc_CommPktChunkCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, uint8_t *drep _U_, int hf_index, uint32_t param _U_)
709 uint32_t remaining = tvb_reported_length_remaining(tvb, offset);
710 int align_status = di->no_align;
711 if (remaining > 0) {
712 proto_item *item = proto_tree_add_item(tree, hf_index, tvb, offset, -1, ENC_NA);
713 proto_tree *subtree = proto_item_add_subtree(item, ett_ChunkCtr);
714 di->no_align = 1;
715 while (remaining > 0) {
716 offset = frsrpc_dissect_struct_CommPktChunk(tvb, offset, pinfo, subtree, di, drep, hf_CommPktChunk, param);
717 remaining = tvb_reported_length_remaining(tvb, offset);
719 di->no_align = align_status;
721 return offset;
725 /* IDL: struct { */
726 /* IDL: [subcontext(4)] GUID guid; */
727 /* IDL: [flag(LIBNDR_FLAG_STR_NULLTERM)] [subcontext(4)] string name; */
728 /* IDL: } */
730 static int
731 frsrpc_dissect_element_CommPktChunkGuidName_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
733 uint64_t size;
734 int conformant = di->conformant_run;
735 tvbuff_t *subtvb;
737 if (!conformant) {
738 uint32_t saved_flags = di->call_data->flags;
739 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkGuidName_guid_, &size);
740 di->call_data->flags &= ~DCERPC_IS_NDR64;
741 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
742 frsrpc_dissect_element_CommPktChunkGuidName_guid_(subtvb, 0, pinfo, tree, di, drep);
743 offset += (int)size;
744 di->call_data->flags = saved_flags;
747 return offset;
750 static int
751 frsrpc_dissect_element_CommPktChunkGuidName_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
753 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkGuidName_guid, NULL);
755 return offset;
758 static int
759 frsrpc_dissect_element_CommPktChunkGuidName_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
761 uint64_t size;
762 int conformant = di->conformant_run;
763 tvbuff_t *subtvb;
765 if (!conformant) {
766 uint32_t saved_flags = di->call_data->flags;
767 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkGuidName_name_, &size);
768 di->call_data->flags &= ~DCERPC_IS_NDR64;
769 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
770 frsrpc_dissect_element_CommPktChunkGuidName_name_(subtvb, 0, pinfo, tree, di, drep);
771 offset += (int)size;
772 di->call_data->flags = saved_flags;
775 return offset;
778 static int
779 frsrpc_dissect_element_CommPktChunkGuidName_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
781 offset = dissect_null_term_wstring(tvb, offset, pinfo, tree, drep, hf_frsrpc_frsrpc_CommPktChunkGuidName_name , 0);
783 return offset;
787 frsrpc_dissect_struct_CommPktChunkGuidName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
789 proto_item *item = NULL;
790 proto_tree *tree = NULL;
791 int old_offset;
793 old_offset = offset;
795 if (parent_tree) {
796 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
797 tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktChunkGuidName);
800 offset = frsrpc_dissect_element_CommPktChunkGuidName_guid(tvb, offset, pinfo, tree, di, drep);
802 offset = frsrpc_dissect_element_CommPktChunkGuidName_name(tvb, offset, pinfo, tree, di, drep);
805 proto_item_set_len(item, offset-old_offset);
808 return offset;
812 /* IDL: struct { */
813 /* IDL: hyper vsn; */
814 /* IDL: GUID guid; */
815 /* IDL: } */
817 static int
818 frsrpc_dissect_element_CommPktGSVN_vsn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
820 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktGSVN_vsn, NULL);
822 return offset;
825 static int
826 frsrpc_dissect_element_CommPktGSVN_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
828 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktGSVN_guid, NULL);
830 return offset;
834 frsrpc_dissect_struct_CommPktGSVN(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
836 proto_item *item = NULL;
837 proto_tree *tree = NULL;
838 int old_offset;
840 ALIGN_TO_8_BYTES;
842 old_offset = offset;
844 if (parent_tree) {
845 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
846 tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktGSVN);
849 offset = frsrpc_dissect_element_CommPktGSVN_vsn(tvb, offset, pinfo, tree, di, drep);
851 offset = frsrpc_dissect_element_CommPktGSVN_guid(tvb, offset, pinfo, tree, di, drep);
854 proto_item_set_len(item, offset-old_offset);
857 if (di->call_data->flags & DCERPC_IS_NDR64) {
858 ALIGN_TO_8_BYTES;
861 return offset;
865 /* IDL: bitmap { */
866 /* IDL: FRSRPC_CO_FLAG_ABORT_CO = 0x00000001 , */
867 /* IDL: FRSRPC_CO_FLAG_VV_ACTIVATED = 0x00000002 , */
868 /* IDL: FRSRPC_CO_FLAG_CONTENT_CMD = 0x00000004 , */
869 /* IDL: FRSRPC_CO_FLAG_LOCATION_CMD = 0x00000008 , */
870 /* IDL: FRSRPC_CO_FLAG_ONLIST = 0x00000010 , */
871 /* IDL: FRSRPC_CO_FLAG_LOCALCO = 0x00000020 , */
872 /* IDL: FRSRPC_CO_FLAG_RETRY = 0x00000040 , */
873 /* IDL: FRSRPC_CO_FLAG_OUT_OF_ORDER = 0x00000200 , */
874 /* IDL: FRSRPC_CO_FLAG_NEW_FILE = 0x00000400 , */
875 /* IDL: FRSRPC_CO_FLAG_CONTROL = 0x00001000 , */
876 /* IDL: FRSRPC_CO_FLAG_DIRECTED_CO = 0x00002000 , */
877 /* IDL: FRSRPC_CO_FLAG_VVJOIN_TO_ORIG = 0x00040000 , */
878 /* IDL: FRSRPC_CO_FLAG_SKIP_ORIG_REC_C = 0x00100000 , */
879 /* IDL: FRSRPC_CO_FLAG_MOVEIN_GEN = 0x00200000 , */
880 /* IDL: FRSRPC_CO_FLAG_MORPH_GEN_HEAD = 0x00400000 , */
881 /* IDL: FRSRPC_CO_FLAG_JUST_OID_RESET = 0x00800000 , */
882 /* IDL: FRSRPC_CO_FLAG_COMPRESSED_STAGE = 0x01000000 , */
883 /* IDL: FRSRPC_CO_FLAG_SKIP_VV_UPDATE = 0x02000000 , */
884 /* IDL: } */
887 frsrpc_dissect_bitmap_CommPktCoCmdFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
889 proto_item *item;
890 static int * const frsrpc_frsrpc_CommPktCoCmdFlags_fields[] = {
891 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_ABORT_CO,
892 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_VV_ACTIVATED,
893 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_CONTENT_CMD,
894 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_LOCATION_CMD,
895 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_ONLIST,
896 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_LOCALCO,
897 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_RETRY,
898 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_OUT_OF_ORDER,
899 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_NEW_FILE,
900 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_CONTROL,
901 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_DIRECTED_CO,
902 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_VVJOIN_TO_ORIG,
903 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_SKIP_ORIG_REC_C,
904 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_MOVEIN_GEN,
905 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_MORPH_GEN_HEAD,
906 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_JUST_OID_RESET,
907 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_COMPRESSED_STAGE,
908 &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_SKIP_VV_UPDATE,
909 NULL
911 uint32_t flags;
912 ALIGN_TO_4_BYTES;
914 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
915 ett_frsrpc_frsrpc_CommPktCoCmdFlags, frsrpc_frsrpc_CommPktCoCmdFlags_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
917 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
919 if (!flags)
920 proto_item_append_text(item, ": (No values set)");
922 if (flags & (~0x03f4367f)) {
923 flags &= (~0x03f4367f);
924 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
927 return offset;
931 /* IDL: bitmap { */
932 /* IDL: FRSRPC_CO_IFLAG_VVRETIRE_EXEC = 0x00000001 , */
933 /* IDL: FRSRPC_CO_IFLAG_CO_ABORT = 0x00000002 , */
934 /* IDL: FRSRPC_CO_IFLAG_DIR_ENUM_PENDING = 0x00000004 , */
935 /* IDL: } */
938 frsrpc_dissect_bitmap_CommPktCoCmdIFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
940 proto_item *item;
941 static int * const frsrpc_frsrpc_CommPktCoCmdIFlags_fields[] = {
942 &hf_frsrpc_frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_VVRETIRE_EXEC,
943 &hf_frsrpc_frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_CO_ABORT,
944 &hf_frsrpc_frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_DIR_ENUM_PENDING,
945 NULL
947 uint32_t flags;
948 ALIGN_TO_4_BYTES;
950 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
951 ett_frsrpc_frsrpc_CommPktCoCmdIFlags, frsrpc_frsrpc_CommPktCoCmdIFlags_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
953 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
955 if (!flags)
956 proto_item_append_text(item, ": (No values set)");
958 if (flags & (~0x00000007)) {
959 flags &= (~0x00000007);
960 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
963 return offset;
967 /* IDL: enum { */
968 /* IDL: FRSRPC_CO_STATUS_CO_ENTERED_LOG=0x00000000, */
969 /* IDL: FRSRPC_CO_STATUS_ALLOC_STAGING_LOCAL_CO=0x00000001, */
970 /* IDL: FRSRPC_CO_STATUS_LOCAL_CO_STAGING_STARTED=0x00000002, */
971 /* IDL: FRSRPC_CO_STATUS_LOCAL_CO_STAGING_COMPLETED=0x00000003, */
972 /* IDL: FRSRPC_CO_STATUS_WAIT_RETRY_LOCAL_CO_STAGING=0x00000004, */
973 /* IDL: FRSRPC_CO_STATUS_ALLOC_STAGING_REMOTE_CO=0x00000005, */
974 /* IDL: FRSRPC_CO_STATUS_REMOTE_CO_STAGING_STARTED=0x00000006, */
975 /* IDL: FRSRPC_CO_STATUS_REMOTE_CO_STAGING_COMPLETED=0x00000007, */
976 /* IDL: FRSRPC_CO_STATUS_WAIT_RETRY_REMOTE_CO_STAGING=0x00000008, */
977 /* IDL: FRSRPC_CO_STATUS_FILE_INSTALL_REQUESTED=0x00000009, */
978 /* IDL: FRSRPC_CO_STATUS_FILE_INSTALL_STARTED=0x0000000A, */
979 /* IDL: FRSRPC_CO_STATUS_FILE_INSTALL_COMPLETED=0x0000000B, */
980 /* IDL: FRSRPC_CO_STATUS_FILE_INSTALL_WAIT_RETRY=0x0000000C, */
981 /* IDL: FRSRPC_CO_STATUS_FILE_INSTALL_RETRYING=0x0000000D, */
982 /* IDL: FRSRPC_CO_STATUS_FILE_INSTALL_RENAME_RETRYING=0x0000000E, */
983 /* IDL: FRSRPC_CO_STATUS_FILE_INSTALL_DELETE_RETRYING=0x0000000F, */
984 /* IDL: FRSRPC_CO_STATUS_CO_RECYCLED_FOR_ENUM=0x00000013, */
985 /* IDL: FRSRPC_CO_STATUS_REQUEST_OUTBOUND_PROPAGATION=0x00000014, */
986 /* IDL: FRSRPC_CO_STATUS_REQUEST_ACCEPTED_OUTBOUND_LOG=0x00000015, */
987 /* IDL: FRSRPC_CO_STATUS_DB_STATE_UPDATE_STARTED=0x00000016, */
988 /* IDL: FRSRPC_CO_STATUS_DB_STATE_UPDATE_COMPLETED=0x00000017, */
989 /* IDL: FRSRPC_CO_STATUS_CO_ABORTED=0x00000018, */
990 /* IDL: } */
993 frsrpc_dissect_enum_CommPktCoCmdStatus(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t *param _U_)
995 uint32_t parameter=0;
996 if (param) {
997 parameter = *param;
999 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
1000 if (param) {
1001 *param = parameter;
1003 return offset;
1007 /* IDL: bitmap { */
1008 /* IDL: FRSRPC_CONTENT_REASON_DATA_OVERWRITE = 0x00000001 , */
1009 /* IDL: FRSRPC_CONTENT_REASON_DATA_EXTEND = 0x00000002 , */
1010 /* IDL: FRSRPC_CONTENT_REASON_DATA_TRUNCATION = 0x00000004 , */
1011 /* IDL: FRSRPC_CONTENT_REASON_NAMED_DATA_OVERWRITE = 0x00000010 , */
1012 /* IDL: FRSRPC_CONTENT_REASON_NAMED_DATA_EXTEND = 0x00000020 , */
1013 /* IDL: FRSRPC_CONTENT_REASON_NAMED_DATA_TRUNCATION = 0x00000040 , */
1014 /* IDL: FRSRPC_CONTENT_REASON_FILE_CREATE = 0x00000100 , */
1015 /* IDL: FRSRPC_CONTENT_REASON_FILE_DELETE = 0x00000200 , */
1016 /* IDL: FRSRPC_CONTENT_REASON_EA_CHANGE = 0x00000400 , */
1017 /* IDL: FRSRPC_CONTENT_REASON_SECURITY_CHANGE = 0x00000800 , */
1018 /* IDL: FRSRPC_CONTENT_REASON_OLD_NAME = 0x00001000 , */
1019 /* IDL: FRSRPC_CONTENT_REASON_NEW_NAME = 0x00002000 , */
1020 /* IDL: FRSRPC_CONTENT_REASON_BASIC_INFO_CHANGE = 0x00004000 , */
1021 /* IDL: FRSRPC_CONTENT_REASON_COMPRESSION_CHANGE = 0x00020000 , */
1022 /* IDL: } */
1025 frsrpc_dissect_bitmap_CommPktCoCmdContentCmd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
1027 proto_item *item;
1028 static int * const frsrpc_frsrpc_CommPktCoCmdContentCmd_fields[] = {
1029 &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_OVERWRITE,
1030 &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_EXTEND,
1031 &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_TRUNCATION,
1032 &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_OVERWRITE,
1033 &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_EXTEND,
1034 &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_TRUNCATION,
1035 &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_FILE_CREATE,
1036 &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_FILE_DELETE,
1037 &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_EA_CHANGE,
1038 &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_SECURITY_CHANGE,
1039 &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_OLD_NAME,
1040 &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NEW_NAME,
1041 &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_BASIC_INFO_CHANGE,
1042 &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_COMPRESSION_CHANGE,
1043 NULL
1045 uint32_t flags;
1046 ALIGN_TO_4_BYTES;
1048 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
1049 ett_frsrpc_frsrpc_CommPktCoCmdContentCmd, frsrpc_frsrpc_CommPktCoCmdContentCmd_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
1051 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
1053 if (!flags)
1054 proto_item_append_text(item, ": (No values set)");
1056 if (flags & (~0x00027f77)) {
1057 flags &= (~0x00027f77);
1058 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
1061 return offset;
1065 /* IDL: enum { */
1066 /* IDL: FRSRPC_CO_LOCATION_FILE_CREATE=0x00000000, */
1067 /* IDL: FRSRPC_CO_LOCATION_DIR_CREATE=0x00000000|0x00000001, */
1068 /* IDL: FRSRPC_CO_LOCATION_FILE_DELETE=0x00000002, */
1069 /* IDL: FRSRPC_CO_LOCATION_DIR_DELETE=0x00000002|0x00000001, */
1070 /* IDL: FRSRPC_CO_LOCATION_FILE_MOVEIN=0x00000004, */
1071 /* IDL: FRSRPC_CO_LOCATION_DIR_MOVEIN=0x00000004|0x00000001, */
1072 /* IDL: FRSRPC_CO_LOCATION_FILE_MOVEIN2=0x00000006, */
1073 /* IDL: FRSRPC_CO_LOCATION_DIR_MOVEIN2=0x00000006|0x00000001, */
1074 /* IDL: FRSRPC_CO_LOCATION_FILE_MOVEOUT=0x00000008, */
1075 /* IDL: FRSRPC_CO_LOCATION_DIR_MOVEOUT=0x00000008|0x00000001, */
1076 /* IDL: FRSRPC_CO_LOCATION_FILE_MOVERS=0x0000000a, */
1077 /* IDL: FRSRPC_CO_LOCATION_DIR_MOVERS=0x0000000a|0x00000001, */
1078 /* IDL: FRSRPC_CO_LOCATION_FILE_MOVEDIR=0x0000000c, */
1079 /* IDL: FRSRPC_CO_LOCATION_DIR_MOVEDIR=0x0000000c|0x00000001, */
1080 /* IDL: FRSRPC_CO_LOCATION_FILE_NO_CMD=0x0000000e, */
1081 /* IDL: FRSRPC_CO_LOCATION_DIR_NO_CMD=0x0000000e|0x00000001, */
1082 /* IDL: } */
1085 frsrpc_dissect_enum_CommPktCoCmdLocationCmd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t *param _U_)
1087 uint32_t parameter=0;
1088 if (param) {
1089 parameter = *param;
1091 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
1092 if (param) {
1093 *param = parameter;
1095 return offset;
1099 /* IDL: struct { */
1100 /* IDL: uint32 sequence_number; */
1101 /* IDL: frsrpc_CommPktCoCmdFlags flags; */
1102 /* IDL: frsrpc_CommPktCoCmdIFlags iflags; */
1103 /* IDL: frsrpc_CommPktCoCmdStatus status; */
1104 /* IDL: frsrpc_CommPktCoCmdContentCmd content_cmd; */
1105 /* IDL: frsrpc_CommPktCoCmdLocationCmd location_cmd; */
1106 /* IDL: uint32 file_attributes; */
1107 /* IDL: uint32 file_version_number; */
1108 /* IDL: uint32 partern_ack_sequence_number; */
1109 /* IDL: [value(0)] uint32 not_used; */
1110 /* IDL: hyper file_size; */
1111 /* IDL: hyper file_offset; */
1112 /* IDL: hyper frs_vsn; */
1113 /* IDL: hyper file_usn; */
1114 /* IDL: hyper jrnl_usn; */
1115 /* IDL: hyper jrnl_first_usn; */
1116 /* IDL: uint32 original_replica_num; */
1117 /* IDL: uint32 new_replica_num; */
1118 /* IDL: GUID change_order_guid; */
1119 /* IDL: GUID originator_guid; */
1120 /* IDL: GUID file_guid; */
1121 /* IDL: GUID old_parent_guid; */
1122 /* IDL: GUID new_parent_guid; */
1123 /* IDL: GUID connection_guid; */
1124 /* IDL: hyper ack_version; */
1125 /* IDL: [value(0)] hyper spare2ul1; */
1126 /* IDL: [value(0)] hyper spare1guid_p1; */
1127 /* IDL: [value(0)] hyper spare1guid_p2; */
1128 /* IDL: [value(0)] hyper spare2guid_p1; */
1129 /* IDL: [value(0)] hyper spare3guid_p2; */
1130 /* IDL: [value(0)] uint32 spare1wcs; */
1131 /* IDL: [value(0)] uint32 spare2wcs; */
1132 /* IDL: [value(0)] uint32 extension; */
1133 /* IDL: [value(0)] uint32 spare2bin; */
1134 /* IDL: NTTIME event_time; */
1135 /* IDL: [value(2*strlen_m(file_name))] uint16 file_name_length; */
1136 /* IDL: [charset(UTF16)] uint16 file_name[260+1]; */
1137 /* IDL: [value(0)] uint8 padding1; */
1138 /* IDL: [value(0)] uint8 padding2; */
1139 /* IDL: [value(0)] uint8 padding3; */
1140 /* IDL: [value(0)] uint8 padding4; */
1141 /* IDL: } */
1143 static int
1144 frsrpc_dissect_element_CommPktChangeOrderCommand_sequence_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1146 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_sequence_number, 0);
1148 return offset;
1151 static int
1152 frsrpc_dissect_element_CommPktChangeOrderCommand_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1154 offset = frsrpc_dissect_bitmap_CommPktCoCmdFlags(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_flags, 0);
1156 return offset;
1159 static int
1160 frsrpc_dissect_element_CommPktChangeOrderCommand_iflags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1162 offset = frsrpc_dissect_bitmap_CommPktCoCmdIFlags(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_iflags, 0);
1164 return offset;
1167 static int
1168 frsrpc_dissect_element_CommPktChangeOrderCommand_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1170 offset = frsrpc_dissect_enum_CommPktCoCmdStatus(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_status, 0);
1172 return offset;
1175 static int
1176 frsrpc_dissect_element_CommPktChangeOrderCommand_content_cmd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1178 offset = frsrpc_dissect_bitmap_CommPktCoCmdContentCmd(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_content_cmd, 0);
1180 return offset;
1183 static int
1184 frsrpc_dissect_element_CommPktChangeOrderCommand_location_cmd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1186 offset = frsrpc_dissect_enum_CommPktCoCmdLocationCmd(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_location_cmd, 0);
1188 return offset;
1191 static int
1192 frsrpc_dissect_element_CommPktChangeOrderCommand_file_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1194 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_attributes, 0);
1196 return offset;
1199 static int
1200 frsrpc_dissect_element_CommPktChangeOrderCommand_file_version_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1202 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_version_number, 0);
1204 return offset;
1207 static int
1208 frsrpc_dissect_element_CommPktChangeOrderCommand_partern_ack_sequence_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1210 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_partern_ack_sequence_number, 0);
1212 return offset;
1215 static int
1216 frsrpc_dissect_element_CommPktChangeOrderCommand_not_used(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1218 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_not_used, 0);
1220 return offset;
1223 static int
1224 frsrpc_dissect_element_CommPktChangeOrderCommand_file_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1226 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_size, NULL);
1228 return offset;
1231 static int
1232 frsrpc_dissect_element_CommPktChangeOrderCommand_file_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1234 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_offset, NULL);
1236 return offset;
1239 static int
1240 frsrpc_dissect_element_CommPktChangeOrderCommand_frs_vsn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1242 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_frs_vsn, NULL);
1244 return offset;
1247 static int
1248 frsrpc_dissect_element_CommPktChangeOrderCommand_file_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1250 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_usn, NULL);
1252 return offset;
1255 static int
1256 frsrpc_dissect_element_CommPktChangeOrderCommand_jrnl_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1258 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_jrnl_usn, NULL);
1260 return offset;
1263 static int
1264 frsrpc_dissect_element_CommPktChangeOrderCommand_jrnl_first_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1266 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_jrnl_first_usn, NULL);
1268 return offset;
1271 static int
1272 frsrpc_dissect_element_CommPktChangeOrderCommand_original_replica_num(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1274 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_original_replica_num, 0);
1276 return offset;
1279 static int
1280 frsrpc_dissect_element_CommPktChangeOrderCommand_new_replica_num(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1282 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_new_replica_num, 0);
1284 return offset;
1287 static int
1288 frsrpc_dissect_element_CommPktChangeOrderCommand_change_order_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1290 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_change_order_guid, NULL);
1292 return offset;
1295 static int
1296 frsrpc_dissect_element_CommPktChangeOrderCommand_originator_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1298 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_originator_guid, NULL);
1300 return offset;
1303 static int
1304 frsrpc_dissect_element_CommPktChangeOrderCommand_file_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1306 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_guid, NULL);
1308 return offset;
1311 static int
1312 frsrpc_dissect_element_CommPktChangeOrderCommand_old_parent_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1314 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_old_parent_guid, NULL);
1316 return offset;
1319 static int
1320 frsrpc_dissect_element_CommPktChangeOrderCommand_new_parent_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1322 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_new_parent_guid, NULL);
1324 return offset;
1327 static int
1328 frsrpc_dissect_element_CommPktChangeOrderCommand_connection_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1330 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_connection_guid, NULL);
1332 return offset;
1335 static int
1336 frsrpc_dissect_element_CommPktChangeOrderCommand_ack_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1338 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_ack_version, NULL);
1340 return offset;
1343 static int
1344 frsrpc_dissect_element_CommPktChangeOrderCommand_spare2ul1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1346 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare2ul1, NULL);
1348 return offset;
1351 static int
1352 frsrpc_dissect_element_CommPktChangeOrderCommand_spare1guid_p1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1354 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare1guid_p1, NULL);
1356 return offset;
1359 static int
1360 frsrpc_dissect_element_CommPktChangeOrderCommand_spare1guid_p2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1362 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare1guid_p2, NULL);
1364 return offset;
1367 static int
1368 frsrpc_dissect_element_CommPktChangeOrderCommand_spare2guid_p1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1370 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare2guid_p1, NULL);
1372 return offset;
1375 static int
1376 frsrpc_dissect_element_CommPktChangeOrderCommand_spare3guid_p2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1378 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare3guid_p2, NULL);
1380 return offset;
1383 static int
1384 frsrpc_dissect_element_CommPktChangeOrderCommand_spare1wcs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1386 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare1wcs, 0);
1388 return offset;
1391 static int
1392 frsrpc_dissect_element_CommPktChangeOrderCommand_spare2wcs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1394 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare2wcs, 0);
1396 return offset;
1399 static int
1400 frsrpc_dissect_element_CommPktChangeOrderCommand_extension(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1402 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_extension, 0);
1404 return offset;
1407 static int
1408 frsrpc_dissect_element_CommPktChangeOrderCommand_spare2bin(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1410 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare2bin, 0);
1412 return offset;
1415 static int
1416 frsrpc_dissect_element_CommPktChangeOrderCommand_event_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1418 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_event_time);
1420 return offset;
1423 static int
1424 frsrpc_dissect_element_CommPktChangeOrderCommand_file_name_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1426 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_name_length, 0);
1428 return offset;
1431 static int
1432 frsrpc_dissect_element_CommPktChangeOrderCommand_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1434 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_padding1, 0);
1436 return offset;
1439 static int
1440 frsrpc_dissect_element_CommPktChangeOrderCommand_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1442 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_padding2, 0);
1444 return offset;
1447 static int
1448 frsrpc_dissect_element_CommPktChangeOrderCommand_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1450 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_padding3, 0);
1452 return offset;
1455 static int
1456 frsrpc_dissect_element_CommPktChangeOrderCommand_padding4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1458 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderCommand_padding4, 0);
1460 return offset;
1464 frsrpc_dissect_struct_CommPktChangeOrderCommand(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
1466 proto_item *item = NULL;
1467 proto_tree *tree = NULL;
1468 int old_offset;
1470 ALIGN_TO_8_BYTES;
1472 old_offset = offset;
1474 if (parent_tree) {
1475 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1476 tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktChangeOrderCommand);
1479 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_sequence_number(tvb, offset, pinfo, tree, di, drep);
1481 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_flags(tvb, offset, pinfo, tree, di, drep);
1483 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_iflags(tvb, offset, pinfo, tree, di, drep);
1485 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_status(tvb, offset, pinfo, tree, di, drep);
1487 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_content_cmd(tvb, offset, pinfo, tree, di, drep);
1489 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_location_cmd(tvb, offset, pinfo, tree, di, drep);
1491 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_file_attributes(tvb, offset, pinfo, tree, di, drep);
1493 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_file_version_number(tvb, offset, pinfo, tree, di, drep);
1495 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_partern_ack_sequence_number(tvb, offset, pinfo, tree, di, drep);
1497 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_not_used(tvb, offset, pinfo, tree, di, drep);
1499 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_file_size(tvb, offset, pinfo, tree, di, drep);
1501 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_file_offset(tvb, offset, pinfo, tree, di, drep);
1503 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_frs_vsn(tvb, offset, pinfo, tree, di, drep);
1505 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_file_usn(tvb, offset, pinfo, tree, di, drep);
1507 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_jrnl_usn(tvb, offset, pinfo, tree, di, drep);
1509 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_jrnl_first_usn(tvb, offset, pinfo, tree, di, drep);
1511 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_original_replica_num(tvb, offset, pinfo, tree, di, drep);
1513 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_new_replica_num(tvb, offset, pinfo, tree, di, drep);
1515 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_change_order_guid(tvb, offset, pinfo, tree, di, drep);
1517 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_originator_guid(tvb, offset, pinfo, tree, di, drep);
1519 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_file_guid(tvb, offset, pinfo, tree, di, drep);
1521 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_old_parent_guid(tvb, offset, pinfo, tree, di, drep);
1523 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_new_parent_guid(tvb, offset, pinfo, tree, di, drep);
1525 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_connection_guid(tvb, offset, pinfo, tree, di, drep);
1527 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_ack_version(tvb, offset, pinfo, tree, di, drep);
1529 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_spare2ul1(tvb, offset, pinfo, tree, di, drep);
1531 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_spare1guid_p1(tvb, offset, pinfo, tree, di, drep);
1533 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_spare1guid_p2(tvb, offset, pinfo, tree, di, drep);
1535 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_spare2guid_p1(tvb, offset, pinfo, tree, di, drep);
1537 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_spare3guid_p2(tvb, offset, pinfo, tree, di, drep);
1539 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_spare1wcs(tvb, offset, pinfo, tree, di, drep);
1541 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_spare2wcs(tvb, offset, pinfo, tree, di, drep);
1543 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_extension(tvb, offset, pinfo, tree, di, drep);
1545 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_spare2bin(tvb, offset, pinfo, tree, di, drep);
1547 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_event_time(tvb, offset, pinfo, tree, di, drep);
1549 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_file_name_length(tvb, offset, pinfo, tree, di, drep);
1551 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_file_name(tvb, offset, pinfo, tree, di, drep);
1553 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_padding1(tvb, offset, pinfo, tree, di, drep);
1555 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_padding2(tvb, offset, pinfo, tree, di, drep);
1557 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_padding3(tvb, offset, pinfo, tree, di, drep);
1559 offset = frsrpc_dissect_element_CommPktChangeOrderCommand_padding4(tvb, offset, pinfo, tree, di, drep);
1562 proto_item_set_len(item, offset-old_offset);
1565 if (di->call_data->flags & DCERPC_IS_NDR64) {
1566 ALIGN_TO_8_BYTES;
1569 return offset;
1573 /* IDL: enum { */
1574 /* IDL: FRSRPC_DATA_EXTENSION_TERMINATOR=0x00000000, */
1575 /* IDL: FRSRPC_DATA_EXTENSION_MD5_CHECKSUM=0x00000001, */
1576 /* IDL: FRSRPC_DATA_EXTENSION_RETRY_TIMEOUT=0x00000002, */
1577 /* IDL: } */
1580 frsrpc_dissect_enum_CommPktDataExtensionType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t *param _U_)
1582 uint32_t parameter=0;
1583 if (param) {
1584 parameter = *param;
1586 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
1587 if (param) {
1588 *param = parameter;
1590 return offset;
1594 /* IDL: struct { */
1595 /* IDL: [value(0x00000018)] uint32 prefix_size; */
1596 /* IDL: [value(FRSRPC_DATA_EXTENSION_MD5_CHECKSUM)] frsrpc_CommPktDataExtensionType prefix_type; */
1597 /* IDL: uint8 data[16]; */
1598 /* IDL: } */
1600 static int
1601 frsrpc_dissect_element_CommPktDataExtensionChecksum_prefix_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1603 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktDataExtensionChecksum_prefix_size, 0);
1605 return offset;
1608 static int
1609 frsrpc_dissect_element_CommPktDataExtensionChecksum_prefix_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1611 offset = frsrpc_dissect_enum_CommPktDataExtensionType(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktDataExtensionChecksum_prefix_type, 0);
1613 return offset;
1616 static int
1617 frsrpc_dissect_element_CommPktDataExtensionChecksum_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1619 int i;
1620 for (i = 0; i < 16; i++)
1621 offset = frsrpc_dissect_element_CommPktDataExtensionChecksum_data_(tvb, offset, pinfo, tree, di, drep);
1623 return offset;
1626 static int
1627 frsrpc_dissect_element_CommPktDataExtensionChecksum_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1629 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktDataExtensionChecksum_data, 0);
1631 return offset;
1635 frsrpc_dissect_struct_CommPktDataExtensionChecksum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
1637 proto_item *item = NULL;
1638 proto_tree *tree = NULL;
1639 int old_offset;
1641 ALIGN_TO_4_BYTES;
1643 old_offset = offset;
1645 if (parent_tree) {
1646 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1647 tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktDataExtensionChecksum);
1650 offset = frsrpc_dissect_element_CommPktDataExtensionChecksum_prefix_size(tvb, offset, pinfo, tree, di, drep);
1652 offset = frsrpc_dissect_element_CommPktDataExtensionChecksum_prefix_type(tvb, offset, pinfo, tree, di, drep);
1654 offset = frsrpc_dissect_element_CommPktDataExtensionChecksum_data(tvb, offset, pinfo, tree, di, drep);
1657 proto_item_set_len(item, offset-old_offset);
1660 if (di->call_data->flags & DCERPC_IS_NDR64) {
1661 ALIGN_TO_4_BYTES;
1664 return offset;
1668 /* IDL: struct { */
1669 /* IDL: [value(0x00000018)] uint32 prefix_size; */
1670 /* IDL: [value(FRSRPC_DATA_EXTENSION_RETRY_TIMEOUT)] frsrpc_CommPktDataExtensionType prefix_type; */
1671 /* IDL: uint32 count; */
1672 /* IDL: [value(0)] uint32 not_used; */
1673 /* IDL: NTTIME first_try_time; */
1674 /* IDL: } */
1676 static int
1677 frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_prefix_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1679 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_prefix_size, 0);
1681 return offset;
1684 static int
1685 frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_prefix_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1687 offset = frsrpc_dissect_enum_CommPktDataExtensionType(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_prefix_type, 0);
1689 return offset;
1692 static int
1693 frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1695 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_count, 0);
1697 return offset;
1700 static int
1701 frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_not_used(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1703 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_not_used, 0);
1705 return offset;
1708 static int
1709 frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_first_try_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1711 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_first_try_time);
1713 return offset;
1717 frsrpc_dissect_struct_CommPktDataExtensionRetryTimeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
1719 proto_item *item = NULL;
1720 proto_tree *tree = NULL;
1721 int old_offset;
1723 ALIGN_TO_4_BYTES;
1725 old_offset = offset;
1727 if (parent_tree) {
1728 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1729 tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout);
1732 offset = frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_prefix_size(tvb, offset, pinfo, tree, di, drep);
1734 offset = frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_prefix_type(tvb, offset, pinfo, tree, di, drep);
1736 offset = frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_count(tvb, offset, pinfo, tree, di, drep);
1738 offset = frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_not_used(tvb, offset, pinfo, tree, di, drep);
1740 offset = frsrpc_dissect_element_CommPktDataExtensionRetryTimeout_first_try_time(tvb, offset, pinfo, tree, di, drep);
1743 proto_item_set_len(item, offset-old_offset);
1746 if (di->call_data->flags & DCERPC_IS_NDR64) {
1747 ALIGN_TO_4_BYTES;
1750 return offset;
1754 /* IDL: enum { */
1755 /* IDL: FRSRPC_CO_RECORD_EXTENSION_VERSION_WIN2K=0x0000, */
1756 /* IDL: FRSRPC_CO_RECORD_EXTENSION_VERSION_1=0x0001, */
1757 /* IDL: } */
1760 frsrpc_dissect_enum_CommPktCoRecordExtensionMajor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t *param _U_)
1762 uint32_t parameter=0;
1763 if (param) {
1764 parameter = *param;
1766 offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
1767 if (param) {
1768 *param = parameter;
1770 return offset;
1774 /* IDL: struct { */
1775 /* IDL: [value(0x00000028)] uint32 field_size; */
1776 /* IDL: [value(FRSRPC_CO_RECORD_EXTENSION_VERSION_WIN2K)] frsrpc_CommPktCoRecordExtensionMajor major; */
1777 /* IDL: [value(0x0001)] uint16 offset_count; */
1778 /* IDL: [value(0x00000010)] uint32 offset; */
1779 /* IDL: [value(0)] uint32 offset_last; */
1780 /* IDL: frsrpc_CommPktDataExtensionChecksum data_checksum; */
1781 /* IDL: } */
1783 static int
1784 frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_field_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1786 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_field_size, 0);
1788 return offset;
1791 static int
1792 frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1794 offset = frsrpc_dissect_enum_CommPktCoRecordExtensionMajor(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_major, 0);
1796 return offset;
1799 static int
1800 frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_offset_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1802 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_offset_count, 0);
1804 return offset;
1807 static int
1808 frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1810 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_offset, 0);
1812 return offset;
1815 static int
1816 frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_offset_last(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1818 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_offset_last, 0);
1820 return offset;
1823 static int
1824 frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_data_checksum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1826 offset = frsrpc_dissect_struct_CommPktDataExtensionChecksum(tvb,offset,pinfo,tree,di,drep,hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_data_checksum,0);
1828 return offset;
1832 frsrpc_dissect_struct_CommPktCoRecordExtensionWin2k(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
1834 proto_item *item = NULL;
1835 proto_tree *tree = NULL;
1836 int old_offset;
1838 ALIGN_TO_4_BYTES;
1840 old_offset = offset;
1842 if (parent_tree) {
1843 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1844 tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k);
1847 offset = frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_field_size(tvb, offset, pinfo, tree, di, drep);
1849 offset = frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_major(tvb, offset, pinfo, tree, di, drep);
1851 offset = frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_offset_count(tvb, offset, pinfo, tree, di, drep);
1853 offset = frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_offset(tvb, offset, pinfo, tree, di, drep);
1855 offset = frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_offset_last(tvb, offset, pinfo, tree, di, drep);
1857 offset = frsrpc_dissect_element_CommPktCoRecordExtensionWin2k_data_checksum(tvb, offset, pinfo, tree, di, drep);
1860 proto_item_set_len(item, offset-old_offset);
1863 if (di->call_data->flags & DCERPC_IS_NDR64) {
1864 ALIGN_TO_4_BYTES;
1867 return offset;
1871 /* IDL: struct { */
1872 /* IDL: [value(0x00000048)] uint32 field_size; */
1873 /* IDL: frsrpc_CommPktCoRecordExtensionMajor major; */
1874 /* IDL: [value(0x0002)] uint16 offset_count; */
1875 /* IDL: [value(0x00000018)] uint32 offset0; */
1876 /* IDL: [value(0x00000030)] uint32 offset1; */
1877 /* IDL: [value(0)] uint32 offset_last; */
1878 /* IDL: [value(0)] uint32 not_used; */
1879 /* IDL: frsrpc_CommPktDataExtensionChecksum data_checksum; */
1880 /* IDL: frsrpc_CommPktDataExtensionRetryTimeout data_retry_timeout; */
1881 /* IDL: } */
1883 static int
1884 frsrpc_dissect_element_CommPktChangeOrderRecordExtension_field_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1886 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_field_size, 0);
1888 return offset;
1891 static int
1892 frsrpc_dissect_element_CommPktChangeOrderRecordExtension_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1894 offset = frsrpc_dissect_enum_CommPktCoRecordExtensionMajor(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_major, 0);
1896 return offset;
1899 static int
1900 frsrpc_dissect_element_CommPktChangeOrderRecordExtension_offset_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1902 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_offset_count, 0);
1904 return offset;
1907 static int
1908 frsrpc_dissect_element_CommPktChangeOrderRecordExtension_offset0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1910 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_offset0, 0);
1912 return offset;
1915 static int
1916 frsrpc_dissect_element_CommPktChangeOrderRecordExtension_offset1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1918 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_offset1, 0);
1920 return offset;
1923 static int
1924 frsrpc_dissect_element_CommPktChangeOrderRecordExtension_offset_last(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1926 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_offset_last, 0);
1928 return offset;
1931 static int
1932 frsrpc_dissect_element_CommPktChangeOrderRecordExtension_not_used(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1934 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_not_used, 0);
1936 return offset;
1939 static int
1940 frsrpc_dissect_element_CommPktChangeOrderRecordExtension_data_checksum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1942 offset = frsrpc_dissect_struct_CommPktDataExtensionChecksum(tvb,offset,pinfo,tree,di,drep,hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_data_checksum,0);
1944 return offset;
1947 static int
1948 frsrpc_dissect_element_CommPktChangeOrderRecordExtension_data_retry_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1950 offset = frsrpc_dissect_struct_CommPktDataExtensionRetryTimeout(tvb,offset,pinfo,tree,di,drep,hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_data_retry_timeout,0);
1952 return offset;
1956 frsrpc_dissect_struct_CommPktChangeOrderRecordExtension(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
1958 proto_item *item = NULL;
1959 proto_tree *tree = NULL;
1960 int old_offset;
1962 ALIGN_TO_4_BYTES;
1964 old_offset = offset;
1966 if (parent_tree) {
1967 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1968 tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_CommPktChangeOrderRecordExtension);
1971 offset = frsrpc_dissect_element_CommPktChangeOrderRecordExtension_field_size(tvb, offset, pinfo, tree, di, drep);
1973 offset = frsrpc_dissect_element_CommPktChangeOrderRecordExtension_major(tvb, offset, pinfo, tree, di, drep);
1975 offset = frsrpc_dissect_element_CommPktChangeOrderRecordExtension_offset_count(tvb, offset, pinfo, tree, di, drep);
1977 offset = frsrpc_dissect_element_CommPktChangeOrderRecordExtension_offset0(tvb, offset, pinfo, tree, di, drep);
1979 offset = frsrpc_dissect_element_CommPktChangeOrderRecordExtension_offset1(tvb, offset, pinfo, tree, di, drep);
1981 offset = frsrpc_dissect_element_CommPktChangeOrderRecordExtension_offset_last(tvb, offset, pinfo, tree, di, drep);
1983 offset = frsrpc_dissect_element_CommPktChangeOrderRecordExtension_not_used(tvb, offset, pinfo, tree, di, drep);
1985 offset = frsrpc_dissect_element_CommPktChangeOrderRecordExtension_data_checksum(tvb, offset, pinfo, tree, di, drep);
1987 offset = frsrpc_dissect_element_CommPktChangeOrderRecordExtension_data_retry_timeout(tvb, offset, pinfo, tree, di, drep);
1990 proto_item_set_len(item, offset-old_offset);
1993 if (di->call_data->flags & DCERPC_IS_NDR64) {
1994 ALIGN_TO_4_BYTES;
1997 return offset;
2001 /* IDL: enum { */
2002 /* IDL: FRSRPC_COMMAND_REMOTE_CO=0x00000218, */
2003 /* IDL: FRSRPC_COMMAND_RECEIVING_STATE=0x00000238, */
2004 /* IDL: FRSRPC_COMMAND_REMOTE_CO_DONE=0x00000250, */
2005 /* IDL: FRSRPC_COMMAND_ABORT_FETCH=0x00000246, */
2006 /* IDL: FRSRPC_COMMAND_RETRY_FETCH=0x00000244, */
2007 /* IDL: FRSRPC_COMMAND_NEED_JOIN=0x00000121, */
2008 /* IDL: FRSRPC_COMMAND_START_JOIN=0x00000122, */
2009 /* IDL: FRSRPC_COMMAND_JOINING=0x00000130, */
2010 /* IDL: FRSRPC_COMMAND_JOINED=0x00000128, */
2011 /* IDL: FRSRPC_COMMAND_UNJOIN_REMOTE=0x00000148, */
2012 /* IDL: FRSRPC_COMMAND_WJOIN_DONE=0x00000136, */
2013 /* IDL: FRSRPC_COMMAND_SEND_STAGE=0x00000228, */
2014 /* IDL: } */
2017 /* IDL: enum { */
2018 /* IDL: FRSRPC_COMM_PKT_CHUNK_BOP=0x0001, */
2019 /* IDL: FRSRPC_COMM_PKT_CHUNK_COMMAND=0x0002, */
2020 /* IDL: FRSRPC_COMM_PKT_CHUNK_TO=0x0003, */
2021 /* IDL: FRSRPC_COMM_PKT_CHUNK_FROM=0x0004, */
2022 /* IDL: FRSRPC_COMM_PKT_CHUNK_REPLICA=0x0005, */
2023 /* IDL: FRSRPC_COMM_PKT_CHUNK_CONNECTION=0x0008, */
2024 /* IDL: FRSRPC_COMM_PKT_CHUNK_JOIN_GUID=0x0006, */
2025 /* IDL: FRSRPC_COMM_PKT_CHUNK_LAST_JOIN_TIME=0x0012, */
2026 /* IDL: FRSRPC_COMM_PKT_CHUNK_VVECTOR=0x0007, */
2027 /* IDL: FRSRPC_COMM_PKT_CHUNK_JOIN_TIME=0x0011, */
2028 /* IDL: FRSRPC_COMM_PKT_CHUNK_REPLICA_VERSION_GUID=0x0014, */
2029 /* IDL: FRSRPC_COMM_PKT_CHUNK_COMPRESSION_GUID=0x0018, */
2030 /* IDL: FRSRPC_COMM_PKT_CHUNK_BLOCK=0x0009, */
2031 /* IDL: FRSRPC_COMM_PKT_CHUNK_BLOCK_SIZE=0x000A, */
2032 /* IDL: FRSRPC_COMM_PKT_CHUNK_FILE_SIZE=0x000B, */
2033 /* IDL: FRSRPC_COMM_PKT_CHUNK_FILE_OFFSET=0x000C, */
2034 /* IDL: FRSRPC_COMM_PKT_CHUNK_GVSN=0x000E, */
2035 /* IDL: FRSRPC_COMM_PKT_CHUNK_CO_GUID=0x000F, */
2036 /* IDL: FRSRPC_COMM_PKT_CHUNK_CO_SEQUENCE_NUMBER=0x0010, */
2037 /* IDL: FRSRPC_COMM_PKT_CHUNK_REMOTE_CO=0x000D, */
2038 /* IDL: FRSRPC_COMM_PKT_CHUNK_CO_EXT_WIN2K=0x0016, */
2039 /* IDL: FRSRPC_COMM_PKT_CHUNK_CO_EXTENSION_2=0x0017, */
2040 /* IDL: FRSRPC_COMM_PKT_CHUNK_EOP=0x0013, */
2041 /* IDL: } */
2044 frsrpc_dissect_enum_CommPktChunkType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t *param _U_)
2046 uint32_t parameter=0;
2047 if (param) {
2048 parameter = *param;
2050 offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
2051 if (param) {
2052 *param = parameter;
2054 return offset;
2058 /* IDL: [nodiscriminant(1)] union { */
2059 /* IDL: [default] ; */
2060 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_BOP)] [case(FRSRPC_COMM_PKT_CHUNK_BOP)] [value(0)] uint32 bop; */
2061 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_COMMAND)] [case(FRSRPC_COMM_PKT_CHUNK_COMMAND)] frsrpc_CommPktCommand command; */
2062 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_TO)] [case(FRSRPC_COMM_PKT_CHUNK_TO)] frsrpc_CommPktChunkGuidName to; */
2063 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_FROM)] [case(FRSRPC_COMM_PKT_CHUNK_FROM)] frsrpc_CommPktChunkGuidName from; */
2064 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_REPLICA)] [case(FRSRPC_COMM_PKT_CHUNK_REPLICA)] frsrpc_CommPktChunkGuidName replica; */
2065 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_CONNECTION)] [case(FRSRPC_COMM_PKT_CHUNK_CONNECTION)] frsrpc_CommPktChunkGuidName connection; */
2066 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_JOIN_GUID)] [case(FRSRPC_COMM_PKT_CHUNK_JOIN_GUID)] [subcontext(4)] GUID join_guid; */
2067 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_LAST_JOIN_TIME)] [case(FRSRPC_COMM_PKT_CHUNK_LAST_JOIN_TIME)] NTTIME last_join_time; */
2068 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_VVECTOR)] [case(FRSRPC_COMM_PKT_CHUNK_VVECTOR)] [subcontext(4)] frsrpc_CommPktGSVN vvector; */
2069 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_JOIN_TIME)] [case(FRSRPC_COMM_PKT_CHUNK_JOIN_TIME)] [subcontext(4)] NTTIME join_time; */
2070 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_REPLICA_VERSION_GUID)] [case(FRSRPC_COMM_PKT_CHUNK_REPLICA_VERSION_GUID)] [subcontext(4)] GUID replica_version_guid; */
2071 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_COMPRESSION_GUID)] [case(FRSRPC_COMM_PKT_CHUNK_COMPRESSION_GUID)] GUID compression_guid; */
2072 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_BLOCK)] [case(FRSRPC_COMM_PKT_CHUNK_BLOCK)] [flag(LIBNDR_FLAG_REMAINING)] DATA_BLOB block; */
2073 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_BLOCK_SIZE)] [case(FRSRPC_COMM_PKT_CHUNK_BLOCK_SIZE)] hyper block_size; */
2074 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_FILE_SIZE)] [case(FRSRPC_COMM_PKT_CHUNK_FILE_SIZE)] hyper file_size; */
2075 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_FILE_OFFSET)] [case(FRSRPC_COMM_PKT_CHUNK_FILE_OFFSET)] hyper file_offset; */
2076 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_GVSN)] [case(FRSRPC_COMM_PKT_CHUNK_GVSN)] [subcontext(4)] frsrpc_CommPktGSVN gvsn; */
2077 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_CO_GUID)] [case(FRSRPC_COMM_PKT_CHUNK_CO_GUID)] [subcontext(4)] GUID co_guid; */
2078 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_CO_SEQUENCE_NUMBER)] [case(FRSRPC_COMM_PKT_CHUNK_CO_SEQUENCE_NUMBER)] uint32 co_sequence_number; */
2079 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_REMOTE_CO)] [case(FRSRPC_COMM_PKT_CHUNK_REMOTE_CO)] [subcontext(4)] frsrpc_CommPktChangeOrderCommand remote_co; */
2080 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_CO_EXT_WIN2K)] [case(FRSRPC_COMM_PKT_CHUNK_CO_EXT_WIN2K)] [subcontext(4)] frsrpc_CommPktCoRecordExtensionWin2k co_ext_win2k; */
2081 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_CO_EXTENSION_2)] [case(FRSRPC_COMM_PKT_CHUNK_CO_EXTENSION_2)] frsrpc_CommPktChangeOrderRecordExtension co_extension2; */
2082 /* IDL: [case(FRSRPC_COMM_PKT_CHUNK_EOP)] [case(FRSRPC_COMM_PKT_CHUNK_EOP)] [value(0xFFFFFFFF)] uint32 bopend; */
2083 /* IDL: } */
2085 static int
2086 frsrpc_dissect_element_CommPktChunkData_blob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2088 offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_blob, 1);
2090 return offset;
2093 static int
2094 frsrpc_dissect_element_CommPktChunkData_bop(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2096 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_bop, 0);
2098 return offset;
2101 static int
2102 frsrpc_dissect_element_CommPktChunkData_command(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2104 offset = frsrpc_dissect_enum_CommPktCommand(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_command, 0);
2106 return offset;
2109 static int
2110 frsrpc_dissect_element_CommPktChunkData_to(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2112 offset = frsrpc_dissect_struct_CommPktChunkGuidName(tvb,offset,pinfo,tree,di,drep,hf_frsrpc_frsrpc_CommPktChunkData_to,0);
2114 return offset;
2117 static int
2118 frsrpc_dissect_element_CommPktChunkData_from(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2120 offset = frsrpc_dissect_struct_CommPktChunkGuidName(tvb,offset,pinfo,tree,di,drep,hf_frsrpc_frsrpc_CommPktChunkData_from,0);
2122 return offset;
2125 static int
2126 frsrpc_dissect_element_CommPktChunkData_replica(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2128 offset = frsrpc_dissect_struct_CommPktChunkGuidName(tvb,offset,pinfo,tree,di,drep,hf_frsrpc_frsrpc_CommPktChunkData_replica,0);
2130 return offset;
2133 static int
2134 frsrpc_dissect_element_CommPktChunkData_connection(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2136 offset = frsrpc_dissect_struct_CommPktChunkGuidName(tvb,offset,pinfo,tree,di,drep,hf_frsrpc_frsrpc_CommPktChunkData_connection,0);
2138 return offset;
2141 static int
2142 frsrpc_dissect_element_CommPktChunkData_join_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2144 uint64_t size;
2145 int conformant = di->conformant_run;
2146 tvbuff_t *subtvb;
2148 if (!conformant) {
2149 uint32_t saved_flags = di->call_data->flags;
2150 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_join_guid_, &size);
2151 di->call_data->flags &= ~DCERPC_IS_NDR64;
2152 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
2153 frsrpc_dissect_element_CommPktChunkData_join_guid_(subtvb, 0, pinfo, tree, di, drep);
2154 offset += (int)size;
2155 di->call_data->flags = saved_flags;
2158 return offset;
2161 static int
2162 frsrpc_dissect_element_CommPktChunkData_join_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2164 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_join_guid, NULL);
2166 return offset;
2169 static int
2170 frsrpc_dissect_element_CommPktChunkData_last_join_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2172 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_last_join_time);
2174 return offset;
2177 static int
2178 frsrpc_dissect_element_CommPktChunkData_vvector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2180 uint64_t size;
2181 int conformant = di->conformant_run;
2182 tvbuff_t *subtvb;
2184 if (!conformant) {
2185 uint32_t saved_flags = di->call_data->flags;
2186 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_vvector_, &size);
2187 di->call_data->flags &= ~DCERPC_IS_NDR64;
2188 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
2189 frsrpc_dissect_element_CommPktChunkData_vvector_(subtvb, 0, pinfo, tree, di, drep);
2190 offset += (int)size;
2191 di->call_data->flags = saved_flags;
2194 return offset;
2197 static int
2198 frsrpc_dissect_element_CommPktChunkData_vvector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2200 offset = frsrpc_dissect_struct_CommPktGSVN(tvb,offset,pinfo,tree,di,drep,hf_frsrpc_frsrpc_CommPktChunkData_vvector,0);
2202 return offset;
2205 static int
2206 frsrpc_dissect_element_CommPktChunkData_join_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2208 uint64_t size;
2209 int conformant = di->conformant_run;
2210 tvbuff_t *subtvb;
2212 if (!conformant) {
2213 uint32_t saved_flags = di->call_data->flags;
2214 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_join_time_, &size);
2215 di->call_data->flags &= ~DCERPC_IS_NDR64;
2216 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
2217 frsrpc_dissect_element_CommPktChunkData_join_time_(subtvb, 0, pinfo, tree, di, drep);
2218 offset += (int)size;
2219 di->call_data->flags = saved_flags;
2222 return offset;
2225 static int
2226 frsrpc_dissect_element_CommPktChunkData_join_time_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2228 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_join_time);
2230 return offset;
2233 static int
2234 frsrpc_dissect_element_CommPktChunkData_replica_version_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2236 uint64_t size;
2237 int conformant = di->conformant_run;
2238 tvbuff_t *subtvb;
2240 if (!conformant) {
2241 uint32_t saved_flags = di->call_data->flags;
2242 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_replica_version_guid_, &size);
2243 di->call_data->flags &= ~DCERPC_IS_NDR64;
2244 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
2245 frsrpc_dissect_element_CommPktChunkData_replica_version_guid_(subtvb, 0, pinfo, tree, di, drep);
2246 offset += (int)size;
2247 di->call_data->flags = saved_flags;
2250 return offset;
2253 static int
2254 frsrpc_dissect_element_CommPktChunkData_replica_version_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2256 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_replica_version_guid, NULL);
2258 return offset;
2261 static int
2262 frsrpc_dissect_element_CommPktChunkData_compression_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2264 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_compression_guid, NULL);
2266 return offset;
2269 static int
2270 frsrpc_dissect_element_CommPktChunkData_block(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2272 offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_block, 1);
2274 return offset;
2277 static int
2278 frsrpc_dissect_element_CommPktChunkData_block_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2280 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_block_size, NULL);
2282 return offset;
2285 static int
2286 frsrpc_dissect_element_CommPktChunkData_file_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2288 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_file_size, NULL);
2290 return offset;
2293 static int
2294 frsrpc_dissect_element_CommPktChunkData_file_offset(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2296 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_file_offset, NULL);
2298 return offset;
2301 static int
2302 frsrpc_dissect_element_CommPktChunkData_gvsn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2304 uint64_t size;
2305 int conformant = di->conformant_run;
2306 tvbuff_t *subtvb;
2308 if (!conformant) {
2309 uint32_t saved_flags = di->call_data->flags;
2310 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_gvsn_, &size);
2311 di->call_data->flags &= ~DCERPC_IS_NDR64;
2312 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
2313 frsrpc_dissect_element_CommPktChunkData_gvsn_(subtvb, 0, pinfo, tree, di, drep);
2314 offset += (int)size;
2315 di->call_data->flags = saved_flags;
2318 return offset;
2321 static int
2322 frsrpc_dissect_element_CommPktChunkData_gvsn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2324 offset = frsrpc_dissect_struct_CommPktGSVN(tvb,offset,pinfo,tree,di,drep,hf_frsrpc_frsrpc_CommPktChunkData_gvsn,0);
2326 return offset;
2329 static int
2330 frsrpc_dissect_element_CommPktChunkData_co_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2332 uint64_t size;
2333 int conformant = di->conformant_run;
2334 tvbuff_t *subtvb;
2336 if (!conformant) {
2337 uint32_t saved_flags = di->call_data->flags;
2338 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_co_guid_, &size);
2339 di->call_data->flags &= ~DCERPC_IS_NDR64;
2340 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
2341 frsrpc_dissect_element_CommPktChunkData_co_guid_(subtvb, 0, pinfo, tree, di, drep);
2342 offset += (int)size;
2343 di->call_data->flags = saved_flags;
2346 return offset;
2349 static int
2350 frsrpc_dissect_element_CommPktChunkData_co_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2352 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_co_guid, NULL);
2354 return offset;
2357 static int
2358 frsrpc_dissect_element_CommPktChunkData_co_sequence_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2360 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_co_sequence_number, 0);
2362 return offset;
2365 static int
2366 frsrpc_dissect_element_CommPktChunkData_remote_co(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2368 uint64_t size;
2369 int conformant = di->conformant_run;
2370 tvbuff_t *subtvb;
2372 if (!conformant) {
2373 uint32_t saved_flags = di->call_data->flags;
2374 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_remote_co_, &size);
2375 di->call_data->flags &= ~DCERPC_IS_NDR64;
2376 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
2377 frsrpc_dissect_element_CommPktChunkData_remote_co_(subtvb, 0, pinfo, tree, di, drep);
2378 offset += (int)size;
2379 di->call_data->flags = saved_flags;
2382 return offset;
2385 static int
2386 frsrpc_dissect_element_CommPktChunkData_remote_co_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2388 offset = frsrpc_dissect_struct_CommPktChangeOrderCommand(tvb,offset,pinfo,tree,di,drep,hf_frsrpc_frsrpc_CommPktChunkData_remote_co,0);
2390 return offset;
2393 static int
2394 frsrpc_dissect_element_CommPktChunkData_co_ext_win2k(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2396 uint64_t size;
2397 int conformant = di->conformant_run;
2398 tvbuff_t *subtvb;
2400 if (!conformant) {
2401 uint32_t saved_flags = di->call_data->flags;
2402 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_co_ext_win2k_, &size);
2403 di->call_data->flags &= ~DCERPC_IS_NDR64;
2404 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
2405 frsrpc_dissect_element_CommPktChunkData_co_ext_win2k_(subtvb, 0, pinfo, tree, di, drep);
2406 offset += (int)size;
2407 di->call_data->flags = saved_flags;
2410 return offset;
2413 static int
2414 frsrpc_dissect_element_CommPktChunkData_co_ext_win2k_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2416 offset = frsrpc_dissect_struct_CommPktCoRecordExtensionWin2k(tvb,offset,pinfo,tree,di,drep,hf_frsrpc_frsrpc_CommPktChunkData_co_ext_win2k,0);
2418 return offset;
2421 static int
2422 frsrpc_dissect_element_CommPktChunkData_co_extension2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2424 offset = frsrpc_dissect_struct_CommPktChangeOrderRecordExtension(tvb,offset,pinfo,tree,di,drep,hf_frsrpc_frsrpc_CommPktChunkData_co_extension2,0);
2426 return offset;
2429 static int
2430 frsrpc_dissect_element_CommPktChunkData_bopend(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2432 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunkData_bopend, 0);
2434 return offset;
2437 static int
2438 frsrpc_dissect_CommPktChunkData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
2440 proto_item *item = NULL;
2441 proto_tree *tree = NULL;
2442 int old_offset;
2443 uint32_t level = param;
2445 old_offset = offset;
2446 if (parent_tree) {
2447 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_frsrpc_frsrpc_CommPktChunkData, &item, "frsrpc_CommPktChunkData");
2450 UNION_ALIGN_TO_8_BYTES;
2452 switch(level) {
2453 default:
2454 offset = frsrpc_dissect_element_CommPktChunkData_blob(tvb, offset, pinfo, tree, di, drep);
2455 break;
2457 case FRSRPC_COMM_PKT_CHUNK_BOP:
2458 offset = frsrpc_dissect_element_CommPktChunkData_bop(tvb, offset, pinfo, tree, di, drep);
2459 break;
2461 case FRSRPC_COMM_PKT_CHUNK_COMMAND:
2462 offset = frsrpc_dissect_element_CommPktChunkData_command(tvb, offset, pinfo, tree, di, drep);
2463 break;
2465 case FRSRPC_COMM_PKT_CHUNK_TO:
2466 offset = frsrpc_dissect_element_CommPktChunkData_to(tvb, offset, pinfo, tree, di, drep);
2467 break;
2469 case FRSRPC_COMM_PKT_CHUNK_FROM:
2470 offset = frsrpc_dissect_element_CommPktChunkData_from(tvb, offset, pinfo, tree, di, drep);
2471 break;
2473 case FRSRPC_COMM_PKT_CHUNK_REPLICA:
2474 offset = frsrpc_dissect_element_CommPktChunkData_replica(tvb, offset, pinfo, tree, di, drep);
2475 break;
2477 case FRSRPC_COMM_PKT_CHUNK_CONNECTION:
2478 offset = frsrpc_dissect_element_CommPktChunkData_connection(tvb, offset, pinfo, tree, di, drep);
2479 break;
2481 case FRSRPC_COMM_PKT_CHUNK_JOIN_GUID:
2482 offset = frsrpc_dissect_element_CommPktChunkData_join_guid(tvb, offset, pinfo, tree, di, drep);
2483 break;
2485 case FRSRPC_COMM_PKT_CHUNK_LAST_JOIN_TIME:
2486 offset = frsrpc_dissect_element_CommPktChunkData_last_join_time(tvb, offset, pinfo, tree, di, drep);
2487 break;
2489 case FRSRPC_COMM_PKT_CHUNK_VVECTOR:
2490 offset = frsrpc_dissect_element_CommPktChunkData_vvector(tvb, offset, pinfo, tree, di, drep);
2491 break;
2493 case FRSRPC_COMM_PKT_CHUNK_JOIN_TIME:
2494 offset = frsrpc_dissect_element_CommPktChunkData_join_time(tvb, offset, pinfo, tree, di, drep);
2495 break;
2497 case FRSRPC_COMM_PKT_CHUNK_REPLICA_VERSION_GUID:
2498 offset = frsrpc_dissect_element_CommPktChunkData_replica_version_guid(tvb, offset, pinfo, tree, di, drep);
2499 break;
2501 case FRSRPC_COMM_PKT_CHUNK_COMPRESSION_GUID:
2502 offset = frsrpc_dissect_element_CommPktChunkData_compression_guid(tvb, offset, pinfo, tree, di, drep);
2503 break;
2505 case FRSRPC_COMM_PKT_CHUNK_BLOCK:
2506 offset = frsrpc_dissect_element_CommPktChunkData_block(tvb, offset, pinfo, tree, di, drep);
2507 break;
2509 case FRSRPC_COMM_PKT_CHUNK_BLOCK_SIZE:
2510 offset = frsrpc_dissect_element_CommPktChunkData_block_size(tvb, offset, pinfo, tree, di, drep);
2511 break;
2513 case FRSRPC_COMM_PKT_CHUNK_FILE_SIZE:
2514 offset = frsrpc_dissect_element_CommPktChunkData_file_size(tvb, offset, pinfo, tree, di, drep);
2515 break;
2517 case FRSRPC_COMM_PKT_CHUNK_FILE_OFFSET:
2518 offset = frsrpc_dissect_element_CommPktChunkData_file_offset(tvb, offset, pinfo, tree, di, drep);
2519 break;
2521 case FRSRPC_COMM_PKT_CHUNK_GVSN:
2522 offset = frsrpc_dissect_element_CommPktChunkData_gvsn(tvb, offset, pinfo, tree, di, drep);
2523 break;
2525 case FRSRPC_COMM_PKT_CHUNK_CO_GUID:
2526 offset = frsrpc_dissect_element_CommPktChunkData_co_guid(tvb, offset, pinfo, tree, di, drep);
2527 break;
2529 case FRSRPC_COMM_PKT_CHUNK_CO_SEQUENCE_NUMBER:
2530 offset = frsrpc_dissect_element_CommPktChunkData_co_sequence_number(tvb, offset, pinfo, tree, di, drep);
2531 break;
2533 case FRSRPC_COMM_PKT_CHUNK_REMOTE_CO:
2534 offset = frsrpc_dissect_element_CommPktChunkData_remote_co(tvb, offset, pinfo, tree, di, drep);
2535 break;
2537 case FRSRPC_COMM_PKT_CHUNK_CO_EXT_WIN2K:
2538 offset = frsrpc_dissect_element_CommPktChunkData_co_ext_win2k(tvb, offset, pinfo, tree, di, drep);
2539 break;
2541 case FRSRPC_COMM_PKT_CHUNK_CO_EXTENSION_2:
2542 offset = frsrpc_dissect_element_CommPktChunkData_co_extension2(tvb, offset, pinfo, tree, di, drep);
2543 break;
2545 case FRSRPC_COMM_PKT_CHUNK_EOP:
2546 offset = frsrpc_dissect_element_CommPktChunkData_bopend(tvb, offset, pinfo, tree, di, drep);
2547 break;
2549 proto_item_set_len(item, offset-old_offset);
2552 return offset;
2555 /* IDL: struct { */
2556 /* IDL: frsrpc_CommPktChunkType type; */
2557 /* IDL: [subcontext(4)] [switch_is(type)] frsrpc_CommPktChunkData data; */
2558 /* IDL: } */
2560 static int
2561 frsrpc_dissect_element_CommPktChunk_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *type)
2563 offset = frsrpc_dissect_enum_CommPktChunkType(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunk_type, type);
2565 return offset;
2568 static int
2569 frsrpc_dissect_element_CommPktChunk_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t type)
2571 uint64_t size;
2572 int conformant = di->conformant_run;
2573 tvbuff_t *subtvb;
2575 if (!conformant) {
2576 uint32_t saved_flags = di->call_data->flags;
2577 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunk_data_, &size);
2578 di->call_data->flags &= ~DCERPC_IS_NDR64;
2579 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
2580 frsrpc_dissect_element_CommPktChunk_data_(subtvb, 0, pinfo, tree, di, drep, type);
2581 offset += (int)size;
2582 di->call_data->flags = saved_flags;
2585 return offset;
2588 static int
2589 frsrpc_dissect_element_CommPktChunk_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t type)
2591 offset = frsrpc_dissect_CommPktChunkData(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_CommPktChunk_data, type);
2593 return offset;
2597 /* IDL: struct { */
2598 /* IDL: uint32 num_chunks; */
2599 /* IDL: frsrpc_CommPktChunk chunks[num_chunks]; */
2600 /* IDL: } */
2603 /* IDL: enum { */
2604 /* IDL: FRSRPC_COMM_PKT_MAJOR_0=0x00000000, */
2605 /* IDL: } */
2608 frsrpc_dissect_enum_CommPktMajor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t *param _U_)
2610 uint32_t parameter=0;
2611 if (param) {
2612 parameter = *param;
2614 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
2615 if (param) {
2616 *param = parameter;
2618 return offset;
2622 /* IDL: enum { */
2623 /* IDL: FRSRPC_COMM_PKT_MINOR_0=0x00000000, */
2624 /* IDL: FRSRPC_COMM_PKT_MINOR_1=0x00000001, */
2625 /* IDL: FRSRPC_COMM_PKT_MINOR_2=0x00000002, */
2626 /* IDL: FRSRPC_COMM_PKT_MINOR_3=0x00000003, */
2627 /* IDL: FRSRPC_COMM_PKT_MINOR_4=0x00000004, */
2628 /* IDL: FRSRPC_COMM_PKT_MINOR_5=0x00000005, */
2629 /* IDL: FRSRPC_COMM_PKT_MINOR_6=0x00000006, */
2630 /* IDL: FRSRPC_COMM_PKT_MINOR_7=0x00000007, */
2631 /* IDL: FRSRPC_COMM_PKT_MINOR_8=0x00000008, */
2632 /* IDL: FRSRPC_COMM_PKT_MINOR_9=0x00000009, */
2633 /* IDL: } */
2636 frsrpc_dissect_enum_CommPktMinor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t *param _U_)
2638 uint32_t parameter=0;
2639 if (param) {
2640 parameter = *param;
2642 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
2643 if (param) {
2644 *param = parameter;
2646 return offset;
2650 /* IDL: struct { */
2651 /* IDL: frsrpc_CommPktMajor major; */
2652 /* IDL: frsrpc_CommPktMinor minor; */
2653 /* IDL: [value(1)] uint32 cs_id; */
2654 /* IDL: [value(pkt_len+12)] uint32 memory_len; */
2655 /* IDL: [range(0,262144)] [value(ndr_size_frsrpc_CommPktChunkCtr(r->ctr,ndr->flags))] uint32 pkt_len; */
2656 /* IDL: [value(0)] uint32 upk_len; */
2657 /* IDL: [subcontext(4)] [subcontext_size(pkt_len)] [unique(1)] frsrpc_CommPktChunkCtr *ctr; */
2658 /* IDL: [value(0)] uint3264 data_name; */
2659 /* IDL: [value(0)] uint3264 data_handle; */
2660 /* IDL: } */
2662 static int
2663 frsrpc_dissect_element_FrsSendCommPktReq_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2665 offset = frsrpc_dissect_enum_CommPktMajor(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsSendCommPktReq_major, 0);
2667 return offset;
2670 static int
2671 frsrpc_dissect_element_FrsSendCommPktReq_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2673 offset = frsrpc_dissect_enum_CommPktMinor(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsSendCommPktReq_minor, 0);
2675 return offset;
2678 static int
2679 frsrpc_dissect_element_FrsSendCommPktReq_cs_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2681 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsSendCommPktReq_cs_id, 0);
2683 return offset;
2686 static int
2687 frsrpc_dissect_element_FrsSendCommPktReq_memory_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2689 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsSendCommPktReq_memory_len, 0);
2691 return offset;
2694 static int
2695 frsrpc_dissect_element_FrsSendCommPktReq_pkt_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2697 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsSendCommPktReq_pkt_len, 0);
2699 return offset;
2702 static int
2703 frsrpc_dissect_element_FrsSendCommPktReq_upk_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2705 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsSendCommPktReq_upk_len, 0);
2707 return offset;
2710 static int
2711 frsrpc_dissect_element_FrsSendCommPktReq_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2713 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsSendCommPktReq_ctr_, NDR_POINTER_UNIQUE, "Pointer to Ctr (frsrpc_CommPktChunkCtr)",hf_frsrpc_frsrpc_FrsSendCommPktReq_ctr);
2715 return offset;
2718 static int
2719 frsrpc_dissect_element_FrsSendCommPktReq_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2721 uint64_t size;
2722 int conformant = di->conformant_run;
2723 tvbuff_t *subtvb;
2725 if (!conformant) {
2726 uint32_t saved_flags = di->call_data->flags;
2727 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsSendCommPktReq_ctr_, &size);
2728 di->call_data->flags &= ~DCERPC_IS_NDR64;
2729 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
2730 frsrpc_dissect_element_FrsSendCommPktReq_ctr__(subtvb, 0, pinfo, tree, di, drep);
2731 offset += (int)size;
2732 di->call_data->flags = saved_flags;
2735 return offset;
2738 static int
2739 frsrpc_dissect_element_FrsSendCommPktReq_ctr__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2741 offset = frsrpc_dissect_struct_frsrpc_CommPktChunkCtr(tvb,offset,pinfo,tree,di,drep,hf_frsrpc_frsrpc_FrsSendCommPktReq_ctr,0);
2743 return offset;
2746 static int
2747 frsrpc_dissect_element_FrsSendCommPktReq_data_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2749 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsSendCommPktReq_data_name, NULL);
2751 return offset;
2754 static int
2755 frsrpc_dissect_element_FrsSendCommPktReq_data_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2757 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsSendCommPktReq_data_handle, NULL);
2759 return offset;
2763 frsrpc_dissect_struct_FrsSendCommPktReq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
2765 proto_item *item = NULL;
2766 proto_tree *tree = NULL;
2767 int old_offset;
2769 ALIGN_TO_5_BYTES;
2771 old_offset = offset;
2773 if (parent_tree) {
2774 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2775 tree = proto_item_add_subtree(item, ett_frsrpc_frsrpc_FrsSendCommPktReq);
2778 offset = frsrpc_dissect_element_FrsSendCommPktReq_major(tvb, offset, pinfo, tree, di, drep);
2780 offset = frsrpc_dissect_element_FrsSendCommPktReq_minor(tvb, offset, pinfo, tree, di, drep);
2782 offset = frsrpc_dissect_element_FrsSendCommPktReq_cs_id(tvb, offset, pinfo, tree, di, drep);
2784 offset = frsrpc_dissect_element_FrsSendCommPktReq_memory_len(tvb, offset, pinfo, tree, di, drep);
2786 offset = frsrpc_dissect_element_FrsSendCommPktReq_pkt_len(tvb, offset, pinfo, tree, di, drep);
2788 offset = frsrpc_dissect_element_FrsSendCommPktReq_upk_len(tvb, offset, pinfo, tree, di, drep);
2790 offset = frsrpc_dissect_element_FrsSendCommPktReq_ctr(tvb, offset, pinfo, tree, di, drep);
2792 offset = frsrpc_dissect_element_FrsSendCommPktReq_data_name(tvb, offset, pinfo, tree, di, drep);
2794 offset = frsrpc_dissect_element_FrsSendCommPktReq_data_handle(tvb, offset, pinfo, tree, di, drep);
2797 proto_item_set_len(item, offset-old_offset);
2800 if (di->call_data->flags & DCERPC_IS_NDR64) {
2801 ALIGN_TO_5_BYTES;
2804 return offset;
2808 /* IDL: enum { */
2809 /* IDL: FRSRPC_PARENT_AUTH_LEVEL_ENCRYPTED_KERBEROS=0x00000000, */
2810 /* IDL: FRSRPC_PARENT_AUTH_LEVEL_NO_AUTHENTICATION=0x00000001, */
2811 /* IDL: } */
2814 frsrpc_dissect_enum_PartnerAuthLevel(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t *param _U_)
2816 uint32_t parameter=0;
2817 if (param) {
2818 parameter = *param;
2820 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
2821 if (param) {
2822 *param = parameter;
2824 return offset;
2827 static int
2828 frsrpc_dissect_element_FrsSendCommPkt_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2830 offset = frsrpc_dissect_struct_FrsSendCommPktReq(tvb,offset,pinfo,tree,di,drep,hf_frsrpc_frsrpc_FrsSendCommPkt_req,0);
2832 return offset;
2835 /* IDL: WERROR frsrpc_FrsSendCommPkt( */
2836 /* IDL: [in] frsrpc_FrsSendCommPktReq req */
2837 /* IDL: ); */
2839 static int
2840 frsrpc_dissect_FrsSendCommPkt_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2842 uint32_t status;
2844 di->dcerpc_procedure_name="FrsSendCommPkt";
2845 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_werror, &status);
2847 if (status != 0)
2848 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2850 return offset;
2853 static int
2854 frsrpc_dissect_FrsSendCommPkt_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2856 di->dcerpc_procedure_name="FrsSendCommPkt";
2857 offset = frsrpc_dissect_element_FrsSendCommPkt_req(tvb, offset, pinfo, tree, di, drep);
2858 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2859 return offset;
2862 static int
2863 frsrpc_dissect_element_FrsVerifyPromotionParent_parent_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2865 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsVerifyPromotionParent_parent_account_, NDR_POINTER_UNIQUE, "Pointer to Parent Account (uint16)",hf_frsrpc_frsrpc_FrsVerifyPromotionParent_parent_account);
2867 return offset;
2870 static int
2871 frsrpc_dissect_element_FrsVerifyPromotionParent_parent_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2873 char *data = NULL;
2874 struct ndr_generic_array nga = { .is_conformant = false, };
2876 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2878 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2879 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_frsrpc_frsrpc_FrsVerifyPromotionParent_parent_account, false, &nga, &data);
2880 proto_item_append_text(tree, ": %s", data);
2882 return offset;
2885 static int
2886 frsrpc_dissect_element_FrsVerifyPromotionParent_parent_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2888 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsVerifyPromotionParent_parent_password_, NDR_POINTER_UNIQUE, "Pointer to Parent Password (uint16)",hf_frsrpc_frsrpc_FrsVerifyPromotionParent_parent_password);
2890 return offset;
2893 static int
2894 frsrpc_dissect_element_FrsVerifyPromotionParent_parent_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2896 char *data = NULL;
2897 struct ndr_generic_array nga = { .is_conformant = false, };
2899 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2901 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2902 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_frsrpc_frsrpc_FrsVerifyPromotionParent_parent_password, false, &nga, &data);
2903 proto_item_append_text(tree, ": %s", data);
2905 return offset;
2908 static int
2909 frsrpc_dissect_element_FrsVerifyPromotionParent_replica_set_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2911 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsVerifyPromotionParent_replica_set_name_, NDR_POINTER_UNIQUE, "Pointer to Replica Set Name (uint16)",hf_frsrpc_frsrpc_FrsVerifyPromotionParent_replica_set_name);
2913 return offset;
2916 static int
2917 frsrpc_dissect_element_FrsVerifyPromotionParent_replica_set_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2919 char *data = NULL;
2920 struct ndr_generic_array nga = { .is_conformant = false, };
2922 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2924 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2925 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_frsrpc_frsrpc_FrsVerifyPromotionParent_replica_set_name, false, &nga, &data);
2926 proto_item_append_text(tree, ": %s", data);
2928 return offset;
2931 static int
2932 frsrpc_dissect_element_FrsVerifyPromotionParent_replica_set_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2934 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsVerifyPromotionParent_replica_set_type_, NDR_POINTER_UNIQUE, "Pointer to Replica Set Type (uint16)",hf_frsrpc_frsrpc_FrsVerifyPromotionParent_replica_set_type);
2936 return offset;
2939 static int
2940 frsrpc_dissect_element_FrsVerifyPromotionParent_replica_set_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2942 char *data = NULL;
2943 struct ndr_generic_array nga = { .is_conformant = false, };
2945 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2947 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2948 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_frsrpc_frsrpc_FrsVerifyPromotionParent_replica_set_type, false, &nga, &data);
2949 proto_item_append_text(tree, ": %s", data);
2951 return offset;
2954 static int
2955 frsrpc_dissect_element_FrsVerifyPromotionParent_partner_auth_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2957 offset = frsrpc_dissect_enum_PartnerAuthLevel(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsVerifyPromotionParent_partner_auth_level, 0);
2959 return offset;
2962 static int
2963 frsrpc_dissect_element_FrsVerifyPromotionParent___ndr_guid_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2965 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsVerifyPromotionParent___ndr_guid_size, 0);
2967 return offset;
2970 /* IDL: WERROR frsrpc_FrsVerifyPromotionParent( */
2971 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *parent_account, */
2972 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *parent_password, */
2973 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *replica_set_name, */
2974 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *replica_set_type, */
2975 /* IDL: [in] frsrpc_PartnerAuthLevel partner_auth_level, */
2976 /* IDL: [in] uint32 __ndr_guid_size */
2977 /* IDL: ); */
2979 static int
2980 frsrpc_dissect_FrsVerifyPromotionParent_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2982 uint32_t status;
2984 di->dcerpc_procedure_name="FrsVerifyPromotionParent";
2985 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_werror, &status);
2987 if (status != 0)
2988 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2990 return offset;
2993 static int
2994 frsrpc_dissect_FrsVerifyPromotionParent_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2996 di->dcerpc_procedure_name="FrsVerifyPromotionParent";
2997 offset = frsrpc_dissect_element_FrsVerifyPromotionParent_parent_account(tvb, offset, pinfo, tree, di, drep);
2998 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2999 offset = frsrpc_dissect_element_FrsVerifyPromotionParent_parent_password(tvb, offset, pinfo, tree, di, drep);
3000 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3001 offset = frsrpc_dissect_element_FrsVerifyPromotionParent_replica_set_name(tvb, offset, pinfo, tree, di, drep);
3002 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3003 offset = frsrpc_dissect_element_FrsVerifyPromotionParent_replica_set_type(tvb, offset, pinfo, tree, di, drep);
3004 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3005 offset = frsrpc_dissect_element_FrsVerifyPromotionParent_partner_auth_level(tvb, offset, pinfo, tree, di, drep);
3006 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3007 offset = frsrpc_dissect_element_FrsVerifyPromotionParent___ndr_guid_size(tvb, offset, pinfo, tree, di, drep);
3008 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3009 return offset;
3012 static int
3013 frsrpc_dissect_element_FrsStartPromotionParent_parent_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3015 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsStartPromotionParent_parent_account_, NDR_POINTER_UNIQUE, "Pointer to Parent Account (uint16)",hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_account);
3017 return offset;
3020 static int
3021 frsrpc_dissect_element_FrsStartPromotionParent_parent_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3023 char *data = NULL;
3024 struct ndr_generic_array nga = { .is_conformant = false, };
3026 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3028 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3029 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_account, false, &nga, &data);
3030 proto_item_append_text(tree, ": %s", data);
3032 return offset;
3035 static int
3036 frsrpc_dissect_element_FrsStartPromotionParent_parent_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3038 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsStartPromotionParent_parent_password_, NDR_POINTER_UNIQUE, "Pointer to Parent Password (uint16)",hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_password);
3040 return offset;
3043 static int
3044 frsrpc_dissect_element_FrsStartPromotionParent_parent_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3046 char *data = NULL;
3047 struct ndr_generic_array nga = { .is_conformant = false, };
3049 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3051 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3052 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_password, false, &nga, &data);
3053 proto_item_append_text(tree, ": %s", data);
3055 return offset;
3058 static int
3059 frsrpc_dissect_element_FrsStartPromotionParent_replica_set_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3061 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsStartPromotionParent_replica_set_name_, NDR_POINTER_UNIQUE, "Pointer to Replica Set Name (uint16)",hf_frsrpc_frsrpc_FrsStartPromotionParent_replica_set_name);
3063 return offset;
3066 static int
3067 frsrpc_dissect_element_FrsStartPromotionParent_replica_set_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3069 char *data = NULL;
3070 struct ndr_generic_array nga = { .is_conformant = false, };
3072 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3074 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3075 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_frsrpc_frsrpc_FrsStartPromotionParent_replica_set_name, false, &nga, &data);
3076 proto_item_append_text(tree, ": %s", data);
3078 return offset;
3081 static int
3082 frsrpc_dissect_element_FrsStartPromotionParent_replica_set_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3084 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsStartPromotionParent_replica_set_type_, NDR_POINTER_UNIQUE, "Pointer to Replica Set Type (uint16)",hf_frsrpc_frsrpc_FrsStartPromotionParent_replica_set_type);
3086 return offset;
3089 static int
3090 frsrpc_dissect_element_FrsStartPromotionParent_replica_set_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3092 char *data = NULL;
3093 struct ndr_generic_array nga = { .is_conformant = false, };
3095 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3097 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3098 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_frsrpc_frsrpc_FrsStartPromotionParent_replica_set_type, false, &nga, &data);
3099 proto_item_append_text(tree, ": %s", data);
3101 return offset;
3104 static int
3105 frsrpc_dissect_element_FrsStartPromotionParent_connection_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3107 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsStartPromotionParent_connection_name_, NDR_POINTER_UNIQUE, "Pointer to Connection Name (uint16)",hf_frsrpc_frsrpc_FrsStartPromotionParent_connection_name);
3109 return offset;
3112 static int
3113 frsrpc_dissect_element_FrsStartPromotionParent_connection_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3115 char *data = NULL;
3116 struct ndr_generic_array nga = { .is_conformant = false, };
3118 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3120 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3121 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_frsrpc_frsrpc_FrsStartPromotionParent_connection_name, false, &nga, &data);
3122 proto_item_append_text(tree, ": %s", data);
3124 return offset;
3127 static int
3128 frsrpc_dissect_element_FrsStartPromotionParent_partner_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3130 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsStartPromotionParent_partner_name_, NDR_POINTER_UNIQUE, "Pointer to Partner Name (uint16)",hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_name);
3132 return offset;
3135 static int
3136 frsrpc_dissect_element_FrsStartPromotionParent_partner_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3138 char *data = NULL;
3139 struct ndr_generic_array nga = { .is_conformant = false, };
3141 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3143 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3144 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_name, false, &nga, &data);
3145 proto_item_append_text(tree, ": %s", data);
3147 return offset;
3150 static int
3151 frsrpc_dissect_element_FrsStartPromotionParent_partner_princ_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3153 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsStartPromotionParent_partner_princ_name_, NDR_POINTER_UNIQUE, "Pointer to Partner Princ Name (uint16)",hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_princ_name);
3155 return offset;
3158 static int
3159 frsrpc_dissect_element_FrsStartPromotionParent_partner_princ_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3161 char *data = NULL;
3162 struct ndr_generic_array nga = { .is_conformant = false, };
3164 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3166 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3167 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_princ_name, false, &nga, &data);
3168 proto_item_append_text(tree, ": %s", data);
3170 return offset;
3173 static int
3174 frsrpc_dissect_element_FrsStartPromotionParent_partner_auth_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3176 offset = frsrpc_dissect_enum_PartnerAuthLevel(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_auth_level, 0);
3178 return offset;
3181 static int
3182 frsrpc_dissect_element_FrsStartPromotionParent___ndr_guid_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3184 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsStartPromotionParent___ndr_guid_size, 0);
3186 return offset;
3189 static int
3190 frsrpc_dissect_element_FrsStartPromotionParent_connection_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3192 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsStartPromotionParent_connection_guid_, NDR_POINTER_UNIQUE, "Pointer to Connection Guid (GUID)",hf_frsrpc_frsrpc_FrsStartPromotionParent_connection_guid);
3194 return offset;
3197 static int
3198 frsrpc_dissect_element_FrsStartPromotionParent_connection_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3200 uint64_t size;
3201 int conformant = di->conformant_run;
3202 tvbuff_t *subtvb;
3204 if (!conformant) {
3205 uint32_t saved_flags = di->call_data->flags;
3206 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsStartPromotionParent_connection_guid_, &size);
3207 di->call_data->flags &= ~DCERPC_IS_NDR64;
3208 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
3209 frsrpc_dissect_element_FrsStartPromotionParent_connection_guid__(subtvb, 0, pinfo, tree, di, drep);
3210 offset += (int)size;
3211 di->call_data->flags = saved_flags;
3214 return offset;
3217 static int
3218 frsrpc_dissect_element_FrsStartPromotionParent_connection_guid__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3220 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsStartPromotionParent_connection_guid, NULL);
3222 return offset;
3225 static int
3226 frsrpc_dissect_element_FrsStartPromotionParent_partner_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3228 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsStartPromotionParent_partner_guid_, NDR_POINTER_UNIQUE, "Pointer to Partner Guid (GUID)",hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_guid);
3230 return offset;
3233 static int
3234 frsrpc_dissect_element_FrsStartPromotionParent_partner_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3236 uint64_t size;
3237 int conformant = di->conformant_run;
3238 tvbuff_t *subtvb;
3240 if (!conformant) {
3241 uint32_t saved_flags = di->call_data->flags;
3242 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_guid_, &size);
3243 di->call_data->flags &= ~DCERPC_IS_NDR64;
3244 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
3245 frsrpc_dissect_element_FrsStartPromotionParent_partner_guid__(subtvb, 0, pinfo, tree, di, drep);
3246 offset += (int)size;
3247 di->call_data->flags = saved_flags;
3250 return offset;
3253 static int
3254 frsrpc_dissect_element_FrsStartPromotionParent_partner_guid__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3256 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_guid, NULL);
3258 return offset;
3261 static int
3262 frsrpc_dissect_element_FrsStartPromotionParent_parent_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3264 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, frsrpc_dissect_element_FrsStartPromotionParent_parent_guid_, NDR_POINTER_UNIQUE, "Pointer to Parent Guid (GUID)",hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_guid);
3266 return offset;
3269 static int
3270 frsrpc_dissect_element_FrsStartPromotionParent_parent_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3272 uint64_t size;
3273 int conformant = di->conformant_run;
3274 tvbuff_t *subtvb;
3276 if (!conformant) {
3277 uint32_t saved_flags = di->call_data->flags;
3278 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_guid_, &size);
3279 di->call_data->flags &= ~DCERPC_IS_NDR64;
3280 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
3281 frsrpc_dissect_element_FrsStartPromotionParent_parent_guid__(subtvb, 0, pinfo, tree, di, drep);
3282 offset += (int)size;
3283 di->call_data->flags = saved_flags;
3286 return offset;
3289 static int
3290 frsrpc_dissect_element_FrsStartPromotionParent_parent_guid__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3292 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_guid, NULL);
3294 return offset;
3297 /* IDL: WERROR frsrpc_FrsStartPromotionParent( */
3298 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *parent_account, */
3299 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *parent_password, */
3300 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *replica_set_name, */
3301 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *replica_set_type, */
3302 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *connection_name, */
3303 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *partner_name, */
3304 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *partner_princ_name, */
3305 /* IDL: [in] frsrpc_PartnerAuthLevel partner_auth_level, */
3306 /* IDL: [in] [range(16,16)] [value(16)] uint32 __ndr_guid_size, */
3307 /* IDL: [in] [subcontext(4)] [subcontext_size(16)] [unique(1)] GUID *connection_guid, */
3308 /* IDL: [in] [subcontext(4)] [subcontext_size(16)] [unique(1)] GUID *partner_guid, */
3309 /* IDL: [in] [out] [subcontext(4)] [subcontext_size(16)] [unique(1)] GUID *parent_guid */
3310 /* IDL: ); */
3312 static int
3313 frsrpc_dissect_FrsStartPromotionParent_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3315 uint32_t status;
3317 di->dcerpc_procedure_name="FrsStartPromotionParent";
3318 offset = frsrpc_dissect_element_FrsStartPromotionParent_parent_guid(tvb, offset, pinfo, tree, di, drep);
3319 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3321 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_werror, &status);
3323 if (status != 0)
3324 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3326 return offset;
3329 static int
3330 frsrpc_dissect_FrsStartPromotionParent_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3332 di->dcerpc_procedure_name="FrsStartPromotionParent";
3333 offset = frsrpc_dissect_element_FrsStartPromotionParent_parent_account(tvb, offset, pinfo, tree, di, drep);
3334 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3335 offset = frsrpc_dissect_element_FrsStartPromotionParent_parent_password(tvb, offset, pinfo, tree, di, drep);
3336 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3337 offset = frsrpc_dissect_element_FrsStartPromotionParent_replica_set_name(tvb, offset, pinfo, tree, di, drep);
3338 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3339 offset = frsrpc_dissect_element_FrsStartPromotionParent_replica_set_type(tvb, offset, pinfo, tree, di, drep);
3340 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3341 offset = frsrpc_dissect_element_FrsStartPromotionParent_connection_name(tvb, offset, pinfo, tree, di, drep);
3342 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3343 offset = frsrpc_dissect_element_FrsStartPromotionParent_partner_name(tvb, offset, pinfo, tree, di, drep);
3344 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3345 offset = frsrpc_dissect_element_FrsStartPromotionParent_partner_princ_name(tvb, offset, pinfo, tree, di, drep);
3346 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3347 offset = frsrpc_dissect_element_FrsStartPromotionParent_partner_auth_level(tvb, offset, pinfo, tree, di, drep);
3348 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3349 offset = frsrpc_dissect_element_FrsStartPromotionParent___ndr_guid_size(tvb, offset, pinfo, tree, di, drep);
3350 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3351 offset = frsrpc_dissect_element_FrsStartPromotionParent_connection_guid(tvb, offset, pinfo, tree, di, drep);
3352 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3353 offset = frsrpc_dissect_element_FrsStartPromotionParent_partner_guid(tvb, offset, pinfo, tree, di, drep);
3354 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3355 offset = frsrpc_dissect_element_FrsStartPromotionParent_parent_guid(tvb, offset, pinfo, tree, di, drep);
3356 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3357 return offset;
3360 /* IDL: WERROR frsrpc_FrsNOP( */
3361 /* IDL: */
3362 /* IDL: ); */
3364 static int
3365 frsrpc_dissect_FrsNOP_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3367 uint32_t status;
3369 di->dcerpc_procedure_name="FrsNOP";
3370 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_frsrpc_werror, &status);
3372 if (status != 0)
3373 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3375 return offset;
3378 static int
3379 frsrpc_dissect_FrsNOP_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3381 di->dcerpc_procedure_name="FrsNOP";
3382 return offset;
3385 /* IDL: void FRSRPC_BACKUP_COMPLETE( */
3386 /* IDL: */
3387 /* IDL: ); */
3389 static int
3390 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3392 di->dcerpc_procedure_name="FRSRPC_BACKUP_COMPLETE";
3393 return offset;
3396 static int
3397 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3399 di->dcerpc_procedure_name="FRSRPC_BACKUP_COMPLETE";
3400 return offset;
3403 /* IDL: void FRSRPC_BACKUP_COMPLETE_5( */
3404 /* IDL: */
3405 /* IDL: ); */
3407 static int
3408 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_5_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3410 di->dcerpc_procedure_name="FRSRPC_BACKUP_COMPLETE_5";
3411 return offset;
3414 static int
3415 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_5_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3417 di->dcerpc_procedure_name="FRSRPC_BACKUP_COMPLETE_5";
3418 return offset;
3421 /* IDL: void FRSRPC_BACKUP_COMPLETE_6( */
3422 /* IDL: */
3423 /* IDL: ); */
3425 static int
3426 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_6_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3428 di->dcerpc_procedure_name="FRSRPC_BACKUP_COMPLETE_6";
3429 return offset;
3432 static int
3433 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_6_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3435 di->dcerpc_procedure_name="FRSRPC_BACKUP_COMPLETE_6";
3436 return offset;
3439 /* IDL: void FRSRPC_BACKUP_COMPLETE_7( */
3440 /* IDL: */
3441 /* IDL: ); */
3443 static int
3444 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_7_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3446 di->dcerpc_procedure_name="FRSRPC_BACKUP_COMPLETE_7";
3447 return offset;
3450 static int
3451 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_7_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3453 di->dcerpc_procedure_name="FRSRPC_BACKUP_COMPLETE_7";
3454 return offset;
3457 /* IDL: void FRSRPC_BACKUP_COMPLETE_8( */
3458 /* IDL: */
3459 /* IDL: ); */
3461 static int
3462 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_8_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3464 di->dcerpc_procedure_name="FRSRPC_BACKUP_COMPLETE_8";
3465 return offset;
3468 static int
3469 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_8_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3471 di->dcerpc_procedure_name="FRSRPC_BACKUP_COMPLETE_8";
3472 return offset;
3475 /* IDL: void FRSRPC_BACKUP_COMPLETE_9( */
3476 /* IDL: */
3477 /* IDL: ); */
3479 static int
3480 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_9_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3482 di->dcerpc_procedure_name="FRSRPC_BACKUP_COMPLETE_9";
3483 return offset;
3486 static int
3487 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_9_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3489 di->dcerpc_procedure_name="FRSRPC_BACKUP_COMPLETE_9";
3490 return offset;
3493 /* IDL: void FRSRPC_VERIFY_PROMOTION_PARENT_EX( */
3494 /* IDL: */
3495 /* IDL: ); */
3497 static int
3498 frsrpc_dissect_FRSRPC_VERIFY_PROMOTION_PARENT_EX_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3500 di->dcerpc_procedure_name="FRSRPC_VERIFY_PROMOTION_PARENT_EX";
3501 return offset;
3504 static int
3505 frsrpc_dissect_FRSRPC_VERIFY_PROMOTION_PARENT_EX_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3507 di->dcerpc_procedure_name="FRSRPC_VERIFY_PROMOTION_PARENT_EX";
3508 return offset;
3512 static const dcerpc_sub_dissector frsrpc_dissectors[] = {
3513 { 0, "FrsSendCommPkt",
3514 frsrpc_dissect_FrsSendCommPkt_request, frsrpc_dissect_FrsSendCommPkt_response},
3515 { 1, "FrsVerifyPromotionParent",
3516 frsrpc_dissect_FrsVerifyPromotionParent_request, frsrpc_dissect_FrsVerifyPromotionParent_response},
3517 { 2, "FrsStartPromotionParent",
3518 frsrpc_dissect_FrsStartPromotionParent_request, frsrpc_dissect_FrsStartPromotionParent_response},
3519 { 3, "FrsNOP",
3520 frsrpc_dissect_FrsNOP_request, frsrpc_dissect_FrsNOP_response},
3521 { 4, "FRSRPC_BACKUP_COMPLETE",
3522 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_request, frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_response},
3523 { 5, "FRSRPC_BACKUP_COMPLETE_5",
3524 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_5_request, frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_5_response},
3525 { 6, "FRSRPC_BACKUP_COMPLETE_6",
3526 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_6_request, frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_6_response},
3527 { 7, "FRSRPC_BACKUP_COMPLETE_7",
3528 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_7_request, frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_7_response},
3529 { 8, "FRSRPC_BACKUP_COMPLETE_8",
3530 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_8_request, frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_8_response},
3531 { 9, "FRSRPC_BACKUP_COMPLETE_9",
3532 frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_9_request, frsrpc_dissect_FRSRPC_BACKUP_COMPLETE_9_response},
3533 { 10, "FRSRPC_VERIFY_PROMOTION_PARENT_EX",
3534 frsrpc_dissect_FRSRPC_VERIFY_PROMOTION_PARENT_EX_request, frsrpc_dissect_FRSRPC_VERIFY_PROMOTION_PARENT_EX_response},
3535 { 0, NULL, NULL, NULL }
3538 void proto_register_dcerpc_frsrpc(void)
3540 static hf_register_info hf[] = {
3541 { &hf_CommPktChunk,
3542 { "Chunk", "frsrpc.chunk.ctr.chunk", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3543 { &hf_frsrpc_CommPktChangeOrderCommand_file_name,
3544 { "File Name", "frsrpc.CommPktChangeOrderCommand.file_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
3545 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_ack_version,
3546 { "Ack Version", "frsrpc.frsrpc_CommPktChangeOrderCommand.ack_version", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3547 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_change_order_guid,
3548 { "Change Order Guid", "frsrpc.frsrpc_CommPktChangeOrderCommand.change_order_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3549 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_connection_guid,
3550 { "Connection Guid", "frsrpc.frsrpc_CommPktChangeOrderCommand.connection_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3551 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_content_cmd,
3552 { "Content Cmd", "frsrpc.frsrpc_CommPktChangeOrderCommand.content_cmd", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3553 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_event_time,
3554 { "Event Time", "frsrpc.frsrpc_CommPktChangeOrderCommand.event_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
3555 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_extension,
3556 { "Extension", "frsrpc.frsrpc_CommPktChangeOrderCommand.extension", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3557 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_attributes,
3558 { "File Attributes", "frsrpc.frsrpc_CommPktChangeOrderCommand.file_attributes", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3559 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_guid,
3560 { "File Guid", "frsrpc.frsrpc_CommPktChangeOrderCommand.file_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3561 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_name,
3562 { "File Name", "frsrpc.frsrpc_CommPktChangeOrderCommand.file_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
3563 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_name_length,
3564 { "File Name Length", "frsrpc.frsrpc_CommPktChangeOrderCommand.file_name_length", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
3565 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_offset,
3566 { "File Offset", "frsrpc.frsrpc_CommPktChangeOrderCommand.file_offset", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3567 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_size,
3568 { "File Size", "frsrpc.frsrpc_CommPktChangeOrderCommand.file_size", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3569 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_usn,
3570 { "File Usn", "frsrpc.frsrpc_CommPktChangeOrderCommand.file_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3571 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_file_version_number,
3572 { "File Version Number", "frsrpc.frsrpc_CommPktChangeOrderCommand.file_version_number", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3573 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_flags,
3574 { "Flags", "frsrpc.frsrpc_CommPktChangeOrderCommand.flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3575 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_frs_vsn,
3576 { "Frs Vsn", "frsrpc.frsrpc_CommPktChangeOrderCommand.frs_vsn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3577 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_iflags,
3578 { "Iflags", "frsrpc.frsrpc_CommPktChangeOrderCommand.iflags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3579 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_jrnl_first_usn,
3580 { "Jrnl First Usn", "frsrpc.frsrpc_CommPktChangeOrderCommand.jrnl_first_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3581 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_jrnl_usn,
3582 { "Jrnl Usn", "frsrpc.frsrpc_CommPktChangeOrderCommand.jrnl_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3583 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_location_cmd,
3584 { "Location Cmd", "frsrpc.frsrpc_CommPktChangeOrderCommand.location_cmd", FT_UINT32, BASE_HEX, VALS(frsrpc_frsrpc_CommPktCoCmdLocationCmd_vals), 0, NULL, HFILL }},
3585 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_new_parent_guid,
3586 { "New Parent Guid", "frsrpc.frsrpc_CommPktChangeOrderCommand.new_parent_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3587 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_new_replica_num,
3588 { "New Replica Num", "frsrpc.frsrpc_CommPktChangeOrderCommand.new_replica_num", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3589 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_not_used,
3590 { "Not Used", "frsrpc.frsrpc_CommPktChangeOrderCommand.not_used", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3591 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_old_parent_guid,
3592 { "Old Parent Guid", "frsrpc.frsrpc_CommPktChangeOrderCommand.old_parent_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3593 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_original_replica_num,
3594 { "Original Replica Num", "frsrpc.frsrpc_CommPktChangeOrderCommand.original_replica_num", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3595 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_originator_guid,
3596 { "Originator Guid", "frsrpc.frsrpc_CommPktChangeOrderCommand.originator_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3597 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_padding1,
3598 { "Padding1", "frsrpc.frsrpc_CommPktChangeOrderCommand.padding1", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
3599 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_padding2,
3600 { "Padding2", "frsrpc.frsrpc_CommPktChangeOrderCommand.padding2", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
3601 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_padding3,
3602 { "Padding3", "frsrpc.frsrpc_CommPktChangeOrderCommand.padding3", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
3603 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_padding4,
3604 { "Padding4", "frsrpc.frsrpc_CommPktChangeOrderCommand.padding4", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
3605 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_partern_ack_sequence_number,
3606 { "Partern Ack Sequence Number", "frsrpc.frsrpc_CommPktChangeOrderCommand.partern_ack_sequence_number", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3607 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_sequence_number,
3608 { "Sequence Number", "frsrpc.frsrpc_CommPktChangeOrderCommand.sequence_number", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3609 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare1guid_p1,
3610 { "Spare1guid P1", "frsrpc.frsrpc_CommPktChangeOrderCommand.spare1guid_p1", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3611 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare1guid_p2,
3612 { "Spare1guid P2", "frsrpc.frsrpc_CommPktChangeOrderCommand.spare1guid_p2", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3613 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare1wcs,
3614 { "Spare1wcs", "frsrpc.frsrpc_CommPktChangeOrderCommand.spare1wcs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3615 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare2bin,
3616 { "Spare2bin", "frsrpc.frsrpc_CommPktChangeOrderCommand.spare2bin", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3617 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare2guid_p1,
3618 { "Spare2guid P1", "frsrpc.frsrpc_CommPktChangeOrderCommand.spare2guid_p1", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3619 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare2ul1,
3620 { "Spare2ul1", "frsrpc.frsrpc_CommPktChangeOrderCommand.spare2ul1", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3621 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare2wcs,
3622 { "Spare2wcs", "frsrpc.frsrpc_CommPktChangeOrderCommand.spare2wcs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3623 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_spare3guid_p2,
3624 { "Spare3guid P2", "frsrpc.frsrpc_CommPktChangeOrderCommand.spare3guid_p2", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3625 { &hf_frsrpc_frsrpc_CommPktChangeOrderCommand_status,
3626 { "Status", "frsrpc.frsrpc_CommPktChangeOrderCommand.status", FT_UINT32, BASE_HEX, VALS(frsrpc_frsrpc_CommPktCoCmdStatus_vals), 0, NULL, HFILL }},
3627 { &hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_data_checksum,
3628 { "Data Checksum", "frsrpc.frsrpc_CommPktChangeOrderRecordExtension.data_checksum", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3629 { &hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_data_retry_timeout,
3630 { "Data Retry Timeout", "frsrpc.frsrpc_CommPktChangeOrderRecordExtension.data_retry_timeout", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3631 { &hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_field_size,
3632 { "Field Size", "frsrpc.frsrpc_CommPktChangeOrderRecordExtension.field_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3633 { &hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_major,
3634 { "Major", "frsrpc.frsrpc_CommPktChangeOrderRecordExtension.major", FT_UINT1632, BASE_HEX, VALS(frsrpc_frsrpc_CommPktCoRecordExtensionMajor_vals), 0, NULL, HFILL }},
3635 { &hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_not_used,
3636 { "Not Used", "frsrpc.frsrpc_CommPktChangeOrderRecordExtension.not_used", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3637 { &hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_offset0,
3638 { "Offset0", "frsrpc.frsrpc_CommPktChangeOrderRecordExtension.offset0", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3639 { &hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_offset1,
3640 { "Offset1", "frsrpc.frsrpc_CommPktChangeOrderRecordExtension.offset1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3641 { &hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_offset_count,
3642 { "Offset Count", "frsrpc.frsrpc_CommPktChangeOrderRecordExtension.offset_count", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
3643 { &hf_frsrpc_frsrpc_CommPktChangeOrderRecordExtension_offset_last,
3644 { "Offset Last", "frsrpc.frsrpc_CommPktChangeOrderRecordExtension.offset_last", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3645 { &hf_frsrpc_frsrpc_CommPktChunkData_blob,
3646 { "Blob", "frsrpc.frsrpc_CommPktChunkData.blob", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3647 { &hf_frsrpc_frsrpc_CommPktChunkData_block,
3648 { "Block", "frsrpc.frsrpc_CommPktChunkData.block", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3649 { &hf_frsrpc_frsrpc_CommPktChunkData_block_size,
3650 { "Block Size", "frsrpc.frsrpc_CommPktChunkData.block_size", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3651 { &hf_frsrpc_frsrpc_CommPktChunkData_bop,
3652 { "Bop", "frsrpc.frsrpc_CommPktChunkData.bop", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3653 { &hf_frsrpc_frsrpc_CommPktChunkData_bopend,
3654 { "Bopend", "frsrpc.frsrpc_CommPktChunkData.bopend", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3655 { &hf_frsrpc_frsrpc_CommPktChunkData_co_ext_win2k,
3656 { "Co Ext Win2k", "frsrpc.frsrpc_CommPktChunkData.co_ext_win2k", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3657 { &hf_frsrpc_frsrpc_CommPktChunkData_co_ext_win2k_,
3658 { "Subcontext length", "frsrpc.frsrpc_CommPktChunkData.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3659 { &hf_frsrpc_frsrpc_CommPktChunkData_co_extension2,
3660 { "Co Extension2", "frsrpc.frsrpc_CommPktChunkData.co_extension2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3661 { &hf_frsrpc_frsrpc_CommPktChunkData_co_guid,
3662 { "Co Guid", "frsrpc.frsrpc_CommPktChunkData.co_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3663 { &hf_frsrpc_frsrpc_CommPktChunkData_co_guid_,
3664 { "Subcontext length", "frsrpc.frsrpc_CommPktChunkData.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3665 { &hf_frsrpc_frsrpc_CommPktChunkData_co_sequence_number,
3666 { "Co Sequence Number", "frsrpc.frsrpc_CommPktChunkData.co_sequence_number", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3667 { &hf_frsrpc_frsrpc_CommPktChunkData_command,
3668 { "Command", "frsrpc.frsrpc_CommPktChunkData.command", FT_UINT32, BASE_HEX, VALS(frsrpc_frsrpc_CommPktCommand_vals), 0, NULL, HFILL }},
3669 { &hf_frsrpc_frsrpc_CommPktChunkData_compression_guid,
3670 { "Compression Guid", "frsrpc.frsrpc_CommPktChunkData.compression_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3671 { &hf_frsrpc_frsrpc_CommPktChunkData_connection,
3672 { "Connection", "frsrpc.frsrpc_CommPktChunkData.connection", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3673 { &hf_frsrpc_frsrpc_CommPktChunkData_file_offset,
3674 { "File Offset", "frsrpc.frsrpc_CommPktChunkData.file_offset", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3675 { &hf_frsrpc_frsrpc_CommPktChunkData_file_size,
3676 { "File Size", "frsrpc.frsrpc_CommPktChunkData.file_size", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3677 { &hf_frsrpc_frsrpc_CommPktChunkData_from,
3678 { "From", "frsrpc.frsrpc_CommPktChunkData.from", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3679 { &hf_frsrpc_frsrpc_CommPktChunkData_gvsn,
3680 { "Gvsn", "frsrpc.frsrpc_CommPktChunkData.gvsn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3681 { &hf_frsrpc_frsrpc_CommPktChunkData_gvsn_,
3682 { "Subcontext length", "frsrpc.frsrpc_CommPktChunkData.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3683 { &hf_frsrpc_frsrpc_CommPktChunkData_join_guid,
3684 { "Join Guid", "frsrpc.frsrpc_CommPktChunkData.join_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3685 { &hf_frsrpc_frsrpc_CommPktChunkData_join_guid_,
3686 { "Subcontext length", "frsrpc.frsrpc_CommPktChunkData.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3687 { &hf_frsrpc_frsrpc_CommPktChunkData_join_time,
3688 { "Join Time", "frsrpc.frsrpc_CommPktChunkData.join_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
3689 { &hf_frsrpc_frsrpc_CommPktChunkData_join_time_,
3690 { "Subcontext length", "frsrpc.frsrpc_CommPktChunkData.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3691 { &hf_frsrpc_frsrpc_CommPktChunkData_last_join_time,
3692 { "Last Join Time", "frsrpc.frsrpc_CommPktChunkData.last_join_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
3693 { &hf_frsrpc_frsrpc_CommPktChunkData_remote_co,
3694 { "Remote Co", "frsrpc.frsrpc_CommPktChunkData.remote_co", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3695 { &hf_frsrpc_frsrpc_CommPktChunkData_remote_co_,
3696 { "Subcontext length", "frsrpc.frsrpc_CommPktChunkData.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3697 { &hf_frsrpc_frsrpc_CommPktChunkData_replica,
3698 { "Replica", "frsrpc.frsrpc_CommPktChunkData.replica", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3699 { &hf_frsrpc_frsrpc_CommPktChunkData_replica_version_guid,
3700 { "Replica Version Guid", "frsrpc.frsrpc_CommPktChunkData.replica_version_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3701 { &hf_frsrpc_frsrpc_CommPktChunkData_replica_version_guid_,
3702 { "Subcontext length", "frsrpc.frsrpc_CommPktChunkData.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3703 { &hf_frsrpc_frsrpc_CommPktChunkData_to,
3704 { "To", "frsrpc.frsrpc_CommPktChunkData.to", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3705 { &hf_frsrpc_frsrpc_CommPktChunkData_vvector,
3706 { "Vvector", "frsrpc.frsrpc_CommPktChunkData.vvector", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3707 { &hf_frsrpc_frsrpc_CommPktChunkData_vvector_,
3708 { "Subcontext length", "frsrpc.frsrpc_CommPktChunkData.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3709 { &hf_frsrpc_frsrpc_CommPktChunkGuidName_guid,
3710 { "Guid", "frsrpc.frsrpc_CommPktChunkGuidName.guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3711 { &hf_frsrpc_frsrpc_CommPktChunkGuidName_guid_,
3712 { "Subcontext length", "frsrpc.frsrpc_CommPktChunkGuidName.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3713 { &hf_frsrpc_frsrpc_CommPktChunkGuidName_name,
3714 { "Name", "frsrpc.frsrpc_CommPktChunkGuidName.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
3715 { &hf_frsrpc_frsrpc_CommPktChunkGuidName_name_,
3716 { "Subcontext length", "frsrpc.frsrpc_CommPktChunkGuidName.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3717 { &hf_frsrpc_frsrpc_CommPktChunk_data,
3718 { "Data", "frsrpc.frsrpc_CommPktChunk.data", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3719 { &hf_frsrpc_frsrpc_CommPktChunk_data_,
3720 { "Subcontext length", "frsrpc.frsrpc_CommPktChunk.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3721 { &hf_frsrpc_frsrpc_CommPktChunk_type,
3722 { "Type", "frsrpc.frsrpc_CommPktChunk.type", FT_UINT1632, BASE_HEX, VALS(frsrpc_frsrpc_CommPktChunkType_vals), 0, NULL, HFILL }},
3723 { &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_BASIC_INFO_CHANGE,
3724 { "FRSRPC CONTENT REASON BASIC INFO CHANGE", "frsrpc.frsrpc_CommPktCoCmdContentCmd.FRSRPC_CONTENT_REASON_BASIC_INFO_CHANGE", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_BASIC_INFO_CHANGE_tfs), ( 0x00004000 ), NULL, HFILL }},
3725 { &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_COMPRESSION_CHANGE,
3726 { "FRSRPC CONTENT REASON COMPRESSION CHANGE", "frsrpc.frsrpc_CommPktCoCmdContentCmd.FRSRPC_CONTENT_REASON_COMPRESSION_CHANGE", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_COMPRESSION_CHANGE_tfs), ( 0x00020000 ), NULL, HFILL }},
3727 { &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_EXTEND,
3728 { "FRSRPC CONTENT REASON DATA EXTEND", "frsrpc.frsrpc_CommPktCoCmdContentCmd.FRSRPC_CONTENT_REASON_DATA_EXTEND", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_EXTEND_tfs), ( 0x00000002 ), NULL, HFILL }},
3729 { &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_OVERWRITE,
3730 { "FRSRPC CONTENT REASON DATA OVERWRITE", "frsrpc.frsrpc_CommPktCoCmdContentCmd.FRSRPC_CONTENT_REASON_DATA_OVERWRITE", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_OVERWRITE_tfs), ( 0x00000001 ), NULL, HFILL }},
3731 { &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_TRUNCATION,
3732 { "FRSRPC CONTENT REASON DATA TRUNCATION", "frsrpc.frsrpc_CommPktCoCmdContentCmd.FRSRPC_CONTENT_REASON_DATA_TRUNCATION", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_DATA_TRUNCATION_tfs), ( 0x00000004 ), NULL, HFILL }},
3733 { &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_EA_CHANGE,
3734 { "FRSRPC CONTENT REASON EA CHANGE", "frsrpc.frsrpc_CommPktCoCmdContentCmd.FRSRPC_CONTENT_REASON_EA_CHANGE", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_EA_CHANGE_tfs), ( 0x00000400 ), NULL, HFILL }},
3735 { &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_FILE_CREATE,
3736 { "FRSRPC CONTENT REASON FILE CREATE", "frsrpc.frsrpc_CommPktCoCmdContentCmd.FRSRPC_CONTENT_REASON_FILE_CREATE", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_FILE_CREATE_tfs), ( 0x00000100 ), NULL, HFILL }},
3737 { &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_FILE_DELETE,
3738 { "FRSRPC CONTENT REASON FILE DELETE", "frsrpc.frsrpc_CommPktCoCmdContentCmd.FRSRPC_CONTENT_REASON_FILE_DELETE", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_FILE_DELETE_tfs), ( 0x00000200 ), NULL, HFILL }},
3739 { &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_EXTEND,
3740 { "FRSRPC CONTENT REASON NAMED DATA EXTEND", "frsrpc.frsrpc_CommPktCoCmdContentCmd.FRSRPC_CONTENT_REASON_NAMED_DATA_EXTEND", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_EXTEND_tfs), ( 0x00000020 ), NULL, HFILL }},
3741 { &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_OVERWRITE,
3742 { "FRSRPC CONTENT REASON NAMED DATA OVERWRITE", "frsrpc.frsrpc_CommPktCoCmdContentCmd.FRSRPC_CONTENT_REASON_NAMED_DATA_OVERWRITE", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_OVERWRITE_tfs), ( 0x00000010 ), NULL, HFILL }},
3743 { &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_TRUNCATION,
3744 { "FRSRPC CONTENT REASON NAMED DATA TRUNCATION", "frsrpc.frsrpc_CommPktCoCmdContentCmd.FRSRPC_CONTENT_REASON_NAMED_DATA_TRUNCATION", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NAMED_DATA_TRUNCATION_tfs), ( 0x00000040 ), NULL, HFILL }},
3745 { &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NEW_NAME,
3746 { "FRSRPC CONTENT REASON NEW NAME", "frsrpc.frsrpc_CommPktCoCmdContentCmd.FRSRPC_CONTENT_REASON_NEW_NAME", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_NEW_NAME_tfs), ( 0x00002000 ), NULL, HFILL }},
3747 { &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_OLD_NAME,
3748 { "FRSRPC CONTENT REASON OLD NAME", "frsrpc.frsrpc_CommPktCoCmdContentCmd.FRSRPC_CONTENT_REASON_OLD_NAME", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_OLD_NAME_tfs), ( 0x00001000 ), NULL, HFILL }},
3749 { &hf_frsrpc_frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_SECURITY_CHANGE,
3750 { "FRSRPC CONTENT REASON SECURITY CHANGE", "frsrpc.frsrpc_CommPktCoCmdContentCmd.FRSRPC_CONTENT_REASON_SECURITY_CHANGE", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdContentCmd_FRSRPC_CONTENT_REASON_SECURITY_CHANGE_tfs), ( 0x00000800 ), NULL, HFILL }},
3751 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_ABORT_CO,
3752 { "FRSRPC CO FLAG ABORT CO", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_ABORT_CO", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_ABORT_CO_tfs), ( 0x00000001 ), NULL, HFILL }},
3753 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_COMPRESSED_STAGE,
3754 { "FRSRPC CO FLAG COMPRESSED STAGE", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_COMPRESSED_STAGE", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_COMPRESSED_STAGE_tfs), ( 0x01000000 ), NULL, HFILL }},
3755 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_CONTENT_CMD,
3756 { "FRSRPC CO FLAG CONTENT CMD", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_CONTENT_CMD", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_CONTENT_CMD_tfs), ( 0x00000004 ), NULL, HFILL }},
3757 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_CONTROL,
3758 { "FRSRPC CO FLAG CONTROL", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_CONTROL", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_CONTROL_tfs), ( 0x00001000 ), NULL, HFILL }},
3759 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_DIRECTED_CO,
3760 { "FRSRPC CO FLAG DIRECTED CO", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_DIRECTED_CO", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_DIRECTED_CO_tfs), ( 0x00002000 ), NULL, HFILL }},
3761 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_JUST_OID_RESET,
3762 { "FRSRPC CO FLAG JUST OID RESET", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_JUST_OID_RESET", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_JUST_OID_RESET_tfs), ( 0x00800000 ), NULL, HFILL }},
3763 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_LOCALCO,
3764 { "FRSRPC CO FLAG LOCALCO", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_LOCALCO", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_LOCALCO_tfs), ( 0x00000020 ), NULL, HFILL }},
3765 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_LOCATION_CMD,
3766 { "FRSRPC CO FLAG LOCATION CMD", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_LOCATION_CMD", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_LOCATION_CMD_tfs), ( 0x00000008 ), NULL, HFILL }},
3767 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_MORPH_GEN_HEAD,
3768 { "FRSRPC CO FLAG MORPH GEN HEAD", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_MORPH_GEN_HEAD", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_MORPH_GEN_HEAD_tfs), ( 0x00400000 ), NULL, HFILL }},
3769 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_MOVEIN_GEN,
3770 { "FRSRPC CO FLAG MOVEIN GEN", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_MOVEIN_GEN", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_MOVEIN_GEN_tfs), ( 0x00200000 ), NULL, HFILL }},
3771 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_NEW_FILE,
3772 { "FRSRPC CO FLAG NEW FILE", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_NEW_FILE", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_NEW_FILE_tfs), ( 0x00000400 ), NULL, HFILL }},
3773 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_ONLIST,
3774 { "FRSRPC CO FLAG ONLIST", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_ONLIST", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_ONLIST_tfs), ( 0x00000010 ), NULL, HFILL }},
3775 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_OUT_OF_ORDER,
3776 { "FRSRPC CO FLAG OUT OF ORDER", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_OUT_OF_ORDER", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_OUT_OF_ORDER_tfs), ( 0x00000200 ), NULL, HFILL }},
3777 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_RETRY,
3778 { "FRSRPC CO FLAG RETRY", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_RETRY", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_RETRY_tfs), ( 0x00000040 ), NULL, HFILL }},
3779 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_SKIP_ORIG_REC_C,
3780 { "FRSRPC CO FLAG SKIP ORIG REC C", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_SKIP_ORIG_REC_C", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_SKIP_ORIG_REC_C_tfs), ( 0x00100000 ), NULL, HFILL }},
3781 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_SKIP_VV_UPDATE,
3782 { "FRSRPC CO FLAG SKIP VV UPDATE", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_SKIP_VV_UPDATE", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_SKIP_VV_UPDATE_tfs), ( 0x02000000 ), NULL, HFILL }},
3783 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_VVJOIN_TO_ORIG,
3784 { "FRSRPC CO FLAG VVJOIN TO ORIG", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_VVJOIN_TO_ORIG", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_VVJOIN_TO_ORIG_tfs), ( 0x00040000 ), NULL, HFILL }},
3785 { &hf_frsrpc_frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_VV_ACTIVATED,
3786 { "FRSRPC CO FLAG VV ACTIVATED", "frsrpc.frsrpc_CommPktCoCmdFlags.FRSRPC_CO_FLAG_VV_ACTIVATED", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdFlags_FRSRPC_CO_FLAG_VV_ACTIVATED_tfs), ( 0x00000002 ), NULL, HFILL }},
3787 { &hf_frsrpc_frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_CO_ABORT,
3788 { "FRSRPC CO IFLAG CO ABORT", "frsrpc.frsrpc_CommPktCoCmdIFlags.FRSRPC_CO_IFLAG_CO_ABORT", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_CO_ABORT_tfs), ( 0x00000002 ), NULL, HFILL }},
3789 { &hf_frsrpc_frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_DIR_ENUM_PENDING,
3790 { "FRSRPC CO IFLAG DIR ENUM PENDING", "frsrpc.frsrpc_CommPktCoCmdIFlags.FRSRPC_CO_IFLAG_DIR_ENUM_PENDING", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_DIR_ENUM_PENDING_tfs), ( 0x00000004 ), NULL, HFILL }},
3791 { &hf_frsrpc_frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_VVRETIRE_EXEC,
3792 { "FRSRPC CO IFLAG VVRETIRE EXEC", "frsrpc.frsrpc_CommPktCoCmdIFlags.FRSRPC_CO_IFLAG_VVRETIRE_EXEC", FT_BOOLEAN, 32, TFS(&frsrpc_CommPktCoCmdIFlags_FRSRPC_CO_IFLAG_VVRETIRE_EXEC_tfs), ( 0x00000001 ), NULL, HFILL }},
3793 { &hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_data_checksum,
3794 { "Data Checksum", "frsrpc.frsrpc_CommPktCoRecordExtensionWin2k.data_checksum", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3795 { &hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_field_size,
3796 { "Field Size", "frsrpc.frsrpc_CommPktCoRecordExtensionWin2k.field_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3797 { &hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_major,
3798 { "Major", "frsrpc.frsrpc_CommPktCoRecordExtensionWin2k.major", FT_UINT1632, BASE_HEX, VALS(frsrpc_frsrpc_CommPktCoRecordExtensionMajor_vals), 0, NULL, HFILL }},
3799 { &hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_offset,
3800 { "Offset", "frsrpc.frsrpc_CommPktCoRecordExtensionWin2k.offset", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3801 { &hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_offset_count,
3802 { "Offset Count", "frsrpc.frsrpc_CommPktCoRecordExtensionWin2k.offset_count", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
3803 { &hf_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k_offset_last,
3804 { "Offset Last", "frsrpc.frsrpc_CommPktCoRecordExtensionWin2k.offset_last", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3805 { &hf_frsrpc_frsrpc_CommPktDataExtensionChecksum_data,
3806 { "Data", "frsrpc.frsrpc_CommPktDataExtensionChecksum.data", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
3807 { &hf_frsrpc_frsrpc_CommPktDataExtensionChecksum_prefix_size,
3808 { "Prefix Size", "frsrpc.frsrpc_CommPktDataExtensionChecksum.prefix_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3809 { &hf_frsrpc_frsrpc_CommPktDataExtensionChecksum_prefix_type,
3810 { "Prefix Type", "frsrpc.frsrpc_CommPktDataExtensionChecksum.prefix_type", FT_UINT32, BASE_HEX, VALS(frsrpc_frsrpc_CommPktDataExtensionType_vals), 0, NULL, HFILL }},
3811 { &hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_count,
3812 { "Count", "frsrpc.frsrpc_CommPktDataExtensionRetryTimeout.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3813 { &hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_first_try_time,
3814 { "First Try Time", "frsrpc.frsrpc_CommPktDataExtensionRetryTimeout.first_try_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
3815 { &hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_not_used,
3816 { "Not Used", "frsrpc.frsrpc_CommPktDataExtensionRetryTimeout.not_used", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3817 { &hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_prefix_size,
3818 { "Prefix Size", "frsrpc.frsrpc_CommPktDataExtensionRetryTimeout.prefix_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3819 { &hf_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout_prefix_type,
3820 { "Prefix Type", "frsrpc.frsrpc_CommPktDataExtensionRetryTimeout.prefix_type", FT_UINT32, BASE_HEX, VALS(frsrpc_frsrpc_CommPktDataExtensionType_vals), 0, NULL, HFILL }},
3821 { &hf_frsrpc_frsrpc_CommPktGSVN_guid,
3822 { "Guid", "frsrpc.frsrpc_CommPktGSVN.guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3823 { &hf_frsrpc_frsrpc_CommPktGSVN_vsn,
3824 { "Vsn", "frsrpc.frsrpc_CommPktGSVN.vsn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
3825 { &hf_frsrpc_frsrpc_FrsSendCommPktReq_cs_id,
3826 { "Cs Id", "frsrpc.frsrpc_FrsSendCommPktReq.cs_id", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3827 { &hf_frsrpc_frsrpc_FrsSendCommPktReq_ctr,
3828 { "Ctr", "frsrpc.frsrpc_FrsSendCommPktReq.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3829 { &hf_frsrpc_frsrpc_FrsSendCommPktReq_ctr_,
3830 { "Subcontext length", "frsrpc.frsrpc_FrsSendCommPktReq.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3831 { &hf_frsrpc_frsrpc_FrsSendCommPktReq_data_handle,
3832 { "Data Handle", "frsrpc.frsrpc_FrsSendCommPktReq.data_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3833 { &hf_frsrpc_frsrpc_FrsSendCommPktReq_data_name,
3834 { "Data Name", "frsrpc.frsrpc_FrsSendCommPktReq.data_name", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3835 { &hf_frsrpc_frsrpc_FrsSendCommPktReq_major,
3836 { "Major", "frsrpc.frsrpc_FrsSendCommPktReq.major", FT_UINT32, BASE_DEC, VALS(frsrpc_frsrpc_CommPktMajor_vals), 0, NULL, HFILL }},
3837 { &hf_frsrpc_frsrpc_FrsSendCommPktReq_memory_len,
3838 { "Memory Len", "frsrpc.frsrpc_FrsSendCommPktReq.memory_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3839 { &hf_frsrpc_frsrpc_FrsSendCommPktReq_minor,
3840 { "Minor", "frsrpc.frsrpc_FrsSendCommPktReq.minor", FT_UINT32, BASE_DEC, VALS(frsrpc_frsrpc_CommPktMinor_vals), 0, NULL, HFILL }},
3841 { &hf_frsrpc_frsrpc_FrsSendCommPktReq_pkt_len,
3842 { "Pkt Len", "frsrpc.frsrpc_FrsSendCommPktReq.pkt_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3843 { &hf_frsrpc_frsrpc_FrsSendCommPktReq_upk_len,
3844 { "Upk Len", "frsrpc.frsrpc_FrsSendCommPktReq.upk_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3845 { &hf_frsrpc_frsrpc_FrsSendCommPkt_req,
3846 { "Req", "frsrpc.frsrpc_FrsSendCommPkt.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
3847 { &hf_frsrpc_frsrpc_FrsStartPromotionParent___ndr_guid_size,
3848 { "Ndr Guid Size", "frsrpc.frsrpc_FrsStartPromotionParent.__ndr_guid_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3849 { &hf_frsrpc_frsrpc_FrsStartPromotionParent_connection_guid,
3850 { "Connection Guid", "frsrpc.frsrpc_FrsStartPromotionParent.connection_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3851 { &hf_frsrpc_frsrpc_FrsStartPromotionParent_connection_guid_,
3852 { "Subcontext length", "frsrpc.frsrpc_FrsStartPromotionParent.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3853 { &hf_frsrpc_frsrpc_FrsStartPromotionParent_connection_name,
3854 { "Connection Name", "frsrpc.frsrpc_FrsStartPromotionParent.connection_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
3855 { &hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_account,
3856 { "Parent Account", "frsrpc.frsrpc_FrsStartPromotionParent.parent_account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
3857 { &hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_guid,
3858 { "Parent Guid", "frsrpc.frsrpc_FrsStartPromotionParent.parent_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3859 { &hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_guid_,
3860 { "Subcontext length", "frsrpc.frsrpc_FrsStartPromotionParent.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3861 { &hf_frsrpc_frsrpc_FrsStartPromotionParent_parent_password,
3862 { "Parent Password", "frsrpc.frsrpc_FrsStartPromotionParent.parent_password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
3863 { &hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_auth_level,
3864 { "Partner Auth Level", "frsrpc.frsrpc_FrsStartPromotionParent.partner_auth_level", FT_UINT32, BASE_HEX, VALS(frsrpc_frsrpc_PartnerAuthLevel_vals), 0, NULL, HFILL }},
3865 { &hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_guid,
3866 { "Partner Guid", "frsrpc.frsrpc_FrsStartPromotionParent.partner_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
3867 { &hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_guid_,
3868 { "Subcontext length", "frsrpc.frsrpc_FrsStartPromotionParent.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
3869 { &hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_name,
3870 { "Partner Name", "frsrpc.frsrpc_FrsStartPromotionParent.partner_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
3871 { &hf_frsrpc_frsrpc_FrsStartPromotionParent_partner_princ_name,
3872 { "Partner Princ Name", "frsrpc.frsrpc_FrsStartPromotionParent.partner_princ_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
3873 { &hf_frsrpc_frsrpc_FrsStartPromotionParent_replica_set_name,
3874 { "Replica Set Name", "frsrpc.frsrpc_FrsStartPromotionParent.replica_set_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
3875 { &hf_frsrpc_frsrpc_FrsStartPromotionParent_replica_set_type,
3876 { "Replica Set Type", "frsrpc.frsrpc_FrsStartPromotionParent.replica_set_type", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
3877 { &hf_frsrpc_frsrpc_FrsVerifyPromotionParent___ndr_guid_size,
3878 { "Ndr Guid Size", "frsrpc.frsrpc_FrsVerifyPromotionParent.__ndr_guid_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
3879 { &hf_frsrpc_frsrpc_FrsVerifyPromotionParent_parent_account,
3880 { "Parent Account", "frsrpc.frsrpc_FrsVerifyPromotionParent.parent_account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
3881 { &hf_frsrpc_frsrpc_FrsVerifyPromotionParent_parent_password,
3882 { "Parent Password", "frsrpc.frsrpc_FrsVerifyPromotionParent.parent_password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
3883 { &hf_frsrpc_frsrpc_FrsVerifyPromotionParent_partner_auth_level,
3884 { "Partner Auth Level", "frsrpc.frsrpc_FrsVerifyPromotionParent.partner_auth_level", FT_UINT32, BASE_HEX, VALS(frsrpc_frsrpc_PartnerAuthLevel_vals), 0, NULL, HFILL }},
3885 { &hf_frsrpc_frsrpc_FrsVerifyPromotionParent_replica_set_name,
3886 { "Replica Set Name", "frsrpc.frsrpc_FrsVerifyPromotionParent.replica_set_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
3887 { &hf_frsrpc_frsrpc_FrsVerifyPromotionParent_replica_set_type,
3888 { "Replica Set Type", "frsrpc.frsrpc_FrsVerifyPromotionParent.replica_set_type", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
3889 { &hf_frsrpc_opnum,
3890 { "Operation", "frsrpc.opnum", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
3891 { &hf_frsrpc_werror,
3892 { "Windows Error", "frsrpc.werror", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
3896 static int *ett[] = {
3897 &ett_ChunkCtr,
3898 &ett_dcerpc_frsrpc,
3899 &ett_frsrpc_frsrpc_CommPktChunkGuidName,
3900 &ett_frsrpc_frsrpc_CommPktGSVN,
3901 &ett_frsrpc_frsrpc_CommPktCoCmdFlags,
3902 &ett_frsrpc_frsrpc_CommPktCoCmdIFlags,
3903 &ett_frsrpc_frsrpc_CommPktCoCmdContentCmd,
3904 &ett_frsrpc_frsrpc_CommPktChangeOrderCommand,
3905 &ett_frsrpc_frsrpc_CommPktDataExtensionChecksum,
3906 &ett_frsrpc_frsrpc_CommPktDataExtensionRetryTimeout,
3907 &ett_frsrpc_frsrpc_CommPktCoRecordExtensionWin2k,
3908 &ett_frsrpc_frsrpc_CommPktChangeOrderRecordExtension,
3909 &ett_frsrpc_frsrpc_CommPktChunkData,
3910 &ett_frsrpc_frsrpc_CommPktChunk,
3911 &ett_frsrpc_frsrpc_FrsSendCommPktReq,
3914 proto_dcerpc_frsrpc = proto_register_protocol("File Replication Service", "FRSRPC", "frsrpc");
3915 proto_register_field_array(proto_dcerpc_frsrpc, hf, array_length (hf));
3916 proto_register_subtree_array(ett, array_length(ett));
3919 void proto_reg_handoff_dcerpc_frsrpc(void)
3921 dcerpc_init_uuid(proto_dcerpc_frsrpc, ett_dcerpc_frsrpc,
3922 &uuid_dcerpc_frsrpc, ver_dcerpc_frsrpc,
3923 frsrpc_dissectors, hf_frsrpc_opnum);