Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-drsuapi.c
blob0070374f99e676a9c5e197a784d97cef0ec3229b
1 /* DO NOT EDIT
2 This file was automatically generated by Pidl
3 from drsuapi.idl and drsuapi.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-drsuapi.h"
22 void proto_register_dcerpc_drsuapi(void);
23 void proto_reg_handoff_dcerpc_drsuapi(void);
25 /* Ett declarations */
26 static int ett_dcerpc_drsuapi;
27 static int ett_drsuapi_lsa_String;
28 static int ett_drsuapi_supplementalCredentialsPackage;
29 static int ett_drsuapi_supplementalCredentialsSubBlob;
30 static int ett_drsuapi_supplementalCredentialsBlob;
31 static int ett_drsuapi_sch;
32 static int ett_drsuapi_package_PrimaryKerberosString;
33 static int ett_drsuapi_package_PrimaryKerberosKey3;
34 static int ett_drsuapi_package_PrimaryKerberosCtr3;
35 static int ett_drsuapi_package_PrimaryKerberosKey4;
36 static int ett_drsuapi_package_PrimaryKerberosCtr4;
37 static int ett_drsuapi_package_PrimaryKerberosCtr;
38 static int ett_drsuapi_package_PrimaryKerberosBlob;
39 static int ett_drsuapi_pkb;
40 static int ett_drsuapi_security_GroupAttrs;
41 static int ett_drsuapi_drsuapi_DrsOptions;
42 static int ett_drsuapi_drsuapi_DrsMoreOptions;
43 static int ett_drsuapi_drsuapi_DrsUpdate;
44 static int ett_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION;
45 static int ett_drsuapi_drsuapi_SupportedExtensions;
46 static int ett_drsuapi_drsuapi_SupportedExtensionsExt;
47 static int ett_drsuapi_drsuapi_DsBindInfo24;
48 static int ett_drsuapi_drsuapi_DsBindInfo28;
49 static int ett_drsuapi_drsuapi_DsBindInfo32;
50 static int ett_drsuapi_drsuapi_DsBindInfo48;
51 static int ett_drsuapi_drsuapi_DsBindInfo52;
52 static int ett_drsuapi_drsuapi_DsBindInfoFallBack;
53 static int ett_drsuapi_drsuapi_DsBindInfo;
54 static int ett_drsuapi_drsuapi_DsBindInfoCtr;
55 static int ett_drsuapi_drsuapi_DsReplicaObjectIdentifier;
56 static int ett_drsuapi_drsuapi_DsReplicaSyncRequest1;
57 static int ett_drsuapi_drsuapi_DsReplicaSyncRequest2;
58 static int ett_drsuapi_drsuapi_DsReplicaSyncRequest;
59 static int ett_drsuapi_drsuapi_DsReplicaHighWaterMark;
60 static int ett_drsuapi_drsuapi_DsReplicaCursor;
61 static int ett_drsuapi_drsuapi_DsReplicaCursorCtrEx;
62 static int ett_drsuapi_drsuapi_DsGetNCChangesRequest5;
63 static int ett_drsuapi_drsuapi_DsReplicaOID;
64 static int ett_drsuapi_drsuapi_DsReplicaOIDMapping;
65 static int ett_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr;
66 static int ett_drsuapi_drsuapi_DsPartialAttributeSet;
67 static int ett_drsuapi_drsuapi_DsGetNCChangesRequest8;
68 static int ett_drsuapi_drsuapi_DsGetNCChangesRequest10;
69 static int ett_drsuapi_drsuapi_DsGetNCChangesRequest11;
70 static int ett_drsuapi_drsuapi_DsGetNCChangesRequest;
71 static int ett_drsuapi_drsuapi_DsReplicaCursor2;
72 static int ett_drsuapi_drsuapi_DsReplicaCursor2CtrEx;
73 static int ett_drsuapi_drsuapi_DsAttributeValue;
74 static int ett_drsuapi_drsuapi_DsAttributeValueCtr;
75 static int ett_drsuapi_drsuapi_DsReplicaObjectIdentifier3;
76 static int ett_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary;
77 static int ett_drsuapi_drsuapi_DsReplicaAttribute;
78 static int ett_drsuapi_drsuapi_DsReplicaAttributeCtr;
79 static int ett_drsuapi_drsuapi_DsReplicaObjectFlags;
80 static int ett_drsuapi_drsuapi_DsReplicaObject;
81 static int ett_drsuapi_drsuapi_DsReplicaMetaData;
82 static int ett_drsuapi_drsuapi_DsReplicaMetaDataCtr;
83 static int ett_drsuapi_drsuapi_DsReplicaObjectListItemEx;
84 static int ett_drsuapi_drsuapi_DsGetNCChangesCtr1;
85 static int ett_drsuapi_drsuapi_DsLinkedAttributeFlags;
86 static int ett_drsuapi_drsuapi_DsReplicaLinkedAttribute;
87 static int ett_drsuapi_drsuapi_DsReplicaLinkedAttribute3;
88 static int ett_drsuapi_drsuapi_DsGetNCChangesCtr6;
89 static int ett_drsuapi_drsuapi_DsGetNCChangesCtr9;
90 static int ett_drsuapi_drsuapi_DsGetNCChangesCtr1TS;
91 static int ett_drsuapi_drsuapi_DsGetNCChangesCtr6TS;
92 static int ett_drsuapi_drsuapi_DsGetNCChangesCtr9TS;
93 static int ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1;
94 static int ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6;
95 static int ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9;
96 static int ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1;
97 static int ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6;
98 static int ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9;
99 static int ett_drsuapi_drsuapi_DsGetNCChangesCompressedCtr;
100 static int ett_drsuapi_drsuapi_DsGetNCChangesCtr2;
101 static int ett_drsuapi_drsuapi_DsGetNCChangesCtr7;
102 static int ett_drsuapi_drsuapi_DsGetNCChangesCtr;
103 static int ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1;
104 static int ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2;
105 static int ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest;
106 static int ett_drsuapi_drsuapi_DsReplicaAddRequest1;
107 static int ett_drsuapi_drsuapi_DsReplicaAddRequest2;
108 static int ett_drsuapi_drsuapi_DsReplicaAddRequest3;
109 static int ett_drsuapi_drsuapi_DsReplicaAddRequest;
110 static int ett_drsuapi_drsuapi_DsReplicaDelRequest1;
111 static int ett_drsuapi_drsuapi_DsReplicaDelRequest;
112 static int ett_drsuapi_drsuapi_DsReplicaModRequest1;
113 static int ett_drsuapi_drsuapi_DsReplicaModRequest;
114 static int ett_drsuapi_drsuapi_DsGetMembershipsCtr1;
115 static int ett_drsuapi_drsuapi_DsGetMembershipsCtr;
116 static int ett_drsuapi_drsuapi_DsGetMembershipsRequest1;
117 static int ett_drsuapi_drsuapi_DsGetMembershipsRequest;
118 static int ett_drsuapi_drsuapi_DsGetNT4ChangeLogFlags;
119 static int ett_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1;
120 static int ett_drsuapi_drsuapi_DsGetNT4ChangeLogRequest;
121 static int ett_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1;
122 static int ett_drsuapi_drsuapi_DsGetNT4ChangeLogInfo;
123 static int ett_drsuapi_drsuapi_DsNameString;
124 static int ett_drsuapi_drsuapi_DsNameRequest1;
125 static int ett_drsuapi_drsuapi_DsNameRequest;
126 static int ett_drsuapi_drsuapi_DsNameInfo1;
127 static int ett_drsuapi_drsuapi_DsNameCtr1;
128 static int ett_drsuapi_drsuapi_DsNameCtr;
129 static int ett_drsuapi_drsuapi_DsWriteAccountSpnRequest1;
130 static int ett_drsuapi_drsuapi_DsWriteAccountSpnRequest;
131 static int ett_drsuapi_drsuapi_DsWriteAccountSpnResult1;
132 static int ett_drsuapi_drsuapi_DsWriteAccountSpnResult;
133 static int ett_drsuapi_drsuapi_DsRemoveDSServerRequest1;
134 static int ett_drsuapi_drsuapi_DsRemoveDSServerRequest;
135 static int ett_drsuapi_drsuapi_DsRemoveDSServerResult1;
136 static int ett_drsuapi_drsuapi_DsRemoveDSServerResult;
137 static int ett_drsuapi_drsuapi_DsGetDCInfoRequest1;
138 static int ett_drsuapi_drsuapi_DsGetDCInfoRequest;
139 static int ett_drsuapi_drsuapi_DsGetDCInfo1;
140 static int ett_drsuapi_drsuapi_DsGetDCInfoCtr1;
141 static int ett_drsuapi_drsuapi_DsGetDCInfo2;
142 static int ett_drsuapi_drsuapi_DsGetDCInfoCtr2;
143 static int ett_drsuapi_drsuapi_DsGetDCInfo3;
144 static int ett_drsuapi_drsuapi_DsGetDCInfoCtr3;
145 static int ett_drsuapi_drsuapi_DsGetDCConnection01;
146 static int ett_drsuapi_drsuapi_DsGetDCConnectionCtr01;
147 static int ett_drsuapi_drsuapi_DsGetDCInfoCtr;
148 static int ett_drsuapi_drsuapi_DsReplicaObjectListItem;
149 static int ett_drsuapi_drsuapi_DsAddEntryRequest2;
150 static int ett_drsuapi_drsuapi_SecBuffer;
151 static int ett_drsuapi_drsuapi_SecBufferDesc;
152 static int ett_drsuapi_drsuapi_DsAddEntryRequest3;
153 static int ett_drsuapi_drsuapi_DsAddEntryRequest;
154 static int ett_drsuapi_drsuapi_DsAddEntryErrorInfoX;
155 static int ett_drsuapi_drsuapi_DsAddEntry_AttrErr_V1;
156 static int ett_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1;
157 static int ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1;
158 static int ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1;
159 static int ett_drsuapi_drsuapi_NameResOp_V1;
160 static int ett_drsuapi_drsuapi_DsaAddressListItem_V1;
161 static int ett_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1;
162 static int ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1;
163 static int ett_drsuapi_drsuapi_DsAddEntryErrorInfo;
164 static int ett_drsuapi_drsuapi_DsAddEntry_ErrData_V1;
165 static int ett_drsuapi_drsuapi_DsAddEntry_ErrData;
166 static int ett_drsuapi_drsuapi_DsReplicaObjectIdentifier2;
167 static int ett_drsuapi_drsuapi_DsAddEntryCtr2;
168 static int ett_drsuapi_drsuapi_DsAddEntryCtr3;
169 static int ett_drsuapi_drsuapi_DsAddEntryCtr;
170 static int ett_drsuapi_drsuapi_DsExecuteKCCFlags;
171 static int ett_drsuapi_drsuapi_DsExecuteKCC1;
172 static int ett_drsuapi_drsuapi_DsExecuteKCCRequest;
173 static int ett_drsuapi_drsuapi_DsReplicaGetInfoRequest1;
174 static int ett_drsuapi_drsuapi_DsReplicaGetInfoRequest2;
175 static int ett_drsuapi_drsuapi_DsReplicaGetInfoRequest;
176 static int ett_drsuapi_drsuapi_DsReplicaNeighbour;
177 static int ett_drsuapi_drsuapi_DsReplicaNeighbourCtr;
178 static int ett_drsuapi_drsuapi_DsReplicaCursorCtr;
179 static int ett_drsuapi_drsuapi_DsReplicaObjMetaData;
180 static int ett_drsuapi_drsuapi_DsReplicaObjMetaDataCtr;
181 static int ett_drsuapi_drsuapi_DsReplicaKccDsaFailure;
182 static int ett_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr;
183 static int ett_drsuapi_drsuapi_DsReplicaOp;
184 static int ett_drsuapi_drsuapi_DsReplicaOpCtr;
185 static int ett_drsuapi_drsuapi_DsReplicaAttrValMetaData;
186 static int ett_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr;
187 static int ett_drsuapi_drsuapi_DsReplicaCursor2Ctr;
188 static int ett_drsuapi_drsuapi_DsReplicaCursor3;
189 static int ett_drsuapi_drsuapi_DsReplicaCursor3Ctr;
190 static int ett_drsuapi_drsuapi_DsReplicaObjMetaData2;
191 static int ett_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr;
192 static int ett_drsuapi_drsuapi_DsReplicaAttrValMetaData2;
193 static int ett_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr;
194 static int ett_drsuapi_drsuapi_DsReplicaConnection04;
195 static int ett_drsuapi_drsuapi_DsReplicaConnection04Ctr;
196 static int ett_drsuapi_drsuapi_DsReplica06;
197 static int ett_drsuapi_drsuapi_DsReplica06Ctr;
198 static int ett_drsuapi_drsuapi_DsReplicaInfo;
199 static int ett_drsuapi_drsuapi_DsGetMemberships2Ctr1;
200 static int ett_drsuapi_drsuapi_DsGetMemberships2Ctr;
201 static int ett_drsuapi_drsuapi_DsGetMemberships2Request1;
202 static int ett_drsuapi_drsuapi_DsGetMemberships2Request;
203 static int ett_drsuapi_drsuapi_DsSiteCostInfo;
204 static int ett_drsuapi_drsuapi_QuerySitesByCostCtr1;
205 static int ett_drsuapi_drsuapi_QuerySitesByCostCtr;
206 static int ett_drsuapi_drsuapi_QuerySitesByCostRequest1;
207 static int ett_drsuapi_drsuapi_QuerySitesByCostRequest;
208 static int ett_drsuapi_drsuapi_InitDemotionRequest1;
209 static int ett_drsuapi_drsuapi_InitDemotionRequest;
210 static int ett_drsuapi_drsuapi_InitDemotionCtr1;
211 static int ett_drsuapi_drsuapi_InitDemotionCtr;
212 static int ett_drsuapi_drsuapi_ReplicaDemotionRequest1;
213 static int ett_drsuapi_drsuapi_ReplicaDemotionRequest;
214 static int ett_drsuapi_drsuapi_ReplicaDemotionCtr1;
215 static int ett_drsuapi_drsuapi_ReplicaDemotionCtr;
216 static int ett_drsuapi_drsuapi_FinishDemotionRequest1;
217 static int ett_drsuapi_drsuapi_FinishDemotionRequest;
218 static int ett_drsuapi_drsuapi_FinishDemotionCtr1;
219 static int ett_drsuapi_drsuapi_FinishDemotionCtr;
220 static int ett_drsuapi_drsuapi_AddCloneDCRequest1;
221 static int ett_drsuapi_drsuapi_AddCloneDCRequest;
222 static int ett_drsuapi_drsuapi_AddCloneDCCtr1;
223 static int ett_drsuapi_drsuapi_AddCloneDCCtr;
224 static int ett_drsuapi_drsuapi_WriteNgcKeyRequest1;
225 static int ett_drsuapi_drsuapi_WriteNgcKeyRequest;
226 static int ett_drsuapi_drsuapi_WriteNgcKeyCtr1;
227 static int ett_drsuapi_drsuapi_WriteNgcKeyCtr;
228 static int ett_drsuapi_drsuapi_ReadNgcKeyRequest1;
229 static int ett_drsuapi_drsuapi_ReadNgcKeyRequest;
230 static int ett_drsuapi_drsuapi_ReadNgcKeyCtr1;
231 static int ett_drsuapi_drsuapi_ReadNgcKeyCtr;
234 /* Header field declarations */
235 static int hf_DsReplicaObjectIdentifier_dn;
236 static int hf_drsuapi_String_name;
237 static int hf_drsuapi_drsuapi_AddCloneDCCtr1_clone_dc_name;
238 static int hf_drsuapi_drsuapi_AddCloneDCCtr1_new_dc_account_password;
239 static int hf_drsuapi_drsuapi_AddCloneDCCtr1_password_length;
240 static int hf_drsuapi_drsuapi_AddCloneDCCtr1_site;
241 static int hf_drsuapi_drsuapi_AddCloneDCCtr_ctr1;
242 static int hf_drsuapi_drsuapi_AddCloneDCRequest1_clone_dc_name;
243 static int hf_drsuapi_drsuapi_AddCloneDCRequest1_site;
244 static int hf_drsuapi_drsuapi_AddCloneDCRequest_req1;
245 static int hf_drsuapi_drsuapi_AddCloneDC_bind_handle;
246 static int hf_drsuapi_drsuapi_AddCloneDC_ctr;
247 static int hf_drsuapi_drsuapi_AddCloneDC_in_version;
248 static int hf_drsuapi_drsuapi_AddCloneDC_out_version;
249 static int hf_drsuapi_drsuapi_AddCloneDC_req;
250 static int hf_drsuapi_drsuapi_DrsMoreOptions_DRSUAPI_DRS_GET_TGT;
251 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ADD_REF;
252 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_OP;
253 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_REP;
254 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_CRITICAL_ONLY;
255 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_AUTO_SYNC;
256 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_PERIODIC_SYNC;
257 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS;
258 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_NOW;
259 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_PACKET;
260 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GETCHG_CHECK;
261 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP;
262 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_ANC;
263 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_NC_SIZE;
264 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC;
265 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC_NOW;
266 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_MAIL_REP;
267 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_NOTIFY;
268 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_SYNCED;
269 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NONGC_RO_REP;
270 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_PER_SYNC;
271 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_PREEMPTED;
272 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_REF_GCSPN;
273 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING;
274 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_ALL;
275 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_BYNAME;
276 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_FORCED;
277 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_PAS;
278 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_REQUEUE;
279 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_URGENT;
280 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_TWOWAY_SYNC;
281 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_USE_COMPRESSION;
282 static int hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_WRIT_REP;
283 static int hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_ADDRESS;
284 static int hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_FLAGS;
285 static int hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_SCHEDULE;
286 static int hf_drsuapi_drsuapi_DsAddEntryCtr2_count;
287 static int hf_drsuapi_drsuapi_DsAddEntryCtr2_dir_err;
288 static int hf_drsuapi_drsuapi_DsAddEntryCtr2_dsid;
289 static int hf_drsuapi_drsuapi_DsAddEntryCtr2_extended_data;
290 static int hf_drsuapi_drsuapi_DsAddEntryCtr2_extended_err;
291 static int hf_drsuapi_drsuapi_DsAddEntryCtr2_id;
292 static int hf_drsuapi_drsuapi_DsAddEntryCtr2_objects;
293 static int hf_drsuapi_drsuapi_DsAddEntryCtr2_problem;
294 static int hf_drsuapi_drsuapi_DsAddEntryCtr3_count;
295 static int hf_drsuapi_drsuapi_DsAddEntryCtr3_err_data;
296 static int hf_drsuapi_drsuapi_DsAddEntryCtr3_err_ver;
297 static int hf_drsuapi_drsuapi_DsAddEntryCtr3_id;
298 static int hf_drsuapi_drsuapi_DsAddEntryCtr3_objects;
299 static int hf_drsuapi_drsuapi_DsAddEntryCtr_ctr2;
300 static int hf_drsuapi_drsuapi_DsAddEntryCtr_ctr3;
301 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_dsid;
302 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_extended_data;
303 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_extended_err;
304 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_problem;
305 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_count;
306 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_first;
307 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_id;
308 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_dsid;
309 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_extended_data;
310 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_extended_err;
311 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_id_matched;
312 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_problem;
313 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_dsid;
314 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_extended_data;
315 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_extended_err;
316 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_refer;
317 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_attr_err;
318 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_name_err;
319 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_referral_err;
320 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_security_err;
321 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_service_err;
322 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_system_err;
323 static int hf_drsuapi_drsuapi_DsAddEntryErrorInfo_update_err;
324 static int hf_drsuapi_drsuapi_DsAddEntryRequest2_first_object;
325 static int hf_drsuapi_drsuapi_DsAddEntryRequest3_client_creds;
326 static int hf_drsuapi_drsuapi_DsAddEntryRequest3_first_object;
327 static int hf_drsuapi_drsuapi_DsAddEntryRequest_req2;
328 static int hf_drsuapi_drsuapi_DsAddEntryRequest_req3;
329 static int hf_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1_err_data;
330 static int hf_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1_next;
331 static int hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_attid;
332 static int hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_attr_val;
333 static int hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_dsid;
334 static int hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_extended_data;
335 static int hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_extended_err;
336 static int hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_is_val_returned;
337 static int hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_problem;
338 static int hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_dir_err;
339 static int hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_info;
340 static int hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_status;
341 static int hf_drsuapi_drsuapi_DsAddEntry_ErrData_v1;
342 static int hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_addr_list;
343 static int hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_addr_list_count;
344 static int hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_choice;
345 static int hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_id_target;
346 static int hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_is_choice_set;
347 static int hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_next;
348 static int hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_op_state;
349 static int hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_rdn_alias;
350 static int hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_rdn_internal;
351 static int hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_ref_type;
352 static int hf_drsuapi_drsuapi_DsAddEntry_bind_handle;
353 static int hf_drsuapi_drsuapi_DsAddEntry_ctr;
354 static int hf_drsuapi_drsuapi_DsAddEntry_level;
355 static int hf_drsuapi_drsuapi_DsAddEntry_level_out;
356 static int hf_drsuapi_drsuapi_DsAddEntry_req;
357 static int hf_drsuapi_drsuapi_DsAttributeValueCtr_num_values;
358 static int hf_drsuapi_drsuapi_DsAttributeValueCtr_values;
359 static int hf_drsuapi_drsuapi_DsAttributeValue___ndr_size;
360 static int hf_drsuapi_drsuapi_DsAttributeValue_blob;
361 static int hf_drsuapi_drsuapi_DsBindInfo24_pid;
362 static int hf_drsuapi_drsuapi_DsBindInfo24_site_guid;
363 static int hf_drsuapi_drsuapi_DsBindInfo24_supported_extensions;
364 static int hf_drsuapi_drsuapi_DsBindInfo28_pid;
365 static int hf_drsuapi_drsuapi_DsBindInfo28_repl_epoch;
366 static int hf_drsuapi_drsuapi_DsBindInfo28_site_guid;
367 static int hf_drsuapi_drsuapi_DsBindInfo28_supported_extensions;
368 static int hf_drsuapi_drsuapi_DsBindInfo32_pid;
369 static int hf_drsuapi_drsuapi_DsBindInfo32_repl_epoch;
370 static int hf_drsuapi_drsuapi_DsBindInfo32_site_guid;
371 static int hf_drsuapi_drsuapi_DsBindInfo32_supported_extensions;
372 static int hf_drsuapi_drsuapi_DsBindInfo32_supported_extensions_ext;
373 static int hf_drsuapi_drsuapi_DsBindInfo48_config_dn_guid;
374 static int hf_drsuapi_drsuapi_DsBindInfo48_pid;
375 static int hf_drsuapi_drsuapi_DsBindInfo48_repl_epoch;
376 static int hf_drsuapi_drsuapi_DsBindInfo48_site_guid;
377 static int hf_drsuapi_drsuapi_DsBindInfo48_supported_extensions;
378 static int hf_drsuapi_drsuapi_DsBindInfo48_supported_extensions_ext;
379 static int hf_drsuapi_drsuapi_DsBindInfo52_config_dn_guid;
380 static int hf_drsuapi_drsuapi_DsBindInfo52_pid;
381 static int hf_drsuapi_drsuapi_DsBindInfo52_repl_epoch;
382 static int hf_drsuapi_drsuapi_DsBindInfo52_site_guid;
383 static int hf_drsuapi_drsuapi_DsBindInfo52_supported_capabilities_ext;
384 static int hf_drsuapi_drsuapi_DsBindInfo52_supported_extensions;
385 static int hf_drsuapi_drsuapi_DsBindInfo52_supported_extensions_ext;
386 static int hf_drsuapi_drsuapi_DsBindInfoCtr___ndr_length;
387 static int hf_drsuapi_drsuapi_DsBindInfoCtr_info;
388 static int hf_drsuapi_drsuapi_DsBindInfoCtr_length;
389 static int hf_drsuapi_drsuapi_DsBindInfoFallBack_info;
390 static int hf_drsuapi_drsuapi_DsBindInfo_Fallback;
391 static int hf_drsuapi_drsuapi_DsBindInfo_info24;
392 static int hf_drsuapi_drsuapi_DsBindInfo_info28;
393 static int hf_drsuapi_drsuapi_DsBindInfo_info32;
394 static int hf_drsuapi_drsuapi_DsBindInfo_info48;
395 static int hf_drsuapi_drsuapi_DsBindInfo_info52;
396 static int hf_drsuapi_drsuapi_DsBind_bind_guid;
397 static int hf_drsuapi_drsuapi_DsBind_bind_handle;
398 static int hf_drsuapi_drsuapi_DsBind_bind_info;
399 static int hf_drsuapi_drsuapi_DsCrackNames_bind_handle;
400 static int hf_drsuapi_drsuapi_DsCrackNames_ctr;
401 static int hf_drsuapi_drsuapi_DsCrackNames_level;
402 static int hf_drsuapi_drsuapi_DsCrackNames_level_out;
403 static int hf_drsuapi_drsuapi_DsCrackNames_req;
404 static int hf_drsuapi_drsuapi_DsExecuteKCC1_flags;
405 static int hf_drsuapi_drsuapi_DsExecuteKCC1_taskID;
406 static int hf_drsuapi_drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION;
407 static int hf_drsuapi_drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_DAMPED;
408 static int hf_drsuapi_drsuapi_DsExecuteKCCRequest_ctr1;
409 static int hf_drsuapi_drsuapi_DsExecuteKCC_bind_handle;
410 static int hf_drsuapi_drsuapi_DsExecuteKCC_level;
411 static int hf_drsuapi_drsuapi_DsExecuteKCC_req;
412 static int hf_drsuapi_drsuapi_DsGetDCConnection01_client_account;
413 static int hf_drsuapi_drsuapi_DsGetDCConnection01_client_ip_address;
414 static int hf_drsuapi_drsuapi_DsGetDCConnection01_connection_time;
415 static int hf_drsuapi_drsuapi_DsGetDCConnection01_unknown2;
416 static int hf_drsuapi_drsuapi_DsGetDCConnection01_unknown4;
417 static int hf_drsuapi_drsuapi_DsGetDCConnection01_unknown5;
418 static int hf_drsuapi_drsuapi_DsGetDCConnection01_unknown6;
419 static int hf_drsuapi_drsuapi_DsGetDCConnectionCtr01_array;
420 static int hf_drsuapi_drsuapi_DsGetDCConnectionCtr01_count;
421 static int hf_drsuapi_drsuapi_DsGetDCInfo1_computer_dn;
422 static int hf_drsuapi_drsuapi_DsGetDCInfo1_dns_name;
423 static int hf_drsuapi_drsuapi_DsGetDCInfo1_is_enabled;
424 static int hf_drsuapi_drsuapi_DsGetDCInfo1_is_pdc;
425 static int hf_drsuapi_drsuapi_DsGetDCInfo1_netbios_name;
426 static int hf_drsuapi_drsuapi_DsGetDCInfo1_server_dn;
427 static int hf_drsuapi_drsuapi_DsGetDCInfo1_site_name;
428 static int hf_drsuapi_drsuapi_DsGetDCInfo2_computer_dn;
429 static int hf_drsuapi_drsuapi_DsGetDCInfo2_computer_guid;
430 static int hf_drsuapi_drsuapi_DsGetDCInfo2_dns_name;
431 static int hf_drsuapi_drsuapi_DsGetDCInfo2_is_enabled;
432 static int hf_drsuapi_drsuapi_DsGetDCInfo2_is_gc;
433 static int hf_drsuapi_drsuapi_DsGetDCInfo2_is_pdc;
434 static int hf_drsuapi_drsuapi_DsGetDCInfo2_netbios_name;
435 static int hf_drsuapi_drsuapi_DsGetDCInfo2_ntds_dn;
436 static int hf_drsuapi_drsuapi_DsGetDCInfo2_ntds_guid;
437 static int hf_drsuapi_drsuapi_DsGetDCInfo2_server_dn;
438 static int hf_drsuapi_drsuapi_DsGetDCInfo2_server_guid;
439 static int hf_drsuapi_drsuapi_DsGetDCInfo2_site_dn;
440 static int hf_drsuapi_drsuapi_DsGetDCInfo2_site_guid;
441 static int hf_drsuapi_drsuapi_DsGetDCInfo2_site_name;
442 static int hf_drsuapi_drsuapi_DsGetDCInfo3_computer_dn;
443 static int hf_drsuapi_drsuapi_DsGetDCInfo3_computer_guid;
444 static int hf_drsuapi_drsuapi_DsGetDCInfo3_dns_name;
445 static int hf_drsuapi_drsuapi_DsGetDCInfo3_is_enabled;
446 static int hf_drsuapi_drsuapi_DsGetDCInfo3_is_gc;
447 static int hf_drsuapi_drsuapi_DsGetDCInfo3_is_pdc;
448 static int hf_drsuapi_drsuapi_DsGetDCInfo3_is_rodc;
449 static int hf_drsuapi_drsuapi_DsGetDCInfo3_netbios_name;
450 static int hf_drsuapi_drsuapi_DsGetDCInfo3_ntds_dn;
451 static int hf_drsuapi_drsuapi_DsGetDCInfo3_ntds_guid;
452 static int hf_drsuapi_drsuapi_DsGetDCInfo3_server_dn;
453 static int hf_drsuapi_drsuapi_DsGetDCInfo3_server_guid;
454 static int hf_drsuapi_drsuapi_DsGetDCInfo3_site_dn;
455 static int hf_drsuapi_drsuapi_DsGetDCInfo3_site_guid;
456 static int hf_drsuapi_drsuapi_DsGetDCInfo3_site_name;
457 static int hf_drsuapi_drsuapi_DsGetDCInfoCtr1_array;
458 static int hf_drsuapi_drsuapi_DsGetDCInfoCtr1_count;
459 static int hf_drsuapi_drsuapi_DsGetDCInfoCtr2_array;
460 static int hf_drsuapi_drsuapi_DsGetDCInfoCtr2_count;
461 static int hf_drsuapi_drsuapi_DsGetDCInfoCtr3_array;
462 static int hf_drsuapi_drsuapi_DsGetDCInfoCtr3_count;
463 static int hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr01;
464 static int hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr1;
465 static int hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr2;
466 static int hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr3;
467 static int hf_drsuapi_drsuapi_DsGetDCInfoRequest1_domain_name;
468 static int hf_drsuapi_drsuapi_DsGetDCInfoRequest1_level;
469 static int hf_drsuapi_drsuapi_DsGetDCInfoRequest_req1;
470 static int hf_drsuapi_drsuapi_DsGetDomainControllerInfo_bind_handle;
471 static int hf_drsuapi_drsuapi_DsGetDomainControllerInfo_ctr;
472 static int hf_drsuapi_drsuapi_DsGetDomainControllerInfo_level;
473 static int hf_drsuapi_drsuapi_DsGetDomainControllerInfo_level_out;
474 static int hf_drsuapi_drsuapi_DsGetDomainControllerInfo_req;
475 static int hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_ctrl_array;
476 static int hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_num_entries;
477 static int hf_drsuapi_drsuapi_DsGetMemberships2Ctr_ctr1;
478 static int hf_drsuapi_drsuapi_DsGetMemberships2Request1_num_req;
479 static int hf_drsuapi_drsuapi_DsGetMemberships2Request1_req_array;
480 static int hf_drsuapi_drsuapi_DsGetMemberships2Request_req1;
481 static int hf_drsuapi_drsuapi_DsGetMemberships2_bind_handle;
482 static int hf_drsuapi_drsuapi_DsGetMemberships2_ctr;
483 static int hf_drsuapi_drsuapi_DsGetMemberships2_level;
484 static int hf_drsuapi_drsuapi_DsGetMemberships2_level_out;
485 static int hf_drsuapi_drsuapi_DsGetMemberships2_req;
486 static int hf_drsuapi_drsuapi_DsGetMembershipsCtr1_group_attrs;
487 static int hf_drsuapi_drsuapi_DsGetMembershipsCtr1_info_array;
488 static int hf_drsuapi_drsuapi_DsGetMembershipsCtr1_num_memberships;
489 static int hf_drsuapi_drsuapi_DsGetMembershipsCtr1_num_sids;
490 static int hf_drsuapi_drsuapi_DsGetMembershipsCtr1_sids;
491 static int hf_drsuapi_drsuapi_DsGetMembershipsCtr1_status;
492 static int hf_drsuapi_drsuapi_DsGetMembershipsCtr_ctr1;
493 static int hf_drsuapi_drsuapi_DsGetMembershipsRequest1_count;
494 static int hf_drsuapi_drsuapi_DsGetMembershipsRequest1_domain;
495 static int hf_drsuapi_drsuapi_DsGetMembershipsRequest1_flags;
496 static int hf_drsuapi_drsuapi_DsGetMembershipsRequest1_info_array;
497 static int hf_drsuapi_drsuapi_DsGetMembershipsRequest1_type;
498 static int hf_drsuapi_drsuapi_DsGetMembershipsRequest_req1;
499 static int hf_drsuapi_drsuapi_DsGetMemberships_bind_handle;
500 static int hf_drsuapi_drsuapi_DsGetMemberships_ctr;
501 static int hf_drsuapi_drsuapi_DsGetMemberships_level;
502 static int hf_drsuapi_drsuapi_DsGetMemberships_level_out;
503 static int hf_drsuapi_drsuapi_DsGetMemberships_req;
504 static int hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip1;
505 static int hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip6;
506 static int hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip9;
507 static int hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress1;
508 static int hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress6;
509 static int hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress9;
510 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr1TS_ctr1;
511 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr1TS_ctr1_;
512 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr1___ndr_size;
513 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr1_extended_ret;
514 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr1_first_object;
515 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr1_mapping_ctr;
516 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr1_more_data;
517 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr1_naming_context;
518 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr1_new_highwatermark;
519 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr1_object_count;
520 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr1_old_highwatermark;
521 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr1_source_dsa_guid;
522 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr1_source_dsa_invocation_id;
523 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr1_uptodateness_vector;
524 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr2_mszip1;
525 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6TS_ctr6;
526 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6TS_ctr6_;
527 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6___ndr_size;
528 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_drs_error;
529 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_extended_ret;
530 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_first_object;
531 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_linked_attributes;
532 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_linked_attributes_count;
533 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_mapping_ctr;
534 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_more_data;
535 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_naming_context;
536 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_nc_linked_attributes_count;
537 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_nc_object_count;
538 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_new_highwatermark;
539 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_object_count;
540 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_old_highwatermark;
541 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_source_dsa_guid;
542 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_source_dsa_invocation_id;
543 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr6_uptodateness_vector;
544 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr7_ctr;
545 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr7_level;
546 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr7_type;
547 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9TS_ctr9;
548 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9TS_ctr9_;
549 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9___ndr_size;
550 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_drs_error;
551 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_extended_ret;
552 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_first_object;
553 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_linked_attributes;
554 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_linked_attributes_count;
555 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_mapping_ctr;
556 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_more_data;
557 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_naming_context;
558 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_nc_linked_attributes_count;
559 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_nc_object_count;
560 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_new_highwatermark;
561 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_object_count;
562 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_old_highwatermark;
563 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_source_dsa_guid;
564 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_source_dsa_invocation_id;
565 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr9_uptodateness_vector;
566 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr1;
567 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr2;
568 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr6;
569 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr7;
570 static int hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr9;
571 static int hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_compressed_length;
572 static int hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_decompressed_length;
573 static int hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_ts;
574 static int hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_ts_;
575 static int hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_compressed_length;
576 static int hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_decompressed_length;
577 static int hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_ts;
578 static int hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_ts_;
579 static int hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9_compressed_length;
580 static int hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9_decompressed_length;
581 static int hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9_ts;
582 static int hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9_ts_;
583 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest10_destination_dsa_guid;
584 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest10_extended_op;
585 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest10_fsmo_info;
586 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest10_highwatermark;
587 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest10_mapping_ctr;
588 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest10_max_ndr_size;
589 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest10_max_object_count;
590 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest10_more_flags;
591 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest10_naming_context;
592 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest10_partial_attribute_set;
593 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest10_partial_attribute_set_ex;
594 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest10_replica_flags;
595 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest10_source_dsa_invocation_id;
596 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest10_uptodateness_vector;
597 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_correlationID;
598 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_destination_dsa_guid;
599 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_extended_op;
600 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_fsmo_info;
601 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_highwatermark;
602 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_mapping_ctr;
603 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_max_ndr_size;
604 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_max_object_count;
605 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_more_flags;
606 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_naming_context;
607 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_partial_attribute_set;
608 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_partial_attribute_set_ex;
609 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_replica_flags;
610 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_reserved_buffer;
611 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_source_dsa_invocation_id;
612 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest11_uptodateness_vector;
613 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest5_destination_dsa_guid;
614 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest5_extended_op;
615 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest5_fsmo_info;
616 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest5_highwatermark;
617 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest5_max_ndr_size;
618 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest5_max_object_count;
619 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest5_naming_context;
620 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest5_replica_flags;
621 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest5_source_dsa_invocation_id;
622 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest5_uptodateness_vector;
623 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest8_destination_dsa_guid;
624 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest8_extended_op;
625 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest8_fsmo_info;
626 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest8_highwatermark;
627 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest8_mapping_ctr;
628 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest8_max_ndr_size;
629 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest8_max_object_count;
630 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest8_naming_context;
631 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest8_partial_attribute_set;
632 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest8_partial_attribute_set_ex;
633 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest8_replica_flags;
634 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest8_source_dsa_invocation_id;
635 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest8_uptodateness_vector;
636 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest_req10;
637 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest_req11;
638 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest_req5;
639 static int hf_drsuapi_drsuapi_DsGetNCChangesRequest_req8;
640 static int hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_compressed_length;
641 static int hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_decompressed_length;
642 static int hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_ts;
643 static int hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_ts_;
644 static int hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_compressed_length;
645 static int hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_decompressed_length;
646 static int hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_ts;
647 static int hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_ts_;
648 static int hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9_compressed_length;
649 static int hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9_decompressed_length;
650 static int hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9_ts;
651 static int hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9_ts_;
652 static int hf_drsuapi_drsuapi_DsGetNCChanges_bind_handle;
653 static int hf_drsuapi_drsuapi_DsGetNCChanges_ctr;
654 static int hf_drsuapi_drsuapi_DsGetNCChanges_level;
655 static int hf_drsuapi_drsuapi_DsGetNCChanges_level_out;
656 static int hf_drsuapi_drsuapi_DsGetNCChanges_req;
657 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG;
658 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS;
659 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_builtin_creation_time;
660 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_builtin_serial_number;
661 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_log_data;
662 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_log_length;
663 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_lsa_creation_time;
664 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_lsa_serial_number;
665 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_restart_data;
666 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_restart_length;
667 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_sam_creation_time;
668 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_sam_serial_number;
669 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_status;
670 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo_info1;
671 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_flags;
672 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_preferred_maximum_length;
673 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_restart_data;
674 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_restart_length;
675 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest_req1;
676 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLog_bind_handle;
677 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLog_info;
678 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLog_level;
679 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLog_level_out;
680 static int hf_drsuapi_drsuapi_DsGetNT4ChangeLog_req;
681 static int hf_drsuapi_drsuapi_DsLinkedAttributeFlags_DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE;
682 static int hf_drsuapi_drsuapi_DsNameCtr1_array;
683 static int hf_drsuapi_drsuapi_DsNameCtr1_count;
684 static int hf_drsuapi_drsuapi_DsNameCtr_ctr1;
685 static int hf_drsuapi_drsuapi_DsNameInfo1_dns_domain_name;
686 static int hf_drsuapi_drsuapi_DsNameInfo1_result_name;
687 static int hf_drsuapi_drsuapi_DsNameInfo1_status;
688 static int hf_drsuapi_drsuapi_DsNameRequest1_codepage;
689 static int hf_drsuapi_drsuapi_DsNameRequest1_count;
690 static int hf_drsuapi_drsuapi_DsNameRequest1_format_desired;
691 static int hf_drsuapi_drsuapi_DsNameRequest1_format_flags;
692 static int hf_drsuapi_drsuapi_DsNameRequest1_format_offered;
693 static int hf_drsuapi_drsuapi_DsNameRequest1_language;
694 static int hf_drsuapi_drsuapi_DsNameRequest1_names;
695 static int hf_drsuapi_drsuapi_DsNameRequest_req1;
696 static int hf_drsuapi_drsuapi_DsNameString_str;
697 static int hf_drsuapi_drsuapi_DsPartialAttributeSet_attids;
698 static int hf_drsuapi_drsuapi_DsPartialAttributeSet_num_attids;
699 static int hf_drsuapi_drsuapi_DsPartialAttributeSet_reserved1;
700 static int hf_drsuapi_drsuapi_DsPartialAttributeSet_version;
701 static int hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_commit;
702 static int hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_domain_dn;
703 static int hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_server_dn;
704 static int hf_drsuapi_drsuapi_DsRemoveDSServerRequest_req1;
705 static int hf_drsuapi_drsuapi_DsRemoveDSServerResult1_last_dc_in_domain;
706 static int hf_drsuapi_drsuapi_DsRemoveDSServerResult_res1;
707 static int hf_drsuapi_drsuapi_DsRemoveDSServer_bind_handle;
708 static int hf_drsuapi_drsuapi_DsRemoveDSServer_level;
709 static int hf_drsuapi_drsuapi_DsRemoveDSServer_level_out;
710 static int hf_drsuapi_drsuapi_DsRemoveDSServer_req;
711 static int hf_drsuapi_drsuapi_DsRemoveDSServer_res;
712 static int hf_drsuapi_drsuapi_DsReplica06Ctr_array;
713 static int hf_drsuapi_drsuapi_DsReplica06Ctr_count;
714 static int hf_drsuapi_drsuapi_DsReplica06Ctr_reserved;
715 static int hf_drsuapi_drsuapi_DsReplica06_str1;
716 static int hf_drsuapi_drsuapi_DsReplica06_u1;
717 static int hf_drsuapi_drsuapi_DsReplica06_u2;
718 static int hf_drsuapi_drsuapi_DsReplica06_u3;
719 static int hf_drsuapi_drsuapi_DsReplica06_u4;
720 static int hf_drsuapi_drsuapi_DsReplica06_u5;
721 static int hf_drsuapi_drsuapi_DsReplica06_u6;
722 static int hf_drsuapi_drsuapi_DsReplica06_u7;
723 static int hf_drsuapi_drsuapi_DsReplicaAddRequest1_naming_context;
724 static int hf_drsuapi_drsuapi_DsReplicaAddRequest1_options;
725 static int hf_drsuapi_drsuapi_DsReplicaAddRequest1_schedule;
726 static int hf_drsuapi_drsuapi_DsReplicaAddRequest1_source_dsa_address;
727 static int hf_drsuapi_drsuapi_DsReplicaAddRequest2_naming_context;
728 static int hf_drsuapi_drsuapi_DsReplicaAddRequest2_options;
729 static int hf_drsuapi_drsuapi_DsReplicaAddRequest2_schedule;
730 static int hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_address;
731 static int hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_dn;
732 static int hf_drsuapi_drsuapi_DsReplicaAddRequest2_transport_dn;
733 static int hf_drsuapi_drsuapi_DsReplicaAddRequest3_correlationID;
734 static int hf_drsuapi_drsuapi_DsReplicaAddRequest3_naming_context;
735 static int hf_drsuapi_drsuapi_DsReplicaAddRequest3_options;
736 static int hf_drsuapi_drsuapi_DsReplicaAddRequest3_reserved_buffer;
737 static int hf_drsuapi_drsuapi_DsReplicaAddRequest3_schedule;
738 static int hf_drsuapi_drsuapi_DsReplicaAddRequest3_source_dsa_address;
739 static int hf_drsuapi_drsuapi_DsReplicaAddRequest3_source_dsa_dn;
740 static int hf_drsuapi_drsuapi_DsReplicaAddRequest3_transport_dn;
741 static int hf_drsuapi_drsuapi_DsReplicaAddRequest_req1;
742 static int hf_drsuapi_drsuapi_DsReplicaAddRequest_req2;
743 static int hf_drsuapi_drsuapi_DsReplicaAddRequest_req3;
744 static int hf_drsuapi_drsuapi_DsReplicaAdd_bind_handle;
745 static int hf_drsuapi_drsuapi_DsReplicaAdd_level;
746 static int hf_drsuapi_drsuapi_DsReplicaAdd_req;
747 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_array;
748 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_count;
749 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context;
750 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2___ndr_size_binary;
751 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_attribute_name;
752 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_binary;
753 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_created;
754 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_deleted;
755 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_local_usn;
756 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_object_dn;
757 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_change_time;
758 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_dn;
759 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_invocation_id;
760 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_usn;
761 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_version;
762 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_array;
763 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_count;
764 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context;
765 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData___ndr_size_binary;
766 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_attribute_name;
767 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_binary;
768 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_created;
769 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_deleted;
770 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_local_usn;
771 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_object_dn;
772 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_change_time;
773 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_invocation_id;
774 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_usn;
775 static int hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_version;
776 static int hf_drsuapi_drsuapi_DsReplicaAttributeCtr_attributes;
777 static int hf_drsuapi_drsuapi_DsReplicaAttributeCtr_num_attributes;
778 static int hf_drsuapi_drsuapi_DsReplicaAttribute_attid;
779 static int hf_drsuapi_drsuapi_DsReplicaAttribute_value_ctr;
780 static int hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_array;
781 static int hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_count;
782 static int hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_reserved;
783 static int hf_drsuapi_drsuapi_DsReplicaConnection04_bind_guid;
784 static int hf_drsuapi_drsuapi_DsReplicaConnection04_bind_time;
785 static int hf_drsuapi_drsuapi_DsReplicaConnection04_client_ip_address;
786 static int hf_drsuapi_drsuapi_DsReplicaConnection04_u1;
787 static int hf_drsuapi_drsuapi_DsReplicaConnection04_u2;
788 static int hf_drsuapi_drsuapi_DsReplicaConnection04_u3;
789 static int hf_drsuapi_drsuapi_DsReplicaConnection04_u5;
790 static int hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_count;
791 static int hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_cursors;
792 static int hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_reserved1;
793 static int hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_reserved2;
794 static int hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_version;
795 static int hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_array;
796 static int hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_count;
797 static int hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_enumeration_context;
798 static int hf_drsuapi_drsuapi_DsReplicaCursor2_highest_usn;
799 static int hf_drsuapi_drsuapi_DsReplicaCursor2_last_sync_success;
800 static int hf_drsuapi_drsuapi_DsReplicaCursor2_source_dsa_invocation_id;
801 static int hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_array;
802 static int hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_count;
803 static int hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_enumeration_context;
804 static int hf_drsuapi_drsuapi_DsReplicaCursor3_highest_usn;
805 static int hf_drsuapi_drsuapi_DsReplicaCursor3_last_sync_success;
806 static int hf_drsuapi_drsuapi_DsReplicaCursor3_source_dsa_invocation_id;
807 static int hf_drsuapi_drsuapi_DsReplicaCursor3_source_dsa_obj_dn;
808 static int hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_count;
809 static int hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_cursors;
810 static int hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_reserved1;
811 static int hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_reserved2;
812 static int hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_version;
813 static int hf_drsuapi_drsuapi_DsReplicaCursorCtr_array;
814 static int hf_drsuapi_drsuapi_DsReplicaCursorCtr_count;
815 static int hf_drsuapi_drsuapi_DsReplicaCursorCtr_reserved;
816 static int hf_drsuapi_drsuapi_DsReplicaCursor_highest_usn;
817 static int hf_drsuapi_drsuapi_DsReplicaCursor_source_dsa_invocation_id;
818 static int hf_drsuapi_drsuapi_DsReplicaDelRequest1_naming_context;
819 static int hf_drsuapi_drsuapi_DsReplicaDelRequest1_options;
820 static int hf_drsuapi_drsuapi_DsReplicaDelRequest1_source_dsa_address;
821 static int hf_drsuapi_drsuapi_DsReplicaDelRequest_req1;
822 static int hf_drsuapi_drsuapi_DsReplicaDel_bind_handle;
823 static int hf_drsuapi_drsuapi_DsReplicaDel_level;
824 static int hf_drsuapi_drsuapi_DsReplicaDel_req;
825 static int hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_info_type;
826 static int hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_object_dn;
827 static int hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_source_dsa_guid;
828 static int hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_attribute_name;
829 static int hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_enumeration_context;
830 static int hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_flags;
831 static int hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_info_type;
832 static int hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_object_dn;
833 static int hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_source_dsa_guid;
834 static int hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_value_dn_str;
835 static int hf_drsuapi_drsuapi_DsReplicaGetInfoRequest_req1;
836 static int hf_drsuapi_drsuapi_DsReplicaGetInfoRequest_req2;
837 static int hf_drsuapi_drsuapi_DsReplicaGetInfo_bind_handle;
838 static int hf_drsuapi_drsuapi_DsReplicaGetInfo_info;
839 static int hf_drsuapi_drsuapi_DsReplicaGetInfo_info_type;
840 static int hf_drsuapi_drsuapi_DsReplicaGetInfo_level;
841 static int hf_drsuapi_drsuapi_DsReplicaGetInfo_req;
842 static int hf_drsuapi_drsuapi_DsReplicaHighWaterMark_highest_usn;
843 static int hf_drsuapi_drsuapi_DsReplicaHighWaterMark_reserved_usn;
844 static int hf_drsuapi_drsuapi_DsReplicaHighWaterMark_tmp_highest_usn;
845 static int hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata;
846 static int hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata2;
847 static int hf_drsuapi_drsuapi_DsReplicaInfo_clientctx;
848 static int hf_drsuapi_drsuapi_DsReplicaInfo_connectfailures;
849 static int hf_drsuapi_drsuapi_DsReplicaInfo_cursors;
850 static int hf_drsuapi_drsuapi_DsReplicaInfo_cursors2;
851 static int hf_drsuapi_drsuapi_DsReplicaInfo_cursors3;
852 static int hf_drsuapi_drsuapi_DsReplicaInfo_linkfailures;
853 static int hf_drsuapi_drsuapi_DsReplicaInfo_neighbours;
854 static int hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata;
855 static int hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata2;
856 static int hf_drsuapi_drsuapi_DsReplicaInfo_pendingops;
857 static int hf_drsuapi_drsuapi_DsReplicaInfo_repsto;
858 static int hf_drsuapi_drsuapi_DsReplicaInfo_srvoutgoingcalls;
859 static int hf_drsuapi_drsuapi_DsReplicaInfo_udv1;
860 static int hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn;
861 static int hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid;
862 static int hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_first_failure;
863 static int hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_last_result;
864 static int hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_num_failures;
865 static int hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_array;
866 static int hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_count;
867 static int hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_reserved;
868 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_attid;
869 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_flags;
870 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_identifier;
871 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_meta_data;
872 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_originating_add_time;
873 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_timeExpired;
874 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_unused1;
875 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_unused2;
876 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_unused3;
877 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_value;
878 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_attid;
879 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_flags;
880 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_identifier;
881 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_meta_data;
882 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_originating_add_time;
883 static int hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_value;
884 static int hf_drsuapi_drsuapi_DsReplicaMetaDataCtr_count;
885 static int hf_drsuapi_drsuapi_DsReplicaMetaDataCtr_meta_data;
886 static int hf_drsuapi_drsuapi_DsReplicaMetaData_originating_change_time;
887 static int hf_drsuapi_drsuapi_DsReplicaMetaData_originating_invocation_id;
888 static int hf_drsuapi_drsuapi_DsReplicaMetaData_originating_usn;
889 static int hf_drsuapi_drsuapi_DsReplicaMetaData_version;
890 static int hf_drsuapi_drsuapi_DsReplicaModRequest1_modify_fields;
891 static int hf_drsuapi_drsuapi_DsReplicaModRequest1_naming_context;
892 static int hf_drsuapi_drsuapi_DsReplicaModRequest1_options;
893 static int hf_drsuapi_drsuapi_DsReplicaModRequest1_replica_flags;
894 static int hf_drsuapi_drsuapi_DsReplicaModRequest1_schedule;
895 static int hf_drsuapi_drsuapi_DsReplicaModRequest1_source_dra;
896 static int hf_drsuapi_drsuapi_DsReplicaModRequest1_source_dra_address;
897 static int hf_drsuapi_drsuapi_DsReplicaModRequest_req1;
898 static int hf_drsuapi_drsuapi_DsReplicaMod_bind_handle;
899 static int hf_drsuapi_drsuapi_DsReplicaMod_level;
900 static int hf_drsuapi_drsuapi_DsReplicaMod_req;
901 static int hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_array;
902 static int hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_count;
903 static int hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_reserved;
904 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_consecutive_sync_failures;
905 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_highest_usn;
906 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_last_attempt;
907 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_last_success;
908 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_naming_context_dn;
909 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_naming_context_obj_guid;
910 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_replica_flags;
911 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_reserved;
912 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_result_last_attempt;
913 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_address;
914 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id;
915 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn;
916 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid;
917 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_tmp_highest_usn;
918 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_transport_obj_dn;
919 static int hf_drsuapi_drsuapi_DsReplicaNeighbour_transport_obj_guid;
920 static int hf_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr_mappings;
921 static int hf_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr_num_mappings;
922 static int hf_drsuapi_drsuapi_DsReplicaOIDMapping_id_prefix;
923 static int hf_drsuapi_drsuapi_DsReplicaOIDMapping_oid;
924 static int hf_drsuapi_drsuapi_DsReplicaOID_binary_oid;
925 static int hf_drsuapi_drsuapi_DsReplicaOID_length;
926 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_array;
927 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_count;
928 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context;
929 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData2_attribute_name;
930 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData2_local_usn;
931 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_change_time;
932 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_dsa_dn;
933 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_invocation_id;
934 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_usn;
935 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData2_version;
936 static int hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_array;
937 static int hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_count;
938 static int hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_reserved;
939 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData_attribute_name;
940 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData_local_usn;
941 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_change_time;
942 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_invocation_id;
943 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_usn;
944 static int hf_drsuapi_drsuapi_DsReplicaObjMetaData_version;
945 static int hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC;
946 static int hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER;
947 static int hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY;
948 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier2_guid;
949 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier2_sid;
950 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size;
951 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_binary;
952 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_dn;
953 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_sid;
954 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_binary;
955 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_dn;
956 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_guid;
957 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_sid;
958 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size;
959 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size_dn;
960 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size_sid;
961 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_dn;
962 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_guid;
963 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_sid;
964 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size;
965 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size_dn;
966 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size_sid;
967 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_dn;
968 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_guid;
969 static int hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_sid;
970 static int hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_is_nc_prefix;
971 static int hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_meta_data_ctr;
972 static int hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_next_object;
973 static int hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_object;
974 static int hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_parent_object_guid;
975 static int hf_drsuapi_drsuapi_DsReplicaObjectListItem_next_object;
976 static int hf_drsuapi_drsuapi_DsReplicaObjectListItem_object;
977 static int hf_drsuapi_drsuapi_DsReplicaObject_attribute_ctr;
978 static int hf_drsuapi_drsuapi_DsReplicaObject_flags;
979 static int hf_drsuapi_drsuapi_DsReplicaObject_identifier;
980 static int hf_drsuapi_drsuapi_DsReplicaOpCtr_array;
981 static int hf_drsuapi_drsuapi_DsReplicaOpCtr_count;
982 static int hf_drsuapi_drsuapi_DsReplicaOpCtr_time;
983 static int hf_drsuapi_drsuapi_DsReplicaOp_nc_dn;
984 static int hf_drsuapi_drsuapi_DsReplicaOp_nc_obj_guid;
985 static int hf_drsuapi_drsuapi_DsReplicaOp_operation_start;
986 static int hf_drsuapi_drsuapi_DsReplicaOp_operation_type;
987 static int hf_drsuapi_drsuapi_DsReplicaOp_options;
988 static int hf_drsuapi_drsuapi_DsReplicaOp_priority;
989 static int hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_address;
990 static int hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_obj_dn;
991 static int hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_obj_guid;
992 static int hf_drsuapi_drsuapi_DsReplicaOp_serial_num;
993 static int hf_drsuapi_drsuapi_DsReplicaSyncRequest1_naming_context;
994 static int hf_drsuapi_drsuapi_DsReplicaSyncRequest1_options;
995 static int hf_drsuapi_drsuapi_DsReplicaSyncRequest1_source_dsa_dns;
996 static int hf_drsuapi_drsuapi_DsReplicaSyncRequest1_source_dsa_guid;
997 static int hf_drsuapi_drsuapi_DsReplicaSyncRequest2_correlationID;
998 static int hf_drsuapi_drsuapi_DsReplicaSyncRequest2_naming_context;
999 static int hf_drsuapi_drsuapi_DsReplicaSyncRequest2_options;
1000 static int hf_drsuapi_drsuapi_DsReplicaSyncRequest2_reserved_buffer;
1001 static int hf_drsuapi_drsuapi_DsReplicaSyncRequest2_source_dsa_dns;
1002 static int hf_drsuapi_drsuapi_DsReplicaSyncRequest2_source_dsa_guid;
1003 static int hf_drsuapi_drsuapi_DsReplicaSyncRequest_req1;
1004 static int hf_drsuapi_drsuapi_DsReplicaSyncRequest_req2;
1005 static int hf_drsuapi_drsuapi_DsReplicaSync_bind_handle;
1006 static int hf_drsuapi_drsuapi_DsReplicaSync_level;
1007 static int hf_drsuapi_drsuapi_DsReplicaSync_req;
1008 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name;
1009 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid;
1010 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_naming_context;
1011 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_options;
1012 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_correlationID;
1013 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_dest_dsa_dns_name;
1014 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_dest_dsa_guid;
1015 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_naming_context;
1016 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_options;
1017 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_reserved_buffer;
1018 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest_req1;
1019 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest_req2;
1020 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefs_bind_handle;
1021 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefs_level;
1022 static int hf_drsuapi_drsuapi_DsReplicaUpdateRefs_req;
1023 static int hf_drsuapi_drsuapi_DsSiteCostInfo_error_code;
1024 static int hf_drsuapi_drsuapi_DsSiteCostInfo_site_cost;
1025 static int hf_drsuapi_drsuapi_DsUnbind_bind_handle;
1026 static int hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_count;
1027 static int hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_object_dn;
1028 static int hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_operation;
1029 static int hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_spn_names;
1030 static int hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_unknown1;
1031 static int hf_drsuapi_drsuapi_DsWriteAccountSpnRequest_req1;
1032 static int hf_drsuapi_drsuapi_DsWriteAccountSpnResult1_status;
1033 static int hf_drsuapi_drsuapi_DsWriteAccountSpnResult_res1;
1034 static int hf_drsuapi_drsuapi_DsWriteAccountSpn_bind_handle;
1035 static int hf_drsuapi_drsuapi_DsWriteAccountSpn_level;
1036 static int hf_drsuapi_drsuapi_DsWriteAccountSpn_level_out;
1037 static int hf_drsuapi_drsuapi_DsWriteAccountSpn_req;
1038 static int hf_drsuapi_drsuapi_DsWriteAccountSpn_res;
1039 static int hf_drsuapi_drsuapi_DsaAddressListItem_V1_address;
1040 static int hf_drsuapi_drsuapi_DsaAddressListItem_V1_next;
1041 static int hf_drsuapi_drsuapi_FinishDemotionCtr1_op_error;
1042 static int hf_drsuapi_drsuapi_FinishDemotionCtr1_op_failed;
1043 static int hf_drsuapi_drsuapi_FinishDemotionCtr1_operations_done;
1044 static int hf_drsuapi_drsuapi_FinishDemotionCtr_ctr1;
1045 static int hf_drsuapi_drsuapi_FinishDemotionRequest1_operations;
1046 static int hf_drsuapi_drsuapi_FinishDemotionRequest1_script_base;
1047 static int hf_drsuapi_drsuapi_FinishDemotionRequest1_uuid_helper_dest;
1048 static int hf_drsuapi_drsuapi_FinishDemotionRequest_req1;
1049 static int hf_drsuapi_drsuapi_FinishDemotion_bind_handle;
1050 static int hf_drsuapi_drsuapi_FinishDemotion_ctr;
1051 static int hf_drsuapi_drsuapi_FinishDemotion_in_version;
1052 static int hf_drsuapi_drsuapi_FinishDemotion_out_version;
1053 static int hf_drsuapi_drsuapi_FinishDemotion_req;
1054 static int hf_drsuapi_drsuapi_InitDemotionCtr1_op_error;
1055 static int hf_drsuapi_drsuapi_InitDemotionCtr_ctr1;
1056 static int hf_drsuapi_drsuapi_InitDemotionRequest1_reserved;
1057 static int hf_drsuapi_drsuapi_InitDemotionRequest_req1;
1058 static int hf_drsuapi_drsuapi_InitDemotion_bind_handle;
1059 static int hf_drsuapi_drsuapi_InitDemotion_ctr;
1060 static int hf_drsuapi_drsuapi_InitDemotion_in_version;
1061 static int hf_drsuapi_drsuapi_InitDemotion_out_version;
1062 static int hf_drsuapi_drsuapi_InitDemotion_req;
1063 static int hf_drsuapi_drsuapi_NameResOp_V1_name_res;
1064 static int hf_drsuapi_drsuapi_NameResOp_V1_next_rdn;
1065 static int hf_drsuapi_drsuapi_NameResOp_V1_unused_pad;
1066 static int hf_drsuapi_drsuapi_QuerySitesByCostCtr1_flags_reserved;
1067 static int hf_drsuapi_drsuapi_QuerySitesByCostCtr1_info;
1068 static int hf_drsuapi_drsuapi_QuerySitesByCostCtr1_num_info;
1069 static int hf_drsuapi_drsuapi_QuerySitesByCostCtr_ctr1;
1070 static int hf_drsuapi_drsuapi_QuerySitesByCostRequest1_flags;
1071 static int hf_drsuapi_drsuapi_QuerySitesByCostRequest1_num_req;
1072 static int hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_from;
1073 static int hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_to;
1074 static int hf_drsuapi_drsuapi_QuerySitesByCostRequest_req1;
1075 static int hf_drsuapi_drsuapi_QuerySitesByCost_bind_handle;
1076 static int hf_drsuapi_drsuapi_QuerySitesByCost_ctr;
1077 static int hf_drsuapi_drsuapi_QuerySitesByCost_level;
1078 static int hf_drsuapi_drsuapi_QuerySitesByCost_level_out;
1079 static int hf_drsuapi_drsuapi_QuerySitesByCost_req;
1080 static int hf_drsuapi_drsuapi_ReadNgcKeyCtr1_ngc_key;
1081 static int hf_drsuapi_drsuapi_ReadNgcKeyCtr1_ngc_key_size;
1082 static int hf_drsuapi_drsuapi_ReadNgcKeyCtr1_ret_val;
1083 static int hf_drsuapi_drsuapi_ReadNgcKeyCtr_ctr1;
1084 static int hf_drsuapi_drsuapi_ReadNgcKeyRequest1_account;
1085 static int hf_drsuapi_drsuapi_ReadNgcKeyRequest_req1;
1086 static int hf_drsuapi_drsuapi_ReadNgcKey_bind_handle;
1087 static int hf_drsuapi_drsuapi_ReadNgcKey_ctr;
1088 static int hf_drsuapi_drsuapi_ReadNgcKey_in_version;
1089 static int hf_drsuapi_drsuapi_ReadNgcKey_out_version;
1090 static int hf_drsuapi_drsuapi_ReadNgcKey_req;
1091 static int hf_drsuapi_drsuapi_ReplicaDemotionCtr1_op_error;
1092 static int hf_drsuapi_drsuapi_ReplicaDemotionCtr_ctr1;
1093 static int hf_drsuapi_drsuapi_ReplicaDemotionRequest1_flags;
1094 static int hf_drsuapi_drsuapi_ReplicaDemotionRequest1_naming_context;
1095 static int hf_drsuapi_drsuapi_ReplicaDemotionRequest1_uuid_helper_dest;
1096 static int hf_drsuapi_drsuapi_ReplicaDemotionRequest_req1;
1097 static int hf_drsuapi_drsuapi_ReplicaDemotion_bind_handle;
1098 static int hf_drsuapi_drsuapi_ReplicaDemotion_ctr;
1099 static int hf_drsuapi_drsuapi_ReplicaDemotion_in_version;
1100 static int hf_drsuapi_drsuapi_ReplicaDemotion_out_version;
1101 static int hf_drsuapi_drsuapi_ReplicaDemotion_req;
1102 static int hf_drsuapi_drsuapi_SecBufferDesc_buff_count;
1103 static int hf_drsuapi_drsuapi_SecBufferDesc_buffers;
1104 static int hf_drsuapi_drsuapi_SecBufferDesc_version;
1105 static int hf_drsuapi_drsuapi_SecBuffer_buf_size;
1106 static int hf_drsuapi_drsuapi_SecBuffer_buf_type;
1107 static int hf_drsuapi_drsuapi_SecBuffer_buffer;
1108 static int hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_00000008;
1109 static int hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_ADAM;
1110 static int hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V9;
1111 static int hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2;
1112 static int hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN;
1113 static int hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_RPC_CORRELATIONID_1;
1114 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY;
1115 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3;
1116 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2;
1117 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY;
1118 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION;
1119 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE;
1120 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND;
1121 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01;
1122 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1;
1123 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2;
1124 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5;
1125 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6;
1126 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10;
1127 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5;
1128 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6;
1129 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8;
1130 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS;
1131 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2;
1132 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO;
1133 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD;
1134 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE;
1135 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION;
1136 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2;
1137 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS;
1138 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3;
1139 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI;
1140 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2;
1141 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3;
1142 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION;
1143 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION;
1144 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP;
1145 static int hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS;
1146 static int hf_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION_buffer;
1147 static int hf_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION_buffer_size;
1148 static int hf_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION_padding;
1149 static int hf_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION_version;
1150 static int hf_drsuapi_drsuapi_WriteNgcKeyCtr1_ret_val;
1151 static int hf_drsuapi_drsuapi_WriteNgcKeyCtr_ctr1;
1152 static int hf_drsuapi_drsuapi_WriteNgcKeyRequest1_account;
1153 static int hf_drsuapi_drsuapi_WriteNgcKeyRequest1_ngc_key;
1154 static int hf_drsuapi_drsuapi_WriteNgcKeyRequest1_ngc_key_size;
1155 static int hf_drsuapi_drsuapi_WriteNgcKeyRequest_req1;
1156 static int hf_drsuapi_drsuapi_WriteNgcKey_bind_handle;
1157 static int hf_drsuapi_drsuapi_WriteNgcKey_ctr;
1158 static int hf_drsuapi_drsuapi_WriteNgcKey_in_version;
1159 static int hf_drsuapi_drsuapi_WriteNgcKey_out_version;
1160 static int hf_drsuapi_drsuapi_WriteNgcKey_req;
1161 static int hf_drsuapi_lsa_String_length;
1162 static int hf_drsuapi_lsa_String_size;
1163 static int hf_drsuapi_lsa_String_string;
1164 static int hf_drsuapi_opnum;
1165 static int hf_drsuapi_package_PrimaryKerberosBlob_ctr;
1166 static int hf_drsuapi_package_PrimaryKerberosBlob_flags;
1167 static int hf_drsuapi_package_PrimaryKerberosBlob_version;
1168 static int hf_drsuapi_package_PrimaryKerberosCtr3_keys;
1169 static int hf_drsuapi_package_PrimaryKerberosCtr3_num_keys;
1170 static int hf_drsuapi_package_PrimaryKerberosCtr3_num_old_keys;
1171 static int hf_drsuapi_package_PrimaryKerberosCtr3_old_keys;
1172 static int hf_drsuapi_package_PrimaryKerberosCtr3_padding1;
1173 static int hf_drsuapi_package_PrimaryKerberosCtr3_padding2;
1174 static int hf_drsuapi_package_PrimaryKerberosCtr3_padding3;
1175 static int hf_drsuapi_package_PrimaryKerberosCtr3_padding4;
1176 static int hf_drsuapi_package_PrimaryKerberosCtr3_padding5;
1177 static int hf_drsuapi_package_PrimaryKerberosCtr3_salt;
1178 static int hf_drsuapi_package_PrimaryKerberosCtr4_default_iteration_count;
1179 static int hf_drsuapi_package_PrimaryKerberosCtr4_keys;
1180 static int hf_drsuapi_package_PrimaryKerberosCtr4_num_keys;
1181 static int hf_drsuapi_package_PrimaryKerberosCtr4_num_old_keys;
1182 static int hf_drsuapi_package_PrimaryKerberosCtr4_num_older_keys;
1183 static int hf_drsuapi_package_PrimaryKerberosCtr4_num_service_keys;
1184 static int hf_drsuapi_package_PrimaryKerberosCtr4_old_keys;
1185 static int hf_drsuapi_package_PrimaryKerberosCtr4_older_keys;
1186 static int hf_drsuapi_package_PrimaryKerberosCtr4_salt;
1187 static int hf_drsuapi_package_PrimaryKerberosCtr4_service_keys;
1188 static int hf_drsuapi_package_PrimaryKerberosCtr_ctr3;
1189 static int hf_drsuapi_package_PrimaryKerberosCtr_ctr4;
1190 static int hf_drsuapi_package_PrimaryKerberosKey3_keytype;
1191 static int hf_drsuapi_package_PrimaryKerberosKey3_reserved1;
1192 static int hf_drsuapi_package_PrimaryKerberosKey3_reserved2;
1193 static int hf_drsuapi_package_PrimaryKerberosKey3_reserved3;
1194 static int hf_drsuapi_package_PrimaryKerberosKey3_value;
1195 static int hf_drsuapi_package_PrimaryKerberosKey3_value_len;
1196 static int hf_drsuapi_package_PrimaryKerberosKey3_value_ofs;
1197 static int hf_drsuapi_package_PrimaryKerberosKey4_iteration_count;
1198 static int hf_drsuapi_package_PrimaryKerberosKey4_keytype;
1199 static int hf_drsuapi_package_PrimaryKerberosKey4_reserved1;
1200 static int hf_drsuapi_package_PrimaryKerberosKey4_reserved2;
1201 static int hf_drsuapi_package_PrimaryKerberosKey4_reserved3;
1202 static int hf_drsuapi_package_PrimaryKerberosKey4_value;
1203 static int hf_drsuapi_package_PrimaryKerberosKey4_value_len;
1204 static int hf_drsuapi_package_PrimaryKerberosKey4_value_ofs;
1205 static int hf_drsuapi_package_PrimaryKerberosString_length;
1206 static int hf_drsuapi_package_PrimaryKerberosString_size;
1207 static int hf_drsuapi_package_PrimaryKerberosString_string_ofs;
1208 static int hf_drsuapi_pkb_PrimaryKerberosBlob;
1209 static int hf_drsuapi_sch_supplementalCredentials;
1210 static int hf_drsuapi_supplementalCredentialsBlob___ndr_size;
1211 static int hf_drsuapi_supplementalCredentialsBlob_sub;
1212 static int hf_drsuapi_supplementalCredentialsBlob_sub_;
1213 static int hf_drsuapi_supplementalCredentialsBlob_unknown1;
1214 static int hf_drsuapi_supplementalCredentialsBlob_unknown2;
1215 static int hf_drsuapi_supplementalCredentialsBlob_unknown3;
1216 static int hf_drsuapi_supplementalCredentialsPackage_data;
1217 static int hf_drsuapi_supplementalCredentialsPackage_data_len;
1218 static int hf_drsuapi_supplementalCredentialsPackage_name;
1219 static int hf_drsuapi_supplementalCredentialsPackage_name_len;
1220 static int hf_drsuapi_supplementalCredentialsPackage_reserved;
1221 static int hf_drsuapi_supplementalCredentialsSubBlob_num_packages;
1222 static int hf_drsuapi_supplementalCredentialsSubBlob_packages;
1223 static int hf_drsuapi_supplementalCredentialsSubBlob_prefix;
1224 static int hf_drsuapi_supplementalCredentialsSubBlob_signature;
1225 static int hf_drsuapi_werror;
1227 static int proto_dcerpc_drsuapi;
1228 /* Version information */
1231 static e_guid_t uuid_dcerpc_drsuapi = {
1232 0xe3514235, 0x4b06, 0x11d1,
1233 { 0xab, 0x04, 0x00, 0xc0, 0x4f, 0xc2, 0xdc, 0xd2 }
1235 static uint16_t ver_dcerpc_drsuapi = 4;
1237 static int drsuapi_dissect_element_lsa_String_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1238 static int drsuapi_dissect_element_lsa_String_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1239 static int drsuapi_dissect_element_lsa_String_string(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1240 static int drsuapi_dissect_element_lsa_String_string_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1241 static int drsuapi_dissect_element_supplementalCredentialsPackage_name_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *name_len);
1242 static int drsuapi_dissect_element_supplementalCredentialsPackage_data_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *data_len);
1243 static int drsuapi_dissect_element_supplementalCredentialsPackage_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1244 const value_string drsuapi_supplementalCredentialsSignature_vals[] = {
1245 { SUPPLEMENTAL_CREDENTIALS_SIGNATURE, "SUPPLEMENTAL_CREDENTIALS_SIGNATURE" },
1246 { 0, NULL }
1248 static int drsuapi_dissect_element_supplementalCredentialsSubBlob_prefix(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1249 static int drsuapi_dissect_element_supplementalCredentialsSubBlob_prefix_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1250 static int drsuapi_dissect_element_supplementalCredentialsSubBlob_signature(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1251 static int drsuapi_dissect_element_supplementalCredentialsSubBlob_num_packages(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_packages);
1252 static int drsuapi_dissect_element_supplementalCredentialsSubBlob_packages(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_packages);
1253 static int drsuapi_dissect_element_supplementalCredentialsSubBlob_packages_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_packages);
1254 static int drsuapi_dissect_element_supplementalCredentialsBlob_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1255 static int drsuapi_dissect_element_supplementalCredentialsBlob___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1256 static int drsuapi_dissect_element_supplementalCredentialsBlob_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1257 static int drsuapi_dissect_element_supplementalCredentialsBlob_sub(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1258 static int drsuapi_dissect_element_supplementalCredentialsBlob_sub_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1259 static int drsuapi_dissect_element_supplementalCredentialsBlob_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1260 static int drsuapi_dissect_element_sch_supplementalCredentials(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1261 static int drsuapi_dissect_element_package_PrimaryKerberosString_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1262 static int drsuapi_dissect_element_package_PrimaryKerberosString_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1263 static int drsuapi_dissect_element_package_PrimaryKerberosString_string_ofs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1264 static int drsuapi_dissect_element_package_PrimaryKerberosKey3_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1265 static int drsuapi_dissect_element_package_PrimaryKerberosKey3_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1266 static int drsuapi_dissect_element_package_PrimaryKerberosKey3_reserved3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1267 static int drsuapi_dissect_element_package_PrimaryKerberosKey3_value(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 *value_len);
1268 static int drsuapi_dissect_element_package_PrimaryKerberosKey3_value_(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 *value_len);
1269 static int drsuapi_dissect_element_package_PrimaryKerberosCtr3_num_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_keys);
1270 static int drsuapi_dissect_element_package_PrimaryKerberosCtr3_num_old_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_old_keys);
1271 static int drsuapi_dissect_element_package_PrimaryKerberosCtr3_salt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1272 static int drsuapi_dissect_element_package_PrimaryKerberosCtr3_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_keys);
1273 static int drsuapi_dissect_element_package_PrimaryKerberosCtr3_keys_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_keys);
1274 static int drsuapi_dissect_element_package_PrimaryKerberosCtr3_old_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_old_keys);
1275 static int drsuapi_dissect_element_package_PrimaryKerberosCtr3_old_keys_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_old_keys);
1276 static int drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1277 static int drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1278 static int drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1279 static int drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1280 static int drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1281 static int drsuapi_dissect_element_package_PrimaryKerberosKey4_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1282 static int drsuapi_dissect_element_package_PrimaryKerberosKey4_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1283 static int drsuapi_dissect_element_package_PrimaryKerberosKey4_reserved3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1284 static int drsuapi_dissect_element_package_PrimaryKerberosKey4_iteration_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1285 static int drsuapi_dissect_element_package_PrimaryKerberosKey4_value(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 *value_len);
1286 static int drsuapi_dissect_element_package_PrimaryKerberosKey4_value_(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 *value_len);
1287 static int drsuapi_dissect_element_package_PrimaryKerberosCtr4_num_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_keys);
1288 static int drsuapi_dissect_element_package_PrimaryKerberosCtr4_num_service_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_service_keys);
1289 static int drsuapi_dissect_element_package_PrimaryKerberosCtr4_num_old_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_old_keys);
1290 static int drsuapi_dissect_element_package_PrimaryKerberosCtr4_num_older_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_older_keys);
1291 static int drsuapi_dissect_element_package_PrimaryKerberosCtr4_salt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1292 static int drsuapi_dissect_element_package_PrimaryKerberosCtr4_default_iteration_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1293 static int drsuapi_dissect_element_package_PrimaryKerberosCtr4_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_keys);
1294 static int drsuapi_dissect_element_package_PrimaryKerberosCtr4_keys_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_keys);
1295 static int drsuapi_dissect_element_package_PrimaryKerberosCtr4_service_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_service_keys);
1296 static int drsuapi_dissect_element_package_PrimaryKerberosCtr4_service_keys_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_service_keys);
1297 static int drsuapi_dissect_element_package_PrimaryKerberosCtr4_old_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_old_keys);
1298 static int drsuapi_dissect_element_package_PrimaryKerberosCtr4_old_keys_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_old_keys);
1299 static int drsuapi_dissect_element_package_PrimaryKerberosCtr4_older_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_older_keys);
1300 static int drsuapi_dissect_element_package_PrimaryKerberosCtr4_older_keys_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_older_keys);
1301 static int drsuapi_dissect_element_package_PrimaryKerberosCtr_ctr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1302 static int drsuapi_dissect_element_package_PrimaryKerberosCtr_ctr4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1303 static int drsuapi_dissect_element_package_PrimaryKerberosBlob_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *version);
1304 static int drsuapi_dissect_element_package_PrimaryKerberosBlob_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1305 static int drsuapi_dissect_element_package_PrimaryKerberosBlob_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t version);
1306 static int drsuapi_dissect_element_pkb_PrimaryKerberosBlob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1307 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_OP_tfs = {
1308 "DRSUAPI_DRS_ASYNC_OP is SET",
1309 "DRSUAPI_DRS_ASYNC_OP is NOT SET",
1311 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_GETCHG_CHECK_tfs = {
1312 "DRSUAPI_DRS_GETCHG_CHECK is SET",
1313 "DRSUAPI_DRS_GETCHG_CHECK is NOT SET",
1315 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_ADD_REF_tfs = {
1316 "DRSUAPI_DRS_ADD_REF is SET",
1317 "DRSUAPI_DRS_ADD_REF is NOT SET",
1319 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_ALL_tfs = {
1320 "DRSUAPI_DRS_SYNC_ALL is SET",
1321 "DRSUAPI_DRS_SYNC_ALL is NOT SET",
1323 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_WRIT_REP_tfs = {
1324 "DRSUAPI_DRS_WRIT_REP is SET",
1325 "DRSUAPI_DRS_WRIT_REP is NOT SET",
1327 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC_tfs = {
1328 "DRSUAPI_DRS_INIT_SYNC is SET",
1329 "DRSUAPI_DRS_INIT_SYNC is NOT SET",
1331 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_PER_SYNC_tfs = {
1332 "DRSUAPI_DRS_PER_SYNC is SET",
1333 "DRSUAPI_DRS_PER_SYNC is NOT SET",
1335 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_MAIL_REP_tfs = {
1336 "DRSUAPI_DRS_MAIL_REP is SET",
1337 "DRSUAPI_DRS_MAIL_REP is NOT SET",
1339 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_REP_tfs = {
1340 "DRSUAPI_DRS_ASYNC_REP is SET",
1341 "DRSUAPI_DRS_ASYNC_REP is NOT SET",
1343 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_TWOWAY_SYNC_tfs = {
1344 "DRSUAPI_DRS_TWOWAY_SYNC is SET",
1345 "DRSUAPI_DRS_TWOWAY_SYNC is NOT SET",
1347 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_CRITICAL_ONLY_tfs = {
1348 "DRSUAPI_DRS_CRITICAL_ONLY is SET",
1349 "DRSUAPI_DRS_CRITICAL_ONLY is NOT SET",
1351 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_GET_ANC_tfs = {
1352 "DRSUAPI_DRS_GET_ANC is SET",
1353 "DRSUAPI_DRS_GET_ANC is NOT SET",
1355 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_GET_NC_SIZE_tfs = {
1356 "DRSUAPI_DRS_GET_NC_SIZE is SET",
1357 "DRSUAPI_DRS_GET_NC_SIZE is NOT SET",
1359 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_NONGC_RO_REP_tfs = {
1360 "DRSUAPI_DRS_NONGC_RO_REP is SET",
1361 "DRSUAPI_DRS_NONGC_RO_REP is NOT SET",
1363 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_BYNAME_tfs = {
1364 "DRSUAPI_DRS_SYNC_BYNAME is SET",
1365 "DRSUAPI_DRS_SYNC_BYNAME is NOT SET",
1367 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_NOW_tfs = {
1368 "DRSUAPI_DRS_FULL_SYNC_NOW is SET",
1369 "DRSUAPI_DRS_FULL_SYNC_NOW is NOT SET",
1371 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS_tfs = {
1372 "DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS is SET",
1373 "DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS is NOT SET",
1375 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_PACKET_tfs = {
1376 "DRSUAPI_DRS_FULL_SYNC_PACKET is SET",
1377 "DRSUAPI_DRS_FULL_SYNC_PACKET is NOT SET",
1379 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_REQUEUE_tfs = {
1380 "DRSUAPI_DRS_SYNC_REQUEUE is SET",
1381 "DRSUAPI_DRS_SYNC_REQUEUE is NOT SET",
1383 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_URGENT_tfs = {
1384 "DRSUAPI_DRS_SYNC_URGENT is SET",
1385 "DRSUAPI_DRS_SYNC_URGENT is NOT SET",
1387 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_REF_GCSPN_tfs = {
1388 "DRSUAPI_DRS_REF_GCSPN is SET",
1389 "DRSUAPI_DRS_REF_GCSPN is NOT SET",
1391 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_SYNCED_tfs = {
1392 "DRSUAPI_DRS_NEVER_SYNCED is SET",
1393 "DRSUAPI_DRS_NEVER_SYNCED is NOT SET",
1395 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING_tfs = {
1396 "DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING is SET",
1397 "DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING is NOT SET",
1399 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC_NOW_tfs = {
1400 "DRSUAPI_DRS_INIT_SYNC_NOW is SET",
1401 "DRSUAPI_DRS_INIT_SYNC_NOW is NOT SET",
1403 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_PREEMPTED_tfs = {
1404 "DRSUAPI_DRS_PREEMPTED is SET",
1405 "DRSUAPI_DRS_PREEMPTED is NOT SET",
1407 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_FORCED_tfs = {
1408 "DRSUAPI_DRS_SYNC_FORCED is SET",
1409 "DRSUAPI_DRS_SYNC_FORCED is NOT SET",
1411 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_AUTO_SYNC_tfs = {
1412 "DRSUAPI_DRS_DISABLE_AUTO_SYNC is SET",
1413 "DRSUAPI_DRS_DISABLE_AUTO_SYNC is NOT SET",
1415 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_PERIODIC_SYNC_tfs = {
1416 "DRSUAPI_DRS_DISABLE_PERIODIC_SYNC is SET",
1417 "DRSUAPI_DRS_DISABLE_PERIODIC_SYNC is NOT SET",
1419 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_USE_COMPRESSION_tfs = {
1420 "DRSUAPI_DRS_USE_COMPRESSION is SET",
1421 "DRSUAPI_DRS_USE_COMPRESSION is NOT SET",
1423 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_NOTIFY_tfs = {
1424 "DRSUAPI_DRS_NEVER_NOTIFY is SET",
1425 "DRSUAPI_DRS_NEVER_NOTIFY is NOT SET",
1427 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_PAS_tfs = {
1428 "DRSUAPI_DRS_SYNC_PAS is SET",
1429 "DRSUAPI_DRS_SYNC_PAS is NOT SET",
1431 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP_tfs = {
1432 "DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP is SET",
1433 "DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP is NOT SET",
1435 static const true_false_string drsuapi_DrsMoreOptions_DRSUAPI_DRS_GET_TGT_tfs = {
1436 "DRSUAPI_DRS_GET_TGT is SET",
1437 "DRSUAPI_DRS_GET_TGT is NOT SET",
1439 static const true_false_string drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_FLAGS_tfs = {
1440 "DRSUAPI_DRS_UPDATE_FLAGS is SET",
1441 "DRSUAPI_DRS_UPDATE_FLAGS is NOT SET",
1443 static const true_false_string drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_ADDRESS_tfs = {
1444 "DRSUAPI_DRS_UPDATE_ADDRESS is SET",
1445 "DRSUAPI_DRS_UPDATE_ADDRESS is NOT SET",
1447 static const true_false_string drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_SCHEDULE_tfs = {
1448 "DRSUAPI_DRS_UPDATE_SCHEDULE is SET",
1449 "DRSUAPI_DRS_UPDATE_SCHEDULE is NOT SET",
1451 static int drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1452 static int drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_buffer_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1453 static int drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1454 static int drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
1455 static int drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1456 static int drsuapi_dissect_conformant_VAR_SIZE_BUFFER_WITH_VERSION_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
1457 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE_tfs = {
1458 "DRSUAPI_SUPPORTED_EXTENSION_BASE is SET",
1459 "DRSUAPI_SUPPORTED_EXTENSION_BASE is NOT SET",
1461 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION_tfs = {
1462 "DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION is SET",
1463 "DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION is NOT SET",
1465 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI_tfs = {
1466 "DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI is SET",
1467 "DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI is NOT SET",
1469 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2_tfs = {
1470 "DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 is SET",
1471 "DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 is NOT SET",
1473 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS_tfs = {
1474 "DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS is SET",
1475 "DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS is NOT SET",
1477 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1_tfs = {
1478 "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 is SET",
1479 "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 is NOT SET",
1481 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION_tfs = {
1482 "DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION is SET",
1483 "DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION is NOT SET",
1485 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_tfs = {
1486 "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY is SET",
1487 "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY is NOT SET",
1489 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE_tfs = {
1490 "DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE is SET",
1491 "DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE is NOT SET",
1493 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2_tfs = {
1494 "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 is SET",
1495 "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 is NOT SET",
1497 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION_tfs = {
1498 "DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION is SET",
1499 "DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION is NOT SET",
1501 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2_tfs = {
1502 "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 is SET",
1503 "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 is NOT SET",
1505 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD_tfs = {
1506 "DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD is SET",
1507 "DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD is NOT SET",
1509 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND_tfs = {
1510 "DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND is SET",
1511 "DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND is NOT SET",
1513 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO_tfs = {
1514 "DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO is SET",
1515 "DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO is NOT SET",
1517 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION_tfs = {
1518 "DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION is SET",
1519 "DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION is NOT SET",
1521 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01_tfs = {
1522 "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 is SET",
1523 "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 is NOT SET",
1525 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP_tfs = {
1526 "DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP is SET",
1527 "DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP is NOT SET",
1529 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY_tfs = {
1530 "DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY is SET",
1531 "DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY is NOT SET",
1533 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3_tfs = {
1534 "DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 is SET",
1535 "DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 is NOT SET",
1537 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5_tfs = {
1538 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5 is SET",
1539 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5 is NOT SET",
1541 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2_tfs = {
1542 "DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 is SET",
1543 "DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 is NOT SET",
1545 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6_tfs = {
1546 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 is SET",
1547 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 is NOT SET",
1549 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS_tfs = {
1550 "DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS is SET",
1551 "DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS is NOT SET",
1553 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8_tfs = {
1554 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 is SET",
1555 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 is NOT SET",
1557 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5_tfs = {
1558 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 is SET",
1559 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 is NOT SET",
1561 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6_tfs = {
1562 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 is SET",
1563 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 is NOT SET",
1565 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3_tfs = {
1566 "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 is SET",
1567 "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 is NOT SET",
1569 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS_tfs = {
1570 "DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS is SET",
1571 "DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS is NOT SET",
1573 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10_tfs = {
1574 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10 is SET",
1575 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10 is NOT SET",
1577 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2_tfs = {
1578 "DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2 is SET",
1579 "DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2 is NOT SET",
1581 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3_tfs = {
1582 "DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3 is SET",
1583 "DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3 is NOT SET",
1585 static const true_false_string drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_ADAM_tfs = {
1586 "DRSUAPI_SUPPORTED_EXTENSION_ADAM is SET",
1587 "DRSUAPI_SUPPORTED_EXTENSION_ADAM is NOT SET",
1589 static const true_false_string drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2_tfs = {
1590 "DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2 is SET",
1591 "DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2 is NOT SET",
1593 static const true_false_string drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN_tfs = {
1594 "DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN is SET",
1595 "DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN is NOT SET",
1597 static const true_false_string drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_00000008_tfs = {
1598 "DRSUAPI_SUPPORTED_EXTENSION_00000008 is SET",
1599 "DRSUAPI_SUPPORTED_EXTENSION_00000008 is NOT SET",
1601 static const true_false_string drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V9_tfs = {
1602 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V9 is SET",
1603 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V9 is NOT SET",
1605 static const true_false_string drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_RPC_CORRELATIONID_1_tfs = {
1606 "DRSUAPI_SUPPORTED_EXTENSION_RPC_CORRELATIONID_1 is SET",
1607 "DRSUAPI_SUPPORTED_EXTENSION_RPC_CORRELATIONID_1 is NOT SET",
1609 static int drsuapi_dissect_element_DsBindInfo24_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1610 static int drsuapi_dissect_element_DsBindInfo24_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1611 static int drsuapi_dissect_element_DsBindInfo24_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1612 static int drsuapi_dissect_element_DsBindInfo28_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1613 static int drsuapi_dissect_element_DsBindInfo28_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1614 static int drsuapi_dissect_element_DsBindInfo28_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1615 static int drsuapi_dissect_element_DsBindInfo28_repl_epoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1616 static int drsuapi_dissect_element_DsBindInfo32_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1617 static int drsuapi_dissect_element_DsBindInfo32_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1618 static int drsuapi_dissect_element_DsBindInfo32_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1619 static int drsuapi_dissect_element_DsBindInfo32_repl_epoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1620 static int drsuapi_dissect_element_DsBindInfo32_supported_extensions_ext(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1621 static int drsuapi_dissect_element_DsBindInfo48_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1622 static int drsuapi_dissect_element_DsBindInfo48_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1623 static int drsuapi_dissect_element_DsBindInfo48_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1624 static int drsuapi_dissect_element_DsBindInfo48_repl_epoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1625 static int drsuapi_dissect_element_DsBindInfo48_supported_extensions_ext(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1626 static int drsuapi_dissect_element_DsBindInfo48_config_dn_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1627 static int drsuapi_dissect_element_DsBindInfo52_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1628 static int drsuapi_dissect_element_DsBindInfo52_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1629 static int drsuapi_dissect_element_DsBindInfo52_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1630 static int drsuapi_dissect_element_DsBindInfo52_repl_epoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1631 static int drsuapi_dissect_element_DsBindInfo52_supported_extensions_ext(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1632 static int drsuapi_dissect_element_DsBindInfo52_config_dn_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1633 static int drsuapi_dissect_element_DsBindInfo52_supported_capabilities_ext(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1634 static int drsuapi_dissect_element_DsBindInfoFallBack_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1635 static int drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1636 static int drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1637 static int drsuapi_dissect_element_DsReplicaObjectIdentifier_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1638 static int drsuapi_dissect_element_DsReplicaObjectIdentifier_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1639 static int drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1640 static int drsuapi_dissect_element_DsReplicaObjectIdentifier_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
1641 static int drsuapi_dissect_conformant_DsReplicaObjectIdentifier_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
1642 static int drsuapi_dissect_element_DsReplicaSyncRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1643 static int drsuapi_dissect_element_DsReplicaSyncRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1644 static int drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1645 static int drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_dns(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1646 static int drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_dns_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1647 static int drsuapi_dissect_element_DsReplicaSyncRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1648 static int drsuapi_dissect_element_DsReplicaSyncRequest2_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1649 static int drsuapi_dissect_element_DsReplicaSyncRequest2_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1650 static int drsuapi_dissect_element_DsReplicaSyncRequest2_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1651 static int drsuapi_dissect_element_DsReplicaSyncRequest2_source_dsa_dns(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1652 static int drsuapi_dissect_element_DsReplicaSyncRequest2_source_dsa_dns_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1653 static int drsuapi_dissect_element_DsReplicaSyncRequest2_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1654 static int drsuapi_dissect_element_DsReplicaSyncRequest2_correlationID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1655 static int drsuapi_dissect_element_DsReplicaSyncRequest2_reserved_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1656 static int drsuapi_dissect_element_DsReplicaSyncRequest2_reserved_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1657 static int drsuapi_dissect_element_DsReplicaSyncRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1658 static int drsuapi_dissect_element_DsReplicaSyncRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1659 static int drsuapi_dissect_element_DsReplicaHighWaterMark_tmp_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1660 static int drsuapi_dissect_element_DsReplicaHighWaterMark_reserved_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1661 static int drsuapi_dissect_element_DsReplicaHighWaterMark_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1662 static int drsuapi_dissect_element_DsReplicaCursor_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1663 static int drsuapi_dissect_element_DsReplicaCursor_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1664 static int drsuapi_dissect_element_DsReplicaCursorCtrEx_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1665 static int drsuapi_dissect_element_DsReplicaCursorCtrEx_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1666 static int drsuapi_dissect_element_DsReplicaCursorCtrEx_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1667 static int drsuapi_dissect_element_DsReplicaCursorCtrEx_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1668 static int drsuapi_dissect_element_DsReplicaCursorCtrEx_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
1669 static int drsuapi_dissect_element_DsReplicaCursorCtrEx_cursors_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1670 static int drsuapi_dissect_conformant_DsReplicaCursorCtrEx_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
1671 const value_string drsuapi_drsuapi_DsExtendedOperation_vals[] = {
1672 { DRSUAPI_EXOP_NONE, "DRSUAPI_EXOP_NONE" },
1673 { DRSUAPI_EXOP_FSMO_REQ_ROLE, "DRSUAPI_EXOP_FSMO_REQ_ROLE" },
1674 { DRSUAPI_EXOP_FSMO_RID_ALLOC, "DRSUAPI_EXOP_FSMO_RID_ALLOC" },
1675 { DRSUAPI_EXOP_FSMO_RID_REQ_ROLE, "DRSUAPI_EXOP_FSMO_RID_REQ_ROLE" },
1676 { DRSUAPI_EXOP_FSMO_REQ_PDC, "DRSUAPI_EXOP_FSMO_REQ_PDC" },
1677 { DRSUAPI_EXOP_FSMO_ABANDON_ROLE, "DRSUAPI_EXOP_FSMO_ABANDON_ROLE" },
1678 { DRSUAPI_EXOP_REPL_OBJ, "DRSUAPI_EXOP_REPL_OBJ" },
1679 { DRSUAPI_EXOP_REPL_SECRET, "DRSUAPI_EXOP_REPL_SECRET" },
1680 { 0, NULL }
1682 const value_string drsuapi_drsuapi_DsExtendedError_vals[] = {
1683 { DRSUAPI_EXOP_ERR_NONE, "DRSUAPI_EXOP_ERR_NONE" },
1684 { DRSUAPI_EXOP_ERR_SUCCESS, "DRSUAPI_EXOP_ERR_SUCCESS" },
1685 { DRSUAPI_EXOP_ERR_UNKNOWN_OP, "DRSUAPI_EXOP_ERR_UNKNOWN_OP" },
1686 { DRSUAPI_EXOP_ERR_FSMO_NOT_OWNER, "DRSUAPI_EXOP_ERR_FSMO_NOT_OWNER" },
1687 { DRSUAPI_EXOP_ERR_UPDATE_ERR, "DRSUAPI_EXOP_ERR_UPDATE_ERR" },
1688 { DRSUAPI_EXOP_ERR_EXCEPTION, "DRSUAPI_EXOP_ERR_EXCEPTION" },
1689 { DRSUAPI_EXOP_ERR_UNKNOWN_CALLER, "DRSUAPI_EXOP_ERR_UNKNOWN_CALLER" },
1690 { DRSUAPI_EXOP_ERR_RID_ALLOC, "DRSUAPI_EXOP_ERR_RID_ALLOC" },
1691 { DRSUAPI_EXOP_ERR_FSMO_OWNER_DELETED, "DRSUAPI_EXOP_ERR_FSMO_OWNER_DELETED" },
1692 { DRSUAPI_EXOP_ERR_FMSO_PENDING_OP, "DRSUAPI_EXOP_ERR_FMSO_PENDING_OP" },
1693 { DRSUAPI_EXOP_ERR_MISMATCH, "DRSUAPI_EXOP_ERR_MISMATCH" },
1694 { DRSUAPI_EXOP_ERR_COULDNT_CONTACT, "DRSUAPI_EXOP_ERR_COULDNT_CONTACT" },
1695 { DRSUAPI_EXOP_ERR_FSMO_REFUSING_ROLES, "DRSUAPI_EXOP_ERR_FSMO_REFUSING_ROLES" },
1696 { DRSUAPI_EXOP_ERR_DIR_ERROR, "DRSUAPI_EXOP_ERR_DIR_ERROR" },
1697 { DRSUAPI_EXOP_ERR_FSMO_MISSING_SETTINGS, "DRSUAPI_EXOP_ERR_FSMO_MISSING_SETTINGS" },
1698 { DRSUAPI_EXOP_ERR_ACCESS_DENIED, "DRSUAPI_EXOP_ERR_ACCESS_DENIED" },
1699 { DRSUAPI_EXOP_ERR_PARAM_ERROR, "DRSUAPI_EXOP_ERR_PARAM_ERROR" },
1700 { 0, NULL }
1702 static int drsuapi_dissect_element_DsGetNCChangesRequest5_destination_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1703 static int drsuapi_dissect_element_DsGetNCChangesRequest5_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1704 static int drsuapi_dissect_element_DsGetNCChangesRequest5_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1705 static int drsuapi_dissect_element_DsGetNCChangesRequest5_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1706 static int drsuapi_dissect_element_DsGetNCChangesRequest5_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1707 static int drsuapi_dissect_element_DsGetNCChangesRequest5_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1708 static int drsuapi_dissect_element_DsGetNCChangesRequest5_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1709 static int drsuapi_dissect_element_DsGetNCChangesRequest5_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1710 static int drsuapi_dissect_element_DsGetNCChangesRequest5_max_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1711 static int drsuapi_dissect_element_DsGetNCChangesRequest5_max_ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1712 static int drsuapi_dissect_element_DsGetNCChangesRequest5_extended_op(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1713 static int drsuapi_dissect_element_DsGetNCChangesRequest5_fsmo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1714 static int drsuapi_dissect_element_DsReplicaOID_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1715 static int drsuapi_dissect_element_DsReplicaOID_binary_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1716 static int drsuapi_dissect_element_DsReplicaOID_binary_oid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1717 static int drsuapi_dissect_element_DsReplicaOID_binary_oid__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1718 static int drsuapi_dissect_element_DsReplicaOIDMapping_id_prefix(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1719 static int drsuapi_dissect_element_DsReplicaOIDMapping_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1720 static int drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_num_mappings(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1721 static int drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1722 static int drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1723 static int drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1724 const value_string drsuapi_drsuapi_DsObjectClassId_vals[] = {
1725 { DRSUAPI_OBJECTCLASS_top, "DRSUAPI_OBJECTCLASS_top" },
1726 { DRSUAPI_OBJECTCLASS_classSchema, "DRSUAPI_OBJECTCLASS_classSchema" },
1727 { DRSUAPI_OBJECTCLASS_attributeSchema, "DRSUAPI_OBJECTCLASS_attributeSchema" },
1728 { 0, NULL }
1730 const value_string drsuapi_drsuapi_DsAttributeId_vals[] = {
1731 { DRSUAPI_ATTID_objectClass, "DRSUAPI_ATTID_objectClass" },
1732 { DRSUAPI_ATTID_cn, "DRSUAPI_ATTID_cn" },
1733 { DRSUAPI_ATTID_ou, "DRSUAPI_ATTID_ou" },
1734 { DRSUAPI_ATTID_description, "DRSUAPI_ATTID_description" },
1735 { DRSUAPI_ATTID_member, "DRSUAPI_ATTID_member" },
1736 { DRSUAPI_ATTID_distinguishedName, "DRSUAPI_ATTID_distinguishedName" },
1737 { DRSUAPI_ATTID_instanceType, "DRSUAPI_ATTID_instanceType" },
1738 { DRSUAPI_ATTID_whenCreated, "DRSUAPI_ATTID_whenCreated" },
1739 { DRSUAPI_ATTID_possSuperiors, "DRSUAPI_ATTID_possSuperiors" },
1740 { DRSUAPI_ATTID_displayName, "DRSUAPI_ATTID_displayName" },
1741 { DRSUAPI_ATTID_hasMasterNCs, "DRSUAPI_ATTID_hasMasterNCs" },
1742 { DRSUAPI_ATTID_nCName, "DRSUAPI_ATTID_nCName" },
1743 { DRSUAPI_ATTID_subClassOf, "DRSUAPI_ATTID_subClassOf" },
1744 { DRSUAPI_ATTID_governsID, "DRSUAPI_ATTID_governsID" },
1745 { DRSUAPI_ATTID_mustContain, "DRSUAPI_ATTID_mustContain" },
1746 { DRSUAPI_ATTID_mayContain, "DRSUAPI_ATTID_mayContain" },
1747 { DRSUAPI_ATTID_rDNAttId, "DRSUAPI_ATTID_rDNAttId" },
1748 { DRSUAPI_ATTID_attributeID, "DRSUAPI_ATTID_attributeID" },
1749 { DRSUAPI_ATTID_attributeSyntax, "DRSUAPI_ATTID_attributeSyntax" },
1750 { DRSUAPI_ATTID_isSingleValued, "DRSUAPI_ATTID_isSingleValued" },
1751 { DRSUAPI_ATTID_rangeLower, "DRSUAPI_ATTID_rangeLower" },
1752 { DRSUAPI_ATTID_rangeUpper, "DRSUAPI_ATTID_rangeUpper" },
1753 { DRSUAPI_ATTID_dMDLocation, "DRSUAPI_ATTID_dMDLocation" },
1754 { DRSUAPI_ATTID_isDeleted, "DRSUAPI_ATTID_isDeleted" },
1755 { DRSUAPI_ATTID_objectVersion, "DRSUAPI_ATTID_objectVersion" },
1756 { DRSUAPI_ATTID_invocationId, "DRSUAPI_ATTID_invocationId" },
1757 { DRSUAPI_ATTID_showInAdvancedViewOnly, "DRSUAPI_ATTID_showInAdvancedViewOnly" },
1758 { DRSUAPI_ATTID_adminDisplayName, "DRSUAPI_ATTID_adminDisplayName" },
1759 { DRSUAPI_ATTID_adminDescription, "DRSUAPI_ATTID_adminDescription" },
1760 { DRSUAPI_ATTID_oMSyntax, "DRSUAPI_ATTID_oMSyntax" },
1761 { DRSUAPI_ATTID_ntSecurityDescriptor, "DRSUAPI_ATTID_ntSecurityDescriptor" },
1762 { DRSUAPI_ATTID_searchFlags, "DRSUAPI_ATTID_searchFlags" },
1763 { DRSUAPI_ATTID_auxiliaryClass, "DRSUAPI_ATTID_auxiliaryClass" },
1764 { DRSUAPI_ATTID_lDAPDisplayName, "DRSUAPI_ATTID_lDAPDisplayName" },
1765 { DRSUAPI_ATTID_name, "DRSUAPI_ATTID_name" },
1766 { DRSUAPI_ATTID_objectGUID, "DRSUAPI_ATTID_objectGUID" },
1767 { DRSUAPI_ATTID_replPropertyMetaData, "DRSUAPI_ATTID_replPropertyMetaData" },
1768 { DRSUAPI_ATTID_userAccountControl, "DRSUAPI_ATTID_userAccountControl" },
1769 { DRSUAPI_ATTID_badPwdCount, "DRSUAPI_ATTID_badPwdCount" },
1770 { DRSUAPI_ATTID_codePage, "DRSUAPI_ATTID_codePage" },
1771 { DRSUAPI_ATTID_countryCode, "DRSUAPI_ATTID_countryCode" },
1772 { DRSUAPI_ATTID_currentValue, "DRSUAPI_ATTID_currentValue" },
1773 { DRSUAPI_ATTID_homeDirectory, "DRSUAPI_ATTID_homeDirectory" },
1774 { DRSUAPI_ATTID_homeDrive, "DRSUAPI_ATTID_homeDrive" },
1775 { DRSUAPI_ATTID_lastLogoff, "DRSUAPI_ATTID_lastLogoff" },
1776 { DRSUAPI_ATTID_lastLogon, "DRSUAPI_ATTID_lastLogon" },
1777 { DRSUAPI_ATTID_dBCSPwd, "DRSUAPI_ATTID_dBCSPwd" },
1778 { DRSUAPI_ATTID_scriptPath, "DRSUAPI_ATTID_scriptPath" },
1779 { DRSUAPI_ATTID_logonHours, "DRSUAPI_ATTID_logonHours" },
1780 { DRSUAPI_ATTID_userWorkstations, "DRSUAPI_ATTID_userWorkstations" },
1781 { DRSUAPI_ATTID_unicodePwd, "DRSUAPI_ATTID_unicodePwd" },
1782 { DRSUAPI_ATTID_ntPwdHistory, "DRSUAPI_ATTID_ntPwdHistory" },
1783 { DRSUAPI_ATTID_pwdLastSet, "DRSUAPI_ATTID_pwdLastSet" },
1784 { DRSUAPI_ATTID_primaryGroupID, "DRSUAPI_ATTID_primaryGroupID" },
1785 { DRSUAPI_ATTID_priorValue, "DRSUAPI_ATTID_priorValue" },
1786 { DRSUAPI_ATTID_supplementalCredentials, "DRSUAPI_ATTID_supplementalCredentials" },
1787 { DRSUAPI_ATTID_trustAuthIncoming, "DRSUAPI_ATTID_trustAuthIncoming" },
1788 { DRSUAPI_ATTID_trustDirection, "DRSUAPI_ATTID_trustDirection" },
1789 { DRSUAPI_ATTID_trustPartner, "DRSUAPI_ATTID_trustPartner" },
1790 { DRSUAPI_ATTID_trustPosixOffset, "DRSUAPI_ATTID_trustPosixOffset" },
1791 { DRSUAPI_ATTID_trustAuthOutgoing, "DRSUAPI_ATTID_trustAuthOutgoing" },
1792 { DRSUAPI_ATTID_trustType, "DRSUAPI_ATTID_trustType" },
1793 { DRSUAPI_ATTID_userParameters, "DRSUAPI_ATTID_userParameters" },
1794 { DRSUAPI_ATTID_profilePath, "DRSUAPI_ATTID_profilePath" },
1795 { DRSUAPI_ATTID_operatorCount, "DRSUAPI_ATTID_operatorCount" },
1796 { DRSUAPI_ATTID_objectSid, "DRSUAPI_ATTID_objectSid" },
1797 { DRSUAPI_ATTID_schemaIDGUID, "DRSUAPI_ATTID_schemaIDGUID" },
1798 { DRSUAPI_ATTID_adminCount, "DRSUAPI_ATTID_adminCount" },
1799 { DRSUAPI_ATTID_comment, "DRSUAPI_ATTID_comment" },
1800 { DRSUAPI_ATTID_accountExpires, "DRSUAPI_ATTID_accountExpires" },
1801 { DRSUAPI_ATTID_lmPwdHistory, "DRSUAPI_ATTID_lmPwdHistory" },
1802 { DRSUAPI_ATTID_logonCount, "DRSUAPI_ATTID_logonCount" },
1803 { DRSUAPI_ATTID_systemPossSuperiors, "DRSUAPI_ATTID_systemPossSuperiors" },
1804 { DRSUAPI_ATTID_systemMayContain, "DRSUAPI_ATTID_systemMayContain" },
1805 { DRSUAPI_ATTID_systemMustContain, "DRSUAPI_ATTID_systemMustContain" },
1806 { DRSUAPI_ATTID_systemAuxiliaryClass, "DRSUAPI_ATTID_systemAuxiliaryClass" },
1807 { DRSUAPI_ATTID_sAMAccountName, "DRSUAPI_ATTID_sAMAccountName" },
1808 { DRSUAPI_ATTID_sAMAccountType, "DRSUAPI_ATTID_sAMAccountType" },
1809 { DRSUAPI_ATTID_options, "DRSUAPI_ATTID_options" },
1810 { DRSUAPI_ATTID_fSMORoleOwner, "DRSUAPI_ATTID_fSMORoleOwner" },
1811 { DRSUAPI_ATTID_systemFlags, "DRSUAPI_ATTID_systemFlags" },
1812 { DRSUAPI_ATTID_trustAttributes, "DRSUAPI_ATTID_trustAttributes" },
1813 { DRSUAPI_ATTID_trustParent, "DRSUAPI_ATTID_trustParent" },
1814 { DRSUAPI_ATTID_flatName, "DRSUAPI_ATTID_flatName" },
1815 { DRSUAPI_ATTID_serverReference, "DRSUAPI_ATTID_serverReference" },
1816 { DRSUAPI_ATTID_serverReferenceBL, "DRSUAPI_ATTID_serverReferenceBL" },
1817 { DRSUAPI_ATTID_nonSecurityMember, "DRSUAPI_ATTID_nonSecurityMember" },
1818 { DRSUAPI_ATTID_initialAuthIncoming, "DRSUAPI_ATTID_initialAuthIncoming" },
1819 { DRSUAPI_ATTID_initialAuthOutgoing, "DRSUAPI_ATTID_initialAuthOutgoing" },
1820 { DRSUAPI_ATTID_wellKnownObjects, "DRSUAPI_ATTID_wellKnownObjects" },
1821 { DRSUAPI_ATTID_dNSHostName, "DRSUAPI_ATTID_dNSHostName" },
1822 { DRSUAPI_ATTID_isMemberOfPartialAttributeSet, "DRSUAPI_ATTID_isMemberOfPartialAttributeSet" },
1823 { DRSUAPI_ATTID_managedBy, "DRSUAPI_ATTID_managedBy" },
1824 { DRSUAPI_ATTID_userPrincipalName, "DRSUAPI_ATTID_userPrincipalName" },
1825 { DRSUAPI_ATTID_groupType, "DRSUAPI_ATTID_groupType" },
1826 { DRSUAPI_ATTID_servicePrincipalName, "DRSUAPI_ATTID_servicePrincipalName" },
1827 { DRSUAPI_ATTID_lastKnownParent, "DRSUAPI_ATTID_lastKnownParent" },
1828 { DRSUAPI_ATTID_objectCategory, "DRSUAPI_ATTID_objectCategory" },
1829 { DRSUAPI_ATTID_gPLink, "DRSUAPI_ATTID_gPLink" },
1830 { DRSUAPI_ATTID_transportAddressAttribute, "DRSUAPI_ATTID_transportAddressAttribute" },
1831 { DRSUAPI_ATTID_schemaInfo, "DRSUAPI_ATTID_schemaInfo" },
1832 { DRSUAPI_ATTID_msDS_Behavior_Version, "DRSUAPI_ATTID_msDS_Behavior_Version" },
1833 { DRSUAPI_ATTID_msDS_TrustForestTrustInfo, "DRSUAPI_ATTID_msDS_TrustForestTrustInfo" },
1834 { DRSUAPI_ATTID_msDS_KeyVersionNumber, "DRSUAPI_ATTID_msDS_KeyVersionNumber" },
1835 { DRSUAPI_ATTID_msDS_NonMembers, "DRSUAPI_ATTID_msDS_NonMembers" },
1836 { DRSUAPI_ATTID_msDS_MembersForAzRole, "DRSUAPI_ATTID_msDS_MembersForAzRole" },
1837 { DRSUAPI_ATTID_msDS_HasDomainNCs, "DRSUAPI_ATTID_msDS_HasDomainNCs" },
1838 { DRSUAPI_ATTID_msDS_hasMasterNCs, "DRSUAPI_ATTID_msDS_hasMasterNCs" },
1839 { DRSUAPI_ATTID_msDS_NeverRevealGroup, "DRSUAPI_ATTID_msDS_NeverRevealGroup" },
1840 { DRSUAPI_ATTID_msDS_RevealOnDemandGroup, "DRSUAPI_ATTID_msDS_RevealOnDemandGroup" },
1841 { DRSUAPI_ATTID_msDS_SupportedEncryptionTypes, "DRSUAPI_ATTID_msDS_SupportedEncryptionTypes" },
1842 { DRSUAPI_ATTID_msDS_HostServiceAccount, "DRSUAPI_ATTID_msDS_HostServiceAccount" },
1843 { DRSUAPI_ATTID_isRecycled, "DRSUAPI_ATTID_isRecycled" },
1844 { DRSUAPI_ATTID_INVALID, "DRSUAPI_ATTID_INVALID" },
1845 { 0, NULL }
1847 static int drsuapi_dissect_element_DsPartialAttributeSet_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1848 static int drsuapi_dissect_element_DsPartialAttributeSet_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1849 static int drsuapi_dissect_element_DsPartialAttributeSet_num_attids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1850 static int drsuapi_dissect_element_DsPartialAttributeSet_attids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
1851 static int drsuapi_dissect_element_DsPartialAttributeSet_attids_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1852 static int drsuapi_dissect_conformant_DsPartialAttributeSet_attids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
1853 static int drsuapi_dissect_element_DsGetNCChangesRequest8_destination_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1854 static int drsuapi_dissect_element_DsGetNCChangesRequest8_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1855 static int drsuapi_dissect_element_DsGetNCChangesRequest8_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1856 static int drsuapi_dissect_element_DsGetNCChangesRequest8_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1857 static int drsuapi_dissect_element_DsGetNCChangesRequest8_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1858 static int drsuapi_dissect_element_DsGetNCChangesRequest8_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1859 static int drsuapi_dissect_element_DsGetNCChangesRequest8_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1860 static int drsuapi_dissect_element_DsGetNCChangesRequest8_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1861 static int drsuapi_dissect_element_DsGetNCChangesRequest8_max_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1862 static int drsuapi_dissect_element_DsGetNCChangesRequest8_max_ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1863 static int drsuapi_dissect_element_DsGetNCChangesRequest8_extended_op(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1864 static int drsuapi_dissect_element_DsGetNCChangesRequest8_fsmo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1865 static int drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1866 static int drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1867 static int drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set_ex(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1868 static int drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set_ex_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1869 static int drsuapi_dissect_element_DsGetNCChangesRequest8_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1870 static int drsuapi_dissect_element_DsGetNCChangesRequest10_destination_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1871 static int drsuapi_dissect_element_DsGetNCChangesRequest10_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1872 static int drsuapi_dissect_element_DsGetNCChangesRequest10_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1873 static int drsuapi_dissect_element_DsGetNCChangesRequest10_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1874 static int drsuapi_dissect_element_DsGetNCChangesRequest10_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1875 static int drsuapi_dissect_element_DsGetNCChangesRequest10_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1876 static int drsuapi_dissect_element_DsGetNCChangesRequest10_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1877 static int drsuapi_dissect_element_DsGetNCChangesRequest10_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1878 static int drsuapi_dissect_element_DsGetNCChangesRequest10_max_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1879 static int drsuapi_dissect_element_DsGetNCChangesRequest10_max_ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1880 static int drsuapi_dissect_element_DsGetNCChangesRequest10_extended_op(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1881 static int drsuapi_dissect_element_DsGetNCChangesRequest10_fsmo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1882 static int drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1883 static int drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1884 static int drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set_ex(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1885 static int drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set_ex_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1886 static int drsuapi_dissect_element_DsGetNCChangesRequest10_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1887 static int drsuapi_dissect_element_DsGetNCChangesRequest10_more_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1888 static int drsuapi_dissect_element_DsGetNCChangesRequest11_destination_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1889 static int drsuapi_dissect_element_DsGetNCChangesRequest11_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1890 static int drsuapi_dissect_element_DsGetNCChangesRequest11_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1891 static int drsuapi_dissect_element_DsGetNCChangesRequest11_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1892 static int drsuapi_dissect_element_DsGetNCChangesRequest11_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1893 static int drsuapi_dissect_element_DsGetNCChangesRequest11_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1894 static int drsuapi_dissect_element_DsGetNCChangesRequest11_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1895 static int drsuapi_dissect_element_DsGetNCChangesRequest11_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1896 static int drsuapi_dissect_element_DsGetNCChangesRequest11_max_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1897 static int drsuapi_dissect_element_DsGetNCChangesRequest11_max_ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1898 static int drsuapi_dissect_element_DsGetNCChangesRequest11_extended_op(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1899 static int drsuapi_dissect_element_DsGetNCChangesRequest11_fsmo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1900 static int drsuapi_dissect_element_DsGetNCChangesRequest11_partial_attribute_set(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1901 static int drsuapi_dissect_element_DsGetNCChangesRequest11_partial_attribute_set_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1902 static int drsuapi_dissect_element_DsGetNCChangesRequest11_partial_attribute_set_ex(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1903 static int drsuapi_dissect_element_DsGetNCChangesRequest11_partial_attribute_set_ex_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1904 static int drsuapi_dissect_element_DsGetNCChangesRequest11_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1905 static int drsuapi_dissect_element_DsGetNCChangesRequest11_more_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1906 static int drsuapi_dissect_element_DsGetNCChangesRequest11_correlationID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1907 static int drsuapi_dissect_element_DsGetNCChangesRequest11_reserved_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1908 static int drsuapi_dissect_element_DsGetNCChangesRequest11_reserved_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1909 static int drsuapi_dissect_element_DsGetNCChangesRequest_req5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1910 static int drsuapi_dissect_element_DsGetNCChangesRequest_req8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1911 static int drsuapi_dissect_element_DsGetNCChangesRequest_req10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1912 static int drsuapi_dissect_element_DsGetNCChangesRequest_req11(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1913 static int drsuapi_dissect_element_DsReplicaCursor2_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1914 static int drsuapi_dissect_element_DsReplicaCursor2_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1915 static int drsuapi_dissect_element_DsReplicaCursor2_last_sync_success(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1916 static int drsuapi_dissect_element_DsReplicaCursor2CtrEx_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1917 static int drsuapi_dissect_element_DsReplicaCursor2CtrEx_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1918 static int drsuapi_dissect_element_DsReplicaCursor2CtrEx_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1919 static int drsuapi_dissect_element_DsReplicaCursor2CtrEx_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1920 static int drsuapi_dissect_element_DsReplicaCursor2CtrEx_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
1921 static int drsuapi_dissect_element_DsReplicaCursor2CtrEx_cursors_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1922 static int drsuapi_dissect_conformant_DsReplicaCursor2CtrEx_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
1923 static int drsuapi_dissect_element_DsAttributeValue___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1924 static int drsuapi_dissect_element_DsAttributeValue_blob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1925 static int drsuapi_dissect_element_DsAttributeValue_blob_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1926 static int drsuapi_dissect_element_DsAttributeValueCtr_num_values(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1927 static int drsuapi_dissect_element_DsAttributeValueCtr_values(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1928 static int drsuapi_dissect_element_DsAttributeValueCtr_values_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1929 static int drsuapi_dissect_element_DsAttributeValueCtr_values__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1930 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1931 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1932 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1933 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1934 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1935 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1936 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1937 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1938 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1939 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1940 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1941 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1942 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1943 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1944 static int drsuapi_dissect_element_DsReplicaAttribute_attid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1945 static int drsuapi_dissect_element_DsReplicaAttribute_value_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1946 static int drsuapi_dissect_element_DsReplicaAttributeCtr_num_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1947 static int drsuapi_dissect_element_DsReplicaAttributeCtr_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1948 static int drsuapi_dissect_element_DsReplicaAttributeCtr_attributes_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1949 static int drsuapi_dissect_element_DsReplicaAttributeCtr_attributes__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1950 static const true_false_string drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER_tfs = {
1951 "DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER is SET",
1952 "DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER is NOT SET",
1954 static const true_false_string drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC_tfs = {
1955 "DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC is SET",
1956 "DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC is NOT SET",
1958 static const true_false_string drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY_tfs = {
1959 "DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY is SET",
1960 "DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY is NOT SET",
1962 static int drsuapi_dissect_element_DsReplicaObject_identifier(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1963 static int drsuapi_dissect_element_DsReplicaObject_identifier_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1964 static int drsuapi_dissect_element_DsReplicaObject_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1965 static int drsuapi_dissect_element_DsReplicaObject_attribute_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1966 static int drsuapi_dissect_element_DsReplicaMetaData_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1967 static int drsuapi_dissect_element_DsReplicaMetaData_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1968 static int drsuapi_dissect_element_DsReplicaMetaData_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1969 static int drsuapi_dissect_element_DsReplicaMetaData_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1970 static int drsuapi_dissect_element_DsReplicaMetaDataCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1971 static int drsuapi_dissect_element_DsReplicaMetaDataCtr_meta_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
1972 static int drsuapi_dissect_element_DsReplicaMetaDataCtr_meta_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1973 static int drsuapi_dissect_conformant_DsReplicaMetaDataCtr_meta_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
1974 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_next_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1975 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_next_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1976 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1977 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_is_nc_prefix(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1978 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_parent_object_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1979 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_parent_object_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1980 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_meta_data_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1981 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_meta_data_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1982 static int drsuapi_dissect_element_DsGetNCChangesCtr1_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1983 static int drsuapi_dissect_element_DsGetNCChangesCtr1_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1984 static int drsuapi_dissect_element_DsGetNCChangesCtr1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1985 static int drsuapi_dissect_element_DsGetNCChangesCtr1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1986 static int drsuapi_dissect_element_DsGetNCChangesCtr1_old_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1987 static int drsuapi_dissect_element_DsGetNCChangesCtr1_new_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1988 static int drsuapi_dissect_element_DsGetNCChangesCtr1_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1989 static int drsuapi_dissect_element_DsGetNCChangesCtr1_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1990 static int drsuapi_dissect_element_DsGetNCChangesCtr1_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1991 static int drsuapi_dissect_element_DsGetNCChangesCtr1_extended_ret(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1992 static int drsuapi_dissect_element_DsGetNCChangesCtr1_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1993 static int drsuapi_dissect_element_DsGetNCChangesCtr1___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1994 static int drsuapi_dissect_element_DsGetNCChangesCtr1_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1995 static int drsuapi_dissect_element_DsGetNCChangesCtr1_first_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1996 static int drsuapi_dissect_element_DsGetNCChangesCtr1_more_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1997 static const true_false_string drsuapi_DsLinkedAttributeFlags_DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE_tfs = {
1998 "DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE is SET",
1999 "DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE is NOT SET",
2001 static int drsuapi_dissect_element_DsReplicaLinkedAttribute_identifier(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2002 static int drsuapi_dissect_element_DsReplicaLinkedAttribute_identifier_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2003 static int drsuapi_dissect_element_DsReplicaLinkedAttribute_attid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2004 static int drsuapi_dissect_element_DsReplicaLinkedAttribute_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2005 static int drsuapi_dissect_element_DsReplicaLinkedAttribute_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2006 static int drsuapi_dissect_element_DsReplicaLinkedAttribute_originating_add_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2007 static int drsuapi_dissect_element_DsReplicaLinkedAttribute_meta_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2008 static int drsuapi_dissect_element_DsReplicaLinkedAttribute3_identifier(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2009 static int drsuapi_dissect_element_DsReplicaLinkedAttribute3_identifier_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2010 static int drsuapi_dissect_element_DsReplicaLinkedAttribute3_attid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2011 static int drsuapi_dissect_element_DsReplicaLinkedAttribute3_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2012 static int drsuapi_dissect_element_DsReplicaLinkedAttribute3_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2013 static int drsuapi_dissect_element_DsReplicaLinkedAttribute3_originating_add_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2014 static int drsuapi_dissect_element_DsReplicaLinkedAttribute3_meta_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2015 static int drsuapi_dissect_element_DsReplicaLinkedAttribute3_unused1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2016 static int drsuapi_dissect_element_DsReplicaLinkedAttribute3_unused2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2017 static int drsuapi_dissect_element_DsReplicaLinkedAttribute3_unused3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2018 static int drsuapi_dissect_element_DsReplicaLinkedAttribute3_timeExpired(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2019 static int drsuapi_dissect_element_DsGetNCChangesCtr6_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2020 static int drsuapi_dissect_element_DsGetNCChangesCtr6_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2021 static int drsuapi_dissect_element_DsGetNCChangesCtr6_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2022 static int drsuapi_dissect_element_DsGetNCChangesCtr6_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2023 static int drsuapi_dissect_element_DsGetNCChangesCtr6_old_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2024 static int drsuapi_dissect_element_DsGetNCChangesCtr6_new_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2025 static int drsuapi_dissect_element_DsGetNCChangesCtr6_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2026 static int drsuapi_dissect_element_DsGetNCChangesCtr6_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2027 static int drsuapi_dissect_element_DsGetNCChangesCtr6_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2028 static int drsuapi_dissect_element_DsGetNCChangesCtr6_extended_ret(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2029 static int drsuapi_dissect_element_DsGetNCChangesCtr6_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2030 static int drsuapi_dissect_element_DsGetNCChangesCtr6___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2031 static int drsuapi_dissect_element_DsGetNCChangesCtr6_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2032 static int drsuapi_dissect_element_DsGetNCChangesCtr6_first_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2033 static int drsuapi_dissect_element_DsGetNCChangesCtr6_more_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2034 static int drsuapi_dissect_element_DsGetNCChangesCtr6_nc_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2035 static int drsuapi_dissect_element_DsGetNCChangesCtr6_nc_linked_attributes_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2036 static int drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2037 static int drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2038 static int drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2039 static int drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2040 static int drsuapi_dissect_element_DsGetNCChangesCtr6_drs_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2041 static int drsuapi_dissect_element_DsGetNCChangesCtr9_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2042 static int drsuapi_dissect_element_DsGetNCChangesCtr9_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2043 static int drsuapi_dissect_element_DsGetNCChangesCtr9_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2044 static int drsuapi_dissect_element_DsGetNCChangesCtr9_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2045 static int drsuapi_dissect_element_DsGetNCChangesCtr9_old_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2046 static int drsuapi_dissect_element_DsGetNCChangesCtr9_new_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2047 static int drsuapi_dissect_element_DsGetNCChangesCtr9_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2048 static int drsuapi_dissect_element_DsGetNCChangesCtr9_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2049 static int drsuapi_dissect_element_DsGetNCChangesCtr9_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2050 static int drsuapi_dissect_element_DsGetNCChangesCtr9_extended_ret(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2051 static int drsuapi_dissect_element_DsGetNCChangesCtr9_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2052 static int drsuapi_dissect_element_DsGetNCChangesCtr9___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2053 static int drsuapi_dissect_element_DsGetNCChangesCtr9_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2054 static int drsuapi_dissect_element_DsGetNCChangesCtr9_first_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2055 static int drsuapi_dissect_element_DsGetNCChangesCtr9_more_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2056 static int drsuapi_dissect_element_DsGetNCChangesCtr9_nc_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2057 static int drsuapi_dissect_element_DsGetNCChangesCtr9_nc_linked_attributes_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2058 static int drsuapi_dissect_element_DsGetNCChangesCtr9_linked_attributes_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2059 static int drsuapi_dissect_element_DsGetNCChangesCtr9_linked_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2060 static int drsuapi_dissect_element_DsGetNCChangesCtr9_linked_attributes_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2061 static int drsuapi_dissect_element_DsGetNCChangesCtr9_linked_attributes__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2062 static int drsuapi_dissect_element_DsGetNCChangesCtr9_drs_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2063 static int drsuapi_dissect_element_DsGetNCChangesCtr1TS_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2064 static int drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2065 static int drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2066 static int drsuapi_dissect_element_DsGetNCChangesCtr9TS_ctr9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2067 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2068 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2069 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2070 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2071 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2072 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2073 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2074 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2075 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2076 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2077 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2078 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2079 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2080 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2081 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2082 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2083 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2084 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2085 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2086 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2087 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2088 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2089 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2090 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2091 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2092 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2093 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2094 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2095 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2096 const value_string drsuapi_drsuapi_DsGetNCChangesCompressionType_vals[] = {
2097 { DRSUAPI_COMPRESSION_TYPE_MSZIP, "DRSUAPI_COMPRESSION_TYPE_MSZIP" },
2098 { DRSUAPI_COMPRESSION_TYPE_XPRESS, "DRSUAPI_COMPRESSION_TYPE_XPRESS" },
2099 { 0, NULL }
2101 static int drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2102 static int drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2103 static int drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2104 static int drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2105 static int drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2106 static int drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2107 static int drsuapi_dissect_element_DsGetNCChangesCtr2_mszip1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2108 static int drsuapi_dissect_element_DsGetNCChangesCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2109 static int drsuapi_dissect_element_DsGetNCChangesCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2110 static int drsuapi_dissect_element_DsGetNCChangesCtr_ctr6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2111 static int drsuapi_dissect_element_DsGetNCChangesCtr_ctr7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2112 static int drsuapi_dissect_element_DsGetNCChangesCtr_ctr9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2113 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2114 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2115 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2116 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2117 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2118 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2119 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2120 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2121 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_dest_dsa_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2122 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_dest_dsa_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2123 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_dest_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2124 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2125 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_correlationID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2126 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_reserved_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2127 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_reserved_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2128 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2129 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2130 static int drsuapi_dissect_element_DsReplicaAddRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2131 static int drsuapi_dissect_element_DsReplicaAddRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2132 static int drsuapi_dissect_element_DsReplicaAddRequest1_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2133 static int drsuapi_dissect_element_DsReplicaAddRequest1_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2134 static int drsuapi_dissect_element_DsReplicaAddRequest1_schedule(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2135 static int drsuapi_dissect_element_DsReplicaAddRequest1_schedule_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2136 static int drsuapi_dissect_element_DsReplicaAddRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2137 static int drsuapi_dissect_element_DsReplicaAddRequest2_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2138 static int drsuapi_dissect_element_DsReplicaAddRequest2_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2139 static int drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2140 static int drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2141 static int drsuapi_dissect_element_DsReplicaAddRequest2_transport_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2142 static int drsuapi_dissect_element_DsReplicaAddRequest2_transport_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2143 static int drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2144 static int drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2145 static int drsuapi_dissect_element_DsReplicaAddRequest2_schedule(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2146 static int drsuapi_dissect_element_DsReplicaAddRequest2_schedule_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2147 static int drsuapi_dissect_element_DsReplicaAddRequest2_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2148 static int drsuapi_dissect_element_DsReplicaAddRequest3_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2149 static int drsuapi_dissect_element_DsReplicaAddRequest3_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2150 static int drsuapi_dissect_element_DsReplicaAddRequest3_source_dsa_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2151 static int drsuapi_dissect_element_DsReplicaAddRequest3_source_dsa_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2152 static int drsuapi_dissect_element_DsReplicaAddRequest3_transport_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2153 static int drsuapi_dissect_element_DsReplicaAddRequest3_transport_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2154 static int drsuapi_dissect_element_DsReplicaAddRequest3_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2155 static int drsuapi_dissect_element_DsReplicaAddRequest3_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2156 static int drsuapi_dissect_element_DsReplicaAddRequest3_schedule(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2157 static int drsuapi_dissect_element_DsReplicaAddRequest3_schedule_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2158 static int drsuapi_dissect_element_DsReplicaAddRequest3_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2159 static int drsuapi_dissect_element_DsReplicaAddRequest3_correlationID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2160 static int drsuapi_dissect_element_DsReplicaAddRequest3_reserved_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2161 static int drsuapi_dissect_element_DsReplicaAddRequest3_reserved_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2162 static int drsuapi_dissect_element_DsReplicaAddRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2163 static int drsuapi_dissect_element_DsReplicaAddRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2164 static int drsuapi_dissect_element_DsReplicaAddRequest_req3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2165 static int drsuapi_dissect_element_DsReplicaDelRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2166 static int drsuapi_dissect_element_DsReplicaDelRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2167 static int drsuapi_dissect_element_DsReplicaDelRequest1_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2168 static int drsuapi_dissect_element_DsReplicaDelRequest1_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2169 static int drsuapi_dissect_element_DsReplicaDelRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2170 static int drsuapi_dissect_element_DsReplicaDelRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2171 static int drsuapi_dissect_element_DsReplicaModRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2172 static int drsuapi_dissect_element_DsReplicaModRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2173 static int drsuapi_dissect_element_DsReplicaModRequest1_source_dra(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2174 static int drsuapi_dissect_element_DsReplicaModRequest1_source_dra_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2175 static int drsuapi_dissect_element_DsReplicaModRequest1_source_dra_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2176 static int drsuapi_dissect_element_DsReplicaModRequest1_schedule(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2177 static int drsuapi_dissect_element_DsReplicaModRequest1_schedule_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2178 static int drsuapi_dissect_element_DsReplicaModRequest1_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2179 static int drsuapi_dissect_element_DsReplicaModRequest1_modify_fields(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2180 static int drsuapi_dissect_element_DsReplicaModRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2181 static int drsuapi_dissect_element_DsReplicaModRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2182 const value_string drsuapi_drsuapi_DsMembershipType_vals[] = {
2183 { DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_AND_DOMAIN_GROUPS, "DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_AND_DOMAIN_GROUPS" },
2184 { DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS, "DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS" },
2185 { DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS, "DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS" },
2186 { DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS2, "DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS2" },
2187 { DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_GROUPS, "DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_GROUPS" },
2188 { DRSUAPI_DS_MEMBERSHIP_TYPE_GROUPMEMBERS, "DRSUAPI_DS_MEMBERSHIP_TYPE_GROUPMEMBERS" },
2189 { DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS2, "DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS2" },
2190 { 0, NULL }
2192 static int drsuapi_dissect_element_DsGetMembershipsCtr1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2193 static int drsuapi_dissect_element_DsGetMembershipsCtr1_num_memberships(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2194 static int drsuapi_dissect_element_DsGetMembershipsCtr1_num_sids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2195 static int drsuapi_dissect_element_DsGetMembershipsCtr1_info_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2196 static int drsuapi_dissect_element_DsGetMembershipsCtr1_info_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2197 static int drsuapi_dissect_element_DsGetMembershipsCtr1_info_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2198 static int drsuapi_dissect_element_DsGetMembershipsCtr1_info_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2199 static int drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2200 static int drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2201 static int drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2202 static int drsuapi_dissect_element_DsGetMembershipsCtr1_sids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2203 static int drsuapi_dissect_element_DsGetMembershipsCtr1_sids_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2204 static int drsuapi_dissect_element_DsGetMembershipsCtr1_sids__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2205 static int drsuapi_dissect_element_DsGetMembershipsCtr1_sids___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2206 static int drsuapi_dissect_element_DsGetMembershipsCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2207 static int drsuapi_dissect_element_DsGetMembershipsRequest1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2208 static int drsuapi_dissect_element_DsGetMembershipsRequest1_info_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2209 static int drsuapi_dissect_element_DsGetMembershipsRequest1_info_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2210 static int drsuapi_dissect_element_DsGetMembershipsRequest1_info_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2211 static int drsuapi_dissect_element_DsGetMembershipsRequest1_info_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2212 static int drsuapi_dissect_element_DsGetMembershipsRequest1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2213 static int drsuapi_dissect_element_DsGetMembershipsRequest1_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2214 static int drsuapi_dissect_element_DsGetMembershipsRequest1_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2215 static int drsuapi_dissect_element_DsGetMembershipsRequest1_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2216 static int drsuapi_dissect_element_DsGetMembershipsRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2217 static const true_false_string drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG_tfs = {
2218 "DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG is SET",
2219 "DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG is NOT SET",
2221 static const true_false_string drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS_tfs = {
2222 "DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS is SET",
2223 "DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS is NOT SET",
2225 static int drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2226 static int drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_preferred_maximum_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2227 static int drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2228 static int drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2229 static int drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2230 static int drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2231 static int drsuapi_dissect_element_DsGetNT4ChangeLogRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2232 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2233 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2234 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_sam_serial_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2235 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_sam_creation_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2236 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_builtin_serial_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2237 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_builtin_creation_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2238 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_lsa_serial_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2239 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_lsa_creation_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2240 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2241 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2242 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2243 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2244 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2245 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2246 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2247 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2248 const value_string drsuapi_drsuapi_DsNameStatus_vals[] = {
2249 { DRSUAPI_DS_NAME_STATUS_OK, "DRSUAPI_DS_NAME_STATUS_OK" },
2250 { DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR, "DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR" },
2251 { DRSUAPI_DS_NAME_STATUS_NOT_FOUND, "DRSUAPI_DS_NAME_STATUS_NOT_FOUND" },
2252 { DRSUAPI_DS_NAME_STATUS_NOT_UNIQUE, "DRSUAPI_DS_NAME_STATUS_NOT_UNIQUE" },
2253 { DRSUAPI_DS_NAME_STATUS_NO_MAPPING, "DRSUAPI_DS_NAME_STATUS_NO_MAPPING" },
2254 { DRSUAPI_DS_NAME_STATUS_DOMAIN_ONLY, "DRSUAPI_DS_NAME_STATUS_DOMAIN_ONLY" },
2255 { DRSUAPI_DS_NAME_STATUS_NO_SYNTACTICAL_MAPPING, "DRSUAPI_DS_NAME_STATUS_NO_SYNTACTICAL_MAPPING" },
2256 { DRSUAPI_DS_NAME_STATUS_TRUST_REFERRAL, "DRSUAPI_DS_NAME_STATUS_TRUST_REFERRAL" },
2257 { 0, NULL }
2259 const value_string drsuapi_drsuapi_DsNameFlags_vals[] = {
2260 { DRSUAPI_DS_NAME_FLAG_NO_FLAGS, "DRSUAPI_DS_NAME_FLAG_NO_FLAGS" },
2261 { DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY, "DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY" },
2262 { DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC, "DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC" },
2263 { DRSUAPI_DS_NAME_FLAG_GCVERIFY, "DRSUAPI_DS_NAME_FLAG_GCVERIFY" },
2264 { DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL, "DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL" },
2265 { 0, NULL }
2267 const value_string drsuapi_drsuapi_DsNameFormat_vals[] = {
2268 { DRSUAPI_DS_NAME_FORMAT_UNKNOWN, "DRSUAPI_DS_NAME_FORMAT_UNKNOWN" },
2269 { DRSUAPI_DS_NAME_FORMAT_FQDN_1779, "DRSUAPI_DS_NAME_FORMAT_FQDN_1779" },
2270 { DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT, "DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT" },
2271 { DRSUAPI_DS_NAME_FORMAT_DISPLAY, "DRSUAPI_DS_NAME_FORMAT_DISPLAY" },
2272 { DRSUAPI_DS_NAME_FORMAT_GUID, "DRSUAPI_DS_NAME_FORMAT_GUID" },
2273 { DRSUAPI_DS_NAME_FORMAT_CANONICAL, "DRSUAPI_DS_NAME_FORMAT_CANONICAL" },
2274 { DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL, "DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL" },
2275 { DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX, "DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX" },
2276 { DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL, "DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL" },
2277 { DRSUAPI_DS_NAME_FORMAT_SID_OR_SID_HISTORY, "DRSUAPI_DS_NAME_FORMAT_SID_OR_SID_HISTORY" },
2278 { DRSUAPI_DS_NAME_FORMAT_DNS_DOMAIN, "DRSUAPI_DS_NAME_FORMAT_DNS_DOMAIN" },
2279 { DRSUAPI_DS_NAME_FORMAT_UPN_AND_ALTSECID, "DRSUAPI_DS_NAME_FORMAT_UPN_AND_ALTSECID" },
2280 { DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT_NAME_SANS_DOMAIN_EX, "DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT_NAME_SANS_DOMAIN_EX" },
2281 { DRSUAPI_DS_NAME_FORMAT_LIST_GLOBAL_CATALOG_SERVERS, "DRSUAPI_DS_NAME_FORMAT_LIST_GLOBAL_CATALOG_SERVERS" },
2282 { DRSUAPI_DS_NAME_FORMAT_UPN_FOR_LOGON, "DRSUAPI_DS_NAME_FORMAT_UPN_FOR_LOGON" },
2283 { DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_WITH_DCS_IN_SITE, "DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_WITH_DCS_IN_SITE" },
2284 { DRSUAPI_DS_NAME_FORMAT_STRING_SID_NAME, "DRSUAPI_DS_NAME_FORMAT_STRING_SID_NAME" },
2285 { DRSUAPI_DS_NAME_FORMAT_ALT_SECURITY_IDENTITIES_NAME, "DRSUAPI_DS_NAME_FORMAT_ALT_SECURITY_IDENTITIES_NAME" },
2286 { DRSUAPI_DS_NAME_FORMAT_LIST_NCS, "DRSUAPI_DS_NAME_FORMAT_LIST_NCS" },
2287 { DRSUAPI_DS_NAME_FORMAT_LIST_DOMAINS, "DRSUAPI_DS_NAME_FORMAT_LIST_DOMAINS" },
2288 { DRSUAPI_DS_NAME_FORMAT_MAP_SCHEMA_GUID, "DRSUAPI_DS_NAME_FORMAT_MAP_SCHEMA_GUID" },
2289 { DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT_NAME_SANS_DOMAIN, "DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT_NAME_SANS_DOMAIN" },
2290 { DRSUAPI_DS_NAME_FORMAT_LIST_ROLES, "DRSUAPI_DS_NAME_FORMAT_LIST_ROLES" },
2291 { DRSUAPI_DS_NAME_FORMAT_LIST_INFO_FOR_SERVER, "DRSUAPI_DS_NAME_FORMAT_LIST_INFO_FOR_SERVER" },
2292 { DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_FOR_DOMAIN_IN_SITE, "DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_FOR_DOMAIN_IN_SITE" },
2293 { DRSUAPI_DS_NAME_FORMAT_LIST_DOMAINS_IN_SITE, "DRSUAPI_DS_NAME_FORMAT_LIST_DOMAINS_IN_SITE" },
2294 { DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_IN_SITE, "DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_IN_SITE" },
2295 { DRSUAPI_DS_NAME_FORMAT_LIST_SITES, "DRSUAPI_DS_NAME_FORMAT_LIST_SITES" },
2296 { 0, NULL }
2298 static int drsuapi_dissect_element_DsNameString_str(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2299 static int drsuapi_dissect_element_DsNameString_str_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2300 static int drsuapi_dissect_element_DsNameRequest1_codepage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2301 static int drsuapi_dissect_element_DsNameRequest1_language(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2302 static int drsuapi_dissect_element_DsNameRequest1_format_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2303 static int drsuapi_dissect_element_DsNameRequest1_format_offered(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2304 static int drsuapi_dissect_element_DsNameRequest1_format_desired(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2305 static int drsuapi_dissect_element_DsNameRequest1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2306 static int drsuapi_dissect_element_DsNameRequest1_names(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2307 static int drsuapi_dissect_element_DsNameRequest1_names_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2308 static int drsuapi_dissect_element_DsNameRequest1_names__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2309 static int drsuapi_dissect_element_DsNameRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2310 static int drsuapi_dissect_element_DsNameInfo1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2311 static int drsuapi_dissect_element_DsNameInfo1_dns_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2312 static int drsuapi_dissect_element_DsNameInfo1_dns_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2313 static int drsuapi_dissect_element_DsNameInfo1_result_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2314 static int drsuapi_dissect_element_DsNameInfo1_result_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2315 static int drsuapi_dissect_element_DsNameCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2316 static int drsuapi_dissect_element_DsNameCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2317 static int drsuapi_dissect_element_DsNameCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2318 static int drsuapi_dissect_element_DsNameCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2319 static int drsuapi_dissect_element_DsNameCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2320 static int drsuapi_dissect_element_DsNameCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2321 const value_string drsuapi_drsuapi_DsSpnOperation_vals[] = {
2322 { DRSUAPI_DS_SPN_OPERATION_ADD, "DRSUAPI_DS_SPN_OPERATION_ADD" },
2323 { DRSUAPI_DS_SPN_OPERATION_REPLACE, "DRSUAPI_DS_SPN_OPERATION_REPLACE" },
2324 { DRSUAPI_DS_SPN_OPERATION_DELETE, "DRSUAPI_DS_SPN_OPERATION_DELETE" },
2325 { 0, NULL }
2327 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_operation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2328 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2329 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2330 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2331 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2332 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2333 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2334 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2335 static int drsuapi_dissect_element_DsWriteAccountSpnRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2336 static int drsuapi_dissect_element_DsWriteAccountSpnResult1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2337 static int drsuapi_dissect_element_DsWriteAccountSpnResult_res1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2338 static int drsuapi_dissect_element_DsRemoveDSServerRequest1_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2339 static int drsuapi_dissect_element_DsRemoveDSServerRequest1_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2340 static int drsuapi_dissect_element_DsRemoveDSServerRequest1_domain_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2341 static int drsuapi_dissect_element_DsRemoveDSServerRequest1_domain_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2342 static int drsuapi_dissect_element_DsRemoveDSServerRequest1_commit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2343 static int drsuapi_dissect_element_DsRemoveDSServerRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2344 static int drsuapi_dissect_element_DsRemoveDSServerResult1_last_dc_in_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2345 static int drsuapi_dissect_element_DsRemoveDSServerResult_res1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2346 const value_string drsuapi_drsuapi_DsGetDCInfoCtrLevels_vals[] = {
2347 { DRSUAPI_DC_INFO_CTR_1, "DRSUAPI_DC_INFO_CTR_1" },
2348 { DRSUAPI_DC_INFO_CTR_2, "DRSUAPI_DC_INFO_CTR_2" },
2349 { DRSUAPI_DC_INFO_CTR_3, "DRSUAPI_DC_INFO_CTR_3" },
2350 { DRSUAPI_DC_CONNECTION_CTR_01, "DRSUAPI_DC_CONNECTION_CTR_01" },
2351 { 0, NULL }
2353 static int drsuapi_dissect_element_DsGetDCInfoRequest1_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2354 static int drsuapi_dissect_element_DsGetDCInfoRequest1_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2355 static int drsuapi_dissect_element_DsGetDCInfoRequest1_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2356 static int drsuapi_dissect_element_DsGetDCInfoRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2357 static int drsuapi_dissect_element_DsGetDCInfo1_netbios_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2358 static int drsuapi_dissect_element_DsGetDCInfo1_netbios_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2359 static int drsuapi_dissect_element_DsGetDCInfo1_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2360 static int drsuapi_dissect_element_DsGetDCInfo1_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2361 static int drsuapi_dissect_element_DsGetDCInfo1_site_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2362 static int drsuapi_dissect_element_DsGetDCInfo1_site_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2363 static int drsuapi_dissect_element_DsGetDCInfo1_computer_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2364 static int drsuapi_dissect_element_DsGetDCInfo1_computer_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2365 static int drsuapi_dissect_element_DsGetDCInfo1_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2366 static int drsuapi_dissect_element_DsGetDCInfo1_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2367 static int drsuapi_dissect_element_DsGetDCInfo1_is_pdc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2368 static int drsuapi_dissect_element_DsGetDCInfo1_is_enabled(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2369 static int drsuapi_dissect_element_DsGetDCInfoCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2370 static int drsuapi_dissect_element_DsGetDCInfoCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2371 static int drsuapi_dissect_element_DsGetDCInfoCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2372 static int drsuapi_dissect_element_DsGetDCInfoCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2373 static int drsuapi_dissect_element_DsGetDCInfo2_netbios_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2374 static int drsuapi_dissect_element_DsGetDCInfo2_netbios_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2375 static int drsuapi_dissect_element_DsGetDCInfo2_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2376 static int drsuapi_dissect_element_DsGetDCInfo2_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2377 static int drsuapi_dissect_element_DsGetDCInfo2_site_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2378 static int drsuapi_dissect_element_DsGetDCInfo2_site_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2379 static int drsuapi_dissect_element_DsGetDCInfo2_site_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2380 static int drsuapi_dissect_element_DsGetDCInfo2_site_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2381 static int drsuapi_dissect_element_DsGetDCInfo2_computer_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2382 static int drsuapi_dissect_element_DsGetDCInfo2_computer_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2383 static int drsuapi_dissect_element_DsGetDCInfo2_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2384 static int drsuapi_dissect_element_DsGetDCInfo2_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2385 static int drsuapi_dissect_element_DsGetDCInfo2_ntds_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2386 static int drsuapi_dissect_element_DsGetDCInfo2_ntds_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2387 static int drsuapi_dissect_element_DsGetDCInfo2_is_pdc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2388 static int drsuapi_dissect_element_DsGetDCInfo2_is_enabled(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2389 static int drsuapi_dissect_element_DsGetDCInfo2_is_gc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2390 static int drsuapi_dissect_element_DsGetDCInfo2_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2391 static int drsuapi_dissect_element_DsGetDCInfo2_computer_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2392 static int drsuapi_dissect_element_DsGetDCInfo2_server_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2393 static int drsuapi_dissect_element_DsGetDCInfo2_ntds_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2394 static int drsuapi_dissect_element_DsGetDCInfoCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2395 static int drsuapi_dissect_element_DsGetDCInfoCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2396 static int drsuapi_dissect_element_DsGetDCInfoCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2397 static int drsuapi_dissect_element_DsGetDCInfoCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2398 static int drsuapi_dissect_element_DsGetDCInfo3_netbios_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2399 static int drsuapi_dissect_element_DsGetDCInfo3_netbios_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2400 static int drsuapi_dissect_element_DsGetDCInfo3_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2401 static int drsuapi_dissect_element_DsGetDCInfo3_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2402 static int drsuapi_dissect_element_DsGetDCInfo3_site_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2403 static int drsuapi_dissect_element_DsGetDCInfo3_site_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2404 static int drsuapi_dissect_element_DsGetDCInfo3_site_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2405 static int drsuapi_dissect_element_DsGetDCInfo3_site_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2406 static int drsuapi_dissect_element_DsGetDCInfo3_computer_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2407 static int drsuapi_dissect_element_DsGetDCInfo3_computer_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2408 static int drsuapi_dissect_element_DsGetDCInfo3_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2409 static int drsuapi_dissect_element_DsGetDCInfo3_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2410 static int drsuapi_dissect_element_DsGetDCInfo3_ntds_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2411 static int drsuapi_dissect_element_DsGetDCInfo3_ntds_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2412 static int drsuapi_dissect_element_DsGetDCInfo3_is_pdc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2413 static int drsuapi_dissect_element_DsGetDCInfo3_is_enabled(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2414 static int drsuapi_dissect_element_DsGetDCInfo3_is_gc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2415 static int drsuapi_dissect_element_DsGetDCInfo3_is_rodc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2416 static int drsuapi_dissect_element_DsGetDCInfo3_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2417 static int drsuapi_dissect_element_DsGetDCInfo3_computer_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2418 static int drsuapi_dissect_element_DsGetDCInfo3_server_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2419 static int drsuapi_dissect_element_DsGetDCInfo3_ntds_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2420 static int drsuapi_dissect_element_DsGetDCInfoCtr3_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2421 static int drsuapi_dissect_element_DsGetDCInfoCtr3_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2422 static int drsuapi_dissect_element_DsGetDCInfoCtr3_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2423 static int drsuapi_dissect_element_DsGetDCInfoCtr3_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2424 static int drsuapi_dissect_element_DsGetDCConnection01_client_ip_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2425 static int drsuapi_dissect_element_DsGetDCConnection01_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2426 static int drsuapi_dissect_element_DsGetDCConnection01_connection_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2427 static int drsuapi_dissect_element_DsGetDCConnection01_unknown4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2428 static int drsuapi_dissect_element_DsGetDCConnection01_unknown5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2429 static int drsuapi_dissect_element_DsGetDCConnection01_unknown6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2430 static int drsuapi_dissect_element_DsGetDCConnection01_client_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2431 static int drsuapi_dissect_element_DsGetDCConnection01_client_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2432 static int drsuapi_dissect_element_DsGetDCConnectionCtr01_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2433 static int drsuapi_dissect_element_DsGetDCConnectionCtr01_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2434 static int drsuapi_dissect_element_DsGetDCConnectionCtr01_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2435 static int drsuapi_dissect_element_DsGetDCConnectionCtr01_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2436 static int drsuapi_dissect_element_DsGetDCInfoCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2437 static int drsuapi_dissect_element_DsGetDCInfoCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2438 static int drsuapi_dissect_element_DsGetDCInfoCtr_ctr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2439 static int drsuapi_dissect_element_DsGetDCInfoCtr_ctr01(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2440 static int drsuapi_dissect_element_DsReplicaObjectListItem_next_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2441 static int drsuapi_dissect_element_DsReplicaObjectListItem_next_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2442 static int drsuapi_dissect_element_DsReplicaObjectListItem_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2443 const value_string drsuapi_drsuapi_DsAddEntry_DirErr_vals[] = {
2444 { DRSUAPI_DIRERR_OK, "DRSUAPI_DIRERR_OK" },
2445 { DRSUAPI_DIRERR_ATTRIBUTE, "DRSUAPI_DIRERR_ATTRIBUTE" },
2446 { DRSUAPI_DIRERR_NAME, "DRSUAPI_DIRERR_NAME" },
2447 { DRSUAPI_DIRERR_REFERRAL, "DRSUAPI_DIRERR_REFERRAL" },
2448 { DRSUAPI_DIRERR_SECURITY, "DRSUAPI_DIRERR_SECURITY" },
2449 { DRSUAPI_DIRERR_SERVICE, "DRSUAPI_DIRERR_SERVICE" },
2450 { DRSUAPI_DIRERR_UPDATE, "DRSUAPI_DIRERR_UPDATE" },
2451 { DRSUAPI_DIRERR_SYSTEM, "DRSUAPI_DIRERR_SYSTEM" },
2452 { 0, NULL }
2454 static int drsuapi_dissect_element_DsAddEntryRequest2_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2455 const value_string drsuapi_drsuapi_SecBufferType_vals[] = {
2456 { DRSUAPI_SECBUFFER_EMPTY, "DRSUAPI_SECBUFFER_EMPTY" },
2457 { DRSUAPI_SECBUFFER_DATA, "DRSUAPI_SECBUFFER_DATA" },
2458 { DRSUAPI_SECBUFFER_TOKEN, "DRSUAPI_SECBUFFER_TOKEN" },
2459 { DRSUAPI_SECBUFFER_PKG_PARAMS, "DRSUAPI_SECBUFFER_PKG_PARAMS" },
2460 { DRSUAPI_SECBUFFER_MISSING, "DRSUAPI_SECBUFFER_MISSING" },
2461 { DRSUAPI_SECBUFFER_EXTRA, "DRSUAPI_SECBUFFER_EXTRA" },
2462 { DRSUAPI_SECBUFFER_STREAM_TRAILER, "DRSUAPI_SECBUFFER_STREAM_TRAILER" },
2463 { DRSUAPI_SECBUFFER_STREAM_HEADER, "DRSUAPI_SECBUFFER_STREAM_HEADER" },
2464 { DRSUAPI_SECBUFFER_READONLY, "DRSUAPI_SECBUFFER_READONLY" },
2465 { 0, NULL }
2467 static int drsuapi_dissect_element_SecBuffer_buf_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2468 static int drsuapi_dissect_element_SecBuffer_buf_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2469 static int drsuapi_dissect_element_SecBuffer_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2470 static int drsuapi_dissect_element_SecBuffer_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2471 static int drsuapi_dissect_element_SecBuffer_buffer__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2472 static int drsuapi_dissect_element_SecBufferDesc_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2473 static int drsuapi_dissect_element_SecBufferDesc_buff_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2474 static int drsuapi_dissect_element_SecBufferDesc_buffers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2475 static int drsuapi_dissect_element_SecBufferDesc_buffers_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2476 static int drsuapi_dissect_element_SecBufferDesc_buffers__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2477 static int drsuapi_dissect_element_DsAddEntryRequest3_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2478 static int drsuapi_dissect_element_DsAddEntryRequest3_client_creds(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2479 static int drsuapi_dissect_element_DsAddEntryRequest3_client_creds_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2480 static int drsuapi_dissect_element_DsAddEntryRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2481 static int drsuapi_dissect_element_DsAddEntryRequest_req3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2482 static int drsuapi_dissect_element_DsAddEntryErrorInfoX_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2483 static int drsuapi_dissect_element_DsAddEntryErrorInfoX_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2484 static int drsuapi_dissect_element_DsAddEntryErrorInfoX_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2485 static int drsuapi_dissect_element_DsAddEntryErrorInfoX_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2486 static int drsuapi_dissect_element_DsAddEntry_AttrErr_V1_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2487 static int drsuapi_dissect_element_DsAddEntry_AttrErr_V1_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2488 static int drsuapi_dissect_element_DsAddEntry_AttrErr_V1_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2489 static int drsuapi_dissect_element_DsAddEntry_AttrErr_V1_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2490 static int drsuapi_dissect_element_DsAddEntry_AttrErr_V1_attid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2491 static int drsuapi_dissect_element_DsAddEntry_AttrErr_V1_is_val_returned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2492 static int drsuapi_dissect_element_DsAddEntry_AttrErr_V1_attr_val(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2493 static int drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_next(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2494 static int drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_next_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2495 static int drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_err_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2496 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2497 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_id_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2498 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2499 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_first(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2500 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2501 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2502 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2503 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2504 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_id_matched(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2505 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_id_matched_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2506 static int drsuapi_dissect_element_NameResOp_V1_name_res(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2507 static int drsuapi_dissect_element_NameResOp_V1_unused_pad(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2508 static int drsuapi_dissect_element_NameResOp_V1_next_rdn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2509 const value_string drsuapi_drsuapi_DsAddEntry_RefType_vals[] = {
2510 { DRSUAPI_CH_REFTYPE_SUPERIOR, "DRSUAPI_CH_REFTYPE_SUPERIOR" },
2511 { DRSUAPI_CH_REFTYPE_SUBORDINATE, "DRSUAPI_CH_REFTYPE_SUBORDINATE" },
2512 { DRSUAPI_CH_REFTYPE_NSSR, "DRSUAPI_CH_REFTYPE_NSSR" },
2513 { DRSUAPI_CH_REFTYPE_CROSS, "DRSUAPI_CH_REFTYPE_CROSS" },
2514 { 0, NULL }
2516 const value_string drsuapi_drsuapi_DsAddEntry_ChoiceType_vals[] = {
2517 { DRSUAPI_SE_CHOICE_BASE_ONLY, "DRSUAPI_SE_CHOICE_BASE_ONLY" },
2518 { DRSUAPI_SE_CHOICE_IMMED_CHLDRN, "DRSUAPI_SE_CHOICE_IMMED_CHLDRN" },
2519 { DRSUAPI_SE_CHOICE_WHOLE_SUBTREE, "DRSUAPI_SE_CHOICE_WHOLE_SUBTREE" },
2520 { 0, NULL }
2522 static int drsuapi_dissect_element_DsaAddressListItem_V1_next(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2523 static int drsuapi_dissect_element_DsaAddressListItem_V1_next_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2524 static int drsuapi_dissect_element_DsaAddressListItem_V1_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2525 static int drsuapi_dissect_element_DsaAddressListItem_V1_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2526 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_id_target(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2527 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_id_target_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2528 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_op_state(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2529 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_rdn_alias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2530 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_rdn_internal(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2531 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_ref_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2532 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_addr_list_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2533 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_addr_list(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2534 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_addr_list_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2535 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_next(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2536 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_next_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2537 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_is_choice_set(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2538 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_choice(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2539 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2540 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2541 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2542 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_refer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2543 static int drsuapi_dissect_element_DsAddEntryErrorInfo_attr_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2544 static int drsuapi_dissect_element_DsAddEntryErrorInfo_name_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2545 static int drsuapi_dissect_element_DsAddEntryErrorInfo_referral_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2546 static int drsuapi_dissect_element_DsAddEntryErrorInfo_security_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2547 static int drsuapi_dissect_element_DsAddEntryErrorInfo_service_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2548 static int drsuapi_dissect_element_DsAddEntryErrorInfo_update_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2549 static int drsuapi_dissect_element_DsAddEntryErrorInfo_system_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2550 static int drsuapi_dissect_element_DsAddEntry_ErrData_V1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2551 static int drsuapi_dissect_element_DsAddEntry_ErrData_V1_dir_err(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 *dir_err);
2552 static int drsuapi_dissect_element_DsAddEntry_ErrData_V1_info(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 dir_err);
2553 static int drsuapi_dissect_element_DsAddEntry_ErrData_V1_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2554 static int drsuapi_dissect_element_DsAddEntry_ErrData_v1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2555 static int drsuapi_dissect_element_DsReplicaObjectIdentifier2_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2556 static int drsuapi_dissect_element_DsReplicaObjectIdentifier2_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2557 static int drsuapi_dissect_element_DsAddEntryCtr2_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2558 static int drsuapi_dissect_element_DsAddEntryCtr2_id_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2559 static int drsuapi_dissect_element_DsAddEntryCtr2_dir_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2560 static int drsuapi_dissect_element_DsAddEntryCtr2_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2561 static int drsuapi_dissect_element_DsAddEntryCtr2_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2562 static int drsuapi_dissect_element_DsAddEntryCtr2_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2563 static int drsuapi_dissect_element_DsAddEntryCtr2_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2564 static int drsuapi_dissect_element_DsAddEntryCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2565 static int drsuapi_dissect_element_DsAddEntryCtr2_objects(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2566 static int drsuapi_dissect_element_DsAddEntryCtr2_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2567 static int drsuapi_dissect_element_DsAddEntryCtr2_objects__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2568 static int drsuapi_dissect_element_DsAddEntryCtr3_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2569 static int drsuapi_dissect_element_DsAddEntryCtr3_id_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2570 static int drsuapi_dissect_element_DsAddEntryCtr3_err_ver(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 *err_ver);
2571 static int drsuapi_dissect_element_DsAddEntryCtr3_err_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 err_ver);
2572 static int drsuapi_dissect_element_DsAddEntryCtr3_err_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2573 static int drsuapi_dissect_element_DsAddEntryCtr3_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2574 static int drsuapi_dissect_element_DsAddEntryCtr3_objects(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2575 static int drsuapi_dissect_element_DsAddEntryCtr3_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2576 static int drsuapi_dissect_element_DsAddEntryCtr3_objects__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2577 static int drsuapi_dissect_element_DsAddEntryCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2578 static int drsuapi_dissect_element_DsAddEntryCtr_ctr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2579 static const true_false_string drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION_tfs = {
2580 "DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION is SET",
2581 "DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION is NOT SET",
2583 static const true_false_string drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_DAMPED_tfs = {
2584 "DRSUAPI_DS_EXECUTE_KCC_DAMPED is SET",
2585 "DRSUAPI_DS_EXECUTE_KCC_DAMPED is NOT SET",
2587 static int drsuapi_dissect_element_DsExecuteKCC1_taskID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2588 static int drsuapi_dissect_element_DsExecuteKCC1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2589 static int drsuapi_dissect_element_DsExecuteKCCRequest_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2590 const value_string drsuapi_drsuapi_DsReplicaGetInfoLevel_vals[] = {
2591 { DRSUAPI_DS_REPLICA_GET_INFO, "DRSUAPI_DS_REPLICA_GET_INFO" },
2592 { DRSUAPI_DS_REPLICA_GET_INFO2, "DRSUAPI_DS_REPLICA_GET_INFO2" },
2593 { 0, NULL }
2595 const value_string drsuapi_drsuapi_DsReplicaInfoType_vals[] = {
2596 { DRSUAPI_DS_REPLICA_INFO_NEIGHBORS, "DRSUAPI_DS_REPLICA_INFO_NEIGHBORS" },
2597 { DRSUAPI_DS_REPLICA_INFO_CURSORS, "DRSUAPI_DS_REPLICA_INFO_CURSORS" },
2598 { DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA, "DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA" },
2599 { DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES, "DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES" },
2600 { DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES, "DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES" },
2601 { DRSUAPI_DS_REPLICA_INFO_PENDING_OPS, "DRSUAPI_DS_REPLICA_INFO_PENDING_OPS" },
2602 { DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA, "DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA" },
2603 { DRSUAPI_DS_REPLICA_INFO_CURSORS2, "DRSUAPI_DS_REPLICA_INFO_CURSORS2" },
2604 { DRSUAPI_DS_REPLICA_INFO_CURSORS3, "DRSUAPI_DS_REPLICA_INFO_CURSORS3" },
2605 { DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2, "DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2" },
2606 { DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2, "DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2" },
2607 { DRSUAPI_DS_REPLICA_INFO_REPSTO, "DRSUAPI_DS_REPLICA_INFO_REPSTO" },
2608 { DRSUAPI_DS_REPLICA_INFO_CLIENT_CONTEXTS, "DRSUAPI_DS_REPLICA_INFO_CLIENT_CONTEXTS" },
2609 { DRSUAPI_DS_REPLICA_INFO_UPTODATE_VECTOR_V1, "DRSUAPI_DS_REPLICA_INFO_UPTODATE_VECTOR_V1" },
2610 { DRSUAPI_DS_REPLICA_INFO_SERVER_OUTGOING_CALLS, "DRSUAPI_DS_REPLICA_INFO_SERVER_OUTGOING_CALLS" },
2611 { 0, NULL }
2613 static int drsuapi_dissect_element_DsReplicaGetInfoRequest1_info_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2614 static int drsuapi_dissect_element_DsReplicaGetInfoRequest1_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2615 static int drsuapi_dissect_element_DsReplicaGetInfoRequest1_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2616 static int drsuapi_dissect_element_DsReplicaGetInfoRequest1_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2617 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_info_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2618 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2619 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2620 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2621 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2622 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2623 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2624 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_value_dn_str(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2625 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_value_dn_str_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2626 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2627 static int drsuapi_dissect_element_DsReplicaGetInfoRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2628 static int drsuapi_dissect_element_DsReplicaGetInfoRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2629 static int drsuapi_dissect_element_DsReplicaNeighbour_naming_context_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2630 static int drsuapi_dissect_element_DsReplicaNeighbour_naming_context_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2631 static int drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2632 static int drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2633 static int drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2634 static int drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2635 static int drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2636 static int drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2637 static int drsuapi_dissect_element_DsReplicaNeighbour_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2638 static int drsuapi_dissect_element_DsReplicaNeighbour_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2639 static int drsuapi_dissect_element_DsReplicaNeighbour_naming_context_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2640 static int drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2641 static int drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2642 static int drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2643 static int drsuapi_dissect_element_DsReplicaNeighbour_tmp_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2644 static int drsuapi_dissect_element_DsReplicaNeighbour_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2645 static int drsuapi_dissect_element_DsReplicaNeighbour_last_success(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2646 static int drsuapi_dissect_element_DsReplicaNeighbour_last_attempt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2647 static int drsuapi_dissect_element_DsReplicaNeighbour_result_last_attempt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2648 static int drsuapi_dissect_element_DsReplicaNeighbour_consecutive_sync_failures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2649 static int drsuapi_dissect_element_DsReplicaNeighbourCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2650 static int drsuapi_dissect_element_DsReplicaNeighbourCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2651 static int drsuapi_dissect_element_DsReplicaNeighbourCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2652 static int drsuapi_dissect_element_DsReplicaNeighbourCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2653 static int drsuapi_dissect_conformant_DsReplicaNeighbourCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2654 static int drsuapi_dissect_element_DsReplicaCursorCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2655 static int drsuapi_dissect_element_DsReplicaCursorCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2656 static int drsuapi_dissect_element_DsReplicaCursorCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2657 static int drsuapi_dissect_element_DsReplicaCursorCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2658 static int drsuapi_dissect_conformant_DsReplicaCursorCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2659 static int drsuapi_dissect_element_DsReplicaObjMetaData_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2660 static int drsuapi_dissect_element_DsReplicaObjMetaData_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2661 static int drsuapi_dissect_element_DsReplicaObjMetaData_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2662 static int drsuapi_dissect_element_DsReplicaObjMetaData_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2663 static int drsuapi_dissect_element_DsReplicaObjMetaData_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2664 static int drsuapi_dissect_element_DsReplicaObjMetaData_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2665 static int drsuapi_dissect_element_DsReplicaObjMetaData_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2666 static int drsuapi_dissect_element_DsReplicaObjMetaDataCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2667 static int drsuapi_dissect_element_DsReplicaObjMetaDataCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2668 static int drsuapi_dissect_element_DsReplicaObjMetaDataCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2669 static int drsuapi_dissect_element_DsReplicaObjMetaDataCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2670 static int drsuapi_dissect_conformant_DsReplicaObjMetaDataCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2671 static int drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2672 static int drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2673 static int drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2674 static int drsuapi_dissect_element_DsReplicaKccDsaFailure_first_failure(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2675 static int drsuapi_dissect_element_DsReplicaKccDsaFailure_num_failures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2676 static int drsuapi_dissect_element_DsReplicaKccDsaFailure_last_result(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2677 static int drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2678 static int drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2679 static int drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2680 static int drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2681 static int drsuapi_dissect_conformant_DsReplicaKccDsaFailuresCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2682 const value_string drsuapi_drsuapi_DsReplicaOpType_vals[] = {
2683 { DRSUAPI_DS_REPLICA_OP_TYPE_SYNC, "DRSUAPI_DS_REPLICA_OP_TYPE_SYNC" },
2684 { DRSUAPI_DS_REPLICA_OP_TYPE_ADD, "DRSUAPI_DS_REPLICA_OP_TYPE_ADD" },
2685 { DRSUAPI_DS_REPLICA_OP_TYPE_DELETE, "DRSUAPI_DS_REPLICA_OP_TYPE_DELETE" },
2686 { DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY, "DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY" },
2687 { DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS, "DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS" },
2688 { 0, NULL }
2690 static int drsuapi_dissect_element_DsReplicaOp_operation_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2691 static int drsuapi_dissect_element_DsReplicaOp_serial_num(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2692 static int drsuapi_dissect_element_DsReplicaOp_priority(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2693 static int drsuapi_dissect_element_DsReplicaOp_operation_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2694 static int drsuapi_dissect_element_DsReplicaOp_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2695 static int drsuapi_dissect_element_DsReplicaOp_nc_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2696 static int drsuapi_dissect_element_DsReplicaOp_nc_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2697 static int drsuapi_dissect_element_DsReplicaOp_remote_dsa_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2698 static int drsuapi_dissect_element_DsReplicaOp_remote_dsa_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2699 static int drsuapi_dissect_element_DsReplicaOp_remote_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2700 static int drsuapi_dissect_element_DsReplicaOp_remote_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2701 static int drsuapi_dissect_element_DsReplicaOp_nc_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2702 static int drsuapi_dissect_element_DsReplicaOp_remote_dsa_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2703 static int drsuapi_dissect_element_DsReplicaOpCtr_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2704 static int drsuapi_dissect_element_DsReplicaOpCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2705 static int drsuapi_dissect_element_DsReplicaOpCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2706 static int drsuapi_dissect_element_DsReplicaOpCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2707 static int drsuapi_dissect_conformant_DsReplicaOpCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2708 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2709 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2710 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2711 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2712 static int drsuapi_dissect_element_DsReplicaAttrValMetaData___ndr_size_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2713 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2714 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_binary_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2715 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_deleted(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2716 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_created(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2717 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2718 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2719 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2720 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2721 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2722 static int drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2723 static int drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2724 static int drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2725 static int drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2726 static int drsuapi_dissect_conformant_DsReplicaAttrValMetaDataCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2727 static int drsuapi_dissect_element_DsReplicaCursor2Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2728 static int drsuapi_dissect_element_DsReplicaCursor2Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2729 static int drsuapi_dissect_element_DsReplicaCursor2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2730 static int drsuapi_dissect_element_DsReplicaCursor2Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2731 static int drsuapi_dissect_conformant_DsReplicaCursor2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2732 static int drsuapi_dissect_element_DsReplicaCursor3_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2733 static int drsuapi_dissect_element_DsReplicaCursor3_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2734 static int drsuapi_dissect_element_DsReplicaCursor3_last_sync_success(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2735 static int drsuapi_dissect_element_DsReplicaCursor3_source_dsa_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2736 static int drsuapi_dissect_element_DsReplicaCursor3_source_dsa_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2737 static int drsuapi_dissect_element_DsReplicaCursor3Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2738 static int drsuapi_dissect_element_DsReplicaCursor3Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2739 static int drsuapi_dissect_element_DsReplicaCursor3Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2740 static int drsuapi_dissect_element_DsReplicaCursor3Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2741 static int drsuapi_dissect_conformant_DsReplicaCursor3Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2742 static int drsuapi_dissect_element_DsReplicaObjMetaData2_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2743 static int drsuapi_dissect_element_DsReplicaObjMetaData2_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2744 static int drsuapi_dissect_element_DsReplicaObjMetaData2_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2745 static int drsuapi_dissect_element_DsReplicaObjMetaData2_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2746 static int drsuapi_dissect_element_DsReplicaObjMetaData2_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2747 static int drsuapi_dissect_element_DsReplicaObjMetaData2_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2748 static int drsuapi_dissect_element_DsReplicaObjMetaData2_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2749 static int drsuapi_dissect_element_DsReplicaObjMetaData2_originating_dsa_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2750 static int drsuapi_dissect_element_DsReplicaObjMetaData2_originating_dsa_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2751 static int drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2752 static int drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2753 static int drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2754 static int drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2755 static int drsuapi_dissect_conformant_DsReplicaObjMetaData2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2756 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2757 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2758 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2759 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2760 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2___ndr_size_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2761 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2762 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_binary_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2763 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_deleted(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2764 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_created(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2765 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2766 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2767 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2768 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2769 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2770 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_dsa_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2771 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_dsa_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2772 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2773 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2774 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2775 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2776 static int drsuapi_dissect_conformant_DsReplicaAttrValMetaData2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2777 static int drsuapi_dissect_element_DsReplicaConnection04_u1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2778 static int drsuapi_dissect_element_DsReplicaConnection04_u2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2779 static int drsuapi_dissect_element_DsReplicaConnection04_u3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2780 static int drsuapi_dissect_element_DsReplicaConnection04_bind_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2781 static int drsuapi_dissect_element_DsReplicaConnection04_bind_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2782 static int drsuapi_dissect_element_DsReplicaConnection04_client_ip_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2783 static int drsuapi_dissect_element_DsReplicaConnection04_u5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2784 static int drsuapi_dissect_element_DsReplicaConnection04Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2785 static int drsuapi_dissect_element_DsReplicaConnection04Ctr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2786 static int drsuapi_dissect_element_DsReplicaConnection04Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2787 static int drsuapi_dissect_element_DsReplicaConnection04Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2788 static int drsuapi_dissect_conformant_DsReplicaConnection04Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2789 static int drsuapi_dissect_element_DsReplica06_str1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2790 static int drsuapi_dissect_element_DsReplica06_str1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2791 static int drsuapi_dissect_element_DsReplica06_u1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2792 static int drsuapi_dissect_element_DsReplica06_u2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2793 static int drsuapi_dissect_element_DsReplica06_u3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2794 static int drsuapi_dissect_element_DsReplica06_u4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2795 static int drsuapi_dissect_element_DsReplica06_u5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2796 static int drsuapi_dissect_element_DsReplica06_u6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2797 static int drsuapi_dissect_element_DsReplica06_u7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2798 static int drsuapi_dissect_element_DsReplica06Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2799 static int drsuapi_dissect_element_DsReplica06Ctr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2800 static int drsuapi_dissect_element_DsReplica06Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2801 static int drsuapi_dissect_element_DsReplica06Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2802 static int drsuapi_dissect_conformant_DsReplica06Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
2803 static int drsuapi_dissect_element_DsReplicaInfo_neighbours(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2804 static int drsuapi_dissect_element_DsReplicaInfo_neighbours_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2805 static int drsuapi_dissect_element_DsReplicaInfo_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2806 static int drsuapi_dissect_element_DsReplicaInfo_cursors_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2807 static int drsuapi_dissect_element_DsReplicaInfo_objmetadata(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2808 static int drsuapi_dissect_element_DsReplicaInfo_objmetadata_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2809 static int drsuapi_dissect_element_DsReplicaInfo_connectfailures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2810 static int drsuapi_dissect_element_DsReplicaInfo_connectfailures_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2811 static int drsuapi_dissect_element_DsReplicaInfo_linkfailures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2812 static int drsuapi_dissect_element_DsReplicaInfo_linkfailures_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2813 static int drsuapi_dissect_element_DsReplicaInfo_pendingops(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2814 static int drsuapi_dissect_element_DsReplicaInfo_pendingops_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2815 static int drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2816 static int drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2817 static int drsuapi_dissect_element_DsReplicaInfo_cursors2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2818 static int drsuapi_dissect_element_DsReplicaInfo_cursors2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2819 static int drsuapi_dissect_element_DsReplicaInfo_cursors3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2820 static int drsuapi_dissect_element_DsReplicaInfo_cursors3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2821 static int drsuapi_dissect_element_DsReplicaInfo_objmetadata2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2822 static int drsuapi_dissect_element_DsReplicaInfo_objmetadata2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2823 static int drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2824 static int drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2825 static int drsuapi_dissect_element_DsReplicaInfo_repsto(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2826 static int drsuapi_dissect_element_DsReplicaInfo_repsto_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2827 static int drsuapi_dissect_element_DsReplicaInfo_clientctx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2828 static int drsuapi_dissect_element_DsReplicaInfo_clientctx_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2829 static int drsuapi_dissect_element_DsReplicaInfo_udv1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2830 static int drsuapi_dissect_element_DsReplicaInfo_udv1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2831 static int drsuapi_dissect_element_DsReplicaInfo_srvoutgoingcalls(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2832 static int drsuapi_dissect_element_DsReplicaInfo_srvoutgoingcalls_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2833 static int drsuapi_dissect_element_DsGetMemberships2Ctr1_num_entries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2834 static int drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2835 static int drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2836 static int drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2837 static int drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2838 static int drsuapi_dissect_element_DsGetMemberships2Ctr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2839 static int drsuapi_dissect_element_DsGetMemberships2Request1_num_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2840 static int drsuapi_dissect_element_DsGetMemberships2Request1_req_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2841 static int drsuapi_dissect_element_DsGetMemberships2Request1_req_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2842 static int drsuapi_dissect_element_DsGetMemberships2Request1_req_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2843 static int drsuapi_dissect_element_DsGetMemberships2Request1_req_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2844 static int drsuapi_dissect_element_DsGetMemberships2Request_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2845 static int drsuapi_dissect_element_DsSiteCostInfo_error_code(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2846 static int drsuapi_dissect_element_DsSiteCostInfo_site_cost(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2847 static int drsuapi_dissect_element_QuerySitesByCostCtr1_num_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2848 static int drsuapi_dissect_element_QuerySitesByCostCtr1_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2849 static int drsuapi_dissect_element_QuerySitesByCostCtr1_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2850 static int drsuapi_dissect_element_QuerySitesByCostCtr1_info__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2851 static int drsuapi_dissect_element_QuerySitesByCostCtr1_flags_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2852 static int drsuapi_dissect_element_QuerySitesByCostCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2853 static int drsuapi_dissect_element_QuerySitesByCostRequest1_site_from(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2854 static int drsuapi_dissect_element_QuerySitesByCostRequest1_site_from_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2855 static int drsuapi_dissect_element_QuerySitesByCostRequest1_num_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2856 static int drsuapi_dissect_element_QuerySitesByCostRequest1_site_to(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2857 static int drsuapi_dissect_element_QuerySitesByCostRequest1_site_to_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2858 static int drsuapi_dissect_element_QuerySitesByCostRequest1_site_to__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2859 static int drsuapi_dissect_element_QuerySitesByCostRequest1_site_to___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2860 static int drsuapi_dissect_element_QuerySitesByCostRequest1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2861 static int drsuapi_dissect_element_QuerySitesByCostRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2862 static int drsuapi_dissect_element_InitDemotionRequest1_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2863 static int drsuapi_dissect_element_InitDemotionRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2864 static int drsuapi_dissect_element_InitDemotionCtr1_op_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2865 static int drsuapi_dissect_element_InitDemotionCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2866 static int drsuapi_dissect_element_ReplicaDemotionRequest1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2867 static int drsuapi_dissect_element_ReplicaDemotionRequest1_uuid_helper_dest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2868 static int drsuapi_dissect_element_ReplicaDemotionRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2869 static int drsuapi_dissect_element_ReplicaDemotionRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2870 static int drsuapi_dissect_element_ReplicaDemotionRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2871 static int drsuapi_dissect_element_ReplicaDemotionCtr1_op_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2872 static int drsuapi_dissect_element_ReplicaDemotionCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2873 static int drsuapi_dissect_element_FinishDemotionRequest1_operations(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2874 static int drsuapi_dissect_element_FinishDemotionRequest1_uuid_helper_dest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2875 static int drsuapi_dissect_element_FinishDemotionRequest1_script_base(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2876 static int drsuapi_dissect_element_FinishDemotionRequest1_script_base_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2877 static int drsuapi_dissect_element_FinishDemotionRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2878 static int drsuapi_dissect_element_FinishDemotionCtr1_operations_done(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2879 static int drsuapi_dissect_element_FinishDemotionCtr1_op_failed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2880 static int drsuapi_dissect_element_FinishDemotionCtr1_op_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2881 static int drsuapi_dissect_element_FinishDemotionCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2882 static int drsuapi_dissect_element_AddCloneDCRequest1_clone_dc_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2883 static int drsuapi_dissect_element_AddCloneDCRequest1_clone_dc_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2884 static int drsuapi_dissect_element_AddCloneDCRequest1_site(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2885 static int drsuapi_dissect_element_AddCloneDCRequest1_site_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2886 static int drsuapi_dissect_element_AddCloneDCRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2887 static int drsuapi_dissect_element_AddCloneDCCtr1_clone_dc_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2888 static int drsuapi_dissect_element_AddCloneDCCtr1_clone_dc_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2889 static int drsuapi_dissect_element_AddCloneDCCtr1_site(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2890 static int drsuapi_dissect_element_AddCloneDCCtr1_site_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2891 static int drsuapi_dissect_element_AddCloneDCCtr1_password_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2892 static int drsuapi_dissect_element_AddCloneDCCtr1_new_dc_account_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2893 static int drsuapi_dissect_element_AddCloneDCCtr1_new_dc_account_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2894 static int drsuapi_dissect_element_AddCloneDCCtr1_new_dc_account_password__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2895 static int drsuapi_dissect_element_AddCloneDCCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2896 static int drsuapi_dissect_element_WriteNgcKeyRequest1_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2897 static int drsuapi_dissect_element_WriteNgcKeyRequest1_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2898 static int drsuapi_dissect_element_WriteNgcKeyRequest1_ngc_key_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2899 static int drsuapi_dissect_element_WriteNgcKeyRequest1_ngc_key(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2900 static int drsuapi_dissect_element_WriteNgcKeyRequest1_ngc_key_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2901 static int drsuapi_dissect_element_WriteNgcKeyRequest1_ngc_key__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2902 static int drsuapi_dissect_element_WriteNgcKeyRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2903 static int drsuapi_dissect_element_WriteNgcKeyCtr1_ret_val(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2904 static int drsuapi_dissect_element_WriteNgcKeyCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2905 static int drsuapi_dissect_element_ReadNgcKeyRequest1_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2906 static int drsuapi_dissect_element_ReadNgcKeyRequest1_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2907 static int drsuapi_dissect_element_ReadNgcKeyRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2908 static int drsuapi_dissect_element_ReadNgcKeyCtr1_ret_val(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2909 static int drsuapi_dissect_element_ReadNgcKeyCtr1_ngc_key_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2910 static int drsuapi_dissect_element_ReadNgcKeyCtr1_ngc_key(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2911 static int drsuapi_dissect_element_ReadNgcKeyCtr1_ngc_key_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2912 static int drsuapi_dissect_element_ReadNgcKeyCtr1_ngc_key__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2913 static int drsuapi_dissect_element_ReadNgcKeyCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2914 static int drsuapi_dissect_element_DsBind_bind_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2915 static int drsuapi_dissect_element_DsBind_bind_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2916 static int drsuapi_dissect_element_DsBind_bind_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2917 static int drsuapi_dissect_element_DsBind_bind_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2918 static int drsuapi_dissect_element_DsBind_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2919 static int drsuapi_dissect_element_DsBind_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2920 static int drsuapi_dissect_element_DsUnbind_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2921 static int drsuapi_dissect_element_DsUnbind_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2922 static int drsuapi_dissect_element_DsReplicaSync_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2923 static int drsuapi_dissect_element_DsReplicaSync_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2924 static int drsuapi_dissect_element_DsReplicaSync_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2925 static int drsuapi_dissect_element_DsReplicaSync_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2926 static int drsuapi_dissect_element_DsReplicaSync_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2927 static int drsuapi_dissect_element_DsGetNCChanges_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2928 static int drsuapi_dissect_element_DsGetNCChanges_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2929 static int drsuapi_dissect_element_DsGetNCChanges_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2930 static int drsuapi_dissect_element_DsGetNCChanges_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2931 static int drsuapi_dissect_element_DsGetNCChanges_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2932 static int drsuapi_dissect_element_DsGetNCChanges_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2933 static int drsuapi_dissect_element_DsGetNCChanges_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2934 static int drsuapi_dissect_element_DsGetNCChanges_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2935 static int drsuapi_dissect_element_DsGetNCChanges_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2936 static int drsuapi_dissect_element_DsReplicaUpdateRefs_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2937 static int drsuapi_dissect_element_DsReplicaUpdateRefs_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2938 static int drsuapi_dissect_element_DsReplicaUpdateRefs_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2939 static int drsuapi_dissect_element_DsReplicaUpdateRefs_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2940 static int drsuapi_dissect_element_DsReplicaAdd_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2941 static int drsuapi_dissect_element_DsReplicaAdd_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2942 static int drsuapi_dissect_element_DsReplicaAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2943 static int drsuapi_dissect_element_DsReplicaAdd_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2944 static int drsuapi_dissect_element_DsReplicaDel_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2945 static int drsuapi_dissect_element_DsReplicaDel_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2946 static int drsuapi_dissect_element_DsReplicaDel_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2947 static int drsuapi_dissect_element_DsReplicaDel_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2948 static int drsuapi_dissect_element_DsReplicaMod_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2949 static int drsuapi_dissect_element_DsReplicaMod_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2950 static int drsuapi_dissect_element_DsReplicaMod_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2951 static int drsuapi_dissect_element_DsReplicaMod_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2952 static int drsuapi_dissect_element_DsGetMemberships_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2953 static int drsuapi_dissect_element_DsGetMemberships_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2954 static int drsuapi_dissect_element_DsGetMemberships_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2955 static int drsuapi_dissect_element_DsGetMemberships_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2956 static int drsuapi_dissect_element_DsGetMemberships_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2957 static int drsuapi_dissect_element_DsGetMemberships_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2958 static int drsuapi_dissect_element_DsGetMemberships_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2959 static int drsuapi_dissect_element_DsGetMemberships_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2960 static int drsuapi_dissect_element_DsGetMemberships_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2961 static int drsuapi_dissect_element_DsGetNT4ChangeLog_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2962 static int drsuapi_dissect_element_DsGetNT4ChangeLog_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2963 static int drsuapi_dissect_element_DsGetNT4ChangeLog_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2964 static int drsuapi_dissect_element_DsGetNT4ChangeLog_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2965 static int drsuapi_dissect_element_DsGetNT4ChangeLog_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2966 static int drsuapi_dissect_element_DsGetNT4ChangeLog_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2967 static int drsuapi_dissect_element_DsGetNT4ChangeLog_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2968 static int drsuapi_dissect_element_DsGetNT4ChangeLog_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2969 static int drsuapi_dissect_element_DsGetNT4ChangeLog_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2970 static int drsuapi_dissect_element_DsCrackNames_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2971 static int drsuapi_dissect_element_DsCrackNames_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2972 static int drsuapi_dissect_element_DsCrackNames_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2973 static int drsuapi_dissect_element_DsCrackNames_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2974 static int drsuapi_dissect_element_DsCrackNames_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2975 static int drsuapi_dissect_element_DsCrackNames_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2976 static int drsuapi_dissect_element_DsCrackNames_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2977 static int drsuapi_dissect_element_DsCrackNames_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2978 static int drsuapi_dissect_element_DsCrackNames_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2979 static int drsuapi_dissect_element_DsWriteAccountSpn_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2980 static int drsuapi_dissect_element_DsWriteAccountSpn_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2981 static int drsuapi_dissect_element_DsWriteAccountSpn_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2982 static int drsuapi_dissect_element_DsWriteAccountSpn_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2983 static int drsuapi_dissect_element_DsWriteAccountSpn_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2984 static int drsuapi_dissect_element_DsWriteAccountSpn_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2985 static int drsuapi_dissect_element_DsWriteAccountSpn_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2986 static int drsuapi_dissect_element_DsWriteAccountSpn_res(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2987 static int drsuapi_dissect_element_DsWriteAccountSpn_res_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2988 static int drsuapi_dissect_element_DsRemoveDSServer_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2989 static int drsuapi_dissect_element_DsRemoveDSServer_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2990 static int drsuapi_dissect_element_DsRemoveDSServer_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2991 static int drsuapi_dissect_element_DsRemoveDSServer_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2992 static int drsuapi_dissect_element_DsRemoveDSServer_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2993 static int drsuapi_dissect_element_DsRemoveDSServer_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2994 static int drsuapi_dissect_element_DsRemoveDSServer_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2995 static int drsuapi_dissect_element_DsRemoveDSServer_res(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2996 static int drsuapi_dissect_element_DsRemoveDSServer_res_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2997 static int drsuapi_dissect_element_DsGetDomainControllerInfo_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2998 static int drsuapi_dissect_element_DsGetDomainControllerInfo_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2999 static int drsuapi_dissect_element_DsGetDomainControllerInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3000 static int drsuapi_dissect_element_DsGetDomainControllerInfo_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3001 static int drsuapi_dissect_element_DsGetDomainControllerInfo_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3002 static int drsuapi_dissect_element_DsGetDomainControllerInfo_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3003 static int drsuapi_dissect_element_DsGetDomainControllerInfo_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3004 static int drsuapi_dissect_element_DsGetDomainControllerInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3005 static int drsuapi_dissect_element_DsGetDomainControllerInfo_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3006 static int drsuapi_dissect_element_DsAddEntry_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3007 static int drsuapi_dissect_element_DsAddEntry_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3008 static int drsuapi_dissect_element_DsAddEntry_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3009 static int drsuapi_dissect_element_DsAddEntry_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3010 static int drsuapi_dissect_element_DsAddEntry_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3011 static int drsuapi_dissect_element_DsAddEntry_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3012 static int drsuapi_dissect_element_DsAddEntry_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3013 static int drsuapi_dissect_element_DsAddEntry_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3014 static int drsuapi_dissect_element_DsAddEntry_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3015 static int drsuapi_dissect_element_DsExecuteKCC_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3016 static int drsuapi_dissect_element_DsExecuteKCC_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3017 static int drsuapi_dissect_element_DsExecuteKCC_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3018 static int drsuapi_dissect_element_DsExecuteKCC_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3019 static int drsuapi_dissect_element_DsExecuteKCC_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3020 static int drsuapi_dissect_element_DsReplicaGetInfo_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3021 static int drsuapi_dissect_element_DsReplicaGetInfo_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3022 static int drsuapi_dissect_element_DsReplicaGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3023 static int drsuapi_dissect_element_DsReplicaGetInfo_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3024 static int drsuapi_dissect_element_DsReplicaGetInfo_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3025 static int drsuapi_dissect_element_DsReplicaGetInfo_info_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3026 static int drsuapi_dissect_element_DsReplicaGetInfo_info_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3027 static int drsuapi_dissect_element_DsReplicaGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3028 static int drsuapi_dissect_element_DsReplicaGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3029 static int drsuapi_dissect_element_DsGetMemberships2_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3030 static int drsuapi_dissect_element_DsGetMemberships2_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3031 static int drsuapi_dissect_element_DsGetMemberships2_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3032 static int drsuapi_dissect_element_DsGetMemberships2_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3033 static int drsuapi_dissect_element_DsGetMemberships2_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3034 static int drsuapi_dissect_element_DsGetMemberships2_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3035 static int drsuapi_dissect_element_DsGetMemberships2_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3036 static int drsuapi_dissect_element_DsGetMemberships2_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3037 static int drsuapi_dissect_element_DsGetMemberships2_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3038 static int drsuapi_dissect_element_QuerySitesByCost_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3039 static int drsuapi_dissect_element_QuerySitesByCost_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3040 static int drsuapi_dissect_element_QuerySitesByCost_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3041 static int drsuapi_dissect_element_QuerySitesByCost_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3042 static int drsuapi_dissect_element_QuerySitesByCost_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3043 static int drsuapi_dissect_element_QuerySitesByCost_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3044 static int drsuapi_dissect_element_QuerySitesByCost_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3045 static int drsuapi_dissect_element_QuerySitesByCost_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3046 static int drsuapi_dissect_element_QuerySitesByCost_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3047 static int drsuapi_dissect_element_InitDemotion_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3048 static int drsuapi_dissect_element_InitDemotion_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3049 static int drsuapi_dissect_element_InitDemotion_in_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3050 static int drsuapi_dissect_element_InitDemotion_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3051 static int drsuapi_dissect_element_InitDemotion_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3052 static int drsuapi_dissect_element_InitDemotion_out_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3053 static int drsuapi_dissect_element_InitDemotion_out_version_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3054 static int drsuapi_dissect_element_InitDemotion_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3055 static int drsuapi_dissect_element_InitDemotion_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3056 static int drsuapi_dissect_element_ReplicaDemotion_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3057 static int drsuapi_dissect_element_ReplicaDemotion_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3058 static int drsuapi_dissect_element_ReplicaDemotion_in_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3059 static int drsuapi_dissect_element_ReplicaDemotion_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3060 static int drsuapi_dissect_element_ReplicaDemotion_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3061 static int drsuapi_dissect_element_ReplicaDemotion_out_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3062 static int drsuapi_dissect_element_ReplicaDemotion_out_version_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3063 static int drsuapi_dissect_element_ReplicaDemotion_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3064 static int drsuapi_dissect_element_ReplicaDemotion_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3065 static int drsuapi_dissect_element_FinishDemotion_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3066 static int drsuapi_dissect_element_FinishDemotion_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3067 static int drsuapi_dissect_element_FinishDemotion_in_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3068 static int drsuapi_dissect_element_FinishDemotion_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3069 static int drsuapi_dissect_element_FinishDemotion_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3070 static int drsuapi_dissect_element_FinishDemotion_out_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3071 static int drsuapi_dissect_element_FinishDemotion_out_version_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3072 static int drsuapi_dissect_element_FinishDemotion_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3073 static int drsuapi_dissect_element_FinishDemotion_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3074 static int drsuapi_dissect_element_AddCloneDC_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3075 static int drsuapi_dissect_element_AddCloneDC_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3076 static int drsuapi_dissect_element_AddCloneDC_in_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3077 static int drsuapi_dissect_element_AddCloneDC_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3078 static int drsuapi_dissect_element_AddCloneDC_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3079 static int drsuapi_dissect_element_AddCloneDC_out_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3080 static int drsuapi_dissect_element_AddCloneDC_out_version_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3081 static int drsuapi_dissect_element_AddCloneDC_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3082 static int drsuapi_dissect_element_AddCloneDC_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3083 static int drsuapi_dissect_element_WriteNgcKey_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3084 static int drsuapi_dissect_element_WriteNgcKey_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3085 static int drsuapi_dissect_element_WriteNgcKey_in_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3086 static int drsuapi_dissect_element_WriteNgcKey_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3087 static int drsuapi_dissect_element_WriteNgcKey_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3088 static int drsuapi_dissect_element_WriteNgcKey_out_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3089 static int drsuapi_dissect_element_WriteNgcKey_out_version_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3090 static int drsuapi_dissect_element_WriteNgcKey_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3091 static int drsuapi_dissect_element_WriteNgcKey_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3092 static int drsuapi_dissect_element_ReadNgcKey_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3093 static int drsuapi_dissect_element_ReadNgcKey_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3094 static int drsuapi_dissect_element_ReadNgcKey_in_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3095 static int drsuapi_dissect_element_ReadNgcKey_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3096 static int drsuapi_dissect_element_ReadNgcKey_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3097 static int drsuapi_dissect_element_ReadNgcKey_out_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3098 static int drsuapi_dissect_element_ReadNgcKey_out_version_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3099 static int drsuapi_dissect_element_ReadNgcKey_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3100 static int drsuapi_dissect_element_ReadNgcKey_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
3101 #include <wsutil/wsgcrypt.h>
3102 #include <epan/expert.h>
3103 #include <epan/strutil.h>
3104 #define KERBEROS_METZE 1
3105 #include "packet-kerberos.h"
3106 static int
3107 drsuapi_dissect_element_DsReplicaObjectIdentifier_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3109 /*manual*/
3110 dcerpc_ptr_stack *ptr = di->ptr_stack;
3111 int start_offset = offset;
3112 uint32_t rid = 0;
3113 offset = dissect_ndr_nt_SID28(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_sid);
3114 if (ptr == NULL) {
3115 return offset;
3117 if (offset > start_offset) {
3118 dissect_ndr_uint32(tvb, start_offset + 24, pinfo, tree, di, drep, -1, &rid);
3120 ptr->private_data.val64 = rid;
3121 if (tree == NULL) return offset;
3122 if (0) {
3123 proto_tree_add_debug_text(tree,
3124 "METZE frame:%d drsuapi_dissect_element_DsReplicaObjectIdentifier_sid RID:%d auth_info->session_key=%s",
3125 pinfo->fd->num, rid,
3126 di->auth_session_key != NULL ?
3127 di->auth_session_key->id_str : "NO");
3129 return offset;
3131 static int
3132 drsuapi_dissect_element_DsReplicaAttribute_attid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3134 /*manual*/
3135 dcerpc_ptr_stack *ptr = di->ptr_stack;
3136 uint32_t rid = 0;
3137 uint32_t attid = 0;
3138 offset = drsuapi_dissect_enum_DsAttributeId(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttribute_attid, &attid);
3139 if (ptr == NULL) {
3140 return offset;
3142 if (ptr->parent == NULL) {
3143 return offset;
3145 rid = ptr->parent->private_data.val64;
3146 ptr->private_data.val64 = attid;
3147 if (tree == NULL) return offset;
3148 if (0) {
3149 proto_tree_add_debug_text(tree,
3150 "METZE frame:%d drsuapi_dissect_element_DsReplicaAttribute_attid RID:%d ATTID:0x%08X auth_info->session_key=%s",
3151 pinfo->fd->num,
3152 rid, attid,
3153 di->auth_session_key != NULL ?
3154 di->auth_session_key->id_str : "NO");
3156 return offset;
3158 static int
3159 drsuapi_dissect_element_package_PrimaryKerberosBlob_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *version)
3161 offset = PIDL_dissect_uint16_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosBlob_version, 0, version);
3162 return offset;
3164 static int
3165 drsuapi_dissect_element_package_PrimaryKerberosCtr3_num_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_keys)
3167 offset = PIDL_dissect_uint16_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosCtr3_num_keys, 0, num_keys);
3168 return offset;
3170 static int
3171 drsuapi_dissect_element_package_PrimaryKerberosCtr3_num_old_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_old_keys)
3173 offset = PIDL_dissect_uint16_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosCtr3_num_old_keys, 0, num_old_keys);
3174 return offset;
3176 static int
3177 drsuapi_dissect_element_package_PrimaryKerberosCtr3_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_keys)
3179 return drsuapi_dissect_element_package_PrimaryKerberosCtr3_keys_(tvb, offset, pinfo, tree, di, drep, num_keys);
3181 static int
3182 drsuapi_dissect_element_package_PrimaryKerberosCtr3_keys_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_keys)
3184 uint32_t i;
3185 for (i=0; i < *num_keys; i++) {
3186 offset = drsuapi_dissect_struct_package_PrimaryKerberosKey3(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_package_PrimaryKerberosCtr3_keys, 0);
3188 return offset;
3190 static int
3191 drsuapi_dissect_element_package_PrimaryKerberosCtr3_old_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_old_keys)
3193 return drsuapi_dissect_element_package_PrimaryKerberosCtr3_old_keys_(tvb, offset, pinfo, tree, di, drep, num_old_keys);
3195 static int
3196 drsuapi_dissect_element_package_PrimaryKerberosCtr3_old_keys_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_old_keys)
3198 uint32_t i;
3199 for (i=0; i < *num_old_keys; i++) {
3200 offset = drsuapi_dissect_struct_package_PrimaryKerberosKey3(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_package_PrimaryKerberosCtr3_old_keys, 0);
3202 return offset;
3204 static int
3205 drsuapi_dissect_element_package_PrimaryKerberosKey3_value(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 *value_len)
3207 return drsuapi_dissect_element_package_PrimaryKerberosKey3_value_(tvb, offset, pinfo, tree, di, drep, value_len);
3209 static int
3210 drsuapi_dissect_element_package_PrimaryKerberosKey3_value_(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 *value_len)
3212 tvbuff_t *subtvb = tvb_new_subset_length(tvb, offset, *value_len);
3213 offset += dissect_ndr_datablob(subtvb, 0, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey3_value, 1);
3214 return offset;
3217 drsuapi_dissect_struct_package_PrimaryKerberosKey3(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_)
3219 uint32_t value_len = 0;
3220 proto_item *item = NULL;
3221 proto_tree *tree = NULL;
3222 int old_offset;
3223 uint32_t keytype;
3224 uint32_t value_ofs;
3225 ALIGN_TO_4_BYTES;
3226 old_offset = offset;
3227 if (parent_tree) {
3228 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3229 tree = proto_item_add_subtree(item, ett_drsuapi_package_PrimaryKerberosKey3);
3231 offset = drsuapi_dissect_element_package_PrimaryKerberosKey3_reserved1(tvb, offset, pinfo, tree, di, drep);
3232 offset = drsuapi_dissect_element_package_PrimaryKerberosKey3_reserved2(tvb, offset, pinfo, tree, di, drep);
3233 offset = drsuapi_dissect_element_package_PrimaryKerberosKey3_reserved3(tvb, offset, pinfo, tree, di, drep);
3234 //offset = drsuapi_dissect_element_package_PrimaryKerberosKey3_keytype(tvb, offset, pinfo, tree, di, drep);
3235 offset = PIDL_dissect_uint32_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey3_keytype, 0, &keytype);
3236 //offset = drsuapi_dissect_element_package_PrimaryKerberosKey3_value_len(tvb, offset, pinfo, tree, di, drep, &value_len);
3237 offset = PIDL_dissect_uint32_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey3_value_len, 0, &value_len);
3238 //offset = drsuapi_dissect_element_package_PrimaryKerberosKey3_value_ofs(tvb, offset, pinfo, tree, di, drep);
3239 offset = PIDL_dissect_uint32_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey3_value_ofs, 0, &value_ofs);
3240 if (value_ofs != 0 && tvb_bytes_exist(tvb, value_ofs, value_len)) {
3241 drsuapi_dissect_element_package_PrimaryKerberosKey3_value(tvb, value_ofs, pinfo, tree, di, drep, &value_len);
3243 proto_item_set_len(item, offset-old_offset);
3244 if (di->call_data->flags & DCERPC_IS_NDR64) {
3245 ALIGN_TO_4_BYTES;
3247 return offset;
3249 static int
3250 drsuapi_dissect_element_package_PrimaryKerberosCtr4_num_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_keys)
3252 offset = PIDL_dissect_uint16_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosCtr4_num_keys, 0, num_keys);
3253 return offset;
3255 static int
3256 drsuapi_dissect_element_package_PrimaryKerberosCtr4_num_service_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_service_keys)
3258 offset = PIDL_dissect_uint16_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosCtr4_num_service_keys, 0, num_service_keys);
3259 return offset;
3261 static int
3262 drsuapi_dissect_element_package_PrimaryKerberosCtr4_num_old_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_old_keys)
3264 offset = PIDL_dissect_uint16_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosCtr4_num_old_keys, 0, num_old_keys);
3265 return offset;
3267 static int
3268 drsuapi_dissect_element_package_PrimaryKerberosCtr4_num_older_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_older_keys)
3270 offset = PIDL_dissect_uint16_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosCtr4_num_older_keys, 0, num_older_keys);
3271 return offset;
3273 static int
3274 drsuapi_dissect_element_package_PrimaryKerberosCtr4_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_keys)
3276 return drsuapi_dissect_element_package_PrimaryKerberosCtr4_keys_(tvb, offset, pinfo, tree, di, drep, num_keys);
3278 static int
3279 drsuapi_dissect_element_package_PrimaryKerberosCtr4_keys_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_keys)
3281 uint32_t i;
3282 for (i=0; i < *num_keys; i++) {
3283 offset = drsuapi_dissect_struct_package_PrimaryKerberosKey4(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_package_PrimaryKerberosCtr4_keys, 0);
3285 return offset;
3287 static int
3288 drsuapi_dissect_element_package_PrimaryKerberosCtr4_service_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_service_keys)
3290 return drsuapi_dissect_element_package_PrimaryKerberosCtr4_service_keys_(tvb, offset, pinfo, tree, di, drep, num_service_keys);
3292 static int
3293 drsuapi_dissect_element_package_PrimaryKerberosCtr4_service_keys_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_service_keys)
3295 uint32_t i;
3296 for (i=0; i < *num_service_keys; i++) {
3297 offset = drsuapi_dissect_struct_package_PrimaryKerberosKey4(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_package_PrimaryKerberosCtr4_service_keys, 0);
3299 return offset;
3301 static int
3302 drsuapi_dissect_element_package_PrimaryKerberosCtr4_old_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_old_keys)
3304 return drsuapi_dissect_element_package_PrimaryKerberosCtr4_old_keys_(tvb, offset, pinfo, tree, di, drep, num_old_keys);
3306 static int
3307 drsuapi_dissect_element_package_PrimaryKerberosCtr4_old_keys_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_old_keys)
3309 uint32_t i;
3310 for (i=0; i < *num_old_keys; i++) {
3311 offset = drsuapi_dissect_struct_package_PrimaryKerberosKey4(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_package_PrimaryKerberosCtr4_old_keys, 0);
3313 return offset;
3315 static int
3316 drsuapi_dissect_element_package_PrimaryKerberosCtr4_older_keys(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_older_keys)
3318 return drsuapi_dissect_element_package_PrimaryKerberosCtr4_older_keys_(tvb, offset, pinfo, tree, di, drep, num_older_keys);
3320 static int
3321 drsuapi_dissect_element_package_PrimaryKerberosCtr4_older_keys_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_older_keys)
3323 uint32_t i;
3324 for (i=0; i < *num_older_keys; i++) {
3325 offset = drsuapi_dissect_struct_package_PrimaryKerberosKey4(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_package_PrimaryKerberosCtr4_older_keys, 0);
3327 return offset;
3329 static int
3330 drsuapi_dissect_element_package_PrimaryKerberosKey4_value(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 *value_len)
3332 return drsuapi_dissect_element_package_PrimaryKerberosKey4_value_(tvb, offset, pinfo, tree, di, drep, value_len);
3334 static int
3335 drsuapi_dissect_element_package_PrimaryKerberosKey4_value_(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 *value_len)
3337 tvbuff_t *subtvb = tvb_new_subset_length(tvb, offset, *value_len);
3338 dcerpc_ptr_stack *keytype_ptr = di->ptr_stack;
3339 uint32_t rid = 0;
3340 int keytype = 0;
3341 int keylength = *value_len;
3342 uint8_t keyvalue[KRB_MAX_KEY_LENGTH] = {0,};
3343 char origin[128] = {0, };
3344 offset += dissect_ndr_datablob(subtvb, 0, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey4_value, 1);
3345 if (keytype_ptr == NULL) {
3346 return offset;
3348 if (keytype_ptr->parent == NULL) {
3349 return offset;
3351 rid = keytype_ptr->parent->private_data.val64;
3352 keytype = keytype_ptr->private_data.val64;
3353 tvb_memcpy(subtvb, keyvalue, 0, MIN(keylength, KRB_MAX_KEY_LENGTH));
3354 snprintf(origin, sizeof(origin)-1, "RID=%u drsuapi.PrimaryKerberosKey4", rid);
3355 kerberos_inject_longterm_key(pinfo, tree, NULL, subtvb,
3356 keytype, keylength, keyvalue,
3357 origin);
3358 return offset;
3361 drsuapi_dissect_struct_package_PrimaryKerberosKey4(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_)
3363 uint32_t value_len = 0;
3364 proto_item *item = NULL;
3365 proto_tree *tree = NULL;
3366 int old_offset;
3367 uint32_t keytype;
3368 uint32_t value_ofs;
3369 ALIGN_TO_4_BYTES;
3370 old_offset = offset;
3371 if (parent_tree) {
3372 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3373 tree = proto_item_add_subtree(item, ett_drsuapi_package_PrimaryKerberosKey4);
3375 offset = drsuapi_dissect_element_package_PrimaryKerberosKey4_reserved1(tvb, offset, pinfo, tree, di, drep);
3376 offset = drsuapi_dissect_element_package_PrimaryKerberosKey4_reserved2(tvb, offset, pinfo, tree, di, drep);
3377 offset = drsuapi_dissect_element_package_PrimaryKerberosKey4_reserved3(tvb, offset, pinfo, tree, di, drep);
3378 offset = drsuapi_dissect_element_package_PrimaryKerberosKey4_iteration_count(tvb, offset, pinfo, tree, di, drep);
3379 //offset = drsuapi_dissect_element_package_PrimaryKerberosKey4_keytype(tvb, offset, pinfo, tree, di, drep);
3380 offset = PIDL_dissect_uint32_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey4_keytype, 0, &keytype);
3381 //offset = drsuapi_dissect_element_package_PrimaryKerberosKey4_value_len(tvb, offset, pinfo, tree, di, drep, &value_len);
3382 offset = PIDL_dissect_uint32_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey4_value_len, 0, &value_len);
3383 //offset = drsuapi_dissect_element_package_PrimaryKerberosKey4_value_ofs(tvb, offset, pinfo, tree, di, drep);
3384 offset = PIDL_dissect_uint32_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey4_value_ofs, 0, &value_ofs);
3385 if (value_ofs != 0 && tvb_bytes_exist(tvb, value_ofs, value_len)) {
3386 dcerpc_ptr_stack *rid_ptr = di->ptr_stack;
3387 dcerpc_ptr_stack *keytype_ptr = NULL;
3388 if (rid_ptr != NULL) {
3389 keytype_ptr = wmem_new0(pinfo->pool, dcerpc_ptr_stack);
3391 if (keytype_ptr != NULL) {
3392 keytype_ptr->parent = rid_ptr;
3393 keytype_ptr->private_data.val64 = keytype;
3395 di->ptr_stack = keytype_ptr;
3396 drsuapi_dissect_element_package_PrimaryKerberosKey4_value(tvb, value_ofs, pinfo, tree, di, drep, &value_len);
3397 di->ptr_stack = rid_ptr;
3399 proto_item_set_len(item, offset-old_offset);
3400 if (di->call_data->flags & DCERPC_IS_NDR64) {
3401 ALIGN_TO_4_BYTES;
3403 return offset;
3405 static int
3406 drsuapi_dissect_package_PrimaryKerberosBlob(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* parent_di _U_)
3408 uint8_t drep[4] = { 0x10, 0x00, 0x00, 0x00}; /* fake DREP struct */
3409 static dcerpc_info di = {0, }; /* fake dcerpc_info struct */
3410 static dcerpc_call_value call_data = { 0, };
3411 int offset;
3412 /* fake whatever state the dcerpc runtime support needs */
3413 di.conformant_run=0;
3414 /* we need di->call_data->flags.NDR64 == 0 */
3415 di.call_data=&call_data;
3416 init_ndr_pointer_list(&di);
3417 di.ptr_stack = parent_di->ptr_stack;
3418 offset = drsuapi_dissect_struct_package_PrimaryKerberosBlob(tvb, 0, pinfo, parent_tree, &di, drep,
3419 hf_drsuapi_pkb_PrimaryKerberosBlob, 0);
3420 free_ndr_pointer_list(&di);
3421 return offset;
3423 typedef int (*package_dissector_fn_t)(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* parent_di _U_);
3424 static bool
3425 drsuapi_GByteArray_destroy_cb(wmem_allocator_t *allocator _U_, wmem_cb_event_t event _U_, void *user_data _U_)
3427 GByteArray *bytes = (GByteArray *)user_data;
3428 g_byte_array_free(bytes, TRUE);
3429 /* unregister this callback */
3430 return false;
3432 static int
3433 drsuapi_dissect_element_supplementalCredentialsPackage_name_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *name_len)
3435 offset = PIDL_dissect_uint16_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_supplementalCredentialsPackage_name_len, 0, name_len);
3436 return offset;
3438 static int
3439 drsuapi_dissect_element_supplementalCredentialsPackage_data_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *data_len)
3441 offset = PIDL_dissect_uint16_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_supplementalCredentialsPackage_data_len, 0, data_len);
3442 return offset;
3445 drsuapi_dissect_struct_supplementalCredentialsPackage(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_)
3447 proto_item *item = NULL;
3448 proto_tree *tree = NULL;
3449 int old_offset;
3450 uint16_t name_len = 0;
3451 const char *name = NULL;
3452 uint16_t data_len = 0;
3453 ALIGN_TO_2_BYTES;
3454 old_offset = offset;
3455 if (parent_tree) {
3456 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3457 tree = proto_item_add_subtree(item, ett_drsuapi_supplementalCredentialsPackage);
3459 offset = drsuapi_dissect_element_supplementalCredentialsPackage_name_len(tvb, offset, pinfo, tree, di, drep, &name_len);
3460 offset = drsuapi_dissect_element_supplementalCredentialsPackage_data_len(tvb, offset, pinfo, tree, di, drep, &data_len);
3461 offset = drsuapi_dissect_element_supplementalCredentialsPackage_reserved(tvb, offset, pinfo, tree, di, drep);
3462 if (0) {
3463 #if 0
3464 offset = drsuapi_dissect_element_supplementalCredentialsPackage_name(tvb, offset, pinfo, tree, di, drep, &name_len);
3465 #endif
3466 } else {
3467 const uint8_t *_name = NULL;
3468 proto_tree_add_item_ret_string(tree, hf_drsuapi_supplementalCredentialsPackage_name,
3469 tvb, offset, name_len, ENC_UTF_16|ENC_LITTLE_ENDIAN,
3470 wmem_packet_scope(), &_name);
3471 name = (const char *)_name;
3472 proto_item_append_text(item, ": %s", name);
3473 offset += name_len;
3475 if (0) {
3476 #if 0
3477 offset = drsuapi_dissect_element_supplementalCredentialsPackage_data(tvb, offset, pinfo, tree, di, drep, &data_len);
3478 #endif
3479 } else {
3480 const uint8_t *_hexdata = NULL;
3481 const char *hexdata = NULL;
3482 tvbuff_t *tvbdata = NULL;
3483 proto_tree_add_item_ret_string(tree, hf_drsuapi_supplementalCredentialsPackage_data,
3484 tvb, offset, data_len, ENC_ASCII,
3485 wmem_packet_scope(), &_hexdata);
3486 hexdata = (const char *)_hexdata;
3487 if (hexdata != NULL) {
3488 GByteArray *bytes = NULL;
3489 /* Convert key to raw bytes */
3490 bytes = g_byte_array_new();
3491 if (bytes != NULL) {
3492 gboolean res;
3493 wmem_register_callback(pinfo->pool, drsuapi_GByteArray_destroy_cb, bytes);
3494 res = hex_str_to_bytes(hexdata, bytes, FALSE);
3495 if (res) {
3496 tvbdata = tvb_new_child_real_data(tvb,
3497 bytes->data,
3498 bytes->len,
3499 bytes->len);
3503 if (tvbdata != NULL) {
3504 struct {
3505 const char *name;
3506 package_dissector_fn_t fn;
3507 } packages[] = {
3509 .name = "Primary:Kerberos-Newer-Keys",
3510 .fn = drsuapi_dissect_package_PrimaryKerberosBlob,
3512 .name = "Primary:Kerberos",
3513 .fn = drsuapi_dissect_package_PrimaryKerberosBlob,
3515 .name = NULL,
3518 size_t i = 0;
3519 for (i=0; packages[i].name != NULL; i++) {
3520 int cmp;
3521 cmp = strcmp(packages[i].name, name);
3522 if (cmp == 0) {
3523 break;
3526 add_new_data_source(pinfo, tvbdata, name);
3527 proto_tree_add_text_internal(tree, tvbdata, 0, -1, "%s", name);
3528 if (packages[i].fn != NULL) {
3529 packages[i].fn(tvbdata, pinfo, tree, di);
3532 offset += data_len;
3534 proto_item_set_len(item, offset-old_offset);
3535 if (di->call_data->flags & DCERPC_IS_NDR64) {
3536 ALIGN_TO_2_BYTES;
3538 return offset;
3540 static int
3541 drsuapi_dissect_element_supplementalCredentialsSubBlob_prefix_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3543 offset += 2; //PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_supplementalCredentialsSubBlob_prefix, 0);
3544 return offset;
3546 static int
3547 drsuapi_dissect_element_supplementalCredentialsSubBlob_num_packages(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_packages)
3549 offset = PIDL_dissect_uint16_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_supplementalCredentialsSubBlob_num_packages, 0, num_packages);
3550 return offset;
3552 static int
3553 drsuapi_dissect_element_supplementalCredentialsSubBlob_packages_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_packages)
3555 uint16_t i;
3556 for (i=0; i<*num_packages; i++) {
3557 offset = drsuapi_dissect_struct_supplementalCredentialsPackage(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_supplementalCredentialsSubBlob_packages,0);
3559 return offset;
3561 static int
3562 drsuapi_dissect_element_supplementalCredentialsSubBlob_packages(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *num_packages)
3564 offset = drsuapi_dissect_element_supplementalCredentialsSubBlob_packages_(tvb,offset,pinfo,tree,di,drep,num_packages);
3565 return offset;
3568 drsuapi_dissect_struct_supplementalCredentialsSubBlob(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_)
3570 proto_item *item = NULL;
3571 proto_tree *tree = NULL;
3572 int old_offset;
3573 uint16_t num_packages;
3574 unsigned remaining;
3575 ALIGN_TO_3_BYTES;
3576 old_offset = offset;
3577 if (parent_tree) {
3578 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3579 tree = proto_item_add_subtree(item, ett_drsuapi_supplementalCredentialsSubBlob);
3581 offset = drsuapi_dissect_element_supplementalCredentialsSubBlob_prefix(tvb, offset, pinfo, tree, di, drep);
3582 offset = drsuapi_dissect_element_supplementalCredentialsSubBlob_signature(tvb, offset, pinfo, tree, di, drep);
3583 remaining = tvb_reported_length_remaining(tvb, offset);
3584 if (remaining != 0) {
3586 * These are optional
3588 offset = drsuapi_dissect_element_supplementalCredentialsSubBlob_num_packages(tvb, offset, pinfo, tree, di, drep, &num_packages);
3589 offset = drsuapi_dissect_element_supplementalCredentialsSubBlob_packages(tvb, offset, pinfo, tree, di, drep, &num_packages);
3591 proto_item_set_len(item, offset-old_offset);
3592 if (di->call_data->flags & DCERPC_IS_NDR64) {
3593 ALIGN_TO_3_BYTES;
3595 return offset;
3597 static int
3598 drsuapi_dissect_element_supplementalCredentialsBlob_sub(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3600 int conformant = di->conformant_run;
3601 tvbuff_t *subtvb;
3602 if (!conformant) {
3603 uint32_t saved_flags = di->call_data->flags;
3604 dcerpc_ptr_stack *ndr_size_ptr = di->ptr_stack;
3605 uint32_t size = 0;
3606 if (ndr_size_ptr != NULL) {
3607 size = ndr_size_ptr->private_data.val64;
3608 di->ptr_stack = ndr_size_ptr->parent;
3610 di->call_data->flags &= ~DCERPC_IS_NDR64;
3611 subtvb = tvb_new_subset_length_caplen(tvb, offset, (const int)size, -1);
3612 drsuapi_dissect_element_supplementalCredentialsBlob_sub_(subtvb, 0, pinfo, tree, di, drep);
3613 offset += (int)size;
3614 di->call_data->flags = saved_flags;
3615 di->ptr_stack = ndr_size_ptr;
3617 return offset;
3619 static int
3620 drsuapi_dissect_element_supplementalCredentialsBlob___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3622 dcerpc_ptr_stack *ndr_size_ptr = di->ptr_stack;
3623 uint32_t ndr_size = 0;
3624 offset = PIDL_dissect_uint32_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_supplementalCredentialsBlob___ndr_size, 0, &ndr_size);
3625 if (ndr_size_ptr != NULL) {
3626 ndr_size_ptr->private_data.val64 = ndr_size;
3628 return offset;
3631 drsuapi_dissect_struct_supplementalCredentialsBlob(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_)
3633 /*manual*/
3634 dcerpc_ptr_stack *saved_ptr = di->ptr_stack;
3635 dcerpc_ptr_stack *ndr_size_ptr = NULL;
3636 proto_item *item = NULL;
3637 proto_tree *tree = NULL;
3638 int old_offset;
3639 ALIGN_TO_4_BYTES;
3640 old_offset = offset;
3641 if (parent_tree) {
3642 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3643 tree = proto_item_add_subtree(item, ett_drsuapi_supplementalCredentialsBlob);
3645 ndr_size_ptr = wmem_new0(pinfo->pool, dcerpc_ptr_stack);
3646 if (ndr_size_ptr != NULL) {
3647 ndr_size_ptr->parent = saved_ptr;
3649 di->ptr_stack = ndr_size_ptr;
3650 offset = drsuapi_dissect_element_supplementalCredentialsBlob_unknown1(tvb, offset, pinfo, tree, di, drep);
3651 offset = drsuapi_dissect_element_supplementalCredentialsBlob___ndr_size(tvb, offset, pinfo, tree, di, drep);
3652 offset = drsuapi_dissect_element_supplementalCredentialsBlob_unknown2(tvb, offset, pinfo, tree, di, drep);
3653 offset = drsuapi_dissect_element_supplementalCredentialsBlob_sub(tvb, offset, pinfo, tree, di, drep);
3654 offset = drsuapi_dissect_element_supplementalCredentialsBlob_unknown3(tvb, offset, pinfo, tree, di, drep);
3655 di->ptr_stack = saved_ptr;
3656 proto_item_set_len(item, offset-old_offset);
3657 if (di->call_data->flags & DCERPC_IS_NDR64) {
3658 ALIGN_TO_4_BYTES;
3660 return offset;
3662 static int
3663 drsuapi_dissect_supplementalCredentials(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* parent_di _U_)
3665 uint8_t drep[4] = { 0x10, 0x00, 0x00, 0x00}; /* fake DREP struct */
3666 static dcerpc_info di = {0, }; /* fake dcerpc_info struct */
3667 static dcerpc_call_value call_data = { 0, };
3668 int offset;
3669 /* fake whatever state the dcerpc runtime support needs */
3670 di.conformant_run=0;
3671 /* we need di->call_data->flags.NDR64 == 0 */
3672 di.call_data=&call_data;
3673 init_ndr_pointer_list(&di);
3674 di.ptr_stack = parent_di->ptr_stack;
3675 offset = drsuapi_dissect_struct_supplementalCredentialsBlob(tvb, 0, pinfo, parent_tree, &di, drep,
3676 hf_drsuapi_sch_supplementalCredentials, 0);
3677 free_ndr_pointer_list(&di);
3678 return offset;
3680 static int
3681 drsuapi_dissect_unicodePwd(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* parent_di _U_)
3683 int offset = 0;
3684 dcerpc_ptr_stack *ptr = parent_di->ptr_stack;
3685 uint32_t rid = 0;
3686 int keytype = 23;
3687 int keylength = 16;
3688 tvbuff_t *keytvb = tvb_new_subset_length(tvb, offset, keylength);
3689 uint8_t keyvalue[KRB_MAX_KEY_LENGTH] = {0,};
3690 char origin[128] = {0, };
3691 if (ptr != NULL) {
3692 rid = ptr->private_data.val64;
3694 tvb_memcpy(keytvb, keyvalue, 0, MIN(keylength, KRB_MAX_KEY_LENGTH));
3695 snprintf(origin, sizeof(origin)-1, "RID=%u drsuapi.unicodePwd", rid);
3696 kerberos_inject_longterm_key(pinfo, parent_tree, NULL, keytvb,
3697 keytype, keylength, keyvalue,
3698 origin);
3699 offset += 16;
3700 return offset;
3702 static int
3703 drsuapi_dissect_ntPwdHistory(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* parent_di _U_)
3705 dcerpc_ptr_stack *ptr = parent_di->ptr_stack;
3706 uint32_t rid = 0;
3707 unsigned num_hashes = tvb_reported_length(tvb)/16;
3708 unsigned idx;
3709 int offset = 0;
3710 if (ptr != NULL) {
3711 rid = ptr->private_data.val64;
3713 for (idx = 0; idx < num_hashes; idx++) {
3714 int keytype = 23;
3715 int keylength = 16;
3716 tvbuff_t *keytvb = tvb_new_subset_length(tvb, offset, keylength);
3717 uint8_t keyvalue[KRB_MAX_KEY_LENGTH] = {0,};
3718 char origin[128] = {0, };
3719 tvb_memcpy(keytvb, keyvalue, 0, MIN(keylength, KRB_MAX_KEY_LENGTH));
3720 snprintf(origin, sizeof(origin)-1, "RID=%u drsuapi.ntPwdHistory[%u]", rid, idx);
3721 kerberos_inject_longterm_key(pinfo, parent_tree, NULL, keytvb,
3722 keytype, keylength, keyvalue,
3723 origin);
3724 offset += 16;
3726 return offset;
3728 typedef int (*attr_dissector_fn_t)(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* parent_di _U_);
3729 static int
3730 drsuapi_dissect_element_DsAttributeValue_blob_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3732 /*manual*/
3733 dcerpc_ptr_stack *ptr = di->ptr_stack;
3734 uint32_t rid = 0;
3735 uint32_t attid = 0;
3736 int start_offset = offset;
3737 int length;
3738 uint8_t _confounder[16] = { 0, };
3739 uint8_t *confounder;
3740 uint8_t decryption_key[HASH_MD5_LENGTH] = { 0, };
3741 gcry_cipher_hd_t rc4_handle = NULL;
3742 gcry_buffer_t iov[2] = { {0, },};
3743 gcry_error_t err;
3744 uint8_t *buf = NULL;
3745 int buf_len;
3746 uint8_t *payload_buf = NULL;
3747 int payload_len = 0;
3748 tvbuff_t *payload_tvb = NULL;
3749 gboolean rid_crypt = FALSE;
3750 const char *attr_name = NULL;
3751 attr_dissector_fn_t attr_dissector_fn = NULL;
3752 char source_name[64] = { 0,};
3753 offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAttributeValue_blob, 0);
3754 if (ptr == NULL) {
3755 return offset;
3757 if (ptr->parent == NULL) {
3758 return offset;
3760 // TODO check dissect_ndr_lm_nt_hash_cb...
3761 rid = ptr->parent->private_data.val64;
3762 attid = ptr->private_data.val64;
3763 switch (attid) {
3764 case DRSUAPI_ATTID_dBCSPwd:
3765 attr_name = "dBCSPwd";
3766 rid_crypt = TRUE;
3767 break;
3768 case DRSUAPI_ATTID_unicodePwd:
3769 attr_name = "unicodePwd";
3770 attr_dissector_fn = drsuapi_dissect_unicodePwd;
3771 rid_crypt = TRUE;
3772 break;
3773 case DRSUAPI_ATTID_ntPwdHistory:
3774 attr_name = "ntPwdHistory";
3775 attr_dissector_fn = drsuapi_dissect_ntPwdHistory;
3776 rid_crypt = TRUE;
3777 break;
3778 case DRSUAPI_ATTID_lmPwdHistory:
3779 attr_name = "lmPwdHistory";
3780 rid_crypt = TRUE;
3781 break;
3782 case DRSUAPI_ATTID_supplementalCredentials:
3783 attr_name = "supplementalCredentials";
3784 attr_dissector_fn = drsuapi_dissect_supplementalCredentials;
3785 break;
3786 case DRSUAPI_ATTID_priorValue:
3787 attr_name = "priorValue";
3788 break;
3789 case DRSUAPI_ATTID_currentValue:
3790 attr_name = "currentValue";
3791 break;
3792 case DRSUAPI_ATTID_trustAuthOutgoing:
3793 attr_name = "trustAuthOutgoing";
3794 break;
3795 case DRSUAPI_ATTID_trustAuthIncoming:
3796 attr_name = "trustAuthIncoming";
3797 break;
3798 case DRSUAPI_ATTID_initialAuthOutgoing:
3799 attr_name = "initialAuthOutgoing";
3800 break;
3801 case DRSUAPI_ATTID_initialAuthIncoming:
3802 attr_name = "initialAuthIncoming";
3803 break;
3804 default:
3805 return offset;
3807 length = offset - start_offset;
3808 if (length < 24) {
3809 return offset;
3811 start_offset += 4;
3812 length -= 4;
3813 if (0) {
3814 proto_tree_add_text_internal(tree, tvb, start_offset, length,
3815 "METZE rid_crypt:%s RID:%d ATTID:0x%08X ATTR[%s] length=%d session_key=%s",
3816 rid_crypt ? "YES" : "NO",
3817 rid, attid, attr_name,
3818 length,
3819 di->auth_session_key != NULL ?
3820 di->auth_session_key->id_str : "NO");
3822 if (di->auth_session_key == NULL) {
3823 return offset;
3825 if (!tvb_bytes_exist(tvb, start_offset, length)) {
3826 return offset;
3828 confounder = tvb_memcpy(tvb, _confounder, start_offset, 16);
3829 buf_len = length - 16;
3830 buf = tvb_memdup(pinfo->pool, tvb, start_offset + 16, buf_len);
3831 if (buf == NULL) {
3832 return offset;
3834 iov[0].len = di->auth_session_key->keylength;
3835 iov[0].data = di->auth_session_key->keyvalue;
3836 iov[1].len = 16;
3837 iov[1].data = confounder;
3838 err = gcry_md_hash_buffers(GCRY_MD_MD5, 0, decryption_key, iov, 2);
3839 if (err != 0) {
3840 ws_warning("GCRY: gcry_md_hash_buffers(GCRY_MD_MD5) - %s/%s\n", gcry_strsource(err), gcry_strerror(err));
3841 return offset;
3843 err = gcry_cipher_open(&rc4_handle, GCRY_CIPHER_ARCFOUR, GCRY_CIPHER_MODE_STREAM, 0);
3844 if (err != 0) {
3845 ws_warning("GCRY: gcry_cipher_open(GCRY_CIPHER_ARCFOUR) - %s/%s\n", gcry_strsource(err), gcry_strerror(err));
3846 return offset;
3848 err = gcry_cipher_setkey(rc4_handle, decryption_key, HASH_MD5_LENGTH);
3849 if (err != 0) {
3850 ws_warning("GCRY: gcry_cipher_setkey(GCRY_CIPHER_ARCFOUR) - %s/%s\n", gcry_strsource(err), gcry_strerror(err));
3851 gcry_cipher_close(rc4_handle);
3852 return offset;
3854 err = gcry_cipher_decrypt(rc4_handle, buf, buf_len, NULL, 0);
3855 if (err != 0) {
3856 ws_warning("GCRY: gcry_cipher_decrypt(GCRY_CIPHER_ARCFOUR) - %s/%s\n", gcry_strsource(err), gcry_strerror(err));
3857 gcry_cipher_close(rc4_handle);
3858 return offset;
3860 gcry_cipher_close(rc4_handle);
3861 payload_buf = buf + 4;
3862 payload_len = buf_len - 4;
3863 if (rid_crypt && rid != 0) {
3864 uint8_t rk[14];
3865 uint8_t ri = 0;
3866 uint8_t *hb = payload_buf;
3867 uint32_t hl = payload_len;
3868 uint32_t hi;
3870 * We have a payload contains one or more
3871 * NT Hashes (16 bytes each).
3873 if ((hl % 16) != 0) {
3874 return offset;
3877 * We build a 112 bit key based on the RID
3879 * With that we need to decrypt each NT Hash (16 byte)
3881 * DES is based on 8 byte blocks, which mean
3882 * we can use the first 7 bytes (56Bit) of the key to
3883 * decrypt the first 8 bytes of the NT Hash and
3884 * the last 7 bytes (also 56Bit) of the key to
3885 * decrypt the 2nd 8 bytes of the NT Hash.
3887 rk[0] = rk[4] = rk[8] = rk[12] = (uint8_t)(rid & 0xFF);
3888 rk[1] = rk[5] = rk[9] = rk[13] = (uint8_t)((rid >> 8) & 0xFF);
3889 rk[2] = rk[6] = rk[10] = (uint8_t)((rid >> 16) & 0xFF);
3890 rk[3] = rk[7] = rk[11] = (uint8_t)((rid >> 24) & 0xFF);
3891 /* loop in 8 byte steps and toggle the key index between 0 and 7 */
3892 for (hi=0, ri = 0; hi < hl; hi += 8, ri = ri == 0 ? 7 : 0) {
3893 uint8_t *h64 = &hb[hi];
3894 uint8_t *rk56 = &rk[ri];
3895 uint8_t tmp64[8];
3896 memcpy(tmp64, h64, 8);
3897 decrypt_des_ecb(h64, tmp64, rk56);
3900 payload_tvb = tvb_new_child_real_data(tvb, payload_buf, payload_len, payload_len);
3901 snprintf(source_name, sizeof(source_name)-1, "DRSUAPI Decrypted %s RID=%u", attr_name, rid);
3902 add_new_data_source(pinfo, payload_tvb, source_name);
3903 proto_tree_add_text_internal(tree, payload_tvb, 0, payload_len, "%s", source_name);
3904 if (attr_dissector_fn == NULL) {
3905 return offset;
3907 di->ptr_stack = ptr->parent;
3908 attr_dissector_fn(payload_tvb, pinfo, tree, di);
3909 di->ptr_stack = ptr;
3910 return offset;
3913 drsuapi_dissect_struct_DsReplicaAttribute(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_)
3915 /*manual*/
3916 dcerpc_ptr_stack *rid_ptr = di->ptr_stack;
3917 proto_item *item = NULL;
3918 proto_tree *tree = NULL;
3919 int old_offset;
3920 ALIGN_TO_5_BYTES;
3921 old_offset = offset;
3922 if (parent_tree) {
3923 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3924 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAttribute);
3926 if (rid_ptr != NULL) {
3927 dcerpc_ptr_stack *attid_ptr = wmem_new0(pinfo->pool, dcerpc_ptr_stack);
3928 if (attid_ptr != NULL) {
3929 attid_ptr->parent = rid_ptr;
3931 di->ptr_stack = attid_ptr;
3933 offset = drsuapi_dissect_element_DsReplicaAttribute_attid(tvb, offset, pinfo, tree, di, drep);
3934 offset = drsuapi_dissect_element_DsReplicaAttribute_value_ctr(tvb, offset, pinfo, tree, di, drep);
3935 di->ptr_stack = rid_ptr;
3936 proto_item_set_len(item, offset-old_offset);
3937 if (di->call_data->flags & DCERPC_IS_NDR64) {
3938 ALIGN_TO_5_BYTES;
3940 return offset;
3943 drsuapi_dissect_struct_DsReplicaObject(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_)
3945 /*manual*/
3946 dcerpc_ptr_stack *saved_ptr = di->ptr_stack;
3947 dcerpc_ptr_stack *rid_ptr = NULL;
3948 proto_item *item = NULL;
3949 proto_tree *tree = NULL;
3950 int old_offset;
3951 ALIGN_TO_5_BYTES;
3952 old_offset = offset;
3953 if (parent_tree) {
3954 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3955 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObject);
3957 rid_ptr = wmem_new0(pinfo->pool, dcerpc_ptr_stack);
3958 di->ptr_stack = rid_ptr;
3959 offset = drsuapi_dissect_element_DsReplicaObject_identifier(tvb, offset, pinfo, tree, di, drep);
3960 offset = drsuapi_dissect_element_DsReplicaObject_flags(tvb, offset, pinfo, tree, di, drep);
3961 offset = drsuapi_dissect_element_DsReplicaObject_attribute_ctr(tvb, offset, pinfo, tree, di, drep);
3962 di->ptr_stack = saved_ptr;
3963 proto_item_set_len(item, offset-old_offset);
3964 if (di->call_data->flags & DCERPC_IS_NDR64) {
3965 ALIGN_TO_5_BYTES;
3967 return offset;
3969 static int
3970 drsuapi_dissect_element_DsReplicaObjectListItem_next_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3972 offset = drsuapi_dissect_struct_DsReplicaObjectListItem(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaObjectListItem_next_object,0);
3973 return offset;
3976 drsuapi_dissect_struct_DsReplicaObjectListItem(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_)
3978 proto_item *item = NULL;
3979 proto_tree *tree = NULL;
3980 proto_tree *next_object_tree = NULL;
3981 int old_offset;
3982 ALIGN_TO_5_BYTES;
3983 old_offset = offset;
3984 if (parent_tree) {
3985 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3986 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjectListItem);
3987 next_object_tree = proto_tree_get_parent_tree(parent_tree);
3989 offset = drsuapi_dissect_element_DsReplicaObjectListItem_next_object(tvb, offset, pinfo, next_object_tree, di, drep);
3990 offset = drsuapi_dissect_element_DsReplicaObjectListItem_object(tvb, offset, pinfo, tree, di, drep);
3991 proto_item_set_len(item, offset-old_offset);
3992 if (di->call_data->flags & DCERPC_IS_NDR64) {
3993 ALIGN_TO_5_BYTES;
3995 return offset;
3997 static int
3998 drsuapi_dissect_element_DsReplicaObjectListItemEx_next_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4000 offset = drsuapi_dissect_struct_DsReplicaObjectListItemEx(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_next_object,0);
4001 return offset;
4004 drsuapi_dissect_struct_DsReplicaObjectListItemEx(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_)
4006 proto_item *item = NULL;
4007 proto_tree *tree = NULL;
4008 proto_tree *next_object_tree = NULL;
4009 int old_offset;
4010 ALIGN_TO_5_BYTES;
4011 old_offset = offset;
4012 if (parent_tree) {
4013 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4014 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjectListItemEx);
4015 next_object_tree = proto_tree_get_parent_tree(parent_tree);
4017 offset = drsuapi_dissect_element_DsReplicaObjectListItemEx_next_object(tvb, offset, pinfo, next_object_tree, di, drep);
4018 offset = drsuapi_dissect_element_DsReplicaObjectListItemEx_object(tvb, offset, pinfo, tree, di, drep);
4019 offset = drsuapi_dissect_element_DsReplicaObjectListItemEx_is_nc_prefix(tvb, offset, pinfo, tree, di, drep);
4020 offset = drsuapi_dissect_element_DsReplicaObjectListItemEx_parent_object_guid(tvb, offset, pinfo, tree, di, drep);
4021 offset = drsuapi_dissect_element_DsReplicaObjectListItemEx_meta_data_ctr(tvb, offset, pinfo, tree, di, drep);
4022 proto_item_set_len(item, offset-old_offset);
4023 if (di->call_data->flags & DCERPC_IS_NDR64) {
4024 ALIGN_TO_5_BYTES;
4026 return offset;
4028 static int
4029 drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_next_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4031 offset = drsuapi_dissect_struct_DsAddEntry_AttrErrListItem_V1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1_next,0);
4032 return offset;
4034 static int
4035 drsuapi_dissect_element_DsaAddressListItem_V1_next_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4037 offset = drsuapi_dissect_struct_DsaAddressListItem_V1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsaAddressListItem_V1_next,0);
4038 return offset;
4040 static int
4041 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_next_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4043 offset = drsuapi_dissect_struct_DsAddEntry_RefErrListItem_V1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_next,0);
4044 return offset;
4046 static int
4047 drsuapi_dissect_element_lsa_String_string_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di, uint8_t *drep _U_)
4049 char *data;
4050 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_String_name, FALSE, &data);
4051 proto_item_append_text(tree, ": %s", data);
4052 return offset;
4054 static int
4055 drsuapi_dissect_element_DsReplicaObjectIdentifier_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
4057 proto_tree *parent_tree = NULL;
4058 char *data = NULL;
4059 unsigned parent_level = 0;
4060 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep,
4061 sizeof(uint16_t), hf_DsReplicaObjectIdentifier_dn,
4062 FALSE, nga, &data);
4063 if (tree == NULL) {
4064 return offset;
4066 parent_tree = tree;
4067 for (parent_level = 1, parent_tree = tree;
4068 parent_tree != NULL && parent_level < 10;
4069 parent_level++,
4070 parent_tree = proto_tree_get_parent_tree(parent_tree))
4072 proto_item *parent_item = proto_tree_get_parent(parent_tree);
4073 field_info *fi = NULL;
4074 if (parent_item == NULL) {
4075 break;
4077 fi = PITEM_FINFO(parent_item);
4078 if (fi == NULL) {
4079 break;
4081 if (parent_level > 3) {
4083 proto_item_append_text(parent_tree, "[%u][%s]: %s", parent_level, fi->hfinfo->name, data);
4084 if (parent_level > 4) {
4085 break;
4088 return offset;
4090 /* IDL: struct { */
4091 /* IDL: [range(1,10000)] uint32 length; */
4092 /* IDL: [size_is(length)] uint8 data[*]; */
4093 /* IDL: } */
4094 static int
4095 drsuapi_dissect_element_DsBindInfoCtr_length_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4097 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfoCtr_length, 0);
4098 return offset;
4100 static int
4101 drsuapi_dissect_DsBindInfo(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_);
4102 static int
4103 drsuapi_dissect_element_DsBindInfoCtr_data_(tvbuff_t *tvb, int offset, int length, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
4105 offset = drsuapi_dissect_DsBindInfo(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfoCtr_info, length);
4106 return offset;
4108 static int
4109 drsuapi_dissect_element_DsBindInfoCtr_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4111 offset = dissect_ndr_ucarray_block(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsBindInfoCtr_data_);
4112 return offset;
4115 drsuapi_dissect_struct_DsBindInfoCtr(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_)
4117 proto_item *item = NULL;
4118 proto_tree *tree = NULL;
4119 int old_offset;
4120 ALIGN_TO_4_BYTES;
4121 old_offset = offset;
4122 if (parent_tree) {
4123 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4124 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsBindInfoCtr);
4126 offset = drsuapi_dissect_element_DsBindInfoCtr_length_(tvb, offset, pinfo, tree, di, drep);
4127 offset = drsuapi_dissect_element_DsBindInfoCtr_data(tvb, offset, pinfo, tree, di, drep);
4128 proto_item_set_len(item, offset-old_offset);
4129 if (di->call_data->flags & DCERPC_IS_NDR64) {
4130 ALIGN_TO_4_BYTES;
4132 return offset;
4134 static int
4135 drsuapi_dissect_DsBindInfo(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_)
4137 proto_item *item = NULL;
4138 proto_tree *tree = NULL;
4139 int old_offset;
4140 uint32_t length = param;
4141 old_offset = offset;
4142 if (parent_tree) {
4143 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsBindInfo, &item, "drsuapi_DsBindInfo");
4145 if (length >= 52) {
4146 drsuapi_dissect_struct_DsBindInfo52(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsBindInfo_info52,0);
4147 } else if (length >= 48) {
4148 drsuapi_dissect_struct_DsBindInfo48(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsBindInfo_info48,0);
4149 } else if (length >= 32) {
4150 drsuapi_dissect_struct_DsBindInfo32(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsBindInfo_info32,0);
4151 } else if (length >= 28) {
4152 drsuapi_dissect_struct_DsBindInfo28(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsBindInfo_info28,0);
4153 } else if (length >= 24) {
4154 drsuapi_dissect_struct_DsBindInfo24(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsBindInfo_info24,0);
4156 offset += length;
4157 proto_item_set_len(item, offset-old_offset);
4158 return offset;
4160 static int
4161 drsuapi_dissect_element_DsGetNCChangesCtr1TS_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4164 uint64_t size;
4165 int conformant = di->conformant_run;
4166 tvbuff_t *subtvb = NULL;
4167 if (!conformant) {
4168 uint32_t saved_flags = di->call_data->flags;
4169 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr1TS_ctr1_, &size);
4170 di->call_data->flags &= ~DCERPC_IS_NDR64;
4171 subtvb = tvb_new_subset_length_caplen(tvb, offset, (const int)size, -1);
4172 drsuapi_dissect_element_DsGetNCChangesCtr1TS_ctr1_(subtvb, 0, pinfo, tree, di, drep);
4173 offset += (int)size;
4174 di->call_data->flags = saved_flags;
4177 return offset;
4179 static int
4180 drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4182 uint8_t ddrep[4] = { 0x10, 0x00, 0x00, 0x00};
4183 dcerpc_call_value call_data = { .flags = 0, };
4184 dcerpc_info ddi = { .call_data = &call_data, };
4185 uint64_t size;
4186 tvbuff_t *subtvb = NULL;
4187 int orig_offset = offset;
4188 offset = dissect_krb5_PAC_NDRHEADERBLOB(tree, tvb, offset, &ddrep[0]);
4189 size = tvb_get_letoh64(tvb, orig_offset+8);
4190 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
4191 offset += (int)size;
4192 init_ndr_pointer_list(&ddi);
4193 dissect_ndr_pointer(subtvb, 0, pinfo, tree, &ddi, ddrep,
4194 drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6_,
4195 NDR_POINTER_REF,
4196 "Ctr6", -1);
4197 free_ndr_pointer_list(&ddi);
4198 return offset;
4200 static int
4201 drsuapi_dissect_element_DsGetNCChangesCtr9TS_ctr9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4204 uint64_t size;
4205 int conformant = di->conformant_run;
4206 tvbuff_t *subtvb;
4207 if (!conformant) {
4208 uint32_t saved_flags = di->call_data->flags;
4209 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6TS_ctr6_, &size);
4210 di->call_data->flags &= ~DCERPC_IS_NDR64;
4211 subtvb = tvb_new_subset_length_caplen(tvb, offset, (const int)size, -1);
4212 drsuapi_dissect_element_DsGetNCChangesCtr9TS_ctr9_(subtvb, 0, pinfo, tree, di, drep);
4213 offset += (int)size;
4214 di->call_data->flags = saved_flags;
4217 return offset;
4219 static int
4220 drsuapi_dissect_DsGetNCChangesCompressedCtr(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_);
4221 static int
4222 drsuapi_dissect_element_DsGetNCChangesCtr7_level(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 *level)
4224 offset = PIDL_dissect_uint32_val(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr7_level, 0, level);
4225 return offset;
4227 static int
4228 drsuapi_dissect_element_DsGetNCChangesCtr7_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t *type)
4230 offset = drsuapi_dissect_enum_DsGetNCChangesCompressionType(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr7_type, type);
4231 return offset;
4233 static int
4234 drsuapi_dissect_element_DsGetNCChangesCtr7_ctr(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 level _U_)
4236 offset = drsuapi_dissect_DsGetNCChangesCompressedCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr7_ctr, level);
4237 return offset;
4240 drsuapi_dissect_struct_DsGetNCChangesCtr7(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_)
4242 uint32_t level = 0;
4243 uint16_t type = 0;
4244 uint32_t ctr_level = 0;
4245 proto_item *item = NULL;
4246 proto_tree *tree = NULL;
4247 int old_offset;
4248 ALIGN_TO_5_BYTES;
4249 old_offset = offset;
4250 if (parent_tree) {
4251 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4252 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr7);
4254 offset = drsuapi_dissect_element_DsGetNCChangesCtr7_level(tvb, offset, pinfo, tree, di, drep, &level);
4255 offset = drsuapi_dissect_element_DsGetNCChangesCtr7_type(tvb, offset, pinfo, tree, di, drep, &type);
4256 ctr_level = (level & 0xFFFF) | (((uint32_t)type)<<16);
4257 offset = drsuapi_dissect_element_DsGetNCChangesCtr7_ctr(tvb, offset, pinfo, tree, di, drep, ctr_level);
4258 proto_item_set_len(item, offset-old_offset);
4259 if (di->call_data->flags & DCERPC_IS_NDR64) {
4260 ALIGN_TO_5_BYTES;
4262 return offset;
4264 static tvbuff_t *
4265 drsuapi_decompress_DsGetNCChangesXPRESS(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4267 tvbuff_t *completetvb = NULL;
4268 unsigned orig_length = tvb_reported_length_remaining(tvb, offset);
4269 unsigned remaining_length = orig_length;
4270 unsigned chunk_idx = 0;
4271 completetvb = tvb_new_composite();
4272 if (completetvb == NULL) {
4273 return NULL;
4275 while (remaining_length > 0) {
4276 tvbuff_t *decomptvb = NULL;
4277 uint32_t decomplen;
4278 uint32_t complen;
4279 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, -1, &decomplen);
4280 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, -1, &complen);
4281 decomptvb = tvb_uncompress_lz77(tvb, offset, complen);
4282 if (decomptvb == NULL) {
4283 tvb_free_chain(completetvb);
4284 return NULL;
4286 offset += complen;
4287 tvb_composite_append(completetvb, decomptvb);
4288 chunk_idx += 1;
4289 remaining_length = tvb_reported_length_remaining(tvb, offset);
4291 tvb_composite_finalize(completetvb);
4292 proto_tree_add_text_internal(tree, completetvb, 0, tvb_reported_length(completetvb),
4293 "DRSUAPI LZ77 decompressed=%u",
4294 tvb_reported_length(completetvb));
4295 add_new_data_source(pinfo, completetvb, "DRSUAPI LZ77 decompressed");
4296 return completetvb;
4298 static void
4299 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4301 tvbuff_t *decomptvb = NULL;
4302 decomptvb = drsuapi_decompress_DsGetNCChangesXPRESS(tvb, offset, pinfo, tree, di, drep);
4303 if (decomptvb == NULL) {
4304 return;
4306 drsuapi_dissect_struct_DsGetNCChangesCtr6TS(decomptvb,0,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_ts,0);
4310 /* IDL: struct { */
4311 /* IDL: [value(2*strlen_m(string))] uint16 length; */
4312 /* IDL: [value(2*strlen_m(string))] uint16 size; */
4313 /* IDL: [charset(UTF16)] [length_is(length/2)] [size_is(size/2)] [unique(1)] uint16 *string; */
4314 /* IDL: } */
4316 static int
4317 drsuapi_dissect_element_lsa_String_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4319 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_lsa_String_length, 0);
4321 return offset;
4324 static int
4325 drsuapi_dissect_element_lsa_String_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4327 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_lsa_String_size, 0);
4329 return offset;
4332 static int
4333 drsuapi_dissect_element_lsa_String_string(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4335 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_lsa_String_string_, NDR_POINTER_UNIQUE, "Pointer to String (uint16)",hf_drsuapi_lsa_String_string);
4337 return offset;
4341 drsuapi_dissect_struct_lsa_String(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_)
4343 proto_item *item = NULL;
4344 proto_tree *tree = NULL;
4345 int old_offset;
4347 ALIGN_TO_5_BYTES;
4349 old_offset = offset;
4351 if (parent_tree) {
4352 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4353 tree = proto_item_add_subtree(item, ett_drsuapi_lsa_String);
4356 offset = drsuapi_dissect_element_lsa_String_length(tvb, offset, pinfo, tree, di, drep);
4358 offset = drsuapi_dissect_element_lsa_String_size(tvb, offset, pinfo, tree, di, drep);
4360 offset = drsuapi_dissect_element_lsa_String_string(tvb, offset, pinfo, tree, di, drep);
4363 proto_item_set_len(item, offset-old_offset);
4366 if (di->call_data->flags & DCERPC_IS_NDR64) {
4367 ALIGN_TO_5_BYTES;
4370 return offset;
4374 /* IDL: struct { */
4375 /* IDL: [value(2*strlen_m(name))] uint16 name_len; */
4376 /* IDL: [value(strlen(data))] uint16 data_len; */
4377 /* IDL: uint16 reserved; */
4378 /* IDL: [charset(UTF16)] uint8 name[name_len]; */
4379 /* IDL: [charset(DOS)] uint8 data[data_len]; */
4380 /* IDL: } */
4382 static int
4383 drsuapi_dissect_element_supplementalCredentialsPackage_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4385 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_supplementalCredentialsPackage_reserved, 0);
4387 return offset;
4391 /* IDL: enum { */
4392 /* IDL: SUPPLEMENTAL_CREDENTIALS_SIGNATURE=0x0050, */
4393 /* IDL: } */
4396 drsuapi_dissect_enum_supplementalCredentialsSignature(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_)
4398 uint32_t parameter=0;
4399 if (param) {
4400 parameter = *param;
4402 offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
4403 if (param) {
4404 *param = parameter;
4406 return offset;
4410 /* IDL: struct { */
4411 /* IDL: [charset(UTF16)] [value(SUPPLEMENTAL_CREDENTIALS_PREFIX)] uint16 prefix[0x30]; */
4412 /* IDL: [value(SUPPLEMENTAL_CREDENTIALS_SIGNATURE)] supplementalCredentialsSignature signature; */
4413 /* IDL: uint16 num_packages; */
4414 /* IDL: supplementalCredentialsPackage packages[num_packages]; */
4415 /* IDL: } */
4417 static int
4418 drsuapi_dissect_element_supplementalCredentialsSubBlob_prefix(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4420 int i;
4421 for (i = 0; i < 0x30; i++)
4422 offset = drsuapi_dissect_element_supplementalCredentialsSubBlob_prefix_(tvb, offset, pinfo, tree, di, drep);
4424 return offset;
4427 static int
4428 drsuapi_dissect_element_supplementalCredentialsSubBlob_signature(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4430 offset = drsuapi_dissect_enum_supplementalCredentialsSignature(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_supplementalCredentialsSubBlob_signature, 0);
4432 return offset;
4436 /* IDL: struct { */
4437 /* IDL: [value(0)] uint32 unknown1; */
4438 /* IDL: [value(ndr_size_supplementalCredentialsSubBlob(&sub,ndr->flags))] uint32 __ndr_size; */
4439 /* IDL: [value(0)] uint32 unknown2; */
4440 /* IDL: [subcontext(4)] [subcontext_size(__ndr_size)] supplementalCredentialsSubBlob sub; */
4441 /* IDL: [value(0)] uint8 unknown3; */
4442 /* IDL: } */
4444 static int
4445 drsuapi_dissect_element_supplementalCredentialsBlob_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4447 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_supplementalCredentialsBlob_unknown1, 0);
4449 return offset;
4452 static int
4453 drsuapi_dissect_element_supplementalCredentialsBlob_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4455 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_supplementalCredentialsBlob_unknown2, 0);
4457 return offset;
4460 static int
4461 drsuapi_dissect_element_supplementalCredentialsBlob_sub_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4463 offset = drsuapi_dissect_struct_supplementalCredentialsSubBlob(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_supplementalCredentialsBlob_sub,0);
4465 return offset;
4468 static int
4469 drsuapi_dissect_element_supplementalCredentialsBlob_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4471 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_supplementalCredentialsBlob_unknown3, 0);
4473 return offset;
4477 /* IDL: struct { */
4478 /* IDL: supplementalCredentialsBlob supplementalCredentials; */
4479 /* IDL: } */
4481 static int
4482 drsuapi_dissect_element_sch_supplementalCredentials(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4484 offset = drsuapi_dissect_struct_supplementalCredentialsBlob(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_sch_supplementalCredentials,0);
4486 return offset;
4490 drsuapi_dissect_struct_sch(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_)
4492 proto_item *item = NULL;
4493 proto_tree *tree = NULL;
4494 int old_offset;
4496 ALIGN_TO_4_BYTES;
4498 old_offset = offset;
4500 if (parent_tree) {
4501 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4502 tree = proto_item_add_subtree(item, ett_drsuapi_sch);
4505 offset = drsuapi_dissect_element_sch_supplementalCredentials(tvb, offset, pinfo, tree, di, drep);
4508 proto_item_set_len(item, offset-old_offset);
4511 if (di->call_data->flags & DCERPC_IS_NDR64) {
4512 ALIGN_TO_4_BYTES;
4515 return offset;
4519 /* IDL: struct { */
4520 /* IDL: [value(2*strlen_m(string))] uint16 length; */
4521 /* IDL: [value(2*strlen_m(string))] uint16 size; */
4522 /* IDL: uint32 string_ofs; */
4523 /* IDL: } */
4525 static int
4526 drsuapi_dissect_element_package_PrimaryKerberosString_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4528 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosString_length, 0);
4530 return offset;
4533 static int
4534 drsuapi_dissect_element_package_PrimaryKerberosString_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4536 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosString_size, 0);
4538 return offset;
4541 static int
4542 drsuapi_dissect_element_package_PrimaryKerberosString_string_ofs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4544 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosString_string_ofs, 0);
4546 return offset;
4550 drsuapi_dissect_struct_package_PrimaryKerberosString(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_)
4552 proto_item *item = NULL;
4553 proto_tree *tree = NULL;
4554 int old_offset;
4556 ALIGN_TO_4_BYTES;
4558 old_offset = offset;
4560 if (parent_tree) {
4561 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4562 tree = proto_item_add_subtree(item, ett_drsuapi_package_PrimaryKerberosString);
4565 offset = drsuapi_dissect_element_package_PrimaryKerberosString_length(tvb, offset, pinfo, tree, di, drep);
4567 offset = drsuapi_dissect_element_package_PrimaryKerberosString_size(tvb, offset, pinfo, tree, di, drep);
4569 offset = drsuapi_dissect_element_package_PrimaryKerberosString_string_ofs(tvb, offset, pinfo, tree, di, drep);
4572 proto_item_set_len(item, offset-old_offset);
4575 if (di->call_data->flags & DCERPC_IS_NDR64) {
4576 ALIGN_TO_4_BYTES;
4579 return offset;
4583 /* IDL: struct { */
4584 /* IDL: [value(0)] uint16 reserved1; */
4585 /* IDL: [value(0)] uint16 reserved2; */
4586 /* IDL: [value(0)] uint32 reserved3; */
4587 /* IDL: uint32 keytype; */
4588 /* IDL: uint32 value_len; */
4589 /* IDL: uint32 value_ofs; */
4590 /* IDL: uint8 value[value_len]; */
4591 /* IDL: } */
4593 static int
4594 drsuapi_dissect_element_package_PrimaryKerberosKey3_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4596 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey3_reserved1, 0);
4598 return offset;
4601 static int
4602 drsuapi_dissect_element_package_PrimaryKerberosKey3_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4604 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey3_reserved2, 0);
4606 return offset;
4609 static int
4610 drsuapi_dissect_element_package_PrimaryKerberosKey3_reserved3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4612 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey3_reserved3, 0);
4614 return offset;
4618 /* IDL: struct { */
4619 /* IDL: uint16 num_keys; */
4620 /* IDL: uint16 num_old_keys; */
4621 /* IDL: package_PrimaryKerberosString salt; */
4622 /* IDL: package_PrimaryKerberosKey3 keys[num_keys]; */
4623 /* IDL: package_PrimaryKerberosKey3 old_keys[num_old_keys]; */
4624 /* IDL: [value(0)] uint32 padding1; */
4625 /* IDL: [value(0)] uint32 padding2; */
4626 /* IDL: [value(0)] uint32 padding3; */
4627 /* IDL: [value(0)] uint32 padding4; */
4628 /* IDL: [value(0)] uint32 padding5; */
4629 /* IDL: } */
4631 static int
4632 drsuapi_dissect_element_package_PrimaryKerberosCtr3_salt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4634 offset = drsuapi_dissect_struct_package_PrimaryKerberosString(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_package_PrimaryKerberosCtr3_salt,0);
4636 return offset;
4639 static int
4640 drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4642 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosCtr3_padding1, 0);
4644 return offset;
4647 static int
4648 drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4650 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosCtr3_padding2, 0);
4652 return offset;
4655 static int
4656 drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4658 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosCtr3_padding3, 0);
4660 return offset;
4663 static int
4664 drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4666 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosCtr3_padding4, 0);
4668 return offset;
4671 static int
4672 drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4674 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosCtr3_padding5, 0);
4676 return offset;
4680 drsuapi_dissect_struct_package_PrimaryKerberosCtr3(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_)
4682 uint16_t num_keys = 0;
4683 uint16_t num_old_keys = 0;
4684 proto_item *item = NULL;
4685 proto_tree *tree = NULL;
4686 int old_offset;
4688 ALIGN_TO_4_BYTES;
4690 old_offset = offset;
4692 if (parent_tree) {
4693 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4694 tree = proto_item_add_subtree(item, ett_drsuapi_package_PrimaryKerberosCtr3);
4697 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr3_num_keys(tvb, offset, pinfo, tree, di, drep, &num_keys);
4699 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr3_num_old_keys(tvb, offset, pinfo, tree, di, drep, &num_old_keys);
4701 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr3_salt(tvb, offset, pinfo, tree, di, drep);
4703 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr3_keys(tvb, offset, pinfo, tree, di, drep, &num_keys);
4705 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr3_old_keys(tvb, offset, pinfo, tree, di, drep, &num_old_keys);
4707 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding1(tvb, offset, pinfo, tree, di, drep);
4709 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding2(tvb, offset, pinfo, tree, di, drep);
4711 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding3(tvb, offset, pinfo, tree, di, drep);
4713 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding4(tvb, offset, pinfo, tree, di, drep);
4715 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr3_padding5(tvb, offset, pinfo, tree, di, drep);
4718 proto_item_set_len(item, offset-old_offset);
4721 if (di->call_data->flags & DCERPC_IS_NDR64) {
4722 ALIGN_TO_4_BYTES;
4725 return offset;
4729 /* IDL: struct { */
4730 /* IDL: [value(0)] uint16 reserved1; */
4731 /* IDL: [value(0)] uint16 reserved2; */
4732 /* IDL: [value(0)] uint32 reserved3; */
4733 /* IDL: uint32 iteration_count; */
4734 /* IDL: uint32 keytype; */
4735 /* IDL: uint32 value_len; */
4736 /* IDL: uint32 value_ofs; */
4737 /* IDL: uint8 value[value_len]; */
4738 /* IDL: } */
4740 static int
4741 drsuapi_dissect_element_package_PrimaryKerberosKey4_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4743 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey4_reserved1, 0);
4745 return offset;
4748 static int
4749 drsuapi_dissect_element_package_PrimaryKerberosKey4_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4751 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey4_reserved2, 0);
4753 return offset;
4756 static int
4757 drsuapi_dissect_element_package_PrimaryKerberosKey4_reserved3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4759 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey4_reserved3, 0);
4761 return offset;
4764 static int
4765 drsuapi_dissect_element_package_PrimaryKerberosKey4_iteration_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4767 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosKey4_iteration_count, 0);
4769 return offset;
4773 /* IDL: struct { */
4774 /* IDL: uint16 num_keys; */
4775 /* IDL: [value(0)] uint16 num_service_keys; */
4776 /* IDL: uint16 num_old_keys; */
4777 /* IDL: uint16 num_older_keys; */
4778 /* IDL: package_PrimaryKerberosString salt; */
4779 /* IDL: uint32 default_iteration_count; */
4780 /* IDL: package_PrimaryKerberosKey4 keys[num_keys]; */
4781 /* IDL: package_PrimaryKerberosKey4 service_keys[num_service_keys]; */
4782 /* IDL: package_PrimaryKerberosKey4 old_keys[num_old_keys]; */
4783 /* IDL: package_PrimaryKerberosKey4 older_keys[num_older_keys]; */
4784 /* IDL: } */
4786 static int
4787 drsuapi_dissect_element_package_PrimaryKerberosCtr4_salt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4789 offset = drsuapi_dissect_struct_package_PrimaryKerberosString(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_package_PrimaryKerberosCtr4_salt,0);
4791 return offset;
4794 static int
4795 drsuapi_dissect_element_package_PrimaryKerberosCtr4_default_iteration_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4797 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosCtr4_default_iteration_count, 0);
4799 return offset;
4803 drsuapi_dissect_struct_package_PrimaryKerberosCtr4(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_)
4805 uint16_t num_keys = 0;
4806 uint16_t num_service_keys = 0;
4807 uint16_t num_old_keys = 0;
4808 uint16_t num_older_keys = 0;
4809 proto_item *item = NULL;
4810 proto_tree *tree = NULL;
4811 int old_offset;
4813 ALIGN_TO_4_BYTES;
4815 old_offset = offset;
4817 if (parent_tree) {
4818 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4819 tree = proto_item_add_subtree(item, ett_drsuapi_package_PrimaryKerberosCtr4);
4822 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr4_num_keys(tvb, offset, pinfo, tree, di, drep, &num_keys);
4824 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr4_num_service_keys(tvb, offset, pinfo, tree, di, drep, &num_service_keys);
4826 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr4_num_old_keys(tvb, offset, pinfo, tree, di, drep, &num_old_keys);
4828 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr4_num_older_keys(tvb, offset, pinfo, tree, di, drep, &num_older_keys);
4830 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr4_salt(tvb, offset, pinfo, tree, di, drep);
4832 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr4_default_iteration_count(tvb, offset, pinfo, tree, di, drep);
4834 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr4_keys(tvb, offset, pinfo, tree, di, drep, &num_keys);
4836 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr4_service_keys(tvb, offset, pinfo, tree, di, drep, &num_service_keys);
4838 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr4_old_keys(tvb, offset, pinfo, tree, di, drep, &num_old_keys);
4840 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr4_older_keys(tvb, offset, pinfo, tree, di, drep, &num_older_keys);
4843 proto_item_set_len(item, offset-old_offset);
4846 if (di->call_data->flags & DCERPC_IS_NDR64) {
4847 ALIGN_TO_4_BYTES;
4850 return offset;
4854 /* IDL: [nodiscriminant(1)] union { */
4855 /* IDL: [case(3)] [case(3)] package_PrimaryKerberosCtr3 ctr3; */
4856 /* IDL: [case(4)] [case(4)] package_PrimaryKerberosCtr4 ctr4; */
4857 /* IDL: } */
4859 static int
4860 drsuapi_dissect_element_package_PrimaryKerberosCtr_ctr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4862 offset = drsuapi_dissect_struct_package_PrimaryKerberosCtr3(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_package_PrimaryKerberosCtr_ctr3,0);
4864 return offset;
4867 static int
4868 drsuapi_dissect_element_package_PrimaryKerberosCtr_ctr4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4870 offset = drsuapi_dissect_struct_package_PrimaryKerberosCtr4(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_package_PrimaryKerberosCtr_ctr4,0);
4872 return offset;
4875 static int
4876 drsuapi_dissect_package_PrimaryKerberosCtr(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_)
4878 proto_item *item = NULL;
4879 proto_tree *tree = NULL;
4880 int old_offset;
4881 uint32_t level = param;
4883 old_offset = offset;
4884 if (parent_tree) {
4885 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_package_PrimaryKerberosCtr, &item, "package_PrimaryKerberosCtr");
4888 UNION_ALIGN_TO_4_BYTES;
4890 switch(level) {
4891 case 3:
4892 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr_ctr3(tvb, offset, pinfo, tree, di, drep);
4893 break;
4895 case 4:
4896 offset = drsuapi_dissect_element_package_PrimaryKerberosCtr_ctr4(tvb, offset, pinfo, tree, di, drep);
4897 break;
4899 proto_item_set_len(item, offset-old_offset);
4902 return offset;
4905 /* IDL: struct { */
4906 /* IDL: uint16 version; */
4907 /* IDL: [value(0)] uint16 flags; */
4908 /* IDL: [switch_is(version)] package_PrimaryKerberosCtr ctr; */
4909 /* IDL: } */
4911 static int
4912 drsuapi_dissect_element_package_PrimaryKerberosBlob_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4914 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosBlob_flags, 0);
4916 return offset;
4919 static int
4920 drsuapi_dissect_element_package_PrimaryKerberosBlob_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint16_t version)
4922 offset = drsuapi_dissect_package_PrimaryKerberosCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_package_PrimaryKerberosBlob_ctr, version);
4924 return offset;
4928 drsuapi_dissect_struct_package_PrimaryKerberosBlob(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_)
4930 uint16_t version = 0;
4931 proto_item *item = NULL;
4932 proto_tree *tree = NULL;
4933 int old_offset;
4935 ALIGN_TO_4_BYTES;
4937 old_offset = offset;
4939 if (parent_tree) {
4940 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4941 tree = proto_item_add_subtree(item, ett_drsuapi_package_PrimaryKerberosBlob);
4944 offset = drsuapi_dissect_element_package_PrimaryKerberosBlob_version(tvb, offset, pinfo, tree, di, drep, &version);
4946 offset = drsuapi_dissect_element_package_PrimaryKerberosBlob_flags(tvb, offset, pinfo, tree, di, drep);
4948 offset = drsuapi_dissect_element_package_PrimaryKerberosBlob_ctr(tvb, offset, pinfo, tree, di, drep, version);
4951 proto_item_set_len(item, offset-old_offset);
4954 if (di->call_data->flags & DCERPC_IS_NDR64) {
4955 ALIGN_TO_4_BYTES;
4958 return offset;
4962 /* IDL: struct { */
4963 /* IDL: package_PrimaryKerberosBlob PrimaryKerberosBlob; */
4964 /* IDL: } */
4966 static int
4967 drsuapi_dissect_element_pkb_PrimaryKerberosBlob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4969 offset = drsuapi_dissect_struct_package_PrimaryKerberosBlob(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_pkb_PrimaryKerberosBlob,0);
4971 return offset;
4975 drsuapi_dissect_struct_pkb(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_)
4977 proto_item *item = NULL;
4978 proto_tree *tree = NULL;
4979 int old_offset;
4981 ALIGN_TO_4_BYTES;
4983 old_offset = offset;
4985 if (parent_tree) {
4986 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4987 tree = proto_item_add_subtree(item, ett_drsuapi_pkb);
4990 offset = drsuapi_dissect_element_pkb_PrimaryKerberosBlob(tvb, offset, pinfo, tree, di, drep);
4993 proto_item_set_len(item, offset-old_offset);
4996 if (di->call_data->flags & DCERPC_IS_NDR64) {
4997 ALIGN_TO_4_BYTES;
5000 return offset;
5004 /* IDL: bitmap { */
5005 /* IDL: } */
5008 drsuapi_dissect_bitmap_security_GroupAttrs(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_)
5010 uint32_t flags;
5011 ALIGN_TO_4_BYTES;
5013 proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, DREP_ENC_INTEGER(drep));
5015 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
5017 return offset;
5021 /* IDL: bitmap { */
5022 /* IDL: DRSUAPI_DRS_ASYNC_OP = 0x00000001 , */
5023 /* IDL: DRSUAPI_DRS_GETCHG_CHECK = 0x00000002 , */
5024 /* IDL: DRSUAPI_DRS_ADD_REF = 0x00000004 , */
5025 /* IDL: DRSUAPI_DRS_SYNC_ALL = 0x00000008 , */
5026 /* IDL: DRSUAPI_DRS_WRIT_REP = 0x00000010 , */
5027 /* IDL: DRSUAPI_DRS_INIT_SYNC = 0x00000020 , */
5028 /* IDL: DRSUAPI_DRS_PER_SYNC = 0x00000040 , */
5029 /* IDL: DRSUAPI_DRS_MAIL_REP = 0x00000080 , */
5030 /* IDL: DRSUAPI_DRS_ASYNC_REP = 0x00000100 , */
5031 /* IDL: DRSUAPI_DRS_TWOWAY_SYNC = 0x00000200 , */
5032 /* IDL: DRSUAPI_DRS_CRITICAL_ONLY = 0x00000400 , */
5033 /* IDL: DRSUAPI_DRS_GET_ANC = 0x00000800 , */
5034 /* IDL: DRSUAPI_DRS_GET_NC_SIZE = 0x00001000 , */
5035 /* IDL: DRSUAPI_DRS_NONGC_RO_REP = 0x00002000 , */
5036 /* IDL: DRSUAPI_DRS_SYNC_BYNAME = 0x00004000 , */
5037 /* IDL: DRSUAPI_DRS_FULL_SYNC_NOW = 0x00008000 , */
5038 /* IDL: DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS = 0x00010000 , */
5039 /* IDL: DRSUAPI_DRS_FULL_SYNC_PACKET = 0x00020000 , */
5040 /* IDL: DRSUAPI_DRS_SYNC_REQUEUE = 0x00040000 , */
5041 /* IDL: DRSUAPI_DRS_SYNC_URGENT = 0x00080000 , */
5042 /* IDL: DRSUAPI_DRS_REF_GCSPN = 0x00100000 , */
5043 /* IDL: DRSUAPI_DRS_NEVER_SYNCED = 0x00200000 , */
5044 /* IDL: DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING = 0x00400000 , */
5045 /* IDL: DRSUAPI_DRS_INIT_SYNC_NOW = 0x00800000 , */
5046 /* IDL: DRSUAPI_DRS_PREEMPTED = 0x01000000 , */
5047 /* IDL: DRSUAPI_DRS_SYNC_FORCED = 0x02000000 , */
5048 /* IDL: DRSUAPI_DRS_DISABLE_AUTO_SYNC = 0x04000000 , */
5049 /* IDL: DRSUAPI_DRS_DISABLE_PERIODIC_SYNC = 0x08000000 , */
5050 /* IDL: DRSUAPI_DRS_USE_COMPRESSION = 0x10000000 , */
5051 /* IDL: DRSUAPI_DRS_NEVER_NOTIFY = 0x20000000 , */
5052 /* IDL: DRSUAPI_DRS_SYNC_PAS = 0x40000000 , */
5053 /* IDL: DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP = 0x80000000 , */
5054 /* IDL: } */
5057 drsuapi_dissect_bitmap_DrsOptions(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_)
5059 proto_item *item;
5060 static int * const drsuapi_drsuapi_DrsOptions_fields[] = {
5061 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_OP,
5062 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GETCHG_CHECK,
5063 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ADD_REF,
5064 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_ALL,
5065 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_WRIT_REP,
5066 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC,
5067 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_PER_SYNC,
5068 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_MAIL_REP,
5069 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_REP,
5070 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_TWOWAY_SYNC,
5071 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_CRITICAL_ONLY,
5072 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_ANC,
5073 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_NC_SIZE,
5074 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NONGC_RO_REP,
5075 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_BYNAME,
5076 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_NOW,
5077 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS,
5078 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_PACKET,
5079 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_REQUEUE,
5080 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_URGENT,
5081 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_REF_GCSPN,
5082 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_SYNCED,
5083 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING,
5084 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC_NOW,
5085 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_PREEMPTED,
5086 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_FORCED,
5087 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_AUTO_SYNC,
5088 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_PERIODIC_SYNC,
5089 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_USE_COMPRESSION,
5090 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_NOTIFY,
5091 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_PAS,
5092 &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP,
5093 NULL
5095 uint32_t flags;
5096 ALIGN_TO_4_BYTES;
5098 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
5099 ett_drsuapi_drsuapi_DrsOptions, drsuapi_drsuapi_DrsOptions_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
5101 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
5103 if (!flags)
5104 proto_item_append_text(item, ": (No values set)");
5106 return offset;
5110 /* IDL: bitmap { */
5111 /* IDL: DRSUAPI_DRS_GET_TGT = 0x00000001 , */
5112 /* IDL: } */
5115 drsuapi_dissect_bitmap_DrsMoreOptions(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_)
5117 proto_item *item;
5118 static int * const drsuapi_drsuapi_DrsMoreOptions_fields[] = {
5119 &hf_drsuapi_drsuapi_DrsMoreOptions_DRSUAPI_DRS_GET_TGT,
5120 NULL
5122 uint32_t flags;
5123 ALIGN_TO_4_BYTES;
5125 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
5126 ett_drsuapi_drsuapi_DrsMoreOptions, drsuapi_drsuapi_DrsMoreOptions_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
5128 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
5130 if (!flags)
5131 proto_item_append_text(item, ": (No values set)");
5133 if (flags & (~0x00000001)) {
5134 flags &= (~0x00000001);
5135 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
5138 return offset;
5142 /* IDL: bitmap { */
5143 /* IDL: DRSUAPI_DRS_UPDATE_FLAGS = 0x00000001 , */
5144 /* IDL: DRSUAPI_DRS_UPDATE_ADDRESS = 0x00000002 , */
5145 /* IDL: DRSUAPI_DRS_UPDATE_SCHEDULE = 0x00000004 , */
5146 /* IDL: } */
5149 drsuapi_dissect_bitmap_DrsUpdate(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_)
5151 proto_item *item;
5152 static int * const drsuapi_drsuapi_DrsUpdate_fields[] = {
5153 &hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_FLAGS,
5154 &hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_ADDRESS,
5155 &hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_SCHEDULE,
5156 NULL
5158 uint32_t flags;
5159 ALIGN_TO_4_BYTES;
5161 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
5162 ett_drsuapi_drsuapi_DrsUpdate, drsuapi_drsuapi_DrsUpdate_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
5164 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
5166 if (!flags)
5167 proto_item_append_text(item, ": (No values set)");
5169 if (flags & (~0x00000007)) {
5170 flags &= (~0x00000007);
5171 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
5174 return offset;
5178 /* IDL: struct { */
5179 /* IDL: uint32 version; */
5180 /* IDL: uint32 buffer_size; */
5181 /* IDL: hyper padding; */
5182 /* IDL: [size_is(buffer_size)] uint8 buffer[*]; */
5183 /* IDL: } */
5185 static int
5186 drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5188 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION_version, 0);
5190 return offset;
5193 static int
5194 drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_buffer_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5196 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION_buffer_size, 0);
5198 return offset;
5201 static int
5202 drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_padding(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5204 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION_padding, NULL);
5206 return offset;
5209 static int
5210 drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
5213 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_buffer_);
5215 return offset;
5218 static int
5219 drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5221 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION_buffer, 0);
5223 return offset;
5226 static int
5227 drsuapi_dissect_conformant_VAR_SIZE_BUFFER_WITH_VERSION_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
5229 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
5231 return offset;
5235 drsuapi_dissect_struct_VAR_SIZE_BUFFER_WITH_VERSION(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_)
5237 struct ndr_generic_array nga_buffer = { .is_conformant = false, };
5238 proto_item *item = NULL;
5239 proto_tree *tree = NULL;
5240 int old_offset;
5242 offset = drsuapi_dissect_conformant_VAR_SIZE_BUFFER_WITH_VERSION_buffer(tvb, offset, pinfo, parent_tree, di, drep, &nga_buffer);
5244 ALIGN_TO_8_BYTES;
5246 old_offset = offset;
5248 if (parent_tree) {
5249 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5250 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION);
5253 offset = drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_version(tvb, offset, pinfo, tree, di, drep);
5255 offset = drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_buffer_size(tvb, offset, pinfo, tree, di, drep);
5257 offset = drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_padding(tvb, offset, pinfo, tree, di, drep);
5259 offset = drsuapi_dissect_element_VAR_SIZE_BUFFER_WITH_VERSION_buffer(tvb, offset, pinfo, tree, di, drep, &nga_buffer);
5262 proto_item_set_len(item, offset-old_offset);
5265 return offset;
5269 /* IDL: bitmap { */
5270 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_BASE = 0x00000001 , */
5271 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION = 0x00000002 , */
5272 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI = 0x00000004 , */
5273 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 = 0x00000008 , */
5274 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS = 0x00000010 , */
5275 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 = 0x00000020 , */
5276 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION = 0x00000040 , */
5277 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY = 0x00000080 , */
5278 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE = 0x00000100 , */
5279 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 = 0x00000200 , */
5280 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION = 0x00000400 , */
5281 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 = 0x00000800 , */
5282 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD = 0x00001000 , */
5283 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND = 0x00002000 , */
5284 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO = 0x00004000 , */
5285 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION = 0x00008000 , */
5286 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 = 0x00010000 , */
5287 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP = 0x00020000 , */
5288 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY = 0x00040000 , */
5289 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 = 0x00080000 , */
5290 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5 = 0x00100000 , */
5291 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 = 0x00200000 , */
5292 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 = 0x00400000 , */
5293 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS = 0x00800000 , */
5294 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 = 0x01000000 , */
5295 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 = 0x02000000 , */
5296 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 = 0x04000000 , */
5297 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 = 0x08000000 , */
5298 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS = 0x10000000 , */
5299 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10 = 0x20000000 , */
5300 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2 = 0x40000000 , */
5301 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3 = 0x80000000 , */
5302 /* IDL: } */
5305 drsuapi_dissect_bitmap_SupportedExtensions(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_)
5307 proto_item *item;
5308 static int * const drsuapi_drsuapi_SupportedExtensions_fields[] = {
5309 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE,
5310 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION,
5311 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI,
5312 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2,
5313 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS,
5314 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1,
5315 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION,
5316 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY,
5317 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE,
5318 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2,
5319 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION,
5320 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2,
5321 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD,
5322 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND,
5323 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO,
5324 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION,
5325 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01,
5326 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP,
5327 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY,
5328 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3,
5329 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5,
5330 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2,
5331 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6,
5332 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS,
5333 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8,
5334 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5,
5335 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6,
5336 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3,
5337 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS,
5338 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10,
5339 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2,
5340 &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3,
5341 NULL
5343 uint32_t flags;
5344 ALIGN_TO_4_BYTES;
5346 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
5347 ett_drsuapi_drsuapi_SupportedExtensions, drsuapi_drsuapi_SupportedExtensions_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
5349 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
5351 if (!flags)
5352 proto_item_append_text(item, ": (No values set)");
5354 return offset;
5358 /* IDL: bitmap { */
5359 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_ADAM = 0x00000001 , */
5360 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2 = 0x00000002 , */
5361 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN = 0x00000004 , */
5362 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_00000008 = 0x00000008 , */
5363 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V9 = 0x00000200 , */
5364 /* IDL: DRSUAPI_SUPPORTED_EXTENSION_RPC_CORRELATIONID_1 = 0x00000800 , */
5365 /* IDL: } */
5368 drsuapi_dissect_bitmap_SupportedExtensionsExt(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_)
5370 proto_item *item;
5371 static int * const drsuapi_drsuapi_SupportedExtensionsExt_fields[] = {
5372 &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_ADAM,
5373 &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2,
5374 &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN,
5375 &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_00000008,
5376 &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V9,
5377 &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_RPC_CORRELATIONID_1,
5378 NULL
5380 uint32_t flags;
5381 ALIGN_TO_4_BYTES;
5383 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
5384 ett_drsuapi_drsuapi_SupportedExtensionsExt, drsuapi_drsuapi_SupportedExtensionsExt_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
5386 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
5388 if (!flags)
5389 proto_item_append_text(item, ": (No values set)");
5391 if (flags & (~0x00000a0f)) {
5392 flags &= (~0x00000a0f);
5393 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
5396 return offset;
5400 /* IDL: struct { */
5401 /* IDL: drsuapi_SupportedExtensions supported_extensions; */
5402 /* IDL: GUID site_guid; */
5403 /* IDL: uint32 pid; */
5404 /* IDL: } */
5406 static int
5407 drsuapi_dissect_element_DsBindInfo24_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5409 offset = drsuapi_dissect_bitmap_SupportedExtensions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo24_supported_extensions, 0);
5411 return offset;
5414 static int
5415 drsuapi_dissect_element_DsBindInfo24_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5417 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo24_site_guid, NULL);
5419 return offset;
5422 static int
5423 drsuapi_dissect_element_DsBindInfo24_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5425 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo24_pid, 0);
5427 return offset;
5431 drsuapi_dissect_struct_DsBindInfo24(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_)
5433 proto_item *item = NULL;
5434 proto_tree *tree = NULL;
5435 int old_offset;
5437 ALIGN_TO_4_BYTES;
5439 old_offset = offset;
5441 if (parent_tree) {
5442 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5443 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsBindInfo24);
5446 offset = drsuapi_dissect_element_DsBindInfo24_supported_extensions(tvb, offset, pinfo, tree, di, drep);
5448 offset = drsuapi_dissect_element_DsBindInfo24_site_guid(tvb, offset, pinfo, tree, di, drep);
5450 offset = drsuapi_dissect_element_DsBindInfo24_pid(tvb, offset, pinfo, tree, di, drep);
5453 proto_item_set_len(item, offset-old_offset);
5456 if (di->call_data->flags & DCERPC_IS_NDR64) {
5457 ALIGN_TO_4_BYTES;
5460 return offset;
5464 /* IDL: struct { */
5465 /* IDL: drsuapi_SupportedExtensions supported_extensions; */
5466 /* IDL: GUID site_guid; */
5467 /* IDL: uint32 pid; */
5468 /* IDL: uint32 repl_epoch; */
5469 /* IDL: } */
5471 static int
5472 drsuapi_dissect_element_DsBindInfo28_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5474 offset = drsuapi_dissect_bitmap_SupportedExtensions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo28_supported_extensions, 0);
5476 return offset;
5479 static int
5480 drsuapi_dissect_element_DsBindInfo28_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5482 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo28_site_guid, NULL);
5484 return offset;
5487 static int
5488 drsuapi_dissect_element_DsBindInfo28_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5490 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo28_pid, 0);
5492 return offset;
5495 static int
5496 drsuapi_dissect_element_DsBindInfo28_repl_epoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5498 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo28_repl_epoch, 0);
5500 return offset;
5504 drsuapi_dissect_struct_DsBindInfo28(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_)
5506 proto_item *item = NULL;
5507 proto_tree *tree = NULL;
5508 int old_offset;
5510 ALIGN_TO_4_BYTES;
5512 old_offset = offset;
5514 if (parent_tree) {
5515 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5516 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsBindInfo28);
5519 offset = drsuapi_dissect_element_DsBindInfo28_supported_extensions(tvb, offset, pinfo, tree, di, drep);
5521 offset = drsuapi_dissect_element_DsBindInfo28_site_guid(tvb, offset, pinfo, tree, di, drep);
5523 offset = drsuapi_dissect_element_DsBindInfo28_pid(tvb, offset, pinfo, tree, di, drep);
5525 offset = drsuapi_dissect_element_DsBindInfo28_repl_epoch(tvb, offset, pinfo, tree, di, drep);
5528 proto_item_set_len(item, offset-old_offset);
5531 if (di->call_data->flags & DCERPC_IS_NDR64) {
5532 ALIGN_TO_4_BYTES;
5535 return offset;
5539 /* IDL: struct { */
5540 /* IDL: drsuapi_SupportedExtensions supported_extensions; */
5541 /* IDL: GUID site_guid; */
5542 /* IDL: uint32 pid; */
5543 /* IDL: uint32 repl_epoch; */
5544 /* IDL: drsuapi_SupportedExtensionsExt supported_extensions_ext; */
5545 /* IDL: } */
5547 static int
5548 drsuapi_dissect_element_DsBindInfo32_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5550 offset = drsuapi_dissect_bitmap_SupportedExtensions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo32_supported_extensions, 0);
5552 return offset;
5555 static int
5556 drsuapi_dissect_element_DsBindInfo32_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5558 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo32_site_guid, NULL);
5560 return offset;
5563 static int
5564 drsuapi_dissect_element_DsBindInfo32_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5566 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo32_pid, 0);
5568 return offset;
5571 static int
5572 drsuapi_dissect_element_DsBindInfo32_repl_epoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5574 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo32_repl_epoch, 0);
5576 return offset;
5579 static int
5580 drsuapi_dissect_element_DsBindInfo32_supported_extensions_ext(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5582 offset = drsuapi_dissect_bitmap_SupportedExtensionsExt(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo32_supported_extensions_ext, 0);
5584 return offset;
5588 drsuapi_dissect_struct_DsBindInfo32(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_)
5590 proto_item *item = NULL;
5591 proto_tree *tree = NULL;
5592 int old_offset;
5594 ALIGN_TO_4_BYTES;
5596 old_offset = offset;
5598 if (parent_tree) {
5599 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5600 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsBindInfo32);
5603 offset = drsuapi_dissect_element_DsBindInfo32_supported_extensions(tvb, offset, pinfo, tree, di, drep);
5605 offset = drsuapi_dissect_element_DsBindInfo32_site_guid(tvb, offset, pinfo, tree, di, drep);
5607 offset = drsuapi_dissect_element_DsBindInfo32_pid(tvb, offset, pinfo, tree, di, drep);
5609 offset = drsuapi_dissect_element_DsBindInfo32_repl_epoch(tvb, offset, pinfo, tree, di, drep);
5611 offset = drsuapi_dissect_element_DsBindInfo32_supported_extensions_ext(tvb, offset, pinfo, tree, di, drep);
5614 proto_item_set_len(item, offset-old_offset);
5617 if (di->call_data->flags & DCERPC_IS_NDR64) {
5618 ALIGN_TO_4_BYTES;
5621 return offset;
5625 /* IDL: struct { */
5626 /* IDL: drsuapi_SupportedExtensions supported_extensions; */
5627 /* IDL: GUID site_guid; */
5628 /* IDL: uint32 pid; */
5629 /* IDL: uint32 repl_epoch; */
5630 /* IDL: drsuapi_SupportedExtensionsExt supported_extensions_ext; */
5631 /* IDL: GUID config_dn_guid; */
5632 /* IDL: } */
5634 static int
5635 drsuapi_dissect_element_DsBindInfo48_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5637 offset = drsuapi_dissect_bitmap_SupportedExtensions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo48_supported_extensions, 0);
5639 return offset;
5642 static int
5643 drsuapi_dissect_element_DsBindInfo48_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5645 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo48_site_guid, NULL);
5647 return offset;
5650 static int
5651 drsuapi_dissect_element_DsBindInfo48_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5653 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo48_pid, 0);
5655 return offset;
5658 static int
5659 drsuapi_dissect_element_DsBindInfo48_repl_epoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5661 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo48_repl_epoch, 0);
5663 return offset;
5666 static int
5667 drsuapi_dissect_element_DsBindInfo48_supported_extensions_ext(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5669 offset = drsuapi_dissect_bitmap_SupportedExtensionsExt(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo48_supported_extensions_ext, 0);
5671 return offset;
5674 static int
5675 drsuapi_dissect_element_DsBindInfo48_config_dn_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5677 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo48_config_dn_guid, NULL);
5679 return offset;
5683 drsuapi_dissect_struct_DsBindInfo48(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_)
5685 proto_item *item = NULL;
5686 proto_tree *tree = NULL;
5687 int old_offset;
5689 ALIGN_TO_4_BYTES;
5691 old_offset = offset;
5693 if (parent_tree) {
5694 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5695 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsBindInfo48);
5698 offset = drsuapi_dissect_element_DsBindInfo48_supported_extensions(tvb, offset, pinfo, tree, di, drep);
5700 offset = drsuapi_dissect_element_DsBindInfo48_site_guid(tvb, offset, pinfo, tree, di, drep);
5702 offset = drsuapi_dissect_element_DsBindInfo48_pid(tvb, offset, pinfo, tree, di, drep);
5704 offset = drsuapi_dissect_element_DsBindInfo48_repl_epoch(tvb, offset, pinfo, tree, di, drep);
5706 offset = drsuapi_dissect_element_DsBindInfo48_supported_extensions_ext(tvb, offset, pinfo, tree, di, drep);
5708 offset = drsuapi_dissect_element_DsBindInfo48_config_dn_guid(tvb, offset, pinfo, tree, di, drep);
5711 proto_item_set_len(item, offset-old_offset);
5714 if (di->call_data->flags & DCERPC_IS_NDR64) {
5715 ALIGN_TO_4_BYTES;
5718 return offset;
5722 /* IDL: struct { */
5723 /* IDL: drsuapi_SupportedExtensions supported_extensions; */
5724 /* IDL: GUID site_guid; */
5725 /* IDL: uint32 pid; */
5726 /* IDL: uint32 repl_epoch; */
5727 /* IDL: drsuapi_SupportedExtensionsExt supported_extensions_ext; */
5728 /* IDL: GUID config_dn_guid; */
5729 /* IDL: drsuapi_SupportedExtensionsExt supported_capabilities_ext; */
5730 /* IDL: } */
5732 static int
5733 drsuapi_dissect_element_DsBindInfo52_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5735 offset = drsuapi_dissect_bitmap_SupportedExtensions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo52_supported_extensions, 0);
5737 return offset;
5740 static int
5741 drsuapi_dissect_element_DsBindInfo52_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5743 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo52_site_guid, NULL);
5745 return offset;
5748 static int
5749 drsuapi_dissect_element_DsBindInfo52_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5751 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo52_pid, 0);
5753 return offset;
5756 static int
5757 drsuapi_dissect_element_DsBindInfo52_repl_epoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5759 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo52_repl_epoch, 0);
5761 return offset;
5764 static int
5765 drsuapi_dissect_element_DsBindInfo52_supported_extensions_ext(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5767 offset = drsuapi_dissect_bitmap_SupportedExtensionsExt(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo52_supported_extensions_ext, 0);
5769 return offset;
5772 static int
5773 drsuapi_dissect_element_DsBindInfo52_config_dn_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5775 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo52_config_dn_guid, NULL);
5777 return offset;
5780 static int
5781 drsuapi_dissect_element_DsBindInfo52_supported_capabilities_ext(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5783 offset = drsuapi_dissect_bitmap_SupportedExtensionsExt(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfo52_supported_capabilities_ext, 0);
5785 return offset;
5789 drsuapi_dissect_struct_DsBindInfo52(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_)
5791 proto_item *item = NULL;
5792 proto_tree *tree = NULL;
5793 int old_offset;
5795 ALIGN_TO_4_BYTES;
5797 old_offset = offset;
5799 if (parent_tree) {
5800 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5801 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsBindInfo52);
5804 offset = drsuapi_dissect_element_DsBindInfo52_supported_extensions(tvb, offset, pinfo, tree, di, drep);
5806 offset = drsuapi_dissect_element_DsBindInfo52_site_guid(tvb, offset, pinfo, tree, di, drep);
5808 offset = drsuapi_dissect_element_DsBindInfo52_pid(tvb, offset, pinfo, tree, di, drep);
5810 offset = drsuapi_dissect_element_DsBindInfo52_repl_epoch(tvb, offset, pinfo, tree, di, drep);
5812 offset = drsuapi_dissect_element_DsBindInfo52_supported_extensions_ext(tvb, offset, pinfo, tree, di, drep);
5814 offset = drsuapi_dissect_element_DsBindInfo52_config_dn_guid(tvb, offset, pinfo, tree, di, drep);
5816 offset = drsuapi_dissect_element_DsBindInfo52_supported_capabilities_ext(tvb, offset, pinfo, tree, di, drep);
5819 proto_item_set_len(item, offset-old_offset);
5822 if (di->call_data->flags & DCERPC_IS_NDR64) {
5823 ALIGN_TO_4_BYTES;
5826 return offset;
5830 /* IDL: struct { */
5831 /* IDL: [flag(LIBNDR_FLAG_REMAINING)] DATA_BLOB info; */
5832 /* IDL: } */
5834 static int
5835 drsuapi_dissect_element_DsBindInfoFallBack_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5837 offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBindInfoFallBack_info, 1);
5839 return offset;
5843 drsuapi_dissect_struct_DsBindInfoFallBack(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_)
5845 proto_item *item = NULL;
5846 proto_tree *tree = NULL;
5847 int old_offset;
5849 ALIGN_TO_4_BYTES;
5851 old_offset = offset;
5853 if (parent_tree) {
5854 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5855 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsBindInfoFallBack);
5858 offset = drsuapi_dissect_element_DsBindInfoFallBack_info(tvb, offset, pinfo, tree, di, drep);
5861 proto_item_set_len(item, offset-old_offset);
5864 if (di->call_data->flags & DCERPC_IS_NDR64) {
5865 ALIGN_TO_4_BYTES;
5868 return offset;
5872 /* IDL: [nodiscriminant(1)] [noprint(1)] [nopull(1)] [nopush(1)] union { */
5873 /* IDL: [case(24)] [case(24)] [subcontext(0)] [subcontext_size(24)] drsuapi_DsBindInfo24 info24; */
5874 /* IDL: [case(28)] [case(28)] [subcontext(0)] [subcontext_size(28)] drsuapi_DsBindInfo28 info28; */
5875 /* IDL: [case(32)] [case(32)] [subcontext(0)] [subcontext_size(32)] drsuapi_DsBindInfo32 info32; */
5876 /* IDL: [case(48)] [case(48)] [subcontext(0)] [subcontext_size(48)] drsuapi_DsBindInfo48 info48; */
5877 /* IDL: [case(52)] [case(52)] [subcontext(0)] [subcontext_size(52)] drsuapi_DsBindInfo52 info52; */
5878 /* IDL: [default] ; */
5879 /* IDL: } */
5882 /* IDL: struct { */
5883 /* IDL: [range(1,10000)] uint3264 length; */
5884 /* IDL: [value(length)] uint32 __ndr_length; */
5885 /* IDL: [switch_is(length)] drsuapi_DsBindInfo info; */
5886 /* IDL: } */
5889 /* IDL: struct { */
5890 /* IDL: [value(ndr_struct_size_drsuapi_DsReplicaObjectIdentifier(r,ndr->flags))] uint32 __ndr_size; */
5891 /* IDL: [value(ndr_size_dom_sid28(&sid,ndr->flags))] uint32 __ndr_size_sid; */
5892 /* IDL: GUID guid; */
5893 /* IDL: dom_sid28 sid; */
5894 /* IDL: [value(strlen_m(dn))] uint32 __ndr_size_dn; */
5895 /* IDL: [charset(UTF16)] [size_is(__ndr_size_dn+1)] uint16 dn[*]; */
5896 /* IDL: } */
5898 static int
5899 drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5901 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size, 0);
5903 return offset;
5906 static int
5907 drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5909 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size_sid, 0);
5911 return offset;
5914 static int
5915 drsuapi_dissect_element_DsReplicaObjectIdentifier_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5917 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_guid, NULL);
5919 return offset;
5922 static int
5923 drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5925 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size_dn, 0);
5927 return offset;
5930 static int
5931 drsuapi_dissect_conformant_DsReplicaObjectIdentifier_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
5933 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
5935 return offset;
5939 drsuapi_dissect_struct_DsReplicaObjectIdentifier(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_)
5941 struct ndr_generic_array nga_dn = { .is_conformant = false, };
5942 proto_item *item = NULL;
5943 proto_tree *tree = NULL;
5944 int old_offset;
5946 offset = drsuapi_dissect_conformant_DsReplicaObjectIdentifier_dn(tvb, offset, pinfo, parent_tree, di, drep, &nga_dn);
5948 ALIGN_TO_4_BYTES;
5950 old_offset = offset;
5952 if (parent_tree) {
5953 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5954 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjectIdentifier);
5957 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size(tvb, offset, pinfo, tree, di, drep);
5959 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size_sid(tvb, offset, pinfo, tree, di, drep);
5961 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier_guid(tvb, offset, pinfo, tree, di, drep);
5963 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier_sid(tvb, offset, pinfo, tree, di, drep);
5965 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size_dn(tvb, offset, pinfo, tree, di, drep);
5967 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier_dn(tvb, offset, pinfo, tree, di, drep, &nga_dn);
5970 proto_item_set_len(item, offset-old_offset);
5973 return offset;
5977 /* IDL: struct { */
5978 /* IDL: [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
5979 /* IDL: GUID source_dsa_guid; */
5980 /* IDL: [charset(DOS)] [unique(1)] uint8 *source_dsa_dns; */
5981 /* IDL: drsuapi_DrsOptions options; */
5982 /* IDL: } */
5984 static int
5985 drsuapi_dissect_element_DsReplicaSyncRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5987 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaSyncRequest1_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaSyncRequest1_naming_context);
5989 return offset;
5992 static int
5993 drsuapi_dissect_element_DsReplicaSyncRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5995 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaSyncRequest1_naming_context,0);
5997 return offset;
6000 static int
6001 drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6003 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaSyncRequest1_source_dsa_guid, NULL);
6005 return offset;
6008 static int
6009 drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_dns(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6011 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_dns_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Dns (uint8)",hf_drsuapi_drsuapi_DsReplicaSyncRequest1_source_dsa_dns);
6013 return offset;
6016 static int
6017 drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_dns_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6019 char *data = NULL;
6020 struct ndr_generic_array nga = { .is_conformant = false, };
6022 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6024 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6025 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint8_t), hf_drsuapi_drsuapi_DsReplicaSyncRequest1_source_dsa_dns, false, &nga, &data);
6026 proto_item_append_text(tree, ": %s", data);
6028 return offset;
6031 static int
6032 drsuapi_dissect_element_DsReplicaSyncRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6034 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaSyncRequest1_options, 0);
6036 return offset;
6040 drsuapi_dissect_struct_DsReplicaSyncRequest1(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_)
6042 proto_item *item = NULL;
6043 proto_tree *tree = NULL;
6044 int old_offset;
6046 ALIGN_TO_5_BYTES;
6048 old_offset = offset;
6050 if (parent_tree) {
6051 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6052 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaSyncRequest1);
6055 offset = drsuapi_dissect_element_DsReplicaSyncRequest1_naming_context(tvb, offset, pinfo, tree, di, drep);
6057 offset = drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_guid(tvb, offset, pinfo, tree, di, drep);
6059 offset = drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_dns(tvb, offset, pinfo, tree, di, drep);
6061 offset = drsuapi_dissect_element_DsReplicaSyncRequest1_options(tvb, offset, pinfo, tree, di, drep);
6064 proto_item_set_len(item, offset-old_offset);
6067 if (di->call_data->flags & DCERPC_IS_NDR64) {
6068 ALIGN_TO_5_BYTES;
6071 return offset;
6075 /* IDL: struct { */
6076 /* IDL: [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
6077 /* IDL: GUID source_dsa_guid; */
6078 /* IDL: [charset(DOS)] [unique(1)] uint8 *source_dsa_dns; */
6079 /* IDL: drsuapi_DrsOptions options; */
6080 /* IDL: GUID correlationID; */
6081 /* IDL: [unique(1)] [value(NULL)] drsuapi_VAR_SIZE_BUFFER_WITH_VERSION *reserved_buffer; */
6082 /* IDL: } */
6084 static int
6085 drsuapi_dissect_element_DsReplicaSyncRequest2_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6087 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaSyncRequest2_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaSyncRequest2_naming_context);
6089 return offset;
6092 static int
6093 drsuapi_dissect_element_DsReplicaSyncRequest2_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6095 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaSyncRequest2_naming_context,0);
6097 return offset;
6100 static int
6101 drsuapi_dissect_element_DsReplicaSyncRequest2_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6103 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaSyncRequest2_source_dsa_guid, NULL);
6105 return offset;
6108 static int
6109 drsuapi_dissect_element_DsReplicaSyncRequest2_source_dsa_dns(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6111 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaSyncRequest2_source_dsa_dns_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Dns (uint8)",hf_drsuapi_drsuapi_DsReplicaSyncRequest2_source_dsa_dns);
6113 return offset;
6116 static int
6117 drsuapi_dissect_element_DsReplicaSyncRequest2_source_dsa_dns_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6119 char *data = NULL;
6120 struct ndr_generic_array nga = { .is_conformant = false, };
6122 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6124 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6125 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint8_t), hf_drsuapi_drsuapi_DsReplicaSyncRequest2_source_dsa_dns, false, &nga, &data);
6126 proto_item_append_text(tree, ": %s", data);
6128 return offset;
6131 static int
6132 drsuapi_dissect_element_DsReplicaSyncRequest2_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6134 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaSyncRequest2_options, 0);
6136 return offset;
6139 static int
6140 drsuapi_dissect_element_DsReplicaSyncRequest2_correlationID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6142 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaSyncRequest2_correlationID, NULL);
6144 return offset;
6147 static int
6148 drsuapi_dissect_element_DsReplicaSyncRequest2_reserved_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6150 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaSyncRequest2_reserved_buffer_, NDR_POINTER_UNIQUE, "Pointer to Reserved Buffer (drsuapi_VAR_SIZE_BUFFER_WITH_VERSION)",hf_drsuapi_drsuapi_DsReplicaSyncRequest2_reserved_buffer);
6152 return offset;
6155 static int
6156 drsuapi_dissect_element_DsReplicaSyncRequest2_reserved_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6158 offset = drsuapi_dissect_struct_VAR_SIZE_BUFFER_WITH_VERSION(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaSyncRequest2_reserved_buffer,0);
6160 return offset;
6164 drsuapi_dissect_struct_DsReplicaSyncRequest2(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_)
6166 proto_item *item = NULL;
6167 proto_tree *tree = NULL;
6168 int old_offset;
6170 ALIGN_TO_5_BYTES;
6172 old_offset = offset;
6174 if (parent_tree) {
6175 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6176 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaSyncRequest2);
6179 offset = drsuapi_dissect_element_DsReplicaSyncRequest2_naming_context(tvb, offset, pinfo, tree, di, drep);
6181 offset = drsuapi_dissect_element_DsReplicaSyncRequest2_source_dsa_guid(tvb, offset, pinfo, tree, di, drep);
6183 offset = drsuapi_dissect_element_DsReplicaSyncRequest2_source_dsa_dns(tvb, offset, pinfo, tree, di, drep);
6185 offset = drsuapi_dissect_element_DsReplicaSyncRequest2_options(tvb, offset, pinfo, tree, di, drep);
6187 offset = drsuapi_dissect_element_DsReplicaSyncRequest2_correlationID(tvb, offset, pinfo, tree, di, drep);
6189 offset = drsuapi_dissect_element_DsReplicaSyncRequest2_reserved_buffer(tvb, offset, pinfo, tree, di, drep);
6192 proto_item_set_len(item, offset-old_offset);
6195 if (di->call_data->flags & DCERPC_IS_NDR64) {
6196 ALIGN_TO_5_BYTES;
6199 return offset;
6203 /* IDL: [switch_type(uint32)] union { */
6204 /* IDL: [case(1)] [case(1)] drsuapi_DsReplicaSyncRequest1 req1; */
6205 /* IDL: [case(2)] [case(2)] drsuapi_DsReplicaSyncRequest2 req2; */
6206 /* IDL: } */
6208 static int
6209 drsuapi_dissect_element_DsReplicaSyncRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6211 offset = drsuapi_dissect_struct_DsReplicaSyncRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaSyncRequest_req1,0);
6213 return offset;
6216 static int
6217 drsuapi_dissect_element_DsReplicaSyncRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6219 offset = drsuapi_dissect_struct_DsReplicaSyncRequest2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaSyncRequest_req2,0);
6221 return offset;
6224 static int
6225 drsuapi_dissect_DsReplicaSyncRequest(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_)
6227 proto_item *item = NULL;
6228 proto_tree *tree = NULL;
6229 int old_offset;
6230 uint32_t level;
6232 old_offset = offset;
6233 if (parent_tree) {
6234 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsReplicaSyncRequest, &item, "drsuapi_DsReplicaSyncRequest");
6237 UNION_ALIGN_TO_5_BYTES;
6238 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
6239 UNION_ALIGN_TO_5_BYTES;
6241 switch(level) {
6242 case 1:
6243 offset = drsuapi_dissect_element_DsReplicaSyncRequest_req1(tvb, offset, pinfo, tree, di, drep);
6244 break;
6246 case 2:
6247 offset = drsuapi_dissect_element_DsReplicaSyncRequest_req2(tvb, offset, pinfo, tree, di, drep);
6248 break;
6250 proto_item_set_len(item, offset-old_offset);
6253 return offset;
6256 /* IDL: struct { */
6257 /* IDL: hyper tmp_highest_usn; */
6258 /* IDL: hyper reserved_usn; */
6259 /* IDL: hyper highest_usn; */
6260 /* IDL: } */
6262 static int
6263 drsuapi_dissect_element_DsReplicaHighWaterMark_tmp_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6265 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaHighWaterMark_tmp_highest_usn, NULL);
6267 return offset;
6270 static int
6271 drsuapi_dissect_element_DsReplicaHighWaterMark_reserved_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6273 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaHighWaterMark_reserved_usn, NULL);
6275 return offset;
6278 static int
6279 drsuapi_dissect_element_DsReplicaHighWaterMark_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6281 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaHighWaterMark_highest_usn, NULL);
6283 return offset;
6287 drsuapi_dissect_struct_DsReplicaHighWaterMark(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_)
6289 proto_item *item = NULL;
6290 proto_tree *tree = NULL;
6291 int old_offset;
6293 ALIGN_TO_8_BYTES;
6295 old_offset = offset;
6297 if (parent_tree) {
6298 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6299 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaHighWaterMark);
6302 offset = drsuapi_dissect_element_DsReplicaHighWaterMark_tmp_highest_usn(tvb, offset, pinfo, tree, di, drep);
6304 offset = drsuapi_dissect_element_DsReplicaHighWaterMark_reserved_usn(tvb, offset, pinfo, tree, di, drep);
6306 offset = drsuapi_dissect_element_DsReplicaHighWaterMark_highest_usn(tvb, offset, pinfo, tree, di, drep);
6309 proto_item_set_len(item, offset-old_offset);
6312 if (di->call_data->flags & DCERPC_IS_NDR64) {
6313 ALIGN_TO_8_BYTES;
6316 return offset;
6320 /* IDL: struct { */
6321 /* IDL: GUID source_dsa_invocation_id; */
6322 /* IDL: hyper highest_usn; */
6323 /* IDL: } */
6325 static int
6326 drsuapi_dissect_element_DsReplicaCursor_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6328 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor_source_dsa_invocation_id, NULL);
6330 return offset;
6333 static int
6334 drsuapi_dissect_element_DsReplicaCursor_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6336 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor_highest_usn, NULL);
6338 return offset;
6342 drsuapi_dissect_struct_DsReplicaCursor(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_)
6344 proto_item *item = NULL;
6345 proto_tree *tree = NULL;
6346 int old_offset;
6348 ALIGN_TO_8_BYTES;
6350 old_offset = offset;
6352 if (parent_tree) {
6353 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6354 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursor);
6357 offset = drsuapi_dissect_element_DsReplicaCursor_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
6359 offset = drsuapi_dissect_element_DsReplicaCursor_highest_usn(tvb, offset, pinfo, tree, di, drep);
6362 proto_item_set_len(item, offset-old_offset);
6365 if (di->call_data->flags & DCERPC_IS_NDR64) {
6366 ALIGN_TO_8_BYTES;
6369 return offset;
6373 /* IDL: struct { */
6374 /* IDL: [value(1)] uint32 version; */
6375 /* IDL: [value(0)] uint32 reserved1; */
6376 /* IDL: [range(0,0x100000)] uint32 count; */
6377 /* IDL: [value(0)] uint32 reserved2; */
6378 /* IDL: [size_is(count)] drsuapi_DsReplicaCursor cursors[*]; */
6379 /* IDL: } */
6381 static int
6382 drsuapi_dissect_element_DsReplicaCursorCtrEx_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6384 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_version, 0);
6386 return offset;
6389 static int
6390 drsuapi_dissect_element_DsReplicaCursorCtrEx_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6392 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_reserved1, 0);
6394 return offset;
6397 static int
6398 drsuapi_dissect_element_DsReplicaCursorCtrEx_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6400 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_count, 0);
6402 return offset;
6405 static int
6406 drsuapi_dissect_element_DsReplicaCursorCtrEx_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6408 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_reserved2, 0);
6410 return offset;
6413 static int
6414 drsuapi_dissect_element_DsReplicaCursorCtrEx_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
6417 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplicaCursorCtrEx_cursors_);
6419 return offset;
6422 static int
6423 drsuapi_dissect_element_DsReplicaCursorCtrEx_cursors_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6425 offset = drsuapi_dissect_struct_DsReplicaCursor(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_cursors,0);
6427 return offset;
6430 static int
6431 drsuapi_dissect_conformant_DsReplicaCursorCtrEx_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
6433 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
6435 return offset;
6439 drsuapi_dissect_struct_DsReplicaCursorCtrEx(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_)
6441 struct ndr_generic_array nga_cursors = { .is_conformant = false, };
6442 proto_item *item = NULL;
6443 proto_tree *tree = NULL;
6444 int old_offset;
6446 offset = drsuapi_dissect_conformant_DsReplicaCursorCtrEx_cursors(tvb, offset, pinfo, parent_tree, di, drep, &nga_cursors);
6448 ALIGN_TO_8_BYTES;
6450 old_offset = offset;
6452 if (parent_tree) {
6453 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6454 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursorCtrEx);
6457 offset = drsuapi_dissect_element_DsReplicaCursorCtrEx_version(tvb, offset, pinfo, tree, di, drep);
6459 offset = drsuapi_dissect_element_DsReplicaCursorCtrEx_reserved1(tvb, offset, pinfo, tree, di, drep);
6461 offset = drsuapi_dissect_element_DsReplicaCursorCtrEx_count(tvb, offset, pinfo, tree, di, drep);
6463 offset = drsuapi_dissect_element_DsReplicaCursorCtrEx_reserved2(tvb, offset, pinfo, tree, di, drep);
6465 offset = drsuapi_dissect_element_DsReplicaCursorCtrEx_cursors(tvb, offset, pinfo, tree, di, drep, &nga_cursors);
6468 proto_item_set_len(item, offset-old_offset);
6471 return offset;
6475 /* IDL: enum { */
6476 /* IDL: DRSUAPI_EXOP_NONE=0x00000000, */
6477 /* IDL: DRSUAPI_EXOP_FSMO_REQ_ROLE=0x00000001, */
6478 /* IDL: DRSUAPI_EXOP_FSMO_RID_ALLOC=0x00000002, */
6479 /* IDL: DRSUAPI_EXOP_FSMO_RID_REQ_ROLE=0x00000003, */
6480 /* IDL: DRSUAPI_EXOP_FSMO_REQ_PDC=0x00000004, */
6481 /* IDL: DRSUAPI_EXOP_FSMO_ABANDON_ROLE=0x00000005, */
6482 /* IDL: DRSUAPI_EXOP_REPL_OBJ=0x00000006, */
6483 /* IDL: DRSUAPI_EXOP_REPL_SECRET=0x00000007, */
6484 /* IDL: } */
6487 drsuapi_dissect_enum_DsExtendedOperation(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_)
6489 uint32_t parameter=0;
6490 if (param) {
6491 parameter = *param;
6493 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
6494 if (param) {
6495 *param = parameter;
6497 return offset;
6501 /* IDL: enum { */
6502 /* IDL: DRSUAPI_EXOP_ERR_NONE=0x00000000, */
6503 /* IDL: DRSUAPI_EXOP_ERR_SUCCESS=0x00000001, */
6504 /* IDL: DRSUAPI_EXOP_ERR_UNKNOWN_OP=0x00000002, */
6505 /* IDL: DRSUAPI_EXOP_ERR_FSMO_NOT_OWNER=0x00000003, */
6506 /* IDL: DRSUAPI_EXOP_ERR_UPDATE_ERR=0x00000004, */
6507 /* IDL: DRSUAPI_EXOP_ERR_EXCEPTION=0x00000005, */
6508 /* IDL: DRSUAPI_EXOP_ERR_UNKNOWN_CALLER=0x00000006, */
6509 /* IDL: DRSUAPI_EXOP_ERR_RID_ALLOC=0x00000007, */
6510 /* IDL: DRSUAPI_EXOP_ERR_FSMO_OWNER_DELETED=0x00000008, */
6511 /* IDL: DRSUAPI_EXOP_ERR_FMSO_PENDING_OP=0x00000009, */
6512 /* IDL: DRSUAPI_EXOP_ERR_MISMATCH=0x0000000A, */
6513 /* IDL: DRSUAPI_EXOP_ERR_COULDNT_CONTACT=0x0000000B, */
6514 /* IDL: DRSUAPI_EXOP_ERR_FSMO_REFUSING_ROLES=0x0000000C, */
6515 /* IDL: DRSUAPI_EXOP_ERR_DIR_ERROR=0x0000000D, */
6516 /* IDL: DRSUAPI_EXOP_ERR_FSMO_MISSING_SETTINGS=0x0000000E, */
6517 /* IDL: DRSUAPI_EXOP_ERR_ACCESS_DENIED=0x0000000F, */
6518 /* IDL: DRSUAPI_EXOP_ERR_PARAM_ERROR=0x00000010, */
6519 /* IDL: } */
6522 drsuapi_dissect_enum_DsExtendedError(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_)
6524 uint32_t parameter=0;
6525 if (param) {
6526 parameter = *param;
6528 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
6529 if (param) {
6530 *param = parameter;
6532 return offset;
6536 /* IDL: struct { */
6537 /* IDL: GUID destination_dsa_guid; */
6538 /* IDL: GUID source_dsa_invocation_id; */
6539 /* IDL: [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
6540 /* IDL: drsuapi_DsReplicaHighWaterMark highwatermark; */
6541 /* IDL: [unique(1)] drsuapi_DsReplicaCursorCtrEx *uptodateness_vector; */
6542 /* IDL: drsuapi_DrsOptions replica_flags; */
6543 /* IDL: uint32 max_object_count; */
6544 /* IDL: uint32 max_ndr_size; */
6545 /* IDL: drsuapi_DsExtendedOperation extended_op; */
6546 /* IDL: hyper fsmo_info; */
6547 /* IDL: } */
6549 static int
6550 drsuapi_dissect_element_DsGetNCChangesRequest5_destination_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6552 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest5_destination_dsa_guid, NULL);
6554 return offset;
6557 static int
6558 drsuapi_dissect_element_DsGetNCChangesRequest5_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6560 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest5_source_dsa_invocation_id, NULL);
6562 return offset;
6565 static int
6566 drsuapi_dissect_element_DsGetNCChangesRequest5_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6568 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest5_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetNCChangesRequest5_naming_context);
6570 return offset;
6573 static int
6574 drsuapi_dissect_element_DsGetNCChangesRequest5_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6576 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest5_naming_context,0);
6578 return offset;
6581 static int
6582 drsuapi_dissect_element_DsGetNCChangesRequest5_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6584 offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest5_highwatermark,0);
6586 return offset;
6589 static int
6590 drsuapi_dissect_element_DsGetNCChangesRequest5_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6592 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest5_uptodateness_vector_, NDR_POINTER_UNIQUE, "Pointer to Uptodateness Vector (drsuapi_DsReplicaCursorCtrEx)",hf_drsuapi_drsuapi_DsGetNCChangesRequest5_uptodateness_vector);
6594 return offset;
6597 static int
6598 drsuapi_dissect_element_DsGetNCChangesRequest5_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6600 offset = drsuapi_dissect_struct_DsReplicaCursorCtrEx(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest5_uptodateness_vector,0);
6602 return offset;
6605 static int
6606 drsuapi_dissect_element_DsGetNCChangesRequest5_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6608 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest5_replica_flags, 0);
6610 return offset;
6613 static int
6614 drsuapi_dissect_element_DsGetNCChangesRequest5_max_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6616 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest5_max_object_count, 0);
6618 return offset;
6621 static int
6622 drsuapi_dissect_element_DsGetNCChangesRequest5_max_ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6624 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest5_max_ndr_size, 0);
6626 return offset;
6629 static int
6630 drsuapi_dissect_element_DsGetNCChangesRequest5_extended_op(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6632 offset = drsuapi_dissect_enum_DsExtendedOperation(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest5_extended_op, 0);
6634 return offset;
6637 static int
6638 drsuapi_dissect_element_DsGetNCChangesRequest5_fsmo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6640 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest5_fsmo_info, NULL);
6642 return offset;
6646 drsuapi_dissect_struct_DsGetNCChangesRequest5(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_)
6648 proto_item *item = NULL;
6649 proto_tree *tree = NULL;
6650 int old_offset;
6652 ALIGN_TO_8_BYTES;
6654 old_offset = offset;
6656 if (parent_tree) {
6657 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6658 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesRequest5);
6661 offset = drsuapi_dissect_element_DsGetNCChangesRequest5_destination_dsa_guid(tvb, offset, pinfo, tree, di, drep);
6663 offset = drsuapi_dissect_element_DsGetNCChangesRequest5_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
6665 offset = drsuapi_dissect_element_DsGetNCChangesRequest5_naming_context(tvb, offset, pinfo, tree, di, drep);
6667 offset = drsuapi_dissect_element_DsGetNCChangesRequest5_highwatermark(tvb, offset, pinfo, tree, di, drep);
6669 offset = drsuapi_dissect_element_DsGetNCChangesRequest5_uptodateness_vector(tvb, offset, pinfo, tree, di, drep);
6671 offset = drsuapi_dissect_element_DsGetNCChangesRequest5_replica_flags(tvb, offset, pinfo, tree, di, drep);
6673 offset = drsuapi_dissect_element_DsGetNCChangesRequest5_max_object_count(tvb, offset, pinfo, tree, di, drep);
6675 offset = drsuapi_dissect_element_DsGetNCChangesRequest5_max_ndr_size(tvb, offset, pinfo, tree, di, drep);
6677 offset = drsuapi_dissect_element_DsGetNCChangesRequest5_extended_op(tvb, offset, pinfo, tree, di, drep);
6679 offset = drsuapi_dissect_element_DsGetNCChangesRequest5_fsmo_info(tvb, offset, pinfo, tree, di, drep);
6682 proto_item_set_len(item, offset-old_offset);
6685 if (di->call_data->flags & DCERPC_IS_NDR64) {
6686 ALIGN_TO_8_BYTES;
6689 return offset;
6693 /* IDL: struct { */
6694 /* IDL: [range(0,10000)] uint32 length; */
6695 /* IDL: [size_is(length)] [unique(1)] uint8 *binary_oid; */
6696 /* IDL: } */
6698 static int
6699 drsuapi_dissect_element_DsReplicaOID_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6701 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaOID_length, 0);
6703 return offset;
6706 static int
6707 drsuapi_dissect_element_DsReplicaOID_binary_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6709 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaOID_binary_oid_, NDR_POINTER_UNIQUE, "Pointer to Binary Oid (uint8)",hf_drsuapi_drsuapi_DsReplicaOID_binary_oid);
6711 return offset;
6714 static int
6715 drsuapi_dissect_element_DsReplicaOID_binary_oid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6717 struct ndr_generic_array nga = { .is_conformant = false, };
6719 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6721 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsReplicaOID_binary_oid__);
6723 return offset;
6726 static int
6727 drsuapi_dissect_element_DsReplicaOID_binary_oid__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6729 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaOID_binary_oid, 0);
6731 return offset;
6735 drsuapi_dissect_struct_DsReplicaOID(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_)
6737 proto_item *item = NULL;
6738 proto_tree *tree = NULL;
6739 int old_offset;
6741 ALIGN_TO_5_BYTES;
6743 old_offset = offset;
6745 if (parent_tree) {
6746 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6747 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaOID);
6750 offset = drsuapi_dissect_element_DsReplicaOID_length(tvb, offset, pinfo, tree, di, drep);
6752 offset = drsuapi_dissect_element_DsReplicaOID_binary_oid(tvb, offset, pinfo, tree, di, drep);
6755 proto_item_set_len(item, offset-old_offset);
6758 if (di->call_data->flags & DCERPC_IS_NDR64) {
6759 ALIGN_TO_5_BYTES;
6762 return offset;
6766 /* IDL: struct { */
6767 /* IDL: uint32 id_prefix; */
6768 /* IDL: drsuapi_DsReplicaOID oid; */
6769 /* IDL: } */
6771 static int
6772 drsuapi_dissect_element_DsReplicaOIDMapping_id_prefix(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6774 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaOIDMapping_id_prefix, 0);
6776 return offset;
6779 static int
6780 drsuapi_dissect_element_DsReplicaOIDMapping_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6782 offset = drsuapi_dissect_struct_DsReplicaOID(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaOIDMapping_oid,0);
6784 return offset;
6788 drsuapi_dissect_struct_DsReplicaOIDMapping(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_)
6790 proto_item *item = NULL;
6791 proto_tree *tree = NULL;
6792 int old_offset;
6794 ALIGN_TO_5_BYTES;
6796 old_offset = offset;
6798 if (parent_tree) {
6799 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6800 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaOIDMapping);
6803 offset = drsuapi_dissect_element_DsReplicaOIDMapping_id_prefix(tvb, offset, pinfo, tree, di, drep);
6805 offset = drsuapi_dissect_element_DsReplicaOIDMapping_oid(tvb, offset, pinfo, tree, di, drep);
6808 proto_item_set_len(item, offset-old_offset);
6811 if (di->call_data->flags & DCERPC_IS_NDR64) {
6812 ALIGN_TO_5_BYTES;
6815 return offset;
6819 /* IDL: struct { */
6820 /* IDL: [range(0,0x100000)] uint32 num_mappings; */
6821 /* IDL: [size_is(num_mappings)] [unique(1)] drsuapi_DsReplicaOIDMapping *mappings; */
6822 /* IDL: } */
6824 static int
6825 drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_num_mappings(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6827 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr_num_mappings, 0);
6829 return offset;
6832 static int
6833 drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6835 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings_, NDR_POINTER_UNIQUE, "Pointer to Mappings (drsuapi_DsReplicaOIDMapping)",hf_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr_mappings);
6837 return offset;
6840 static int
6841 drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6843 struct ndr_generic_array nga = { .is_conformant = false, };
6845 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6847 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings__);
6849 return offset;
6852 static int
6853 drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6855 offset = drsuapi_dissect_struct_DsReplicaOIDMapping(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr_mappings,0);
6857 return offset;
6861 drsuapi_dissect_struct_DsReplicaOIDMapping_Ctr(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_)
6863 proto_item *item = NULL;
6864 proto_tree *tree = NULL;
6865 int old_offset;
6867 ALIGN_TO_5_BYTES;
6869 old_offset = offset;
6871 if (parent_tree) {
6872 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6873 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr);
6876 offset = drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_num_mappings(tvb, offset, pinfo, tree, di, drep);
6878 offset = drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings(tvb, offset, pinfo, tree, di, drep);
6881 proto_item_set_len(item, offset-old_offset);
6884 if (di->call_data->flags & DCERPC_IS_NDR64) {
6885 ALIGN_TO_5_BYTES;
6888 return offset;
6892 /* IDL: enum { */
6893 /* IDL: DRSUAPI_OBJECTCLASS_top=0x00010000, */
6894 /* IDL: DRSUAPI_OBJECTCLASS_classSchema=0x0003000d, */
6895 /* IDL: DRSUAPI_OBJECTCLASS_attributeSchema=0x0003000e, */
6896 /* IDL: } */
6899 drsuapi_dissect_enum_DsObjectClassId(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_)
6901 uint32_t parameter=0;
6902 if (param) {
6903 parameter = *param;
6905 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
6906 if (param) {
6907 *param = parameter;
6909 return offset;
6913 /* IDL: enum { */
6914 /* IDL: DRSUAPI_ATTID_objectClass=0x00000000, */
6915 /* IDL: DRSUAPI_ATTID_cn=0x00000003, */
6916 /* IDL: DRSUAPI_ATTID_ou=0x0000000b, */
6917 /* IDL: DRSUAPI_ATTID_description=0x0000000d, */
6918 /* IDL: DRSUAPI_ATTID_member=0x0000001f, */
6919 /* IDL: DRSUAPI_ATTID_distinguishedName=0x00000031, */
6920 /* IDL: DRSUAPI_ATTID_instanceType=0x00020001, */
6921 /* IDL: DRSUAPI_ATTID_whenCreated=0x00020002, */
6922 /* IDL: DRSUAPI_ATTID_possSuperiors=0x00020008, */
6923 /* IDL: DRSUAPI_ATTID_displayName=0x0002000d, */
6924 /* IDL: DRSUAPI_ATTID_hasMasterNCs=0x0002000e, */
6925 /* IDL: DRSUAPI_ATTID_nCName=0x00020010, */
6926 /* IDL: DRSUAPI_ATTID_subClassOf=0x00020015, */
6927 /* IDL: DRSUAPI_ATTID_governsID=0x00020016, */
6928 /* IDL: DRSUAPI_ATTID_mustContain=0x00020018, */
6929 /* IDL: DRSUAPI_ATTID_mayContain=0x00020019, */
6930 /* IDL: DRSUAPI_ATTID_rDNAttId=0x0002001A, */
6931 /* IDL: DRSUAPI_ATTID_attributeID=0x0002001e, */
6932 /* IDL: DRSUAPI_ATTID_attributeSyntax=0x00020020, */
6933 /* IDL: DRSUAPI_ATTID_isSingleValued=0x00020021, */
6934 /* IDL: DRSUAPI_ATTID_rangeLower=0x00020022, */
6935 /* IDL: DRSUAPI_ATTID_rangeUpper=0x00020023, */
6936 /* IDL: DRSUAPI_ATTID_dMDLocation=0x00020024, */
6937 /* IDL: DRSUAPI_ATTID_isDeleted=0x00020030, */
6938 /* IDL: DRSUAPI_ATTID_objectVersion=0x0002004c, */
6939 /* IDL: DRSUAPI_ATTID_invocationId=0x00020073, */
6940 /* IDL: DRSUAPI_ATTID_showInAdvancedViewOnly=0x000200a9, */
6941 /* IDL: DRSUAPI_ATTID_adminDisplayName=0x000200c2, */
6942 /* IDL: DRSUAPI_ATTID_adminDescription=0x000200e2, */
6943 /* IDL: DRSUAPI_ATTID_oMSyntax=0x000200e7, */
6944 /* IDL: DRSUAPI_ATTID_ntSecurityDescriptor=0x00020119, */
6945 /* IDL: DRSUAPI_ATTID_searchFlags=0x0002014e, */
6946 /* IDL: DRSUAPI_ATTID_auxiliaryClass=0x0002015f, */
6947 /* IDL: DRSUAPI_ATTID_lDAPDisplayName=0x000201cc, */
6948 /* IDL: DRSUAPI_ATTID_name=0x00090001, */
6949 /* IDL: DRSUAPI_ATTID_objectGUID=0x00090002, */
6950 /* IDL: DRSUAPI_ATTID_replPropertyMetaData=0x00090003, */
6951 /* IDL: DRSUAPI_ATTID_userAccountControl=0x00090008, */
6952 /* IDL: DRSUAPI_ATTID_badPwdCount=0x0009000c, */
6953 /* IDL: DRSUAPI_ATTID_codePage=0x00090010, */
6954 /* IDL: DRSUAPI_ATTID_countryCode=0x00090019, */
6955 /* IDL: DRSUAPI_ATTID_currentValue=0x0009001b, */
6956 /* IDL: DRSUAPI_ATTID_homeDirectory=0x0009002c, */
6957 /* IDL: DRSUAPI_ATTID_homeDrive=0x0009002d, */
6958 /* IDL: DRSUAPI_ATTID_lastLogoff=0x00090033, */
6959 /* IDL: DRSUAPI_ATTID_lastLogon=0x00090034, */
6960 /* IDL: DRSUAPI_ATTID_dBCSPwd=0x00090037, */
6961 /* IDL: DRSUAPI_ATTID_scriptPath=0x0009003e, */
6962 /* IDL: DRSUAPI_ATTID_logonHours=0x00090040, */
6963 /* IDL: DRSUAPI_ATTID_userWorkstations=0x00090056, */
6964 /* IDL: DRSUAPI_ATTID_unicodePwd=0x0009005a, */
6965 /* IDL: DRSUAPI_ATTID_ntPwdHistory=0x0009005e, */
6966 /* IDL: DRSUAPI_ATTID_pwdLastSet=0x00090060, */
6967 /* IDL: DRSUAPI_ATTID_primaryGroupID=0x00090062, */
6968 /* IDL: DRSUAPI_ATTID_priorValue=0x00090064, */
6969 /* IDL: DRSUAPI_ATTID_supplementalCredentials=0x0009007d, */
6970 /* IDL: DRSUAPI_ATTID_trustAuthIncoming=0x00090081, */
6971 /* IDL: DRSUAPI_ATTID_trustDirection=0x00090084, */
6972 /* IDL: DRSUAPI_ATTID_trustPartner=0x00090085, */
6973 /* IDL: DRSUAPI_ATTID_trustPosixOffset=0x00090086, */
6974 /* IDL: DRSUAPI_ATTID_trustAuthOutgoing=0x00090087, */
6975 /* IDL: DRSUAPI_ATTID_trustType=0x00090088, */
6976 /* IDL: DRSUAPI_ATTID_userParameters=0x0009008a, */
6977 /* IDL: DRSUAPI_ATTID_profilePath=0x0009008b, */
6978 /* IDL: DRSUAPI_ATTID_operatorCount=0x00090090, */
6979 /* IDL: DRSUAPI_ATTID_objectSid=0x00090092, */
6980 /* IDL: DRSUAPI_ATTID_schemaIDGUID=0x00090094, */
6981 /* IDL: DRSUAPI_ATTID_adminCount=0x00090096, */
6982 /* IDL: DRSUAPI_ATTID_comment=0x0009009C, */
6983 /* IDL: DRSUAPI_ATTID_accountExpires=0x0009009f, */
6984 /* IDL: DRSUAPI_ATTID_lmPwdHistory=0x000900a0, */
6985 /* IDL: DRSUAPI_ATTID_logonCount=0x000900a9, */
6986 /* IDL: DRSUAPI_ATTID_systemPossSuperiors=0x000900c3, */
6987 /* IDL: DRSUAPI_ATTID_systemMayContain=0x000900c4, */
6988 /* IDL: DRSUAPI_ATTID_systemMustContain=0x000900c5, */
6989 /* IDL: DRSUAPI_ATTID_systemAuxiliaryClass=0x000900c6, */
6990 /* IDL: DRSUAPI_ATTID_sAMAccountName=0x000900dd, */
6991 /* IDL: DRSUAPI_ATTID_sAMAccountType=0x0009012e, */
6992 /* IDL: DRSUAPI_ATTID_options=0x00090133, */
6993 /* IDL: DRSUAPI_ATTID_fSMORoleOwner=0x00090171, */
6994 /* IDL: DRSUAPI_ATTID_systemFlags=0x00090177, */
6995 /* IDL: DRSUAPI_ATTID_trustAttributes=0x000901d6, */
6996 /* IDL: DRSUAPI_ATTID_trustParent=0x000901d7, */
6997 /* IDL: DRSUAPI_ATTID_flatName=0x000901ff, */
6998 /* IDL: DRSUAPI_ATTID_serverReference=0x00090203, */
6999 /* IDL: DRSUAPI_ATTID_serverReferenceBL=0x00090204, */
7000 /* IDL: DRSUAPI_ATTID_nonSecurityMember=0x00090212, */
7001 /* IDL: DRSUAPI_ATTID_initialAuthIncoming=0x0009021b, */
7002 /* IDL: DRSUAPI_ATTID_initialAuthOutgoing=0x0009021c, */
7003 /* IDL: DRSUAPI_ATTID_wellKnownObjects=0x0009026a, */
7004 /* IDL: DRSUAPI_ATTID_dNSHostName=0x0009026b, */
7005 /* IDL: DRSUAPI_ATTID_isMemberOfPartialAttributeSet=0x0009027f, */
7006 /* IDL: DRSUAPI_ATTID_managedBy=0x0009028d, */
7007 /* IDL: DRSUAPI_ATTID_userPrincipalName=0x00090290, */
7008 /* IDL: DRSUAPI_ATTID_groupType=0x000902ee, */
7009 /* IDL: DRSUAPI_ATTID_servicePrincipalName=0x00090303, */
7010 /* IDL: DRSUAPI_ATTID_lastKnownParent=0x0009030d, */
7011 /* IDL: DRSUAPI_ATTID_objectCategory=0x0009030e, */
7012 /* IDL: DRSUAPI_ATTID_gPLink=0x0009037b, */
7013 /* IDL: DRSUAPI_ATTID_transportAddressAttribute=0x0009037f, */
7014 /* IDL: DRSUAPI_ATTID_schemaInfo=0x0009054e, */
7015 /* IDL: DRSUAPI_ATTID_msDS_Behavior_Version=0x000905b3, */
7016 /* IDL: DRSUAPI_ATTID_msDS_TrustForestTrustInfo=0x000906a6, */
7017 /* IDL: DRSUAPI_ATTID_msDS_KeyVersionNumber=0x000906f6, */
7018 /* IDL: DRSUAPI_ATTID_msDS_NonMembers=0x00090701, */
7019 /* IDL: DRSUAPI_ATTID_msDS_MembersForAzRole=0x0009070e, */
7020 /* IDL: DRSUAPI_ATTID_msDS_HasDomainNCs=0x0009071c, */
7021 /* IDL: DRSUAPI_ATTID_msDS_hasMasterNCs=0x0009072c, */
7022 /* IDL: DRSUAPI_ATTID_msDS_NeverRevealGroup=0x00090786, */
7023 /* IDL: DRSUAPI_ATTID_msDS_RevealOnDemandGroup=0x00090788, */
7024 /* IDL: DRSUAPI_ATTID_msDS_SupportedEncryptionTypes=0x000907ab, */
7025 /* IDL: DRSUAPI_ATTID_msDS_HostServiceAccount=0x00090808, */
7026 /* IDL: DRSUAPI_ATTID_isRecycled=0x0009080a, */
7027 /* IDL: DRSUAPI_ATTID_INVALID=0xFFFFFFFF, */
7028 /* IDL: } */
7031 drsuapi_dissect_enum_DsAttributeId(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_)
7033 uint32_t parameter=0;
7034 if (param) {
7035 parameter = *param;
7037 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
7038 if (param) {
7039 *param = parameter;
7041 return offset;
7045 /* IDL: struct { */
7046 /* IDL: [value(1)] uint32 version; */
7047 /* IDL: [value(0)] uint32 reserved1; */
7048 /* IDL: [range(1,0x100000)] uint32 num_attids; */
7049 /* IDL: [size_is(num_attids)] drsuapi_DsAttributeId attids[*]; */
7050 /* IDL: } */
7052 static int
7053 drsuapi_dissect_element_DsPartialAttributeSet_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7055 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsPartialAttributeSet_version, 0);
7057 return offset;
7060 static int
7061 drsuapi_dissect_element_DsPartialAttributeSet_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7063 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsPartialAttributeSet_reserved1, 0);
7065 return offset;
7068 static int
7069 drsuapi_dissect_element_DsPartialAttributeSet_num_attids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7071 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsPartialAttributeSet_num_attids, 0);
7073 return offset;
7076 static int
7077 drsuapi_dissect_element_DsPartialAttributeSet_attids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
7080 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsPartialAttributeSet_attids_);
7082 return offset;
7085 static int
7086 drsuapi_dissect_element_DsPartialAttributeSet_attids_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7088 offset = drsuapi_dissect_enum_DsAttributeId(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsPartialAttributeSet_attids, 0);
7090 return offset;
7093 static int
7094 drsuapi_dissect_conformant_DsPartialAttributeSet_attids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
7096 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
7098 return offset;
7102 drsuapi_dissect_struct_DsPartialAttributeSet(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_)
7104 struct ndr_generic_array nga_attids = { .is_conformant = false, };
7105 proto_item *item = NULL;
7106 proto_tree *tree = NULL;
7107 int old_offset;
7109 offset = drsuapi_dissect_conformant_DsPartialAttributeSet_attids(tvb, offset, pinfo, parent_tree, di, drep, &nga_attids);
7111 ALIGN_TO_4_BYTES;
7113 old_offset = offset;
7115 if (parent_tree) {
7116 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7117 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsPartialAttributeSet);
7120 offset = drsuapi_dissect_element_DsPartialAttributeSet_version(tvb, offset, pinfo, tree, di, drep);
7122 offset = drsuapi_dissect_element_DsPartialAttributeSet_reserved1(tvb, offset, pinfo, tree, di, drep);
7124 offset = drsuapi_dissect_element_DsPartialAttributeSet_num_attids(tvb, offset, pinfo, tree, di, drep);
7126 offset = drsuapi_dissect_element_DsPartialAttributeSet_attids(tvb, offset, pinfo, tree, di, drep, &nga_attids);
7129 proto_item_set_len(item, offset-old_offset);
7132 return offset;
7136 /* IDL: struct { */
7137 /* IDL: GUID destination_dsa_guid; */
7138 /* IDL: GUID source_dsa_invocation_id; */
7139 /* IDL: [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
7140 /* IDL: drsuapi_DsReplicaHighWaterMark highwatermark; */
7141 /* IDL: [unique(1)] drsuapi_DsReplicaCursorCtrEx *uptodateness_vector; */
7142 /* IDL: drsuapi_DrsOptions replica_flags; */
7143 /* IDL: uint32 max_object_count; */
7144 /* IDL: uint32 max_ndr_size; */
7145 /* IDL: drsuapi_DsExtendedOperation extended_op; */
7146 /* IDL: hyper fsmo_info; */
7147 /* IDL: [unique(1)] drsuapi_DsPartialAttributeSet *partial_attribute_set; */
7148 /* IDL: [unique(1)] drsuapi_DsPartialAttributeSet *partial_attribute_set_ex; */
7149 /* IDL: drsuapi_DsReplicaOIDMapping_Ctr mapping_ctr; */
7150 /* IDL: } */
7152 static int
7153 drsuapi_dissect_element_DsGetNCChangesRequest8_destination_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7155 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest8_destination_dsa_guid, NULL);
7157 return offset;
7160 static int
7161 drsuapi_dissect_element_DsGetNCChangesRequest8_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7163 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest8_source_dsa_invocation_id, NULL);
7165 return offset;
7168 static int
7169 drsuapi_dissect_element_DsGetNCChangesRequest8_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7171 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest8_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetNCChangesRequest8_naming_context);
7173 return offset;
7176 static int
7177 drsuapi_dissect_element_DsGetNCChangesRequest8_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7179 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest8_naming_context,0);
7181 return offset;
7184 static int
7185 drsuapi_dissect_element_DsGetNCChangesRequest8_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7187 offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest8_highwatermark,0);
7189 return offset;
7192 static int
7193 drsuapi_dissect_element_DsGetNCChangesRequest8_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7195 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest8_uptodateness_vector_, NDR_POINTER_UNIQUE, "Pointer to Uptodateness Vector (drsuapi_DsReplicaCursorCtrEx)",hf_drsuapi_drsuapi_DsGetNCChangesRequest8_uptodateness_vector);
7197 return offset;
7200 static int
7201 drsuapi_dissect_element_DsGetNCChangesRequest8_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7203 offset = drsuapi_dissect_struct_DsReplicaCursorCtrEx(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest8_uptodateness_vector,0);
7205 return offset;
7208 static int
7209 drsuapi_dissect_element_DsGetNCChangesRequest8_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7211 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest8_replica_flags, 0);
7213 return offset;
7216 static int
7217 drsuapi_dissect_element_DsGetNCChangesRequest8_max_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7219 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest8_max_object_count, 0);
7221 return offset;
7224 static int
7225 drsuapi_dissect_element_DsGetNCChangesRequest8_max_ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7227 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest8_max_ndr_size, 0);
7229 return offset;
7232 static int
7233 drsuapi_dissect_element_DsGetNCChangesRequest8_extended_op(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7235 offset = drsuapi_dissect_enum_DsExtendedOperation(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest8_extended_op, 0);
7237 return offset;
7240 static int
7241 drsuapi_dissect_element_DsGetNCChangesRequest8_fsmo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7243 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest8_fsmo_info, NULL);
7245 return offset;
7248 static int
7249 drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7251 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set_, NDR_POINTER_UNIQUE, "Pointer to Partial Attribute Set (drsuapi_DsPartialAttributeSet)",hf_drsuapi_drsuapi_DsGetNCChangesRequest8_partial_attribute_set);
7253 return offset;
7256 static int
7257 drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7259 offset = drsuapi_dissect_struct_DsPartialAttributeSet(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest8_partial_attribute_set,0);
7261 return offset;
7264 static int
7265 drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set_ex(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7267 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set_ex_, NDR_POINTER_UNIQUE, "Pointer to Partial Attribute Set Ex (drsuapi_DsPartialAttributeSet)",hf_drsuapi_drsuapi_DsGetNCChangesRequest8_partial_attribute_set_ex);
7269 return offset;
7272 static int
7273 drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set_ex_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7275 offset = drsuapi_dissect_struct_DsPartialAttributeSet(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest8_partial_attribute_set_ex,0);
7277 return offset;
7280 static int
7281 drsuapi_dissect_element_DsGetNCChangesRequest8_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7283 offset = drsuapi_dissect_struct_DsReplicaOIDMapping_Ctr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest8_mapping_ctr,0);
7285 return offset;
7289 drsuapi_dissect_struct_DsGetNCChangesRequest8(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_)
7291 proto_item *item = NULL;
7292 proto_tree *tree = NULL;
7293 int old_offset;
7295 ALIGN_TO_8_BYTES;
7297 old_offset = offset;
7299 if (parent_tree) {
7300 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7301 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesRequest8);
7304 offset = drsuapi_dissect_element_DsGetNCChangesRequest8_destination_dsa_guid(tvb, offset, pinfo, tree, di, drep);
7306 offset = drsuapi_dissect_element_DsGetNCChangesRequest8_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
7308 offset = drsuapi_dissect_element_DsGetNCChangesRequest8_naming_context(tvb, offset, pinfo, tree, di, drep);
7310 offset = drsuapi_dissect_element_DsGetNCChangesRequest8_highwatermark(tvb, offset, pinfo, tree, di, drep);
7312 offset = drsuapi_dissect_element_DsGetNCChangesRequest8_uptodateness_vector(tvb, offset, pinfo, tree, di, drep);
7314 offset = drsuapi_dissect_element_DsGetNCChangesRequest8_replica_flags(tvb, offset, pinfo, tree, di, drep);
7316 offset = drsuapi_dissect_element_DsGetNCChangesRequest8_max_object_count(tvb, offset, pinfo, tree, di, drep);
7318 offset = drsuapi_dissect_element_DsGetNCChangesRequest8_max_ndr_size(tvb, offset, pinfo, tree, di, drep);
7320 offset = drsuapi_dissect_element_DsGetNCChangesRequest8_extended_op(tvb, offset, pinfo, tree, di, drep);
7322 offset = drsuapi_dissect_element_DsGetNCChangesRequest8_fsmo_info(tvb, offset, pinfo, tree, di, drep);
7324 offset = drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set(tvb, offset, pinfo, tree, di, drep);
7326 offset = drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set_ex(tvb, offset, pinfo, tree, di, drep);
7328 offset = drsuapi_dissect_element_DsGetNCChangesRequest8_mapping_ctr(tvb, offset, pinfo, tree, di, drep);
7331 proto_item_set_len(item, offset-old_offset);
7334 if (di->call_data->flags & DCERPC_IS_NDR64) {
7335 ALIGN_TO_8_BYTES;
7338 return offset;
7342 /* IDL: struct { */
7343 /* IDL: GUID destination_dsa_guid; */
7344 /* IDL: GUID source_dsa_invocation_id; */
7345 /* IDL: [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
7346 /* IDL: drsuapi_DsReplicaHighWaterMark highwatermark; */
7347 /* IDL: [unique(1)] drsuapi_DsReplicaCursorCtrEx *uptodateness_vector; */
7348 /* IDL: drsuapi_DrsOptions replica_flags; */
7349 /* IDL: uint32 max_object_count; */
7350 /* IDL: uint32 max_ndr_size; */
7351 /* IDL: drsuapi_DsExtendedOperation extended_op; */
7352 /* IDL: hyper fsmo_info; */
7353 /* IDL: [unique(1)] drsuapi_DsPartialAttributeSet *partial_attribute_set; */
7354 /* IDL: [unique(1)] drsuapi_DsPartialAttributeSet *partial_attribute_set_ex; */
7355 /* IDL: drsuapi_DsReplicaOIDMapping_Ctr mapping_ctr; */
7356 /* IDL: drsuapi_DrsMoreOptions more_flags; */
7357 /* IDL: } */
7359 static int
7360 drsuapi_dissect_element_DsGetNCChangesRequest10_destination_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7362 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_destination_dsa_guid, NULL);
7364 return offset;
7367 static int
7368 drsuapi_dissect_element_DsGetNCChangesRequest10_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7370 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_source_dsa_invocation_id, NULL);
7372 return offset;
7375 static int
7376 drsuapi_dissect_element_DsGetNCChangesRequest10_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7378 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest10_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetNCChangesRequest10_naming_context);
7380 return offset;
7383 static int
7384 drsuapi_dissect_element_DsGetNCChangesRequest10_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7386 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest10_naming_context,0);
7388 return offset;
7391 static int
7392 drsuapi_dissect_element_DsGetNCChangesRequest10_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7394 offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest10_highwatermark,0);
7396 return offset;
7399 static int
7400 drsuapi_dissect_element_DsGetNCChangesRequest10_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7402 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest10_uptodateness_vector_, NDR_POINTER_UNIQUE, "Pointer to Uptodateness Vector (drsuapi_DsReplicaCursorCtrEx)",hf_drsuapi_drsuapi_DsGetNCChangesRequest10_uptodateness_vector);
7404 return offset;
7407 static int
7408 drsuapi_dissect_element_DsGetNCChangesRequest10_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7410 offset = drsuapi_dissect_struct_DsReplicaCursorCtrEx(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest10_uptodateness_vector,0);
7412 return offset;
7415 static int
7416 drsuapi_dissect_element_DsGetNCChangesRequest10_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7418 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_replica_flags, 0);
7420 return offset;
7423 static int
7424 drsuapi_dissect_element_DsGetNCChangesRequest10_max_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7426 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_max_object_count, 0);
7428 return offset;
7431 static int
7432 drsuapi_dissect_element_DsGetNCChangesRequest10_max_ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7434 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_max_ndr_size, 0);
7436 return offset;
7439 static int
7440 drsuapi_dissect_element_DsGetNCChangesRequest10_extended_op(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7442 offset = drsuapi_dissect_enum_DsExtendedOperation(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_extended_op, 0);
7444 return offset;
7447 static int
7448 drsuapi_dissect_element_DsGetNCChangesRequest10_fsmo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7450 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_fsmo_info, NULL);
7452 return offset;
7455 static int
7456 drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7458 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set_, NDR_POINTER_UNIQUE, "Pointer to Partial Attribute Set (drsuapi_DsPartialAttributeSet)",hf_drsuapi_drsuapi_DsGetNCChangesRequest10_partial_attribute_set);
7460 return offset;
7463 static int
7464 drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7466 offset = drsuapi_dissect_struct_DsPartialAttributeSet(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest10_partial_attribute_set,0);
7468 return offset;
7471 static int
7472 drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set_ex(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7474 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set_ex_, NDR_POINTER_UNIQUE, "Pointer to Partial Attribute Set Ex (drsuapi_DsPartialAttributeSet)",hf_drsuapi_drsuapi_DsGetNCChangesRequest10_partial_attribute_set_ex);
7476 return offset;
7479 static int
7480 drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set_ex_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7482 offset = drsuapi_dissect_struct_DsPartialAttributeSet(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest10_partial_attribute_set_ex,0);
7484 return offset;
7487 static int
7488 drsuapi_dissect_element_DsGetNCChangesRequest10_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7490 offset = drsuapi_dissect_struct_DsReplicaOIDMapping_Ctr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest10_mapping_ctr,0);
7492 return offset;
7495 static int
7496 drsuapi_dissect_element_DsGetNCChangesRequest10_more_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7498 offset = drsuapi_dissect_bitmap_DrsMoreOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_more_flags, 0);
7500 return offset;
7504 drsuapi_dissect_struct_DsGetNCChangesRequest10(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_)
7506 proto_item *item = NULL;
7507 proto_tree *tree = NULL;
7508 int old_offset;
7510 ALIGN_TO_8_BYTES;
7512 old_offset = offset;
7514 if (parent_tree) {
7515 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7516 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesRequest10);
7519 offset = drsuapi_dissect_element_DsGetNCChangesRequest10_destination_dsa_guid(tvb, offset, pinfo, tree, di, drep);
7521 offset = drsuapi_dissect_element_DsGetNCChangesRequest10_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
7523 offset = drsuapi_dissect_element_DsGetNCChangesRequest10_naming_context(tvb, offset, pinfo, tree, di, drep);
7525 offset = drsuapi_dissect_element_DsGetNCChangesRequest10_highwatermark(tvb, offset, pinfo, tree, di, drep);
7527 offset = drsuapi_dissect_element_DsGetNCChangesRequest10_uptodateness_vector(tvb, offset, pinfo, tree, di, drep);
7529 offset = drsuapi_dissect_element_DsGetNCChangesRequest10_replica_flags(tvb, offset, pinfo, tree, di, drep);
7531 offset = drsuapi_dissect_element_DsGetNCChangesRequest10_max_object_count(tvb, offset, pinfo, tree, di, drep);
7533 offset = drsuapi_dissect_element_DsGetNCChangesRequest10_max_ndr_size(tvb, offset, pinfo, tree, di, drep);
7535 offset = drsuapi_dissect_element_DsGetNCChangesRequest10_extended_op(tvb, offset, pinfo, tree, di, drep);
7537 offset = drsuapi_dissect_element_DsGetNCChangesRequest10_fsmo_info(tvb, offset, pinfo, tree, di, drep);
7539 offset = drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set(tvb, offset, pinfo, tree, di, drep);
7541 offset = drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set_ex(tvb, offset, pinfo, tree, di, drep);
7543 offset = drsuapi_dissect_element_DsGetNCChangesRequest10_mapping_ctr(tvb, offset, pinfo, tree, di, drep);
7545 offset = drsuapi_dissect_element_DsGetNCChangesRequest10_more_flags(tvb, offset, pinfo, tree, di, drep);
7548 proto_item_set_len(item, offset-old_offset);
7551 if (di->call_data->flags & DCERPC_IS_NDR64) {
7552 ALIGN_TO_8_BYTES;
7555 return offset;
7559 /* IDL: struct { */
7560 /* IDL: GUID destination_dsa_guid; */
7561 /* IDL: GUID source_dsa_invocation_id; */
7562 /* IDL: [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
7563 /* IDL: drsuapi_DsReplicaHighWaterMark highwatermark; */
7564 /* IDL: [unique(1)] drsuapi_DsReplicaCursorCtrEx *uptodateness_vector; */
7565 /* IDL: drsuapi_DrsOptions replica_flags; */
7566 /* IDL: uint32 max_object_count; */
7567 /* IDL: uint32 max_ndr_size; */
7568 /* IDL: drsuapi_DsExtendedOperation extended_op; */
7569 /* IDL: hyper fsmo_info; */
7570 /* IDL: [unique(1)] drsuapi_DsPartialAttributeSet *partial_attribute_set; */
7571 /* IDL: [unique(1)] drsuapi_DsPartialAttributeSet *partial_attribute_set_ex; */
7572 /* IDL: drsuapi_DsReplicaOIDMapping_Ctr mapping_ctr; */
7573 /* IDL: drsuapi_DrsMoreOptions more_flags; */
7574 /* IDL: GUID correlationID; */
7575 /* IDL: [unique(1)] [value(NULL)] drsuapi_VAR_SIZE_BUFFER_WITH_VERSION *reserved_buffer; */
7576 /* IDL: } */
7578 static int
7579 drsuapi_dissect_element_DsGetNCChangesRequest11_destination_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7581 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest11_destination_dsa_guid, NULL);
7583 return offset;
7586 static int
7587 drsuapi_dissect_element_DsGetNCChangesRequest11_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7589 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest11_source_dsa_invocation_id, NULL);
7591 return offset;
7594 static int
7595 drsuapi_dissect_element_DsGetNCChangesRequest11_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7597 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest11_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetNCChangesRequest11_naming_context);
7599 return offset;
7602 static int
7603 drsuapi_dissect_element_DsGetNCChangesRequest11_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7605 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest11_naming_context,0);
7607 return offset;
7610 static int
7611 drsuapi_dissect_element_DsGetNCChangesRequest11_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7613 offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest11_highwatermark,0);
7615 return offset;
7618 static int
7619 drsuapi_dissect_element_DsGetNCChangesRequest11_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7621 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest11_uptodateness_vector_, NDR_POINTER_UNIQUE, "Pointer to Uptodateness Vector (drsuapi_DsReplicaCursorCtrEx)",hf_drsuapi_drsuapi_DsGetNCChangesRequest11_uptodateness_vector);
7623 return offset;
7626 static int
7627 drsuapi_dissect_element_DsGetNCChangesRequest11_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7629 offset = drsuapi_dissect_struct_DsReplicaCursorCtrEx(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest11_uptodateness_vector,0);
7631 return offset;
7634 static int
7635 drsuapi_dissect_element_DsGetNCChangesRequest11_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7637 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest11_replica_flags, 0);
7639 return offset;
7642 static int
7643 drsuapi_dissect_element_DsGetNCChangesRequest11_max_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7645 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest11_max_object_count, 0);
7647 return offset;
7650 static int
7651 drsuapi_dissect_element_DsGetNCChangesRequest11_max_ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7653 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest11_max_ndr_size, 0);
7655 return offset;
7658 static int
7659 drsuapi_dissect_element_DsGetNCChangesRequest11_extended_op(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7661 offset = drsuapi_dissect_enum_DsExtendedOperation(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest11_extended_op, 0);
7663 return offset;
7666 static int
7667 drsuapi_dissect_element_DsGetNCChangesRequest11_fsmo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7669 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest11_fsmo_info, NULL);
7671 return offset;
7674 static int
7675 drsuapi_dissect_element_DsGetNCChangesRequest11_partial_attribute_set(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7677 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest11_partial_attribute_set_, NDR_POINTER_UNIQUE, "Pointer to Partial Attribute Set (drsuapi_DsPartialAttributeSet)",hf_drsuapi_drsuapi_DsGetNCChangesRequest11_partial_attribute_set);
7679 return offset;
7682 static int
7683 drsuapi_dissect_element_DsGetNCChangesRequest11_partial_attribute_set_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7685 offset = drsuapi_dissect_struct_DsPartialAttributeSet(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest11_partial_attribute_set,0);
7687 return offset;
7690 static int
7691 drsuapi_dissect_element_DsGetNCChangesRequest11_partial_attribute_set_ex(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7693 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest11_partial_attribute_set_ex_, NDR_POINTER_UNIQUE, "Pointer to Partial Attribute Set Ex (drsuapi_DsPartialAttributeSet)",hf_drsuapi_drsuapi_DsGetNCChangesRequest11_partial_attribute_set_ex);
7695 return offset;
7698 static int
7699 drsuapi_dissect_element_DsGetNCChangesRequest11_partial_attribute_set_ex_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7701 offset = drsuapi_dissect_struct_DsPartialAttributeSet(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest11_partial_attribute_set_ex,0);
7703 return offset;
7706 static int
7707 drsuapi_dissect_element_DsGetNCChangesRequest11_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7709 offset = drsuapi_dissect_struct_DsReplicaOIDMapping_Ctr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest11_mapping_ctr,0);
7711 return offset;
7714 static int
7715 drsuapi_dissect_element_DsGetNCChangesRequest11_more_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7717 offset = drsuapi_dissect_bitmap_DrsMoreOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest11_more_flags, 0);
7719 return offset;
7722 static int
7723 drsuapi_dissect_element_DsGetNCChangesRequest11_correlationID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7725 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest11_correlationID, NULL);
7727 return offset;
7730 static int
7731 drsuapi_dissect_element_DsGetNCChangesRequest11_reserved_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7733 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesRequest11_reserved_buffer_, NDR_POINTER_UNIQUE, "Pointer to Reserved Buffer (drsuapi_VAR_SIZE_BUFFER_WITH_VERSION)",hf_drsuapi_drsuapi_DsGetNCChangesRequest11_reserved_buffer);
7735 return offset;
7738 static int
7739 drsuapi_dissect_element_DsGetNCChangesRequest11_reserved_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7741 offset = drsuapi_dissect_struct_VAR_SIZE_BUFFER_WITH_VERSION(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest11_reserved_buffer,0);
7743 return offset;
7747 drsuapi_dissect_struct_DsGetNCChangesRequest11(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_)
7749 proto_item *item = NULL;
7750 proto_tree *tree = NULL;
7751 int old_offset;
7753 ALIGN_TO_8_BYTES;
7755 old_offset = offset;
7757 if (parent_tree) {
7758 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7759 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesRequest11);
7762 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_destination_dsa_guid(tvb, offset, pinfo, tree, di, drep);
7764 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
7766 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_naming_context(tvb, offset, pinfo, tree, di, drep);
7768 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_highwatermark(tvb, offset, pinfo, tree, di, drep);
7770 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_uptodateness_vector(tvb, offset, pinfo, tree, di, drep);
7772 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_replica_flags(tvb, offset, pinfo, tree, di, drep);
7774 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_max_object_count(tvb, offset, pinfo, tree, di, drep);
7776 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_max_ndr_size(tvb, offset, pinfo, tree, di, drep);
7778 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_extended_op(tvb, offset, pinfo, tree, di, drep);
7780 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_fsmo_info(tvb, offset, pinfo, tree, di, drep);
7782 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_partial_attribute_set(tvb, offset, pinfo, tree, di, drep);
7784 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_partial_attribute_set_ex(tvb, offset, pinfo, tree, di, drep);
7786 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_mapping_ctr(tvb, offset, pinfo, tree, di, drep);
7788 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_more_flags(tvb, offset, pinfo, tree, di, drep);
7790 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_correlationID(tvb, offset, pinfo, tree, di, drep);
7792 offset = drsuapi_dissect_element_DsGetNCChangesRequest11_reserved_buffer(tvb, offset, pinfo, tree, di, drep);
7795 proto_item_set_len(item, offset-old_offset);
7798 if (di->call_data->flags & DCERPC_IS_NDR64) {
7799 ALIGN_TO_8_BYTES;
7802 return offset;
7806 /* IDL: [switch_type(uint32)] union { */
7807 /* IDL: [case(5)] [case(5)] drsuapi_DsGetNCChangesRequest5 req5; */
7808 /* IDL: [case(8)] [case(8)] drsuapi_DsGetNCChangesRequest8 req8; */
7809 /* IDL: [case(10)] [case(10)] drsuapi_DsGetNCChangesRequest10 req10; */
7810 /* IDL: [case(11)] [case(11)] drsuapi_DsGetNCChangesRequest11 req11; */
7811 /* IDL: } */
7813 static int
7814 drsuapi_dissect_element_DsGetNCChangesRequest_req5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7816 offset = drsuapi_dissect_struct_DsGetNCChangesRequest5(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest_req5,0);
7818 return offset;
7821 static int
7822 drsuapi_dissect_element_DsGetNCChangesRequest_req8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7824 offset = drsuapi_dissect_struct_DsGetNCChangesRequest8(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest_req8,0);
7826 return offset;
7829 static int
7830 drsuapi_dissect_element_DsGetNCChangesRequest_req10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7832 offset = drsuapi_dissect_struct_DsGetNCChangesRequest10(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest_req10,0);
7834 return offset;
7837 static int
7838 drsuapi_dissect_element_DsGetNCChangesRequest_req11(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7840 offset = drsuapi_dissect_struct_DsGetNCChangesRequest11(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest_req11,0);
7842 return offset;
7845 static int
7846 drsuapi_dissect_DsGetNCChangesRequest(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_)
7848 proto_item *item = NULL;
7849 proto_tree *tree = NULL;
7850 int old_offset;
7851 uint32_t level;
7853 old_offset = offset;
7854 if (parent_tree) {
7855 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsGetNCChangesRequest, &item, "drsuapi_DsGetNCChangesRequest");
7858 UNION_ALIGN_TO_8_BYTES;
7859 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
7860 UNION_ALIGN_TO_8_BYTES;
7862 switch(level) {
7863 case 5:
7864 offset = drsuapi_dissect_element_DsGetNCChangesRequest_req5(tvb, offset, pinfo, tree, di, drep);
7865 break;
7867 case 8:
7868 offset = drsuapi_dissect_element_DsGetNCChangesRequest_req8(tvb, offset, pinfo, tree, di, drep);
7869 break;
7871 case 10:
7872 offset = drsuapi_dissect_element_DsGetNCChangesRequest_req10(tvb, offset, pinfo, tree, di, drep);
7873 break;
7875 case 11:
7876 offset = drsuapi_dissect_element_DsGetNCChangesRequest_req11(tvb, offset, pinfo, tree, di, drep);
7877 break;
7879 proto_item_set_len(item, offset-old_offset);
7882 return offset;
7885 /* IDL: struct { */
7886 /* IDL: GUID source_dsa_invocation_id; */
7887 /* IDL: hyper highest_usn; */
7888 /* IDL: NTTIME last_sync_success; */
7889 /* IDL: } */
7891 static int
7892 drsuapi_dissect_element_DsReplicaCursor2_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7894 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor2_source_dsa_invocation_id, NULL);
7896 return offset;
7899 static int
7900 drsuapi_dissect_element_DsReplicaCursor2_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7902 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor2_highest_usn, NULL);
7904 return offset;
7907 static int
7908 drsuapi_dissect_element_DsReplicaCursor2_last_sync_success(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7910 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor2_last_sync_success);
7912 return offset;
7916 drsuapi_dissect_struct_DsReplicaCursor2(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_)
7918 proto_item *item = NULL;
7919 proto_tree *tree = NULL;
7920 int old_offset;
7922 ALIGN_TO_8_BYTES;
7924 old_offset = offset;
7926 if (parent_tree) {
7927 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7928 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursor2);
7931 offset = drsuapi_dissect_element_DsReplicaCursor2_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
7933 offset = drsuapi_dissect_element_DsReplicaCursor2_highest_usn(tvb, offset, pinfo, tree, di, drep);
7935 offset = drsuapi_dissect_element_DsReplicaCursor2_last_sync_success(tvb, offset, pinfo, tree, di, drep);
7938 proto_item_set_len(item, offset-old_offset);
7941 if (di->call_data->flags & DCERPC_IS_NDR64) {
7942 ALIGN_TO_8_BYTES;
7945 return offset;
7949 /* IDL: struct { */
7950 /* IDL: [value(2)] uint32 version; */
7951 /* IDL: [value(0)] uint32 reserved1; */
7952 /* IDL: [range(0,0x100000)] uint32 count; */
7953 /* IDL: [value(0)] uint32 reserved2; */
7954 /* IDL: [size_is(count)] drsuapi_DsReplicaCursor2 cursors[*]; */
7955 /* IDL: } */
7957 static int
7958 drsuapi_dissect_element_DsReplicaCursor2CtrEx_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7960 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_version, 0);
7962 return offset;
7965 static int
7966 drsuapi_dissect_element_DsReplicaCursor2CtrEx_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7968 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_reserved1, 0);
7970 return offset;
7973 static int
7974 drsuapi_dissect_element_DsReplicaCursor2CtrEx_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7976 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_count, 0);
7978 return offset;
7981 static int
7982 drsuapi_dissect_element_DsReplicaCursor2CtrEx_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7984 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_reserved2, 0);
7986 return offset;
7989 static int
7990 drsuapi_dissect_element_DsReplicaCursor2CtrEx_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
7993 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplicaCursor2CtrEx_cursors_);
7995 return offset;
7998 static int
7999 drsuapi_dissect_element_DsReplicaCursor2CtrEx_cursors_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8001 offset = drsuapi_dissect_struct_DsReplicaCursor2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_cursors,0);
8003 return offset;
8006 static int
8007 drsuapi_dissect_conformant_DsReplicaCursor2CtrEx_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
8009 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
8011 return offset;
8015 drsuapi_dissect_struct_DsReplicaCursor2CtrEx(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_)
8017 struct ndr_generic_array nga_cursors = { .is_conformant = false, };
8018 proto_item *item = NULL;
8019 proto_tree *tree = NULL;
8020 int old_offset;
8022 offset = drsuapi_dissect_conformant_DsReplicaCursor2CtrEx_cursors(tvb, offset, pinfo, parent_tree, di, drep, &nga_cursors);
8024 ALIGN_TO_8_BYTES;
8026 old_offset = offset;
8028 if (parent_tree) {
8029 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8030 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursor2CtrEx);
8033 offset = drsuapi_dissect_element_DsReplicaCursor2CtrEx_version(tvb, offset, pinfo, tree, di, drep);
8035 offset = drsuapi_dissect_element_DsReplicaCursor2CtrEx_reserved1(tvb, offset, pinfo, tree, di, drep);
8037 offset = drsuapi_dissect_element_DsReplicaCursor2CtrEx_count(tvb, offset, pinfo, tree, di, drep);
8039 offset = drsuapi_dissect_element_DsReplicaCursor2CtrEx_reserved2(tvb, offset, pinfo, tree, di, drep);
8041 offset = drsuapi_dissect_element_DsReplicaCursor2CtrEx_cursors(tvb, offset, pinfo, tree, di, drep, &nga_cursors);
8044 proto_item_set_len(item, offset-old_offset);
8047 return offset;
8051 /* IDL: struct { */
8052 /* IDL: [range(0,26214400)] [value(ndr_size_DATA_BLOB(0,blob,0))] uint32 __ndr_size; */
8053 /* IDL: [unique(1)] DATA_BLOB *blob; */
8054 /* IDL: } */
8056 static int
8057 drsuapi_dissect_element_DsAttributeValue___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8059 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAttributeValue___ndr_size, 0);
8061 return offset;
8064 static int
8065 drsuapi_dissect_element_DsAttributeValue_blob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8067 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAttributeValue_blob_, NDR_POINTER_UNIQUE, "Pointer to Blob (DATA_BLOB)",hf_drsuapi_drsuapi_DsAttributeValue_blob);
8069 return offset;
8073 drsuapi_dissect_struct_DsAttributeValue(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_)
8075 proto_item *item = NULL;
8076 proto_tree *tree = NULL;
8077 int old_offset;
8079 ALIGN_TO_5_BYTES;
8081 old_offset = offset;
8083 if (parent_tree) {
8084 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8085 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAttributeValue);
8088 offset = drsuapi_dissect_element_DsAttributeValue___ndr_size(tvb, offset, pinfo, tree, di, drep);
8090 offset = drsuapi_dissect_element_DsAttributeValue_blob(tvb, offset, pinfo, tree, di, drep);
8093 proto_item_set_len(item, offset-old_offset);
8096 if (di->call_data->flags & DCERPC_IS_NDR64) {
8097 ALIGN_TO_5_BYTES;
8100 return offset;
8104 /* IDL: struct { */
8105 /* IDL: [range(0,10485760)] uint32 num_values; */
8106 /* IDL: [size_is(num_values)] [unique(1)] drsuapi_DsAttributeValue *values; */
8107 /* IDL: } */
8109 static int
8110 drsuapi_dissect_element_DsAttributeValueCtr_num_values(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8112 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAttributeValueCtr_num_values, 0);
8114 return offset;
8117 static int
8118 drsuapi_dissect_element_DsAttributeValueCtr_values(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8120 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAttributeValueCtr_values_, NDR_POINTER_UNIQUE, "Pointer to Values (drsuapi_DsAttributeValue)",hf_drsuapi_drsuapi_DsAttributeValueCtr_values);
8122 return offset;
8125 static int
8126 drsuapi_dissect_element_DsAttributeValueCtr_values_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8128 struct ndr_generic_array nga = { .is_conformant = false, };
8130 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8132 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsAttributeValueCtr_values__);
8134 return offset;
8137 static int
8138 drsuapi_dissect_element_DsAttributeValueCtr_values__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8140 offset = drsuapi_dissect_struct_DsAttributeValue(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAttributeValueCtr_values,0);
8142 return offset;
8146 drsuapi_dissect_struct_DsAttributeValueCtr(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_)
8148 proto_item *item = NULL;
8149 proto_tree *tree = NULL;
8150 int old_offset;
8152 ALIGN_TO_5_BYTES;
8154 old_offset = offset;
8156 if (parent_tree) {
8157 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8158 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAttributeValueCtr);
8161 offset = drsuapi_dissect_element_DsAttributeValueCtr_num_values(tvb, offset, pinfo, tree, di, drep);
8163 offset = drsuapi_dissect_element_DsAttributeValueCtr_values(tvb, offset, pinfo, tree, di, drep);
8166 proto_item_set_len(item, offset-old_offset);
8169 if (di->call_data->flags & DCERPC_IS_NDR64) {
8170 ALIGN_TO_5_BYTES;
8173 return offset;
8177 /* IDL: struct { */
8178 /* IDL: [value(ndr_size_drsuapi_DsReplicaObjectIdentifier3(r,ndr->flags))] uint32 __ndr_size; */
8179 /* IDL: [value(ndr_size_dom_sid28(&sid,ndr->flags))] uint32 __ndr_size_sid; */
8180 /* IDL: GUID guid; */
8181 /* IDL: dom_sid28 sid; */
8182 /* IDL: [value(strlen_m(dn))] uint32 __ndr_size_dn; */
8183 /* IDL: [charset(UTF16)] uint16 dn[__ndr_size_dn+1]; */
8184 /* IDL: } */
8186 static int
8187 drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8189 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size, 0);
8191 return offset;
8194 static int
8195 drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8197 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size_sid, 0);
8199 return offset;
8202 static int
8203 drsuapi_dissect_element_DsReplicaObjectIdentifier3_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8205 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_guid, NULL);
8207 return offset;
8210 static int
8211 drsuapi_dissect_element_DsReplicaObjectIdentifier3_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8213 offset = dissect_ndr_nt_SID28(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_sid);
8215 return offset;
8218 static int
8219 drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8221 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size_dn, 0);
8223 return offset;
8226 static int
8227 drsuapi_dissect_element_DsReplicaObjectIdentifier3_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8229 /* TODO drsuapi_dissect_element_DsReplicaObjectIdentifier3_dn IS_INLINE */
8231 return offset;
8235 drsuapi_dissect_struct_DsReplicaObjectIdentifier3(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_)
8237 proto_item *item = NULL;
8238 proto_tree *tree = NULL;
8239 int old_offset;
8241 ALIGN_TO_4_BYTES;
8243 old_offset = offset;
8245 if (parent_tree) {
8246 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8247 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjectIdentifier3);
8250 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size(tvb, offset, pinfo, tree, di, drep);
8252 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size_sid(tvb, offset, pinfo, tree, di, drep);
8254 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3_guid(tvb, offset, pinfo, tree, di, drep);
8256 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3_sid(tvb, offset, pinfo, tree, di, drep);
8258 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size_dn(tvb, offset, pinfo, tree, di, drep);
8260 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3_dn(tvb, offset, pinfo, tree, di, drep);
8263 proto_item_set_len(item, offset-old_offset);
8266 if (di->call_data->flags & DCERPC_IS_NDR64) {
8267 ALIGN_TO_4_BYTES;
8270 return offset;
8274 /* IDL: struct { */
8275 /* IDL: [value(ndr_size_drsuapi_DsReplicaObjectIdentifier3Binary_without_Binary(r,ndr->flags))] uint32 __ndr_size; */
8276 /* IDL: [value(ndr_size_dom_sid28(&sid,ndr->flags))] uint32 __ndr_size_sid; */
8277 /* IDL: GUID guid; */
8278 /* IDL: dom_sid28 sid; */
8279 /* IDL: [value(strlen_m(dn))] uint32 __ndr_size_dn; */
8280 /* IDL: [charset(UTF16)] uint16 dn[__ndr_size_dn+1]; */
8281 /* IDL: [value(binary.length+4)] uint32 __ndr_size_binary; */
8282 /* IDL: [flag(LIBNDR_FLAG_REMAINING)] DATA_BLOB binary; */
8283 /* IDL: } */
8285 static int
8286 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8288 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size, 0);
8290 return offset;
8293 static int
8294 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8296 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_sid, 0);
8298 return offset;
8301 static int
8302 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8304 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_guid, NULL);
8306 return offset;
8309 static int
8310 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8312 offset = dissect_ndr_nt_SID28(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_sid);
8314 return offset;
8317 static int
8318 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8320 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_dn, 0);
8322 return offset;
8325 static int
8326 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8328 /* TODO drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_dn IS_INLINE */
8330 return offset;
8333 static int
8334 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8336 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_binary, 0);
8338 return offset;
8341 static int
8342 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8344 offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_binary, 1);
8346 return offset;
8350 drsuapi_dissect_struct_DsReplicaObjectIdentifier3Binary(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_)
8352 proto_item *item = NULL;
8353 proto_tree *tree = NULL;
8354 int old_offset;
8356 ALIGN_TO_4_BYTES;
8358 old_offset = offset;
8360 if (parent_tree) {
8361 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8362 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary);
8365 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size(tvb, offset, pinfo, tree, di, drep);
8367 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_sid(tvb, offset, pinfo, tree, di, drep);
8369 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_guid(tvb, offset, pinfo, tree, di, drep);
8371 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_sid(tvb, offset, pinfo, tree, di, drep);
8373 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_dn(tvb, offset, pinfo, tree, di, drep);
8375 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_dn(tvb, offset, pinfo, tree, di, drep);
8377 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_binary(tvb, offset, pinfo, tree, di, drep);
8379 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_binary(tvb, offset, pinfo, tree, di, drep);
8382 proto_item_set_len(item, offset-old_offset);
8385 if (di->call_data->flags & DCERPC_IS_NDR64) {
8386 ALIGN_TO_4_BYTES;
8389 return offset;
8393 /* IDL: struct { */
8394 /* IDL: drsuapi_DsAttributeId attid; */
8395 /* IDL: drsuapi_DsAttributeValueCtr value_ctr; */
8396 /* IDL: } */
8398 static int
8399 drsuapi_dissect_element_DsReplicaAttribute_value_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8401 offset = drsuapi_dissect_struct_DsAttributeValueCtr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAttribute_value_ctr,0);
8403 return offset;
8407 /* IDL: struct { */
8408 /* IDL: [range(0,1048576)] uint32 num_attributes; */
8409 /* IDL: [size_is(num_attributes)] [unique(1)] drsuapi_DsReplicaAttribute *attributes; */
8410 /* IDL: } */
8412 static int
8413 drsuapi_dissect_element_DsReplicaAttributeCtr_num_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8415 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttributeCtr_num_attributes, 0);
8417 return offset;
8420 static int
8421 drsuapi_dissect_element_DsReplicaAttributeCtr_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8423 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAttributeCtr_attributes_, NDR_POINTER_UNIQUE, "Pointer to Attributes (drsuapi_DsReplicaAttribute)",hf_drsuapi_drsuapi_DsReplicaAttributeCtr_attributes);
8425 return offset;
8428 static int
8429 drsuapi_dissect_element_DsReplicaAttributeCtr_attributes_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8431 struct ndr_generic_array nga = { .is_conformant = false, };
8433 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8435 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsReplicaAttributeCtr_attributes__);
8437 return offset;
8440 static int
8441 drsuapi_dissect_element_DsReplicaAttributeCtr_attributes__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8443 offset = drsuapi_dissect_struct_DsReplicaAttribute(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAttributeCtr_attributes,0);
8445 return offset;
8449 drsuapi_dissect_struct_DsReplicaAttributeCtr(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_)
8451 proto_item *item = NULL;
8452 proto_tree *tree = NULL;
8453 int old_offset;
8455 ALIGN_TO_5_BYTES;
8457 old_offset = offset;
8459 if (parent_tree) {
8460 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8461 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAttributeCtr);
8464 offset = drsuapi_dissect_element_DsReplicaAttributeCtr_num_attributes(tvb, offset, pinfo, tree, di, drep);
8466 offset = drsuapi_dissect_element_DsReplicaAttributeCtr_attributes(tvb, offset, pinfo, tree, di, drep);
8469 proto_item_set_len(item, offset-old_offset);
8472 if (di->call_data->flags & DCERPC_IS_NDR64) {
8473 ALIGN_TO_5_BYTES;
8476 return offset;
8480 /* IDL: bitmap { */
8481 /* IDL: DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER = 0x00000001 , */
8482 /* IDL: DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC = 0x00000002 , */
8483 /* IDL: DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY = 0x00010000 , */
8484 /* IDL: } */
8487 drsuapi_dissect_bitmap_DsReplicaObjectFlags(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_)
8489 proto_item *item;
8490 static int * const drsuapi_drsuapi_DsReplicaObjectFlags_fields[] = {
8491 &hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER,
8492 &hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC,
8493 &hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY,
8494 NULL
8496 uint32_t flags;
8497 ALIGN_TO_4_BYTES;
8499 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
8500 ett_drsuapi_drsuapi_DsReplicaObjectFlags, drsuapi_drsuapi_DsReplicaObjectFlags_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
8502 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
8504 if (!flags)
8505 proto_item_append_text(item, ": (No values set)");
8507 if (flags & (~0x00010003)) {
8508 flags &= (~0x00010003);
8509 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
8512 return offset;
8516 /* IDL: struct { */
8517 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *identifier; */
8518 /* IDL: drsuapi_DsReplicaObjectFlags flags; */
8519 /* IDL: drsuapi_DsReplicaAttributeCtr attribute_ctr; */
8520 /* IDL: } */
8522 static int
8523 drsuapi_dissect_element_DsReplicaObject_identifier(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8525 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaObject_identifier_, NDR_POINTER_UNIQUE, "Pointer to Identifier (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaObject_identifier);
8527 return offset;
8530 static int
8531 drsuapi_dissect_element_DsReplicaObject_identifier_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8533 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaObject_identifier,0);
8535 return offset;
8538 static int
8539 drsuapi_dissect_element_DsReplicaObject_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8541 offset = drsuapi_dissect_bitmap_DsReplicaObjectFlags(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObject_flags, 0);
8543 return offset;
8546 static int
8547 drsuapi_dissect_element_DsReplicaObject_attribute_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8549 offset = drsuapi_dissect_struct_DsReplicaAttributeCtr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaObject_attribute_ctr,0);
8551 return offset;
8555 /* IDL: struct { */
8556 /* IDL: uint32 version; */
8557 /* IDL: NTTIME_1sec originating_change_time; */
8558 /* IDL: GUID originating_invocation_id; */
8559 /* IDL: hyper originating_usn; */
8560 /* IDL: } */
8562 static int
8563 drsuapi_dissect_element_DsReplicaMetaData_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8565 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaMetaData_version, 0);
8567 return offset;
8570 static int
8571 drsuapi_dissect_element_DsReplicaMetaData_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8573 offset = dissect_ndr_nt_NTTIME_1sec(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaMetaData_originating_change_time);
8575 return offset;
8578 static int
8579 drsuapi_dissect_element_DsReplicaMetaData_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8581 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaMetaData_originating_invocation_id, NULL);
8583 return offset;
8586 static int
8587 drsuapi_dissect_element_DsReplicaMetaData_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8589 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaMetaData_originating_usn, NULL);
8591 return offset;
8595 drsuapi_dissect_struct_DsReplicaMetaData(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_)
8597 proto_item *item = NULL;
8598 proto_tree *tree = NULL;
8599 int old_offset;
8601 ALIGN_TO_8_BYTES;
8603 old_offset = offset;
8605 if (parent_tree) {
8606 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8607 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaMetaData);
8610 offset = drsuapi_dissect_element_DsReplicaMetaData_version(tvb, offset, pinfo, tree, di, drep);
8612 offset = drsuapi_dissect_element_DsReplicaMetaData_originating_change_time(tvb, offset, pinfo, tree, di, drep);
8614 offset = drsuapi_dissect_element_DsReplicaMetaData_originating_invocation_id(tvb, offset, pinfo, tree, di, drep);
8616 offset = drsuapi_dissect_element_DsReplicaMetaData_originating_usn(tvb, offset, pinfo, tree, di, drep);
8619 proto_item_set_len(item, offset-old_offset);
8622 if (di->call_data->flags & DCERPC_IS_NDR64) {
8623 ALIGN_TO_8_BYTES;
8626 return offset;
8630 /* IDL: struct { */
8631 /* IDL: [range(0,1048576)] uint32 count; */
8632 /* IDL: [size_is(count)] drsuapi_DsReplicaMetaData meta_data[*]; */
8633 /* IDL: } */
8635 static int
8636 drsuapi_dissect_element_DsReplicaMetaDataCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8638 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaMetaDataCtr_count, 0);
8640 return offset;
8643 static int
8644 drsuapi_dissect_element_DsReplicaMetaDataCtr_meta_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
8647 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplicaMetaDataCtr_meta_data_);
8649 return offset;
8652 static int
8653 drsuapi_dissect_element_DsReplicaMetaDataCtr_meta_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8655 offset = drsuapi_dissect_struct_DsReplicaMetaData(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaMetaDataCtr_meta_data,0);
8657 return offset;
8660 static int
8661 drsuapi_dissect_conformant_DsReplicaMetaDataCtr_meta_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
8663 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
8665 return offset;
8669 drsuapi_dissect_struct_DsReplicaMetaDataCtr(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_)
8671 struct ndr_generic_array nga_meta_data = { .is_conformant = false, };
8672 proto_item *item = NULL;
8673 proto_tree *tree = NULL;
8674 int old_offset;
8676 offset = drsuapi_dissect_conformant_DsReplicaMetaDataCtr_meta_data(tvb, offset, pinfo, parent_tree, di, drep, &nga_meta_data);
8678 ALIGN_TO_8_BYTES;
8680 old_offset = offset;
8682 if (parent_tree) {
8683 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8684 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaMetaDataCtr);
8687 offset = drsuapi_dissect_element_DsReplicaMetaDataCtr_count(tvb, offset, pinfo, tree, di, drep);
8689 offset = drsuapi_dissect_element_DsReplicaMetaDataCtr_meta_data(tvb, offset, pinfo, tree, di, drep, &nga_meta_data);
8692 proto_item_set_len(item, offset-old_offset);
8695 return offset;
8699 /* IDL: struct { */
8700 /* IDL: [max_recursion(20000)] [unique(1)] drsuapi_DsReplicaObjectListItemEx *next_object; */
8701 /* IDL: drsuapi_DsReplicaObject object; */
8702 /* IDL: uint32 is_nc_prefix; */
8703 /* IDL: [unique(1)] GUID *parent_object_guid; */
8704 /* IDL: [unique(1)] drsuapi_DsReplicaMetaDataCtr *meta_data_ctr; */
8705 /* IDL: } */
8707 static int
8708 drsuapi_dissect_element_DsReplicaObjectListItemEx_next_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8710 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaObjectListItemEx_next_object_, NDR_POINTER_UNIQUE, "Pointer to Next Object (drsuapi_DsReplicaObjectListItemEx)",hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_next_object);
8712 return offset;
8715 static int
8716 drsuapi_dissect_element_DsReplicaObjectListItemEx_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8718 offset = drsuapi_dissect_struct_DsReplicaObject(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_object,0);
8720 return offset;
8723 static int
8724 drsuapi_dissect_element_DsReplicaObjectListItemEx_is_nc_prefix(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8726 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_is_nc_prefix, 0);
8728 return offset;
8731 static int
8732 drsuapi_dissect_element_DsReplicaObjectListItemEx_parent_object_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8734 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaObjectListItemEx_parent_object_guid_, NDR_POINTER_UNIQUE, "Pointer to Parent Object Guid (GUID)",hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_parent_object_guid);
8736 return offset;
8739 static int
8740 drsuapi_dissect_element_DsReplicaObjectListItemEx_parent_object_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8742 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_parent_object_guid, NULL);
8744 return offset;
8747 static int
8748 drsuapi_dissect_element_DsReplicaObjectListItemEx_meta_data_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8750 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaObjectListItemEx_meta_data_ctr_, NDR_POINTER_UNIQUE, "Pointer to Meta Data Ctr (drsuapi_DsReplicaMetaDataCtr)",hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_meta_data_ctr);
8752 return offset;
8755 static int
8756 drsuapi_dissect_element_DsReplicaObjectListItemEx_meta_data_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8758 offset = drsuapi_dissect_struct_DsReplicaMetaDataCtr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_meta_data_ctr,0);
8760 return offset;
8764 /* IDL: struct { */
8765 /* IDL: GUID source_dsa_guid; */
8766 /* IDL: GUID source_dsa_invocation_id; */
8767 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *naming_context; */
8768 /* IDL: drsuapi_DsReplicaHighWaterMark old_highwatermark; */
8769 /* IDL: drsuapi_DsReplicaHighWaterMark new_highwatermark; */
8770 /* IDL: [unique(1)] drsuapi_DsReplicaCursorCtrEx *uptodateness_vector; */
8771 /* IDL: drsuapi_DsReplicaOIDMapping_Ctr mapping_ctr; */
8772 /* IDL: drsuapi_DsExtendedError extended_ret; */
8773 /* IDL: uint32 object_count; */
8774 /* IDL: [value(ndr_size_drsuapi_DsGetNCChangesCtr1(r,ndr->flags)+55)] uint32 __ndr_size; */
8775 /* IDL: [unique(1)] drsuapi_DsReplicaObjectListItemEx *first_object; */
8776 /* IDL: uint32 more_data; */
8777 /* IDL: } */
8779 static int
8780 drsuapi_dissect_element_DsGetNCChangesCtr1_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8782 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr1_source_dsa_guid, NULL);
8784 return offset;
8787 static int
8788 drsuapi_dissect_element_DsGetNCChangesCtr1_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8790 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr1_source_dsa_invocation_id, NULL);
8792 return offset;
8795 static int
8796 drsuapi_dissect_element_DsGetNCChangesCtr1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8798 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesCtr1_naming_context_, NDR_POINTER_UNIQUE, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetNCChangesCtr1_naming_context);
8800 return offset;
8803 static int
8804 drsuapi_dissect_element_DsGetNCChangesCtr1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8806 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr1_naming_context,0);
8808 return offset;
8811 static int
8812 drsuapi_dissect_element_DsGetNCChangesCtr1_old_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8814 offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr1_old_highwatermark,0);
8816 return offset;
8819 static int
8820 drsuapi_dissect_element_DsGetNCChangesCtr1_new_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8822 offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr1_new_highwatermark,0);
8824 return offset;
8827 static int
8828 drsuapi_dissect_element_DsGetNCChangesCtr1_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8830 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesCtr1_uptodateness_vector_, NDR_POINTER_UNIQUE, "Pointer to Uptodateness Vector (drsuapi_DsReplicaCursorCtrEx)",hf_drsuapi_drsuapi_DsGetNCChangesCtr1_uptodateness_vector);
8832 return offset;
8835 static int
8836 drsuapi_dissect_element_DsGetNCChangesCtr1_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8838 offset = drsuapi_dissect_struct_DsReplicaCursorCtrEx(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr1_uptodateness_vector,0);
8840 return offset;
8843 static int
8844 drsuapi_dissect_element_DsGetNCChangesCtr1_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8846 offset = drsuapi_dissect_struct_DsReplicaOIDMapping_Ctr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr1_mapping_ctr,0);
8848 return offset;
8851 static int
8852 drsuapi_dissect_element_DsGetNCChangesCtr1_extended_ret(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8854 offset = drsuapi_dissect_enum_DsExtendedError(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr1_extended_ret, 0);
8856 return offset;
8859 static int
8860 drsuapi_dissect_element_DsGetNCChangesCtr1_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8862 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr1_object_count, 0);
8864 return offset;
8867 static int
8868 drsuapi_dissect_element_DsGetNCChangesCtr1___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8870 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr1___ndr_size, 0);
8872 return offset;
8875 static int
8876 drsuapi_dissect_element_DsGetNCChangesCtr1_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8878 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesCtr1_first_object_, NDR_POINTER_UNIQUE, "Pointer to First Object (drsuapi_DsReplicaObjectListItemEx)",hf_drsuapi_drsuapi_DsGetNCChangesCtr1_first_object);
8880 return offset;
8883 static int
8884 drsuapi_dissect_element_DsGetNCChangesCtr1_first_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8886 offset = drsuapi_dissect_struct_DsReplicaObjectListItemEx(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr1_first_object,0);
8888 return offset;
8891 static int
8892 drsuapi_dissect_element_DsGetNCChangesCtr1_more_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8894 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr1_more_data, 0);
8896 return offset;
8900 drsuapi_dissect_struct_DsGetNCChangesCtr1(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_)
8902 proto_item *item = NULL;
8903 proto_tree *tree = NULL;
8904 int old_offset;
8906 ALIGN_TO_8_BYTES;
8908 old_offset = offset;
8910 if (parent_tree) {
8911 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8912 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr1);
8915 offset = drsuapi_dissect_element_DsGetNCChangesCtr1_source_dsa_guid(tvb, offset, pinfo, tree, di, drep);
8917 offset = drsuapi_dissect_element_DsGetNCChangesCtr1_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
8919 offset = drsuapi_dissect_element_DsGetNCChangesCtr1_naming_context(tvb, offset, pinfo, tree, di, drep);
8921 offset = drsuapi_dissect_element_DsGetNCChangesCtr1_old_highwatermark(tvb, offset, pinfo, tree, di, drep);
8923 offset = drsuapi_dissect_element_DsGetNCChangesCtr1_new_highwatermark(tvb, offset, pinfo, tree, di, drep);
8925 offset = drsuapi_dissect_element_DsGetNCChangesCtr1_uptodateness_vector(tvb, offset, pinfo, tree, di, drep);
8927 offset = drsuapi_dissect_element_DsGetNCChangesCtr1_mapping_ctr(tvb, offset, pinfo, tree, di, drep);
8929 offset = drsuapi_dissect_element_DsGetNCChangesCtr1_extended_ret(tvb, offset, pinfo, tree, di, drep);
8931 offset = drsuapi_dissect_element_DsGetNCChangesCtr1_object_count(tvb, offset, pinfo, tree, di, drep);
8933 offset = drsuapi_dissect_element_DsGetNCChangesCtr1___ndr_size(tvb, offset, pinfo, tree, di, drep);
8935 offset = drsuapi_dissect_element_DsGetNCChangesCtr1_first_object(tvb, offset, pinfo, tree, di, drep);
8937 offset = drsuapi_dissect_element_DsGetNCChangesCtr1_more_data(tvb, offset, pinfo, tree, di, drep);
8940 proto_item_set_len(item, offset-old_offset);
8943 if (di->call_data->flags & DCERPC_IS_NDR64) {
8944 ALIGN_TO_8_BYTES;
8947 return offset;
8951 /* IDL: bitmap { */
8952 /* IDL: DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE = 0x00000001 , */
8953 /* IDL: } */
8956 drsuapi_dissect_bitmap_DsLinkedAttributeFlags(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_)
8958 proto_item *item;
8959 static int * const drsuapi_drsuapi_DsLinkedAttributeFlags_fields[] = {
8960 &hf_drsuapi_drsuapi_DsLinkedAttributeFlags_DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE,
8961 NULL
8963 uint32_t flags;
8964 ALIGN_TO_4_BYTES;
8966 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
8967 ett_drsuapi_drsuapi_DsLinkedAttributeFlags, drsuapi_drsuapi_DsLinkedAttributeFlags_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
8969 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
8971 if (!flags)
8972 proto_item_append_text(item, ": (No values set)");
8974 if (flags & (~0x00000001)) {
8975 flags &= (~0x00000001);
8976 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
8979 return offset;
8983 /* IDL: struct { */
8984 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *identifier; */
8985 /* IDL: drsuapi_DsAttributeId attid; */
8986 /* IDL: drsuapi_DsAttributeValue value; */
8987 /* IDL: drsuapi_DsLinkedAttributeFlags flags; */
8988 /* IDL: NTTIME_1sec originating_add_time; */
8989 /* IDL: drsuapi_DsReplicaMetaData meta_data; */
8990 /* IDL: } */
8992 static int
8993 drsuapi_dissect_element_DsReplicaLinkedAttribute_identifier(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8995 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaLinkedAttribute_identifier_, NDR_POINTER_UNIQUE, "Pointer to Identifier (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_identifier);
8997 return offset;
9000 static int
9001 drsuapi_dissect_element_DsReplicaLinkedAttribute_identifier_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9003 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_identifier,0);
9005 return offset;
9008 static int
9009 drsuapi_dissect_element_DsReplicaLinkedAttribute_attid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9011 offset = drsuapi_dissect_enum_DsAttributeId(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_attid, 0);
9013 return offset;
9016 static int
9017 drsuapi_dissect_element_DsReplicaLinkedAttribute_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9019 offset = drsuapi_dissect_struct_DsAttributeValue(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_value,0);
9021 return offset;
9024 static int
9025 drsuapi_dissect_element_DsReplicaLinkedAttribute_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9027 offset = drsuapi_dissect_bitmap_DsLinkedAttributeFlags(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_flags, 0);
9029 return offset;
9032 static int
9033 drsuapi_dissect_element_DsReplicaLinkedAttribute_originating_add_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9035 offset = dissect_ndr_nt_NTTIME_1sec(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_originating_add_time);
9037 return offset;
9040 static int
9041 drsuapi_dissect_element_DsReplicaLinkedAttribute_meta_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9043 offset = drsuapi_dissect_struct_DsReplicaMetaData(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_meta_data,0);
9045 return offset;
9049 drsuapi_dissect_struct_DsReplicaLinkedAttribute(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_)
9051 proto_item *item = NULL;
9052 proto_tree *tree = NULL;
9053 int old_offset;
9055 ALIGN_TO_8_BYTES;
9057 old_offset = offset;
9059 if (parent_tree) {
9060 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9061 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaLinkedAttribute);
9064 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute_identifier(tvb, offset, pinfo, tree, di, drep);
9066 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute_attid(tvb, offset, pinfo, tree, di, drep);
9068 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute_value(tvb, offset, pinfo, tree, di, drep);
9070 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute_flags(tvb, offset, pinfo, tree, di, drep);
9072 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute_originating_add_time(tvb, offset, pinfo, tree, di, drep);
9074 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute_meta_data(tvb, offset, pinfo, tree, di, drep);
9077 proto_item_set_len(item, offset-old_offset);
9080 if (di->call_data->flags & DCERPC_IS_NDR64) {
9081 ALIGN_TO_8_BYTES;
9084 return offset;
9088 /* IDL: struct { */
9089 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *identifier; */
9090 /* IDL: drsuapi_DsAttributeId attid; */
9091 /* IDL: drsuapi_DsAttributeValue value; */
9092 /* IDL: drsuapi_DsLinkedAttributeFlags flags; */
9093 /* IDL: NTTIME_1sec originating_add_time; */
9094 /* IDL: drsuapi_DsReplicaMetaData meta_data; */
9095 /* IDL: uint32 unused1; */
9096 /* IDL: uint32 unused2; */
9097 /* IDL: uint32 unused3; */
9098 /* IDL: NTTIME_1sec timeExpired; */
9099 /* IDL: } */
9101 static int
9102 drsuapi_dissect_element_DsReplicaLinkedAttribute3_identifier(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9104 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaLinkedAttribute3_identifier_, NDR_POINTER_UNIQUE, "Pointer to Identifier (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_identifier);
9106 return offset;
9109 static int
9110 drsuapi_dissect_element_DsReplicaLinkedAttribute3_identifier_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9112 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_identifier,0);
9114 return offset;
9117 static int
9118 drsuapi_dissect_element_DsReplicaLinkedAttribute3_attid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9120 offset = drsuapi_dissect_enum_DsAttributeId(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_attid, 0);
9122 return offset;
9125 static int
9126 drsuapi_dissect_element_DsReplicaLinkedAttribute3_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9128 offset = drsuapi_dissect_struct_DsAttributeValue(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_value,0);
9130 return offset;
9133 static int
9134 drsuapi_dissect_element_DsReplicaLinkedAttribute3_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9136 offset = drsuapi_dissect_bitmap_DsLinkedAttributeFlags(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_flags, 0);
9138 return offset;
9141 static int
9142 drsuapi_dissect_element_DsReplicaLinkedAttribute3_originating_add_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9144 offset = dissect_ndr_nt_NTTIME_1sec(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_originating_add_time);
9146 return offset;
9149 static int
9150 drsuapi_dissect_element_DsReplicaLinkedAttribute3_meta_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9152 offset = drsuapi_dissect_struct_DsReplicaMetaData(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_meta_data,0);
9154 return offset;
9157 static int
9158 drsuapi_dissect_element_DsReplicaLinkedAttribute3_unused1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9160 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_unused1, 0);
9162 return offset;
9165 static int
9166 drsuapi_dissect_element_DsReplicaLinkedAttribute3_unused2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9168 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_unused2, 0);
9170 return offset;
9173 static int
9174 drsuapi_dissect_element_DsReplicaLinkedAttribute3_unused3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9176 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_unused3, 0);
9178 return offset;
9181 static int
9182 drsuapi_dissect_element_DsReplicaLinkedAttribute3_timeExpired(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9184 offset = dissect_ndr_nt_NTTIME_1sec(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_timeExpired);
9186 return offset;
9190 drsuapi_dissect_struct_DsReplicaLinkedAttribute3(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_)
9192 proto_item *item = NULL;
9193 proto_tree *tree = NULL;
9194 int old_offset;
9196 ALIGN_TO_8_BYTES;
9198 old_offset = offset;
9200 if (parent_tree) {
9201 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9202 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaLinkedAttribute3);
9205 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute3_identifier(tvb, offset, pinfo, tree, di, drep);
9207 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute3_attid(tvb, offset, pinfo, tree, di, drep);
9209 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute3_value(tvb, offset, pinfo, tree, di, drep);
9211 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute3_flags(tvb, offset, pinfo, tree, di, drep);
9213 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute3_originating_add_time(tvb, offset, pinfo, tree, di, drep);
9215 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute3_meta_data(tvb, offset, pinfo, tree, di, drep);
9217 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute3_unused1(tvb, offset, pinfo, tree, di, drep);
9219 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute3_unused2(tvb, offset, pinfo, tree, di, drep);
9221 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute3_unused3(tvb, offset, pinfo, tree, di, drep);
9223 offset = drsuapi_dissect_element_DsReplicaLinkedAttribute3_timeExpired(tvb, offset, pinfo, tree, di, drep);
9226 proto_item_set_len(item, offset-old_offset);
9229 if (di->call_data->flags & DCERPC_IS_NDR64) {
9230 ALIGN_TO_8_BYTES;
9233 return offset;
9237 /* IDL: struct { */
9238 /* IDL: GUID source_dsa_guid; */
9239 /* IDL: GUID source_dsa_invocation_id; */
9240 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *naming_context; */
9241 /* IDL: drsuapi_DsReplicaHighWaterMark old_highwatermark; */
9242 /* IDL: drsuapi_DsReplicaHighWaterMark new_highwatermark; */
9243 /* IDL: [unique(1)] drsuapi_DsReplicaCursor2CtrEx *uptodateness_vector; */
9244 /* IDL: drsuapi_DsReplicaOIDMapping_Ctr mapping_ctr; */
9245 /* IDL: drsuapi_DsExtendedError extended_ret; */
9246 /* IDL: uint32 object_count; */
9247 /* IDL: [value(ndr_size_drsuapi_DsGetNCChangesCtr6(r,ndr->flags)+55)] uint32 __ndr_size; */
9248 /* IDL: [unique(1)] drsuapi_DsReplicaObjectListItemEx *first_object; */
9249 /* IDL: uint32 more_data; */
9250 /* IDL: uint32 nc_object_count; */
9251 /* IDL: uint32 nc_linked_attributes_count; */
9252 /* IDL: [range(0,1048576)] uint32 linked_attributes_count; */
9253 /* IDL: [size_is(linked_attributes_count)] [unique(1)] drsuapi_DsReplicaLinkedAttribute *linked_attributes; */
9254 /* IDL: WERROR drs_error; */
9255 /* IDL: } */
9257 static int
9258 drsuapi_dissect_element_DsGetNCChangesCtr6_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9260 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_source_dsa_guid, NULL);
9262 return offset;
9265 static int
9266 drsuapi_dissect_element_DsGetNCChangesCtr6_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9268 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_source_dsa_invocation_id, NULL);
9270 return offset;
9273 static int
9274 drsuapi_dissect_element_DsGetNCChangesCtr6_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9276 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesCtr6_naming_context_, NDR_POINTER_UNIQUE, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetNCChangesCtr6_naming_context);
9278 return offset;
9281 static int
9282 drsuapi_dissect_element_DsGetNCChangesCtr6_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9284 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6_naming_context,0);
9286 return offset;
9289 static int
9290 drsuapi_dissect_element_DsGetNCChangesCtr6_old_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9292 offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6_old_highwatermark,0);
9294 return offset;
9297 static int
9298 drsuapi_dissect_element_DsGetNCChangesCtr6_new_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9300 offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6_new_highwatermark,0);
9302 return offset;
9305 static int
9306 drsuapi_dissect_element_DsGetNCChangesCtr6_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9308 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesCtr6_uptodateness_vector_, NDR_POINTER_UNIQUE, "Pointer to Uptodateness Vector (drsuapi_DsReplicaCursor2CtrEx)",hf_drsuapi_drsuapi_DsGetNCChangesCtr6_uptodateness_vector);
9310 return offset;
9313 static int
9314 drsuapi_dissect_element_DsGetNCChangesCtr6_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9316 offset = drsuapi_dissect_struct_DsReplicaCursor2CtrEx(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6_uptodateness_vector,0);
9318 return offset;
9321 static int
9322 drsuapi_dissect_element_DsGetNCChangesCtr6_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9324 offset = drsuapi_dissect_struct_DsReplicaOIDMapping_Ctr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6_mapping_ctr,0);
9326 return offset;
9329 static int
9330 drsuapi_dissect_element_DsGetNCChangesCtr6_extended_ret(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9332 offset = drsuapi_dissect_enum_DsExtendedError(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_extended_ret, 0);
9334 return offset;
9337 static int
9338 drsuapi_dissect_element_DsGetNCChangesCtr6_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9340 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_object_count, 0);
9342 return offset;
9345 static int
9346 drsuapi_dissect_element_DsGetNCChangesCtr6___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9348 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6___ndr_size, 0);
9350 return offset;
9353 static int
9354 drsuapi_dissect_element_DsGetNCChangesCtr6_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9356 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesCtr6_first_object_, NDR_POINTER_UNIQUE, "Pointer to First Object (drsuapi_DsReplicaObjectListItemEx)",hf_drsuapi_drsuapi_DsGetNCChangesCtr6_first_object);
9358 return offset;
9361 static int
9362 drsuapi_dissect_element_DsGetNCChangesCtr6_first_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9364 offset = drsuapi_dissect_struct_DsReplicaObjectListItemEx(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6_first_object,0);
9366 return offset;
9369 static int
9370 drsuapi_dissect_element_DsGetNCChangesCtr6_more_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9372 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_more_data, 0);
9374 return offset;
9377 static int
9378 drsuapi_dissect_element_DsGetNCChangesCtr6_nc_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9380 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_nc_object_count, 0);
9382 return offset;
9385 static int
9386 drsuapi_dissect_element_DsGetNCChangesCtr6_nc_linked_attributes_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9388 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_nc_linked_attributes_count, 0);
9390 return offset;
9393 static int
9394 drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9396 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_linked_attributes_count, 0);
9398 return offset;
9401 static int
9402 drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9404 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes_, NDR_POINTER_UNIQUE, "Pointer to Linked Attributes (drsuapi_DsReplicaLinkedAttribute)",hf_drsuapi_drsuapi_DsGetNCChangesCtr6_linked_attributes);
9406 return offset;
9409 static int
9410 drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9412 struct ndr_generic_array nga = { .is_conformant = false, };
9414 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9416 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes__);
9418 return offset;
9421 static int
9422 drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9424 offset = drsuapi_dissect_struct_DsReplicaLinkedAttribute(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6_linked_attributes,0);
9426 return offset;
9429 static int
9430 drsuapi_dissect_element_DsGetNCChangesCtr6_drs_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9432 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_drs_error, 0);
9434 return offset;
9438 drsuapi_dissect_struct_DsGetNCChangesCtr6(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_)
9440 proto_item *item = NULL;
9441 proto_tree *tree = NULL;
9442 int old_offset;
9444 ALIGN_TO_8_BYTES;
9446 old_offset = offset;
9448 if (parent_tree) {
9449 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9450 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr6);
9453 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_source_dsa_guid(tvb, offset, pinfo, tree, di, drep);
9455 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
9457 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_naming_context(tvb, offset, pinfo, tree, di, drep);
9459 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_old_highwatermark(tvb, offset, pinfo, tree, di, drep);
9461 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_new_highwatermark(tvb, offset, pinfo, tree, di, drep);
9463 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_uptodateness_vector(tvb, offset, pinfo, tree, di, drep);
9465 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_mapping_ctr(tvb, offset, pinfo, tree, di, drep);
9467 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_extended_ret(tvb, offset, pinfo, tree, di, drep);
9469 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_object_count(tvb, offset, pinfo, tree, di, drep);
9471 offset = drsuapi_dissect_element_DsGetNCChangesCtr6___ndr_size(tvb, offset, pinfo, tree, di, drep);
9473 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_first_object(tvb, offset, pinfo, tree, di, drep);
9475 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_more_data(tvb, offset, pinfo, tree, di, drep);
9477 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_nc_object_count(tvb, offset, pinfo, tree, di, drep);
9479 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_nc_linked_attributes_count(tvb, offset, pinfo, tree, di, drep);
9481 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes_count(tvb, offset, pinfo, tree, di, drep);
9483 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes(tvb, offset, pinfo, tree, di, drep);
9485 offset = drsuapi_dissect_element_DsGetNCChangesCtr6_drs_error(tvb, offset, pinfo, tree, di, drep);
9488 proto_item_set_len(item, offset-old_offset);
9491 if (di->call_data->flags & DCERPC_IS_NDR64) {
9492 ALIGN_TO_8_BYTES;
9495 return offset;
9499 /* IDL: struct { */
9500 /* IDL: GUID source_dsa_guid; */
9501 /* IDL: GUID source_dsa_invocation_id; */
9502 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *naming_context; */
9503 /* IDL: drsuapi_DsReplicaHighWaterMark old_highwatermark; */
9504 /* IDL: drsuapi_DsReplicaHighWaterMark new_highwatermark; */
9505 /* IDL: [unique(1)] drsuapi_DsReplicaCursor2CtrEx *uptodateness_vector; */
9506 /* IDL: drsuapi_DsReplicaOIDMapping_Ctr mapping_ctr; */
9507 /* IDL: drsuapi_DsExtendedError extended_ret; */
9508 /* IDL: uint32 object_count; */
9509 /* IDL: [value(ndr_size_drsuapi_DsGetNCChangesCtr9(r,ndr->flags)+55)] uint32 __ndr_size; */
9510 /* IDL: [unique(1)] drsuapi_DsReplicaObjectListItemEx *first_object; */
9511 /* IDL: uint32 more_data; */
9512 /* IDL: uint32 nc_object_count; */
9513 /* IDL: uint32 nc_linked_attributes_count; */
9514 /* IDL: [range(0,1048576)] uint32 linked_attributes_count; */
9515 /* IDL: [size_is(linked_attributes_count)] [unique(1)] drsuapi_DsReplicaLinkedAttribute3 *linked_attributes; */
9516 /* IDL: WERROR drs_error; */
9517 /* IDL: } */
9519 static int
9520 drsuapi_dissect_element_DsGetNCChangesCtr9_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9522 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr9_source_dsa_guid, NULL);
9524 return offset;
9527 static int
9528 drsuapi_dissect_element_DsGetNCChangesCtr9_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9530 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr9_source_dsa_invocation_id, NULL);
9532 return offset;
9535 static int
9536 drsuapi_dissect_element_DsGetNCChangesCtr9_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9538 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesCtr9_naming_context_, NDR_POINTER_UNIQUE, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetNCChangesCtr9_naming_context);
9540 return offset;
9543 static int
9544 drsuapi_dissect_element_DsGetNCChangesCtr9_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9546 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr9_naming_context,0);
9548 return offset;
9551 static int
9552 drsuapi_dissect_element_DsGetNCChangesCtr9_old_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9554 offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr9_old_highwatermark,0);
9556 return offset;
9559 static int
9560 drsuapi_dissect_element_DsGetNCChangesCtr9_new_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9562 offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr9_new_highwatermark,0);
9564 return offset;
9567 static int
9568 drsuapi_dissect_element_DsGetNCChangesCtr9_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9570 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesCtr9_uptodateness_vector_, NDR_POINTER_UNIQUE, "Pointer to Uptodateness Vector (drsuapi_DsReplicaCursor2CtrEx)",hf_drsuapi_drsuapi_DsGetNCChangesCtr9_uptodateness_vector);
9572 return offset;
9575 static int
9576 drsuapi_dissect_element_DsGetNCChangesCtr9_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9578 offset = drsuapi_dissect_struct_DsReplicaCursor2CtrEx(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr9_uptodateness_vector,0);
9580 return offset;
9583 static int
9584 drsuapi_dissect_element_DsGetNCChangesCtr9_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9586 offset = drsuapi_dissect_struct_DsReplicaOIDMapping_Ctr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr9_mapping_ctr,0);
9588 return offset;
9591 static int
9592 drsuapi_dissect_element_DsGetNCChangesCtr9_extended_ret(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9594 offset = drsuapi_dissect_enum_DsExtendedError(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr9_extended_ret, 0);
9596 return offset;
9599 static int
9600 drsuapi_dissect_element_DsGetNCChangesCtr9_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9602 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr9_object_count, 0);
9604 return offset;
9607 static int
9608 drsuapi_dissect_element_DsGetNCChangesCtr9___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9610 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr9___ndr_size, 0);
9612 return offset;
9615 static int
9616 drsuapi_dissect_element_DsGetNCChangesCtr9_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9618 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesCtr9_first_object_, NDR_POINTER_UNIQUE, "Pointer to First Object (drsuapi_DsReplicaObjectListItemEx)",hf_drsuapi_drsuapi_DsGetNCChangesCtr9_first_object);
9620 return offset;
9623 static int
9624 drsuapi_dissect_element_DsGetNCChangesCtr9_first_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9626 offset = drsuapi_dissect_struct_DsReplicaObjectListItemEx(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr9_first_object,0);
9628 return offset;
9631 static int
9632 drsuapi_dissect_element_DsGetNCChangesCtr9_more_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9634 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr9_more_data, 0);
9636 return offset;
9639 static int
9640 drsuapi_dissect_element_DsGetNCChangesCtr9_nc_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9642 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr9_nc_object_count, 0);
9644 return offset;
9647 static int
9648 drsuapi_dissect_element_DsGetNCChangesCtr9_nc_linked_attributes_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9650 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr9_nc_linked_attributes_count, 0);
9652 return offset;
9655 static int
9656 drsuapi_dissect_element_DsGetNCChangesCtr9_linked_attributes_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9658 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr9_linked_attributes_count, 0);
9660 return offset;
9663 static int
9664 drsuapi_dissect_element_DsGetNCChangesCtr9_linked_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9666 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesCtr9_linked_attributes_, NDR_POINTER_UNIQUE, "Pointer to Linked Attributes (drsuapi_DsReplicaLinkedAttribute3)",hf_drsuapi_drsuapi_DsGetNCChangesCtr9_linked_attributes);
9668 return offset;
9671 static int
9672 drsuapi_dissect_element_DsGetNCChangesCtr9_linked_attributes_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9674 struct ndr_generic_array nga = { .is_conformant = false, };
9676 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9678 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetNCChangesCtr9_linked_attributes__);
9680 return offset;
9683 static int
9684 drsuapi_dissect_element_DsGetNCChangesCtr9_linked_attributes__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9686 offset = drsuapi_dissect_struct_DsReplicaLinkedAttribute3(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr9_linked_attributes,0);
9688 return offset;
9691 static int
9692 drsuapi_dissect_element_DsGetNCChangesCtr9_drs_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9694 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr9_drs_error, 0);
9696 return offset;
9700 drsuapi_dissect_struct_DsGetNCChangesCtr9(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_)
9702 proto_item *item = NULL;
9703 proto_tree *tree = NULL;
9704 int old_offset;
9706 ALIGN_TO_8_BYTES;
9708 old_offset = offset;
9710 if (parent_tree) {
9711 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9712 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr9);
9715 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_source_dsa_guid(tvb, offset, pinfo, tree, di, drep);
9717 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
9719 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_naming_context(tvb, offset, pinfo, tree, di, drep);
9721 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_old_highwatermark(tvb, offset, pinfo, tree, di, drep);
9723 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_new_highwatermark(tvb, offset, pinfo, tree, di, drep);
9725 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_uptodateness_vector(tvb, offset, pinfo, tree, di, drep);
9727 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_mapping_ctr(tvb, offset, pinfo, tree, di, drep);
9729 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_extended_ret(tvb, offset, pinfo, tree, di, drep);
9731 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_object_count(tvb, offset, pinfo, tree, di, drep);
9733 offset = drsuapi_dissect_element_DsGetNCChangesCtr9___ndr_size(tvb, offset, pinfo, tree, di, drep);
9735 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_first_object(tvb, offset, pinfo, tree, di, drep);
9737 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_more_data(tvb, offset, pinfo, tree, di, drep);
9739 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_nc_object_count(tvb, offset, pinfo, tree, di, drep);
9741 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_nc_linked_attributes_count(tvb, offset, pinfo, tree, di, drep);
9743 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_linked_attributes_count(tvb, offset, pinfo, tree, di, drep);
9745 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_linked_attributes(tvb, offset, pinfo, tree, di, drep);
9747 offset = drsuapi_dissect_element_DsGetNCChangesCtr9_drs_error(tvb, offset, pinfo, tree, di, drep);
9750 proto_item_set_len(item, offset-old_offset);
9753 if (di->call_data->flags & DCERPC_IS_NDR64) {
9754 ALIGN_TO_8_BYTES;
9757 return offset;
9761 /* IDL: struct { */
9762 /* IDL: [subcontext(0xFFFFFC01)] drsuapi_DsGetNCChangesCtr1 ctr1; */
9763 /* IDL: } */
9766 drsuapi_dissect_struct_DsGetNCChangesCtr1TS(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_)
9768 proto_item *item = NULL;
9769 proto_tree *tree = NULL;
9770 int old_offset;
9772 old_offset = offset;
9774 if (parent_tree) {
9775 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9776 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr1TS);
9779 offset = drsuapi_dissect_element_DsGetNCChangesCtr1TS_ctr1(tvb, offset, pinfo, tree, di, drep);
9782 proto_item_set_len(item, offset-old_offset);
9785 return offset;
9789 /* IDL: struct { */
9790 /* IDL: [subcontext(0xFFFFFC01)] drsuapi_DsGetNCChangesCtr6 ctr6; */
9791 /* IDL: } */
9793 static int
9794 drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9796 offset = drsuapi_dissect_struct_DsGetNCChangesCtr6(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6TS_ctr6,0);
9798 return offset;
9802 drsuapi_dissect_struct_DsGetNCChangesCtr6TS(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_)
9804 proto_item *item = NULL;
9805 proto_tree *tree = NULL;
9806 int old_offset;
9808 old_offset = offset;
9810 if (parent_tree) {
9811 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9812 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr6TS);
9815 offset = drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6(tvb, offset, pinfo, tree, di, drep);
9818 proto_item_set_len(item, offset-old_offset);
9821 return offset;
9825 /* IDL: struct { */
9826 /* IDL: [subcontext(0xFFFFFC01)] drsuapi_DsGetNCChangesCtr9 ctr9; */
9827 /* IDL: } */
9830 drsuapi_dissect_struct_DsGetNCChangesCtr9TS(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_)
9832 proto_item *item = NULL;
9833 proto_tree *tree = NULL;
9834 int old_offset;
9836 old_offset = offset;
9838 if (parent_tree) {
9839 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9840 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr9TS);
9843 offset = drsuapi_dissect_element_DsGetNCChangesCtr9TS_ctr9(tvb, offset, pinfo, tree, di, drep);
9846 proto_item_set_len(item, offset-old_offset);
9849 return offset;
9853 /* IDL: struct { */
9854 /* IDL: uint32 decompressed_length; */
9855 /* IDL: uint32 compressed_length; */
9856 /* IDL: [compression(NDR_COMPRESSION_MSZIP,compressed_length,decompressed_length)] [subcontext(4)] [subcontext_size(compressed_length)] [unique(1)] drsuapi_DsGetNCChangesCtr1TS *ts; */
9857 /* IDL: } */
9859 static int
9860 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9862 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_decompressed_length, 0);
9864 return offset;
9867 static int
9868 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9870 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_compressed_length, 0);
9872 return offset;
9875 static int
9876 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9878 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts_, NDR_POINTER_UNIQUE, "Pointer to Ts (drsuapi_DsGetNCChangesCtr1TS)",hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_ts);
9880 return offset;
9883 static int
9884 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9886 uint64_t size;
9887 int conformant = di->conformant_run;
9888 tvbuff_t *subtvb;
9890 if (!conformant) {
9891 uint32_t saved_flags = di->call_data->flags;
9892 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_ts_, &size);
9893 di->call_data->flags &= ~DCERPC_IS_NDR64;
9894 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
9895 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts__(subtvb, 0, pinfo, tree, di, drep);
9896 offset += (int)size;
9897 di->call_data->flags = saved_flags;
9900 return offset;
9903 static int
9904 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9906 offset = drsuapi_dissect_struct_DsGetNCChangesCtr1TS(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_ts,0);
9908 return offset;
9912 drsuapi_dissect_struct_DsGetNCChangesMSZIPCtr1(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_)
9914 proto_item *item = NULL;
9915 proto_tree *tree = NULL;
9916 int old_offset;
9918 ALIGN_TO_5_BYTES;
9920 old_offset = offset;
9922 if (parent_tree) {
9923 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9924 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1);
9927 offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_decompressed_length(tvb, offset, pinfo, tree, di, drep);
9929 offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_compressed_length(tvb, offset, pinfo, tree, di, drep);
9931 offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts(tvb, offset, pinfo, tree, di, drep);
9934 proto_item_set_len(item, offset-old_offset);
9937 if (di->call_data->flags & DCERPC_IS_NDR64) {
9938 ALIGN_TO_5_BYTES;
9941 return offset;
9945 /* IDL: struct { */
9946 /* IDL: uint32 decompressed_length; */
9947 /* IDL: uint32 compressed_length; */
9948 /* IDL: [compression(NDR_COMPRESSION_MSZIP,compressed_length,decompressed_length)] [subcontext(4)] [subcontext_size(compressed_length)] [unique(1)] drsuapi_DsGetNCChangesCtr6TS *ts; */
9949 /* IDL: } */
9951 static int
9952 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9954 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_decompressed_length, 0);
9956 return offset;
9959 static int
9960 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9962 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_compressed_length, 0);
9964 return offset;
9967 static int
9968 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9970 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts_, NDR_POINTER_UNIQUE, "Pointer to Ts (drsuapi_DsGetNCChangesCtr6TS)",hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_ts);
9972 return offset;
9975 static int
9976 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9978 uint64_t size;
9979 int conformant = di->conformant_run;
9980 tvbuff_t *subtvb;
9982 if (!conformant) {
9983 uint32_t saved_flags = di->call_data->flags;
9984 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_ts_, &size);
9985 di->call_data->flags &= ~DCERPC_IS_NDR64;
9986 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
9987 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts__(subtvb, 0, pinfo, tree, di, drep);
9988 offset += (int)size;
9989 di->call_data->flags = saved_flags;
9992 return offset;
9995 static int
9996 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9998 offset = drsuapi_dissect_struct_DsGetNCChangesCtr6TS(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_ts,0);
10000 return offset;
10004 drsuapi_dissect_struct_DsGetNCChangesMSZIPCtr6(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_)
10006 proto_item *item = NULL;
10007 proto_tree *tree = NULL;
10008 int old_offset;
10010 ALIGN_TO_5_BYTES;
10012 old_offset = offset;
10014 if (parent_tree) {
10015 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10016 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6);
10019 offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_decompressed_length(tvb, offset, pinfo, tree, di, drep);
10021 offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_compressed_length(tvb, offset, pinfo, tree, di, drep);
10023 offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts(tvb, offset, pinfo, tree, di, drep);
10026 proto_item_set_len(item, offset-old_offset);
10029 if (di->call_data->flags & DCERPC_IS_NDR64) {
10030 ALIGN_TO_5_BYTES;
10033 return offset;
10037 /* IDL: struct { */
10038 /* IDL: uint32 decompressed_length; */
10039 /* IDL: uint32 compressed_length; */
10040 /* IDL: [compression(NDR_COMPRESSION_MSZIP,compressed_length,decompressed_length)] [subcontext(4)] [subcontext_size(compressed_length)] [unique(1)] drsuapi_DsGetNCChangesCtr9TS *ts; */
10041 /* IDL: } */
10043 static int
10044 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10046 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9_decompressed_length, 0);
10048 return offset;
10051 static int
10052 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10054 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9_compressed_length, 0);
10056 return offset;
10059 static int
10060 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10062 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_ts_, NDR_POINTER_UNIQUE, "Pointer to Ts (drsuapi_DsGetNCChangesCtr9TS)",hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9_ts);
10064 return offset;
10067 static int
10068 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10070 uint64_t size;
10071 int conformant = di->conformant_run;
10072 tvbuff_t *subtvb;
10074 if (!conformant) {
10075 uint32_t saved_flags = di->call_data->flags;
10076 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9_ts_, &size);
10077 di->call_data->flags &= ~DCERPC_IS_NDR64;
10078 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
10079 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_ts__(subtvb, 0, pinfo, tree, di, drep);
10080 offset += (int)size;
10081 di->call_data->flags = saved_flags;
10084 return offset;
10087 static int
10088 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10090 offset = drsuapi_dissect_struct_DsGetNCChangesCtr9TS(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9_ts,0);
10092 return offset;
10096 drsuapi_dissect_struct_DsGetNCChangesMSZIPCtr9(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_)
10098 proto_item *item = NULL;
10099 proto_tree *tree = NULL;
10100 int old_offset;
10102 ALIGN_TO_5_BYTES;
10104 old_offset = offset;
10106 if (parent_tree) {
10107 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10108 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9);
10111 offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_decompressed_length(tvb, offset, pinfo, tree, di, drep);
10113 offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_compressed_length(tvb, offset, pinfo, tree, di, drep);
10115 offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr9_ts(tvb, offset, pinfo, tree, di, drep);
10118 proto_item_set_len(item, offset-old_offset);
10121 if (di->call_data->flags & DCERPC_IS_NDR64) {
10122 ALIGN_TO_5_BYTES;
10125 return offset;
10129 /* IDL: struct { */
10130 /* IDL: uint32 decompressed_length; */
10131 /* IDL: uint32 compressed_length; */
10132 /* IDL: [compression(NDR_COMPRESSION_XPRESS,compressed_length,decompressed_length)] [subcontext(4)] [subcontext_size(compressed_length)] [unique(1)] drsuapi_DsGetNCChangesCtr1TS *ts; */
10133 /* IDL: } */
10135 static int
10136 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10138 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_decompressed_length, 0);
10140 return offset;
10143 static int
10144 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10146 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_compressed_length, 0);
10148 return offset;
10151 static int
10152 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10154 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts_, NDR_POINTER_UNIQUE, "Pointer to Ts (drsuapi_DsGetNCChangesCtr1TS)",hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_ts);
10156 return offset;
10159 static int
10160 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10162 uint64_t size;
10163 int conformant = di->conformant_run;
10164 tvbuff_t *subtvb;
10166 if (!conformant) {
10167 uint32_t saved_flags = di->call_data->flags;
10168 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_ts_, &size);
10169 di->call_data->flags &= ~DCERPC_IS_NDR64;
10170 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
10171 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts__(subtvb, 0, pinfo, tree, di, drep);
10172 offset += (int)size;
10173 di->call_data->flags = saved_flags;
10176 return offset;
10179 static int
10180 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10182 offset = drsuapi_dissect_struct_DsGetNCChangesCtr1TS(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_ts,0);
10184 return offset;
10188 drsuapi_dissect_struct_DsGetNCChangesXPRESSCtr1(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_)
10190 proto_item *item = NULL;
10191 proto_tree *tree = NULL;
10192 int old_offset;
10194 ALIGN_TO_5_BYTES;
10196 old_offset = offset;
10198 if (parent_tree) {
10199 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10200 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1);
10203 offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_decompressed_length(tvb, offset, pinfo, tree, di, drep);
10205 offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_compressed_length(tvb, offset, pinfo, tree, di, drep);
10207 offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts(tvb, offset, pinfo, tree, di, drep);
10210 proto_item_set_len(item, offset-old_offset);
10213 if (di->call_data->flags & DCERPC_IS_NDR64) {
10214 ALIGN_TO_5_BYTES;
10217 return offset;
10221 /* IDL: struct { */
10222 /* IDL: uint32 decompressed_length; */
10223 /* IDL: uint32 compressed_length; */
10224 /* IDL: [compression(NDR_COMPRESSION_XPRESS,compressed_length,decompressed_length)] [subcontext(4)] [subcontext_size(compressed_length)] [unique(1)] drsuapi_DsGetNCChangesCtr6TS *ts; */
10225 /* IDL: } */
10227 static int
10228 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10230 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_decompressed_length, 0);
10232 return offset;
10235 static int
10236 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10238 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_compressed_length, 0);
10240 return offset;
10243 static int
10244 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10246 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts_, NDR_POINTER_UNIQUE, "Pointer to Ts (drsuapi_DsGetNCChangesCtr6TS)",hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_ts);
10248 return offset;
10251 static int
10252 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10254 uint64_t size;
10255 int conformant = di->conformant_run;
10256 tvbuff_t *subtvb;
10258 if (!conformant) {
10259 uint32_t saved_flags = di->call_data->flags;
10260 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_ts_, &size);
10261 di->call_data->flags &= ~DCERPC_IS_NDR64;
10262 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
10263 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts__(subtvb, 0, pinfo, tree, di, drep);
10264 offset += (int)size;
10265 di->call_data->flags = saved_flags;
10268 return offset;
10272 drsuapi_dissect_struct_DsGetNCChangesXPRESSCtr6(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_)
10274 proto_item *item = NULL;
10275 proto_tree *tree = NULL;
10276 int old_offset;
10278 ALIGN_TO_5_BYTES;
10280 old_offset = offset;
10282 if (parent_tree) {
10283 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10284 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6);
10287 offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_decompressed_length(tvb, offset, pinfo, tree, di, drep);
10289 offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_compressed_length(tvb, offset, pinfo, tree, di, drep);
10291 offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts(tvb, offset, pinfo, tree, di, drep);
10294 proto_item_set_len(item, offset-old_offset);
10297 if (di->call_data->flags & DCERPC_IS_NDR64) {
10298 ALIGN_TO_5_BYTES;
10301 return offset;
10305 /* IDL: struct { */
10306 /* IDL: uint32 decompressed_length; */
10307 /* IDL: uint32 compressed_length; */
10308 /* IDL: [compression(NDR_COMPRESSION_XPRESS,compressed_length,decompressed_length)] [subcontext(4)] [subcontext_size(compressed_length)] [unique(1)] drsuapi_DsGetNCChangesCtr9TS *ts; */
10309 /* IDL: } */
10311 static int
10312 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10314 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9_decompressed_length, 0);
10316 return offset;
10319 static int
10320 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10322 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9_compressed_length, 0);
10324 return offset;
10327 static int
10328 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10330 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_ts_, NDR_POINTER_UNIQUE, "Pointer to Ts (drsuapi_DsGetNCChangesCtr9TS)",hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9_ts);
10332 return offset;
10335 static int
10336 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10338 uint64_t size;
10339 int conformant = di->conformant_run;
10340 tvbuff_t *subtvb;
10342 if (!conformant) {
10343 uint32_t saved_flags = di->call_data->flags;
10344 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9_ts_, &size);
10345 di->call_data->flags &= ~DCERPC_IS_NDR64;
10346 subtvb = tvb_new_subset_length_caplen(tvb, offset, (int)size, (int)size);
10347 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_ts__(subtvb, 0, pinfo, tree, di, drep);
10348 offset += (int)size;
10349 di->call_data->flags = saved_flags;
10352 return offset;
10355 static int
10356 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10358 offset = drsuapi_dissect_struct_DsGetNCChangesCtr9TS(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9_ts,0);
10360 return offset;
10364 drsuapi_dissect_struct_DsGetNCChangesXPRESSCtr9(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_)
10366 proto_item *item = NULL;
10367 proto_tree *tree = NULL;
10368 int old_offset;
10370 ALIGN_TO_5_BYTES;
10372 old_offset = offset;
10374 if (parent_tree) {
10375 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10376 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9);
10379 offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_decompressed_length(tvb, offset, pinfo, tree, di, drep);
10381 offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_compressed_length(tvb, offset, pinfo, tree, di, drep);
10383 offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr9_ts(tvb, offset, pinfo, tree, di, drep);
10386 proto_item_set_len(item, offset-old_offset);
10389 if (di->call_data->flags & DCERPC_IS_NDR64) {
10390 ALIGN_TO_5_BYTES;
10393 return offset;
10397 /* IDL: enum { */
10398 /* IDL: DRSUAPI_COMPRESSION_TYPE_MSZIP=2, */
10399 /* IDL: DRSUAPI_COMPRESSION_TYPE_XPRESS=3, */
10400 /* IDL: } */
10403 drsuapi_dissect_enum_DsGetNCChangesCompressionType(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_, uint16_t *param _U_)
10405 uint16_t parameter=0;
10406 if (param) {
10407 parameter = *param;
10409 offset = dissect_ndr_uint16(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
10410 if (param) {
10411 *param = parameter;
10413 return offset;
10417 /* IDL: [flag(LIBNDR_PRINT_ARRAY_HEX)] [nodiscriminant(1)] union { */
10418 /* IDL: [case(1|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16))] [case(1|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16))] drsuapi_DsGetNCChangesMSZIPCtr1 mszip1; */
10419 /* IDL: [case(6|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16))] [case(6|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16))] drsuapi_DsGetNCChangesMSZIPCtr6 mszip6; */
10420 /* IDL: [case(9|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16))] [case(9|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16))] drsuapi_DsGetNCChangesMSZIPCtr9 mszip9; */
10421 /* IDL: [case(1|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16))] [case(1|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16))] drsuapi_DsGetNCChangesXPRESSCtr1 xpress1; */
10422 /* IDL: [case(6|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16))] [case(6|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16))] drsuapi_DsGetNCChangesXPRESSCtr6 xpress6; */
10423 /* IDL: [case(9|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16))] [case(9|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16))] drsuapi_DsGetNCChangesXPRESSCtr9 xpress9; */
10424 /* IDL: } */
10426 static int
10427 drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10429 offset = drsuapi_dissect_struct_DsGetNCChangesMSZIPCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip1,0);
10431 return offset;
10434 static int
10435 drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10437 offset = drsuapi_dissect_struct_DsGetNCChangesMSZIPCtr6(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip6,0);
10439 return offset;
10442 static int
10443 drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10445 offset = drsuapi_dissect_struct_DsGetNCChangesMSZIPCtr9(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip9,0);
10447 return offset;
10450 static int
10451 drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10453 offset = drsuapi_dissect_struct_DsGetNCChangesXPRESSCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress1,0);
10455 return offset;
10458 static int
10459 drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10461 offset = drsuapi_dissect_struct_DsGetNCChangesXPRESSCtr6(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress6,0);
10463 return offset;
10466 static int
10467 drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10469 offset = drsuapi_dissect_struct_DsGetNCChangesXPRESSCtr9(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress9,0);
10471 return offset;
10474 static int
10475 drsuapi_dissect_DsGetNCChangesCompressedCtr(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_)
10477 proto_item *item = NULL;
10478 proto_tree *tree = NULL;
10479 int old_offset;
10480 uint32_t level = param;
10482 old_offset = offset;
10483 if (parent_tree) {
10484 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsGetNCChangesCompressedCtr, &item, "drsuapi_DsGetNCChangesCompressedCtr");
10487 UNION_ALIGN_TO_5_BYTES;
10489 switch(level) {
10490 case 1|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16):
10491 offset = drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip1(tvb, offset, pinfo, tree, di, drep);
10492 break;
10494 case 6|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16):
10495 offset = drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip6(tvb, offset, pinfo, tree, di, drep);
10496 break;
10498 case 9|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16):
10499 offset = drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip9(tvb, offset, pinfo, tree, di, drep);
10500 break;
10502 case 1|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16):
10503 offset = drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress1(tvb, offset, pinfo, tree, di, drep);
10504 break;
10506 case 6|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16):
10507 offset = drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress6(tvb, offset, pinfo, tree, di, drep);
10508 break;
10510 case 9|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16):
10511 offset = drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress9(tvb, offset, pinfo, tree, di, drep);
10512 break;
10514 proto_item_set_len(item, offset-old_offset);
10517 return offset;
10520 /* IDL: struct { */
10521 /* IDL: drsuapi_DsGetNCChangesMSZIPCtr1 mszip1; */
10522 /* IDL: } */
10524 static int
10525 drsuapi_dissect_element_DsGetNCChangesCtr2_mszip1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10527 offset = drsuapi_dissect_struct_DsGetNCChangesMSZIPCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr2_mszip1,0);
10529 return offset;
10533 drsuapi_dissect_struct_DsGetNCChangesCtr2(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_)
10535 proto_item *item = NULL;
10536 proto_tree *tree = NULL;
10537 int old_offset;
10539 ALIGN_TO_5_BYTES;
10541 old_offset = offset;
10543 if (parent_tree) {
10544 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10545 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr2);
10548 offset = drsuapi_dissect_element_DsGetNCChangesCtr2_mszip1(tvb, offset, pinfo, tree, di, drep);
10551 proto_item_set_len(item, offset-old_offset);
10554 if (di->call_data->flags & DCERPC_IS_NDR64) {
10555 ALIGN_TO_5_BYTES;
10558 return offset;
10562 /* IDL: struct { */
10563 /* IDL: [range(0,9)] uint32 level; */
10564 /* IDL: [range(2,3)] drsuapi_DsGetNCChangesCompressionType type; */
10565 /* IDL: [switch_is(level|(type<<16))] drsuapi_DsGetNCChangesCompressedCtr ctr; */
10566 /* IDL: } */
10569 /* IDL: [switch_type(uint32)] union { */
10570 /* IDL: [case(1)] [case(1)] drsuapi_DsGetNCChangesCtr1 ctr1; */
10571 /* IDL: [case(2)] [case(2)] drsuapi_DsGetNCChangesCtr2 ctr2; */
10572 /* IDL: [case(6)] [case(6)] drsuapi_DsGetNCChangesCtr6 ctr6; */
10573 /* IDL: [case(7)] [case(7)] drsuapi_DsGetNCChangesCtr7 ctr7; */
10574 /* IDL: [case(9)] [case(9)] drsuapi_DsGetNCChangesCtr9 ctr9; */
10575 /* IDL: } */
10577 static int
10578 drsuapi_dissect_element_DsGetNCChangesCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10580 offset = drsuapi_dissect_struct_DsGetNCChangesCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr1,0);
10582 return offset;
10585 static int
10586 drsuapi_dissect_element_DsGetNCChangesCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10588 offset = drsuapi_dissect_struct_DsGetNCChangesCtr2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr2,0);
10590 return offset;
10593 static int
10594 drsuapi_dissect_element_DsGetNCChangesCtr_ctr6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10596 offset = drsuapi_dissect_struct_DsGetNCChangesCtr6(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr6,0);
10598 return offset;
10601 static int
10602 drsuapi_dissect_element_DsGetNCChangesCtr_ctr7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10604 offset = drsuapi_dissect_struct_DsGetNCChangesCtr7(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr7,0);
10606 return offset;
10609 static int
10610 drsuapi_dissect_element_DsGetNCChangesCtr_ctr9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10612 offset = drsuapi_dissect_struct_DsGetNCChangesCtr9(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr9,0);
10614 return offset;
10617 static int
10618 drsuapi_dissect_DsGetNCChangesCtr(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_)
10620 proto_item *item = NULL;
10621 proto_tree *tree = NULL;
10622 int old_offset;
10623 uint32_t level;
10625 old_offset = offset;
10626 if (parent_tree) {
10627 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsGetNCChangesCtr, &item, "drsuapi_DsGetNCChangesCtr");
10630 UNION_ALIGN_TO_8_BYTES;
10631 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
10632 UNION_ALIGN_TO_8_BYTES;
10634 switch(level) {
10635 case 1:
10636 offset = drsuapi_dissect_element_DsGetNCChangesCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
10637 break;
10639 case 2:
10640 offset = drsuapi_dissect_element_DsGetNCChangesCtr_ctr2(tvb, offset, pinfo, tree, di, drep);
10641 break;
10643 case 6:
10644 offset = drsuapi_dissect_element_DsGetNCChangesCtr_ctr6(tvb, offset, pinfo, tree, di, drep);
10645 break;
10647 case 7:
10648 offset = drsuapi_dissect_element_DsGetNCChangesCtr_ctr7(tvb, offset, pinfo, tree, di, drep);
10649 break;
10651 case 9:
10652 offset = drsuapi_dissect_element_DsGetNCChangesCtr_ctr9(tvb, offset, pinfo, tree, di, drep);
10653 break;
10655 proto_item_set_len(item, offset-old_offset);
10658 return offset;
10661 /* IDL: struct { */
10662 /* IDL: [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
10663 /* IDL: [charset(DOS)] [ref] uint8 *dest_dsa_dns_name; */
10664 /* IDL: GUID dest_dsa_guid; */
10665 /* IDL: drsuapi_DrsOptions options; */
10666 /* IDL: } */
10668 static int
10669 drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10671 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_naming_context);
10673 return offset;
10676 static int
10677 drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10679 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_naming_context,0);
10681 return offset;
10684 static int
10685 drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10687 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name_, NDR_POINTER_REF, "Pointer to Dest Dsa Dns Name (uint8)",hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name);
10689 return offset;
10692 static int
10693 drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10695 char *data = NULL;
10696 struct ndr_generic_array nga = { .is_conformant = false, };
10698 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
10700 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
10701 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint8_t), hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name, false, &nga, &data);
10702 proto_item_append_text(tree, ": %s", data);
10704 return offset;
10707 static int
10708 drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10710 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid, NULL);
10712 return offset;
10715 static int
10716 drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10718 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_options, 0);
10720 return offset;
10724 drsuapi_dissect_struct_DsReplicaUpdateRefsRequest1(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_)
10726 proto_item *item = NULL;
10727 proto_tree *tree = NULL;
10728 int old_offset;
10730 ALIGN_TO_5_BYTES;
10732 old_offset = offset;
10734 if (parent_tree) {
10735 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10736 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1);
10739 offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_naming_context(tvb, offset, pinfo, tree, di, drep);
10741 offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name(tvb, offset, pinfo, tree, di, drep);
10743 offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_guid(tvb, offset, pinfo, tree, di, drep);
10745 offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_options(tvb, offset, pinfo, tree, di, drep);
10748 proto_item_set_len(item, offset-old_offset);
10751 if (di->call_data->flags & DCERPC_IS_NDR64) {
10752 ALIGN_TO_5_BYTES;
10755 return offset;
10759 /* IDL: struct { */
10760 /* IDL: [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
10761 /* IDL: [charset(DOS)] [ref] uint8 *dest_dsa_dns_name; */
10762 /* IDL: GUID dest_dsa_guid; */
10763 /* IDL: drsuapi_DrsOptions options; */
10764 /* IDL: GUID correlationID; */
10765 /* IDL: [unique(1)] [value(NULL)] drsuapi_VAR_SIZE_BUFFER_WITH_VERSION *reserved_buffer; */
10766 /* IDL: } */
10768 static int
10769 drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10771 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_naming_context);
10773 return offset;
10776 static int
10777 drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10779 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_naming_context,0);
10781 return offset;
10784 static int
10785 drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_dest_dsa_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10787 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_dest_dsa_dns_name_, NDR_POINTER_REF, "Pointer to Dest Dsa Dns Name (uint8)",hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_dest_dsa_dns_name);
10789 return offset;
10792 static int
10793 drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_dest_dsa_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10795 char *data = NULL;
10796 struct ndr_generic_array nga = { .is_conformant = false, };
10798 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
10800 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
10801 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint8_t), hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_dest_dsa_dns_name, false, &nga, &data);
10802 proto_item_append_text(tree, ": %s", data);
10804 return offset;
10807 static int
10808 drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_dest_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10810 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_dest_dsa_guid, NULL);
10812 return offset;
10815 static int
10816 drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10818 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_options, 0);
10820 return offset;
10823 static int
10824 drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_correlationID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10826 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_correlationID, NULL);
10828 return offset;
10831 static int
10832 drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_reserved_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10834 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_reserved_buffer_, NDR_POINTER_UNIQUE, "Pointer to Reserved Buffer (drsuapi_VAR_SIZE_BUFFER_WITH_VERSION)",hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_reserved_buffer);
10836 return offset;
10839 static int
10840 drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_reserved_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10842 offset = drsuapi_dissect_struct_VAR_SIZE_BUFFER_WITH_VERSION(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_reserved_buffer,0);
10844 return offset;
10848 drsuapi_dissect_struct_DsReplicaUpdateRefsRequest2(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_)
10850 proto_item *item = NULL;
10851 proto_tree *tree = NULL;
10852 int old_offset;
10854 ALIGN_TO_5_BYTES;
10856 old_offset = offset;
10858 if (parent_tree) {
10859 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10860 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2);
10863 offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_naming_context(tvb, offset, pinfo, tree, di, drep);
10865 offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_dest_dsa_dns_name(tvb, offset, pinfo, tree, di, drep);
10867 offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_dest_dsa_guid(tvb, offset, pinfo, tree, di, drep);
10869 offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_options(tvb, offset, pinfo, tree, di, drep);
10871 offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_correlationID(tvb, offset, pinfo, tree, di, drep);
10873 offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest2_reserved_buffer(tvb, offset, pinfo, tree, di, drep);
10876 proto_item_set_len(item, offset-old_offset);
10879 if (di->call_data->flags & DCERPC_IS_NDR64) {
10880 ALIGN_TO_5_BYTES;
10883 return offset;
10887 /* IDL: [switch_type(uint32)] union { */
10888 /* IDL: [case(1)] [case(1)] drsuapi_DsReplicaUpdateRefsRequest1 req1; */
10889 /* IDL: [case(2)] [case(2)] drsuapi_DsReplicaUpdateRefsRequest2 req2; */
10890 /* IDL: } */
10892 static int
10893 drsuapi_dissect_element_DsReplicaUpdateRefsRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10895 offset = drsuapi_dissect_struct_DsReplicaUpdateRefsRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest_req1,0);
10897 return offset;
10900 static int
10901 drsuapi_dissect_element_DsReplicaUpdateRefsRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10903 offset = drsuapi_dissect_struct_DsReplicaUpdateRefsRequest2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest_req2,0);
10905 return offset;
10908 static int
10909 drsuapi_dissect_DsReplicaUpdateRefsRequest(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_)
10911 proto_item *item = NULL;
10912 proto_tree *tree = NULL;
10913 int old_offset;
10914 uint32_t level;
10916 old_offset = offset;
10917 if (parent_tree) {
10918 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest, &item, "drsuapi_DsReplicaUpdateRefsRequest");
10921 UNION_ALIGN_TO_5_BYTES;
10922 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
10923 UNION_ALIGN_TO_5_BYTES;
10925 switch(level) {
10926 case 1:
10927 offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest_req1(tvb, offset, pinfo, tree, di, drep);
10928 break;
10930 case 2:
10931 offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest_req2(tvb, offset, pinfo, tree, di, drep);
10932 break;
10934 proto_item_set_len(item, offset-old_offset);
10937 return offset;
10940 /* IDL: struct { */
10941 /* IDL: [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
10942 /* IDL: [charset(UTF16)] [unique(1)] uint16 *source_dsa_address; */
10943 /* IDL: uint8 schedule[84]; */
10944 /* IDL: drsuapi_DrsOptions options; */
10945 /* IDL: } */
10947 static int
10948 drsuapi_dissect_element_DsReplicaAddRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10950 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAddRequest1_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaAddRequest1_naming_context);
10952 return offset;
10955 static int
10956 drsuapi_dissect_element_DsReplicaAddRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10958 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest1_naming_context,0);
10960 return offset;
10963 static int
10964 drsuapi_dissect_element_DsReplicaAddRequest1_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10966 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAddRequest1_source_dsa_address_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Address (uint16)",hf_drsuapi_drsuapi_DsReplicaAddRequest1_source_dsa_address);
10968 return offset;
10971 static int
10972 drsuapi_dissect_element_DsReplicaAddRequest1_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10974 char *data = NULL;
10975 struct ndr_generic_array nga = { .is_conformant = false, };
10977 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
10979 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
10980 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaAddRequest1_source_dsa_address, false, &nga, &data);
10981 proto_item_append_text(tree, ": %s", data);
10983 return offset;
10986 static int
10987 drsuapi_dissect_element_DsReplicaAddRequest1_schedule(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10989 int i;
10990 for (i = 0; i < 84; i++)
10991 offset = drsuapi_dissect_element_DsReplicaAddRequest1_schedule_(tvb, offset, pinfo, tree, di, drep);
10993 return offset;
10996 static int
10997 drsuapi_dissect_element_DsReplicaAddRequest1_schedule_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10999 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAddRequest1_schedule, 0);
11001 return offset;
11004 static int
11005 drsuapi_dissect_element_DsReplicaAddRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11007 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAddRequest1_options, 0);
11009 return offset;
11013 drsuapi_dissect_struct_DsReplicaAddRequest1(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_)
11015 proto_item *item = NULL;
11016 proto_tree *tree = NULL;
11017 int old_offset;
11019 ALIGN_TO_5_BYTES;
11021 old_offset = offset;
11023 if (parent_tree) {
11024 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11025 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAddRequest1);
11028 offset = drsuapi_dissect_element_DsReplicaAddRequest1_naming_context(tvb, offset, pinfo, tree, di, drep);
11030 offset = drsuapi_dissect_element_DsReplicaAddRequest1_source_dsa_address(tvb, offset, pinfo, tree, di, drep);
11032 offset = drsuapi_dissect_element_DsReplicaAddRequest1_schedule(tvb, offset, pinfo, tree, di, drep);
11034 offset = drsuapi_dissect_element_DsReplicaAddRequest1_options(tvb, offset, pinfo, tree, di, drep);
11037 proto_item_set_len(item, offset-old_offset);
11040 if (di->call_data->flags & DCERPC_IS_NDR64) {
11041 ALIGN_TO_5_BYTES;
11044 return offset;
11048 /* IDL: struct { */
11049 /* IDL: [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
11050 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *source_dsa_dn; */
11051 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *transport_dn; */
11052 /* IDL: [charset(UTF16)] [unique(1)] uint16 *source_dsa_address; */
11053 /* IDL: uint8 schedule[84]; */
11054 /* IDL: drsuapi_DrsOptions options; */
11055 /* IDL: } */
11057 static int
11058 drsuapi_dissect_element_DsReplicaAddRequest2_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11060 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAddRequest2_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaAddRequest2_naming_context);
11062 return offset;
11065 static int
11066 drsuapi_dissect_element_DsReplicaAddRequest2_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11068 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest2_naming_context,0);
11070 return offset;
11073 static int
11074 drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11076 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_dn_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Dn (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_dn);
11078 return offset;
11081 static int
11082 drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11084 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_dn,0);
11086 return offset;
11089 static int
11090 drsuapi_dissect_element_DsReplicaAddRequest2_transport_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11092 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAddRequest2_transport_dn_, NDR_POINTER_UNIQUE, "Pointer to Transport Dn (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaAddRequest2_transport_dn);
11094 return offset;
11097 static int
11098 drsuapi_dissect_element_DsReplicaAddRequest2_transport_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11100 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest2_transport_dn,0);
11102 return offset;
11105 static int
11106 drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11108 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_address_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Address (uint16)",hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_address);
11110 return offset;
11113 static int
11114 drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11116 char *data = NULL;
11117 struct ndr_generic_array nga = { .is_conformant = false, };
11119 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
11121 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
11122 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_address, false, &nga, &data);
11123 proto_item_append_text(tree, ": %s", data);
11125 return offset;
11128 static int
11129 drsuapi_dissect_element_DsReplicaAddRequest2_schedule(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11131 int i;
11132 for (i = 0; i < 84; i++)
11133 offset = drsuapi_dissect_element_DsReplicaAddRequest2_schedule_(tvb, offset, pinfo, tree, di, drep);
11135 return offset;
11138 static int
11139 drsuapi_dissect_element_DsReplicaAddRequest2_schedule_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11141 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAddRequest2_schedule, 0);
11143 return offset;
11146 static int
11147 drsuapi_dissect_element_DsReplicaAddRequest2_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11149 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAddRequest2_options, 0);
11151 return offset;
11155 drsuapi_dissect_struct_DsReplicaAddRequest2(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_)
11157 proto_item *item = NULL;
11158 proto_tree *tree = NULL;
11159 int old_offset;
11161 ALIGN_TO_5_BYTES;
11163 old_offset = offset;
11165 if (parent_tree) {
11166 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11167 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAddRequest2);
11170 offset = drsuapi_dissect_element_DsReplicaAddRequest2_naming_context(tvb, offset, pinfo, tree, di, drep);
11172 offset = drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_dn(tvb, offset, pinfo, tree, di, drep);
11174 offset = drsuapi_dissect_element_DsReplicaAddRequest2_transport_dn(tvb, offset, pinfo, tree, di, drep);
11176 offset = drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_address(tvb, offset, pinfo, tree, di, drep);
11178 offset = drsuapi_dissect_element_DsReplicaAddRequest2_schedule(tvb, offset, pinfo, tree, di, drep);
11180 offset = drsuapi_dissect_element_DsReplicaAddRequest2_options(tvb, offset, pinfo, tree, di, drep);
11183 proto_item_set_len(item, offset-old_offset);
11186 if (di->call_data->flags & DCERPC_IS_NDR64) {
11187 ALIGN_TO_5_BYTES;
11190 return offset;
11194 /* IDL: struct { */
11195 /* IDL: [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
11196 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *source_dsa_dn; */
11197 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *transport_dn; */
11198 /* IDL: [charset(UTF16)] [unique(1)] uint16 *source_dsa_address; */
11199 /* IDL: uint8 schedule[84]; */
11200 /* IDL: drsuapi_DrsOptions options; */
11201 /* IDL: GUID correlationID; */
11202 /* IDL: [unique(1)] [value(NULL)] drsuapi_VAR_SIZE_BUFFER_WITH_VERSION *reserved_buffer; */
11203 /* IDL: } */
11205 static int
11206 drsuapi_dissect_element_DsReplicaAddRequest3_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11208 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAddRequest3_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaAddRequest3_naming_context);
11210 return offset;
11213 static int
11214 drsuapi_dissect_element_DsReplicaAddRequest3_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11216 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest3_naming_context,0);
11218 return offset;
11221 static int
11222 drsuapi_dissect_element_DsReplicaAddRequest3_source_dsa_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11224 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAddRequest3_source_dsa_dn_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Dn (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaAddRequest3_source_dsa_dn);
11226 return offset;
11229 static int
11230 drsuapi_dissect_element_DsReplicaAddRequest3_source_dsa_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11232 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest3_source_dsa_dn,0);
11234 return offset;
11237 static int
11238 drsuapi_dissect_element_DsReplicaAddRequest3_transport_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11240 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAddRequest3_transport_dn_, NDR_POINTER_UNIQUE, "Pointer to Transport Dn (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaAddRequest3_transport_dn);
11242 return offset;
11245 static int
11246 drsuapi_dissect_element_DsReplicaAddRequest3_transport_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11248 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest3_transport_dn,0);
11250 return offset;
11253 static int
11254 drsuapi_dissect_element_DsReplicaAddRequest3_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11256 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAddRequest3_source_dsa_address_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Address (uint16)",hf_drsuapi_drsuapi_DsReplicaAddRequest3_source_dsa_address);
11258 return offset;
11261 static int
11262 drsuapi_dissect_element_DsReplicaAddRequest3_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11264 char *data = NULL;
11265 struct ndr_generic_array nga = { .is_conformant = false, };
11267 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
11269 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
11270 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaAddRequest3_source_dsa_address, false, &nga, &data);
11271 proto_item_append_text(tree, ": %s", data);
11273 return offset;
11276 static int
11277 drsuapi_dissect_element_DsReplicaAddRequest3_schedule(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11279 int i;
11280 for (i = 0; i < 84; i++)
11281 offset = drsuapi_dissect_element_DsReplicaAddRequest3_schedule_(tvb, offset, pinfo, tree, di, drep);
11283 return offset;
11286 static int
11287 drsuapi_dissect_element_DsReplicaAddRequest3_schedule_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11289 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAddRequest3_schedule, 0);
11291 return offset;
11294 static int
11295 drsuapi_dissect_element_DsReplicaAddRequest3_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11297 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAddRequest3_options, 0);
11299 return offset;
11302 static int
11303 drsuapi_dissect_element_DsReplicaAddRequest3_correlationID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11305 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAddRequest3_correlationID, NULL);
11307 return offset;
11310 static int
11311 drsuapi_dissect_element_DsReplicaAddRequest3_reserved_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11313 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAddRequest3_reserved_buffer_, NDR_POINTER_UNIQUE, "Pointer to Reserved Buffer (drsuapi_VAR_SIZE_BUFFER_WITH_VERSION)",hf_drsuapi_drsuapi_DsReplicaAddRequest3_reserved_buffer);
11315 return offset;
11318 static int
11319 drsuapi_dissect_element_DsReplicaAddRequest3_reserved_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11321 offset = drsuapi_dissect_struct_VAR_SIZE_BUFFER_WITH_VERSION(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest3_reserved_buffer,0);
11323 return offset;
11327 drsuapi_dissect_struct_DsReplicaAddRequest3(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_)
11329 proto_item *item = NULL;
11330 proto_tree *tree = NULL;
11331 int old_offset;
11333 ALIGN_TO_5_BYTES;
11335 old_offset = offset;
11337 if (parent_tree) {
11338 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11339 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAddRequest3);
11342 offset = drsuapi_dissect_element_DsReplicaAddRequest3_naming_context(tvb, offset, pinfo, tree, di, drep);
11344 offset = drsuapi_dissect_element_DsReplicaAddRequest3_source_dsa_dn(tvb, offset, pinfo, tree, di, drep);
11346 offset = drsuapi_dissect_element_DsReplicaAddRequest3_transport_dn(tvb, offset, pinfo, tree, di, drep);
11348 offset = drsuapi_dissect_element_DsReplicaAddRequest3_source_dsa_address(tvb, offset, pinfo, tree, di, drep);
11350 offset = drsuapi_dissect_element_DsReplicaAddRequest3_schedule(tvb, offset, pinfo, tree, di, drep);
11352 offset = drsuapi_dissect_element_DsReplicaAddRequest3_options(tvb, offset, pinfo, tree, di, drep);
11354 offset = drsuapi_dissect_element_DsReplicaAddRequest3_correlationID(tvb, offset, pinfo, tree, di, drep);
11356 offset = drsuapi_dissect_element_DsReplicaAddRequest3_reserved_buffer(tvb, offset, pinfo, tree, di, drep);
11359 proto_item_set_len(item, offset-old_offset);
11362 if (di->call_data->flags & DCERPC_IS_NDR64) {
11363 ALIGN_TO_5_BYTES;
11366 return offset;
11370 /* IDL: [switch_type(uint32)] union { */
11371 /* IDL: [case(1)] [case(1)] drsuapi_DsReplicaAddRequest1 req1; */
11372 /* IDL: [case(2)] [case(2)] drsuapi_DsReplicaAddRequest2 req2; */
11373 /* IDL: [case(3)] [case(3)] drsuapi_DsReplicaAddRequest3 req3; */
11374 /* IDL: } */
11376 static int
11377 drsuapi_dissect_element_DsReplicaAddRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11379 offset = drsuapi_dissect_struct_DsReplicaAddRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest_req1,0);
11381 return offset;
11384 static int
11385 drsuapi_dissect_element_DsReplicaAddRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11387 offset = drsuapi_dissect_struct_DsReplicaAddRequest2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest_req2,0);
11389 return offset;
11392 static int
11393 drsuapi_dissect_element_DsReplicaAddRequest_req3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11395 offset = drsuapi_dissect_struct_DsReplicaAddRequest3(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest_req3,0);
11397 return offset;
11400 static int
11401 drsuapi_dissect_DsReplicaAddRequest(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_)
11403 proto_item *item = NULL;
11404 proto_tree *tree = NULL;
11405 int old_offset;
11406 uint32_t level;
11408 old_offset = offset;
11409 if (parent_tree) {
11410 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsReplicaAddRequest, &item, "drsuapi_DsReplicaAddRequest");
11413 UNION_ALIGN_TO_5_BYTES;
11414 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
11415 UNION_ALIGN_TO_5_BYTES;
11417 switch(level) {
11418 case 1:
11419 offset = drsuapi_dissect_element_DsReplicaAddRequest_req1(tvb, offset, pinfo, tree, di, drep);
11420 break;
11422 case 2:
11423 offset = drsuapi_dissect_element_DsReplicaAddRequest_req2(tvb, offset, pinfo, tree, di, drep);
11424 break;
11426 case 3:
11427 offset = drsuapi_dissect_element_DsReplicaAddRequest_req3(tvb, offset, pinfo, tree, di, drep);
11428 break;
11430 proto_item_set_len(item, offset-old_offset);
11433 return offset;
11436 /* IDL: struct { */
11437 /* IDL: [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
11438 /* IDL: [charset(UTF8)] [unique(1)] uint8 *source_dsa_address; */
11439 /* IDL: drsuapi_DrsOptions options; */
11440 /* IDL: } */
11442 static int
11443 drsuapi_dissect_element_DsReplicaDelRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11445 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaDelRequest1_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaDelRequest1_naming_context);
11447 return offset;
11450 static int
11451 drsuapi_dissect_element_DsReplicaDelRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11453 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaDelRequest1_naming_context,0);
11455 return offset;
11458 static int
11459 drsuapi_dissect_element_DsReplicaDelRequest1_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11461 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaDelRequest1_source_dsa_address_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Address (uint8)",hf_drsuapi_drsuapi_DsReplicaDelRequest1_source_dsa_address);
11463 return offset;
11466 static int
11467 drsuapi_dissect_element_DsReplicaDelRequest1_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11469 char *data = NULL;
11470 struct ndr_generic_array nga = { .is_conformant = false, };
11472 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
11474 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
11475 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint8_t), hf_drsuapi_drsuapi_DsReplicaDelRequest1_source_dsa_address, false, &nga, &data);
11476 proto_item_append_text(tree, ": %s", data);
11478 return offset;
11481 static int
11482 drsuapi_dissect_element_DsReplicaDelRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11484 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaDelRequest1_options, 0);
11486 return offset;
11490 drsuapi_dissect_struct_DsReplicaDelRequest1(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_)
11492 proto_item *item = NULL;
11493 proto_tree *tree = NULL;
11494 int old_offset;
11496 ALIGN_TO_5_BYTES;
11498 old_offset = offset;
11500 if (parent_tree) {
11501 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11502 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaDelRequest1);
11505 offset = drsuapi_dissect_element_DsReplicaDelRequest1_naming_context(tvb, offset, pinfo, tree, di, drep);
11507 offset = drsuapi_dissect_element_DsReplicaDelRequest1_source_dsa_address(tvb, offset, pinfo, tree, di, drep);
11509 offset = drsuapi_dissect_element_DsReplicaDelRequest1_options(tvb, offset, pinfo, tree, di, drep);
11512 proto_item_set_len(item, offset-old_offset);
11515 if (di->call_data->flags & DCERPC_IS_NDR64) {
11516 ALIGN_TO_5_BYTES;
11519 return offset;
11523 /* IDL: [switch_type(uint32)] union { */
11524 /* IDL: [case(1)] [case(1)] drsuapi_DsReplicaDelRequest1 req1; */
11525 /* IDL: } */
11527 static int
11528 drsuapi_dissect_element_DsReplicaDelRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11530 offset = drsuapi_dissect_struct_DsReplicaDelRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaDelRequest_req1,0);
11532 return offset;
11535 static int
11536 drsuapi_dissect_DsReplicaDelRequest(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_)
11538 proto_item *item = NULL;
11539 proto_tree *tree = NULL;
11540 int old_offset;
11541 uint32_t level;
11543 old_offset = offset;
11544 if (parent_tree) {
11545 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsReplicaDelRequest, &item, "drsuapi_DsReplicaDelRequest");
11548 UNION_ALIGN_TO_5_BYTES;
11549 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
11550 UNION_ALIGN_TO_5_BYTES;
11552 switch(level) {
11553 case 1:
11554 offset = drsuapi_dissect_element_DsReplicaDelRequest_req1(tvb, offset, pinfo, tree, di, drep);
11555 break;
11557 proto_item_set_len(item, offset-old_offset);
11560 return offset;
11563 /* IDL: struct { */
11564 /* IDL: [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
11565 /* IDL: GUID source_dra; */
11566 /* IDL: [charset(UTF16)] [unique(1)] uint16 *source_dra_address; */
11567 /* IDL: uint8 schedule[84]; */
11568 /* IDL: drsuapi_DrsOptions replica_flags; */
11569 /* IDL: uint32 modify_fields; */
11570 /* IDL: drsuapi_DrsOptions options; */
11571 /* IDL: } */
11573 static int
11574 drsuapi_dissect_element_DsReplicaModRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11576 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaModRequest1_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaModRequest1_naming_context);
11578 return offset;
11581 static int
11582 drsuapi_dissect_element_DsReplicaModRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11584 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaModRequest1_naming_context,0);
11586 return offset;
11589 static int
11590 drsuapi_dissect_element_DsReplicaModRequest1_source_dra(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11592 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaModRequest1_source_dra, NULL);
11594 return offset;
11597 static int
11598 drsuapi_dissect_element_DsReplicaModRequest1_source_dra_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11600 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaModRequest1_source_dra_address_, NDR_POINTER_UNIQUE, "Pointer to Source Dra Address (uint16)",hf_drsuapi_drsuapi_DsReplicaModRequest1_source_dra_address);
11602 return offset;
11605 static int
11606 drsuapi_dissect_element_DsReplicaModRequest1_source_dra_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11608 char *data = NULL;
11609 struct ndr_generic_array nga = { .is_conformant = false, };
11611 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
11613 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
11614 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaModRequest1_source_dra_address, false, &nga, &data);
11615 proto_item_append_text(tree, ": %s", data);
11617 return offset;
11620 static int
11621 drsuapi_dissect_element_DsReplicaModRequest1_schedule(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11623 int i;
11624 for (i = 0; i < 84; i++)
11625 offset = drsuapi_dissect_element_DsReplicaModRequest1_schedule_(tvb, offset, pinfo, tree, di, drep);
11627 return offset;
11630 static int
11631 drsuapi_dissect_element_DsReplicaModRequest1_schedule_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11633 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaModRequest1_schedule, 0);
11635 return offset;
11638 static int
11639 drsuapi_dissect_element_DsReplicaModRequest1_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11641 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaModRequest1_replica_flags, 0);
11643 return offset;
11646 static int
11647 drsuapi_dissect_element_DsReplicaModRequest1_modify_fields(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11649 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaModRequest1_modify_fields, 0);
11651 return offset;
11654 static int
11655 drsuapi_dissect_element_DsReplicaModRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11657 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaModRequest1_options, 0);
11659 return offset;
11663 drsuapi_dissect_struct_DsReplicaModRequest1(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_)
11665 proto_item *item = NULL;
11666 proto_tree *tree = NULL;
11667 int old_offset;
11669 ALIGN_TO_5_BYTES;
11671 old_offset = offset;
11673 if (parent_tree) {
11674 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11675 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaModRequest1);
11678 offset = drsuapi_dissect_element_DsReplicaModRequest1_naming_context(tvb, offset, pinfo, tree, di, drep);
11680 offset = drsuapi_dissect_element_DsReplicaModRequest1_source_dra(tvb, offset, pinfo, tree, di, drep);
11682 offset = drsuapi_dissect_element_DsReplicaModRequest1_source_dra_address(tvb, offset, pinfo, tree, di, drep);
11684 offset = drsuapi_dissect_element_DsReplicaModRequest1_schedule(tvb, offset, pinfo, tree, di, drep);
11686 offset = drsuapi_dissect_element_DsReplicaModRequest1_replica_flags(tvb, offset, pinfo, tree, di, drep);
11688 offset = drsuapi_dissect_element_DsReplicaModRequest1_modify_fields(tvb, offset, pinfo, tree, di, drep);
11690 offset = drsuapi_dissect_element_DsReplicaModRequest1_options(tvb, offset, pinfo, tree, di, drep);
11693 proto_item_set_len(item, offset-old_offset);
11696 if (di->call_data->flags & DCERPC_IS_NDR64) {
11697 ALIGN_TO_5_BYTES;
11700 return offset;
11704 /* IDL: [switch_type(uint32)] union { */
11705 /* IDL: [case(1)] [case(1)] drsuapi_DsReplicaModRequest1 req1; */
11706 /* IDL: } */
11708 static int
11709 drsuapi_dissect_element_DsReplicaModRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11711 offset = drsuapi_dissect_struct_DsReplicaModRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaModRequest_req1,0);
11713 return offset;
11716 static int
11717 drsuapi_dissect_DsReplicaModRequest(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_)
11719 proto_item *item = NULL;
11720 proto_tree *tree = NULL;
11721 int old_offset;
11722 uint32_t level;
11724 old_offset = offset;
11725 if (parent_tree) {
11726 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsReplicaModRequest, &item, "drsuapi_DsReplicaModRequest");
11729 UNION_ALIGN_TO_5_BYTES;
11730 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
11731 UNION_ALIGN_TO_5_BYTES;
11733 switch(level) {
11734 case 1:
11735 offset = drsuapi_dissect_element_DsReplicaModRequest_req1(tvb, offset, pinfo, tree, di, drep);
11736 break;
11738 proto_item_set_len(item, offset-old_offset);
11741 return offset;
11744 /* IDL: enum { */
11745 /* IDL: DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_AND_DOMAIN_GROUPS=1, */
11746 /* IDL: DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS=2, */
11747 /* IDL: DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS=3, */
11748 /* IDL: DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS2=4, */
11749 /* IDL: DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_GROUPS=5, */
11750 /* IDL: DRSUAPI_DS_MEMBERSHIP_TYPE_GROUPMEMBERS=6, */
11751 /* IDL: DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS2=7, */
11752 /* IDL: } */
11755 drsuapi_dissect_enum_DsMembershipType(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_)
11757 uint32_t parameter=0;
11758 if (param) {
11759 parameter = *param;
11761 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
11762 if (param) {
11763 *param = parameter;
11765 return offset;
11769 /* IDL: struct { */
11770 /* IDL: NTSTATUS status; */
11771 /* IDL: [range(0,10000)] uint32 num_memberships; */
11772 /* IDL: [range(0,10000)] uint32 num_sids; */
11773 /* IDL: [size_is(num_memberships)] [unique(1)] drsuapi_DsReplicaObjectIdentifier **info_array; */
11774 /* IDL: [size_is(num_memberships)] [unique(1)] security_GroupAttrs *group_attrs; */
11775 /* IDL: [size_is(num_sids)] [unique(1)] dom_sid28 **sids; */
11776 /* IDL: } */
11778 static int
11779 drsuapi_dissect_element_DsGetMembershipsCtr1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11781 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMembershipsCtr1_status, 0);
11783 return offset;
11786 static int
11787 drsuapi_dissect_element_DsGetMembershipsCtr1_num_memberships(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11789 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMembershipsCtr1_num_memberships, 0);
11791 return offset;
11794 static int
11795 drsuapi_dissect_element_DsGetMembershipsCtr1_num_sids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11797 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMembershipsCtr1_num_sids, 0);
11799 return offset;
11802 static int
11803 drsuapi_dissect_element_DsGetMembershipsCtr1_info_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11805 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMembershipsCtr1_info_array_, NDR_POINTER_UNIQUE, "Pointer to Info Array (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetMembershipsCtr1_info_array);
11807 return offset;
11810 static int
11811 drsuapi_dissect_element_DsGetMembershipsCtr1_info_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11813 struct ndr_generic_array nga = { .is_conformant = false, };
11815 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
11817 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetMembershipsCtr1_info_array__);
11819 return offset;
11822 static int
11823 drsuapi_dissect_element_DsGetMembershipsCtr1_info_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11825 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMembershipsCtr1_info_array___, NDR_POINTER_UNIQUE, "Pointer to Info Array (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetMembershipsCtr1_info_array);
11827 return offset;
11830 static int
11831 drsuapi_dissect_element_DsGetMembershipsCtr1_info_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11833 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetMembershipsCtr1_info_array,0);
11835 return offset;
11838 static int
11839 drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11841 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs_, NDR_POINTER_UNIQUE, "Pointer to Group Attrs (security_GroupAttrs)",hf_drsuapi_drsuapi_DsGetMembershipsCtr1_group_attrs);
11843 return offset;
11846 static int
11847 drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11849 struct ndr_generic_array nga = { .is_conformant = false, };
11851 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
11853 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs__);
11855 return offset;
11858 static int
11859 drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11861 offset = drsuapi_dissect_bitmap_security_GroupAttrs(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMembershipsCtr1_group_attrs, 0);
11863 return offset;
11866 static int
11867 drsuapi_dissect_element_DsGetMembershipsCtr1_sids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11869 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMembershipsCtr1_sids_, NDR_POINTER_UNIQUE, "Pointer to Sids (dom_sid28)",hf_drsuapi_drsuapi_DsGetMembershipsCtr1_sids);
11871 return offset;
11874 static int
11875 drsuapi_dissect_element_DsGetMembershipsCtr1_sids_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11877 struct ndr_generic_array nga = { .is_conformant = false, };
11879 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
11881 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetMembershipsCtr1_sids__);
11883 return offset;
11886 static int
11887 drsuapi_dissect_element_DsGetMembershipsCtr1_sids__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11889 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMembershipsCtr1_sids___, NDR_POINTER_UNIQUE, "Pointer to Sids (dom_sid28)",hf_drsuapi_drsuapi_DsGetMembershipsCtr1_sids);
11891 return offset;
11894 static int
11895 drsuapi_dissect_element_DsGetMembershipsCtr1_sids___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11897 offset = dissect_ndr_nt_SID28(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMembershipsCtr1_sids);
11899 return offset;
11903 drsuapi_dissect_struct_DsGetMembershipsCtr1(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_)
11905 proto_item *item = NULL;
11906 proto_tree *tree = NULL;
11907 int old_offset;
11909 ALIGN_TO_5_BYTES;
11911 old_offset = offset;
11913 if (parent_tree) {
11914 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11915 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetMembershipsCtr1);
11918 offset = drsuapi_dissect_element_DsGetMembershipsCtr1_status(tvb, offset, pinfo, tree, di, drep);
11920 offset = drsuapi_dissect_element_DsGetMembershipsCtr1_num_memberships(tvb, offset, pinfo, tree, di, drep);
11922 offset = drsuapi_dissect_element_DsGetMembershipsCtr1_num_sids(tvb, offset, pinfo, tree, di, drep);
11924 offset = drsuapi_dissect_element_DsGetMembershipsCtr1_info_array(tvb, offset, pinfo, tree, di, drep);
11926 offset = drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs(tvb, offset, pinfo, tree, di, drep);
11928 offset = drsuapi_dissect_element_DsGetMembershipsCtr1_sids(tvb, offset, pinfo, tree, di, drep);
11931 proto_item_set_len(item, offset-old_offset);
11934 if (di->call_data->flags & DCERPC_IS_NDR64) {
11935 ALIGN_TO_5_BYTES;
11938 return offset;
11942 /* IDL: [switch_type(uint32)] union { */
11943 /* IDL: [case(1)] [case(1)] drsuapi_DsGetMembershipsCtr1 ctr1; */
11944 /* IDL: } */
11946 static int
11947 drsuapi_dissect_element_DsGetMembershipsCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11949 offset = drsuapi_dissect_struct_DsGetMembershipsCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetMembershipsCtr_ctr1,0);
11951 return offset;
11954 static int
11955 drsuapi_dissect_DsGetMembershipsCtr(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_)
11957 proto_item *item = NULL;
11958 proto_tree *tree = NULL;
11959 int old_offset;
11960 uint32_t level;
11962 old_offset = offset;
11963 if (parent_tree) {
11964 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsGetMembershipsCtr, &item, "drsuapi_DsGetMembershipsCtr");
11967 UNION_ALIGN_TO_5_BYTES;
11968 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
11969 UNION_ALIGN_TO_5_BYTES;
11971 switch(level) {
11972 case 1:
11973 offset = drsuapi_dissect_element_DsGetMembershipsCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
11974 break;
11976 proto_item_set_len(item, offset-old_offset);
11979 return offset;
11982 /* IDL: struct { */
11983 /* IDL: [range(1,10000)] uint32 count; */
11984 /* IDL: [size_is(count)] [unique(1)] drsuapi_DsReplicaObjectIdentifier **info_array; */
11985 /* IDL: uint32 flags; */
11986 /* IDL: [range(1,7)] drsuapi_DsMembershipType type; */
11987 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *domain; */
11988 /* IDL: } */
11990 static int
11991 drsuapi_dissect_element_DsGetMembershipsRequest1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11993 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMembershipsRequest1_count, 0);
11995 return offset;
11998 static int
11999 drsuapi_dissect_element_DsGetMembershipsRequest1_info_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12001 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMembershipsRequest1_info_array_, NDR_POINTER_UNIQUE, "Pointer to Info Array (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetMembershipsRequest1_info_array);
12003 return offset;
12006 static int
12007 drsuapi_dissect_element_DsGetMembershipsRequest1_info_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12009 struct ndr_generic_array nga = { .is_conformant = false, };
12011 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
12013 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetMembershipsRequest1_info_array__);
12015 return offset;
12018 static int
12019 drsuapi_dissect_element_DsGetMembershipsRequest1_info_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12021 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMembershipsRequest1_info_array___, NDR_POINTER_UNIQUE, "Pointer to Info Array (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetMembershipsRequest1_info_array);
12023 return offset;
12026 static int
12027 drsuapi_dissect_element_DsGetMembershipsRequest1_info_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12029 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetMembershipsRequest1_info_array,0);
12031 return offset;
12034 static int
12035 drsuapi_dissect_element_DsGetMembershipsRequest1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12037 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMembershipsRequest1_flags, 0);
12039 return offset;
12042 static int
12043 drsuapi_dissect_element_DsGetMembershipsRequest1_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12045 offset = drsuapi_dissect_enum_DsMembershipType(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMembershipsRequest1_type, 0);
12047 return offset;
12050 static int
12051 drsuapi_dissect_element_DsGetMembershipsRequest1_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12053 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMembershipsRequest1_domain_, NDR_POINTER_UNIQUE, "Pointer to Domain (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetMembershipsRequest1_domain);
12055 return offset;
12058 static int
12059 drsuapi_dissect_element_DsGetMembershipsRequest1_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12061 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetMembershipsRequest1_domain,0);
12063 return offset;
12067 drsuapi_dissect_struct_DsGetMembershipsRequest1(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_)
12069 proto_item *item = NULL;
12070 proto_tree *tree = NULL;
12071 int old_offset;
12073 ALIGN_TO_5_BYTES;
12075 old_offset = offset;
12077 if (parent_tree) {
12078 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12079 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetMembershipsRequest1);
12082 offset = drsuapi_dissect_element_DsGetMembershipsRequest1_count(tvb, offset, pinfo, tree, di, drep);
12084 offset = drsuapi_dissect_element_DsGetMembershipsRequest1_info_array(tvb, offset, pinfo, tree, di, drep);
12086 offset = drsuapi_dissect_element_DsGetMembershipsRequest1_flags(tvb, offset, pinfo, tree, di, drep);
12088 offset = drsuapi_dissect_element_DsGetMembershipsRequest1_type(tvb, offset, pinfo, tree, di, drep);
12090 offset = drsuapi_dissect_element_DsGetMembershipsRequest1_domain(tvb, offset, pinfo, tree, di, drep);
12093 proto_item_set_len(item, offset-old_offset);
12096 if (di->call_data->flags & DCERPC_IS_NDR64) {
12097 ALIGN_TO_5_BYTES;
12100 return offset;
12104 /* IDL: [switch_type(uint32)] union { */
12105 /* IDL: [case(1)] [case(1)] drsuapi_DsGetMembershipsRequest1 req1; */
12106 /* IDL: } */
12108 static int
12109 drsuapi_dissect_element_DsGetMembershipsRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12111 offset = drsuapi_dissect_struct_DsGetMembershipsRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetMembershipsRequest_req1,0);
12113 return offset;
12116 static int
12117 drsuapi_dissect_DsGetMembershipsRequest(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_)
12119 proto_item *item = NULL;
12120 proto_tree *tree = NULL;
12121 int old_offset;
12122 uint32_t level;
12124 old_offset = offset;
12125 if (parent_tree) {
12126 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsGetMembershipsRequest, &item, "drsuapi_DsGetMembershipsRequest");
12129 UNION_ALIGN_TO_5_BYTES;
12130 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
12131 UNION_ALIGN_TO_5_BYTES;
12133 switch(level) {
12134 case 1:
12135 offset = drsuapi_dissect_element_DsGetMembershipsRequest_req1(tvb, offset, pinfo, tree, di, drep);
12136 break;
12138 proto_item_set_len(item, offset-old_offset);
12141 return offset;
12144 /* IDL: bitmap { */
12145 /* IDL: DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG = 0x00000001 , */
12146 /* IDL: DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS = 0x00000002 , */
12147 /* IDL: } */
12150 drsuapi_dissect_bitmap_DsGetNT4ChangeLogFlags(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_)
12152 proto_item *item;
12153 static int * const drsuapi_drsuapi_DsGetNT4ChangeLogFlags_fields[] = {
12154 &hf_drsuapi_drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG,
12155 &hf_drsuapi_drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS,
12156 NULL
12158 uint32_t flags;
12159 ALIGN_TO_4_BYTES;
12161 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
12162 ett_drsuapi_drsuapi_DsGetNT4ChangeLogFlags, drsuapi_drsuapi_DsGetNT4ChangeLogFlags_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
12164 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
12166 if (!flags)
12167 proto_item_append_text(item, ": (No values set)");
12169 if (flags & (~0x00000003)) {
12170 flags &= (~0x00000003);
12171 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
12174 return offset;
12178 /* IDL: struct { */
12179 /* IDL: drsuapi_DsGetNT4ChangeLogFlags flags; */
12180 /* IDL: uint32 preferred_maximum_length; */
12181 /* IDL: [range(0,0x00A00000)] uint32 restart_length; */
12182 /* IDL: [size_is(restart_length)] [unique(1)] uint8 *restart_data; */
12183 /* IDL: } */
12185 static int
12186 drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12188 offset = drsuapi_dissect_bitmap_DsGetNT4ChangeLogFlags(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_flags, 0);
12190 return offset;
12193 static int
12194 drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_preferred_maximum_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12196 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_preferred_maximum_length, 0);
12198 return offset;
12201 static int
12202 drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12204 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_restart_length, 0);
12206 return offset;
12209 static int
12210 drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12212 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data_, NDR_POINTER_UNIQUE, "Pointer to Restart Data (uint8)",hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_restart_data);
12214 return offset;
12217 static int
12218 drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12220 struct ndr_generic_array nga = { .is_conformant = false, };
12222 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
12224 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data__);
12226 return offset;
12229 static int
12230 drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12232 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_restart_data, 0);
12234 return offset;
12238 drsuapi_dissect_struct_DsGetNT4ChangeLogRequest1(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_)
12240 proto_item *item = NULL;
12241 proto_tree *tree = NULL;
12242 int old_offset;
12244 ALIGN_TO_5_BYTES;
12246 old_offset = offset;
12248 if (parent_tree) {
12249 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12250 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1);
12253 offset = drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_flags(tvb, offset, pinfo, tree, di, drep);
12255 offset = drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_preferred_maximum_length(tvb, offset, pinfo, tree, di, drep);
12257 offset = drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_length(tvb, offset, pinfo, tree, di, drep);
12259 offset = drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data(tvb, offset, pinfo, tree, di, drep);
12262 proto_item_set_len(item, offset-old_offset);
12265 if (di->call_data->flags & DCERPC_IS_NDR64) {
12266 ALIGN_TO_5_BYTES;
12269 return offset;
12273 /* IDL: [switch_type(uint32)] union { */
12274 /* IDL: [case(1)] [case(1)] drsuapi_DsGetNT4ChangeLogRequest1 req1; */
12275 /* IDL: } */
12277 static int
12278 drsuapi_dissect_element_DsGetNT4ChangeLogRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12280 offset = drsuapi_dissect_struct_DsGetNT4ChangeLogRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest_req1,0);
12282 return offset;
12285 static int
12286 drsuapi_dissect_DsGetNT4ChangeLogRequest(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_)
12288 proto_item *item = NULL;
12289 proto_tree *tree = NULL;
12290 int old_offset;
12291 uint32_t level;
12293 old_offset = offset;
12294 if (parent_tree) {
12295 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsGetNT4ChangeLogRequest, &item, "drsuapi_DsGetNT4ChangeLogRequest");
12298 UNION_ALIGN_TO_5_BYTES;
12299 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
12300 UNION_ALIGN_TO_5_BYTES;
12302 switch(level) {
12303 case 1:
12304 offset = drsuapi_dissect_element_DsGetNT4ChangeLogRequest_req1(tvb, offset, pinfo, tree, di, drep);
12305 break;
12307 proto_item_set_len(item, offset-old_offset);
12310 return offset;
12313 /* IDL: struct { */
12314 /* IDL: [range(0,0x00A00000)] uint32 restart_length; */
12315 /* IDL: [range(0,0x00A00000)] uint32 log_length; */
12316 /* IDL: hyper sam_serial_number; */
12317 /* IDL: NTTIME sam_creation_time; */
12318 /* IDL: hyper builtin_serial_number; */
12319 /* IDL: NTTIME builtin_creation_time; */
12320 /* IDL: hyper lsa_serial_number; */
12321 /* IDL: NTTIME lsa_creation_time; */
12322 /* IDL: NTSTATUS status; */
12323 /* IDL: [size_is(restart_length)] [unique(1)] uint8 *restart_data; */
12324 /* IDL: [size_is(log_length)] [unique(1)] uint8 *log_data; */
12325 /* IDL: } */
12327 static int
12328 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12330 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_restart_length, 0);
12332 return offset;
12335 static int
12336 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12338 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_log_length, 0);
12340 return offset;
12343 static int
12344 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_sam_serial_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12346 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_sam_serial_number, NULL);
12348 return offset;
12351 static int
12352 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_sam_creation_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12354 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_sam_creation_time);
12356 return offset;
12359 static int
12360 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_builtin_serial_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12362 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_builtin_serial_number, NULL);
12364 return offset;
12367 static int
12368 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_builtin_creation_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12370 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_builtin_creation_time);
12372 return offset;
12375 static int
12376 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_lsa_serial_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12378 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_lsa_serial_number, NULL);
12380 return offset;
12383 static int
12384 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_lsa_creation_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12386 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_lsa_creation_time);
12388 return offset;
12391 static int
12392 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12394 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_status, 0);
12396 return offset;
12399 static int
12400 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12402 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data_, NDR_POINTER_UNIQUE, "Pointer to Restart Data (uint8)",hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_restart_data);
12404 return offset;
12407 static int
12408 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12410 struct ndr_generic_array nga = { .is_conformant = false, };
12412 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
12414 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data__);
12416 return offset;
12419 static int
12420 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12422 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_restart_data, 0);
12424 return offset;
12427 static int
12428 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12430 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data_, NDR_POINTER_UNIQUE, "Pointer to Log Data (uint8)",hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_log_data);
12432 return offset;
12435 static int
12436 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12438 struct ndr_generic_array nga = { .is_conformant = false, };
12440 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
12442 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data__);
12444 return offset;
12447 static int
12448 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12450 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_log_data, 0);
12452 return offset;
12456 drsuapi_dissect_struct_DsGetNT4ChangeLogInfo1(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_)
12458 proto_item *item = NULL;
12459 proto_tree *tree = NULL;
12460 int old_offset;
12462 ALIGN_TO_8_BYTES;
12464 old_offset = offset;
12466 if (parent_tree) {
12467 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12468 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1);
12471 offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_length(tvb, offset, pinfo, tree, di, drep);
12473 offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_length(tvb, offset, pinfo, tree, di, drep);
12475 offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_sam_serial_number(tvb, offset, pinfo, tree, di, drep);
12477 offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_sam_creation_time(tvb, offset, pinfo, tree, di, drep);
12479 offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_builtin_serial_number(tvb, offset, pinfo, tree, di, drep);
12481 offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_builtin_creation_time(tvb, offset, pinfo, tree, di, drep);
12483 offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_lsa_serial_number(tvb, offset, pinfo, tree, di, drep);
12485 offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_lsa_creation_time(tvb, offset, pinfo, tree, di, drep);
12487 offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_status(tvb, offset, pinfo, tree, di, drep);
12489 offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data(tvb, offset, pinfo, tree, di, drep);
12491 offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data(tvb, offset, pinfo, tree, di, drep);
12494 proto_item_set_len(item, offset-old_offset);
12497 if (di->call_data->flags & DCERPC_IS_NDR64) {
12498 ALIGN_TO_8_BYTES;
12501 return offset;
12505 /* IDL: [switch_type(uint32)] union { */
12506 /* IDL: [case(1)] [case(1)] drsuapi_DsGetNT4ChangeLogInfo1 info1; */
12507 /* IDL: } */
12509 static int
12510 drsuapi_dissect_element_DsGetNT4ChangeLogInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12512 offset = drsuapi_dissect_struct_DsGetNT4ChangeLogInfo1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo_info1,0);
12514 return offset;
12517 static int
12518 drsuapi_dissect_DsGetNT4ChangeLogInfo(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_)
12520 proto_item *item = NULL;
12521 proto_tree *tree = NULL;
12522 int old_offset;
12523 uint32_t level;
12525 old_offset = offset;
12526 if (parent_tree) {
12527 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsGetNT4ChangeLogInfo, &item, "drsuapi_DsGetNT4ChangeLogInfo");
12530 UNION_ALIGN_TO_8_BYTES;
12531 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
12532 UNION_ALIGN_TO_8_BYTES;
12534 switch(level) {
12535 case 1:
12536 offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo_info1(tvb, offset, pinfo, tree, di, drep);
12537 break;
12539 proto_item_set_len(item, offset-old_offset);
12542 return offset;
12545 /* IDL: enum { */
12546 /* IDL: DRSUAPI_DS_NAME_STATUS_OK=0, */
12547 /* IDL: DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR=1, */
12548 /* IDL: DRSUAPI_DS_NAME_STATUS_NOT_FOUND=2, */
12549 /* IDL: DRSUAPI_DS_NAME_STATUS_NOT_UNIQUE=3, */
12550 /* IDL: DRSUAPI_DS_NAME_STATUS_NO_MAPPING=4, */
12551 /* IDL: DRSUAPI_DS_NAME_STATUS_DOMAIN_ONLY=5, */
12552 /* IDL: DRSUAPI_DS_NAME_STATUS_NO_SYNTACTICAL_MAPPING=6, */
12553 /* IDL: DRSUAPI_DS_NAME_STATUS_TRUST_REFERRAL=7, */
12554 /* IDL: } */
12557 drsuapi_dissect_enum_DsNameStatus(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_)
12559 uint32_t parameter=0;
12560 if (param) {
12561 parameter = *param;
12563 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
12564 if (param) {
12565 *param = parameter;
12567 return offset;
12571 /* IDL: enum { */
12572 /* IDL: DRSUAPI_DS_NAME_FLAG_NO_FLAGS=0x0, */
12573 /* IDL: DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY=0x1, */
12574 /* IDL: DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC=0x2, */
12575 /* IDL: DRSUAPI_DS_NAME_FLAG_GCVERIFY=0x4, */
12576 /* IDL: DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL=0x8, */
12577 /* IDL: } */
12580 drsuapi_dissect_enum_DsNameFlags(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_)
12582 uint32_t parameter=0;
12583 if (param) {
12584 parameter = *param;
12586 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
12587 if (param) {
12588 *param = parameter;
12590 return offset;
12594 /* IDL: enum { */
12595 /* IDL: DRSUAPI_DS_NAME_FORMAT_UNKNOWN=0x00000000, */
12596 /* IDL: DRSUAPI_DS_NAME_FORMAT_FQDN_1779=0x00000001, */
12597 /* IDL: DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT=0x00000002, */
12598 /* IDL: DRSUAPI_DS_NAME_FORMAT_DISPLAY=0x00000003, */
12599 /* IDL: DRSUAPI_DS_NAME_FORMAT_GUID=0x00000006, */
12600 /* IDL: DRSUAPI_DS_NAME_FORMAT_CANONICAL=0x00000007, */
12601 /* IDL: DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL=0x00000008, */
12602 /* IDL: DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX=0x00000009, */
12603 /* IDL: DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL=0x0000000A, */
12604 /* IDL: DRSUAPI_DS_NAME_FORMAT_SID_OR_SID_HISTORY=0x0000000B, */
12605 /* IDL: DRSUAPI_DS_NAME_FORMAT_DNS_DOMAIN=0x0000000C, */
12606 /* IDL: DRSUAPI_DS_NAME_FORMAT_UPN_AND_ALTSECID=0xFFFFFFEF, */
12607 /* IDL: DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT_NAME_SANS_DOMAIN_EX=0xFFFFFFF0, */
12608 /* IDL: DRSUAPI_DS_NAME_FORMAT_LIST_GLOBAL_CATALOG_SERVERS=0xFFFFFFF1, */
12609 /* IDL: DRSUAPI_DS_NAME_FORMAT_UPN_FOR_LOGON=0xFFFFFFF2, */
12610 /* IDL: DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_WITH_DCS_IN_SITE=0xFFFFFFF3, */
12611 /* IDL: DRSUAPI_DS_NAME_FORMAT_STRING_SID_NAME=0xFFFFFFF4, */
12612 /* IDL: DRSUAPI_DS_NAME_FORMAT_ALT_SECURITY_IDENTITIES_NAME=0xFFFFFFF5, */
12613 /* IDL: DRSUAPI_DS_NAME_FORMAT_LIST_NCS=0xFFFFFFF6, */
12614 /* IDL: DRSUAPI_DS_NAME_FORMAT_LIST_DOMAINS=0xFFFFFFF7, */
12615 /* IDL: DRSUAPI_DS_NAME_FORMAT_MAP_SCHEMA_GUID=0xFFFFFFF8, */
12616 /* IDL: DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT_NAME_SANS_DOMAIN=0xFFFFFFF9, */
12617 /* IDL: DRSUAPI_DS_NAME_FORMAT_LIST_ROLES=0xFFFFFFFA, */
12618 /* IDL: DRSUAPI_DS_NAME_FORMAT_LIST_INFO_FOR_SERVER=0xFFFFFFFB, */
12619 /* IDL: DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_FOR_DOMAIN_IN_SITE=0xFFFFFFFC, */
12620 /* IDL: DRSUAPI_DS_NAME_FORMAT_LIST_DOMAINS_IN_SITE=0xFFFFFFFD, */
12621 /* IDL: DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_IN_SITE=0xFFFFFFFE, */
12622 /* IDL: DRSUAPI_DS_NAME_FORMAT_LIST_SITES=0xFFFFFFFF, */
12623 /* IDL: } */
12626 drsuapi_dissect_enum_DsNameFormat(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_)
12628 uint32_t parameter=0;
12629 if (param) {
12630 parameter = *param;
12632 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
12633 if (param) {
12634 *param = parameter;
12636 return offset;
12640 /* IDL: struct { */
12641 /* IDL: [charset(UTF16)] [unique(1)] uint16 *str; */
12642 /* IDL: } */
12644 static int
12645 drsuapi_dissect_element_DsNameString_str(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12647 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsNameString_str_, NDR_POINTER_UNIQUE, "Pointer to Str (uint16)",hf_drsuapi_drsuapi_DsNameString_str);
12649 return offset;
12652 static int
12653 drsuapi_dissect_element_DsNameString_str_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12655 char *data = NULL;
12656 struct ndr_generic_array nga = { .is_conformant = false, };
12658 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
12660 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
12661 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsNameString_str, false, &nga, &data);
12662 proto_item_append_text(tree, ": %s", data);
12664 return offset;
12668 drsuapi_dissect_struct_DsNameString(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_)
12670 proto_item *item = NULL;
12671 proto_tree *tree = NULL;
12672 int old_offset;
12674 ALIGN_TO_5_BYTES;
12676 old_offset = offset;
12678 if (parent_tree) {
12679 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12680 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsNameString);
12683 offset = drsuapi_dissect_element_DsNameString_str(tvb, offset, pinfo, tree, di, drep);
12686 proto_item_set_len(item, offset-old_offset);
12689 if (di->call_data->flags & DCERPC_IS_NDR64) {
12690 ALIGN_TO_5_BYTES;
12693 return offset;
12697 /* IDL: struct { */
12698 /* IDL: uint32 codepage; */
12699 /* IDL: uint32 language; */
12700 /* IDL: drsuapi_DsNameFlags format_flags; */
12701 /* IDL: drsuapi_DsNameFormat format_offered; */
12702 /* IDL: drsuapi_DsNameFormat format_desired; */
12703 /* IDL: [range(1,10000)] uint32 count; */
12704 /* IDL: [size_is(count)] [unique(1)] drsuapi_DsNameString *names; */
12705 /* IDL: } */
12707 static int
12708 drsuapi_dissect_element_DsNameRequest1_codepage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12710 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsNameRequest1_codepage, 0);
12712 return offset;
12715 static int
12716 drsuapi_dissect_element_DsNameRequest1_language(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12718 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsNameRequest1_language, 0);
12720 return offset;
12723 static int
12724 drsuapi_dissect_element_DsNameRequest1_format_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12726 offset = drsuapi_dissect_enum_DsNameFlags(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsNameRequest1_format_flags, 0);
12728 return offset;
12731 static int
12732 drsuapi_dissect_element_DsNameRequest1_format_offered(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12734 offset = drsuapi_dissect_enum_DsNameFormat(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsNameRequest1_format_offered, 0);
12736 return offset;
12739 static int
12740 drsuapi_dissect_element_DsNameRequest1_format_desired(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12742 offset = drsuapi_dissect_enum_DsNameFormat(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsNameRequest1_format_desired, 0);
12744 return offset;
12747 static int
12748 drsuapi_dissect_element_DsNameRequest1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12750 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsNameRequest1_count, 0);
12752 return offset;
12755 static int
12756 drsuapi_dissect_element_DsNameRequest1_names(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12758 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsNameRequest1_names_, NDR_POINTER_UNIQUE, "Pointer to Names (drsuapi_DsNameString)",hf_drsuapi_drsuapi_DsNameRequest1_names);
12760 return offset;
12763 static int
12764 drsuapi_dissect_element_DsNameRequest1_names_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12766 struct ndr_generic_array nga = { .is_conformant = false, };
12768 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
12770 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsNameRequest1_names__);
12772 return offset;
12775 static int
12776 drsuapi_dissect_element_DsNameRequest1_names__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12778 offset = drsuapi_dissect_struct_DsNameString(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsNameRequest1_names,0);
12780 return offset;
12784 drsuapi_dissect_struct_DsNameRequest1(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_)
12786 proto_item *item = NULL;
12787 proto_tree *tree = NULL;
12788 int old_offset;
12790 ALIGN_TO_5_BYTES;
12792 old_offset = offset;
12794 if (parent_tree) {
12795 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12796 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsNameRequest1);
12799 offset = drsuapi_dissect_element_DsNameRequest1_codepage(tvb, offset, pinfo, tree, di, drep);
12801 offset = drsuapi_dissect_element_DsNameRequest1_language(tvb, offset, pinfo, tree, di, drep);
12803 offset = drsuapi_dissect_element_DsNameRequest1_format_flags(tvb, offset, pinfo, tree, di, drep);
12805 offset = drsuapi_dissect_element_DsNameRequest1_format_offered(tvb, offset, pinfo, tree, di, drep);
12807 offset = drsuapi_dissect_element_DsNameRequest1_format_desired(tvb, offset, pinfo, tree, di, drep);
12809 offset = drsuapi_dissect_element_DsNameRequest1_count(tvb, offset, pinfo, tree, di, drep);
12811 offset = drsuapi_dissect_element_DsNameRequest1_names(tvb, offset, pinfo, tree, di, drep);
12814 proto_item_set_len(item, offset-old_offset);
12817 if (di->call_data->flags & DCERPC_IS_NDR64) {
12818 ALIGN_TO_5_BYTES;
12821 return offset;
12825 /* IDL: [switch_type(uint32)] union { */
12826 /* IDL: [case(1)] [case(1)] drsuapi_DsNameRequest1 req1; */
12827 /* IDL: } */
12829 static int
12830 drsuapi_dissect_element_DsNameRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12832 offset = drsuapi_dissect_struct_DsNameRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsNameRequest_req1,0);
12834 return offset;
12837 static int
12838 drsuapi_dissect_DsNameRequest(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_)
12840 proto_item *item = NULL;
12841 proto_tree *tree = NULL;
12842 int old_offset;
12843 uint32_t level;
12845 old_offset = offset;
12846 if (parent_tree) {
12847 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsNameRequest, &item, "drsuapi_DsNameRequest");
12850 UNION_ALIGN_TO_5_BYTES;
12851 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
12852 UNION_ALIGN_TO_5_BYTES;
12854 switch(level) {
12855 case 1:
12856 offset = drsuapi_dissect_element_DsNameRequest_req1(tvb, offset, pinfo, tree, di, drep);
12857 break;
12859 proto_item_set_len(item, offset-old_offset);
12862 return offset;
12865 /* IDL: struct { */
12866 /* IDL: drsuapi_DsNameStatus status; */
12867 /* IDL: [charset(UTF16)] [unique(1)] uint16 *dns_domain_name; */
12868 /* IDL: [charset(UTF16)] [unique(1)] uint16 *result_name; */
12869 /* IDL: } */
12871 static int
12872 drsuapi_dissect_element_DsNameInfo1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12874 offset = drsuapi_dissect_enum_DsNameStatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsNameInfo1_status, 0);
12876 return offset;
12879 static int
12880 drsuapi_dissect_element_DsNameInfo1_dns_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12882 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsNameInfo1_dns_domain_name_, NDR_POINTER_UNIQUE, "Pointer to Dns Domain Name (uint16)",hf_drsuapi_drsuapi_DsNameInfo1_dns_domain_name);
12884 return offset;
12887 static int
12888 drsuapi_dissect_element_DsNameInfo1_dns_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12890 char *data = NULL;
12891 struct ndr_generic_array nga = { .is_conformant = false, };
12893 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
12895 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
12896 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsNameInfo1_dns_domain_name, false, &nga, &data);
12897 proto_item_append_text(tree, ": %s", data);
12899 return offset;
12902 static int
12903 drsuapi_dissect_element_DsNameInfo1_result_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12905 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsNameInfo1_result_name_, NDR_POINTER_UNIQUE, "Pointer to Result Name (uint16)",hf_drsuapi_drsuapi_DsNameInfo1_result_name);
12907 return offset;
12910 static int
12911 drsuapi_dissect_element_DsNameInfo1_result_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12913 char *data = NULL;
12914 struct ndr_generic_array nga = { .is_conformant = false, };
12916 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
12918 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
12919 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsNameInfo1_result_name, false, &nga, &data);
12920 proto_item_append_text(tree, ": %s", data);
12922 return offset;
12926 drsuapi_dissect_struct_DsNameInfo1(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_)
12928 proto_item *item = NULL;
12929 proto_tree *tree = NULL;
12930 int old_offset;
12932 ALIGN_TO_5_BYTES;
12934 old_offset = offset;
12936 if (parent_tree) {
12937 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12938 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsNameInfo1);
12941 offset = drsuapi_dissect_element_DsNameInfo1_status(tvb, offset, pinfo, tree, di, drep);
12943 offset = drsuapi_dissect_element_DsNameInfo1_dns_domain_name(tvb, offset, pinfo, tree, di, drep);
12945 offset = drsuapi_dissect_element_DsNameInfo1_result_name(tvb, offset, pinfo, tree, di, drep);
12948 proto_item_set_len(item, offset-old_offset);
12951 if (di->call_data->flags & DCERPC_IS_NDR64) {
12952 ALIGN_TO_5_BYTES;
12955 return offset;
12959 /* IDL: struct { */
12960 /* IDL: uint32 count; */
12961 /* IDL: [size_is(count)] [unique(1)] drsuapi_DsNameInfo1 *array; */
12962 /* IDL: } */
12964 static int
12965 drsuapi_dissect_element_DsNameCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12967 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsNameCtr1_count, 0);
12969 return offset;
12972 static int
12973 drsuapi_dissect_element_DsNameCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12975 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsNameCtr1_array_, NDR_POINTER_UNIQUE, "Pointer to Array (drsuapi_DsNameInfo1)",hf_drsuapi_drsuapi_DsNameCtr1_array);
12977 return offset;
12980 static int
12981 drsuapi_dissect_element_DsNameCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12983 struct ndr_generic_array nga = { .is_conformant = false, };
12985 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
12987 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsNameCtr1_array__);
12989 return offset;
12992 static int
12993 drsuapi_dissect_element_DsNameCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12995 offset = drsuapi_dissect_struct_DsNameInfo1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsNameCtr1_array,0);
12997 return offset;
13001 drsuapi_dissect_struct_DsNameCtr1(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_)
13003 proto_item *item = NULL;
13004 proto_tree *tree = NULL;
13005 int old_offset;
13007 ALIGN_TO_5_BYTES;
13009 old_offset = offset;
13011 if (parent_tree) {
13012 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13013 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsNameCtr1);
13016 offset = drsuapi_dissect_element_DsNameCtr1_count(tvb, offset, pinfo, tree, di, drep);
13018 offset = drsuapi_dissect_element_DsNameCtr1_array(tvb, offset, pinfo, tree, di, drep);
13021 proto_item_set_len(item, offset-old_offset);
13024 if (di->call_data->flags & DCERPC_IS_NDR64) {
13025 ALIGN_TO_5_BYTES;
13028 return offset;
13032 /* IDL: [switch_type(uint32)] union { */
13033 /* IDL: [case(1)] [case(1)] [unique(1)] drsuapi_DsNameCtr1 *ctr1; */
13034 /* IDL: } */
13036 static int
13037 drsuapi_dissect_element_DsNameCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13039 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsNameCtr_ctr1_, NDR_POINTER_UNIQUE, "Pointer to Ctr1 (drsuapi_DsNameCtr1)",hf_drsuapi_drsuapi_DsNameCtr_ctr1);
13041 return offset;
13044 static int
13045 drsuapi_dissect_element_DsNameCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13047 offset = drsuapi_dissect_struct_DsNameCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsNameCtr_ctr1,0);
13049 return offset;
13052 static int
13053 drsuapi_dissect_DsNameCtr(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_)
13055 proto_item *item = NULL;
13056 proto_tree *tree = NULL;
13057 int old_offset;
13058 uint32_t level;
13060 old_offset = offset;
13061 if (parent_tree) {
13062 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsNameCtr, &item, "drsuapi_DsNameCtr");
13065 UNION_ALIGN_TO_5_BYTES;
13066 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
13067 UNION_ALIGN_TO_5_BYTES;
13069 switch(level) {
13070 case 1:
13071 offset = drsuapi_dissect_element_DsNameCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
13072 break;
13074 proto_item_set_len(item, offset-old_offset);
13077 return offset;
13080 /* IDL: enum { */
13081 /* IDL: DRSUAPI_DS_SPN_OPERATION_ADD=0, */
13082 /* IDL: DRSUAPI_DS_SPN_OPERATION_REPLACE=1, */
13083 /* IDL: DRSUAPI_DS_SPN_OPERATION_DELETE=2, */
13084 /* IDL: } */
13087 drsuapi_dissect_enum_DsSpnOperation(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_)
13089 uint32_t parameter=0;
13090 if (param) {
13091 parameter = *param;
13093 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
13094 if (param) {
13095 *param = parameter;
13097 return offset;
13101 /* IDL: struct { */
13102 /* IDL: drsuapi_DsSpnOperation operation; */
13103 /* IDL: uint32 unknown1; */
13104 /* IDL: [charset(UTF16)] [unique(1)] uint16 *object_dn; */
13105 /* IDL: [range(0,10000)] uint32 count; */
13106 /* IDL: [size_is(count)] [unique(1)] drsuapi_DsNameString *spn_names; */
13107 /* IDL: } */
13109 static int
13110 drsuapi_dissect_element_DsWriteAccountSpnRequest1_operation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13112 offset = drsuapi_dissect_enum_DsSpnOperation(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_operation, 0);
13114 return offset;
13117 static int
13118 drsuapi_dissect_element_DsWriteAccountSpnRequest1_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13120 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_unknown1, 0);
13122 return offset;
13125 static int
13126 drsuapi_dissect_element_DsWriteAccountSpnRequest1_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13128 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsWriteAccountSpnRequest1_object_dn_, NDR_POINTER_UNIQUE, "Pointer to Object Dn (uint16)",hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_object_dn);
13130 return offset;
13133 static int
13134 drsuapi_dissect_element_DsWriteAccountSpnRequest1_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13136 char *data = NULL;
13137 struct ndr_generic_array nga = { .is_conformant = false, };
13139 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13141 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13142 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_object_dn, false, &nga, &data);
13143 proto_item_append_text(tree, ": %s", data);
13145 return offset;
13148 static int
13149 drsuapi_dissect_element_DsWriteAccountSpnRequest1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13151 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_count, 0);
13153 return offset;
13156 static int
13157 drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13159 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names_, NDR_POINTER_UNIQUE, "Pointer to Spn Names (drsuapi_DsNameString)",hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_spn_names);
13161 return offset;
13164 static int
13165 drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13167 struct ndr_generic_array nga = { .is_conformant = false, };
13169 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13171 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names__);
13173 return offset;
13176 static int
13177 drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13179 offset = drsuapi_dissect_struct_DsNameString(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_spn_names,0);
13181 return offset;
13185 drsuapi_dissect_struct_DsWriteAccountSpnRequest1(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_)
13187 proto_item *item = NULL;
13188 proto_tree *tree = NULL;
13189 int old_offset;
13191 ALIGN_TO_5_BYTES;
13193 old_offset = offset;
13195 if (parent_tree) {
13196 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13197 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsWriteAccountSpnRequest1);
13200 offset = drsuapi_dissect_element_DsWriteAccountSpnRequest1_operation(tvb, offset, pinfo, tree, di, drep);
13202 offset = drsuapi_dissect_element_DsWriteAccountSpnRequest1_unknown1(tvb, offset, pinfo, tree, di, drep);
13204 offset = drsuapi_dissect_element_DsWriteAccountSpnRequest1_object_dn(tvb, offset, pinfo, tree, di, drep);
13206 offset = drsuapi_dissect_element_DsWriteAccountSpnRequest1_count(tvb, offset, pinfo, tree, di, drep);
13208 offset = drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names(tvb, offset, pinfo, tree, di, drep);
13211 proto_item_set_len(item, offset-old_offset);
13214 if (di->call_data->flags & DCERPC_IS_NDR64) {
13215 ALIGN_TO_5_BYTES;
13218 return offset;
13222 /* IDL: [switch_type(uint32)] union { */
13223 /* IDL: [case(1)] [case(1)] drsuapi_DsWriteAccountSpnRequest1 req1; */
13224 /* IDL: } */
13226 static int
13227 drsuapi_dissect_element_DsWriteAccountSpnRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13229 offset = drsuapi_dissect_struct_DsWriteAccountSpnRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsWriteAccountSpnRequest_req1,0);
13231 return offset;
13234 static int
13235 drsuapi_dissect_DsWriteAccountSpnRequest(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_)
13237 proto_item *item = NULL;
13238 proto_tree *tree = NULL;
13239 int old_offset;
13240 uint32_t level;
13242 old_offset = offset;
13243 if (parent_tree) {
13244 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsWriteAccountSpnRequest, &item, "drsuapi_DsWriteAccountSpnRequest");
13247 UNION_ALIGN_TO_5_BYTES;
13248 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
13249 UNION_ALIGN_TO_5_BYTES;
13251 switch(level) {
13252 case 1:
13253 offset = drsuapi_dissect_element_DsWriteAccountSpnRequest_req1(tvb, offset, pinfo, tree, di, drep);
13254 break;
13256 proto_item_set_len(item, offset-old_offset);
13259 return offset;
13262 /* IDL: struct { */
13263 /* IDL: WERROR status; */
13264 /* IDL: } */
13266 static int
13267 drsuapi_dissect_element_DsWriteAccountSpnResult1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13269 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsWriteAccountSpnResult1_status, 0);
13271 return offset;
13275 drsuapi_dissect_struct_DsWriteAccountSpnResult1(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_)
13277 proto_item *item = NULL;
13278 proto_tree *tree = NULL;
13279 int old_offset;
13281 ALIGN_TO_4_BYTES;
13283 old_offset = offset;
13285 if (parent_tree) {
13286 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13287 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsWriteAccountSpnResult1);
13290 offset = drsuapi_dissect_element_DsWriteAccountSpnResult1_status(tvb, offset, pinfo, tree, di, drep);
13293 proto_item_set_len(item, offset-old_offset);
13296 if (di->call_data->flags & DCERPC_IS_NDR64) {
13297 ALIGN_TO_4_BYTES;
13300 return offset;
13304 /* IDL: [switch_type(uint32)] union { */
13305 /* IDL: [case(1)] [case(1)] drsuapi_DsWriteAccountSpnResult1 res1; */
13306 /* IDL: } */
13308 static int
13309 drsuapi_dissect_element_DsWriteAccountSpnResult_res1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13311 offset = drsuapi_dissect_struct_DsWriteAccountSpnResult1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsWriteAccountSpnResult_res1,0);
13313 return offset;
13316 static int
13317 drsuapi_dissect_DsWriteAccountSpnResult(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_)
13319 proto_item *item = NULL;
13320 proto_tree *tree = NULL;
13321 int old_offset;
13322 uint32_t level;
13324 old_offset = offset;
13325 if (parent_tree) {
13326 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsWriteAccountSpnResult, &item, "drsuapi_DsWriteAccountSpnResult");
13329 UNION_ALIGN_TO_4_BYTES;
13330 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
13331 UNION_ALIGN_TO_4_BYTES;
13333 switch(level) {
13334 case 1:
13335 offset = drsuapi_dissect_element_DsWriteAccountSpnResult_res1(tvb, offset, pinfo, tree, di, drep);
13336 break;
13338 proto_item_set_len(item, offset-old_offset);
13341 return offset;
13344 /* IDL: struct { */
13345 /* IDL: [charset(UTF16)] [unique(1)] uint16 *server_dn; */
13346 /* IDL: [charset(UTF16)] [unique(1)] uint16 *domain_dn; */
13347 /* IDL: uint32 commit; */
13348 /* IDL: } */
13350 static int
13351 drsuapi_dissect_element_DsRemoveDSServerRequest1_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13353 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsRemoveDSServerRequest1_server_dn_, NDR_POINTER_UNIQUE, "Pointer to Server Dn (uint16)",hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_server_dn);
13355 return offset;
13358 static int
13359 drsuapi_dissect_element_DsRemoveDSServerRequest1_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13361 char *data = NULL;
13362 struct ndr_generic_array nga = { .is_conformant = false, };
13364 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13366 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13367 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_server_dn, false, &nga, &data);
13368 proto_item_append_text(tree, ": %s", data);
13370 return offset;
13373 static int
13374 drsuapi_dissect_element_DsRemoveDSServerRequest1_domain_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13376 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsRemoveDSServerRequest1_domain_dn_, NDR_POINTER_UNIQUE, "Pointer to Domain Dn (uint16)",hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_domain_dn);
13378 return offset;
13381 static int
13382 drsuapi_dissect_element_DsRemoveDSServerRequest1_domain_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13384 char *data = NULL;
13385 struct ndr_generic_array nga = { .is_conformant = false, };
13387 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13389 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13390 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_domain_dn, false, &nga, &data);
13391 proto_item_append_text(tree, ": %s", data);
13393 return offset;
13396 static int
13397 drsuapi_dissect_element_DsRemoveDSServerRequest1_commit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13399 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_commit, 0);
13401 return offset;
13405 drsuapi_dissect_struct_DsRemoveDSServerRequest1(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_)
13407 proto_item *item = NULL;
13408 proto_tree *tree = NULL;
13409 int old_offset;
13411 ALIGN_TO_5_BYTES;
13413 old_offset = offset;
13415 if (parent_tree) {
13416 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13417 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsRemoveDSServerRequest1);
13420 offset = drsuapi_dissect_element_DsRemoveDSServerRequest1_server_dn(tvb, offset, pinfo, tree, di, drep);
13422 offset = drsuapi_dissect_element_DsRemoveDSServerRequest1_domain_dn(tvb, offset, pinfo, tree, di, drep);
13424 offset = drsuapi_dissect_element_DsRemoveDSServerRequest1_commit(tvb, offset, pinfo, tree, di, drep);
13427 proto_item_set_len(item, offset-old_offset);
13430 if (di->call_data->flags & DCERPC_IS_NDR64) {
13431 ALIGN_TO_5_BYTES;
13434 return offset;
13438 /* IDL: [switch_type(uint32)] union { */
13439 /* IDL: [case(1)] [case(1)] drsuapi_DsRemoveDSServerRequest1 req1; */
13440 /* IDL: } */
13442 static int
13443 drsuapi_dissect_element_DsRemoveDSServerRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13445 offset = drsuapi_dissect_struct_DsRemoveDSServerRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsRemoveDSServerRequest_req1,0);
13447 return offset;
13450 static int
13451 drsuapi_dissect_DsRemoveDSServerRequest(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_)
13453 proto_item *item = NULL;
13454 proto_tree *tree = NULL;
13455 int old_offset;
13456 uint32_t level;
13458 old_offset = offset;
13459 if (parent_tree) {
13460 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsRemoveDSServerRequest, &item, "drsuapi_DsRemoveDSServerRequest");
13463 UNION_ALIGN_TO_5_BYTES;
13464 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
13465 UNION_ALIGN_TO_5_BYTES;
13467 switch(level) {
13468 case 1:
13469 offset = drsuapi_dissect_element_DsRemoveDSServerRequest_req1(tvb, offset, pinfo, tree, di, drep);
13470 break;
13472 proto_item_set_len(item, offset-old_offset);
13475 return offset;
13478 /* IDL: struct { */
13479 /* IDL: uint32 last_dc_in_domain; */
13480 /* IDL: } */
13482 static int
13483 drsuapi_dissect_element_DsRemoveDSServerResult1_last_dc_in_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13485 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsRemoveDSServerResult1_last_dc_in_domain, 0);
13487 return offset;
13491 drsuapi_dissect_struct_DsRemoveDSServerResult1(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_)
13493 proto_item *item = NULL;
13494 proto_tree *tree = NULL;
13495 int old_offset;
13497 ALIGN_TO_4_BYTES;
13499 old_offset = offset;
13501 if (parent_tree) {
13502 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13503 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsRemoveDSServerResult1);
13506 offset = drsuapi_dissect_element_DsRemoveDSServerResult1_last_dc_in_domain(tvb, offset, pinfo, tree, di, drep);
13509 proto_item_set_len(item, offset-old_offset);
13512 if (di->call_data->flags & DCERPC_IS_NDR64) {
13513 ALIGN_TO_4_BYTES;
13516 return offset;
13520 /* IDL: [switch_type(uint32)] union { */
13521 /* IDL: [case(1)] [case(1)] drsuapi_DsRemoveDSServerResult1 res1; */
13522 /* IDL: } */
13524 static int
13525 drsuapi_dissect_element_DsRemoveDSServerResult_res1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13527 offset = drsuapi_dissect_struct_DsRemoveDSServerResult1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsRemoveDSServerResult_res1,0);
13529 return offset;
13532 static int
13533 drsuapi_dissect_DsRemoveDSServerResult(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_)
13535 proto_item *item = NULL;
13536 proto_tree *tree = NULL;
13537 int old_offset;
13538 uint32_t level;
13540 old_offset = offset;
13541 if (parent_tree) {
13542 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsRemoveDSServerResult, &item, "drsuapi_DsRemoveDSServerResult");
13545 UNION_ALIGN_TO_4_BYTES;
13546 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
13547 UNION_ALIGN_TO_4_BYTES;
13549 switch(level) {
13550 case 1:
13551 offset = drsuapi_dissect_element_DsRemoveDSServerResult_res1(tvb, offset, pinfo, tree, di, drep);
13552 break;
13554 proto_item_set_len(item, offset-old_offset);
13557 return offset;
13560 /* IDL: enum { */
13561 /* IDL: DRSUAPI_DC_INFO_CTR_1=1, */
13562 /* IDL: DRSUAPI_DC_INFO_CTR_2=2, */
13563 /* IDL: DRSUAPI_DC_INFO_CTR_3=3, */
13564 /* IDL: DRSUAPI_DC_CONNECTION_CTR_01=0xFFFFFFFF, */
13565 /* IDL: } */
13568 drsuapi_dissect_enum_DsGetDCInfoCtrLevels(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_)
13570 uint32_t parameter=0;
13571 if (param) {
13572 parameter = *param;
13574 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
13575 if (param) {
13576 *param = parameter;
13578 return offset;
13582 /* IDL: struct { */
13583 /* IDL: [charset(UTF16)] [unique(1)] uint16 *domain_name; */
13584 /* IDL: drsuapi_DsGetDCInfoCtrLevels level; */
13585 /* IDL: } */
13587 static int
13588 drsuapi_dissect_element_DsGetDCInfoRequest1_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13590 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfoRequest1_domain_name_, NDR_POINTER_UNIQUE, "Pointer to Domain Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfoRequest1_domain_name);
13592 return offset;
13595 static int
13596 drsuapi_dissect_element_DsGetDCInfoRequest1_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13598 char *data = NULL;
13599 struct ndr_generic_array nga = { .is_conformant = false, };
13601 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13603 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13604 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfoRequest1_domain_name, false, &nga, &data);
13605 proto_item_append_text(tree, ": %s", data);
13607 return offset;
13610 static int
13611 drsuapi_dissect_element_DsGetDCInfoRequest1_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13613 offset = drsuapi_dissect_enum_DsGetDCInfoCtrLevels(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfoRequest1_level, 0);
13615 return offset;
13619 drsuapi_dissect_struct_DsGetDCInfoRequest1(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_)
13621 proto_item *item = NULL;
13622 proto_tree *tree = NULL;
13623 int old_offset;
13625 ALIGN_TO_5_BYTES;
13627 old_offset = offset;
13629 if (parent_tree) {
13630 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13631 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfoRequest1);
13634 offset = drsuapi_dissect_element_DsGetDCInfoRequest1_domain_name(tvb, offset, pinfo, tree, di, drep);
13636 offset = drsuapi_dissect_element_DsGetDCInfoRequest1_level(tvb, offset, pinfo, tree, di, drep);
13639 proto_item_set_len(item, offset-old_offset);
13642 if (di->call_data->flags & DCERPC_IS_NDR64) {
13643 ALIGN_TO_5_BYTES;
13646 return offset;
13650 /* IDL: [switch_type(uint32)] union { */
13651 /* IDL: [case(1)] [case(1)] drsuapi_DsGetDCInfoRequest1 req1; */
13652 /* IDL: } */
13654 static int
13655 drsuapi_dissect_element_DsGetDCInfoRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13657 offset = drsuapi_dissect_struct_DsGetDCInfoRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetDCInfoRequest_req1,0);
13659 return offset;
13662 static int
13663 drsuapi_dissect_DsGetDCInfoRequest(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_)
13665 proto_item *item = NULL;
13666 proto_tree *tree = NULL;
13667 int old_offset;
13668 uint32_t level;
13670 old_offset = offset;
13671 if (parent_tree) {
13672 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsGetDCInfoRequest, &item, "drsuapi_DsGetDCInfoRequest");
13675 UNION_ALIGN_TO_5_BYTES;
13676 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
13677 UNION_ALIGN_TO_5_BYTES;
13679 switch(level) {
13680 case 1:
13681 offset = drsuapi_dissect_element_DsGetDCInfoRequest_req1(tvb, offset, pinfo, tree, di, drep);
13682 break;
13684 proto_item_set_len(item, offset-old_offset);
13687 return offset;
13690 /* IDL: struct { */
13691 /* IDL: [charset(UTF16)] [unique(1)] uint16 *netbios_name; */
13692 /* IDL: [charset(UTF16)] [unique(1)] uint16 *dns_name; */
13693 /* IDL: [charset(UTF16)] [unique(1)] uint16 *site_name; */
13694 /* IDL: [charset(UTF16)] [unique(1)] uint16 *computer_dn; */
13695 /* IDL: [charset(UTF16)] [unique(1)] uint16 *server_dn; */
13696 /* IDL: uint32 is_pdc; */
13697 /* IDL: uint32 is_enabled; */
13698 /* IDL: } */
13700 static int
13701 drsuapi_dissect_element_DsGetDCInfo1_netbios_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13703 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo1_netbios_name_, NDR_POINTER_UNIQUE, "Pointer to Netbios Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo1_netbios_name);
13705 return offset;
13708 static int
13709 drsuapi_dissect_element_DsGetDCInfo1_netbios_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13711 char *data = NULL;
13712 struct ndr_generic_array nga = { .is_conformant = false, };
13714 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13716 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13717 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo1_netbios_name, false, &nga, &data);
13718 proto_item_append_text(tree, ": %s", data);
13720 return offset;
13723 static int
13724 drsuapi_dissect_element_DsGetDCInfo1_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13726 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo1_dns_name_, NDR_POINTER_UNIQUE, "Pointer to Dns Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo1_dns_name);
13728 return offset;
13731 static int
13732 drsuapi_dissect_element_DsGetDCInfo1_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13734 char *data = NULL;
13735 struct ndr_generic_array nga = { .is_conformant = false, };
13737 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13739 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13740 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo1_dns_name, false, &nga, &data);
13741 proto_item_append_text(tree, ": %s", data);
13743 return offset;
13746 static int
13747 drsuapi_dissect_element_DsGetDCInfo1_site_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13749 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo1_site_name_, NDR_POINTER_UNIQUE, "Pointer to Site Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo1_site_name);
13751 return offset;
13754 static int
13755 drsuapi_dissect_element_DsGetDCInfo1_site_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13757 char *data = NULL;
13758 struct ndr_generic_array nga = { .is_conformant = false, };
13760 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13762 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13763 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo1_site_name, false, &nga, &data);
13764 proto_item_append_text(tree, ": %s", data);
13766 return offset;
13769 static int
13770 drsuapi_dissect_element_DsGetDCInfo1_computer_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13772 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo1_computer_dn_, NDR_POINTER_UNIQUE, "Pointer to Computer Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo1_computer_dn);
13774 return offset;
13777 static int
13778 drsuapi_dissect_element_DsGetDCInfo1_computer_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13780 char *data = NULL;
13781 struct ndr_generic_array nga = { .is_conformant = false, };
13783 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13785 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13786 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo1_computer_dn, false, &nga, &data);
13787 proto_item_append_text(tree, ": %s", data);
13789 return offset;
13792 static int
13793 drsuapi_dissect_element_DsGetDCInfo1_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13795 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo1_server_dn_, NDR_POINTER_UNIQUE, "Pointer to Server Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo1_server_dn);
13797 return offset;
13800 static int
13801 drsuapi_dissect_element_DsGetDCInfo1_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13803 char *data = NULL;
13804 struct ndr_generic_array nga = { .is_conformant = false, };
13806 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13808 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13809 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo1_server_dn, false, &nga, &data);
13810 proto_item_append_text(tree, ": %s", data);
13812 return offset;
13815 static int
13816 drsuapi_dissect_element_DsGetDCInfo1_is_pdc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13818 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo1_is_pdc, 0);
13820 return offset;
13823 static int
13824 drsuapi_dissect_element_DsGetDCInfo1_is_enabled(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13826 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo1_is_enabled, 0);
13828 return offset;
13832 drsuapi_dissect_struct_DsGetDCInfo1(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_)
13834 proto_item *item = NULL;
13835 proto_tree *tree = NULL;
13836 int old_offset;
13838 ALIGN_TO_5_BYTES;
13840 old_offset = offset;
13842 if (parent_tree) {
13843 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13844 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfo1);
13847 offset = drsuapi_dissect_element_DsGetDCInfo1_netbios_name(tvb, offset, pinfo, tree, di, drep);
13849 offset = drsuapi_dissect_element_DsGetDCInfo1_dns_name(tvb, offset, pinfo, tree, di, drep);
13851 offset = drsuapi_dissect_element_DsGetDCInfo1_site_name(tvb, offset, pinfo, tree, di, drep);
13853 offset = drsuapi_dissect_element_DsGetDCInfo1_computer_dn(tvb, offset, pinfo, tree, di, drep);
13855 offset = drsuapi_dissect_element_DsGetDCInfo1_server_dn(tvb, offset, pinfo, tree, di, drep);
13857 offset = drsuapi_dissect_element_DsGetDCInfo1_is_pdc(tvb, offset, pinfo, tree, di, drep);
13859 offset = drsuapi_dissect_element_DsGetDCInfo1_is_enabled(tvb, offset, pinfo, tree, di, drep);
13862 proto_item_set_len(item, offset-old_offset);
13865 if (di->call_data->flags & DCERPC_IS_NDR64) {
13866 ALIGN_TO_5_BYTES;
13869 return offset;
13873 /* IDL: struct { */
13874 /* IDL: [range(0,10000)] uint32 count; */
13875 /* IDL: [size_is(count)] [unique(1)] drsuapi_DsGetDCInfo1 *array; */
13876 /* IDL: } */
13878 static int
13879 drsuapi_dissect_element_DsGetDCInfoCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13881 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfoCtr1_count, 0);
13883 return offset;
13886 static int
13887 drsuapi_dissect_element_DsGetDCInfoCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13889 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfoCtr1_array_, NDR_POINTER_UNIQUE, "Pointer to Array (drsuapi_DsGetDCInfo1)",hf_drsuapi_drsuapi_DsGetDCInfoCtr1_array);
13891 return offset;
13894 static int
13895 drsuapi_dissect_element_DsGetDCInfoCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13897 struct ndr_generic_array nga = { .is_conformant = false, };
13899 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13901 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetDCInfoCtr1_array__);
13903 return offset;
13906 static int
13907 drsuapi_dissect_element_DsGetDCInfoCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13909 offset = drsuapi_dissect_struct_DsGetDCInfo1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetDCInfoCtr1_array,0);
13911 return offset;
13915 drsuapi_dissect_struct_DsGetDCInfoCtr1(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_)
13917 proto_item *item = NULL;
13918 proto_tree *tree = NULL;
13919 int old_offset;
13921 ALIGN_TO_5_BYTES;
13923 old_offset = offset;
13925 if (parent_tree) {
13926 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13927 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfoCtr1);
13930 offset = drsuapi_dissect_element_DsGetDCInfoCtr1_count(tvb, offset, pinfo, tree, di, drep);
13932 offset = drsuapi_dissect_element_DsGetDCInfoCtr1_array(tvb, offset, pinfo, tree, di, drep);
13935 proto_item_set_len(item, offset-old_offset);
13938 if (di->call_data->flags & DCERPC_IS_NDR64) {
13939 ALIGN_TO_5_BYTES;
13942 return offset;
13946 /* IDL: struct { */
13947 /* IDL: [charset(UTF16)] [unique(1)] uint16 *netbios_name; */
13948 /* IDL: [charset(UTF16)] [unique(1)] uint16 *dns_name; */
13949 /* IDL: [charset(UTF16)] [unique(1)] uint16 *site_name; */
13950 /* IDL: [charset(UTF16)] [unique(1)] uint16 *site_dn; */
13951 /* IDL: [charset(UTF16)] [unique(1)] uint16 *computer_dn; */
13952 /* IDL: [charset(UTF16)] [unique(1)] uint16 *server_dn; */
13953 /* IDL: [charset(UTF16)] [unique(1)] uint16 *ntds_dn; */
13954 /* IDL: uint32 is_pdc; */
13955 /* IDL: uint32 is_enabled; */
13956 /* IDL: uint32 is_gc; */
13957 /* IDL: GUID site_guid; */
13958 /* IDL: GUID computer_guid; */
13959 /* IDL: GUID server_guid; */
13960 /* IDL: GUID ntds_guid; */
13961 /* IDL: } */
13963 static int
13964 drsuapi_dissect_element_DsGetDCInfo2_netbios_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13966 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo2_netbios_name_, NDR_POINTER_UNIQUE, "Pointer to Netbios Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo2_netbios_name);
13968 return offset;
13971 static int
13972 drsuapi_dissect_element_DsGetDCInfo2_netbios_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13974 char *data = NULL;
13975 struct ndr_generic_array nga = { .is_conformant = false, };
13977 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13979 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13980 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo2_netbios_name, false, &nga, &data);
13981 proto_item_append_text(tree, ": %s", data);
13983 return offset;
13986 static int
13987 drsuapi_dissect_element_DsGetDCInfo2_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13989 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo2_dns_name_, NDR_POINTER_UNIQUE, "Pointer to Dns Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo2_dns_name);
13991 return offset;
13994 static int
13995 drsuapi_dissect_element_DsGetDCInfo2_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13997 char *data = NULL;
13998 struct ndr_generic_array nga = { .is_conformant = false, };
14000 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14002 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14003 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo2_dns_name, false, &nga, &data);
14004 proto_item_append_text(tree, ": %s", data);
14006 return offset;
14009 static int
14010 drsuapi_dissect_element_DsGetDCInfo2_site_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14012 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo2_site_name_, NDR_POINTER_UNIQUE, "Pointer to Site Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo2_site_name);
14014 return offset;
14017 static int
14018 drsuapi_dissect_element_DsGetDCInfo2_site_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14020 char *data = NULL;
14021 struct ndr_generic_array nga = { .is_conformant = false, };
14023 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14025 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14026 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo2_site_name, false, &nga, &data);
14027 proto_item_append_text(tree, ": %s", data);
14029 return offset;
14032 static int
14033 drsuapi_dissect_element_DsGetDCInfo2_site_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14035 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo2_site_dn_, NDR_POINTER_UNIQUE, "Pointer to Site Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo2_site_dn);
14037 return offset;
14040 static int
14041 drsuapi_dissect_element_DsGetDCInfo2_site_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14043 char *data = NULL;
14044 struct ndr_generic_array nga = { .is_conformant = false, };
14046 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14048 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14049 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo2_site_dn, false, &nga, &data);
14050 proto_item_append_text(tree, ": %s", data);
14052 return offset;
14055 static int
14056 drsuapi_dissect_element_DsGetDCInfo2_computer_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14058 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo2_computer_dn_, NDR_POINTER_UNIQUE, "Pointer to Computer Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo2_computer_dn);
14060 return offset;
14063 static int
14064 drsuapi_dissect_element_DsGetDCInfo2_computer_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14066 char *data = NULL;
14067 struct ndr_generic_array nga = { .is_conformant = false, };
14069 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14071 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14072 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo2_computer_dn, false, &nga, &data);
14073 proto_item_append_text(tree, ": %s", data);
14075 return offset;
14078 static int
14079 drsuapi_dissect_element_DsGetDCInfo2_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14081 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo2_server_dn_, NDR_POINTER_UNIQUE, "Pointer to Server Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo2_server_dn);
14083 return offset;
14086 static int
14087 drsuapi_dissect_element_DsGetDCInfo2_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14089 char *data = NULL;
14090 struct ndr_generic_array nga = { .is_conformant = false, };
14092 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14094 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14095 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo2_server_dn, false, &nga, &data);
14096 proto_item_append_text(tree, ": %s", data);
14098 return offset;
14101 static int
14102 drsuapi_dissect_element_DsGetDCInfo2_ntds_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14104 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo2_ntds_dn_, NDR_POINTER_UNIQUE, "Pointer to Ntds Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo2_ntds_dn);
14106 return offset;
14109 static int
14110 drsuapi_dissect_element_DsGetDCInfo2_ntds_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14112 char *data = NULL;
14113 struct ndr_generic_array nga = { .is_conformant = false, };
14115 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14117 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14118 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo2_ntds_dn, false, &nga, &data);
14119 proto_item_append_text(tree, ": %s", data);
14121 return offset;
14124 static int
14125 drsuapi_dissect_element_DsGetDCInfo2_is_pdc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14127 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo2_is_pdc, 0);
14129 return offset;
14132 static int
14133 drsuapi_dissect_element_DsGetDCInfo2_is_enabled(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14135 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo2_is_enabled, 0);
14137 return offset;
14140 static int
14141 drsuapi_dissect_element_DsGetDCInfo2_is_gc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14143 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo2_is_gc, 0);
14145 return offset;
14148 static int
14149 drsuapi_dissect_element_DsGetDCInfo2_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14151 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo2_site_guid, NULL);
14153 return offset;
14156 static int
14157 drsuapi_dissect_element_DsGetDCInfo2_computer_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14159 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo2_computer_guid, NULL);
14161 return offset;
14164 static int
14165 drsuapi_dissect_element_DsGetDCInfo2_server_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14167 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo2_server_guid, NULL);
14169 return offset;
14172 static int
14173 drsuapi_dissect_element_DsGetDCInfo2_ntds_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14175 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo2_ntds_guid, NULL);
14177 return offset;
14181 drsuapi_dissect_struct_DsGetDCInfo2(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_)
14183 proto_item *item = NULL;
14184 proto_tree *tree = NULL;
14185 int old_offset;
14187 ALIGN_TO_5_BYTES;
14189 old_offset = offset;
14191 if (parent_tree) {
14192 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14193 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfo2);
14196 offset = drsuapi_dissect_element_DsGetDCInfo2_netbios_name(tvb, offset, pinfo, tree, di, drep);
14198 offset = drsuapi_dissect_element_DsGetDCInfo2_dns_name(tvb, offset, pinfo, tree, di, drep);
14200 offset = drsuapi_dissect_element_DsGetDCInfo2_site_name(tvb, offset, pinfo, tree, di, drep);
14202 offset = drsuapi_dissect_element_DsGetDCInfo2_site_dn(tvb, offset, pinfo, tree, di, drep);
14204 offset = drsuapi_dissect_element_DsGetDCInfo2_computer_dn(tvb, offset, pinfo, tree, di, drep);
14206 offset = drsuapi_dissect_element_DsGetDCInfo2_server_dn(tvb, offset, pinfo, tree, di, drep);
14208 offset = drsuapi_dissect_element_DsGetDCInfo2_ntds_dn(tvb, offset, pinfo, tree, di, drep);
14210 offset = drsuapi_dissect_element_DsGetDCInfo2_is_pdc(tvb, offset, pinfo, tree, di, drep);
14212 offset = drsuapi_dissect_element_DsGetDCInfo2_is_enabled(tvb, offset, pinfo, tree, di, drep);
14214 offset = drsuapi_dissect_element_DsGetDCInfo2_is_gc(tvb, offset, pinfo, tree, di, drep);
14216 offset = drsuapi_dissect_element_DsGetDCInfo2_site_guid(tvb, offset, pinfo, tree, di, drep);
14218 offset = drsuapi_dissect_element_DsGetDCInfo2_computer_guid(tvb, offset, pinfo, tree, di, drep);
14220 offset = drsuapi_dissect_element_DsGetDCInfo2_server_guid(tvb, offset, pinfo, tree, di, drep);
14222 offset = drsuapi_dissect_element_DsGetDCInfo2_ntds_guid(tvb, offset, pinfo, tree, di, drep);
14225 proto_item_set_len(item, offset-old_offset);
14228 if (di->call_data->flags & DCERPC_IS_NDR64) {
14229 ALIGN_TO_5_BYTES;
14232 return offset;
14236 /* IDL: struct { */
14237 /* IDL: [range(0,10000)] uint32 count; */
14238 /* IDL: [size_is(count)] [unique(1)] drsuapi_DsGetDCInfo2 *array; */
14239 /* IDL: } */
14241 static int
14242 drsuapi_dissect_element_DsGetDCInfoCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14244 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfoCtr2_count, 0);
14246 return offset;
14249 static int
14250 drsuapi_dissect_element_DsGetDCInfoCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14252 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfoCtr2_array_, NDR_POINTER_UNIQUE, "Pointer to Array (drsuapi_DsGetDCInfo2)",hf_drsuapi_drsuapi_DsGetDCInfoCtr2_array);
14254 return offset;
14257 static int
14258 drsuapi_dissect_element_DsGetDCInfoCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14260 struct ndr_generic_array nga = { .is_conformant = false, };
14262 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14264 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetDCInfoCtr2_array__);
14266 return offset;
14269 static int
14270 drsuapi_dissect_element_DsGetDCInfoCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14272 offset = drsuapi_dissect_struct_DsGetDCInfo2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetDCInfoCtr2_array,0);
14274 return offset;
14278 drsuapi_dissect_struct_DsGetDCInfoCtr2(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_)
14280 proto_item *item = NULL;
14281 proto_tree *tree = NULL;
14282 int old_offset;
14284 ALIGN_TO_5_BYTES;
14286 old_offset = offset;
14288 if (parent_tree) {
14289 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14290 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfoCtr2);
14293 offset = drsuapi_dissect_element_DsGetDCInfoCtr2_count(tvb, offset, pinfo, tree, di, drep);
14295 offset = drsuapi_dissect_element_DsGetDCInfoCtr2_array(tvb, offset, pinfo, tree, di, drep);
14298 proto_item_set_len(item, offset-old_offset);
14301 if (di->call_data->flags & DCERPC_IS_NDR64) {
14302 ALIGN_TO_5_BYTES;
14305 return offset;
14309 /* IDL: struct { */
14310 /* IDL: [charset(UTF16)] [unique(1)] uint16 *netbios_name; */
14311 /* IDL: [charset(UTF16)] [unique(1)] uint16 *dns_name; */
14312 /* IDL: [charset(UTF16)] [unique(1)] uint16 *site_name; */
14313 /* IDL: [charset(UTF16)] [unique(1)] uint16 *site_dn; */
14314 /* IDL: [charset(UTF16)] [unique(1)] uint16 *computer_dn; */
14315 /* IDL: [charset(UTF16)] [unique(1)] uint16 *server_dn; */
14316 /* IDL: [charset(UTF16)] [unique(1)] uint16 *ntds_dn; */
14317 /* IDL: uint32 is_pdc; */
14318 /* IDL: uint32 is_enabled; */
14319 /* IDL: uint32 is_gc; */
14320 /* IDL: uint32 is_rodc; */
14321 /* IDL: GUID site_guid; */
14322 /* IDL: GUID computer_guid; */
14323 /* IDL: GUID server_guid; */
14324 /* IDL: GUID ntds_guid; */
14325 /* IDL: } */
14327 static int
14328 drsuapi_dissect_element_DsGetDCInfo3_netbios_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14330 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo3_netbios_name_, NDR_POINTER_UNIQUE, "Pointer to Netbios Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo3_netbios_name);
14332 return offset;
14335 static int
14336 drsuapi_dissect_element_DsGetDCInfo3_netbios_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14338 char *data = NULL;
14339 struct ndr_generic_array nga = { .is_conformant = false, };
14341 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14343 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14344 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo3_netbios_name, false, &nga, &data);
14345 proto_item_append_text(tree, ": %s", data);
14347 return offset;
14350 static int
14351 drsuapi_dissect_element_DsGetDCInfo3_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14353 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo3_dns_name_, NDR_POINTER_UNIQUE, "Pointer to Dns Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo3_dns_name);
14355 return offset;
14358 static int
14359 drsuapi_dissect_element_DsGetDCInfo3_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14361 char *data = NULL;
14362 struct ndr_generic_array nga = { .is_conformant = false, };
14364 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14366 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14367 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo3_dns_name, false, &nga, &data);
14368 proto_item_append_text(tree, ": %s", data);
14370 return offset;
14373 static int
14374 drsuapi_dissect_element_DsGetDCInfo3_site_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14376 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo3_site_name_, NDR_POINTER_UNIQUE, "Pointer to Site Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo3_site_name);
14378 return offset;
14381 static int
14382 drsuapi_dissect_element_DsGetDCInfo3_site_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14384 char *data = NULL;
14385 struct ndr_generic_array nga = { .is_conformant = false, };
14387 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14389 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14390 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo3_site_name, false, &nga, &data);
14391 proto_item_append_text(tree, ": %s", data);
14393 return offset;
14396 static int
14397 drsuapi_dissect_element_DsGetDCInfo3_site_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14399 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo3_site_dn_, NDR_POINTER_UNIQUE, "Pointer to Site Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo3_site_dn);
14401 return offset;
14404 static int
14405 drsuapi_dissect_element_DsGetDCInfo3_site_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14407 char *data = NULL;
14408 struct ndr_generic_array nga = { .is_conformant = false, };
14410 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14412 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14413 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo3_site_dn, false, &nga, &data);
14414 proto_item_append_text(tree, ": %s", data);
14416 return offset;
14419 static int
14420 drsuapi_dissect_element_DsGetDCInfo3_computer_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14422 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo3_computer_dn_, NDR_POINTER_UNIQUE, "Pointer to Computer Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo3_computer_dn);
14424 return offset;
14427 static int
14428 drsuapi_dissect_element_DsGetDCInfo3_computer_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14430 char *data = NULL;
14431 struct ndr_generic_array nga = { .is_conformant = false, };
14433 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14435 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14436 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo3_computer_dn, false, &nga, &data);
14437 proto_item_append_text(tree, ": %s", data);
14439 return offset;
14442 static int
14443 drsuapi_dissect_element_DsGetDCInfo3_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14445 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo3_server_dn_, NDR_POINTER_UNIQUE, "Pointer to Server Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo3_server_dn);
14447 return offset;
14450 static int
14451 drsuapi_dissect_element_DsGetDCInfo3_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14453 char *data = NULL;
14454 struct ndr_generic_array nga = { .is_conformant = false, };
14456 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14458 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14459 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo3_server_dn, false, &nga, &data);
14460 proto_item_append_text(tree, ": %s", data);
14462 return offset;
14465 static int
14466 drsuapi_dissect_element_DsGetDCInfo3_ntds_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14468 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfo3_ntds_dn_, NDR_POINTER_UNIQUE, "Pointer to Ntds Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo3_ntds_dn);
14470 return offset;
14473 static int
14474 drsuapi_dissect_element_DsGetDCInfo3_ntds_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14476 char *data = NULL;
14477 struct ndr_generic_array nga = { .is_conformant = false, };
14479 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14481 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14482 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCInfo3_ntds_dn, false, &nga, &data);
14483 proto_item_append_text(tree, ": %s", data);
14485 return offset;
14488 static int
14489 drsuapi_dissect_element_DsGetDCInfo3_is_pdc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14491 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_is_pdc, 0);
14493 return offset;
14496 static int
14497 drsuapi_dissect_element_DsGetDCInfo3_is_enabled(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14499 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_is_enabled, 0);
14501 return offset;
14504 static int
14505 drsuapi_dissect_element_DsGetDCInfo3_is_gc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14507 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_is_gc, 0);
14509 return offset;
14512 static int
14513 drsuapi_dissect_element_DsGetDCInfo3_is_rodc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14515 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_is_rodc, 0);
14517 return offset;
14520 static int
14521 drsuapi_dissect_element_DsGetDCInfo3_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14523 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_site_guid, NULL);
14525 return offset;
14528 static int
14529 drsuapi_dissect_element_DsGetDCInfo3_computer_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14531 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_computer_guid, NULL);
14533 return offset;
14536 static int
14537 drsuapi_dissect_element_DsGetDCInfo3_server_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14539 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_server_guid, NULL);
14541 return offset;
14544 static int
14545 drsuapi_dissect_element_DsGetDCInfo3_ntds_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14547 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_ntds_guid, NULL);
14549 return offset;
14553 drsuapi_dissect_struct_DsGetDCInfo3(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_)
14555 proto_item *item = NULL;
14556 proto_tree *tree = NULL;
14557 int old_offset;
14559 ALIGN_TO_5_BYTES;
14561 old_offset = offset;
14563 if (parent_tree) {
14564 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14565 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfo3);
14568 offset = drsuapi_dissect_element_DsGetDCInfo3_netbios_name(tvb, offset, pinfo, tree, di, drep);
14570 offset = drsuapi_dissect_element_DsGetDCInfo3_dns_name(tvb, offset, pinfo, tree, di, drep);
14572 offset = drsuapi_dissect_element_DsGetDCInfo3_site_name(tvb, offset, pinfo, tree, di, drep);
14574 offset = drsuapi_dissect_element_DsGetDCInfo3_site_dn(tvb, offset, pinfo, tree, di, drep);
14576 offset = drsuapi_dissect_element_DsGetDCInfo3_computer_dn(tvb, offset, pinfo, tree, di, drep);
14578 offset = drsuapi_dissect_element_DsGetDCInfo3_server_dn(tvb, offset, pinfo, tree, di, drep);
14580 offset = drsuapi_dissect_element_DsGetDCInfo3_ntds_dn(tvb, offset, pinfo, tree, di, drep);
14582 offset = drsuapi_dissect_element_DsGetDCInfo3_is_pdc(tvb, offset, pinfo, tree, di, drep);
14584 offset = drsuapi_dissect_element_DsGetDCInfo3_is_enabled(tvb, offset, pinfo, tree, di, drep);
14586 offset = drsuapi_dissect_element_DsGetDCInfo3_is_gc(tvb, offset, pinfo, tree, di, drep);
14588 offset = drsuapi_dissect_element_DsGetDCInfo3_is_rodc(tvb, offset, pinfo, tree, di, drep);
14590 offset = drsuapi_dissect_element_DsGetDCInfo3_site_guid(tvb, offset, pinfo, tree, di, drep);
14592 offset = drsuapi_dissect_element_DsGetDCInfo3_computer_guid(tvb, offset, pinfo, tree, di, drep);
14594 offset = drsuapi_dissect_element_DsGetDCInfo3_server_guid(tvb, offset, pinfo, tree, di, drep);
14596 offset = drsuapi_dissect_element_DsGetDCInfo3_ntds_guid(tvb, offset, pinfo, tree, di, drep);
14599 proto_item_set_len(item, offset-old_offset);
14602 if (di->call_data->flags & DCERPC_IS_NDR64) {
14603 ALIGN_TO_5_BYTES;
14606 return offset;
14610 /* IDL: struct { */
14611 /* IDL: [range(0,10000)] uint32 count; */
14612 /* IDL: [size_is(count)] [unique(1)] drsuapi_DsGetDCInfo3 *array; */
14613 /* IDL: } */
14615 static int
14616 drsuapi_dissect_element_DsGetDCInfoCtr3_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14618 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCInfoCtr3_count, 0);
14620 return offset;
14623 static int
14624 drsuapi_dissect_element_DsGetDCInfoCtr3_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14626 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCInfoCtr3_array_, NDR_POINTER_UNIQUE, "Pointer to Array (drsuapi_DsGetDCInfo3)",hf_drsuapi_drsuapi_DsGetDCInfoCtr3_array);
14628 return offset;
14631 static int
14632 drsuapi_dissect_element_DsGetDCInfoCtr3_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14634 struct ndr_generic_array nga = { .is_conformant = false, };
14636 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14638 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetDCInfoCtr3_array__);
14640 return offset;
14643 static int
14644 drsuapi_dissect_element_DsGetDCInfoCtr3_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14646 offset = drsuapi_dissect_struct_DsGetDCInfo3(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetDCInfoCtr3_array,0);
14648 return offset;
14652 drsuapi_dissect_struct_DsGetDCInfoCtr3(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_)
14654 proto_item *item = NULL;
14655 proto_tree *tree = NULL;
14656 int old_offset;
14658 ALIGN_TO_5_BYTES;
14660 old_offset = offset;
14662 if (parent_tree) {
14663 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14664 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfoCtr3);
14667 offset = drsuapi_dissect_element_DsGetDCInfoCtr3_count(tvb, offset, pinfo, tree, di, drep);
14669 offset = drsuapi_dissect_element_DsGetDCInfoCtr3_array(tvb, offset, pinfo, tree, di, drep);
14672 proto_item_set_len(item, offset-old_offset);
14675 if (di->call_data->flags & DCERPC_IS_NDR64) {
14676 ALIGN_TO_5_BYTES;
14679 return offset;
14683 /* IDL: struct { */
14684 /* IDL: [flag(LIBNDR_FLAG_BIGENDIAN)] ipv4address client_ip_address; */
14685 /* IDL: uint32 unknown2; */
14686 /* IDL: uint32 connection_time; */
14687 /* IDL: uint32 unknown4; */
14688 /* IDL: uint32 unknown5; */
14689 /* IDL: uint32 unknown6; */
14690 /* IDL: [charset(UTF16)] [unique(1)] uint16 *client_account; */
14691 /* IDL: } */
14693 static int
14694 drsuapi_dissect_element_DsGetDCConnection01_client_ip_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14696 proto_tree_add_item(tree, hf_drsuapi_drsuapi_DsGetDCConnection01_client_ip_address, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4;
14698 return offset;
14701 static int
14702 drsuapi_dissect_element_DsGetDCConnection01_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14704 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCConnection01_unknown2, 0);
14706 return offset;
14709 static int
14710 drsuapi_dissect_element_DsGetDCConnection01_connection_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14712 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCConnection01_connection_time, 0);
14714 return offset;
14717 static int
14718 drsuapi_dissect_element_DsGetDCConnection01_unknown4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14720 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCConnection01_unknown4, 0);
14722 return offset;
14725 static int
14726 drsuapi_dissect_element_DsGetDCConnection01_unknown5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14728 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCConnection01_unknown5, 0);
14730 return offset;
14733 static int
14734 drsuapi_dissect_element_DsGetDCConnection01_unknown6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14736 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCConnection01_unknown6, 0);
14738 return offset;
14741 static int
14742 drsuapi_dissect_element_DsGetDCConnection01_client_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14744 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCConnection01_client_account_, NDR_POINTER_UNIQUE, "Pointer to Client Account (uint16)",hf_drsuapi_drsuapi_DsGetDCConnection01_client_account);
14746 return offset;
14749 static int
14750 drsuapi_dissect_element_DsGetDCConnection01_client_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14752 char *data = NULL;
14753 struct ndr_generic_array nga = { .is_conformant = false, };
14755 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14757 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14758 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsGetDCConnection01_client_account, false, &nga, &data);
14759 proto_item_append_text(tree, ": %s", data);
14761 return offset;
14765 drsuapi_dissect_struct_DsGetDCConnection01(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_)
14767 proto_item *item = NULL;
14768 proto_tree *tree = NULL;
14769 int old_offset;
14771 ALIGN_TO_5_BYTES;
14773 old_offset = offset;
14775 if (parent_tree) {
14776 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14777 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCConnection01);
14780 offset = drsuapi_dissect_element_DsGetDCConnection01_client_ip_address(tvb, offset, pinfo, tree, di, drep);
14782 offset = drsuapi_dissect_element_DsGetDCConnection01_unknown2(tvb, offset, pinfo, tree, di, drep);
14784 offset = drsuapi_dissect_element_DsGetDCConnection01_connection_time(tvb, offset, pinfo, tree, di, drep);
14786 offset = drsuapi_dissect_element_DsGetDCConnection01_unknown4(tvb, offset, pinfo, tree, di, drep);
14788 offset = drsuapi_dissect_element_DsGetDCConnection01_unknown5(tvb, offset, pinfo, tree, di, drep);
14790 offset = drsuapi_dissect_element_DsGetDCConnection01_unknown6(tvb, offset, pinfo, tree, di, drep);
14792 offset = drsuapi_dissect_element_DsGetDCConnection01_client_account(tvb, offset, pinfo, tree, di, drep);
14795 proto_item_set_len(item, offset-old_offset);
14798 if (di->call_data->flags & DCERPC_IS_NDR64) {
14799 ALIGN_TO_5_BYTES;
14802 return offset;
14806 /* IDL: struct { */
14807 /* IDL: [range(0,10000)] uint32 count; */
14808 /* IDL: [size_is(count)] [unique(1)] drsuapi_DsGetDCConnection01 *array; */
14809 /* IDL: } */
14811 static int
14812 drsuapi_dissect_element_DsGetDCConnectionCtr01_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14814 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDCConnectionCtr01_count, 0);
14816 return offset;
14819 static int
14820 drsuapi_dissect_element_DsGetDCConnectionCtr01_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14822 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDCConnectionCtr01_array_, NDR_POINTER_UNIQUE, "Pointer to Array (drsuapi_DsGetDCConnection01)",hf_drsuapi_drsuapi_DsGetDCConnectionCtr01_array);
14824 return offset;
14827 static int
14828 drsuapi_dissect_element_DsGetDCConnectionCtr01_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14830 struct ndr_generic_array nga = { .is_conformant = false, };
14832 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14834 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetDCConnectionCtr01_array__);
14836 return offset;
14839 static int
14840 drsuapi_dissect_element_DsGetDCConnectionCtr01_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14842 offset = drsuapi_dissect_struct_DsGetDCConnection01(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetDCConnectionCtr01_array,0);
14844 return offset;
14848 drsuapi_dissect_struct_DsGetDCConnectionCtr01(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_)
14850 proto_item *item = NULL;
14851 proto_tree *tree = NULL;
14852 int old_offset;
14854 ALIGN_TO_5_BYTES;
14856 old_offset = offset;
14858 if (parent_tree) {
14859 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14860 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCConnectionCtr01);
14863 offset = drsuapi_dissect_element_DsGetDCConnectionCtr01_count(tvb, offset, pinfo, tree, di, drep);
14865 offset = drsuapi_dissect_element_DsGetDCConnectionCtr01_array(tvb, offset, pinfo, tree, di, drep);
14868 proto_item_set_len(item, offset-old_offset);
14871 if (di->call_data->flags & DCERPC_IS_NDR64) {
14872 ALIGN_TO_5_BYTES;
14875 return offset;
14879 /* IDL: [switch_type(drsuapi_DsGetDCInfoCtrLevels)] union { */
14880 /* IDL: [case(DRSUAPI_DC_INFO_CTR_1)] [case(DRSUAPI_DC_INFO_CTR_1)] drsuapi_DsGetDCInfoCtr1 ctr1; */
14881 /* IDL: [case(DRSUAPI_DC_INFO_CTR_2)] [case(DRSUAPI_DC_INFO_CTR_2)] drsuapi_DsGetDCInfoCtr2 ctr2; */
14882 /* IDL: [case(DRSUAPI_DC_INFO_CTR_3)] [case(DRSUAPI_DC_INFO_CTR_3)] drsuapi_DsGetDCInfoCtr3 ctr3; */
14883 /* IDL: [case(DRSUAPI_DC_CONNECTION_CTR_01)] [case(DRSUAPI_DC_CONNECTION_CTR_01)] drsuapi_DsGetDCConnectionCtr01 ctr01; */
14884 /* IDL: } */
14886 static int
14887 drsuapi_dissect_element_DsGetDCInfoCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14889 offset = drsuapi_dissect_struct_DsGetDCInfoCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr1,0);
14891 return offset;
14894 static int
14895 drsuapi_dissect_element_DsGetDCInfoCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14897 offset = drsuapi_dissect_struct_DsGetDCInfoCtr2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr2,0);
14899 return offset;
14902 static int
14903 drsuapi_dissect_element_DsGetDCInfoCtr_ctr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14905 offset = drsuapi_dissect_struct_DsGetDCInfoCtr3(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr3,0);
14907 return offset;
14910 static int
14911 drsuapi_dissect_element_DsGetDCInfoCtr_ctr01(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14913 offset = drsuapi_dissect_struct_DsGetDCConnectionCtr01(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr01,0);
14915 return offset;
14918 static int
14919 drsuapi_dissect_DsGetDCInfoCtr(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_)
14921 proto_item *item = NULL;
14922 proto_tree *tree = NULL;
14923 int old_offset;
14924 uint32_t level;
14926 old_offset = offset;
14927 if (parent_tree) {
14928 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsGetDCInfoCtr, &item, "drsuapi_DsGetDCInfoCtr");
14931 UNION_ALIGN_TO_5_BYTES;
14932 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
14933 UNION_ALIGN_TO_5_BYTES;
14935 switch(level) {
14936 case DRSUAPI_DC_INFO_CTR_1:
14937 offset = drsuapi_dissect_element_DsGetDCInfoCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
14938 break;
14940 case DRSUAPI_DC_INFO_CTR_2:
14941 offset = drsuapi_dissect_element_DsGetDCInfoCtr_ctr2(tvb, offset, pinfo, tree, di, drep);
14942 break;
14944 case DRSUAPI_DC_INFO_CTR_3:
14945 offset = drsuapi_dissect_element_DsGetDCInfoCtr_ctr3(tvb, offset, pinfo, tree, di, drep);
14946 break;
14948 case DRSUAPI_DC_CONNECTION_CTR_01:
14949 offset = drsuapi_dissect_element_DsGetDCInfoCtr_ctr01(tvb, offset, pinfo, tree, di, drep);
14950 break;
14952 proto_item_set_len(item, offset-old_offset);
14955 return offset;
14958 /* IDL: struct { */
14959 /* IDL: [max_recursion(20000)] [unique(1)] drsuapi_DsReplicaObjectListItem *next_object; */
14960 /* IDL: drsuapi_DsReplicaObject object; */
14961 /* IDL: } */
14963 static int
14964 drsuapi_dissect_element_DsReplicaObjectListItem_next_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14966 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaObjectListItem_next_object_, NDR_POINTER_UNIQUE, "Pointer to Next Object (drsuapi_DsReplicaObjectListItem)",hf_drsuapi_drsuapi_DsReplicaObjectListItem_next_object);
14968 return offset;
14971 static int
14972 drsuapi_dissect_element_DsReplicaObjectListItem_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14974 offset = drsuapi_dissect_struct_DsReplicaObject(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaObjectListItem_object,0);
14976 return offset;
14980 /* IDL: enum { */
14981 /* IDL: DRSUAPI_DIRERR_OK=0, */
14982 /* IDL: DRSUAPI_DIRERR_ATTRIBUTE=1, */
14983 /* IDL: DRSUAPI_DIRERR_NAME=2, */
14984 /* IDL: DRSUAPI_DIRERR_REFERRAL=3, */
14985 /* IDL: DRSUAPI_DIRERR_SECURITY=4, */
14986 /* IDL: DRSUAPI_DIRERR_SERVICE=5, */
14987 /* IDL: DRSUAPI_DIRERR_UPDATE=6, */
14988 /* IDL: DRSUAPI_DIRERR_SYSTEM=7, */
14989 /* IDL: } */
14992 drsuapi_dissect_enum_DsAddEntry_DirErr(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_)
14994 uint32_t parameter=0;
14995 if (param) {
14996 parameter = *param;
14998 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
14999 if (param) {
15000 *param = parameter;
15002 return offset;
15006 /* IDL: struct { */
15007 /* IDL: drsuapi_DsReplicaObjectListItem first_object; */
15008 /* IDL: } */
15010 static int
15011 drsuapi_dissect_element_DsAddEntryRequest2_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15013 offset = drsuapi_dissect_struct_DsReplicaObjectListItem(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryRequest2_first_object,0);
15015 return offset;
15019 drsuapi_dissect_struct_DsAddEntryRequest2(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_)
15021 proto_item *item = NULL;
15022 proto_tree *tree = NULL;
15023 int old_offset;
15025 ALIGN_TO_5_BYTES;
15027 old_offset = offset;
15029 if (parent_tree) {
15030 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15031 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryRequest2);
15034 offset = drsuapi_dissect_element_DsAddEntryRequest2_first_object(tvb, offset, pinfo, tree, di, drep);
15037 proto_item_set_len(item, offset-old_offset);
15040 if (di->call_data->flags & DCERPC_IS_NDR64) {
15041 ALIGN_TO_5_BYTES;
15044 return offset;
15048 /* IDL: enum { */
15049 /* IDL: DRSUAPI_SECBUFFER_EMPTY=0x00000000, */
15050 /* IDL: DRSUAPI_SECBUFFER_DATA=0x00000001, */
15051 /* IDL: DRSUAPI_SECBUFFER_TOKEN=0x00000002, */
15052 /* IDL: DRSUAPI_SECBUFFER_PKG_PARAMS=0x00000003, */
15053 /* IDL: DRSUAPI_SECBUFFER_MISSING=0x00000004, */
15054 /* IDL: DRSUAPI_SECBUFFER_EXTRA=0x00000005, */
15055 /* IDL: DRSUAPI_SECBUFFER_STREAM_TRAILER=0x00000006, */
15056 /* IDL: DRSUAPI_SECBUFFER_STREAM_HEADER=0x00000007, */
15057 /* IDL: DRSUAPI_SECBUFFER_READONLY=0x80000000, */
15058 /* IDL: } */
15061 drsuapi_dissect_enum_SecBufferType(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_)
15063 uint32_t parameter=0;
15064 if (param) {
15065 parameter = *param;
15067 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
15068 if (param) {
15069 *param = parameter;
15071 return offset;
15075 /* IDL: struct { */
15076 /* IDL: [range(0,10000)] uint32 buf_size; */
15077 /* IDL: drsuapi_SecBufferType buf_type; */
15078 /* IDL: [size_is(buf_size)] [unique(1)] uint8 *buffer; */
15079 /* IDL: } */
15081 static int
15082 drsuapi_dissect_element_SecBuffer_buf_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15084 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_SecBuffer_buf_size, 0);
15086 return offset;
15089 static int
15090 drsuapi_dissect_element_SecBuffer_buf_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15092 offset = drsuapi_dissect_enum_SecBufferType(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_SecBuffer_buf_type, 0);
15094 return offset;
15097 static int
15098 drsuapi_dissect_element_SecBuffer_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15100 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_SecBuffer_buffer_, NDR_POINTER_UNIQUE, "Pointer to Buffer (uint8)",hf_drsuapi_drsuapi_SecBuffer_buffer);
15102 return offset;
15105 static int
15106 drsuapi_dissect_element_SecBuffer_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15108 struct ndr_generic_array nga = { .is_conformant = false, };
15110 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15112 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_SecBuffer_buffer__);
15114 return offset;
15117 static int
15118 drsuapi_dissect_element_SecBuffer_buffer__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15120 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_SecBuffer_buffer, 0);
15122 return offset;
15126 drsuapi_dissect_struct_SecBuffer(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_)
15128 proto_item *item = NULL;
15129 proto_tree *tree = NULL;
15130 int old_offset;
15132 ALIGN_TO_5_BYTES;
15134 old_offset = offset;
15136 if (parent_tree) {
15137 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15138 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_SecBuffer);
15141 offset = drsuapi_dissect_element_SecBuffer_buf_size(tvb, offset, pinfo, tree, di, drep);
15143 offset = drsuapi_dissect_element_SecBuffer_buf_type(tvb, offset, pinfo, tree, di, drep);
15145 offset = drsuapi_dissect_element_SecBuffer_buffer(tvb, offset, pinfo, tree, di, drep);
15148 proto_item_set_len(item, offset-old_offset);
15151 if (di->call_data->flags & DCERPC_IS_NDR64) {
15152 ALIGN_TO_5_BYTES;
15155 return offset;
15159 /* IDL: struct { */
15160 /* IDL: [value(0)] uint32 version; */
15161 /* IDL: [range(0,10000)] uint32 buff_count; */
15162 /* IDL: [size_is(buff_count)] [unique(1)] drsuapi_SecBuffer *buffers; */
15163 /* IDL: } */
15165 static int
15166 drsuapi_dissect_element_SecBufferDesc_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15168 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_SecBufferDesc_version, 0);
15170 return offset;
15173 static int
15174 drsuapi_dissect_element_SecBufferDesc_buff_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15176 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_SecBufferDesc_buff_count, 0);
15178 return offset;
15181 static int
15182 drsuapi_dissect_element_SecBufferDesc_buffers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15184 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_SecBufferDesc_buffers_, NDR_POINTER_UNIQUE, "Pointer to Buffers (drsuapi_SecBuffer)",hf_drsuapi_drsuapi_SecBufferDesc_buffers);
15186 return offset;
15189 static int
15190 drsuapi_dissect_element_SecBufferDesc_buffers_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15192 struct ndr_generic_array nga = { .is_conformant = false, };
15194 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15196 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_SecBufferDesc_buffers__);
15198 return offset;
15201 static int
15202 drsuapi_dissect_element_SecBufferDesc_buffers__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15204 offset = drsuapi_dissect_struct_SecBuffer(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_SecBufferDesc_buffers,0);
15206 return offset;
15210 drsuapi_dissect_struct_SecBufferDesc(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_)
15212 proto_item *item = NULL;
15213 proto_tree *tree = NULL;
15214 int old_offset;
15216 ALIGN_TO_5_BYTES;
15218 old_offset = offset;
15220 if (parent_tree) {
15221 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15222 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_SecBufferDesc);
15225 offset = drsuapi_dissect_element_SecBufferDesc_version(tvb, offset, pinfo, tree, di, drep);
15227 offset = drsuapi_dissect_element_SecBufferDesc_buff_count(tvb, offset, pinfo, tree, di, drep);
15229 offset = drsuapi_dissect_element_SecBufferDesc_buffers(tvb, offset, pinfo, tree, di, drep);
15232 proto_item_set_len(item, offset-old_offset);
15235 if (di->call_data->flags & DCERPC_IS_NDR64) {
15236 ALIGN_TO_5_BYTES;
15239 return offset;
15243 /* IDL: struct { */
15244 /* IDL: drsuapi_DsReplicaObjectListItem first_object; */
15245 /* IDL: [unique(1)] drsuapi_SecBufferDesc *client_creds; */
15246 /* IDL: } */
15248 static int
15249 drsuapi_dissect_element_DsAddEntryRequest3_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15251 offset = drsuapi_dissect_struct_DsReplicaObjectListItem(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryRequest3_first_object,0);
15253 return offset;
15256 static int
15257 drsuapi_dissect_element_DsAddEntryRequest3_client_creds(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15259 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntryRequest3_client_creds_, NDR_POINTER_UNIQUE, "Pointer to Client Creds (drsuapi_SecBufferDesc)",hf_drsuapi_drsuapi_DsAddEntryRequest3_client_creds);
15261 return offset;
15264 static int
15265 drsuapi_dissect_element_DsAddEntryRequest3_client_creds_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15267 offset = drsuapi_dissect_struct_SecBufferDesc(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryRequest3_client_creds,0);
15269 return offset;
15273 drsuapi_dissect_struct_DsAddEntryRequest3(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_)
15275 proto_item *item = NULL;
15276 proto_tree *tree = NULL;
15277 int old_offset;
15279 ALIGN_TO_5_BYTES;
15281 old_offset = offset;
15283 if (parent_tree) {
15284 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15285 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryRequest3);
15288 offset = drsuapi_dissect_element_DsAddEntryRequest3_first_object(tvb, offset, pinfo, tree, di, drep);
15290 offset = drsuapi_dissect_element_DsAddEntryRequest3_client_creds(tvb, offset, pinfo, tree, di, drep);
15293 proto_item_set_len(item, offset-old_offset);
15296 if (di->call_data->flags & DCERPC_IS_NDR64) {
15297 ALIGN_TO_5_BYTES;
15300 return offset;
15304 /* IDL: [switch_type(uint32)] union { */
15305 /* IDL: [case(2)] [case(2)] drsuapi_DsAddEntryRequest2 req2; */
15306 /* IDL: [case(3)] [case(3)] drsuapi_DsAddEntryRequest3 req3; */
15307 /* IDL: } */
15309 static int
15310 drsuapi_dissect_element_DsAddEntryRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15312 offset = drsuapi_dissect_struct_DsAddEntryRequest2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryRequest_req2,0);
15314 return offset;
15317 static int
15318 drsuapi_dissect_element_DsAddEntryRequest_req3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15320 offset = drsuapi_dissect_struct_DsAddEntryRequest3(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryRequest_req3,0);
15322 return offset;
15325 static int
15326 drsuapi_dissect_DsAddEntryRequest(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_)
15328 proto_item *item = NULL;
15329 proto_tree *tree = NULL;
15330 int old_offset;
15331 uint32_t level;
15333 old_offset = offset;
15334 if (parent_tree) {
15335 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsAddEntryRequest, &item, "drsuapi_DsAddEntryRequest");
15338 UNION_ALIGN_TO_5_BYTES;
15339 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
15340 UNION_ALIGN_TO_5_BYTES;
15342 switch(level) {
15343 case 2:
15344 offset = drsuapi_dissect_element_DsAddEntryRequest_req2(tvb, offset, pinfo, tree, di, drep);
15345 break;
15347 case 3:
15348 offset = drsuapi_dissect_element_DsAddEntryRequest_req3(tvb, offset, pinfo, tree, di, drep);
15349 break;
15351 proto_item_set_len(item, offset-old_offset);
15354 return offset;
15357 /* IDL: struct { */
15358 /* IDL: uint32 dsid; */
15359 /* IDL: WERROR extended_err; */
15360 /* IDL: uint32 extended_data; */
15361 /* IDL: uint16 problem; */
15362 /* IDL: } */
15364 static int
15365 drsuapi_dissect_element_DsAddEntryErrorInfoX_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15367 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_dsid, 0);
15369 return offset;
15372 static int
15373 drsuapi_dissect_element_DsAddEntryErrorInfoX_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15375 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_extended_err, 0);
15377 return offset;
15380 static int
15381 drsuapi_dissect_element_DsAddEntryErrorInfoX_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15383 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_extended_data, 0);
15385 return offset;
15388 static int
15389 drsuapi_dissect_element_DsAddEntryErrorInfoX_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15391 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_problem, 0);
15393 return offset;
15397 drsuapi_dissect_struct_DsAddEntryErrorInfoX(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_)
15399 proto_item *item = NULL;
15400 proto_tree *tree = NULL;
15401 int old_offset;
15403 ALIGN_TO_4_BYTES;
15405 old_offset = offset;
15407 if (parent_tree) {
15408 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15409 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryErrorInfoX);
15412 offset = drsuapi_dissect_element_DsAddEntryErrorInfoX_dsid(tvb, offset, pinfo, tree, di, drep);
15414 offset = drsuapi_dissect_element_DsAddEntryErrorInfoX_extended_err(tvb, offset, pinfo, tree, di, drep);
15416 offset = drsuapi_dissect_element_DsAddEntryErrorInfoX_extended_data(tvb, offset, pinfo, tree, di, drep);
15418 offset = drsuapi_dissect_element_DsAddEntryErrorInfoX_problem(tvb, offset, pinfo, tree, di, drep);
15421 proto_item_set_len(item, offset-old_offset);
15424 if (di->call_data->flags & DCERPC_IS_NDR64) {
15425 ALIGN_TO_4_BYTES;
15428 return offset;
15432 /* IDL: struct { */
15433 /* IDL: uint32 dsid; */
15434 /* IDL: WERROR extended_err; */
15435 /* IDL: uint32 extended_data; */
15436 /* IDL: uint16 problem; */
15437 /* IDL: drsuapi_DsAttributeId attid; */
15438 /* IDL: uint32 is_val_returned; */
15439 /* IDL: drsuapi_DsAttributeValue attr_val; */
15440 /* IDL: } */
15442 static int
15443 drsuapi_dissect_element_DsAddEntry_AttrErr_V1_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15445 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_dsid, 0);
15447 return offset;
15450 static int
15451 drsuapi_dissect_element_DsAddEntry_AttrErr_V1_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15453 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_extended_err, 0);
15455 return offset;
15458 static int
15459 drsuapi_dissect_element_DsAddEntry_AttrErr_V1_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15461 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_extended_data, 0);
15463 return offset;
15466 static int
15467 drsuapi_dissect_element_DsAddEntry_AttrErr_V1_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15469 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_problem, 0);
15471 return offset;
15474 static int
15475 drsuapi_dissect_element_DsAddEntry_AttrErr_V1_attid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15477 offset = drsuapi_dissect_enum_DsAttributeId(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_attid, 0);
15479 return offset;
15482 static int
15483 drsuapi_dissect_element_DsAddEntry_AttrErr_V1_is_val_returned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15485 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_is_val_returned, 0);
15487 return offset;
15490 static int
15491 drsuapi_dissect_element_DsAddEntry_AttrErr_V1_attr_val(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15493 offset = drsuapi_dissect_struct_DsAttributeValue(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_attr_val,0);
15495 return offset;
15499 drsuapi_dissect_struct_DsAddEntry_AttrErr_V1(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_)
15501 proto_item *item = NULL;
15502 proto_tree *tree = NULL;
15503 int old_offset;
15505 ALIGN_TO_5_BYTES;
15507 old_offset = offset;
15509 if (parent_tree) {
15510 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15511 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntry_AttrErr_V1);
15514 offset = drsuapi_dissect_element_DsAddEntry_AttrErr_V1_dsid(tvb, offset, pinfo, tree, di, drep);
15516 offset = drsuapi_dissect_element_DsAddEntry_AttrErr_V1_extended_err(tvb, offset, pinfo, tree, di, drep);
15518 offset = drsuapi_dissect_element_DsAddEntry_AttrErr_V1_extended_data(tvb, offset, pinfo, tree, di, drep);
15520 offset = drsuapi_dissect_element_DsAddEntry_AttrErr_V1_problem(tvb, offset, pinfo, tree, di, drep);
15522 offset = drsuapi_dissect_element_DsAddEntry_AttrErr_V1_attid(tvb, offset, pinfo, tree, di, drep);
15524 offset = drsuapi_dissect_element_DsAddEntry_AttrErr_V1_is_val_returned(tvb, offset, pinfo, tree, di, drep);
15526 offset = drsuapi_dissect_element_DsAddEntry_AttrErr_V1_attr_val(tvb, offset, pinfo, tree, di, drep);
15529 proto_item_set_len(item, offset-old_offset);
15532 if (di->call_data->flags & DCERPC_IS_NDR64) {
15533 ALIGN_TO_5_BYTES;
15536 return offset;
15540 /* IDL: struct { */
15541 /* IDL: [max_recursion(20000)] [unique(1)] drsuapi_DsAddEntry_AttrErrListItem_V1 *next; */
15542 /* IDL: drsuapi_DsAddEntry_AttrErr_V1 err_data; */
15543 /* IDL: } */
15545 static int
15546 drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_next(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15548 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_next_, NDR_POINTER_UNIQUE, "Pointer to Next (drsuapi_DsAddEntry_AttrErrListItem_V1)",hf_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1_next);
15550 return offset;
15553 static int
15554 drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_err_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15556 offset = drsuapi_dissect_struct_DsAddEntry_AttrErr_V1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1_err_data,0);
15558 return offset;
15562 drsuapi_dissect_struct_DsAddEntry_AttrErrListItem_V1(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_)
15564 proto_item *item = NULL;
15565 proto_tree *tree = NULL;
15566 int old_offset;
15568 ALIGN_TO_5_BYTES;
15570 old_offset = offset;
15572 if (parent_tree) {
15573 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15574 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1);
15577 offset = drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_next(tvb, offset, pinfo, tree, di, drep);
15579 offset = drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_err_data(tvb, offset, pinfo, tree, di, drep);
15582 proto_item_set_len(item, offset-old_offset);
15585 if (di->call_data->flags & DCERPC_IS_NDR64) {
15586 ALIGN_TO_5_BYTES;
15589 return offset;
15593 /* IDL: struct { */
15594 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *id; */
15595 /* IDL: uint32 count; */
15596 /* IDL: drsuapi_DsAddEntry_AttrErrListItem_V1 first; */
15597 /* IDL: } */
15599 static int
15600 drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15602 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_id_, NDR_POINTER_UNIQUE, "Pointer to Id (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_id);
15604 return offset;
15607 static int
15608 drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_id_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15610 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_id,0);
15612 return offset;
15615 static int
15616 drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15618 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_count, 0);
15620 return offset;
15623 static int
15624 drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_first(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15626 offset = drsuapi_dissect_struct_DsAddEntry_AttrErrListItem_V1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_first,0);
15628 return offset;
15632 drsuapi_dissect_struct_DsAddEntryErrorInfo_Attr_V1(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_)
15634 proto_item *item = NULL;
15635 proto_tree *tree = NULL;
15636 int old_offset;
15638 ALIGN_TO_5_BYTES;
15640 old_offset = offset;
15642 if (parent_tree) {
15643 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15644 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1);
15647 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_id(tvb, offset, pinfo, tree, di, drep);
15649 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_count(tvb, offset, pinfo, tree, di, drep);
15651 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_first(tvb, offset, pinfo, tree, di, drep);
15654 proto_item_set_len(item, offset-old_offset);
15657 if (di->call_data->flags & DCERPC_IS_NDR64) {
15658 ALIGN_TO_5_BYTES;
15661 return offset;
15665 /* IDL: struct { */
15666 /* IDL: uint32 dsid; */
15667 /* IDL: WERROR extended_err; */
15668 /* IDL: uint32 extended_data; */
15669 /* IDL: uint16 problem; */
15670 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *id_matched; */
15671 /* IDL: } */
15673 static int
15674 drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15676 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_dsid, 0);
15678 return offset;
15681 static int
15682 drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15684 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_extended_err, 0);
15686 return offset;
15689 static int
15690 drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15692 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_extended_data, 0);
15694 return offset;
15697 static int
15698 drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15700 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_problem, 0);
15702 return offset;
15705 static int
15706 drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_id_matched(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15708 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_id_matched_, NDR_POINTER_UNIQUE, "Pointer to Id Matched (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_id_matched);
15710 return offset;
15713 static int
15714 drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_id_matched_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15716 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_id_matched,0);
15718 return offset;
15722 drsuapi_dissect_struct_DsAddEntryErrorInfo_Name_V1(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_)
15724 proto_item *item = NULL;
15725 proto_tree *tree = NULL;
15726 int old_offset;
15728 ALIGN_TO_5_BYTES;
15730 old_offset = offset;
15732 if (parent_tree) {
15733 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15734 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1);
15737 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_dsid(tvb, offset, pinfo, tree, di, drep);
15739 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_extended_err(tvb, offset, pinfo, tree, di, drep);
15741 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_extended_data(tvb, offset, pinfo, tree, di, drep);
15743 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_problem(tvb, offset, pinfo, tree, di, drep);
15745 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_id_matched(tvb, offset, pinfo, tree, di, drep);
15748 proto_item_set_len(item, offset-old_offset);
15751 if (di->call_data->flags & DCERPC_IS_NDR64) {
15752 ALIGN_TO_5_BYTES;
15755 return offset;
15759 /* IDL: struct { */
15760 /* IDL: [value(83)] uint8 name_res; */
15761 /* IDL: [value(0)] uint8 unused_pad; */
15762 /* IDL: [value(0)] uint16 next_rdn; */
15763 /* IDL: } */
15765 static int
15766 drsuapi_dissect_element_NameResOp_V1_name_res(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15768 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_NameResOp_V1_name_res, 0);
15770 return offset;
15773 static int
15774 drsuapi_dissect_element_NameResOp_V1_unused_pad(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15776 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_NameResOp_V1_unused_pad, 0);
15778 return offset;
15781 static int
15782 drsuapi_dissect_element_NameResOp_V1_next_rdn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15784 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_NameResOp_V1_next_rdn, 0);
15786 return offset;
15790 drsuapi_dissect_struct_NameResOp_V1(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_)
15792 proto_item *item = NULL;
15793 proto_tree *tree = NULL;
15794 int old_offset;
15796 ALIGN_TO_2_BYTES;
15798 old_offset = offset;
15800 if (parent_tree) {
15801 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15802 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_NameResOp_V1);
15805 offset = drsuapi_dissect_element_NameResOp_V1_name_res(tvb, offset, pinfo, tree, di, drep);
15807 offset = drsuapi_dissect_element_NameResOp_V1_unused_pad(tvb, offset, pinfo, tree, di, drep);
15809 offset = drsuapi_dissect_element_NameResOp_V1_next_rdn(tvb, offset, pinfo, tree, di, drep);
15812 proto_item_set_len(item, offset-old_offset);
15815 if (di->call_data->flags & DCERPC_IS_NDR64) {
15816 ALIGN_TO_2_BYTES;
15819 return offset;
15823 /* IDL: enum { */
15824 /* IDL: DRSUAPI_CH_REFTYPE_SUPERIOR=0x0000, */
15825 /* IDL: DRSUAPI_CH_REFTYPE_SUBORDINATE=0x0001, */
15826 /* IDL: DRSUAPI_CH_REFTYPE_NSSR=0x0002, */
15827 /* IDL: DRSUAPI_CH_REFTYPE_CROSS=0x0003, */
15828 /* IDL: } */
15831 drsuapi_dissect_enum_DsAddEntry_RefType(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_, uint16_t *param _U_)
15833 uint16_t parameter=0;
15834 if (param) {
15835 parameter = *param;
15837 offset = dissect_ndr_uint16(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
15838 if (param) {
15839 *param = parameter;
15841 return offset;
15845 /* IDL: enum { */
15846 /* IDL: DRSUAPI_SE_CHOICE_BASE_ONLY=0x00, */
15847 /* IDL: DRSUAPI_SE_CHOICE_IMMED_CHLDRN=0x01, */
15848 /* IDL: DRSUAPI_SE_CHOICE_WHOLE_SUBTREE=0x02, */
15849 /* IDL: } */
15852 drsuapi_dissect_enum_DsAddEntry_ChoiceType(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_, uint8_t *param _U_)
15854 uint8_t parameter=0;
15855 if (param) {
15856 parameter = *param;
15858 offset = dissect_ndr_uint8(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
15859 if (param) {
15860 *param = parameter;
15862 return offset;
15866 /* IDL: struct { */
15867 /* IDL: [max_recursion(1024)] [unique(1)] drsuapi_DsaAddressListItem_V1 *next; */
15868 /* IDL: [unique(1)] lsa_String *address; */
15869 /* IDL: } */
15871 static int
15872 drsuapi_dissect_element_DsaAddressListItem_V1_next(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15874 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsaAddressListItem_V1_next_, NDR_POINTER_UNIQUE, "Pointer to Next (drsuapi_DsaAddressListItem_V1)",hf_drsuapi_drsuapi_DsaAddressListItem_V1_next);
15876 return offset;
15879 static int
15880 drsuapi_dissect_element_DsaAddressListItem_V1_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15882 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsaAddressListItem_V1_address_, NDR_POINTER_UNIQUE, "Pointer to Address (lsa_String)",hf_drsuapi_drsuapi_DsaAddressListItem_V1_address);
15884 return offset;
15887 static int
15888 drsuapi_dissect_element_DsaAddressListItem_V1_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15890 offset = drsuapi_dissect_struct_lsa_String(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsaAddressListItem_V1_address,0);
15892 return offset;
15896 drsuapi_dissect_struct_DsaAddressListItem_V1(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_)
15898 proto_item *item = NULL;
15899 proto_tree *tree = NULL;
15900 int old_offset;
15902 ALIGN_TO_5_BYTES;
15904 old_offset = offset;
15906 if (parent_tree) {
15907 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15908 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsaAddressListItem_V1);
15911 offset = drsuapi_dissect_element_DsaAddressListItem_V1_next(tvb, offset, pinfo, tree, di, drep);
15913 offset = drsuapi_dissect_element_DsaAddressListItem_V1_address(tvb, offset, pinfo, tree, di, drep);
15916 proto_item_set_len(item, offset-old_offset);
15919 if (di->call_data->flags & DCERPC_IS_NDR64) {
15920 ALIGN_TO_5_BYTES;
15923 return offset;
15927 /* IDL: struct { */
15928 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *id_target; */
15929 /* IDL: drsuapi_NameResOp_V1 op_state; */
15930 /* IDL: [value(0)] uint16 rdn_alias; */
15931 /* IDL: [value(0)] uint16 rdn_internal; */
15932 /* IDL: drsuapi_DsAddEntry_RefType ref_type; */
15933 /* IDL: uint16 addr_list_count; */
15934 /* IDL: [unique(1)] drsuapi_DsaAddressListItem_V1 *addr_list; */
15935 /* IDL: [max_recursion(20000)] [unique(1)] drsuapi_DsAddEntry_RefErrListItem_V1 *next; */
15936 /* IDL: uint32 is_choice_set; */
15937 /* IDL: drsuapi_DsAddEntry_ChoiceType choice; */
15938 /* IDL: } */
15940 static int
15941 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_id_target(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15943 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_id_target_, NDR_POINTER_UNIQUE, "Pointer to Id Target (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_id_target);
15945 return offset;
15948 static int
15949 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_id_target_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15951 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_id_target,0);
15953 return offset;
15956 static int
15957 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_op_state(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15959 offset = drsuapi_dissect_struct_NameResOp_V1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_op_state,0);
15961 return offset;
15964 static int
15965 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_rdn_alias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15967 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_rdn_alias, 0);
15969 return offset;
15972 static int
15973 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_rdn_internal(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15975 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_rdn_internal, 0);
15977 return offset;
15980 static int
15981 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_ref_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15983 offset = drsuapi_dissect_enum_DsAddEntry_RefType(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_ref_type, 0);
15985 return offset;
15988 static int
15989 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_addr_list_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15991 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_addr_list_count, 0);
15993 return offset;
15996 static int
15997 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_addr_list(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15999 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_addr_list_, NDR_POINTER_UNIQUE, "Pointer to Addr List (drsuapi_DsaAddressListItem_V1)",hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_addr_list);
16001 return offset;
16004 static int
16005 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_addr_list_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16007 offset = drsuapi_dissect_struct_DsaAddressListItem_V1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_addr_list,0);
16009 return offset;
16012 static int
16013 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_next(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16015 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_next_, NDR_POINTER_UNIQUE, "Pointer to Next (drsuapi_DsAddEntry_RefErrListItem_V1)",hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_next);
16017 return offset;
16020 static int
16021 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_is_choice_set(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16023 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_is_choice_set, 0);
16025 return offset;
16028 static int
16029 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_choice(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16031 offset = drsuapi_dissect_enum_DsAddEntry_ChoiceType(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_choice, 0);
16033 return offset;
16037 drsuapi_dissect_struct_DsAddEntry_RefErrListItem_V1(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_)
16039 proto_item *item = NULL;
16040 proto_tree *tree = NULL;
16041 int old_offset;
16043 ALIGN_TO_5_BYTES;
16045 old_offset = offset;
16047 if (parent_tree) {
16048 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
16049 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1);
16052 offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_id_target(tvb, offset, pinfo, tree, di, drep);
16054 offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_op_state(tvb, offset, pinfo, tree, di, drep);
16056 offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_rdn_alias(tvb, offset, pinfo, tree, di, drep);
16058 offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_rdn_internal(tvb, offset, pinfo, tree, di, drep);
16060 offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_ref_type(tvb, offset, pinfo, tree, di, drep);
16062 offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_addr_list_count(tvb, offset, pinfo, tree, di, drep);
16064 offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_addr_list(tvb, offset, pinfo, tree, di, drep);
16066 offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_next(tvb, offset, pinfo, tree, di, drep);
16068 offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_is_choice_set(tvb, offset, pinfo, tree, di, drep);
16070 offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_choice(tvb, offset, pinfo, tree, di, drep);
16073 proto_item_set_len(item, offset-old_offset);
16076 if (di->call_data->flags & DCERPC_IS_NDR64) {
16077 ALIGN_TO_5_BYTES;
16080 return offset;
16084 /* IDL: struct { */
16085 /* IDL: uint32 dsid; */
16086 /* IDL: WERROR extended_err; */
16087 /* IDL: uint32 extended_data; */
16088 /* IDL: drsuapi_DsAddEntry_RefErrListItem_V1 refer; */
16089 /* IDL: } */
16091 static int
16092 drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16094 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_dsid, 0);
16096 return offset;
16099 static int
16100 drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16102 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_extended_err, 0);
16104 return offset;
16107 static int
16108 drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16110 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_extended_data, 0);
16112 return offset;
16115 static int
16116 drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_refer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16118 offset = drsuapi_dissect_struct_DsAddEntry_RefErrListItem_V1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_refer,0);
16120 return offset;
16124 drsuapi_dissect_struct_DsAddEntryErrorInfo_Referr_V1(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_)
16126 proto_item *item = NULL;
16127 proto_tree *tree = NULL;
16128 int old_offset;
16130 ALIGN_TO_5_BYTES;
16132 old_offset = offset;
16134 if (parent_tree) {
16135 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
16136 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1);
16139 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_dsid(tvb, offset, pinfo, tree, di, drep);
16141 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_extended_err(tvb, offset, pinfo, tree, di, drep);
16143 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_extended_data(tvb, offset, pinfo, tree, di, drep);
16145 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_refer(tvb, offset, pinfo, tree, di, drep);
16148 proto_item_set_len(item, offset-old_offset);
16151 if (di->call_data->flags & DCERPC_IS_NDR64) {
16152 ALIGN_TO_5_BYTES;
16155 return offset;
16159 /* IDL: [switch_type(uint32)] union { */
16160 /* IDL: [case(1)] [case(1)] drsuapi_DsAddEntryErrorInfo_Attr_V1 attr_err; */
16161 /* IDL: [case(2)] [case(2)] drsuapi_DsAddEntryErrorInfo_Name_V1 name_err; */
16162 /* IDL: [case(3)] [case(3)] drsuapi_DsAddEntryErrorInfo_Referr_V1 referral_err; */
16163 /* IDL: [case(4)] [case(4)] drsuapi_DsAddEntryErrorInfoX security_err; */
16164 /* IDL: [case(5)] [case(5)] drsuapi_DsAddEntryErrorInfoX service_err; */
16165 /* IDL: [case(6)] [case(6)] drsuapi_DsAddEntryErrorInfoX update_err; */
16166 /* IDL: [case(7)] [case(7)] drsuapi_DsAddEntryErrorInfoX system_err; */
16167 /* IDL: } */
16169 static int
16170 drsuapi_dissect_element_DsAddEntryErrorInfo_attr_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16172 offset = drsuapi_dissect_struct_DsAddEntryErrorInfo_Attr_V1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_attr_err,0);
16174 return offset;
16177 static int
16178 drsuapi_dissect_element_DsAddEntryErrorInfo_name_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16180 offset = drsuapi_dissect_struct_DsAddEntryErrorInfo_Name_V1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_name_err,0);
16182 return offset;
16185 static int
16186 drsuapi_dissect_element_DsAddEntryErrorInfo_referral_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16188 offset = drsuapi_dissect_struct_DsAddEntryErrorInfo_Referr_V1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_referral_err,0);
16190 return offset;
16193 static int
16194 drsuapi_dissect_element_DsAddEntryErrorInfo_security_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16196 offset = drsuapi_dissect_struct_DsAddEntryErrorInfoX(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_security_err,0);
16198 return offset;
16201 static int
16202 drsuapi_dissect_element_DsAddEntryErrorInfo_service_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16204 offset = drsuapi_dissect_struct_DsAddEntryErrorInfoX(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_service_err,0);
16206 return offset;
16209 static int
16210 drsuapi_dissect_element_DsAddEntryErrorInfo_update_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16212 offset = drsuapi_dissect_struct_DsAddEntryErrorInfoX(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_update_err,0);
16214 return offset;
16217 static int
16218 drsuapi_dissect_element_DsAddEntryErrorInfo_system_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16220 offset = drsuapi_dissect_struct_DsAddEntryErrorInfoX(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_system_err,0);
16222 return offset;
16225 static int
16226 drsuapi_dissect_DsAddEntryErrorInfo(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_)
16228 proto_item *item = NULL;
16229 proto_tree *tree = NULL;
16230 int old_offset;
16231 uint32_t level;
16233 old_offset = offset;
16234 if (parent_tree) {
16235 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsAddEntryErrorInfo, &item, "drsuapi_DsAddEntryErrorInfo");
16238 UNION_ALIGN_TO_5_BYTES;
16239 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
16240 UNION_ALIGN_TO_5_BYTES;
16242 switch(level) {
16243 case 1:
16244 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_attr_err(tvb, offset, pinfo, tree, di, drep);
16245 break;
16247 case 2:
16248 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_name_err(tvb, offset, pinfo, tree, di, drep);
16249 break;
16251 case 3:
16252 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_referral_err(tvb, offset, pinfo, tree, di, drep);
16253 break;
16255 case 4:
16256 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_security_err(tvb, offset, pinfo, tree, di, drep);
16257 break;
16259 case 5:
16260 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_service_err(tvb, offset, pinfo, tree, di, drep);
16261 break;
16263 case 6:
16264 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_update_err(tvb, offset, pinfo, tree, di, drep);
16265 break;
16267 case 7:
16268 offset = drsuapi_dissect_element_DsAddEntryErrorInfo_system_err(tvb, offset, pinfo, tree, di, drep);
16269 break;
16271 proto_item_set_len(item, offset-old_offset);
16274 return offset;
16277 /* IDL: struct { */
16278 /* IDL: WERROR status; */
16279 /* IDL: drsuapi_DsAddEntry_DirErr dir_err; */
16280 /* IDL: [switch_is(dir_err)] [unique(1)] drsuapi_DsAddEntryErrorInfo *info; */
16281 /* IDL: } */
16283 static int
16284 drsuapi_dissect_element_DsAddEntry_ErrData_V1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16286 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_status, 0);
16288 return offset;
16291 static int
16292 drsuapi_dissect_element_DsAddEntry_ErrData_V1_dir_err(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 *dir_err)
16294 offset = drsuapi_dissect_enum_DsAddEntry_DirErr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_dir_err, dir_err);
16296 return offset;
16299 static int
16300 drsuapi_dissect_element_DsAddEntry_ErrData_V1_info(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 dir_err)
16302 uint64_t saved_switch_level = di->switch_level;
16304 di->switch_level = dir_err;
16306 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntry_ErrData_V1_info_, NDR_POINTER_UNIQUE, "Pointer to Info (drsuapi_DsAddEntryErrorInfo)",hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_info);
16308 di->switch_level = saved_switch_level;
16310 return offset;
16313 static int
16314 drsuapi_dissect_element_DsAddEntry_ErrData_V1_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16316 offset = drsuapi_dissect_DsAddEntryErrorInfo(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_info, di->switch_level);
16318 return offset;
16322 drsuapi_dissect_struct_DsAddEntry_ErrData_V1(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_)
16324 uint32_t dir_err = 0;
16325 proto_item *item = NULL;
16326 proto_tree *tree = NULL;
16327 int old_offset;
16329 ALIGN_TO_5_BYTES;
16331 old_offset = offset;
16333 if (parent_tree) {
16334 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
16335 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntry_ErrData_V1);
16338 offset = drsuapi_dissect_element_DsAddEntry_ErrData_V1_status(tvb, offset, pinfo, tree, di, drep);
16340 offset = drsuapi_dissect_element_DsAddEntry_ErrData_V1_dir_err(tvb, offset, pinfo, tree, di, drep, &dir_err);
16342 offset = drsuapi_dissect_element_DsAddEntry_ErrData_V1_info(tvb, offset, pinfo, tree, di, drep, dir_err);
16345 proto_item_set_len(item, offset-old_offset);
16348 if (di->call_data->flags & DCERPC_IS_NDR64) {
16349 ALIGN_TO_5_BYTES;
16352 return offset;
16356 /* IDL: [switch_type(uint32)] union { */
16357 /* IDL: [case(1)] [case(1)] drsuapi_DsAddEntry_ErrData_V1 v1; */
16358 /* IDL: } */
16360 static int
16361 drsuapi_dissect_element_DsAddEntry_ErrData_v1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16363 offset = drsuapi_dissect_struct_DsAddEntry_ErrData_V1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntry_ErrData_v1,0);
16365 return offset;
16368 static int
16369 drsuapi_dissect_DsAddEntry_ErrData(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_)
16371 proto_item *item = NULL;
16372 proto_tree *tree = NULL;
16373 int old_offset;
16374 uint32_t level;
16376 old_offset = offset;
16377 if (parent_tree) {
16378 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsAddEntry_ErrData, &item, "drsuapi_DsAddEntry_ErrData");
16381 UNION_ALIGN_TO_5_BYTES;
16382 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
16383 UNION_ALIGN_TO_5_BYTES;
16385 switch(level) {
16386 case 1:
16387 offset = drsuapi_dissect_element_DsAddEntry_ErrData_v1(tvb, offset, pinfo, tree, di, drep);
16388 break;
16390 proto_item_set_len(item, offset-old_offset);
16393 return offset;
16396 /* IDL: struct { */
16397 /* IDL: GUID guid; */
16398 /* IDL: dom_sid28 sid; */
16399 /* IDL: } */
16401 static int
16402 drsuapi_dissect_element_DsReplicaObjectIdentifier2_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16404 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier2_guid, NULL);
16406 return offset;
16409 static int
16410 drsuapi_dissect_element_DsReplicaObjectIdentifier2_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16412 offset = dissect_ndr_nt_SID28(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier2_sid);
16414 return offset;
16418 drsuapi_dissect_struct_DsReplicaObjectIdentifier2(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_)
16420 proto_item *item = NULL;
16421 proto_tree *tree = NULL;
16422 int old_offset;
16424 ALIGN_TO_4_BYTES;
16426 old_offset = offset;
16428 if (parent_tree) {
16429 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
16430 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjectIdentifier2);
16433 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier2_guid(tvb, offset, pinfo, tree, di, drep);
16435 offset = drsuapi_dissect_element_DsReplicaObjectIdentifier2_sid(tvb, offset, pinfo, tree, di, drep);
16438 proto_item_set_len(item, offset-old_offset);
16441 if (di->call_data->flags & DCERPC_IS_NDR64) {
16442 ALIGN_TO_4_BYTES;
16445 return offset;
16449 /* IDL: struct { */
16450 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *id; */
16451 /* IDL: drsuapi_DsAddEntry_DirErr dir_err; */
16452 /* IDL: uint32 dsid; */
16453 /* IDL: WERROR extended_err; */
16454 /* IDL: uint32 extended_data; */
16455 /* IDL: uint16 problem; */
16456 /* IDL: [range(0,10000)] uint32 count; */
16457 /* IDL: [size_is(count)] [unique(1)] drsuapi_DsReplicaObjectIdentifier2 *objects; */
16458 /* IDL: } */
16460 static int
16461 drsuapi_dissect_element_DsAddEntryCtr2_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16463 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntryCtr2_id_, NDR_POINTER_UNIQUE, "Pointer to Id (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsAddEntryCtr2_id);
16465 return offset;
16468 static int
16469 drsuapi_dissect_element_DsAddEntryCtr2_id_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16471 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryCtr2_id,0);
16473 return offset;
16476 static int
16477 drsuapi_dissect_element_DsAddEntryCtr2_dir_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16479 offset = drsuapi_dissect_enum_DsAddEntry_DirErr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryCtr2_dir_err, 0);
16481 return offset;
16484 static int
16485 drsuapi_dissect_element_DsAddEntryCtr2_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16487 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryCtr2_dsid, 0);
16489 return offset;
16492 static int
16493 drsuapi_dissect_element_DsAddEntryCtr2_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16495 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryCtr2_extended_err, 0);
16497 return offset;
16500 static int
16501 drsuapi_dissect_element_DsAddEntryCtr2_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16503 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryCtr2_extended_data, 0);
16505 return offset;
16508 static int
16509 drsuapi_dissect_element_DsAddEntryCtr2_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16511 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryCtr2_problem, 0);
16513 return offset;
16516 static int
16517 drsuapi_dissect_element_DsAddEntryCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16519 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryCtr2_count, 0);
16521 return offset;
16524 static int
16525 drsuapi_dissect_element_DsAddEntryCtr2_objects(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16527 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntryCtr2_objects_, NDR_POINTER_UNIQUE, "Pointer to Objects (drsuapi_DsReplicaObjectIdentifier2)",hf_drsuapi_drsuapi_DsAddEntryCtr2_objects);
16529 return offset;
16532 static int
16533 drsuapi_dissect_element_DsAddEntryCtr2_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16535 struct ndr_generic_array nga = { .is_conformant = false, };
16537 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16539 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsAddEntryCtr2_objects__);
16541 return offset;
16544 static int
16545 drsuapi_dissect_element_DsAddEntryCtr2_objects__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16547 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryCtr2_objects,0);
16549 return offset;
16553 drsuapi_dissect_struct_DsAddEntryCtr2(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_)
16555 proto_item *item = NULL;
16556 proto_tree *tree = NULL;
16557 int old_offset;
16559 ALIGN_TO_5_BYTES;
16561 old_offset = offset;
16563 if (parent_tree) {
16564 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
16565 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryCtr2);
16568 offset = drsuapi_dissect_element_DsAddEntryCtr2_id(tvb, offset, pinfo, tree, di, drep);
16570 offset = drsuapi_dissect_element_DsAddEntryCtr2_dir_err(tvb, offset, pinfo, tree, di, drep);
16572 offset = drsuapi_dissect_element_DsAddEntryCtr2_dsid(tvb, offset, pinfo, tree, di, drep);
16574 offset = drsuapi_dissect_element_DsAddEntryCtr2_extended_err(tvb, offset, pinfo, tree, di, drep);
16576 offset = drsuapi_dissect_element_DsAddEntryCtr2_extended_data(tvb, offset, pinfo, tree, di, drep);
16578 offset = drsuapi_dissect_element_DsAddEntryCtr2_problem(tvb, offset, pinfo, tree, di, drep);
16580 offset = drsuapi_dissect_element_DsAddEntryCtr2_count(tvb, offset, pinfo, tree, di, drep);
16582 offset = drsuapi_dissect_element_DsAddEntryCtr2_objects(tvb, offset, pinfo, tree, di, drep);
16585 proto_item_set_len(item, offset-old_offset);
16588 if (di->call_data->flags & DCERPC_IS_NDR64) {
16589 ALIGN_TO_5_BYTES;
16592 return offset;
16596 /* IDL: struct { */
16597 /* IDL: [unique(1)] drsuapi_DsReplicaObjectIdentifier *id; */
16598 /* IDL: uint32 err_ver; */
16599 /* IDL: [switch_is(err_ver)] [unique(1)] drsuapi_DsAddEntry_ErrData *err_data; */
16600 /* IDL: [range(0,10000)] uint32 count; */
16601 /* IDL: [size_is(count)] [unique(1)] drsuapi_DsReplicaObjectIdentifier2 *objects; */
16602 /* IDL: } */
16604 static int
16605 drsuapi_dissect_element_DsAddEntryCtr3_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16607 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntryCtr3_id_, NDR_POINTER_UNIQUE, "Pointer to Id (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsAddEntryCtr3_id);
16609 return offset;
16612 static int
16613 drsuapi_dissect_element_DsAddEntryCtr3_id_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16615 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryCtr3_id,0);
16617 return offset;
16620 static int
16621 drsuapi_dissect_element_DsAddEntryCtr3_err_ver(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 *err_ver)
16623 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryCtr3_err_ver, *err_ver);
16625 return offset;
16628 static int
16629 drsuapi_dissect_element_DsAddEntryCtr3_err_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 err_ver)
16631 uint64_t saved_switch_level = di->switch_level;
16633 di->switch_level = err_ver;
16635 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntryCtr3_err_data_, NDR_POINTER_UNIQUE, "Pointer to Err Data (drsuapi_DsAddEntry_ErrData)",hf_drsuapi_drsuapi_DsAddEntryCtr3_err_data);
16637 di->switch_level = saved_switch_level;
16639 return offset;
16642 static int
16643 drsuapi_dissect_element_DsAddEntryCtr3_err_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16645 offset = drsuapi_dissect_DsAddEntry_ErrData(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryCtr3_err_data, di->switch_level);
16647 return offset;
16650 static int
16651 drsuapi_dissect_element_DsAddEntryCtr3_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16653 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntryCtr3_count, 0);
16655 return offset;
16658 static int
16659 drsuapi_dissect_element_DsAddEntryCtr3_objects(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16661 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntryCtr3_objects_, NDR_POINTER_UNIQUE, "Pointer to Objects (drsuapi_DsReplicaObjectIdentifier2)",hf_drsuapi_drsuapi_DsAddEntryCtr3_objects);
16663 return offset;
16666 static int
16667 drsuapi_dissect_element_DsAddEntryCtr3_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16669 struct ndr_generic_array nga = { .is_conformant = false, };
16671 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16673 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsAddEntryCtr3_objects__);
16675 return offset;
16678 static int
16679 drsuapi_dissect_element_DsAddEntryCtr3_objects__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16681 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryCtr3_objects,0);
16683 return offset;
16687 drsuapi_dissect_struct_DsAddEntryCtr3(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_)
16689 uint32_t err_ver = 0;
16690 proto_item *item = NULL;
16691 proto_tree *tree = NULL;
16692 int old_offset;
16694 ALIGN_TO_5_BYTES;
16696 old_offset = offset;
16698 if (parent_tree) {
16699 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
16700 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryCtr3);
16703 offset = drsuapi_dissect_element_DsAddEntryCtr3_id(tvb, offset, pinfo, tree, di, drep);
16705 offset = drsuapi_dissect_element_DsAddEntryCtr3_err_ver(tvb, offset, pinfo, tree, di, drep, &err_ver);
16707 offset = drsuapi_dissect_element_DsAddEntryCtr3_err_data(tvb, offset, pinfo, tree, di, drep, err_ver);
16709 offset = drsuapi_dissect_element_DsAddEntryCtr3_count(tvb, offset, pinfo, tree, di, drep);
16711 offset = drsuapi_dissect_element_DsAddEntryCtr3_objects(tvb, offset, pinfo, tree, di, drep);
16714 proto_item_set_len(item, offset-old_offset);
16717 if (di->call_data->flags & DCERPC_IS_NDR64) {
16718 ALIGN_TO_5_BYTES;
16721 return offset;
16725 /* IDL: [switch_type(uint32)] union { */
16726 /* IDL: [case(2)] [case(2)] drsuapi_DsAddEntryCtr2 ctr2; */
16727 /* IDL: [case(3)] [case(3)] drsuapi_DsAddEntryCtr3 ctr3; */
16728 /* IDL: } */
16730 static int
16731 drsuapi_dissect_element_DsAddEntryCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16733 offset = drsuapi_dissect_struct_DsAddEntryCtr2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryCtr_ctr2,0);
16735 return offset;
16738 static int
16739 drsuapi_dissect_element_DsAddEntryCtr_ctr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16741 offset = drsuapi_dissect_struct_DsAddEntryCtr3(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsAddEntryCtr_ctr3,0);
16743 return offset;
16746 static int
16747 drsuapi_dissect_DsAddEntryCtr(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_)
16749 proto_item *item = NULL;
16750 proto_tree *tree = NULL;
16751 int old_offset;
16752 uint32_t level;
16754 old_offset = offset;
16755 if (parent_tree) {
16756 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsAddEntryCtr, &item, "drsuapi_DsAddEntryCtr");
16759 UNION_ALIGN_TO_5_BYTES;
16760 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
16761 UNION_ALIGN_TO_5_BYTES;
16763 switch(level) {
16764 case 2:
16765 offset = drsuapi_dissect_element_DsAddEntryCtr_ctr2(tvb, offset, pinfo, tree, di, drep);
16766 break;
16768 case 3:
16769 offset = drsuapi_dissect_element_DsAddEntryCtr_ctr3(tvb, offset, pinfo, tree, di, drep);
16770 break;
16772 proto_item_set_len(item, offset-old_offset);
16775 return offset;
16778 /* IDL: bitmap { */
16779 /* IDL: DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION = 0x00000001 , */
16780 /* IDL: DRSUAPI_DS_EXECUTE_KCC_DAMPED = 0x00000002 , */
16781 /* IDL: } */
16784 drsuapi_dissect_bitmap_DsExecuteKCCFlags(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_)
16786 proto_item *item;
16787 static int * const drsuapi_drsuapi_DsExecuteKCCFlags_fields[] = {
16788 &hf_drsuapi_drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION,
16789 &hf_drsuapi_drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_DAMPED,
16790 NULL
16792 uint32_t flags;
16793 ALIGN_TO_4_BYTES;
16795 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
16796 ett_drsuapi_drsuapi_DsExecuteKCCFlags, drsuapi_drsuapi_DsExecuteKCCFlags_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
16798 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
16800 if (!flags)
16801 proto_item_append_text(item, ": (No values set)");
16803 if (flags & (~0x00000003)) {
16804 flags &= (~0x00000003);
16805 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
16808 return offset;
16812 /* IDL: struct { */
16813 /* IDL: uint32 taskID; */
16814 /* IDL: drsuapi_DsExecuteKCCFlags flags; */
16815 /* IDL: } */
16817 static int
16818 drsuapi_dissect_element_DsExecuteKCC1_taskID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16820 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsExecuteKCC1_taskID, 0);
16822 return offset;
16825 static int
16826 drsuapi_dissect_element_DsExecuteKCC1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16828 offset = drsuapi_dissect_bitmap_DsExecuteKCCFlags(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsExecuteKCC1_flags, 0);
16830 return offset;
16834 drsuapi_dissect_struct_DsExecuteKCC1(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_)
16836 proto_item *item = NULL;
16837 proto_tree *tree = NULL;
16838 int old_offset;
16840 ALIGN_TO_4_BYTES;
16842 old_offset = offset;
16844 if (parent_tree) {
16845 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
16846 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsExecuteKCC1);
16849 offset = drsuapi_dissect_element_DsExecuteKCC1_taskID(tvb, offset, pinfo, tree, di, drep);
16851 offset = drsuapi_dissect_element_DsExecuteKCC1_flags(tvb, offset, pinfo, tree, di, drep);
16854 proto_item_set_len(item, offset-old_offset);
16857 if (di->call_data->flags & DCERPC_IS_NDR64) {
16858 ALIGN_TO_4_BYTES;
16861 return offset;
16865 /* IDL: [switch_type(uint32)] union { */
16866 /* IDL: [case(1)] [case(1)] drsuapi_DsExecuteKCC1 ctr1; */
16867 /* IDL: } */
16869 static int
16870 drsuapi_dissect_element_DsExecuteKCCRequest_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16872 offset = drsuapi_dissect_struct_DsExecuteKCC1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsExecuteKCCRequest_ctr1,0);
16874 return offset;
16877 static int
16878 drsuapi_dissect_DsExecuteKCCRequest(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_)
16880 proto_item *item = NULL;
16881 proto_tree *tree = NULL;
16882 int old_offset;
16883 uint32_t level;
16885 old_offset = offset;
16886 if (parent_tree) {
16887 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsExecuteKCCRequest, &item, "drsuapi_DsExecuteKCCRequest");
16890 UNION_ALIGN_TO_4_BYTES;
16891 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
16892 UNION_ALIGN_TO_4_BYTES;
16894 switch(level) {
16895 case 1:
16896 offset = drsuapi_dissect_element_DsExecuteKCCRequest_ctr1(tvb, offset, pinfo, tree, di, drep);
16897 break;
16899 proto_item_set_len(item, offset-old_offset);
16902 return offset;
16905 /* IDL: enum { */
16906 /* IDL: DRSUAPI_DS_REPLICA_GET_INFO=1, */
16907 /* IDL: DRSUAPI_DS_REPLICA_GET_INFO2=2, */
16908 /* IDL: } */
16911 drsuapi_dissect_enum_DsReplicaGetInfoLevel(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_)
16913 uint32_t parameter=0;
16914 if (param) {
16915 parameter = *param;
16917 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
16918 if (param) {
16919 *param = parameter;
16921 return offset;
16925 /* IDL: enum { */
16926 /* IDL: DRSUAPI_DS_REPLICA_INFO_NEIGHBORS=0, */
16927 /* IDL: DRSUAPI_DS_REPLICA_INFO_CURSORS=1, */
16928 /* IDL: DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA=2, */
16929 /* IDL: DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES=3, */
16930 /* IDL: DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES=4, */
16931 /* IDL: DRSUAPI_DS_REPLICA_INFO_PENDING_OPS=5, */
16932 /* IDL: DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA=6, */
16933 /* IDL: DRSUAPI_DS_REPLICA_INFO_CURSORS2=7, */
16934 /* IDL: DRSUAPI_DS_REPLICA_INFO_CURSORS3=8, */
16935 /* IDL: DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2=9, */
16936 /* IDL: DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2=10, */
16937 /* IDL: DRSUAPI_DS_REPLICA_INFO_REPSTO=-2, */
16938 /* IDL: DRSUAPI_DS_REPLICA_INFO_CLIENT_CONTEXTS=-4, */
16939 /* IDL: DRSUAPI_DS_REPLICA_INFO_UPTODATE_VECTOR_V1=-5, */
16940 /* IDL: DRSUAPI_DS_REPLICA_INFO_SERVER_OUTGOING_CALLS=-6, */
16941 /* IDL: } */
16944 drsuapi_dissect_enum_DsReplicaInfoType(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_)
16946 uint32_t parameter=0;
16947 if (param) {
16948 parameter = *param;
16950 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
16951 if (param) {
16952 *param = parameter;
16954 return offset;
16958 /* IDL: struct { */
16959 /* IDL: drsuapi_DsReplicaInfoType info_type; */
16960 /* IDL: [charset(UTF16)] [unique(1)] uint16 *object_dn; */
16961 /* IDL: GUID source_dsa_guid; */
16962 /* IDL: } */
16964 static int
16965 drsuapi_dissect_element_DsReplicaGetInfoRequest1_info_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16967 offset = drsuapi_dissect_enum_DsReplicaInfoType(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_info_type, 0);
16969 return offset;
16972 static int
16973 drsuapi_dissect_element_DsReplicaGetInfoRequest1_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16975 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaGetInfoRequest1_object_dn_, NDR_POINTER_UNIQUE, "Pointer to Object Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_object_dn);
16977 return offset;
16980 static int
16981 drsuapi_dissect_element_DsReplicaGetInfoRequest1_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16983 char *data = NULL;
16984 struct ndr_generic_array nga = { .is_conformant = false, };
16986 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16988 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16989 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_object_dn, false, &nga, &data);
16990 proto_item_append_text(tree, ": %s", data);
16992 return offset;
16995 static int
16996 drsuapi_dissect_element_DsReplicaGetInfoRequest1_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16998 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_source_dsa_guid, NULL);
17000 return offset;
17004 drsuapi_dissect_struct_DsReplicaGetInfoRequest1(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_)
17006 proto_item *item = NULL;
17007 proto_tree *tree = NULL;
17008 int old_offset;
17010 ALIGN_TO_5_BYTES;
17012 old_offset = offset;
17014 if (parent_tree) {
17015 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
17016 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaGetInfoRequest1);
17019 offset = drsuapi_dissect_element_DsReplicaGetInfoRequest1_info_type(tvb, offset, pinfo, tree, di, drep);
17021 offset = drsuapi_dissect_element_DsReplicaGetInfoRequest1_object_dn(tvb, offset, pinfo, tree, di, drep);
17023 offset = drsuapi_dissect_element_DsReplicaGetInfoRequest1_source_dsa_guid(tvb, offset, pinfo, tree, di, drep);
17026 proto_item_set_len(item, offset-old_offset);
17029 if (di->call_data->flags & DCERPC_IS_NDR64) {
17030 ALIGN_TO_5_BYTES;
17033 return offset;
17037 /* IDL: struct { */
17038 /* IDL: drsuapi_DsReplicaInfoType info_type; */
17039 /* IDL: [charset(UTF16)] [unique(1)] uint16 *object_dn; */
17040 /* IDL: GUID source_dsa_guid; */
17041 /* IDL: uint32 flags; */
17042 /* IDL: [charset(UTF16)] [unique(1)] uint16 *attribute_name; */
17043 /* IDL: [charset(UTF16)] [unique(1)] uint16 *value_dn_str; */
17044 /* IDL: uint32 enumeration_context; */
17045 /* IDL: } */
17047 static int
17048 drsuapi_dissect_element_DsReplicaGetInfoRequest2_info_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17050 offset = drsuapi_dissect_enum_DsReplicaInfoType(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_info_type, 0);
17052 return offset;
17055 static int
17056 drsuapi_dissect_element_DsReplicaGetInfoRequest2_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17058 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaGetInfoRequest2_object_dn_, NDR_POINTER_UNIQUE, "Pointer to Object Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_object_dn);
17060 return offset;
17063 static int
17064 drsuapi_dissect_element_DsReplicaGetInfoRequest2_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17066 char *data = NULL;
17067 struct ndr_generic_array nga = { .is_conformant = false, };
17069 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17071 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17072 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_object_dn, false, &nga, &data);
17073 proto_item_append_text(tree, ": %s", data);
17075 return offset;
17078 static int
17079 drsuapi_dissect_element_DsReplicaGetInfoRequest2_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17081 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_source_dsa_guid, NULL);
17083 return offset;
17086 static int
17087 drsuapi_dissect_element_DsReplicaGetInfoRequest2_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17089 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_flags, 0);
17091 return offset;
17094 static int
17095 drsuapi_dissect_element_DsReplicaGetInfoRequest2_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17097 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaGetInfoRequest2_attribute_name_, NDR_POINTER_UNIQUE, "Pointer to Attribute Name (uint16)",hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_attribute_name);
17099 return offset;
17102 static int
17103 drsuapi_dissect_element_DsReplicaGetInfoRequest2_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17105 char *data = NULL;
17106 struct ndr_generic_array nga = { .is_conformant = false, };
17108 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17110 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17111 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_attribute_name, false, &nga, &data);
17112 proto_item_append_text(tree, ": %s", data);
17114 return offset;
17117 static int
17118 drsuapi_dissect_element_DsReplicaGetInfoRequest2_value_dn_str(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17120 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaGetInfoRequest2_value_dn_str_, NDR_POINTER_UNIQUE, "Pointer to Value Dn Str (uint16)",hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_value_dn_str);
17122 return offset;
17125 static int
17126 drsuapi_dissect_element_DsReplicaGetInfoRequest2_value_dn_str_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17128 char *data = NULL;
17129 struct ndr_generic_array nga = { .is_conformant = false, };
17131 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17133 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17134 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_value_dn_str, false, &nga, &data);
17135 proto_item_append_text(tree, ": %s", data);
17137 return offset;
17140 static int
17141 drsuapi_dissect_element_DsReplicaGetInfoRequest2_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17143 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_enumeration_context, 0);
17145 return offset;
17149 drsuapi_dissect_struct_DsReplicaGetInfoRequest2(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_)
17151 proto_item *item = NULL;
17152 proto_tree *tree = NULL;
17153 int old_offset;
17155 ALIGN_TO_5_BYTES;
17157 old_offset = offset;
17159 if (parent_tree) {
17160 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
17161 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaGetInfoRequest2);
17164 offset = drsuapi_dissect_element_DsReplicaGetInfoRequest2_info_type(tvb, offset, pinfo, tree, di, drep);
17166 offset = drsuapi_dissect_element_DsReplicaGetInfoRequest2_object_dn(tvb, offset, pinfo, tree, di, drep);
17168 offset = drsuapi_dissect_element_DsReplicaGetInfoRequest2_source_dsa_guid(tvb, offset, pinfo, tree, di, drep);
17170 offset = drsuapi_dissect_element_DsReplicaGetInfoRequest2_flags(tvb, offset, pinfo, tree, di, drep);
17172 offset = drsuapi_dissect_element_DsReplicaGetInfoRequest2_attribute_name(tvb, offset, pinfo, tree, di, drep);
17174 offset = drsuapi_dissect_element_DsReplicaGetInfoRequest2_value_dn_str(tvb, offset, pinfo, tree, di, drep);
17176 offset = drsuapi_dissect_element_DsReplicaGetInfoRequest2_enumeration_context(tvb, offset, pinfo, tree, di, drep);
17179 proto_item_set_len(item, offset-old_offset);
17182 if (di->call_data->flags & DCERPC_IS_NDR64) {
17183 ALIGN_TO_5_BYTES;
17186 return offset;
17190 /* IDL: [switch_type(drsuapi_DsReplicaGetInfoLevel)] union { */
17191 /* IDL: [case(DRSUAPI_DS_REPLICA_GET_INFO)] [case(DRSUAPI_DS_REPLICA_GET_INFO)] drsuapi_DsReplicaGetInfoRequest1 req1; */
17192 /* IDL: [case(DRSUAPI_DS_REPLICA_GET_INFO2)] [case(DRSUAPI_DS_REPLICA_GET_INFO2)] drsuapi_DsReplicaGetInfoRequest2 req2; */
17193 /* IDL: } */
17195 static int
17196 drsuapi_dissect_element_DsReplicaGetInfoRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17198 offset = drsuapi_dissect_struct_DsReplicaGetInfoRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaGetInfoRequest_req1,0);
17200 return offset;
17203 static int
17204 drsuapi_dissect_element_DsReplicaGetInfoRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17206 offset = drsuapi_dissect_struct_DsReplicaGetInfoRequest2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaGetInfoRequest_req2,0);
17208 return offset;
17211 static int
17212 drsuapi_dissect_DsReplicaGetInfoRequest(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_)
17214 proto_item *item = NULL;
17215 proto_tree *tree = NULL;
17216 int old_offset;
17217 uint32_t level;
17219 old_offset = offset;
17220 if (parent_tree) {
17221 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsReplicaGetInfoRequest, &item, "drsuapi_DsReplicaGetInfoRequest");
17224 UNION_ALIGN_TO_5_BYTES;
17225 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
17226 UNION_ALIGN_TO_5_BYTES;
17228 switch(level) {
17229 case DRSUAPI_DS_REPLICA_GET_INFO:
17230 offset = drsuapi_dissect_element_DsReplicaGetInfoRequest_req1(tvb, offset, pinfo, tree, di, drep);
17231 break;
17233 case DRSUAPI_DS_REPLICA_GET_INFO2:
17234 offset = drsuapi_dissect_element_DsReplicaGetInfoRequest_req2(tvb, offset, pinfo, tree, di, drep);
17235 break;
17237 proto_item_set_len(item, offset-old_offset);
17240 return offset;
17243 /* IDL: struct { */
17244 /* IDL: [charset(UTF16)] [unique(1)] uint16 *naming_context_dn; */
17245 /* IDL: [charset(UTF16)] [unique(1)] uint16 *source_dsa_obj_dn; */
17246 /* IDL: [charset(UTF16)] [unique(1)] uint16 *source_dsa_address; */
17247 /* IDL: [charset(UTF16)] [unique(1)] uint16 *transport_obj_dn; */
17248 /* IDL: drsuapi_DrsOptions replica_flags; */
17249 /* IDL: uint32 reserved; */
17250 /* IDL: GUID naming_context_obj_guid; */
17251 /* IDL: GUID source_dsa_obj_guid; */
17252 /* IDL: GUID source_dsa_invocation_id; */
17253 /* IDL: GUID transport_obj_guid; */
17254 /* IDL: hyper tmp_highest_usn; */
17255 /* IDL: hyper highest_usn; */
17256 /* IDL: NTTIME last_success; */
17257 /* IDL: NTTIME last_attempt; */
17258 /* IDL: WERROR result_last_attempt; */
17259 /* IDL: uint32 consecutive_sync_failures; */
17260 /* IDL: } */
17262 static int
17263 drsuapi_dissect_element_DsReplicaNeighbour_naming_context_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17265 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaNeighbour_naming_context_dn_, NDR_POINTER_UNIQUE, "Pointer to Naming Context Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaNeighbour_naming_context_dn);
17267 return offset;
17270 static int
17271 drsuapi_dissect_element_DsReplicaNeighbour_naming_context_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17273 char *data = NULL;
17274 struct ndr_generic_array nga = { .is_conformant = false, };
17276 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17278 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17279 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaNeighbour_naming_context_dn, false, &nga, &data);
17280 proto_item_append_text(tree, ": %s", data);
17282 return offset;
17285 static int
17286 drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17288 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_obj_dn_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Obj Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn);
17290 return offset;
17293 static int
17294 drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17296 char *data = NULL;
17297 struct ndr_generic_array nga = { .is_conformant = false, };
17299 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17301 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17302 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn, false, &nga, &data);
17303 proto_item_append_text(tree, ": %s", data);
17305 return offset;
17308 static int
17309 drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17311 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_address_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Address (uint16)",hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_address);
17313 return offset;
17316 static int
17317 drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17319 char *data = NULL;
17320 struct ndr_generic_array nga = { .is_conformant = false, };
17322 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17324 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17325 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_address, false, &nga, &data);
17326 proto_item_append_text(tree, ": %s", data);
17328 return offset;
17331 static int
17332 drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17334 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_dn_, NDR_POINTER_UNIQUE, "Pointer to Transport Obj Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaNeighbour_transport_obj_dn);
17336 return offset;
17339 static int
17340 drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17342 char *data = NULL;
17343 struct ndr_generic_array nga = { .is_conformant = false, };
17345 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17347 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17348 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaNeighbour_transport_obj_dn, false, &nga, &data);
17349 proto_item_append_text(tree, ": %s", data);
17351 return offset;
17354 static int
17355 drsuapi_dissect_element_DsReplicaNeighbour_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17357 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_replica_flags, 0);
17359 return offset;
17362 static int
17363 drsuapi_dissect_element_DsReplicaNeighbour_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17365 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_reserved, 0);
17367 return offset;
17370 static int
17371 drsuapi_dissect_element_DsReplicaNeighbour_naming_context_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17373 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_naming_context_obj_guid, NULL);
17375 return offset;
17378 static int
17379 drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17381 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid, NULL);
17383 return offset;
17386 static int
17387 drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17389 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id, NULL);
17391 return offset;
17394 static int
17395 drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17397 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_transport_obj_guid, NULL);
17399 return offset;
17402 static int
17403 drsuapi_dissect_element_DsReplicaNeighbour_tmp_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17405 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_tmp_highest_usn, NULL);
17407 return offset;
17410 static int
17411 drsuapi_dissect_element_DsReplicaNeighbour_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17413 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_highest_usn, NULL);
17415 return offset;
17418 static int
17419 drsuapi_dissect_element_DsReplicaNeighbour_last_success(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17421 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_last_success);
17423 return offset;
17426 static int
17427 drsuapi_dissect_element_DsReplicaNeighbour_last_attempt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17429 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_last_attempt);
17431 return offset;
17434 static int
17435 drsuapi_dissect_element_DsReplicaNeighbour_result_last_attempt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17437 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_result_last_attempt, 0);
17439 return offset;
17442 static int
17443 drsuapi_dissect_element_DsReplicaNeighbour_consecutive_sync_failures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17445 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_consecutive_sync_failures, 0);
17447 return offset;
17451 drsuapi_dissect_struct_DsReplicaNeighbour(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_)
17453 proto_item *item = NULL;
17454 proto_tree *tree = NULL;
17455 int old_offset;
17457 ALIGN_TO_8_BYTES;
17459 old_offset = offset;
17461 if (parent_tree) {
17462 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
17463 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaNeighbour);
17466 offset = drsuapi_dissect_element_DsReplicaNeighbour_naming_context_dn(tvb, offset, pinfo, tree, di, drep);
17468 offset = drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_obj_dn(tvb, offset, pinfo, tree, di, drep);
17470 offset = drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_address(tvb, offset, pinfo, tree, di, drep);
17472 offset = drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_dn(tvb, offset, pinfo, tree, di, drep);
17474 offset = drsuapi_dissect_element_DsReplicaNeighbour_replica_flags(tvb, offset, pinfo, tree, di, drep);
17476 offset = drsuapi_dissect_element_DsReplicaNeighbour_reserved(tvb, offset, pinfo, tree, di, drep);
17478 offset = drsuapi_dissect_element_DsReplicaNeighbour_naming_context_obj_guid(tvb, offset, pinfo, tree, di, drep);
17480 offset = drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_obj_guid(tvb, offset, pinfo, tree, di, drep);
17482 offset = drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
17484 offset = drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_guid(tvb, offset, pinfo, tree, di, drep);
17486 offset = drsuapi_dissect_element_DsReplicaNeighbour_tmp_highest_usn(tvb, offset, pinfo, tree, di, drep);
17488 offset = drsuapi_dissect_element_DsReplicaNeighbour_highest_usn(tvb, offset, pinfo, tree, di, drep);
17490 offset = drsuapi_dissect_element_DsReplicaNeighbour_last_success(tvb, offset, pinfo, tree, di, drep);
17492 offset = drsuapi_dissect_element_DsReplicaNeighbour_last_attempt(tvb, offset, pinfo, tree, di, drep);
17494 offset = drsuapi_dissect_element_DsReplicaNeighbour_result_last_attempt(tvb, offset, pinfo, tree, di, drep);
17496 offset = drsuapi_dissect_element_DsReplicaNeighbour_consecutive_sync_failures(tvb, offset, pinfo, tree, di, drep);
17499 proto_item_set_len(item, offset-old_offset);
17502 if (di->call_data->flags & DCERPC_IS_NDR64) {
17503 ALIGN_TO_8_BYTES;
17506 return offset;
17510 /* IDL: struct { */
17511 /* IDL: uint32 count; */
17512 /* IDL: uint32 reserved; */
17513 /* IDL: [size_is(count)] drsuapi_DsReplicaNeighbour array[*]; */
17514 /* IDL: } */
17516 static int
17517 drsuapi_dissect_element_DsReplicaNeighbourCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17519 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_count, 0);
17521 return offset;
17524 static int
17525 drsuapi_dissect_element_DsReplicaNeighbourCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17527 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_reserved, 0);
17529 return offset;
17532 static int
17533 drsuapi_dissect_element_DsReplicaNeighbourCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
17536 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplicaNeighbourCtr_array_);
17538 return offset;
17541 static int
17542 drsuapi_dissect_element_DsReplicaNeighbourCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17544 offset = drsuapi_dissect_struct_DsReplicaNeighbour(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_array,0);
17546 return offset;
17549 static int
17550 drsuapi_dissect_conformant_DsReplicaNeighbourCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
17552 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
17554 return offset;
17558 drsuapi_dissect_struct_DsReplicaNeighbourCtr(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_)
17560 struct ndr_generic_array nga_array = { .is_conformant = false, };
17561 proto_item *item = NULL;
17562 proto_tree *tree = NULL;
17563 int old_offset;
17565 offset = drsuapi_dissect_conformant_DsReplicaNeighbourCtr_array(tvb, offset, pinfo, parent_tree, di, drep, &nga_array);
17567 ALIGN_TO_8_BYTES;
17569 old_offset = offset;
17571 if (parent_tree) {
17572 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
17573 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaNeighbourCtr);
17576 offset = drsuapi_dissect_element_DsReplicaNeighbourCtr_count(tvb, offset, pinfo, tree, di, drep);
17578 offset = drsuapi_dissect_element_DsReplicaNeighbourCtr_reserved(tvb, offset, pinfo, tree, di, drep);
17580 offset = drsuapi_dissect_element_DsReplicaNeighbourCtr_array(tvb, offset, pinfo, tree, di, drep, &nga_array);
17583 proto_item_set_len(item, offset-old_offset);
17586 return offset;
17590 /* IDL: struct { */
17591 /* IDL: uint32 count; */
17592 /* IDL: uint32 reserved; */
17593 /* IDL: [size_is(count)] drsuapi_DsReplicaCursor array[*]; */
17594 /* IDL: } */
17596 static int
17597 drsuapi_dissect_element_DsReplicaCursorCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17599 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursorCtr_count, 0);
17601 return offset;
17604 static int
17605 drsuapi_dissect_element_DsReplicaCursorCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17607 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursorCtr_reserved, 0);
17609 return offset;
17612 static int
17613 drsuapi_dissect_element_DsReplicaCursorCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
17616 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplicaCursorCtr_array_);
17618 return offset;
17621 static int
17622 drsuapi_dissect_element_DsReplicaCursorCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17624 offset = drsuapi_dissect_struct_DsReplicaCursor(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaCursorCtr_array,0);
17626 return offset;
17629 static int
17630 drsuapi_dissect_conformant_DsReplicaCursorCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
17632 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
17634 return offset;
17638 drsuapi_dissect_struct_DsReplicaCursorCtr(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_)
17640 struct ndr_generic_array nga_array = { .is_conformant = false, };
17641 proto_item *item = NULL;
17642 proto_tree *tree = NULL;
17643 int old_offset;
17645 offset = drsuapi_dissect_conformant_DsReplicaCursorCtr_array(tvb, offset, pinfo, parent_tree, di, drep, &nga_array);
17647 ALIGN_TO_8_BYTES;
17649 old_offset = offset;
17651 if (parent_tree) {
17652 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
17653 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursorCtr);
17656 offset = drsuapi_dissect_element_DsReplicaCursorCtr_count(tvb, offset, pinfo, tree, di, drep);
17658 offset = drsuapi_dissect_element_DsReplicaCursorCtr_reserved(tvb, offset, pinfo, tree, di, drep);
17660 offset = drsuapi_dissect_element_DsReplicaCursorCtr_array(tvb, offset, pinfo, tree, di, drep, &nga_array);
17663 proto_item_set_len(item, offset-old_offset);
17666 return offset;
17670 /* IDL: struct { */
17671 /* IDL: [charset(UTF16)] [unique(1)] uint16 *attribute_name; */
17672 /* IDL: uint32 version; */
17673 /* IDL: NTTIME originating_change_time; */
17674 /* IDL: GUID originating_invocation_id; */
17675 /* IDL: hyper originating_usn; */
17676 /* IDL: hyper local_usn; */
17677 /* IDL: } */
17679 static int
17680 drsuapi_dissect_element_DsReplicaObjMetaData_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17682 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaObjMetaData_attribute_name_, NDR_POINTER_UNIQUE, "Pointer to Attribute Name (uint16)",hf_drsuapi_drsuapi_DsReplicaObjMetaData_attribute_name);
17684 return offset;
17687 static int
17688 drsuapi_dissect_element_DsReplicaObjMetaData_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17690 char *data = NULL;
17691 struct ndr_generic_array nga = { .is_conformant = false, };
17693 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17695 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17696 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaObjMetaData_attribute_name, false, &nga, &data);
17697 proto_item_append_text(tree, ": %s", data);
17699 return offset;
17702 static int
17703 drsuapi_dissect_element_DsReplicaObjMetaData_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17705 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData_version, 0);
17707 return offset;
17710 static int
17711 drsuapi_dissect_element_DsReplicaObjMetaData_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17713 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_change_time);
17715 return offset;
17718 static int
17719 drsuapi_dissect_element_DsReplicaObjMetaData_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17721 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_invocation_id, NULL);
17723 return offset;
17726 static int
17727 drsuapi_dissect_element_DsReplicaObjMetaData_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17729 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_usn, NULL);
17731 return offset;
17734 static int
17735 drsuapi_dissect_element_DsReplicaObjMetaData_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17737 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData_local_usn, NULL);
17739 return offset;
17743 drsuapi_dissect_struct_DsReplicaObjMetaData(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_)
17745 proto_item *item = NULL;
17746 proto_tree *tree = NULL;
17747 int old_offset;
17749 ALIGN_TO_8_BYTES;
17751 old_offset = offset;
17753 if (parent_tree) {
17754 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
17755 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjMetaData);
17758 offset = drsuapi_dissect_element_DsReplicaObjMetaData_attribute_name(tvb, offset, pinfo, tree, di, drep);
17760 offset = drsuapi_dissect_element_DsReplicaObjMetaData_version(tvb, offset, pinfo, tree, di, drep);
17762 offset = drsuapi_dissect_element_DsReplicaObjMetaData_originating_change_time(tvb, offset, pinfo, tree, di, drep);
17764 offset = drsuapi_dissect_element_DsReplicaObjMetaData_originating_invocation_id(tvb, offset, pinfo, tree, di, drep);
17766 offset = drsuapi_dissect_element_DsReplicaObjMetaData_originating_usn(tvb, offset, pinfo, tree, di, drep);
17768 offset = drsuapi_dissect_element_DsReplicaObjMetaData_local_usn(tvb, offset, pinfo, tree, di, drep);
17771 proto_item_set_len(item, offset-old_offset);
17774 if (di->call_data->flags & DCERPC_IS_NDR64) {
17775 ALIGN_TO_8_BYTES;
17778 return offset;
17782 /* IDL: struct { */
17783 /* IDL: uint32 count; */
17784 /* IDL: uint32 reserved; */
17785 /* IDL: [size_is(count)] drsuapi_DsReplicaObjMetaData array[*]; */
17786 /* IDL: } */
17788 static int
17789 drsuapi_dissect_element_DsReplicaObjMetaDataCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17791 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_count, 0);
17793 return offset;
17796 static int
17797 drsuapi_dissect_element_DsReplicaObjMetaDataCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17799 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_reserved, 0);
17801 return offset;
17804 static int
17805 drsuapi_dissect_element_DsReplicaObjMetaDataCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
17808 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplicaObjMetaDataCtr_array_);
17810 return offset;
17813 static int
17814 drsuapi_dissect_element_DsReplicaObjMetaDataCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17816 offset = drsuapi_dissect_struct_DsReplicaObjMetaData(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_array,0);
17818 return offset;
17821 static int
17822 drsuapi_dissect_conformant_DsReplicaObjMetaDataCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
17824 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
17826 return offset;
17830 drsuapi_dissect_struct_DsReplicaObjMetaDataCtr(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_)
17832 struct ndr_generic_array nga_array = { .is_conformant = false, };
17833 proto_item *item = NULL;
17834 proto_tree *tree = NULL;
17835 int old_offset;
17837 offset = drsuapi_dissect_conformant_DsReplicaObjMetaDataCtr_array(tvb, offset, pinfo, parent_tree, di, drep, &nga_array);
17839 ALIGN_TO_8_BYTES;
17841 old_offset = offset;
17843 if (parent_tree) {
17844 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
17845 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjMetaDataCtr);
17848 offset = drsuapi_dissect_element_DsReplicaObjMetaDataCtr_count(tvb, offset, pinfo, tree, di, drep);
17850 offset = drsuapi_dissect_element_DsReplicaObjMetaDataCtr_reserved(tvb, offset, pinfo, tree, di, drep);
17852 offset = drsuapi_dissect_element_DsReplicaObjMetaDataCtr_array(tvb, offset, pinfo, tree, di, drep, &nga_array);
17855 proto_item_set_len(item, offset-old_offset);
17858 return offset;
17862 /* IDL: struct { */
17863 /* IDL: [charset(UTF16)] [unique(1)] uint16 *dsa_obj_dn; */
17864 /* IDL: GUID dsa_obj_guid; */
17865 /* IDL: NTTIME first_failure; */
17866 /* IDL: uint32 num_failures; */
17867 /* IDL: WERROR last_result; */
17868 /* IDL: } */
17870 static int
17871 drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17873 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_dn_, NDR_POINTER_UNIQUE, "Pointer to Dsa Obj Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn);
17875 return offset;
17878 static int
17879 drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17881 char *data = NULL;
17882 struct ndr_generic_array nga = { .is_conformant = false, };
17884 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17886 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17887 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn, false, &nga, &data);
17888 proto_item_append_text(tree, ": %s", data);
17890 return offset;
17893 static int
17894 drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17896 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid, NULL);
17898 return offset;
17901 static int
17902 drsuapi_dissect_element_DsReplicaKccDsaFailure_first_failure(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17904 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_first_failure);
17906 return offset;
17909 static int
17910 drsuapi_dissect_element_DsReplicaKccDsaFailure_num_failures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17912 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_num_failures, 0);
17914 return offset;
17917 static int
17918 drsuapi_dissect_element_DsReplicaKccDsaFailure_last_result(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17920 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_last_result, 0);
17922 return offset;
17926 drsuapi_dissect_struct_DsReplicaKccDsaFailure(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_)
17928 proto_item *item = NULL;
17929 proto_tree *tree = NULL;
17930 int old_offset;
17932 ALIGN_TO_5_BYTES;
17934 old_offset = offset;
17936 if (parent_tree) {
17937 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
17938 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaKccDsaFailure);
17941 offset = drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_dn(tvb, offset, pinfo, tree, di, drep);
17943 offset = drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_guid(tvb, offset, pinfo, tree, di, drep);
17945 offset = drsuapi_dissect_element_DsReplicaKccDsaFailure_first_failure(tvb, offset, pinfo, tree, di, drep);
17947 offset = drsuapi_dissect_element_DsReplicaKccDsaFailure_num_failures(tvb, offset, pinfo, tree, di, drep);
17949 offset = drsuapi_dissect_element_DsReplicaKccDsaFailure_last_result(tvb, offset, pinfo, tree, di, drep);
17952 proto_item_set_len(item, offset-old_offset);
17955 if (di->call_data->flags & DCERPC_IS_NDR64) {
17956 ALIGN_TO_5_BYTES;
17959 return offset;
17963 /* IDL: struct { */
17964 /* IDL: uint32 count; */
17965 /* IDL: uint32 reserved; */
17966 /* IDL: [size_is(count)] drsuapi_DsReplicaKccDsaFailure array[*]; */
17967 /* IDL: } */
17969 static int
17970 drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17972 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_count, 0);
17974 return offset;
17977 static int
17978 drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17980 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_reserved, 0);
17982 return offset;
17985 static int
17986 drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
17989 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_array_);
17991 return offset;
17994 static int
17995 drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17997 offset = drsuapi_dissect_struct_DsReplicaKccDsaFailure(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_array,0);
17999 return offset;
18002 static int
18003 drsuapi_dissect_conformant_DsReplicaKccDsaFailuresCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
18005 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
18007 return offset;
18011 drsuapi_dissect_struct_DsReplicaKccDsaFailuresCtr(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_)
18013 struct ndr_generic_array nga_array = { .is_conformant = false, };
18014 proto_item *item = NULL;
18015 proto_tree *tree = NULL;
18016 int old_offset;
18018 offset = drsuapi_dissect_conformant_DsReplicaKccDsaFailuresCtr_array(tvb, offset, pinfo, parent_tree, di, drep, &nga_array);
18020 ALIGN_TO_5_BYTES;
18022 old_offset = offset;
18024 if (parent_tree) {
18025 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
18026 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr);
18029 offset = drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_count(tvb, offset, pinfo, tree, di, drep);
18031 offset = drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_reserved(tvb, offset, pinfo, tree, di, drep);
18033 offset = drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_array(tvb, offset, pinfo, tree, di, drep, &nga_array);
18036 proto_item_set_len(item, offset-old_offset);
18039 return offset;
18043 /* IDL: enum { */
18044 /* IDL: DRSUAPI_DS_REPLICA_OP_TYPE_SYNC=0, */
18045 /* IDL: DRSUAPI_DS_REPLICA_OP_TYPE_ADD=1, */
18046 /* IDL: DRSUAPI_DS_REPLICA_OP_TYPE_DELETE=2, */
18047 /* IDL: DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY=3, */
18048 /* IDL: DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS=4, */
18049 /* IDL: } */
18052 drsuapi_dissect_enum_DsReplicaOpType(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_)
18054 uint32_t parameter=0;
18055 if (param) {
18056 parameter = *param;
18058 offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
18059 if (param) {
18060 *param = parameter;
18062 return offset;
18066 /* IDL: struct { */
18067 /* IDL: NTTIME operation_start; */
18068 /* IDL: uint32 serial_num; */
18069 /* IDL: uint32 priority; */
18070 /* IDL: drsuapi_DsReplicaOpType operation_type; */
18071 /* IDL: drsuapi_DrsOptions options; */
18072 /* IDL: [charset(UTF16)] [unique(1)] uint16 *nc_dn; */
18073 /* IDL: [charset(UTF16)] [unique(1)] uint16 *remote_dsa_obj_dn; */
18074 /* IDL: [charset(UTF16)] [unique(1)] uint16 *remote_dsa_address; */
18075 /* IDL: GUID nc_obj_guid; */
18076 /* IDL: GUID remote_dsa_obj_guid; */
18077 /* IDL: } */
18079 static int
18080 drsuapi_dissect_element_DsReplicaOp_operation_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18082 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaOp_operation_start);
18084 return offset;
18087 static int
18088 drsuapi_dissect_element_DsReplicaOp_serial_num(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18090 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaOp_serial_num, 0);
18092 return offset;
18095 static int
18096 drsuapi_dissect_element_DsReplicaOp_priority(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18098 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaOp_priority, 0);
18100 return offset;
18103 static int
18104 drsuapi_dissect_element_DsReplicaOp_operation_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18106 offset = drsuapi_dissect_enum_DsReplicaOpType(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaOp_operation_type, 0);
18108 return offset;
18111 static int
18112 drsuapi_dissect_element_DsReplicaOp_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18114 offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaOp_options, 0);
18116 return offset;
18119 static int
18120 drsuapi_dissect_element_DsReplicaOp_nc_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18122 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaOp_nc_dn_, NDR_POINTER_UNIQUE, "Pointer to Nc Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaOp_nc_dn);
18124 return offset;
18127 static int
18128 drsuapi_dissect_element_DsReplicaOp_nc_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18130 char *data = NULL;
18131 struct ndr_generic_array nga = { .is_conformant = false, };
18133 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18135 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18136 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaOp_nc_dn, false, &nga, &data);
18137 proto_item_append_text(tree, ": %s", data);
18139 return offset;
18142 static int
18143 drsuapi_dissect_element_DsReplicaOp_remote_dsa_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18145 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaOp_remote_dsa_obj_dn_, NDR_POINTER_UNIQUE, "Pointer to Remote Dsa Obj Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_obj_dn);
18147 return offset;
18150 static int
18151 drsuapi_dissect_element_DsReplicaOp_remote_dsa_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18153 char *data = NULL;
18154 struct ndr_generic_array nga = { .is_conformant = false, };
18156 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18158 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18159 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_obj_dn, false, &nga, &data);
18160 proto_item_append_text(tree, ": %s", data);
18162 return offset;
18165 static int
18166 drsuapi_dissect_element_DsReplicaOp_remote_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18168 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaOp_remote_dsa_address_, NDR_POINTER_UNIQUE, "Pointer to Remote Dsa Address (uint16)",hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_address);
18170 return offset;
18173 static int
18174 drsuapi_dissect_element_DsReplicaOp_remote_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18176 char *data = NULL;
18177 struct ndr_generic_array nga = { .is_conformant = false, };
18179 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18181 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18182 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_address, false, &nga, &data);
18183 proto_item_append_text(tree, ": %s", data);
18185 return offset;
18188 static int
18189 drsuapi_dissect_element_DsReplicaOp_nc_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18191 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaOp_nc_obj_guid, NULL);
18193 return offset;
18196 static int
18197 drsuapi_dissect_element_DsReplicaOp_remote_dsa_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18199 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_obj_guid, NULL);
18201 return offset;
18205 drsuapi_dissect_struct_DsReplicaOp(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_)
18207 proto_item *item = NULL;
18208 proto_tree *tree = NULL;
18209 int old_offset;
18211 ALIGN_TO_5_BYTES;
18213 old_offset = offset;
18215 if (parent_tree) {
18216 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
18217 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaOp);
18220 offset = drsuapi_dissect_element_DsReplicaOp_operation_start(tvb, offset, pinfo, tree, di, drep);
18222 offset = drsuapi_dissect_element_DsReplicaOp_serial_num(tvb, offset, pinfo, tree, di, drep);
18224 offset = drsuapi_dissect_element_DsReplicaOp_priority(tvb, offset, pinfo, tree, di, drep);
18226 offset = drsuapi_dissect_element_DsReplicaOp_operation_type(tvb, offset, pinfo, tree, di, drep);
18228 offset = drsuapi_dissect_element_DsReplicaOp_options(tvb, offset, pinfo, tree, di, drep);
18230 offset = drsuapi_dissect_element_DsReplicaOp_nc_dn(tvb, offset, pinfo, tree, di, drep);
18232 offset = drsuapi_dissect_element_DsReplicaOp_remote_dsa_obj_dn(tvb, offset, pinfo, tree, di, drep);
18234 offset = drsuapi_dissect_element_DsReplicaOp_remote_dsa_address(tvb, offset, pinfo, tree, di, drep);
18236 offset = drsuapi_dissect_element_DsReplicaOp_nc_obj_guid(tvb, offset, pinfo, tree, di, drep);
18238 offset = drsuapi_dissect_element_DsReplicaOp_remote_dsa_obj_guid(tvb, offset, pinfo, tree, di, drep);
18241 proto_item_set_len(item, offset-old_offset);
18244 if (di->call_data->flags & DCERPC_IS_NDR64) {
18245 ALIGN_TO_5_BYTES;
18248 return offset;
18252 /* IDL: struct { */
18253 /* IDL: NTTIME time; */
18254 /* IDL: uint32 count; */
18255 /* IDL: [size_is(count)] drsuapi_DsReplicaOp array[*]; */
18256 /* IDL: } */
18258 static int
18259 drsuapi_dissect_element_DsReplicaOpCtr_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18261 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaOpCtr_time);
18263 return offset;
18266 static int
18267 drsuapi_dissect_element_DsReplicaOpCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18269 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaOpCtr_count, 0);
18271 return offset;
18274 static int
18275 drsuapi_dissect_element_DsReplicaOpCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
18278 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplicaOpCtr_array_);
18280 return offset;
18283 static int
18284 drsuapi_dissect_element_DsReplicaOpCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18286 offset = drsuapi_dissect_struct_DsReplicaOp(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaOpCtr_array,0);
18288 return offset;
18291 static int
18292 drsuapi_dissect_conformant_DsReplicaOpCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
18294 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
18296 return offset;
18300 drsuapi_dissect_struct_DsReplicaOpCtr(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_)
18302 struct ndr_generic_array nga_array = { .is_conformant = false, };
18303 proto_item *item = NULL;
18304 proto_tree *tree = NULL;
18305 int old_offset;
18307 offset = drsuapi_dissect_conformant_DsReplicaOpCtr_array(tvb, offset, pinfo, parent_tree, di, drep, &nga_array);
18309 ALIGN_TO_5_BYTES;
18311 old_offset = offset;
18313 if (parent_tree) {
18314 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
18315 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaOpCtr);
18318 offset = drsuapi_dissect_element_DsReplicaOpCtr_time(tvb, offset, pinfo, tree, di, drep);
18320 offset = drsuapi_dissect_element_DsReplicaOpCtr_count(tvb, offset, pinfo, tree, di, drep);
18322 offset = drsuapi_dissect_element_DsReplicaOpCtr_array(tvb, offset, pinfo, tree, di, drep, &nga_array);
18325 proto_item_set_len(item, offset-old_offset);
18328 return offset;
18332 /* IDL: struct { */
18333 /* IDL: [charset(UTF16)] [unique(1)] uint16 *attribute_name; */
18334 /* IDL: [charset(UTF16)] [unique(1)] uint16 *object_dn; */
18335 /* IDL: [value(ndr_size_DATA_BLOB(0,binary,0))] uint32 __ndr_size_binary; */
18336 /* IDL: [unique(1)] DATA_BLOB *binary; */
18337 /* IDL: NTTIME deleted; */
18338 /* IDL: NTTIME created; */
18339 /* IDL: uint32 version; */
18340 /* IDL: NTTIME originating_change_time; */
18341 /* IDL: GUID originating_invocation_id; */
18342 /* IDL: hyper originating_usn; */
18343 /* IDL: hyper local_usn; */
18344 /* IDL: } */
18346 static int
18347 drsuapi_dissect_element_DsReplicaAttrValMetaData_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18349 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData_attribute_name_, NDR_POINTER_UNIQUE, "Pointer to Attribute Name (uint16)",hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_attribute_name);
18351 return offset;
18354 static int
18355 drsuapi_dissect_element_DsReplicaAttrValMetaData_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18357 char *data = NULL;
18358 struct ndr_generic_array nga = { .is_conformant = false, };
18360 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18362 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18363 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_attribute_name, false, &nga, &data);
18364 proto_item_append_text(tree, ": %s", data);
18366 return offset;
18369 static int
18370 drsuapi_dissect_element_DsReplicaAttrValMetaData_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18372 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData_object_dn_, NDR_POINTER_UNIQUE, "Pointer to Object Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_object_dn);
18374 return offset;
18377 static int
18378 drsuapi_dissect_element_DsReplicaAttrValMetaData_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18380 char *data = NULL;
18381 struct ndr_generic_array nga = { .is_conformant = false, };
18383 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18385 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18386 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_object_dn, false, &nga, &data);
18387 proto_item_append_text(tree, ": %s", data);
18389 return offset;
18392 static int
18393 drsuapi_dissect_element_DsReplicaAttrValMetaData___ndr_size_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18395 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData___ndr_size_binary, 0);
18397 return offset;
18400 static int
18401 drsuapi_dissect_element_DsReplicaAttrValMetaData_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18403 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData_binary_, NDR_POINTER_UNIQUE, "Pointer to Binary (DATA_BLOB)",hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_binary);
18405 return offset;
18408 static int
18409 drsuapi_dissect_element_DsReplicaAttrValMetaData_binary_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18411 offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_binary, 0);
18413 return offset;
18416 static int
18417 drsuapi_dissect_element_DsReplicaAttrValMetaData_deleted(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18419 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_deleted);
18421 return offset;
18424 static int
18425 drsuapi_dissect_element_DsReplicaAttrValMetaData_created(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18427 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_created);
18429 return offset;
18432 static int
18433 drsuapi_dissect_element_DsReplicaAttrValMetaData_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18435 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_version, 0);
18437 return offset;
18440 static int
18441 drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18443 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_change_time);
18445 return offset;
18448 static int
18449 drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18451 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_invocation_id, NULL);
18453 return offset;
18456 static int
18457 drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18459 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_usn, NULL);
18461 return offset;
18464 static int
18465 drsuapi_dissect_element_DsReplicaAttrValMetaData_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18467 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_local_usn, NULL);
18469 return offset;
18473 drsuapi_dissect_struct_DsReplicaAttrValMetaData(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_)
18475 proto_item *item = NULL;
18476 proto_tree *tree = NULL;
18477 int old_offset;
18479 ALIGN_TO_8_BYTES;
18481 old_offset = offset;
18483 if (parent_tree) {
18484 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
18485 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAttrValMetaData);
18488 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_attribute_name(tvb, offset, pinfo, tree, di, drep);
18490 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_object_dn(tvb, offset, pinfo, tree, di, drep);
18492 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData___ndr_size_binary(tvb, offset, pinfo, tree, di, drep);
18494 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_binary(tvb, offset, pinfo, tree, di, drep);
18496 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_deleted(tvb, offset, pinfo, tree, di, drep);
18498 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_created(tvb, offset, pinfo, tree, di, drep);
18500 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_version(tvb, offset, pinfo, tree, di, drep);
18502 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_change_time(tvb, offset, pinfo, tree, di, drep);
18504 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_invocation_id(tvb, offset, pinfo, tree, di, drep);
18506 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_usn(tvb, offset, pinfo, tree, di, drep);
18508 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_local_usn(tvb, offset, pinfo, tree, di, drep);
18511 proto_item_set_len(item, offset-old_offset);
18514 if (di->call_data->flags & DCERPC_IS_NDR64) {
18515 ALIGN_TO_8_BYTES;
18518 return offset;
18522 /* IDL: struct { */
18523 /* IDL: uint32 count; */
18524 /* IDL: uint32 enumeration_context; */
18525 /* IDL: [size_is(count)] drsuapi_DsReplicaAttrValMetaData array[*]; */
18526 /* IDL: } */
18528 static int
18529 drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18531 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_count, 0);
18533 return offset;
18536 static int
18537 drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18539 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context, 0);
18541 return offset;
18544 static int
18545 drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
18548 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_array_);
18550 return offset;
18553 static int
18554 drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18556 offset = drsuapi_dissect_struct_DsReplicaAttrValMetaData(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_array,0);
18558 return offset;
18561 static int
18562 drsuapi_dissect_conformant_DsReplicaAttrValMetaDataCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
18564 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
18566 return offset;
18570 drsuapi_dissect_struct_DsReplicaAttrValMetaDataCtr(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_)
18572 struct ndr_generic_array nga_array = { .is_conformant = false, };
18573 proto_item *item = NULL;
18574 proto_tree *tree = NULL;
18575 int old_offset;
18577 offset = drsuapi_dissect_conformant_DsReplicaAttrValMetaDataCtr_array(tvb, offset, pinfo, parent_tree, di, drep, &nga_array);
18579 ALIGN_TO_8_BYTES;
18581 old_offset = offset;
18583 if (parent_tree) {
18584 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
18585 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr);
18588 offset = drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_count(tvb, offset, pinfo, tree, di, drep);
18590 offset = drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_enumeration_context(tvb, offset, pinfo, tree, di, drep);
18592 offset = drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_array(tvb, offset, pinfo, tree, di, drep, &nga_array);
18595 proto_item_set_len(item, offset-old_offset);
18598 return offset;
18602 /* IDL: struct { */
18603 /* IDL: uint32 count; */
18604 /* IDL: uint32 enumeration_context; */
18605 /* IDL: [size_is(count)] drsuapi_DsReplicaCursor2 array[*]; */
18606 /* IDL: } */
18608 static int
18609 drsuapi_dissect_element_DsReplicaCursor2Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18611 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_count, 0);
18613 return offset;
18616 static int
18617 drsuapi_dissect_element_DsReplicaCursor2Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18619 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_enumeration_context, 0);
18621 return offset;
18624 static int
18625 drsuapi_dissect_element_DsReplicaCursor2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
18628 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplicaCursor2Ctr_array_);
18630 return offset;
18633 static int
18634 drsuapi_dissect_element_DsReplicaCursor2Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18636 offset = drsuapi_dissect_struct_DsReplicaCursor2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_array,0);
18638 return offset;
18641 static int
18642 drsuapi_dissect_conformant_DsReplicaCursor2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
18644 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
18646 return offset;
18650 drsuapi_dissect_struct_DsReplicaCursor2Ctr(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_)
18652 struct ndr_generic_array nga_array = { .is_conformant = false, };
18653 proto_item *item = NULL;
18654 proto_tree *tree = NULL;
18655 int old_offset;
18657 offset = drsuapi_dissect_conformant_DsReplicaCursor2Ctr_array(tvb, offset, pinfo, parent_tree, di, drep, &nga_array);
18659 ALIGN_TO_8_BYTES;
18661 old_offset = offset;
18663 if (parent_tree) {
18664 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
18665 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursor2Ctr);
18668 offset = drsuapi_dissect_element_DsReplicaCursor2Ctr_count(tvb, offset, pinfo, tree, di, drep);
18670 offset = drsuapi_dissect_element_DsReplicaCursor2Ctr_enumeration_context(tvb, offset, pinfo, tree, di, drep);
18672 offset = drsuapi_dissect_element_DsReplicaCursor2Ctr_array(tvb, offset, pinfo, tree, di, drep, &nga_array);
18675 proto_item_set_len(item, offset-old_offset);
18678 return offset;
18682 /* IDL: struct { */
18683 /* IDL: GUID source_dsa_invocation_id; */
18684 /* IDL: hyper highest_usn; */
18685 /* IDL: NTTIME last_sync_success; */
18686 /* IDL: [charset(UTF16)] [unique(1)] uint16 *source_dsa_obj_dn; */
18687 /* IDL: } */
18689 static int
18690 drsuapi_dissect_element_DsReplicaCursor3_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18692 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor3_source_dsa_invocation_id, NULL);
18694 return offset;
18697 static int
18698 drsuapi_dissect_element_DsReplicaCursor3_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18700 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor3_highest_usn, NULL);
18702 return offset;
18705 static int
18706 drsuapi_dissect_element_DsReplicaCursor3_last_sync_success(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18708 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor3_last_sync_success);
18710 return offset;
18713 static int
18714 drsuapi_dissect_element_DsReplicaCursor3_source_dsa_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18716 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaCursor3_source_dsa_obj_dn_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Obj Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaCursor3_source_dsa_obj_dn);
18718 return offset;
18721 static int
18722 drsuapi_dissect_element_DsReplicaCursor3_source_dsa_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18724 char *data = NULL;
18725 struct ndr_generic_array nga = { .is_conformant = false, };
18727 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18729 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18730 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaCursor3_source_dsa_obj_dn, false, &nga, &data);
18731 proto_item_append_text(tree, ": %s", data);
18733 return offset;
18737 drsuapi_dissect_struct_DsReplicaCursor3(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_)
18739 proto_item *item = NULL;
18740 proto_tree *tree = NULL;
18741 int old_offset;
18743 ALIGN_TO_8_BYTES;
18745 old_offset = offset;
18747 if (parent_tree) {
18748 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
18749 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursor3);
18752 offset = drsuapi_dissect_element_DsReplicaCursor3_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
18754 offset = drsuapi_dissect_element_DsReplicaCursor3_highest_usn(tvb, offset, pinfo, tree, di, drep);
18756 offset = drsuapi_dissect_element_DsReplicaCursor3_last_sync_success(tvb, offset, pinfo, tree, di, drep);
18758 offset = drsuapi_dissect_element_DsReplicaCursor3_source_dsa_obj_dn(tvb, offset, pinfo, tree, di, drep);
18761 proto_item_set_len(item, offset-old_offset);
18764 if (di->call_data->flags & DCERPC_IS_NDR64) {
18765 ALIGN_TO_8_BYTES;
18768 return offset;
18772 /* IDL: struct { */
18773 /* IDL: uint32 count; */
18774 /* IDL: uint32 enumeration_context; */
18775 /* IDL: [size_is(count)] drsuapi_DsReplicaCursor3 array[*]; */
18776 /* IDL: } */
18778 static int
18779 drsuapi_dissect_element_DsReplicaCursor3Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18781 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_count, 0);
18783 return offset;
18786 static int
18787 drsuapi_dissect_element_DsReplicaCursor3Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18789 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_enumeration_context, 0);
18791 return offset;
18794 static int
18795 drsuapi_dissect_element_DsReplicaCursor3Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
18798 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplicaCursor3Ctr_array_);
18800 return offset;
18803 static int
18804 drsuapi_dissect_element_DsReplicaCursor3Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18806 offset = drsuapi_dissect_struct_DsReplicaCursor3(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_array,0);
18808 return offset;
18811 static int
18812 drsuapi_dissect_conformant_DsReplicaCursor3Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
18814 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
18816 return offset;
18820 drsuapi_dissect_struct_DsReplicaCursor3Ctr(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_)
18822 struct ndr_generic_array nga_array = { .is_conformant = false, };
18823 proto_item *item = NULL;
18824 proto_tree *tree = NULL;
18825 int old_offset;
18827 offset = drsuapi_dissect_conformant_DsReplicaCursor3Ctr_array(tvb, offset, pinfo, parent_tree, di, drep, &nga_array);
18829 ALIGN_TO_8_BYTES;
18831 old_offset = offset;
18833 if (parent_tree) {
18834 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
18835 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursor3Ctr);
18838 offset = drsuapi_dissect_element_DsReplicaCursor3Ctr_count(tvb, offset, pinfo, tree, di, drep);
18840 offset = drsuapi_dissect_element_DsReplicaCursor3Ctr_enumeration_context(tvb, offset, pinfo, tree, di, drep);
18842 offset = drsuapi_dissect_element_DsReplicaCursor3Ctr_array(tvb, offset, pinfo, tree, di, drep, &nga_array);
18845 proto_item_set_len(item, offset-old_offset);
18848 return offset;
18852 /* IDL: struct { */
18853 /* IDL: [charset(UTF16)] [unique(1)] uint16 *attribute_name; */
18854 /* IDL: uint32 version; */
18855 /* IDL: NTTIME originating_change_time; */
18856 /* IDL: GUID originating_invocation_id; */
18857 /* IDL: hyper originating_usn; */
18858 /* IDL: hyper local_usn; */
18859 /* IDL: [charset(UTF16)] [unique(1)] uint16 *originating_dsa_dn; */
18860 /* IDL: } */
18862 static int
18863 drsuapi_dissect_element_DsReplicaObjMetaData2_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18865 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaObjMetaData2_attribute_name_, NDR_POINTER_UNIQUE, "Pointer to Attribute Name (uint16)",hf_drsuapi_drsuapi_DsReplicaObjMetaData2_attribute_name);
18867 return offset;
18870 static int
18871 drsuapi_dissect_element_DsReplicaObjMetaData2_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18873 char *data = NULL;
18874 struct ndr_generic_array nga = { .is_conformant = false, };
18876 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18878 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18879 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaObjMetaData2_attribute_name, false, &nga, &data);
18880 proto_item_append_text(tree, ": %s", data);
18882 return offset;
18885 static int
18886 drsuapi_dissect_element_DsReplicaObjMetaData2_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18888 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData2_version, 0);
18890 return offset;
18893 static int
18894 drsuapi_dissect_element_DsReplicaObjMetaData2_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18896 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_change_time);
18898 return offset;
18901 static int
18902 drsuapi_dissect_element_DsReplicaObjMetaData2_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18904 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_invocation_id, NULL);
18906 return offset;
18909 static int
18910 drsuapi_dissect_element_DsReplicaObjMetaData2_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18912 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_usn, NULL);
18914 return offset;
18917 static int
18918 drsuapi_dissect_element_DsReplicaObjMetaData2_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18920 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData2_local_usn, NULL);
18922 return offset;
18925 static int
18926 drsuapi_dissect_element_DsReplicaObjMetaData2_originating_dsa_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18928 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaObjMetaData2_originating_dsa_dn_, NDR_POINTER_UNIQUE, "Pointer to Originating Dsa Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_dsa_dn);
18930 return offset;
18933 static int
18934 drsuapi_dissect_element_DsReplicaObjMetaData2_originating_dsa_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18936 char *data = NULL;
18937 struct ndr_generic_array nga = { .is_conformant = false, };
18939 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18941 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18942 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_dsa_dn, false, &nga, &data);
18943 proto_item_append_text(tree, ": %s", data);
18945 return offset;
18949 drsuapi_dissect_struct_DsReplicaObjMetaData2(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_)
18951 proto_item *item = NULL;
18952 proto_tree *tree = NULL;
18953 int old_offset;
18955 ALIGN_TO_8_BYTES;
18957 old_offset = offset;
18959 if (parent_tree) {
18960 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
18961 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjMetaData2);
18964 offset = drsuapi_dissect_element_DsReplicaObjMetaData2_attribute_name(tvb, offset, pinfo, tree, di, drep);
18966 offset = drsuapi_dissect_element_DsReplicaObjMetaData2_version(tvb, offset, pinfo, tree, di, drep);
18968 offset = drsuapi_dissect_element_DsReplicaObjMetaData2_originating_change_time(tvb, offset, pinfo, tree, di, drep);
18970 offset = drsuapi_dissect_element_DsReplicaObjMetaData2_originating_invocation_id(tvb, offset, pinfo, tree, di, drep);
18972 offset = drsuapi_dissect_element_DsReplicaObjMetaData2_originating_usn(tvb, offset, pinfo, tree, di, drep);
18974 offset = drsuapi_dissect_element_DsReplicaObjMetaData2_local_usn(tvb, offset, pinfo, tree, di, drep);
18976 offset = drsuapi_dissect_element_DsReplicaObjMetaData2_originating_dsa_dn(tvb, offset, pinfo, tree, di, drep);
18979 proto_item_set_len(item, offset-old_offset);
18982 if (di->call_data->flags & DCERPC_IS_NDR64) {
18983 ALIGN_TO_8_BYTES;
18986 return offset;
18990 /* IDL: struct { */
18991 /* IDL: uint32 count; */
18992 /* IDL: uint32 enumeration_context; */
18993 /* IDL: [size_is(count)] drsuapi_DsReplicaObjMetaData2 array[*]; */
18994 /* IDL: } */
18996 static int
18997 drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18999 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_count, 0);
19001 return offset;
19004 static int
19005 drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19007 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context, 0);
19009 return offset;
19012 static int
19013 drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
19016 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_array_);
19018 return offset;
19021 static int
19022 drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19024 offset = drsuapi_dissect_struct_DsReplicaObjMetaData2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_array,0);
19026 return offset;
19029 static int
19030 drsuapi_dissect_conformant_DsReplicaObjMetaData2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
19032 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
19034 return offset;
19038 drsuapi_dissect_struct_DsReplicaObjMetaData2Ctr(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_)
19040 struct ndr_generic_array nga_array = { .is_conformant = false, };
19041 proto_item *item = NULL;
19042 proto_tree *tree = NULL;
19043 int old_offset;
19045 offset = drsuapi_dissect_conformant_DsReplicaObjMetaData2Ctr_array(tvb, offset, pinfo, parent_tree, di, drep, &nga_array);
19047 ALIGN_TO_8_BYTES;
19049 old_offset = offset;
19051 if (parent_tree) {
19052 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
19053 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr);
19056 offset = drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_count(tvb, offset, pinfo, tree, di, drep);
19058 offset = drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_enumeration_context(tvb, offset, pinfo, tree, di, drep);
19060 offset = drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_array(tvb, offset, pinfo, tree, di, drep, &nga_array);
19063 proto_item_set_len(item, offset-old_offset);
19066 return offset;
19070 /* IDL: struct { */
19071 /* IDL: [charset(UTF16)] [unique(1)] uint16 *attribute_name; */
19072 /* IDL: [charset(UTF16)] [unique(1)] uint16 *object_dn; */
19073 /* IDL: [value(ndr_size_DATA_BLOB(0,binary,0))] uint32 __ndr_size_binary; */
19074 /* IDL: [unique(1)] DATA_BLOB *binary; */
19075 /* IDL: NTTIME deleted; */
19076 /* IDL: NTTIME created; */
19077 /* IDL: uint32 version; */
19078 /* IDL: NTTIME originating_change_time; */
19079 /* IDL: GUID originating_invocation_id; */
19080 /* IDL: hyper originating_usn; */
19081 /* IDL: hyper local_usn; */
19082 /* IDL: [charset(UTF16)] [unique(1)] uint16 *originating_dsa_dn; */
19083 /* IDL: } */
19085 static int
19086 drsuapi_dissect_element_DsReplicaAttrValMetaData2_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19088 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData2_attribute_name_, NDR_POINTER_UNIQUE, "Pointer to Attribute Name (uint16)",hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_attribute_name);
19090 return offset;
19093 static int
19094 drsuapi_dissect_element_DsReplicaAttrValMetaData2_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19096 char *data = NULL;
19097 struct ndr_generic_array nga = { .is_conformant = false, };
19099 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19101 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19102 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_attribute_name, false, &nga, &data);
19103 proto_item_append_text(tree, ": %s", data);
19105 return offset;
19108 static int
19109 drsuapi_dissect_element_DsReplicaAttrValMetaData2_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19111 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData2_object_dn_, NDR_POINTER_UNIQUE, "Pointer to Object Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_object_dn);
19113 return offset;
19116 static int
19117 drsuapi_dissect_element_DsReplicaAttrValMetaData2_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19119 char *data = NULL;
19120 struct ndr_generic_array nga = { .is_conformant = false, };
19122 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19124 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19125 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_object_dn, false, &nga, &data);
19126 proto_item_append_text(tree, ": %s", data);
19128 return offset;
19131 static int
19132 drsuapi_dissect_element_DsReplicaAttrValMetaData2___ndr_size_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19134 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2___ndr_size_binary, 0);
19136 return offset;
19139 static int
19140 drsuapi_dissect_element_DsReplicaAttrValMetaData2_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19142 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData2_binary_, NDR_POINTER_UNIQUE, "Pointer to Binary (DATA_BLOB)",hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_binary);
19144 return offset;
19147 static int
19148 drsuapi_dissect_element_DsReplicaAttrValMetaData2_binary_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19150 offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_binary, 0);
19152 return offset;
19155 static int
19156 drsuapi_dissect_element_DsReplicaAttrValMetaData2_deleted(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19158 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_deleted);
19160 return offset;
19163 static int
19164 drsuapi_dissect_element_DsReplicaAttrValMetaData2_created(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19166 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_created);
19168 return offset;
19171 static int
19172 drsuapi_dissect_element_DsReplicaAttrValMetaData2_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19174 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_version, 0);
19176 return offset;
19179 static int
19180 drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19182 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_change_time);
19184 return offset;
19187 static int
19188 drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19190 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_invocation_id, NULL);
19192 return offset;
19195 static int
19196 drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19198 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_usn, NULL);
19200 return offset;
19203 static int
19204 drsuapi_dissect_element_DsReplicaAttrValMetaData2_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19206 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_local_usn, NULL);
19208 return offset;
19211 static int
19212 drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_dsa_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19214 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_dsa_dn_, NDR_POINTER_UNIQUE, "Pointer to Originating Dsa Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_dn);
19216 return offset;
19219 static int
19220 drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_dsa_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19222 char *data = NULL;
19223 struct ndr_generic_array nga = { .is_conformant = false, };
19225 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19227 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19228 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_dn, false, &nga, &data);
19229 proto_item_append_text(tree, ": %s", data);
19231 return offset;
19235 drsuapi_dissect_struct_DsReplicaAttrValMetaData2(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_)
19237 proto_item *item = NULL;
19238 proto_tree *tree = NULL;
19239 int old_offset;
19241 ALIGN_TO_8_BYTES;
19243 old_offset = offset;
19245 if (parent_tree) {
19246 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
19247 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAttrValMetaData2);
19250 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_attribute_name(tvb, offset, pinfo, tree, di, drep);
19252 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_object_dn(tvb, offset, pinfo, tree, di, drep);
19254 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2___ndr_size_binary(tvb, offset, pinfo, tree, di, drep);
19256 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_binary(tvb, offset, pinfo, tree, di, drep);
19258 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_deleted(tvb, offset, pinfo, tree, di, drep);
19260 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_created(tvb, offset, pinfo, tree, di, drep);
19262 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_version(tvb, offset, pinfo, tree, di, drep);
19264 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_change_time(tvb, offset, pinfo, tree, di, drep);
19266 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_invocation_id(tvb, offset, pinfo, tree, di, drep);
19268 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_usn(tvb, offset, pinfo, tree, di, drep);
19270 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_local_usn(tvb, offset, pinfo, tree, di, drep);
19272 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_dsa_dn(tvb, offset, pinfo, tree, di, drep);
19275 proto_item_set_len(item, offset-old_offset);
19278 if (di->call_data->flags & DCERPC_IS_NDR64) {
19279 ALIGN_TO_8_BYTES;
19282 return offset;
19286 /* IDL: struct { */
19287 /* IDL: uint32 count; */
19288 /* IDL: uint32 enumeration_context; */
19289 /* IDL: [size_is(count)] drsuapi_DsReplicaAttrValMetaData2 array[*]; */
19290 /* IDL: } */
19292 static int
19293 drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19295 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_count, 0);
19297 return offset;
19300 static int
19301 drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19303 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context, 0);
19305 return offset;
19308 static int
19309 drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
19312 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_array_);
19314 return offset;
19317 static int
19318 drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19320 offset = drsuapi_dissect_struct_DsReplicaAttrValMetaData2(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_array,0);
19322 return offset;
19325 static int
19326 drsuapi_dissect_conformant_DsReplicaAttrValMetaData2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
19328 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
19330 return offset;
19334 drsuapi_dissect_struct_DsReplicaAttrValMetaData2Ctr(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_)
19336 struct ndr_generic_array nga_array = { .is_conformant = false, };
19337 proto_item *item = NULL;
19338 proto_tree *tree = NULL;
19339 int old_offset;
19341 offset = drsuapi_dissect_conformant_DsReplicaAttrValMetaData2Ctr_array(tvb, offset, pinfo, parent_tree, di, drep, &nga_array);
19343 ALIGN_TO_8_BYTES;
19345 old_offset = offset;
19347 if (parent_tree) {
19348 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
19349 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr);
19352 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_count(tvb, offset, pinfo, tree, di, drep);
19354 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_enumeration_context(tvb, offset, pinfo, tree, di, drep);
19356 offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_array(tvb, offset, pinfo, tree, di, drep, &nga_array);
19359 proto_item_set_len(item, offset-old_offset);
19362 return offset;
19366 /* IDL: struct { */
19367 /* IDL: hyper u1; */
19368 /* IDL: uint32 u2; */
19369 /* IDL: uint32 u3; */
19370 /* IDL: GUID bind_guid; */
19371 /* IDL: NTTIME_1sec bind_time; */
19372 /* IDL: [flag(LIBNDR_FLAG_BIGENDIAN)] ipv4address client_ip_address; */
19373 /* IDL: uint32 u5; */
19374 /* IDL: } */
19376 static int
19377 drsuapi_dissect_element_DsReplicaConnection04_u1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19379 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaConnection04_u1, NULL);
19381 return offset;
19384 static int
19385 drsuapi_dissect_element_DsReplicaConnection04_u2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19387 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaConnection04_u2, 0);
19389 return offset;
19392 static int
19393 drsuapi_dissect_element_DsReplicaConnection04_u3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19395 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaConnection04_u3, 0);
19397 return offset;
19400 static int
19401 drsuapi_dissect_element_DsReplicaConnection04_bind_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19403 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaConnection04_bind_guid, NULL);
19405 return offset;
19408 static int
19409 drsuapi_dissect_element_DsReplicaConnection04_bind_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19411 offset = dissect_ndr_nt_NTTIME_1sec(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaConnection04_bind_time);
19413 return offset;
19416 static int
19417 drsuapi_dissect_element_DsReplicaConnection04_client_ip_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19419 proto_tree_add_item(tree, hf_drsuapi_drsuapi_DsReplicaConnection04_client_ip_address, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4;
19421 return offset;
19424 static int
19425 drsuapi_dissect_element_DsReplicaConnection04_u5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19427 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaConnection04_u5, 0);
19429 return offset;
19433 drsuapi_dissect_struct_DsReplicaConnection04(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_)
19435 proto_item *item = NULL;
19436 proto_tree *tree = NULL;
19437 int old_offset;
19439 ALIGN_TO_8_BYTES;
19441 old_offset = offset;
19443 if (parent_tree) {
19444 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
19445 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaConnection04);
19448 offset = drsuapi_dissect_element_DsReplicaConnection04_u1(tvb, offset, pinfo, tree, di, drep);
19450 offset = drsuapi_dissect_element_DsReplicaConnection04_u2(tvb, offset, pinfo, tree, di, drep);
19452 offset = drsuapi_dissect_element_DsReplicaConnection04_u3(tvb, offset, pinfo, tree, di, drep);
19454 offset = drsuapi_dissect_element_DsReplicaConnection04_bind_guid(tvb, offset, pinfo, tree, di, drep);
19456 offset = drsuapi_dissect_element_DsReplicaConnection04_bind_time(tvb, offset, pinfo, tree, di, drep);
19458 offset = drsuapi_dissect_element_DsReplicaConnection04_client_ip_address(tvb, offset, pinfo, tree, di, drep);
19460 offset = drsuapi_dissect_element_DsReplicaConnection04_u5(tvb, offset, pinfo, tree, di, drep);
19463 proto_item_set_len(item, offset-old_offset);
19466 if (di->call_data->flags & DCERPC_IS_NDR64) {
19467 ALIGN_TO_8_BYTES;
19470 return offset;
19474 /* IDL: struct { */
19475 /* IDL: [range(0,10000)] uint32 count; */
19476 /* IDL: uint32 reserved; */
19477 /* IDL: [size_is(count)] drsuapi_DsReplicaConnection04 array[*]; */
19478 /* IDL: } */
19480 static int
19481 drsuapi_dissect_element_DsReplicaConnection04Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19483 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_count, 0);
19485 return offset;
19488 static int
19489 drsuapi_dissect_element_DsReplicaConnection04Ctr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19491 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_reserved, 0);
19493 return offset;
19496 static int
19497 drsuapi_dissect_element_DsReplicaConnection04Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
19500 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplicaConnection04Ctr_array_);
19502 return offset;
19505 static int
19506 drsuapi_dissect_element_DsReplicaConnection04Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19508 offset = drsuapi_dissect_struct_DsReplicaConnection04(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_array,0);
19510 return offset;
19513 static int
19514 drsuapi_dissect_conformant_DsReplicaConnection04Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
19516 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
19518 return offset;
19522 drsuapi_dissect_struct_DsReplicaConnection04Ctr(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_)
19524 struct ndr_generic_array nga_array = { .is_conformant = false, };
19525 proto_item *item = NULL;
19526 proto_tree *tree = NULL;
19527 int old_offset;
19529 offset = drsuapi_dissect_conformant_DsReplicaConnection04Ctr_array(tvb, offset, pinfo, parent_tree, di, drep, &nga_array);
19531 ALIGN_TO_8_BYTES;
19533 old_offset = offset;
19535 if (parent_tree) {
19536 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
19537 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaConnection04Ctr);
19540 offset = drsuapi_dissect_element_DsReplicaConnection04Ctr_count(tvb, offset, pinfo, tree, di, drep);
19542 offset = drsuapi_dissect_element_DsReplicaConnection04Ctr_reserved(tvb, offset, pinfo, tree, di, drep);
19544 offset = drsuapi_dissect_element_DsReplicaConnection04Ctr_array(tvb, offset, pinfo, tree, di, drep, &nga_array);
19547 proto_item_set_len(item, offset-old_offset);
19550 return offset;
19554 /* IDL: struct { */
19555 /* IDL: [charset(UTF16)] [unique(1)] uint16 *str1; */
19556 /* IDL: uint32 u1; */
19557 /* IDL: uint32 u2; */
19558 /* IDL: uint32 u3; */
19559 /* IDL: uint32 u4; */
19560 /* IDL: uint32 u5; */
19561 /* IDL: hyper u6; */
19562 /* IDL: uint32 u7; */
19563 /* IDL: } */
19565 static int
19566 drsuapi_dissect_element_DsReplica06_str1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19568 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplica06_str1_, NDR_POINTER_UNIQUE, "Pointer to Str1 (uint16)",hf_drsuapi_drsuapi_DsReplica06_str1);
19570 return offset;
19573 static int
19574 drsuapi_dissect_element_DsReplica06_str1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19576 char *data = NULL;
19577 struct ndr_generic_array nga = { .is_conformant = false, };
19579 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19581 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19582 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_DsReplica06_str1, false, &nga, &data);
19583 proto_item_append_text(tree, ": %s", data);
19585 return offset;
19588 static int
19589 drsuapi_dissect_element_DsReplica06_u1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19591 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplica06_u1, 0);
19593 return offset;
19596 static int
19597 drsuapi_dissect_element_DsReplica06_u2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19599 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplica06_u2, 0);
19601 return offset;
19604 static int
19605 drsuapi_dissect_element_DsReplica06_u3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19607 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplica06_u3, 0);
19609 return offset;
19612 static int
19613 drsuapi_dissect_element_DsReplica06_u4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19615 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplica06_u4, 0);
19617 return offset;
19620 static int
19621 drsuapi_dissect_element_DsReplica06_u5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19623 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplica06_u5, 0);
19625 return offset;
19628 static int
19629 drsuapi_dissect_element_DsReplica06_u6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19631 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplica06_u6, NULL);
19633 return offset;
19636 static int
19637 drsuapi_dissect_element_DsReplica06_u7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19639 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplica06_u7, 0);
19641 return offset;
19645 drsuapi_dissect_struct_DsReplica06(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_)
19647 proto_item *item = NULL;
19648 proto_tree *tree = NULL;
19649 int old_offset;
19651 ALIGN_TO_8_BYTES;
19653 old_offset = offset;
19655 if (parent_tree) {
19656 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
19657 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplica06);
19660 offset = drsuapi_dissect_element_DsReplica06_str1(tvb, offset, pinfo, tree, di, drep);
19662 offset = drsuapi_dissect_element_DsReplica06_u1(tvb, offset, pinfo, tree, di, drep);
19664 offset = drsuapi_dissect_element_DsReplica06_u2(tvb, offset, pinfo, tree, di, drep);
19666 offset = drsuapi_dissect_element_DsReplica06_u3(tvb, offset, pinfo, tree, di, drep);
19668 offset = drsuapi_dissect_element_DsReplica06_u4(tvb, offset, pinfo, tree, di, drep);
19670 offset = drsuapi_dissect_element_DsReplica06_u5(tvb, offset, pinfo, tree, di, drep);
19672 offset = drsuapi_dissect_element_DsReplica06_u6(tvb, offset, pinfo, tree, di, drep);
19674 offset = drsuapi_dissect_element_DsReplica06_u7(tvb, offset, pinfo, tree, di, drep);
19677 proto_item_set_len(item, offset-old_offset);
19680 if (di->call_data->flags & DCERPC_IS_NDR64) {
19681 ALIGN_TO_8_BYTES;
19684 return offset;
19688 /* IDL: struct { */
19689 /* IDL: [range(0,256)] uint32 count; */
19690 /* IDL: uint32 reserved; */
19691 /* IDL: [size_is(count)] drsuapi_DsReplica06 array[*]; */
19692 /* IDL: } */
19694 static int
19695 drsuapi_dissect_element_DsReplica06Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19697 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplica06Ctr_count, 0);
19699 return offset;
19702 static int
19703 drsuapi_dissect_element_DsReplica06Ctr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19705 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplica06Ctr_reserved, 0);
19707 return offset;
19710 static int
19711 drsuapi_dissect_element_DsReplica06Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
19714 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, drsuapi_dissect_element_DsReplica06Ctr_array_);
19716 return offset;
19719 static int
19720 drsuapi_dissect_element_DsReplica06Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19722 offset = drsuapi_dissect_struct_DsReplica06(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplica06Ctr_array,0);
19724 return offset;
19727 static int
19728 drsuapi_dissect_conformant_DsReplica06Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
19730 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
19732 return offset;
19736 drsuapi_dissect_struct_DsReplica06Ctr(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_)
19738 struct ndr_generic_array nga_array = { .is_conformant = false, };
19739 proto_item *item = NULL;
19740 proto_tree *tree = NULL;
19741 int old_offset;
19743 offset = drsuapi_dissect_conformant_DsReplica06Ctr_array(tvb, offset, pinfo, parent_tree, di, drep, &nga_array);
19745 ALIGN_TO_8_BYTES;
19747 old_offset = offset;
19749 if (parent_tree) {
19750 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
19751 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplica06Ctr);
19754 offset = drsuapi_dissect_element_DsReplica06Ctr_count(tvb, offset, pinfo, tree, di, drep);
19756 offset = drsuapi_dissect_element_DsReplica06Ctr_reserved(tvb, offset, pinfo, tree, di, drep);
19758 offset = drsuapi_dissect_element_DsReplica06Ctr_array(tvb, offset, pinfo, tree, di, drep, &nga_array);
19761 proto_item_set_len(item, offset-old_offset);
19764 return offset;
19768 /* IDL: [switch_type(drsuapi_DsReplicaInfoType)] union { */
19769 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_NEIGHBORS)] [case(DRSUAPI_DS_REPLICA_INFO_NEIGHBORS)] [unique(1)] drsuapi_DsReplicaNeighbourCtr *neighbours; */
19770 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_CURSORS)] [case(DRSUAPI_DS_REPLICA_INFO_CURSORS)] [unique(1)] drsuapi_DsReplicaCursorCtr *cursors; */
19771 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA)] [case(DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA)] [unique(1)] drsuapi_DsReplicaObjMetaDataCtr *objmetadata; */
19772 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES)] [case(DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES)] [unique(1)] drsuapi_DsReplicaKccDsaFailuresCtr *connectfailures; */
19773 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES)] [case(DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES)] [unique(1)] drsuapi_DsReplicaKccDsaFailuresCtr *linkfailures; */
19774 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_PENDING_OPS)] [case(DRSUAPI_DS_REPLICA_INFO_PENDING_OPS)] [unique(1)] drsuapi_DsReplicaOpCtr *pendingops; */
19775 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA)] [case(DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA)] [unique(1)] drsuapi_DsReplicaAttrValMetaDataCtr *attrvalmetadata; */
19776 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_CURSORS2)] [case(DRSUAPI_DS_REPLICA_INFO_CURSORS2)] [unique(1)] drsuapi_DsReplicaCursor2Ctr *cursors2; */
19777 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_CURSORS3)] [case(DRSUAPI_DS_REPLICA_INFO_CURSORS3)] [unique(1)] drsuapi_DsReplicaCursor3Ctr *cursors3; */
19778 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2)] [case(DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2)] [unique(1)] drsuapi_DsReplicaObjMetaData2Ctr *objmetadata2; */
19779 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2)] [case(DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2)] [unique(1)] drsuapi_DsReplicaAttrValMetaData2Ctr *attrvalmetadata2; */
19780 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_REPSTO)] [case(DRSUAPI_DS_REPLICA_INFO_REPSTO)] [unique(1)] drsuapi_DsReplicaNeighbourCtr *repsto; */
19781 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_CLIENT_CONTEXTS)] [case(DRSUAPI_DS_REPLICA_INFO_CLIENT_CONTEXTS)] [unique(1)] drsuapi_DsReplicaConnection04Ctr *clientctx; */
19782 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_UPTODATE_VECTOR_V1)] [case(DRSUAPI_DS_REPLICA_INFO_UPTODATE_VECTOR_V1)] [unique(1)] drsuapi_DsReplicaCursorCtrEx *udv1; */
19783 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_SERVER_OUTGOING_CALLS)] [case(DRSUAPI_DS_REPLICA_INFO_SERVER_OUTGOING_CALLS)] [unique(1)] drsuapi_DsReplica06Ctr *srvoutgoingcalls; */
19784 /* IDL: } */
19786 static int
19787 drsuapi_dissect_element_DsReplicaInfo_neighbours(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19789 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_neighbours_, NDR_POINTER_UNIQUE, "Pointer to Neighbours (drsuapi_DsReplicaNeighbourCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_neighbours);
19791 return offset;
19794 static int
19795 drsuapi_dissect_element_DsReplicaInfo_neighbours_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19797 offset = drsuapi_dissect_struct_DsReplicaNeighbourCtr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_neighbours,0);
19799 return offset;
19802 static int
19803 drsuapi_dissect_element_DsReplicaInfo_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19805 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_cursors_, NDR_POINTER_UNIQUE, "Pointer to Cursors (drsuapi_DsReplicaCursorCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_cursors);
19807 return offset;
19810 static int
19811 drsuapi_dissect_element_DsReplicaInfo_cursors_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19813 offset = drsuapi_dissect_struct_DsReplicaCursorCtr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_cursors,0);
19815 return offset;
19818 static int
19819 drsuapi_dissect_element_DsReplicaInfo_objmetadata(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19821 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_objmetadata_, NDR_POINTER_UNIQUE, "Pointer to Objmetadata (drsuapi_DsReplicaObjMetaDataCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata);
19823 return offset;
19826 static int
19827 drsuapi_dissect_element_DsReplicaInfo_objmetadata_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19829 offset = drsuapi_dissect_struct_DsReplicaObjMetaDataCtr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata,0);
19831 return offset;
19834 static int
19835 drsuapi_dissect_element_DsReplicaInfo_connectfailures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19837 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_connectfailures_, NDR_POINTER_UNIQUE, "Pointer to Connectfailures (drsuapi_DsReplicaKccDsaFailuresCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_connectfailures);
19839 return offset;
19842 static int
19843 drsuapi_dissect_element_DsReplicaInfo_connectfailures_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19845 offset = drsuapi_dissect_struct_DsReplicaKccDsaFailuresCtr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_connectfailures,0);
19847 return offset;
19850 static int
19851 drsuapi_dissect_element_DsReplicaInfo_linkfailures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19853 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_linkfailures_, NDR_POINTER_UNIQUE, "Pointer to Linkfailures (drsuapi_DsReplicaKccDsaFailuresCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_linkfailures);
19855 return offset;
19858 static int
19859 drsuapi_dissect_element_DsReplicaInfo_linkfailures_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19861 offset = drsuapi_dissect_struct_DsReplicaKccDsaFailuresCtr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_linkfailures,0);
19863 return offset;
19866 static int
19867 drsuapi_dissect_element_DsReplicaInfo_pendingops(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19869 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_pendingops_, NDR_POINTER_UNIQUE, "Pointer to Pendingops (drsuapi_DsReplicaOpCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_pendingops);
19871 return offset;
19874 static int
19875 drsuapi_dissect_element_DsReplicaInfo_pendingops_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19877 offset = drsuapi_dissect_struct_DsReplicaOpCtr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_pendingops,0);
19879 return offset;
19882 static int
19883 drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19885 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata_, NDR_POINTER_UNIQUE, "Pointer to Attrvalmetadata (drsuapi_DsReplicaAttrValMetaDataCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata);
19887 return offset;
19890 static int
19891 drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19893 offset = drsuapi_dissect_struct_DsReplicaAttrValMetaDataCtr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata,0);
19895 return offset;
19898 static int
19899 drsuapi_dissect_element_DsReplicaInfo_cursors2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19901 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_cursors2_, NDR_POINTER_UNIQUE, "Pointer to Cursors2 (drsuapi_DsReplicaCursor2Ctr)",hf_drsuapi_drsuapi_DsReplicaInfo_cursors2);
19903 return offset;
19906 static int
19907 drsuapi_dissect_element_DsReplicaInfo_cursors2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19909 offset = drsuapi_dissect_struct_DsReplicaCursor2Ctr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_cursors2,0);
19911 return offset;
19914 static int
19915 drsuapi_dissect_element_DsReplicaInfo_cursors3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19917 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_cursors3_, NDR_POINTER_UNIQUE, "Pointer to Cursors3 (drsuapi_DsReplicaCursor3Ctr)",hf_drsuapi_drsuapi_DsReplicaInfo_cursors3);
19919 return offset;
19922 static int
19923 drsuapi_dissect_element_DsReplicaInfo_cursors3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19925 offset = drsuapi_dissect_struct_DsReplicaCursor3Ctr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_cursors3,0);
19927 return offset;
19930 static int
19931 drsuapi_dissect_element_DsReplicaInfo_objmetadata2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19933 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_objmetadata2_, NDR_POINTER_UNIQUE, "Pointer to Objmetadata2 (drsuapi_DsReplicaObjMetaData2Ctr)",hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata2);
19935 return offset;
19938 static int
19939 drsuapi_dissect_element_DsReplicaInfo_objmetadata2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19941 offset = drsuapi_dissect_struct_DsReplicaObjMetaData2Ctr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata2,0);
19943 return offset;
19946 static int
19947 drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19949 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata2_, NDR_POINTER_UNIQUE, "Pointer to Attrvalmetadata2 (drsuapi_DsReplicaAttrValMetaData2Ctr)",hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata2);
19951 return offset;
19954 static int
19955 drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19957 offset = drsuapi_dissect_struct_DsReplicaAttrValMetaData2Ctr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata2,0);
19959 return offset;
19962 static int
19963 drsuapi_dissect_element_DsReplicaInfo_repsto(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19965 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_repsto_, NDR_POINTER_UNIQUE, "Pointer to Repsto (drsuapi_DsReplicaNeighbourCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_repsto);
19967 return offset;
19970 static int
19971 drsuapi_dissect_element_DsReplicaInfo_repsto_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19973 offset = drsuapi_dissect_struct_DsReplicaNeighbourCtr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_repsto,0);
19975 return offset;
19978 static int
19979 drsuapi_dissect_element_DsReplicaInfo_clientctx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19981 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_clientctx_, NDR_POINTER_UNIQUE, "Pointer to Clientctx (drsuapi_DsReplicaConnection04Ctr)",hf_drsuapi_drsuapi_DsReplicaInfo_clientctx);
19983 return offset;
19986 static int
19987 drsuapi_dissect_element_DsReplicaInfo_clientctx_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19989 offset = drsuapi_dissect_struct_DsReplicaConnection04Ctr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_clientctx,0);
19991 return offset;
19994 static int
19995 drsuapi_dissect_element_DsReplicaInfo_udv1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19997 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_udv1_, NDR_POINTER_UNIQUE, "Pointer to Udv1 (drsuapi_DsReplicaCursorCtrEx)",hf_drsuapi_drsuapi_DsReplicaInfo_udv1);
19999 return offset;
20002 static int
20003 drsuapi_dissect_element_DsReplicaInfo_udv1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20005 offset = drsuapi_dissect_struct_DsReplicaCursorCtrEx(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_udv1,0);
20007 return offset;
20010 static int
20011 drsuapi_dissect_element_DsReplicaInfo_srvoutgoingcalls(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20013 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaInfo_srvoutgoingcalls_, NDR_POINTER_UNIQUE, "Pointer to Srvoutgoingcalls (drsuapi_DsReplica06Ctr)",hf_drsuapi_drsuapi_DsReplicaInfo_srvoutgoingcalls);
20015 return offset;
20018 static int
20019 drsuapi_dissect_element_DsReplicaInfo_srvoutgoingcalls_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20021 offset = drsuapi_dissect_struct_DsReplica06Ctr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsReplicaInfo_srvoutgoingcalls,0);
20023 return offset;
20026 static int
20027 drsuapi_dissect_DsReplicaInfo(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_)
20029 proto_item *item = NULL;
20030 proto_tree *tree = NULL;
20031 int old_offset;
20032 uint32_t level;
20034 old_offset = offset;
20035 if (parent_tree) {
20036 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsReplicaInfo, &item, "drsuapi_DsReplicaInfo");
20039 UNION_ALIGN_TO_5_BYTES;
20040 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
20041 UNION_ALIGN_TO_5_BYTES;
20043 switch(level) {
20044 case DRSUAPI_DS_REPLICA_INFO_NEIGHBORS:
20045 offset = drsuapi_dissect_element_DsReplicaInfo_neighbours(tvb, offset, pinfo, tree, di, drep);
20046 break;
20048 case DRSUAPI_DS_REPLICA_INFO_CURSORS:
20049 offset = drsuapi_dissect_element_DsReplicaInfo_cursors(tvb, offset, pinfo, tree, di, drep);
20050 break;
20052 case DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA:
20053 offset = drsuapi_dissect_element_DsReplicaInfo_objmetadata(tvb, offset, pinfo, tree, di, drep);
20054 break;
20056 case DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES:
20057 offset = drsuapi_dissect_element_DsReplicaInfo_connectfailures(tvb, offset, pinfo, tree, di, drep);
20058 break;
20060 case DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES:
20061 offset = drsuapi_dissect_element_DsReplicaInfo_linkfailures(tvb, offset, pinfo, tree, di, drep);
20062 break;
20064 case DRSUAPI_DS_REPLICA_INFO_PENDING_OPS:
20065 offset = drsuapi_dissect_element_DsReplicaInfo_pendingops(tvb, offset, pinfo, tree, di, drep);
20066 break;
20068 case DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA:
20069 offset = drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata(tvb, offset, pinfo, tree, di, drep);
20070 break;
20072 case DRSUAPI_DS_REPLICA_INFO_CURSORS2:
20073 offset = drsuapi_dissect_element_DsReplicaInfo_cursors2(tvb, offset, pinfo, tree, di, drep);
20074 break;
20076 case DRSUAPI_DS_REPLICA_INFO_CURSORS3:
20077 offset = drsuapi_dissect_element_DsReplicaInfo_cursors3(tvb, offset, pinfo, tree, di, drep);
20078 break;
20080 case DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2:
20081 offset = drsuapi_dissect_element_DsReplicaInfo_objmetadata2(tvb, offset, pinfo, tree, di, drep);
20082 break;
20084 case DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2:
20085 offset = drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata2(tvb, offset, pinfo, tree, di, drep);
20086 break;
20088 case DRSUAPI_DS_REPLICA_INFO_REPSTO:
20089 offset = drsuapi_dissect_element_DsReplicaInfo_repsto(tvb, offset, pinfo, tree, di, drep);
20090 break;
20092 case DRSUAPI_DS_REPLICA_INFO_CLIENT_CONTEXTS:
20093 offset = drsuapi_dissect_element_DsReplicaInfo_clientctx(tvb, offset, pinfo, tree, di, drep);
20094 break;
20096 case DRSUAPI_DS_REPLICA_INFO_UPTODATE_VECTOR_V1:
20097 offset = drsuapi_dissect_element_DsReplicaInfo_udv1(tvb, offset, pinfo, tree, di, drep);
20098 break;
20100 case DRSUAPI_DS_REPLICA_INFO_SERVER_OUTGOING_CALLS:
20101 offset = drsuapi_dissect_element_DsReplicaInfo_srvoutgoingcalls(tvb, offset, pinfo, tree, di, drep);
20102 break;
20104 proto_item_set_len(item, offset-old_offset);
20107 return offset;
20110 /* IDL: struct { */
20111 /* IDL: [range(0,10000)] uint32 num_entries; */
20112 /* IDL: [size_is(num_entries)] [unique(1)] drsuapi_DsGetMembershipsCtr1 **ctrl_array; */
20113 /* IDL: } */
20115 static int
20116 drsuapi_dissect_element_DsGetMemberships2Ctr1_num_entries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20118 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_num_entries, 0);
20120 return offset;
20123 static int
20124 drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20126 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array_, NDR_POINTER_UNIQUE, "Pointer to Ctrl Array (drsuapi_DsGetMembershipsCtr1)",hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_ctrl_array);
20128 return offset;
20131 static int
20132 drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20134 struct ndr_generic_array nga = { .is_conformant = false, };
20136 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
20138 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array__);
20140 return offset;
20143 static int
20144 drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20146 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array___, NDR_POINTER_UNIQUE, "Pointer to Ctrl Array (drsuapi_DsGetMembershipsCtr1)",hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_ctrl_array);
20148 return offset;
20151 static int
20152 drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20154 offset = drsuapi_dissect_struct_DsGetMembershipsCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_ctrl_array,0);
20156 return offset;
20160 drsuapi_dissect_struct_DsGetMemberships2Ctr1(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_)
20162 proto_item *item = NULL;
20163 proto_tree *tree = NULL;
20164 int old_offset;
20166 ALIGN_TO_5_BYTES;
20168 old_offset = offset;
20170 if (parent_tree) {
20171 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
20172 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetMemberships2Ctr1);
20175 offset = drsuapi_dissect_element_DsGetMemberships2Ctr1_num_entries(tvb, offset, pinfo, tree, di, drep);
20177 offset = drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array(tvb, offset, pinfo, tree, di, drep);
20180 proto_item_set_len(item, offset-old_offset);
20183 if (di->call_data->flags & DCERPC_IS_NDR64) {
20184 ALIGN_TO_5_BYTES;
20187 return offset;
20191 /* IDL: [switch_type(uint32)] union { */
20192 /* IDL: [case(1)] [case(1)] drsuapi_DsGetMembershipsCtr1 ctr1; */
20193 /* IDL: } */
20195 static int
20196 drsuapi_dissect_element_DsGetMemberships2Ctr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20198 offset = drsuapi_dissect_struct_DsGetMembershipsCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetMemberships2Ctr_ctr1,0);
20200 return offset;
20203 static int
20204 drsuapi_dissect_DsGetMemberships2Ctr(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_)
20206 proto_item *item = NULL;
20207 proto_tree *tree = NULL;
20208 int old_offset;
20209 uint32_t level;
20211 old_offset = offset;
20212 if (parent_tree) {
20213 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsGetMemberships2Ctr, &item, "drsuapi_DsGetMemberships2Ctr");
20216 UNION_ALIGN_TO_5_BYTES;
20217 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
20218 UNION_ALIGN_TO_5_BYTES;
20220 switch(level) {
20221 case 1:
20222 offset = drsuapi_dissect_element_DsGetMemberships2Ctr_ctr1(tvb, offset, pinfo, tree, di, drep);
20223 break;
20225 proto_item_set_len(item, offset-old_offset);
20228 return offset;
20231 /* IDL: struct { */
20232 /* IDL: [range(1,10000)] uint32 num_req; */
20233 /* IDL: [size_is(num_req)] [unique(1)] drsuapi_DsGetMembershipsRequest1 **req_array; */
20234 /* IDL: } */
20236 static int
20237 drsuapi_dissect_element_DsGetMemberships2Request1_num_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20239 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMemberships2Request1_num_req, 0);
20241 return offset;
20244 static int
20245 drsuapi_dissect_element_DsGetMemberships2Request1_req_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20247 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMemberships2Request1_req_array_, NDR_POINTER_UNIQUE, "Pointer to Req Array (drsuapi_DsGetMembershipsRequest1)",hf_drsuapi_drsuapi_DsGetMemberships2Request1_req_array);
20249 return offset;
20252 static int
20253 drsuapi_dissect_element_DsGetMemberships2Request1_req_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20255 struct ndr_generic_array nga = { .is_conformant = false, };
20257 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
20259 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_DsGetMemberships2Request1_req_array__);
20261 return offset;
20264 static int
20265 drsuapi_dissect_element_DsGetMemberships2Request1_req_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20267 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMemberships2Request1_req_array___, NDR_POINTER_UNIQUE, "Pointer to Req Array (drsuapi_DsGetMembershipsRequest1)",hf_drsuapi_drsuapi_DsGetMemberships2Request1_req_array);
20269 return offset;
20272 static int
20273 drsuapi_dissect_element_DsGetMemberships2Request1_req_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20275 offset = drsuapi_dissect_struct_DsGetMembershipsRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetMemberships2Request1_req_array,0);
20277 return offset;
20281 drsuapi_dissect_struct_DsGetMemberships2Request1(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_)
20283 proto_item *item = NULL;
20284 proto_tree *tree = NULL;
20285 int old_offset;
20287 ALIGN_TO_5_BYTES;
20289 old_offset = offset;
20291 if (parent_tree) {
20292 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
20293 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetMemberships2Request1);
20296 offset = drsuapi_dissect_element_DsGetMemberships2Request1_num_req(tvb, offset, pinfo, tree, di, drep);
20298 offset = drsuapi_dissect_element_DsGetMemberships2Request1_req_array(tvb, offset, pinfo, tree, di, drep);
20301 proto_item_set_len(item, offset-old_offset);
20304 if (di->call_data->flags & DCERPC_IS_NDR64) {
20305 ALIGN_TO_5_BYTES;
20308 return offset;
20312 /* IDL: [switch_type(uint32)] union { */
20313 /* IDL: [case(1)] [case(1)] drsuapi_DsGetMemberships2Request1 req1; */
20314 /* IDL: } */
20316 static int
20317 drsuapi_dissect_element_DsGetMemberships2Request_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20319 offset = drsuapi_dissect_struct_DsGetMemberships2Request1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsGetMemberships2Request_req1,0);
20321 return offset;
20324 static int
20325 drsuapi_dissect_DsGetMemberships2Request(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_)
20327 proto_item *item = NULL;
20328 proto_tree *tree = NULL;
20329 int old_offset;
20330 uint32_t level;
20332 old_offset = offset;
20333 if (parent_tree) {
20334 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_DsGetMemberships2Request, &item, "drsuapi_DsGetMemberships2Request");
20337 UNION_ALIGN_TO_5_BYTES;
20338 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
20339 UNION_ALIGN_TO_5_BYTES;
20341 switch(level) {
20342 case 1:
20343 offset = drsuapi_dissect_element_DsGetMemberships2Request_req1(tvb, offset, pinfo, tree, di, drep);
20344 break;
20346 proto_item_set_len(item, offset-old_offset);
20349 return offset;
20352 /* IDL: struct { */
20353 /* IDL: WERROR error_code; */
20354 /* IDL: uint32 site_cost; */
20355 /* IDL: } */
20357 static int
20358 drsuapi_dissect_element_DsSiteCostInfo_error_code(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20360 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsSiteCostInfo_error_code, 0);
20362 return offset;
20365 static int
20366 drsuapi_dissect_element_DsSiteCostInfo_site_cost(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20368 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsSiteCostInfo_site_cost, 0);
20370 return offset;
20374 drsuapi_dissect_struct_DsSiteCostInfo(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_)
20376 proto_item *item = NULL;
20377 proto_tree *tree = NULL;
20378 int old_offset;
20380 ALIGN_TO_4_BYTES;
20382 old_offset = offset;
20384 if (parent_tree) {
20385 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
20386 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsSiteCostInfo);
20389 offset = drsuapi_dissect_element_DsSiteCostInfo_error_code(tvb, offset, pinfo, tree, di, drep);
20391 offset = drsuapi_dissect_element_DsSiteCostInfo_site_cost(tvb, offset, pinfo, tree, di, drep);
20394 proto_item_set_len(item, offset-old_offset);
20397 if (di->call_data->flags & DCERPC_IS_NDR64) {
20398 ALIGN_TO_4_BYTES;
20401 return offset;
20405 /* IDL: struct { */
20406 /* IDL: [range(0,10000)] uint32 num_info; */
20407 /* IDL: [size_is(num_info)] [unique(1)] drsuapi_DsSiteCostInfo *info; */
20408 /* IDL: [value(0)] uint32 flags_reserved; */
20409 /* IDL: } */
20411 static int
20412 drsuapi_dissect_element_QuerySitesByCostCtr1_num_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20414 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_QuerySitesByCostCtr1_num_info, 0);
20416 return offset;
20419 static int
20420 drsuapi_dissect_element_QuerySitesByCostCtr1_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20422 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_QuerySitesByCostCtr1_info_, NDR_POINTER_UNIQUE, "Pointer to Info (drsuapi_DsSiteCostInfo)",hf_drsuapi_drsuapi_QuerySitesByCostCtr1_info);
20424 return offset;
20427 static int
20428 drsuapi_dissect_element_QuerySitesByCostCtr1_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20430 struct ndr_generic_array nga = { .is_conformant = false, };
20432 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
20434 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_QuerySitesByCostCtr1_info__);
20436 return offset;
20439 static int
20440 drsuapi_dissect_element_QuerySitesByCostCtr1_info__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20442 offset = drsuapi_dissect_struct_DsSiteCostInfo(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_QuerySitesByCostCtr1_info,0);
20444 return offset;
20447 static int
20448 drsuapi_dissect_element_QuerySitesByCostCtr1_flags_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20450 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_QuerySitesByCostCtr1_flags_reserved, 0);
20452 return offset;
20456 drsuapi_dissect_struct_QuerySitesByCostCtr1(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_)
20458 proto_item *item = NULL;
20459 proto_tree *tree = NULL;
20460 int old_offset;
20462 ALIGN_TO_5_BYTES;
20464 old_offset = offset;
20466 if (parent_tree) {
20467 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
20468 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_QuerySitesByCostCtr1);
20471 offset = drsuapi_dissect_element_QuerySitesByCostCtr1_num_info(tvb, offset, pinfo, tree, di, drep);
20473 offset = drsuapi_dissect_element_QuerySitesByCostCtr1_info(tvb, offset, pinfo, tree, di, drep);
20475 offset = drsuapi_dissect_element_QuerySitesByCostCtr1_flags_reserved(tvb, offset, pinfo, tree, di, drep);
20478 proto_item_set_len(item, offset-old_offset);
20481 if (di->call_data->flags & DCERPC_IS_NDR64) {
20482 ALIGN_TO_5_BYTES;
20485 return offset;
20489 /* IDL: [switch_type(uint32)] union { */
20490 /* IDL: [case(1)] [case(1)] drsuapi_QuerySitesByCostCtr1 ctr1; */
20491 /* IDL: } */
20493 static int
20494 drsuapi_dissect_element_QuerySitesByCostCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20496 offset = drsuapi_dissect_struct_QuerySitesByCostCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_QuerySitesByCostCtr_ctr1,0);
20498 return offset;
20501 static int
20502 drsuapi_dissect_QuerySitesByCostCtr(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_)
20504 proto_item *item = NULL;
20505 proto_tree *tree = NULL;
20506 int old_offset;
20507 uint32_t level;
20509 old_offset = offset;
20510 if (parent_tree) {
20511 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_QuerySitesByCostCtr, &item, "drsuapi_QuerySitesByCostCtr");
20514 UNION_ALIGN_TO_5_BYTES;
20515 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
20516 UNION_ALIGN_TO_5_BYTES;
20518 switch(level) {
20519 case 1:
20520 offset = drsuapi_dissect_element_QuerySitesByCostCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
20521 break;
20523 proto_item_set_len(item, offset-old_offset);
20526 return offset;
20529 /* IDL: struct { */
20530 /* IDL: [charset(UTF16)] [unique(1)] uint16 *site_from; */
20531 /* IDL: [range(1,10000)] uint32 num_req; */
20532 /* IDL: [charset(UTF16)] [size_is(num_req)] [unique(1)] uint16 **site_to; */
20533 /* IDL: uint32 flags; */
20534 /* IDL: } */
20536 static int
20537 drsuapi_dissect_element_QuerySitesByCostRequest1_site_from(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20539 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_QuerySitesByCostRequest1_site_from_, NDR_POINTER_UNIQUE, "Pointer to Site From (uint16)",hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_from);
20541 return offset;
20544 static int
20545 drsuapi_dissect_element_QuerySitesByCostRequest1_site_from_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20547 char *data = NULL;
20548 struct ndr_generic_array nga = { .is_conformant = false, };
20550 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
20552 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
20553 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_from, false, &nga, &data);
20554 proto_item_append_text(tree, ": %s", data);
20556 return offset;
20559 static int
20560 drsuapi_dissect_element_QuerySitesByCostRequest1_num_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20562 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_QuerySitesByCostRequest1_num_req, 0);
20564 return offset;
20567 static int
20568 drsuapi_dissect_element_QuerySitesByCostRequest1_site_to(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20570 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_QuerySitesByCostRequest1_site_to_, NDR_POINTER_UNIQUE, "Pointer to Site To (uint16)",hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_to);
20572 return offset;
20575 static int
20576 drsuapi_dissect_element_QuerySitesByCostRequest1_site_to_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20578 struct ndr_generic_array nga = { .is_conformant = false, };
20580 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
20582 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_QuerySitesByCostRequest1_site_to__);
20584 return offset;
20587 static int
20588 drsuapi_dissect_element_QuerySitesByCostRequest1_site_to__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20590 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_QuerySitesByCostRequest1_site_to___, NDR_POINTER_UNIQUE, "Pointer to Site To (uint16)",hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_to);
20592 return offset;
20595 static int
20596 drsuapi_dissect_element_QuerySitesByCostRequest1_site_to___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20598 char *data = NULL;
20599 struct ndr_generic_array nga = { .is_conformant = false, };
20601 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
20603 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
20604 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_to, false, &nga, &data);
20605 proto_item_append_text(tree, ": %s", data);
20607 return offset;
20610 static int
20611 drsuapi_dissect_element_QuerySitesByCostRequest1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20613 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_QuerySitesByCostRequest1_flags, 0);
20615 return offset;
20619 drsuapi_dissect_struct_QuerySitesByCostRequest1(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_)
20621 proto_item *item = NULL;
20622 proto_tree *tree = NULL;
20623 int old_offset;
20625 ALIGN_TO_5_BYTES;
20627 old_offset = offset;
20629 if (parent_tree) {
20630 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
20631 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_QuerySitesByCostRequest1);
20634 offset = drsuapi_dissect_element_QuerySitesByCostRequest1_site_from(tvb, offset, pinfo, tree, di, drep);
20636 offset = drsuapi_dissect_element_QuerySitesByCostRequest1_num_req(tvb, offset, pinfo, tree, di, drep);
20638 offset = drsuapi_dissect_element_QuerySitesByCostRequest1_site_to(tvb, offset, pinfo, tree, di, drep);
20640 offset = drsuapi_dissect_element_QuerySitesByCostRequest1_flags(tvb, offset, pinfo, tree, di, drep);
20643 proto_item_set_len(item, offset-old_offset);
20646 if (di->call_data->flags & DCERPC_IS_NDR64) {
20647 ALIGN_TO_5_BYTES;
20650 return offset;
20654 /* IDL: [switch_type(uint32)] union { */
20655 /* IDL: [case(1)] [case(1)] drsuapi_QuerySitesByCostRequest1 req1; */
20656 /* IDL: } */
20658 static int
20659 drsuapi_dissect_element_QuerySitesByCostRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20661 offset = drsuapi_dissect_struct_QuerySitesByCostRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_QuerySitesByCostRequest_req1,0);
20663 return offset;
20666 static int
20667 drsuapi_dissect_QuerySitesByCostRequest(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_)
20669 proto_item *item = NULL;
20670 proto_tree *tree = NULL;
20671 int old_offset;
20672 uint32_t level;
20674 old_offset = offset;
20675 if (parent_tree) {
20676 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_QuerySitesByCostRequest, &item, "drsuapi_QuerySitesByCostRequest");
20679 UNION_ALIGN_TO_5_BYTES;
20680 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
20681 UNION_ALIGN_TO_5_BYTES;
20683 switch(level) {
20684 case 1:
20685 offset = drsuapi_dissect_element_QuerySitesByCostRequest_req1(tvb, offset, pinfo, tree, di, drep);
20686 break;
20688 proto_item_set_len(item, offset-old_offset);
20691 return offset;
20694 /* IDL: struct { */
20695 /* IDL: uint32 reserved; */
20696 /* IDL: } */
20698 static int
20699 drsuapi_dissect_element_InitDemotionRequest1_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20701 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_InitDemotionRequest1_reserved, 0);
20703 return offset;
20707 drsuapi_dissect_struct_InitDemotionRequest1(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_)
20709 proto_item *item = NULL;
20710 proto_tree *tree = NULL;
20711 int old_offset;
20713 ALIGN_TO_4_BYTES;
20715 old_offset = offset;
20717 if (parent_tree) {
20718 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
20719 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_InitDemotionRequest1);
20722 offset = drsuapi_dissect_element_InitDemotionRequest1_reserved(tvb, offset, pinfo, tree, di, drep);
20725 proto_item_set_len(item, offset-old_offset);
20728 if (di->call_data->flags & DCERPC_IS_NDR64) {
20729 ALIGN_TO_4_BYTES;
20732 return offset;
20736 /* IDL: [switch_type(uint32)] union { */
20737 /* IDL: [case(1)] [case(1)] drsuapi_InitDemotionRequest1 req1; */
20738 /* IDL: } */
20740 static int
20741 drsuapi_dissect_element_InitDemotionRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20743 offset = drsuapi_dissect_struct_InitDemotionRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_InitDemotionRequest_req1,0);
20745 return offset;
20748 static int
20749 drsuapi_dissect_InitDemotionRequest(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_)
20751 proto_item *item = NULL;
20752 proto_tree *tree = NULL;
20753 int old_offset;
20754 uint32_t level;
20756 old_offset = offset;
20757 if (parent_tree) {
20758 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_InitDemotionRequest, &item, "drsuapi_InitDemotionRequest");
20761 UNION_ALIGN_TO_4_BYTES;
20762 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
20763 UNION_ALIGN_TO_4_BYTES;
20765 switch(level) {
20766 case 1:
20767 offset = drsuapi_dissect_element_InitDemotionRequest_req1(tvb, offset, pinfo, tree, di, drep);
20768 break;
20770 proto_item_set_len(item, offset-old_offset);
20773 return offset;
20776 /* IDL: struct { */
20777 /* IDL: WERROR op_error; */
20778 /* IDL: } */
20780 static int
20781 drsuapi_dissect_element_InitDemotionCtr1_op_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20783 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_InitDemotionCtr1_op_error, 0);
20785 return offset;
20789 drsuapi_dissect_struct_InitDemotionCtr1(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_)
20791 proto_item *item = NULL;
20792 proto_tree *tree = NULL;
20793 int old_offset;
20795 ALIGN_TO_4_BYTES;
20797 old_offset = offset;
20799 if (parent_tree) {
20800 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
20801 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_InitDemotionCtr1);
20804 offset = drsuapi_dissect_element_InitDemotionCtr1_op_error(tvb, offset, pinfo, tree, di, drep);
20807 proto_item_set_len(item, offset-old_offset);
20810 if (di->call_data->flags & DCERPC_IS_NDR64) {
20811 ALIGN_TO_4_BYTES;
20814 return offset;
20818 /* IDL: [switch_type(uint32)] union { */
20819 /* IDL: [case(1)] [case(1)] drsuapi_InitDemotionCtr1 ctr1; */
20820 /* IDL: } */
20822 static int
20823 drsuapi_dissect_element_InitDemotionCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20825 offset = drsuapi_dissect_struct_InitDemotionCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_InitDemotionCtr_ctr1,0);
20827 return offset;
20830 static int
20831 drsuapi_dissect_InitDemotionCtr(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_)
20833 proto_item *item = NULL;
20834 proto_tree *tree = NULL;
20835 int old_offset;
20836 uint32_t level;
20838 old_offset = offset;
20839 if (parent_tree) {
20840 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_InitDemotionCtr, &item, "drsuapi_InitDemotionCtr");
20843 UNION_ALIGN_TO_4_BYTES;
20844 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
20845 UNION_ALIGN_TO_4_BYTES;
20847 switch(level) {
20848 case 1:
20849 offset = drsuapi_dissect_element_InitDemotionCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
20850 break;
20852 proto_item_set_len(item, offset-old_offset);
20855 return offset;
20858 /* IDL: struct { */
20859 /* IDL: uint32 flags; */
20860 /* IDL: GUID uuid_helper_dest; */
20861 /* IDL: [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
20862 /* IDL: } */
20864 static int
20865 drsuapi_dissect_element_ReplicaDemotionRequest1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20867 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReplicaDemotionRequest1_flags, 0);
20869 return offset;
20872 static int
20873 drsuapi_dissect_element_ReplicaDemotionRequest1_uuid_helper_dest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20875 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReplicaDemotionRequest1_uuid_helper_dest, NULL);
20877 return offset;
20880 static int
20881 drsuapi_dissect_element_ReplicaDemotionRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20883 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_ReplicaDemotionRequest1_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_ReplicaDemotionRequest1_naming_context);
20885 return offset;
20888 static int
20889 drsuapi_dissect_element_ReplicaDemotionRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20891 offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_ReplicaDemotionRequest1_naming_context,0);
20893 return offset;
20897 drsuapi_dissect_struct_ReplicaDemotionRequest1(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_)
20899 proto_item *item = NULL;
20900 proto_tree *tree = NULL;
20901 int old_offset;
20903 ALIGN_TO_5_BYTES;
20905 old_offset = offset;
20907 if (parent_tree) {
20908 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
20909 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_ReplicaDemotionRequest1);
20912 offset = drsuapi_dissect_element_ReplicaDemotionRequest1_flags(tvb, offset, pinfo, tree, di, drep);
20914 offset = drsuapi_dissect_element_ReplicaDemotionRequest1_uuid_helper_dest(tvb, offset, pinfo, tree, di, drep);
20916 offset = drsuapi_dissect_element_ReplicaDemotionRequest1_naming_context(tvb, offset, pinfo, tree, di, drep);
20919 proto_item_set_len(item, offset-old_offset);
20922 if (di->call_data->flags & DCERPC_IS_NDR64) {
20923 ALIGN_TO_5_BYTES;
20926 return offset;
20930 /* IDL: [switch_type(uint32)] union { */
20931 /* IDL: [case(1)] [case(1)] drsuapi_ReplicaDemotionRequest1 req1; */
20932 /* IDL: } */
20934 static int
20935 drsuapi_dissect_element_ReplicaDemotionRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20937 offset = drsuapi_dissect_struct_ReplicaDemotionRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_ReplicaDemotionRequest_req1,0);
20939 return offset;
20942 static int
20943 drsuapi_dissect_ReplicaDemotionRequest(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_)
20945 proto_item *item = NULL;
20946 proto_tree *tree = NULL;
20947 int old_offset;
20948 uint32_t level;
20950 old_offset = offset;
20951 if (parent_tree) {
20952 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_ReplicaDemotionRequest, &item, "drsuapi_ReplicaDemotionRequest");
20955 UNION_ALIGN_TO_5_BYTES;
20956 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
20957 UNION_ALIGN_TO_5_BYTES;
20959 switch(level) {
20960 case 1:
20961 offset = drsuapi_dissect_element_ReplicaDemotionRequest_req1(tvb, offset, pinfo, tree, di, drep);
20962 break;
20964 proto_item_set_len(item, offset-old_offset);
20967 return offset;
20970 /* IDL: struct { */
20971 /* IDL: WERROR op_error; */
20972 /* IDL: } */
20974 static int
20975 drsuapi_dissect_element_ReplicaDemotionCtr1_op_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20977 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReplicaDemotionCtr1_op_error, 0);
20979 return offset;
20983 drsuapi_dissect_struct_ReplicaDemotionCtr1(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_)
20985 proto_item *item = NULL;
20986 proto_tree *tree = NULL;
20987 int old_offset;
20989 ALIGN_TO_4_BYTES;
20991 old_offset = offset;
20993 if (parent_tree) {
20994 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
20995 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_ReplicaDemotionCtr1);
20998 offset = drsuapi_dissect_element_ReplicaDemotionCtr1_op_error(tvb, offset, pinfo, tree, di, drep);
21001 proto_item_set_len(item, offset-old_offset);
21004 if (di->call_data->flags & DCERPC_IS_NDR64) {
21005 ALIGN_TO_4_BYTES;
21008 return offset;
21012 /* IDL: [switch_type(uint32)] union { */
21013 /* IDL: [case(1)] [case(1)] drsuapi_ReplicaDemotionCtr1 ctr1; */
21014 /* IDL: } */
21016 static int
21017 drsuapi_dissect_element_ReplicaDemotionCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21019 offset = drsuapi_dissect_struct_ReplicaDemotionCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_ReplicaDemotionCtr_ctr1,0);
21021 return offset;
21024 static int
21025 drsuapi_dissect_ReplicaDemotionCtr(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_)
21027 proto_item *item = NULL;
21028 proto_tree *tree = NULL;
21029 int old_offset;
21030 uint32_t level;
21032 old_offset = offset;
21033 if (parent_tree) {
21034 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_ReplicaDemotionCtr, &item, "drsuapi_ReplicaDemotionCtr");
21037 UNION_ALIGN_TO_4_BYTES;
21038 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
21039 UNION_ALIGN_TO_4_BYTES;
21041 switch(level) {
21042 case 1:
21043 offset = drsuapi_dissect_element_ReplicaDemotionCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
21044 break;
21046 proto_item_set_len(item, offset-old_offset);
21049 return offset;
21052 /* IDL: struct { */
21053 /* IDL: uint32 operations; */
21054 /* IDL: GUID uuid_helper_dest; */
21055 /* IDL: [charset(UTF16)] [unique(1)] uint16 *script_base; */
21056 /* IDL: } */
21058 static int
21059 drsuapi_dissect_element_FinishDemotionRequest1_operations(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21061 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_FinishDemotionRequest1_operations, 0);
21063 return offset;
21066 static int
21067 drsuapi_dissect_element_FinishDemotionRequest1_uuid_helper_dest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21069 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_FinishDemotionRequest1_uuid_helper_dest, NULL);
21071 return offset;
21074 static int
21075 drsuapi_dissect_element_FinishDemotionRequest1_script_base(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21077 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_FinishDemotionRequest1_script_base_, NDR_POINTER_UNIQUE, "Pointer to Script Base (uint16)",hf_drsuapi_drsuapi_FinishDemotionRequest1_script_base);
21079 return offset;
21082 static int
21083 drsuapi_dissect_element_FinishDemotionRequest1_script_base_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21085 char *data = NULL;
21086 struct ndr_generic_array nga = { .is_conformant = false, };
21088 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21090 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21091 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_FinishDemotionRequest1_script_base, false, &nga, &data);
21092 proto_item_append_text(tree, ": %s", data);
21094 return offset;
21098 drsuapi_dissect_struct_FinishDemotionRequest1(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_)
21100 proto_item *item = NULL;
21101 proto_tree *tree = NULL;
21102 int old_offset;
21104 ALIGN_TO_5_BYTES;
21106 old_offset = offset;
21108 if (parent_tree) {
21109 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
21110 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_FinishDemotionRequest1);
21113 offset = drsuapi_dissect_element_FinishDemotionRequest1_operations(tvb, offset, pinfo, tree, di, drep);
21115 offset = drsuapi_dissect_element_FinishDemotionRequest1_uuid_helper_dest(tvb, offset, pinfo, tree, di, drep);
21117 offset = drsuapi_dissect_element_FinishDemotionRequest1_script_base(tvb, offset, pinfo, tree, di, drep);
21120 proto_item_set_len(item, offset-old_offset);
21123 if (di->call_data->flags & DCERPC_IS_NDR64) {
21124 ALIGN_TO_5_BYTES;
21127 return offset;
21131 /* IDL: [switch_type(uint32)] union { */
21132 /* IDL: [case(1)] [case(1)] drsuapi_FinishDemotionRequest1 req1; */
21133 /* IDL: } */
21135 static int
21136 drsuapi_dissect_element_FinishDemotionRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21138 offset = drsuapi_dissect_struct_FinishDemotionRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_FinishDemotionRequest_req1,0);
21140 return offset;
21143 static int
21144 drsuapi_dissect_FinishDemotionRequest(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_)
21146 proto_item *item = NULL;
21147 proto_tree *tree = NULL;
21148 int old_offset;
21149 uint32_t level;
21151 old_offset = offset;
21152 if (parent_tree) {
21153 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_FinishDemotionRequest, &item, "drsuapi_FinishDemotionRequest");
21156 UNION_ALIGN_TO_5_BYTES;
21157 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
21158 UNION_ALIGN_TO_5_BYTES;
21160 switch(level) {
21161 case 1:
21162 offset = drsuapi_dissect_element_FinishDemotionRequest_req1(tvb, offset, pinfo, tree, di, drep);
21163 break;
21165 proto_item_set_len(item, offset-old_offset);
21168 return offset;
21171 /* IDL: struct { */
21172 /* IDL: uint32 operations_done; */
21173 /* IDL: uint32 op_failed; */
21174 /* IDL: WERROR op_error; */
21175 /* IDL: } */
21177 static int
21178 drsuapi_dissect_element_FinishDemotionCtr1_operations_done(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21180 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_FinishDemotionCtr1_operations_done, 0);
21182 return offset;
21185 static int
21186 drsuapi_dissect_element_FinishDemotionCtr1_op_failed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21188 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_FinishDemotionCtr1_op_failed, 0);
21190 return offset;
21193 static int
21194 drsuapi_dissect_element_FinishDemotionCtr1_op_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21196 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_FinishDemotionCtr1_op_error, 0);
21198 return offset;
21202 drsuapi_dissect_struct_FinishDemotionCtr1(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_)
21204 proto_item *item = NULL;
21205 proto_tree *tree = NULL;
21206 int old_offset;
21208 ALIGN_TO_4_BYTES;
21210 old_offset = offset;
21212 if (parent_tree) {
21213 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
21214 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_FinishDemotionCtr1);
21217 offset = drsuapi_dissect_element_FinishDemotionCtr1_operations_done(tvb, offset, pinfo, tree, di, drep);
21219 offset = drsuapi_dissect_element_FinishDemotionCtr1_op_failed(tvb, offset, pinfo, tree, di, drep);
21221 offset = drsuapi_dissect_element_FinishDemotionCtr1_op_error(tvb, offset, pinfo, tree, di, drep);
21224 proto_item_set_len(item, offset-old_offset);
21227 if (di->call_data->flags & DCERPC_IS_NDR64) {
21228 ALIGN_TO_4_BYTES;
21231 return offset;
21235 /* IDL: [switch_type(uint32)] union { */
21236 /* IDL: [case(1)] [case(1)] drsuapi_FinishDemotionCtr1 ctr1; */
21237 /* IDL: } */
21239 static int
21240 drsuapi_dissect_element_FinishDemotionCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21242 offset = drsuapi_dissect_struct_FinishDemotionCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_FinishDemotionCtr_ctr1,0);
21244 return offset;
21247 static int
21248 drsuapi_dissect_FinishDemotionCtr(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_)
21250 proto_item *item = NULL;
21251 proto_tree *tree = NULL;
21252 int old_offset;
21253 uint32_t level;
21255 old_offset = offset;
21256 if (parent_tree) {
21257 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_FinishDemotionCtr, &item, "drsuapi_FinishDemotionCtr");
21260 UNION_ALIGN_TO_4_BYTES;
21261 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
21262 UNION_ALIGN_TO_4_BYTES;
21264 switch(level) {
21265 case 1:
21266 offset = drsuapi_dissect_element_FinishDemotionCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
21267 break;
21269 proto_item_set_len(item, offset-old_offset);
21272 return offset;
21275 /* IDL: struct { */
21276 /* IDL: [charset(UTF16)] [unique(1)] uint16 *clone_dc_name; */
21277 /* IDL: [charset(UTF16)] [unique(1)] uint16 *site; */
21278 /* IDL: } */
21280 static int
21281 drsuapi_dissect_element_AddCloneDCRequest1_clone_dc_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21283 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_AddCloneDCRequest1_clone_dc_name_, NDR_POINTER_UNIQUE, "Pointer to Clone Dc Name (uint16)",hf_drsuapi_drsuapi_AddCloneDCRequest1_clone_dc_name);
21285 return offset;
21288 static int
21289 drsuapi_dissect_element_AddCloneDCRequest1_clone_dc_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21291 char *data = NULL;
21292 struct ndr_generic_array nga = { .is_conformant = false, };
21294 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21296 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21297 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_AddCloneDCRequest1_clone_dc_name, false, &nga, &data);
21298 proto_item_append_text(tree, ": %s", data);
21300 return offset;
21303 static int
21304 drsuapi_dissect_element_AddCloneDCRequest1_site(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21306 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_AddCloneDCRequest1_site_, NDR_POINTER_UNIQUE, "Pointer to Site (uint16)",hf_drsuapi_drsuapi_AddCloneDCRequest1_site);
21308 return offset;
21311 static int
21312 drsuapi_dissect_element_AddCloneDCRequest1_site_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21314 char *data = NULL;
21315 struct ndr_generic_array nga = { .is_conformant = false, };
21317 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21319 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21320 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_AddCloneDCRequest1_site, false, &nga, &data);
21321 proto_item_append_text(tree, ": %s", data);
21323 return offset;
21327 drsuapi_dissect_struct_AddCloneDCRequest1(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_)
21329 proto_item *item = NULL;
21330 proto_tree *tree = NULL;
21331 int old_offset;
21333 ALIGN_TO_5_BYTES;
21335 old_offset = offset;
21337 if (parent_tree) {
21338 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
21339 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_AddCloneDCRequest1);
21342 offset = drsuapi_dissect_element_AddCloneDCRequest1_clone_dc_name(tvb, offset, pinfo, tree, di, drep);
21344 offset = drsuapi_dissect_element_AddCloneDCRequest1_site(tvb, offset, pinfo, tree, di, drep);
21347 proto_item_set_len(item, offset-old_offset);
21350 if (di->call_data->flags & DCERPC_IS_NDR64) {
21351 ALIGN_TO_5_BYTES;
21354 return offset;
21358 /* IDL: [switch_type(uint32)] union { */
21359 /* IDL: [case(1)] [case(1)] drsuapi_AddCloneDCRequest1 req1; */
21360 /* IDL: } */
21362 static int
21363 drsuapi_dissect_element_AddCloneDCRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21365 offset = drsuapi_dissect_struct_AddCloneDCRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_AddCloneDCRequest_req1,0);
21367 return offset;
21370 static int
21371 drsuapi_dissect_AddCloneDCRequest(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_)
21373 proto_item *item = NULL;
21374 proto_tree *tree = NULL;
21375 int old_offset;
21376 uint32_t level;
21378 old_offset = offset;
21379 if (parent_tree) {
21380 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_AddCloneDCRequest, &item, "drsuapi_AddCloneDCRequest");
21383 UNION_ALIGN_TO_5_BYTES;
21384 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
21385 UNION_ALIGN_TO_5_BYTES;
21387 switch(level) {
21388 case 1:
21389 offset = drsuapi_dissect_element_AddCloneDCRequest_req1(tvb, offset, pinfo, tree, di, drep);
21390 break;
21392 proto_item_set_len(item, offset-old_offset);
21395 return offset;
21398 /* IDL: struct { */
21399 /* IDL: [charset(UTF16)] [unique(1)] uint16 *clone_dc_name; */
21400 /* IDL: [charset(UTF16)] [unique(1)] uint16 *site; */
21401 /* IDL: [range(0,1024)] uint32 password_length; */
21402 /* IDL: [charset(UTF16)] [size_is(password_length)] [unique(1)] uint16 *new_dc_account_password; */
21403 /* IDL: } */
21405 static int
21406 drsuapi_dissect_element_AddCloneDCCtr1_clone_dc_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21408 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_AddCloneDCCtr1_clone_dc_name_, NDR_POINTER_UNIQUE, "Pointer to Clone Dc Name (uint16)",hf_drsuapi_drsuapi_AddCloneDCCtr1_clone_dc_name);
21410 return offset;
21413 static int
21414 drsuapi_dissect_element_AddCloneDCCtr1_clone_dc_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21416 char *data = NULL;
21417 struct ndr_generic_array nga = { .is_conformant = false, };
21419 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21421 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21422 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_AddCloneDCCtr1_clone_dc_name, false, &nga, &data);
21423 proto_item_append_text(tree, ": %s", data);
21425 return offset;
21428 static int
21429 drsuapi_dissect_element_AddCloneDCCtr1_site(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21431 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_AddCloneDCCtr1_site_, NDR_POINTER_UNIQUE, "Pointer to Site (uint16)",hf_drsuapi_drsuapi_AddCloneDCCtr1_site);
21433 return offset;
21436 static int
21437 drsuapi_dissect_element_AddCloneDCCtr1_site_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21439 char *data = NULL;
21440 struct ndr_generic_array nga = { .is_conformant = false, };
21442 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21444 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21445 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_AddCloneDCCtr1_site, false, &nga, &data);
21446 proto_item_append_text(tree, ": %s", data);
21448 return offset;
21451 static int
21452 drsuapi_dissect_element_AddCloneDCCtr1_password_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21454 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_AddCloneDCCtr1_password_length, 0);
21456 return offset;
21459 static int
21460 drsuapi_dissect_element_AddCloneDCCtr1_new_dc_account_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21462 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_AddCloneDCCtr1_new_dc_account_password_, NDR_POINTER_UNIQUE, "Pointer to New Dc Account Password (uint16)",hf_drsuapi_drsuapi_AddCloneDCCtr1_new_dc_account_password);
21464 return offset;
21467 static int
21468 drsuapi_dissect_element_AddCloneDCCtr1_new_dc_account_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21470 struct ndr_generic_array nga = { .is_conformant = false, };
21472 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21474 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_AddCloneDCCtr1_new_dc_account_password__);
21476 return offset;
21479 static int
21480 drsuapi_dissect_element_AddCloneDCCtr1_new_dc_account_password__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21482 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_AddCloneDCCtr1_new_dc_account_password, 0);
21484 return offset;
21488 drsuapi_dissect_struct_AddCloneDCCtr1(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_)
21490 proto_item *item = NULL;
21491 proto_tree *tree = NULL;
21492 int old_offset;
21494 ALIGN_TO_5_BYTES;
21496 old_offset = offset;
21498 if (parent_tree) {
21499 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
21500 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_AddCloneDCCtr1);
21503 offset = drsuapi_dissect_element_AddCloneDCCtr1_clone_dc_name(tvb, offset, pinfo, tree, di, drep);
21505 offset = drsuapi_dissect_element_AddCloneDCCtr1_site(tvb, offset, pinfo, tree, di, drep);
21507 offset = drsuapi_dissect_element_AddCloneDCCtr1_password_length(tvb, offset, pinfo, tree, di, drep);
21509 offset = drsuapi_dissect_element_AddCloneDCCtr1_new_dc_account_password(tvb, offset, pinfo, tree, di, drep);
21512 proto_item_set_len(item, offset-old_offset);
21515 if (di->call_data->flags & DCERPC_IS_NDR64) {
21516 ALIGN_TO_5_BYTES;
21519 return offset;
21523 /* IDL: [switch_type(uint32)] union { */
21524 /* IDL: [case(1)] [case(1)] drsuapi_AddCloneDCCtr1 ctr1; */
21525 /* IDL: } */
21527 static int
21528 drsuapi_dissect_element_AddCloneDCCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21530 offset = drsuapi_dissect_struct_AddCloneDCCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_AddCloneDCCtr_ctr1,0);
21532 return offset;
21535 static int
21536 drsuapi_dissect_AddCloneDCCtr(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_)
21538 proto_item *item = NULL;
21539 proto_tree *tree = NULL;
21540 int old_offset;
21541 uint32_t level;
21543 old_offset = offset;
21544 if (parent_tree) {
21545 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_AddCloneDCCtr, &item, "drsuapi_AddCloneDCCtr");
21548 UNION_ALIGN_TO_5_BYTES;
21549 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
21550 UNION_ALIGN_TO_5_BYTES;
21552 switch(level) {
21553 case 1:
21554 offset = drsuapi_dissect_element_AddCloneDCCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
21555 break;
21557 proto_item_set_len(item, offset-old_offset);
21560 return offset;
21563 /* IDL: struct { */
21564 /* IDL: [charset(UTF16)] [unique(1)] uint16 *account; */
21565 /* IDL: [range(0,0xFFFF)] uint32 ngc_key_size; */
21566 /* IDL: [flag(LIBNDR_PRINT_ARRAY_HEX)] [size_is(ngc_key_size)] [unique(1)] uint8 *ngc_key; */
21567 /* IDL: } */
21569 static int
21570 drsuapi_dissect_element_WriteNgcKeyRequest1_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21572 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_WriteNgcKeyRequest1_account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_drsuapi_drsuapi_WriteNgcKeyRequest1_account);
21574 return offset;
21577 static int
21578 drsuapi_dissect_element_WriteNgcKeyRequest1_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21580 char *data = NULL;
21581 struct ndr_generic_array nga = { .is_conformant = false, };
21583 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21585 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21586 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_WriteNgcKeyRequest1_account, false, &nga, &data);
21587 proto_item_append_text(tree, ": %s", data);
21589 return offset;
21592 static int
21593 drsuapi_dissect_element_WriteNgcKeyRequest1_ngc_key_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21595 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_WriteNgcKeyRequest1_ngc_key_size, 0);
21597 return offset;
21600 static int
21601 drsuapi_dissect_element_WriteNgcKeyRequest1_ngc_key(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21603 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_WriteNgcKeyRequest1_ngc_key_, NDR_POINTER_UNIQUE, "Pointer to Ngc Key (uint8)",hf_drsuapi_drsuapi_WriteNgcKeyRequest1_ngc_key);
21605 return offset;
21608 static int
21609 drsuapi_dissect_element_WriteNgcKeyRequest1_ngc_key_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21611 struct ndr_generic_array nga = { .is_conformant = false, };
21613 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21615 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_WriteNgcKeyRequest1_ngc_key__);
21617 return offset;
21620 static int
21621 drsuapi_dissect_element_WriteNgcKeyRequest1_ngc_key__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21623 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_WriteNgcKeyRequest1_ngc_key, 0);
21625 return offset;
21629 drsuapi_dissect_struct_WriteNgcKeyRequest1(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_)
21631 proto_item *item = NULL;
21632 proto_tree *tree = NULL;
21633 int old_offset;
21635 ALIGN_TO_5_BYTES;
21637 old_offset = offset;
21639 if (parent_tree) {
21640 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
21641 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_WriteNgcKeyRequest1);
21644 offset = drsuapi_dissect_element_WriteNgcKeyRequest1_account(tvb, offset, pinfo, tree, di, drep);
21646 offset = drsuapi_dissect_element_WriteNgcKeyRequest1_ngc_key_size(tvb, offset, pinfo, tree, di, drep);
21648 offset = drsuapi_dissect_element_WriteNgcKeyRequest1_ngc_key(tvb, offset, pinfo, tree, di, drep);
21651 proto_item_set_len(item, offset-old_offset);
21654 if (di->call_data->flags & DCERPC_IS_NDR64) {
21655 ALIGN_TO_5_BYTES;
21658 return offset;
21662 /* IDL: [switch_type(uint32)] union { */
21663 /* IDL: [case(1)] [case(1)] drsuapi_WriteNgcKeyRequest1 req1; */
21664 /* IDL: } */
21666 static int
21667 drsuapi_dissect_element_WriteNgcKeyRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21669 offset = drsuapi_dissect_struct_WriteNgcKeyRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_WriteNgcKeyRequest_req1,0);
21671 return offset;
21674 static int
21675 drsuapi_dissect_WriteNgcKeyRequest(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_)
21677 proto_item *item = NULL;
21678 proto_tree *tree = NULL;
21679 int old_offset;
21680 uint32_t level;
21682 old_offset = offset;
21683 if (parent_tree) {
21684 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_WriteNgcKeyRequest, &item, "drsuapi_WriteNgcKeyRequest");
21687 UNION_ALIGN_TO_5_BYTES;
21688 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
21689 UNION_ALIGN_TO_5_BYTES;
21691 switch(level) {
21692 case 1:
21693 offset = drsuapi_dissect_element_WriteNgcKeyRequest_req1(tvb, offset, pinfo, tree, di, drep);
21694 break;
21696 proto_item_set_len(item, offset-old_offset);
21699 return offset;
21702 /* IDL: struct { */
21703 /* IDL: WERROR ret_val; */
21704 /* IDL: } */
21706 static int
21707 drsuapi_dissect_element_WriteNgcKeyCtr1_ret_val(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21709 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_WriteNgcKeyCtr1_ret_val, 0);
21711 return offset;
21715 drsuapi_dissect_struct_WriteNgcKeyCtr1(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_)
21717 proto_item *item = NULL;
21718 proto_tree *tree = NULL;
21719 int old_offset;
21721 ALIGN_TO_4_BYTES;
21723 old_offset = offset;
21725 if (parent_tree) {
21726 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
21727 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_WriteNgcKeyCtr1);
21730 offset = drsuapi_dissect_element_WriteNgcKeyCtr1_ret_val(tvb, offset, pinfo, tree, di, drep);
21733 proto_item_set_len(item, offset-old_offset);
21736 if (di->call_data->flags & DCERPC_IS_NDR64) {
21737 ALIGN_TO_4_BYTES;
21740 return offset;
21744 /* IDL: [switch_type(uint32)] union { */
21745 /* IDL: [case(1)] [case(1)] drsuapi_WriteNgcKeyCtr1 ctr1; */
21746 /* IDL: } */
21748 static int
21749 drsuapi_dissect_element_WriteNgcKeyCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21751 offset = drsuapi_dissect_struct_WriteNgcKeyCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_WriteNgcKeyCtr_ctr1,0);
21753 return offset;
21756 static int
21757 drsuapi_dissect_WriteNgcKeyCtr(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_)
21759 proto_item *item = NULL;
21760 proto_tree *tree = NULL;
21761 int old_offset;
21762 uint32_t level;
21764 old_offset = offset;
21765 if (parent_tree) {
21766 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_WriteNgcKeyCtr, &item, "drsuapi_WriteNgcKeyCtr");
21769 UNION_ALIGN_TO_4_BYTES;
21770 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
21771 UNION_ALIGN_TO_4_BYTES;
21773 switch(level) {
21774 case 1:
21775 offset = drsuapi_dissect_element_WriteNgcKeyCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
21776 break;
21778 proto_item_set_len(item, offset-old_offset);
21781 return offset;
21784 /* IDL: struct { */
21785 /* IDL: [charset(UTF16)] [unique(1)] uint16 *account; */
21786 /* IDL: } */
21788 static int
21789 drsuapi_dissect_element_ReadNgcKeyRequest1_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21791 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_ReadNgcKeyRequest1_account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_drsuapi_drsuapi_ReadNgcKeyRequest1_account);
21793 return offset;
21796 static int
21797 drsuapi_dissect_element_ReadNgcKeyRequest1_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21799 char *data = NULL;
21800 struct ndr_generic_array nga = { .is_conformant = false, };
21802 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21804 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21805 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_drsuapi_drsuapi_ReadNgcKeyRequest1_account, false, &nga, &data);
21806 proto_item_append_text(tree, ": %s", data);
21808 return offset;
21812 drsuapi_dissect_struct_ReadNgcKeyRequest1(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_)
21814 proto_item *item = NULL;
21815 proto_tree *tree = NULL;
21816 int old_offset;
21818 ALIGN_TO_5_BYTES;
21820 old_offset = offset;
21822 if (parent_tree) {
21823 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
21824 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_ReadNgcKeyRequest1);
21827 offset = drsuapi_dissect_element_ReadNgcKeyRequest1_account(tvb, offset, pinfo, tree, di, drep);
21830 proto_item_set_len(item, offset-old_offset);
21833 if (di->call_data->flags & DCERPC_IS_NDR64) {
21834 ALIGN_TO_5_BYTES;
21837 return offset;
21841 /* IDL: [switch_type(uint32)] union { */
21842 /* IDL: [case(1)] [case(1)] drsuapi_ReadNgcKeyRequest1 req1; */
21843 /* IDL: } */
21845 static int
21846 drsuapi_dissect_element_ReadNgcKeyRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21848 offset = drsuapi_dissect_struct_ReadNgcKeyRequest1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_ReadNgcKeyRequest_req1,0);
21850 return offset;
21853 static int
21854 drsuapi_dissect_ReadNgcKeyRequest(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_)
21856 proto_item *item = NULL;
21857 proto_tree *tree = NULL;
21858 int old_offset;
21859 uint32_t level;
21861 old_offset = offset;
21862 if (parent_tree) {
21863 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_ReadNgcKeyRequest, &item, "drsuapi_ReadNgcKeyRequest");
21866 UNION_ALIGN_TO_5_BYTES;
21867 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
21868 UNION_ALIGN_TO_5_BYTES;
21870 switch(level) {
21871 case 1:
21872 offset = drsuapi_dissect_element_ReadNgcKeyRequest_req1(tvb, offset, pinfo, tree, di, drep);
21873 break;
21875 proto_item_set_len(item, offset-old_offset);
21878 return offset;
21881 /* IDL: struct { */
21882 /* IDL: WERROR ret_val; */
21883 /* IDL: [range(0,0xFFFF)] uint32 ngc_key_size; */
21884 /* IDL: [flag(LIBNDR_PRINT_ARRAY_HEX)] [size_is(ngc_key_size)] [unique(1)] uint8 *ngc_key; */
21885 /* IDL: } */
21887 static int
21888 drsuapi_dissect_element_ReadNgcKeyCtr1_ret_val(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21890 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReadNgcKeyCtr1_ret_val, 0);
21892 return offset;
21895 static int
21896 drsuapi_dissect_element_ReadNgcKeyCtr1_ngc_key_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21898 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReadNgcKeyCtr1_ngc_key_size, 0);
21900 return offset;
21903 static int
21904 drsuapi_dissect_element_ReadNgcKeyCtr1_ngc_key(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21906 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_ReadNgcKeyCtr1_ngc_key_, NDR_POINTER_UNIQUE, "Pointer to Ngc Key (uint8)",hf_drsuapi_drsuapi_ReadNgcKeyCtr1_ngc_key);
21908 return offset;
21911 static int
21912 drsuapi_dissect_element_ReadNgcKeyCtr1_ngc_key_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21914 struct ndr_generic_array nga = { .is_conformant = false, };
21916 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
21918 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, drsuapi_dissect_element_ReadNgcKeyCtr1_ngc_key__);
21920 return offset;
21923 static int
21924 drsuapi_dissect_element_ReadNgcKeyCtr1_ngc_key__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21926 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReadNgcKeyCtr1_ngc_key, 0);
21928 return offset;
21932 drsuapi_dissect_struct_ReadNgcKeyCtr1(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_)
21934 proto_item *item = NULL;
21935 proto_tree *tree = NULL;
21936 int old_offset;
21938 ALIGN_TO_5_BYTES;
21940 old_offset = offset;
21942 if (parent_tree) {
21943 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
21944 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_ReadNgcKeyCtr1);
21947 offset = drsuapi_dissect_element_ReadNgcKeyCtr1_ret_val(tvb, offset, pinfo, tree, di, drep);
21949 offset = drsuapi_dissect_element_ReadNgcKeyCtr1_ngc_key_size(tvb, offset, pinfo, tree, di, drep);
21951 offset = drsuapi_dissect_element_ReadNgcKeyCtr1_ngc_key(tvb, offset, pinfo, tree, di, drep);
21954 proto_item_set_len(item, offset-old_offset);
21957 if (di->call_data->flags & DCERPC_IS_NDR64) {
21958 ALIGN_TO_5_BYTES;
21961 return offset;
21965 /* IDL: [switch_type(uint32)] union { */
21966 /* IDL: [case(1)] [case(1)] drsuapi_ReadNgcKeyCtr1 ctr1; */
21967 /* IDL: } */
21969 static int
21970 drsuapi_dissect_element_ReadNgcKeyCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
21972 offset = drsuapi_dissect_struct_ReadNgcKeyCtr1(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_ReadNgcKeyCtr_ctr1,0);
21974 return offset;
21977 static int
21978 drsuapi_dissect_ReadNgcKeyCtr(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_)
21980 proto_item *item = NULL;
21981 proto_tree *tree = NULL;
21982 int old_offset;
21983 uint32_t level;
21985 old_offset = offset;
21986 if (parent_tree) {
21987 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_drsuapi_drsuapi_ReadNgcKeyCtr, &item, "drsuapi_ReadNgcKeyCtr");
21990 UNION_ALIGN_TO_5_BYTES;
21991 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
21992 UNION_ALIGN_TO_5_BYTES;
21994 switch(level) {
21995 case 1:
21996 offset = drsuapi_dissect_element_ReadNgcKeyCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
21997 break;
21999 proto_item_set_len(item, offset-old_offset);
22002 return offset;
22004 static int
22005 drsuapi_dissect_element_DsBind_bind_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22007 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsBind_bind_guid_, NDR_POINTER_UNIQUE, "Pointer to Bind Guid (GUID)",hf_drsuapi_drsuapi_DsBind_bind_guid);
22009 return offset;
22012 static int
22013 drsuapi_dissect_element_DsBind_bind_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22015 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBind_bind_guid, NULL);
22017 return offset;
22020 static int
22021 drsuapi_dissect_element_DsBind_bind_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22023 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsBind_bind_info_, NDR_POINTER_UNIQUE, "Pointer to Bind Info (drsuapi_DsBindInfoCtr)",hf_drsuapi_drsuapi_DsBind_bind_info);
22025 return offset;
22028 static int
22029 drsuapi_dissect_element_DsBind_bind_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22031 offset = drsuapi_dissect_struct_DsBindInfoCtr(tvb,offset,pinfo,tree,di,drep,hf_drsuapi_drsuapi_DsBind_bind_info,0);
22033 return offset;
22036 static int
22037 drsuapi_dissect_element_DsBind_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22039 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsBind_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsBind_bind_handle);
22041 return offset;
22044 static int
22045 drsuapi_dissect_element_DsBind_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22047 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsBind_bind_handle, 0);
22049 return offset;
22052 /* IDL: WERROR drsuapi_DsBind( */
22053 /* IDL: [in] [unique(1)] GUID *bind_guid, */
22054 /* IDL: [in] [out] [unique(1)] drsuapi_DsBindInfoCtr *bind_info, */
22055 /* IDL: [out] [ref] policy_handle *bind_handle */
22056 /* IDL: ); */
22058 static int
22059 drsuapi_dissect_DsBind_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22061 uint32_t status;
22063 di->dcerpc_procedure_name="DsBind";
22064 offset = drsuapi_dissect_element_DsBind_bind_info(tvb, offset, pinfo, tree, di, drep);
22065 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22067 offset = drsuapi_dissect_element_DsBind_bind_handle(tvb, offset, pinfo, tree, di, drep);
22068 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22070 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
22072 if (status != 0)
22073 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
22075 return offset;
22078 static int
22079 drsuapi_dissect_DsBind_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22081 di->dcerpc_procedure_name="DsBind";
22082 offset = drsuapi_dissect_element_DsBind_bind_guid(tvb, offset, pinfo, tree, di, drep);
22083 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22084 offset = drsuapi_dissect_element_DsBind_bind_info(tvb, offset, pinfo, tree, di, drep);
22085 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22086 return offset;
22089 static int
22090 drsuapi_dissect_element_DsUnbind_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22092 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsUnbind_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsUnbind_bind_handle);
22094 return offset;
22097 static int
22098 drsuapi_dissect_element_DsUnbind_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22100 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsUnbind_bind_handle, 0);
22102 return offset;
22105 /* IDL: WERROR drsuapi_DsUnbind( */
22106 /* IDL: [in] [out] [ref] policy_handle *bind_handle */
22107 /* IDL: ); */
22109 static int
22110 drsuapi_dissect_DsUnbind_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22112 uint32_t status;
22114 di->dcerpc_procedure_name="DsUnbind";
22115 offset = drsuapi_dissect_element_DsUnbind_bind_handle(tvb, offset, pinfo, tree, di, drep);
22116 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22118 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
22120 if (status != 0)
22121 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
22123 return offset;
22126 static int
22127 drsuapi_dissect_DsUnbind_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22129 di->dcerpc_procedure_name="DsUnbind";
22130 offset = drsuapi_dissect_element_DsUnbind_bind_handle(tvb, offset, pinfo, tree, di, drep);
22131 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22132 return offset;
22135 static int
22136 drsuapi_dissect_element_DsReplicaSync_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22138 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaSync_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsReplicaSync_bind_handle);
22140 return offset;
22143 static int
22144 drsuapi_dissect_element_DsReplicaSync_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22146 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaSync_bind_handle, 0);
22148 return offset;
22151 static int
22152 drsuapi_dissect_element_DsReplicaSync_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22154 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaSync_level, 0);
22156 return offset;
22159 static int
22160 drsuapi_dissect_element_DsReplicaSync_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22162 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaSync_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsReplicaSyncRequest)",hf_drsuapi_drsuapi_DsReplicaSync_req);
22164 return offset;
22167 static int
22168 drsuapi_dissect_element_DsReplicaSync_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22170 offset = drsuapi_dissect_DsReplicaSyncRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaSync_req, 0);
22172 return offset;
22175 /* IDL: WERROR drsuapi_DsReplicaSync( */
22176 /* IDL: [in] [ref] policy_handle *bind_handle, */
22177 /* IDL: [in] uint32 level, */
22178 /* IDL: [in] [ref] [switch_is(level)] drsuapi_DsReplicaSyncRequest *req */
22179 /* IDL: ); */
22181 static int
22182 drsuapi_dissect_DsReplicaSync_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22184 uint32_t status;
22186 di->dcerpc_procedure_name="DsReplicaSync";
22187 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
22189 if (status != 0)
22190 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
22192 return offset;
22195 static int
22196 drsuapi_dissect_DsReplicaSync_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22198 di->dcerpc_procedure_name="DsReplicaSync";
22199 offset = drsuapi_dissect_element_DsReplicaSync_bind_handle(tvb, offset, pinfo, tree, di, drep);
22200 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22201 offset = drsuapi_dissect_element_DsReplicaSync_level(tvb, offset, pinfo, tree, di, drep);
22202 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22203 offset = drsuapi_dissect_element_DsReplicaSync_req(tvb, offset, pinfo, tree, di, drep);
22204 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22205 return offset;
22208 static int
22209 drsuapi_dissect_element_DsGetNCChanges_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22211 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChanges_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsGetNCChanges_bind_handle);
22213 return offset;
22216 static int
22217 drsuapi_dissect_element_DsGetNCChanges_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22219 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChanges_bind_handle, 0);
22221 return offset;
22224 static int
22225 drsuapi_dissect_element_DsGetNCChanges_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22227 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChanges_level, 0);
22229 return offset;
22232 static int
22233 drsuapi_dissect_element_DsGetNCChanges_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22235 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChanges_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsGetNCChangesRequest)",hf_drsuapi_drsuapi_DsGetNCChanges_req);
22237 return offset;
22240 static int
22241 drsuapi_dissect_element_DsGetNCChanges_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22243 offset = drsuapi_dissect_DsGetNCChangesRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChanges_req, 0);
22245 return offset;
22248 static int
22249 drsuapi_dissect_element_DsGetNCChanges_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22251 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChanges_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsGetNCChanges_level_out);
22253 return offset;
22256 static int
22257 drsuapi_dissect_element_DsGetNCChanges_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22259 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChanges_level_out, 0);
22261 return offset;
22264 static int
22265 drsuapi_dissect_element_DsGetNCChanges_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22267 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNCChanges_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_DsGetNCChangesCtr)",hf_drsuapi_drsuapi_DsGetNCChanges_ctr);
22269 return offset;
22272 static int
22273 drsuapi_dissect_element_DsGetNCChanges_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22275 offset = drsuapi_dissect_DsGetNCChangesCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNCChanges_ctr, 0);
22277 return offset;
22280 /* IDL: WERROR drsuapi_DsGetNCChanges( */
22281 /* IDL: [in] [ref] policy_handle *bind_handle, */
22282 /* IDL: [in] uint32 level, */
22283 /* IDL: [in] [ref] [switch_is(level)] drsuapi_DsGetNCChangesRequest *req, */
22284 /* IDL: [out] [ref] uint32 *level_out, */
22285 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsGetNCChangesCtr *ctr */
22286 /* IDL: ); */
22288 static int
22289 drsuapi_dissect_DsGetNCChanges_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22291 uint32_t status;
22293 di->dcerpc_procedure_name="DsGetNCChanges";
22294 offset = drsuapi_dissect_element_DsGetNCChanges_level_out(tvb, offset, pinfo, tree, di, drep);
22295 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22297 offset = drsuapi_dissect_element_DsGetNCChanges_ctr(tvb, offset, pinfo, tree, di, drep);
22298 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22300 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
22302 if (status != 0)
22303 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
22305 return offset;
22308 static int
22309 drsuapi_dissect_DsGetNCChanges_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22311 di->dcerpc_procedure_name="DsGetNCChanges";
22312 offset = drsuapi_dissect_element_DsGetNCChanges_bind_handle(tvb, offset, pinfo, tree, di, drep);
22313 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22314 offset = drsuapi_dissect_element_DsGetNCChanges_level(tvb, offset, pinfo, tree, di, drep);
22315 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22316 offset = drsuapi_dissect_element_DsGetNCChanges_req(tvb, offset, pinfo, tree, di, drep);
22317 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22318 return offset;
22321 static int
22322 drsuapi_dissect_element_DsReplicaUpdateRefs_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22324 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaUpdateRefs_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsReplicaUpdateRefs_bind_handle);
22326 return offset;
22329 static int
22330 drsuapi_dissect_element_DsReplicaUpdateRefs_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22332 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaUpdateRefs_bind_handle, 0);
22334 return offset;
22337 static int
22338 drsuapi_dissect_element_DsReplicaUpdateRefs_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22340 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaUpdateRefs_level, 0);
22342 return offset;
22345 static int
22346 drsuapi_dissect_element_DsReplicaUpdateRefs_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22348 offset = drsuapi_dissect_DsReplicaUpdateRefsRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaUpdateRefs_req, 0);
22350 return offset;
22353 /* IDL: WERROR drsuapi_DsReplicaUpdateRefs( */
22354 /* IDL: [in] [ref] policy_handle *bind_handle, */
22355 /* IDL: [in] uint32 level, */
22356 /* IDL: [in] [switch_is(level)] drsuapi_DsReplicaUpdateRefsRequest req */
22357 /* IDL: ); */
22359 static int
22360 drsuapi_dissect_DsReplicaUpdateRefs_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22362 uint32_t status;
22364 di->dcerpc_procedure_name="DsReplicaUpdateRefs";
22365 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
22367 if (status != 0)
22368 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
22370 return offset;
22373 static int
22374 drsuapi_dissect_DsReplicaUpdateRefs_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22376 di->dcerpc_procedure_name="DsReplicaUpdateRefs";
22377 offset = drsuapi_dissect_element_DsReplicaUpdateRefs_bind_handle(tvb, offset, pinfo, tree, di, drep);
22378 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22379 offset = drsuapi_dissect_element_DsReplicaUpdateRefs_level(tvb, offset, pinfo, tree, di, drep);
22380 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22381 offset = drsuapi_dissect_element_DsReplicaUpdateRefs_req(tvb, offset, pinfo, tree, di, drep);
22382 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22383 return offset;
22386 static int
22387 drsuapi_dissect_element_DsReplicaAdd_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22389 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaAdd_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsReplicaAdd_bind_handle);
22391 return offset;
22394 static int
22395 drsuapi_dissect_element_DsReplicaAdd_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22397 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAdd_bind_handle, 0);
22399 return offset;
22402 static int
22403 drsuapi_dissect_element_DsReplicaAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22405 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAdd_level, 0);
22407 return offset;
22410 static int
22411 drsuapi_dissect_element_DsReplicaAdd_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22413 offset = drsuapi_dissect_DsReplicaAddRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaAdd_req, 0);
22415 return offset;
22418 /* IDL: WERROR drsuapi_DsReplicaAdd( */
22419 /* IDL: [in] [ref] policy_handle *bind_handle, */
22420 /* IDL: [in] uint32 level, */
22421 /* IDL: [in] [switch_is(level)] drsuapi_DsReplicaAddRequest req */
22422 /* IDL: ); */
22424 static int
22425 drsuapi_dissect_DsReplicaAdd_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22427 uint32_t status;
22429 di->dcerpc_procedure_name="DsReplicaAdd";
22430 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
22432 if (status != 0)
22433 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
22435 return offset;
22438 static int
22439 drsuapi_dissect_DsReplicaAdd_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22441 di->dcerpc_procedure_name="DsReplicaAdd";
22442 offset = drsuapi_dissect_element_DsReplicaAdd_bind_handle(tvb, offset, pinfo, tree, di, drep);
22443 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22444 offset = drsuapi_dissect_element_DsReplicaAdd_level(tvb, offset, pinfo, tree, di, drep);
22445 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22446 offset = drsuapi_dissect_element_DsReplicaAdd_req(tvb, offset, pinfo, tree, di, drep);
22447 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22448 return offset;
22451 static int
22452 drsuapi_dissect_element_DsReplicaDel_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22454 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaDel_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsReplicaDel_bind_handle);
22456 return offset;
22459 static int
22460 drsuapi_dissect_element_DsReplicaDel_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22462 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaDel_bind_handle, 0);
22464 return offset;
22467 static int
22468 drsuapi_dissect_element_DsReplicaDel_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22470 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaDel_level, 0);
22472 return offset;
22475 static int
22476 drsuapi_dissect_element_DsReplicaDel_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22478 offset = drsuapi_dissect_DsReplicaDelRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaDel_req, 0);
22480 return offset;
22483 /* IDL: WERROR drsuapi_DsReplicaDel( */
22484 /* IDL: [in] [ref] policy_handle *bind_handle, */
22485 /* IDL: [in] uint32 level, */
22486 /* IDL: [in] [switch_is(level)] drsuapi_DsReplicaDelRequest req */
22487 /* IDL: ); */
22489 static int
22490 drsuapi_dissect_DsReplicaDel_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22492 uint32_t status;
22494 di->dcerpc_procedure_name="DsReplicaDel";
22495 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
22497 if (status != 0)
22498 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
22500 return offset;
22503 static int
22504 drsuapi_dissect_DsReplicaDel_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22506 di->dcerpc_procedure_name="DsReplicaDel";
22507 offset = drsuapi_dissect_element_DsReplicaDel_bind_handle(tvb, offset, pinfo, tree, di, drep);
22508 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22509 offset = drsuapi_dissect_element_DsReplicaDel_level(tvb, offset, pinfo, tree, di, drep);
22510 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22511 offset = drsuapi_dissect_element_DsReplicaDel_req(tvb, offset, pinfo, tree, di, drep);
22512 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22513 return offset;
22516 static int
22517 drsuapi_dissect_element_DsReplicaMod_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22519 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaMod_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsReplicaMod_bind_handle);
22521 return offset;
22524 static int
22525 drsuapi_dissect_element_DsReplicaMod_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22527 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaMod_bind_handle, 0);
22529 return offset;
22532 static int
22533 drsuapi_dissect_element_DsReplicaMod_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22535 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaMod_level, 0);
22537 return offset;
22540 static int
22541 drsuapi_dissect_element_DsReplicaMod_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22543 offset = drsuapi_dissect_DsReplicaModRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaMod_req, 0);
22545 return offset;
22548 /* IDL: WERROR drsuapi_DsReplicaMod( */
22549 /* IDL: [in] [ref] policy_handle *bind_handle, */
22550 /* IDL: [in] uint32 level, */
22551 /* IDL: [in] [switch_is(level)] drsuapi_DsReplicaModRequest req */
22552 /* IDL: ); */
22554 static int
22555 drsuapi_dissect_DsReplicaMod_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22557 uint32_t status;
22559 di->dcerpc_procedure_name="DsReplicaMod";
22560 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
22562 if (status != 0)
22563 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
22565 return offset;
22568 static int
22569 drsuapi_dissect_DsReplicaMod_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22571 di->dcerpc_procedure_name="DsReplicaMod";
22572 offset = drsuapi_dissect_element_DsReplicaMod_bind_handle(tvb, offset, pinfo, tree, di, drep);
22573 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22574 offset = drsuapi_dissect_element_DsReplicaMod_level(tvb, offset, pinfo, tree, di, drep);
22575 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22576 offset = drsuapi_dissect_element_DsReplicaMod_req(tvb, offset, pinfo, tree, di, drep);
22577 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22578 return offset;
22581 /* IDL: WERROR DRSUAPI_VERIFY_NAMES( */
22582 /* IDL: */
22583 /* IDL: ); */
22585 static int
22586 drsuapi_dissect_DRSUAPI_VERIFY_NAMES_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22588 uint32_t status;
22590 di->dcerpc_procedure_name="DRSUAPI_VERIFY_NAMES";
22591 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
22593 if (status != 0)
22594 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
22596 return offset;
22599 static int
22600 drsuapi_dissect_DRSUAPI_VERIFY_NAMES_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22602 di->dcerpc_procedure_name="DRSUAPI_VERIFY_NAMES";
22603 return offset;
22606 static int
22607 drsuapi_dissect_element_DsGetMemberships_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22609 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMemberships_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsGetMemberships_bind_handle);
22611 return offset;
22614 static int
22615 drsuapi_dissect_element_DsGetMemberships_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22617 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMemberships_bind_handle, 0);
22619 return offset;
22622 static int
22623 drsuapi_dissect_element_DsGetMemberships_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22625 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMemberships_level, 0);
22627 return offset;
22630 static int
22631 drsuapi_dissect_element_DsGetMemberships_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22633 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMemberships_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsGetMembershipsRequest)",hf_drsuapi_drsuapi_DsGetMemberships_req);
22635 return offset;
22638 static int
22639 drsuapi_dissect_element_DsGetMemberships_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22641 offset = drsuapi_dissect_DsGetMembershipsRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMemberships_req, 0);
22643 return offset;
22646 static int
22647 drsuapi_dissect_element_DsGetMemberships_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22649 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMemberships_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsGetMemberships_level_out);
22651 return offset;
22654 static int
22655 drsuapi_dissect_element_DsGetMemberships_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22657 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMemberships_level_out, 0);
22659 return offset;
22662 static int
22663 drsuapi_dissect_element_DsGetMemberships_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22665 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMemberships_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_DsGetMembershipsCtr)",hf_drsuapi_drsuapi_DsGetMemberships_ctr);
22667 return offset;
22670 static int
22671 drsuapi_dissect_element_DsGetMemberships_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22673 offset = drsuapi_dissect_DsGetMembershipsCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMemberships_ctr, 0);
22675 return offset;
22678 /* IDL: WERROR drsuapi_DsGetMemberships( */
22679 /* IDL: [in] [ref] policy_handle *bind_handle, */
22680 /* IDL: [in] uint32 level, */
22681 /* IDL: [in] [ref] [switch_is(level)] drsuapi_DsGetMembershipsRequest *req, */
22682 /* IDL: [out] [ref] uint32 *level_out, */
22683 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsGetMembershipsCtr *ctr */
22684 /* IDL: ); */
22686 static int
22687 drsuapi_dissect_DsGetMemberships_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22689 uint32_t status;
22691 di->dcerpc_procedure_name="DsGetMemberships";
22692 offset = drsuapi_dissect_element_DsGetMemberships_level_out(tvb, offset, pinfo, tree, di, drep);
22693 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22695 offset = drsuapi_dissect_element_DsGetMemberships_ctr(tvb, offset, pinfo, tree, di, drep);
22696 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22698 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
22700 if (status != 0)
22701 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
22703 return offset;
22706 static int
22707 drsuapi_dissect_DsGetMemberships_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22709 di->dcerpc_procedure_name="DsGetMemberships";
22710 offset = drsuapi_dissect_element_DsGetMemberships_bind_handle(tvb, offset, pinfo, tree, di, drep);
22711 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22712 offset = drsuapi_dissect_element_DsGetMemberships_level(tvb, offset, pinfo, tree, di, drep);
22713 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22714 offset = drsuapi_dissect_element_DsGetMemberships_req(tvb, offset, pinfo, tree, di, drep);
22715 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22716 return offset;
22719 /* IDL: WERROR DRSUAPI_INTER_DOMAIN_MOVE( */
22720 /* IDL: */
22721 /* IDL: ); */
22723 static int
22724 drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22726 uint32_t status;
22728 di->dcerpc_procedure_name="DRSUAPI_INTER_DOMAIN_MOVE";
22729 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
22731 if (status != 0)
22732 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
22734 return offset;
22737 static int
22738 drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22740 di->dcerpc_procedure_name="DRSUAPI_INTER_DOMAIN_MOVE";
22741 return offset;
22744 static int
22745 drsuapi_dissect_element_DsGetNT4ChangeLog_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22747 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNT4ChangeLog_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsGetNT4ChangeLog_bind_handle);
22749 return offset;
22752 static int
22753 drsuapi_dissect_element_DsGetNT4ChangeLog_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22755 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLog_bind_handle, 0);
22757 return offset;
22760 static int
22761 drsuapi_dissect_element_DsGetNT4ChangeLog_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22763 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLog_level, 0);
22765 return offset;
22768 static int
22769 drsuapi_dissect_element_DsGetNT4ChangeLog_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22771 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNT4ChangeLog_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsGetNT4ChangeLogRequest)",hf_drsuapi_drsuapi_DsGetNT4ChangeLog_req);
22773 return offset;
22776 static int
22777 drsuapi_dissect_element_DsGetNT4ChangeLog_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22779 offset = drsuapi_dissect_DsGetNT4ChangeLogRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLog_req, 0);
22781 return offset;
22784 static int
22785 drsuapi_dissect_element_DsGetNT4ChangeLog_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22787 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNT4ChangeLog_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsGetNT4ChangeLog_level_out);
22789 return offset;
22792 static int
22793 drsuapi_dissect_element_DsGetNT4ChangeLog_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22795 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLog_level_out, 0);
22797 return offset;
22800 static int
22801 drsuapi_dissect_element_DsGetNT4ChangeLog_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22803 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetNT4ChangeLog_info_, NDR_POINTER_REF, "Pointer to Info (drsuapi_DsGetNT4ChangeLogInfo)",hf_drsuapi_drsuapi_DsGetNT4ChangeLog_info);
22805 return offset;
22808 static int
22809 drsuapi_dissect_element_DsGetNT4ChangeLog_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22811 offset = drsuapi_dissect_DsGetNT4ChangeLogInfo(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLog_info, 0);
22813 return offset;
22816 /* IDL: WERROR drsuapi_DsGetNT4ChangeLog( */
22817 /* IDL: [in] [ref] policy_handle *bind_handle, */
22818 /* IDL: [in] uint32 level, */
22819 /* IDL: [in] [ref] [switch_is(level)] drsuapi_DsGetNT4ChangeLogRequest *req, */
22820 /* IDL: [out] [ref] uint32 *level_out, */
22821 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsGetNT4ChangeLogInfo *info */
22822 /* IDL: ); */
22824 static int
22825 drsuapi_dissect_DsGetNT4ChangeLog_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22827 uint32_t status;
22829 di->dcerpc_procedure_name="DsGetNT4ChangeLog";
22830 offset = drsuapi_dissect_element_DsGetNT4ChangeLog_level_out(tvb, offset, pinfo, tree, di, drep);
22831 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22833 offset = drsuapi_dissect_element_DsGetNT4ChangeLog_info(tvb, offset, pinfo, tree, di, drep);
22834 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22836 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
22838 if (status != 0)
22839 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
22841 return offset;
22844 static int
22845 drsuapi_dissect_DsGetNT4ChangeLog_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22847 di->dcerpc_procedure_name="DsGetNT4ChangeLog";
22848 offset = drsuapi_dissect_element_DsGetNT4ChangeLog_bind_handle(tvb, offset, pinfo, tree, di, drep);
22849 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22850 offset = drsuapi_dissect_element_DsGetNT4ChangeLog_level(tvb, offset, pinfo, tree, di, drep);
22851 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22852 offset = drsuapi_dissect_element_DsGetNT4ChangeLog_req(tvb, offset, pinfo, tree, di, drep);
22853 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22854 return offset;
22857 static int
22858 drsuapi_dissect_element_DsCrackNames_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22860 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsCrackNames_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsCrackNames_bind_handle);
22862 return offset;
22865 static int
22866 drsuapi_dissect_element_DsCrackNames_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22868 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsCrackNames_bind_handle, 0);
22870 return offset;
22873 static int
22874 drsuapi_dissect_element_DsCrackNames_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22876 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsCrackNames_level, 0);
22878 return offset;
22881 static int
22882 drsuapi_dissect_element_DsCrackNames_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22884 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsCrackNames_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsNameRequest)",hf_drsuapi_drsuapi_DsCrackNames_req);
22886 return offset;
22889 static int
22890 drsuapi_dissect_element_DsCrackNames_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22892 offset = drsuapi_dissect_DsNameRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsCrackNames_req, 0);
22894 return offset;
22897 static int
22898 drsuapi_dissect_element_DsCrackNames_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22900 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsCrackNames_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsCrackNames_level_out);
22902 return offset;
22905 static int
22906 drsuapi_dissect_element_DsCrackNames_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22908 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsCrackNames_level_out, 0);
22910 return offset;
22913 static int
22914 drsuapi_dissect_element_DsCrackNames_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22916 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsCrackNames_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_DsNameCtr)",hf_drsuapi_drsuapi_DsCrackNames_ctr);
22918 return offset;
22921 static int
22922 drsuapi_dissect_element_DsCrackNames_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22924 offset = drsuapi_dissect_DsNameCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsCrackNames_ctr, 0);
22926 return offset;
22929 /* IDL: WERROR drsuapi_DsCrackNames( */
22930 /* IDL: [in] [ref] policy_handle *bind_handle, */
22931 /* IDL: [in] uint32 level, */
22932 /* IDL: [in] [ref] [switch_is(level)] drsuapi_DsNameRequest *req, */
22933 /* IDL: [out] [ref] uint32 *level_out, */
22934 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsNameCtr *ctr */
22935 /* IDL: ); */
22937 static int
22938 drsuapi_dissect_DsCrackNames_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22940 uint32_t status;
22942 di->dcerpc_procedure_name="DsCrackNames";
22943 offset = drsuapi_dissect_element_DsCrackNames_level_out(tvb, offset, pinfo, tree, di, drep);
22944 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22946 offset = drsuapi_dissect_element_DsCrackNames_ctr(tvb, offset, pinfo, tree, di, drep);
22947 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22949 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
22951 if (status != 0)
22952 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
22954 return offset;
22957 static int
22958 drsuapi_dissect_DsCrackNames_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22960 di->dcerpc_procedure_name="DsCrackNames";
22961 offset = drsuapi_dissect_element_DsCrackNames_bind_handle(tvb, offset, pinfo, tree, di, drep);
22962 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22963 offset = drsuapi_dissect_element_DsCrackNames_level(tvb, offset, pinfo, tree, di, drep);
22964 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22965 offset = drsuapi_dissect_element_DsCrackNames_req(tvb, offset, pinfo, tree, di, drep);
22966 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
22967 return offset;
22970 static int
22971 drsuapi_dissect_element_DsWriteAccountSpn_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22973 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsWriteAccountSpn_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsWriteAccountSpn_bind_handle);
22975 return offset;
22978 static int
22979 drsuapi_dissect_element_DsWriteAccountSpn_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22981 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsWriteAccountSpn_bind_handle, 0);
22983 return offset;
22986 static int
22987 drsuapi_dissect_element_DsWriteAccountSpn_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22989 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsWriteAccountSpn_level, 0);
22991 return offset;
22994 static int
22995 drsuapi_dissect_element_DsWriteAccountSpn_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
22997 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsWriteAccountSpn_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsWriteAccountSpnRequest)",hf_drsuapi_drsuapi_DsWriteAccountSpn_req);
22999 return offset;
23002 static int
23003 drsuapi_dissect_element_DsWriteAccountSpn_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23005 offset = drsuapi_dissect_DsWriteAccountSpnRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsWriteAccountSpn_req, 0);
23007 return offset;
23010 static int
23011 drsuapi_dissect_element_DsWriteAccountSpn_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23013 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsWriteAccountSpn_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsWriteAccountSpn_level_out);
23015 return offset;
23018 static int
23019 drsuapi_dissect_element_DsWriteAccountSpn_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23021 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsWriteAccountSpn_level_out, 0);
23023 return offset;
23026 static int
23027 drsuapi_dissect_element_DsWriteAccountSpn_res(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23029 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsWriteAccountSpn_res_, NDR_POINTER_REF, "Pointer to Res (drsuapi_DsWriteAccountSpnResult)",hf_drsuapi_drsuapi_DsWriteAccountSpn_res);
23031 return offset;
23034 static int
23035 drsuapi_dissect_element_DsWriteAccountSpn_res_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23037 offset = drsuapi_dissect_DsWriteAccountSpnResult(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsWriteAccountSpn_res, 0);
23039 return offset;
23042 /* IDL: WERROR drsuapi_DsWriteAccountSpn( */
23043 /* IDL: [in] [ref] policy_handle *bind_handle, */
23044 /* IDL: [in] uint32 level, */
23045 /* IDL: [in] [ref] [switch_is(level)] drsuapi_DsWriteAccountSpnRequest *req, */
23046 /* IDL: [out] [ref] uint32 *level_out, */
23047 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsWriteAccountSpnResult *res */
23048 /* IDL: ); */
23050 static int
23051 drsuapi_dissect_DsWriteAccountSpn_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23053 uint32_t status;
23055 di->dcerpc_procedure_name="DsWriteAccountSpn";
23056 offset = drsuapi_dissect_element_DsWriteAccountSpn_level_out(tvb, offset, pinfo, tree, di, drep);
23057 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23059 offset = drsuapi_dissect_element_DsWriteAccountSpn_res(tvb, offset, pinfo, tree, di, drep);
23060 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23062 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
23064 if (status != 0)
23065 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
23067 return offset;
23070 static int
23071 drsuapi_dissect_DsWriteAccountSpn_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23073 di->dcerpc_procedure_name="DsWriteAccountSpn";
23074 offset = drsuapi_dissect_element_DsWriteAccountSpn_bind_handle(tvb, offset, pinfo, tree, di, drep);
23075 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23076 offset = drsuapi_dissect_element_DsWriteAccountSpn_level(tvb, offset, pinfo, tree, di, drep);
23077 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23078 offset = drsuapi_dissect_element_DsWriteAccountSpn_req(tvb, offset, pinfo, tree, di, drep);
23079 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23080 return offset;
23083 static int
23084 drsuapi_dissect_element_DsRemoveDSServer_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23086 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsRemoveDSServer_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsRemoveDSServer_bind_handle);
23088 return offset;
23091 static int
23092 drsuapi_dissect_element_DsRemoveDSServer_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23094 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsRemoveDSServer_bind_handle, 0);
23096 return offset;
23099 static int
23100 drsuapi_dissect_element_DsRemoveDSServer_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23102 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsRemoveDSServer_level, 0);
23104 return offset;
23107 static int
23108 drsuapi_dissect_element_DsRemoveDSServer_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23110 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsRemoveDSServer_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsRemoveDSServerRequest)",hf_drsuapi_drsuapi_DsRemoveDSServer_req);
23112 return offset;
23115 static int
23116 drsuapi_dissect_element_DsRemoveDSServer_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23118 offset = drsuapi_dissect_DsRemoveDSServerRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsRemoveDSServer_req, 0);
23120 return offset;
23123 static int
23124 drsuapi_dissect_element_DsRemoveDSServer_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23126 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsRemoveDSServer_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsRemoveDSServer_level_out);
23128 return offset;
23131 static int
23132 drsuapi_dissect_element_DsRemoveDSServer_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23134 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsRemoveDSServer_level_out, 0);
23136 return offset;
23139 static int
23140 drsuapi_dissect_element_DsRemoveDSServer_res(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23142 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsRemoveDSServer_res_, NDR_POINTER_REF, "Pointer to Res (drsuapi_DsRemoveDSServerResult)",hf_drsuapi_drsuapi_DsRemoveDSServer_res);
23144 return offset;
23147 static int
23148 drsuapi_dissect_element_DsRemoveDSServer_res_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23150 offset = drsuapi_dissect_DsRemoveDSServerResult(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsRemoveDSServer_res, 0);
23152 return offset;
23155 /* IDL: WERROR drsuapi_DsRemoveDSServer( */
23156 /* IDL: [in] [ref] policy_handle *bind_handle, */
23157 /* IDL: [in] uint32 level, */
23158 /* IDL: [in] [ref] [switch_is(level)] drsuapi_DsRemoveDSServerRequest *req, */
23159 /* IDL: [out] [ref] uint32 *level_out, */
23160 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsRemoveDSServerResult *res */
23161 /* IDL: ); */
23163 static int
23164 drsuapi_dissect_DsRemoveDSServer_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23166 uint32_t status;
23168 di->dcerpc_procedure_name="DsRemoveDSServer";
23169 offset = drsuapi_dissect_element_DsRemoveDSServer_level_out(tvb, offset, pinfo, tree, di, drep);
23170 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23172 offset = drsuapi_dissect_element_DsRemoveDSServer_res(tvb, offset, pinfo, tree, di, drep);
23173 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23175 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
23177 if (status != 0)
23178 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
23180 return offset;
23183 static int
23184 drsuapi_dissect_DsRemoveDSServer_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23186 di->dcerpc_procedure_name="DsRemoveDSServer";
23187 offset = drsuapi_dissect_element_DsRemoveDSServer_bind_handle(tvb, offset, pinfo, tree, di, drep);
23188 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23189 offset = drsuapi_dissect_element_DsRemoveDSServer_level(tvb, offset, pinfo, tree, di, drep);
23190 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23191 offset = drsuapi_dissect_element_DsRemoveDSServer_req(tvb, offset, pinfo, tree, di, drep);
23192 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23193 return offset;
23196 /* IDL: WERROR DRSUAPI_REMOVE_DS_DOMAIN( */
23197 /* IDL: */
23198 /* IDL: ); */
23200 static int
23201 drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23203 uint32_t status;
23205 di->dcerpc_procedure_name="DRSUAPI_REMOVE_DS_DOMAIN";
23206 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
23208 if (status != 0)
23209 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
23211 return offset;
23214 static int
23215 drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23217 di->dcerpc_procedure_name="DRSUAPI_REMOVE_DS_DOMAIN";
23218 return offset;
23221 static int
23222 drsuapi_dissect_element_DsGetDomainControllerInfo_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23224 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDomainControllerInfo_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsGetDomainControllerInfo_bind_handle);
23226 return offset;
23229 static int
23230 drsuapi_dissect_element_DsGetDomainControllerInfo_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23232 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDomainControllerInfo_bind_handle, 0);
23234 return offset;
23237 static int
23238 drsuapi_dissect_element_DsGetDomainControllerInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23240 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDomainControllerInfo_level, 0);
23242 return offset;
23245 static int
23246 drsuapi_dissect_element_DsGetDomainControllerInfo_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23248 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDomainControllerInfo_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsGetDCInfoRequest)",hf_drsuapi_drsuapi_DsGetDomainControllerInfo_req);
23250 return offset;
23253 static int
23254 drsuapi_dissect_element_DsGetDomainControllerInfo_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23256 offset = drsuapi_dissect_DsGetDCInfoRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDomainControllerInfo_req, 0);
23258 return offset;
23261 static int
23262 drsuapi_dissect_element_DsGetDomainControllerInfo_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23264 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDomainControllerInfo_level_out_, NDR_POINTER_REF, "Pointer to Level Out (drsuapi_DsGetDCInfoCtrLevels)",hf_drsuapi_drsuapi_DsGetDomainControllerInfo_level_out);
23266 return offset;
23269 static int
23270 drsuapi_dissect_element_DsGetDomainControllerInfo_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23272 offset = drsuapi_dissect_enum_DsGetDCInfoCtrLevels(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDomainControllerInfo_level_out, 0);
23274 return offset;
23277 static int
23278 drsuapi_dissect_element_DsGetDomainControllerInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23280 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetDomainControllerInfo_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_DsGetDCInfoCtr)",hf_drsuapi_drsuapi_DsGetDomainControllerInfo_ctr);
23282 return offset;
23285 static int
23286 drsuapi_dissect_element_DsGetDomainControllerInfo_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23288 offset = drsuapi_dissect_DsGetDCInfoCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetDomainControllerInfo_ctr, 0);
23290 return offset;
23293 /* IDL: WERROR drsuapi_DsGetDomainControllerInfo( */
23294 /* IDL: [in] [ref] policy_handle *bind_handle, */
23295 /* IDL: [in] uint32 level, */
23296 /* IDL: [in] [ref] [switch_is(level)] drsuapi_DsGetDCInfoRequest *req, */
23297 /* IDL: [out] [ref] drsuapi_DsGetDCInfoCtrLevels *level_out, */
23298 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsGetDCInfoCtr *ctr */
23299 /* IDL: ); */
23301 static int
23302 drsuapi_dissect_DsGetDomainControllerInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23304 uint32_t status;
23306 di->dcerpc_procedure_name="DsGetDomainControllerInfo";
23307 offset = drsuapi_dissect_element_DsGetDomainControllerInfo_level_out(tvb, offset, pinfo, tree, di, drep);
23308 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23310 offset = drsuapi_dissect_element_DsGetDomainControllerInfo_ctr(tvb, offset, pinfo, tree, di, drep);
23311 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23313 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
23315 if (status != 0)
23316 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
23318 return offset;
23321 static int
23322 drsuapi_dissect_DsGetDomainControllerInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23324 di->dcerpc_procedure_name="DsGetDomainControllerInfo";
23325 offset = drsuapi_dissect_element_DsGetDomainControllerInfo_bind_handle(tvb, offset, pinfo, tree, di, drep);
23326 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23327 offset = drsuapi_dissect_element_DsGetDomainControllerInfo_level(tvb, offset, pinfo, tree, di, drep);
23328 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23329 offset = drsuapi_dissect_element_DsGetDomainControllerInfo_req(tvb, offset, pinfo, tree, di, drep);
23330 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23331 return offset;
23334 static int
23335 drsuapi_dissect_element_DsAddEntry_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23337 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntry_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsAddEntry_bind_handle);
23339 return offset;
23342 static int
23343 drsuapi_dissect_element_DsAddEntry_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23345 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_bind_handle, 0);
23347 return offset;
23350 static int
23351 drsuapi_dissect_element_DsAddEntry_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23353 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_level, 0);
23355 return offset;
23358 static int
23359 drsuapi_dissect_element_DsAddEntry_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23361 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntry_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsAddEntryRequest)",hf_drsuapi_drsuapi_DsAddEntry_req);
23363 return offset;
23366 static int
23367 drsuapi_dissect_element_DsAddEntry_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23369 offset = drsuapi_dissect_DsAddEntryRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_req, 0);
23371 return offset;
23374 static int
23375 drsuapi_dissect_element_DsAddEntry_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23377 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntry_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsAddEntry_level_out);
23379 return offset;
23382 static int
23383 drsuapi_dissect_element_DsAddEntry_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23385 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_level_out, 0);
23387 return offset;
23390 static int
23391 drsuapi_dissect_element_DsAddEntry_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23393 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsAddEntry_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_DsAddEntryCtr)",hf_drsuapi_drsuapi_DsAddEntry_ctr);
23395 return offset;
23398 static int
23399 drsuapi_dissect_element_DsAddEntry_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23401 offset = drsuapi_dissect_DsAddEntryCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsAddEntry_ctr, 0);
23403 return offset;
23406 /* IDL: WERROR drsuapi_DsAddEntry( */
23407 /* IDL: [in] [ref] policy_handle *bind_handle, */
23408 /* IDL: [in] uint32 level, */
23409 /* IDL: [in] [ref] [switch_is(level)] drsuapi_DsAddEntryRequest *req, */
23410 /* IDL: [out] [ref] uint32 *level_out, */
23411 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsAddEntryCtr *ctr */
23412 /* IDL: ); */
23414 static int
23415 drsuapi_dissect_DsAddEntry_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23417 uint32_t status;
23419 di->dcerpc_procedure_name="DsAddEntry";
23420 offset = drsuapi_dissect_element_DsAddEntry_level_out(tvb, offset, pinfo, tree, di, drep);
23421 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23423 offset = drsuapi_dissect_element_DsAddEntry_ctr(tvb, offset, pinfo, tree, di, drep);
23424 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23426 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
23428 if (status != 0)
23429 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
23431 return offset;
23434 static int
23435 drsuapi_dissect_DsAddEntry_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23437 di->dcerpc_procedure_name="DsAddEntry";
23438 offset = drsuapi_dissect_element_DsAddEntry_bind_handle(tvb, offset, pinfo, tree, di, drep);
23439 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23440 offset = drsuapi_dissect_element_DsAddEntry_level(tvb, offset, pinfo, tree, di, drep);
23441 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23442 offset = drsuapi_dissect_element_DsAddEntry_req(tvb, offset, pinfo, tree, di, drep);
23443 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23444 return offset;
23447 static int
23448 drsuapi_dissect_element_DsExecuteKCC_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23450 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsExecuteKCC_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsExecuteKCC_bind_handle);
23452 return offset;
23455 static int
23456 drsuapi_dissect_element_DsExecuteKCC_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23458 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsExecuteKCC_bind_handle, 0);
23460 return offset;
23463 static int
23464 drsuapi_dissect_element_DsExecuteKCC_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23466 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsExecuteKCC_level, 0);
23468 return offset;
23471 static int
23472 drsuapi_dissect_element_DsExecuteKCC_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23474 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsExecuteKCC_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsExecuteKCCRequest)",hf_drsuapi_drsuapi_DsExecuteKCC_req);
23476 return offset;
23479 static int
23480 drsuapi_dissect_element_DsExecuteKCC_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23482 offset = drsuapi_dissect_DsExecuteKCCRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsExecuteKCC_req, 0);
23484 return offset;
23487 /* IDL: WERROR drsuapi_DsExecuteKCC( */
23488 /* IDL: [in] [ref] policy_handle *bind_handle, */
23489 /* IDL: [in] uint32 level, */
23490 /* IDL: [in] [ref] [switch_is(level)] drsuapi_DsExecuteKCCRequest *req */
23491 /* IDL: ); */
23493 static int
23494 drsuapi_dissect_DsExecuteKCC_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23496 uint32_t status;
23498 di->dcerpc_procedure_name="DsExecuteKCC";
23499 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
23501 if (status != 0)
23502 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
23504 return offset;
23507 static int
23508 drsuapi_dissect_DsExecuteKCC_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23510 di->dcerpc_procedure_name="DsExecuteKCC";
23511 offset = drsuapi_dissect_element_DsExecuteKCC_bind_handle(tvb, offset, pinfo, tree, di, drep);
23512 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23513 offset = drsuapi_dissect_element_DsExecuteKCC_level(tvb, offset, pinfo, tree, di, drep);
23514 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23515 offset = drsuapi_dissect_element_DsExecuteKCC_req(tvb, offset, pinfo, tree, di, drep);
23516 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23517 return offset;
23520 static int
23521 drsuapi_dissect_element_DsReplicaGetInfo_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23523 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaGetInfo_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsReplicaGetInfo_bind_handle);
23525 return offset;
23528 static int
23529 drsuapi_dissect_element_DsReplicaGetInfo_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23531 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaGetInfo_bind_handle, 0);
23533 return offset;
23536 static int
23537 drsuapi_dissect_element_DsReplicaGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23539 offset = drsuapi_dissect_enum_DsReplicaGetInfoLevel(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaGetInfo_level, 0);
23541 return offset;
23544 static int
23545 drsuapi_dissect_element_DsReplicaGetInfo_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23547 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaGetInfo_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsReplicaGetInfoRequest)",hf_drsuapi_drsuapi_DsReplicaGetInfo_req);
23549 return offset;
23552 static int
23553 drsuapi_dissect_element_DsReplicaGetInfo_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23555 offset = drsuapi_dissect_DsReplicaGetInfoRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaGetInfo_req, 0);
23557 return offset;
23560 static int
23561 drsuapi_dissect_element_DsReplicaGetInfo_info_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23563 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaGetInfo_info_type_, NDR_POINTER_REF, "Pointer to Info Type (drsuapi_DsReplicaInfoType)",hf_drsuapi_drsuapi_DsReplicaGetInfo_info_type);
23565 return offset;
23568 static int
23569 drsuapi_dissect_element_DsReplicaGetInfo_info_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23571 offset = drsuapi_dissect_enum_DsReplicaInfoType(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaGetInfo_info_type, 0);
23573 return offset;
23576 static int
23577 drsuapi_dissect_element_DsReplicaGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23579 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsReplicaGetInfo_info_, NDR_POINTER_REF, "Pointer to Info (drsuapi_DsReplicaInfo)",hf_drsuapi_drsuapi_DsReplicaGetInfo_info);
23581 return offset;
23584 static int
23585 drsuapi_dissect_element_DsReplicaGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23587 offset = drsuapi_dissect_DsReplicaInfo(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsReplicaGetInfo_info, 0);
23589 return offset;
23592 /* IDL: WERROR drsuapi_DsReplicaGetInfo( */
23593 /* IDL: [in] [ref] policy_handle *bind_handle, */
23594 /* IDL: [in] drsuapi_DsReplicaGetInfoLevel level, */
23595 /* IDL: [in] [ref] [switch_is(level)] drsuapi_DsReplicaGetInfoRequest *req, */
23596 /* IDL: [out] [ref] drsuapi_DsReplicaInfoType *info_type, */
23597 /* IDL: [out] [ref] [switch_is(*info_type)] drsuapi_DsReplicaInfo *info */
23598 /* IDL: ); */
23600 static int
23601 drsuapi_dissect_DsReplicaGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23603 uint32_t status;
23605 di->dcerpc_procedure_name="DsReplicaGetInfo";
23606 offset = drsuapi_dissect_element_DsReplicaGetInfo_info_type(tvb, offset, pinfo, tree, di, drep);
23607 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23609 offset = drsuapi_dissect_element_DsReplicaGetInfo_info(tvb, offset, pinfo, tree, di, drep);
23610 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23612 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
23614 if (status != 0)
23615 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
23617 return offset;
23620 static int
23621 drsuapi_dissect_DsReplicaGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23623 di->dcerpc_procedure_name="DsReplicaGetInfo";
23624 offset = drsuapi_dissect_element_DsReplicaGetInfo_bind_handle(tvb, offset, pinfo, tree, di, drep);
23625 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23626 offset = drsuapi_dissect_element_DsReplicaGetInfo_level(tvb, offset, pinfo, tree, di, drep);
23627 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23628 offset = drsuapi_dissect_element_DsReplicaGetInfo_req(tvb, offset, pinfo, tree, di, drep);
23629 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23630 return offset;
23633 /* IDL: WERROR DRSUAPI_ADD_SID_HISTORY( */
23634 /* IDL: */
23635 /* IDL: ); */
23637 static int
23638 drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23640 uint32_t status;
23642 di->dcerpc_procedure_name="DRSUAPI_ADD_SID_HISTORY";
23643 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
23645 if (status != 0)
23646 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
23648 return offset;
23651 static int
23652 drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23654 di->dcerpc_procedure_name="DRSUAPI_ADD_SID_HISTORY";
23655 return offset;
23658 static int
23659 drsuapi_dissect_element_DsGetMemberships2_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23661 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMemberships2_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsGetMemberships2_bind_handle);
23663 return offset;
23666 static int
23667 drsuapi_dissect_element_DsGetMemberships2_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23669 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMemberships2_bind_handle, 0);
23671 return offset;
23674 static int
23675 drsuapi_dissect_element_DsGetMemberships2_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23677 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMemberships2_level, 0);
23679 return offset;
23682 static int
23683 drsuapi_dissect_element_DsGetMemberships2_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23685 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMemberships2_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsGetMemberships2Request)",hf_drsuapi_drsuapi_DsGetMemberships2_req);
23687 return offset;
23690 static int
23691 drsuapi_dissect_element_DsGetMemberships2_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23693 offset = drsuapi_dissect_DsGetMemberships2Request(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMemberships2_req, 0);
23695 return offset;
23698 static int
23699 drsuapi_dissect_element_DsGetMemberships2_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23701 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMemberships2_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsGetMemberships2_level_out);
23703 return offset;
23706 static int
23707 drsuapi_dissect_element_DsGetMemberships2_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23709 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMemberships2_level_out, 0);
23711 return offset;
23714 static int
23715 drsuapi_dissect_element_DsGetMemberships2_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23717 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_DsGetMemberships2_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_DsGetMemberships2Ctr)",hf_drsuapi_drsuapi_DsGetMemberships2_ctr);
23719 return offset;
23722 static int
23723 drsuapi_dissect_element_DsGetMemberships2_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23725 offset = drsuapi_dissect_DsGetMemberships2Ctr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_DsGetMemberships2_ctr, 0);
23727 return offset;
23730 /* IDL: WERROR drsuapi_DsGetMemberships2( */
23731 /* IDL: [in] [ref] policy_handle *bind_handle, */
23732 /* IDL: [in] uint32 level, */
23733 /* IDL: [in] [ref] [switch_is(level)] drsuapi_DsGetMemberships2Request *req, */
23734 /* IDL: [out] [ref] uint32 *level_out, */
23735 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsGetMemberships2Ctr *ctr */
23736 /* IDL: ); */
23738 static int
23739 drsuapi_dissect_DsGetMemberships2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23741 uint32_t status;
23743 di->dcerpc_procedure_name="DsGetMemberships2";
23744 offset = drsuapi_dissect_element_DsGetMemberships2_level_out(tvb, offset, pinfo, tree, di, drep);
23745 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23747 offset = drsuapi_dissect_element_DsGetMemberships2_ctr(tvb, offset, pinfo, tree, di, drep);
23748 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23750 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
23752 if (status != 0)
23753 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
23755 return offset;
23758 static int
23759 drsuapi_dissect_DsGetMemberships2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23761 di->dcerpc_procedure_name="DsGetMemberships2";
23762 offset = drsuapi_dissect_element_DsGetMemberships2_bind_handle(tvb, offset, pinfo, tree, di, drep);
23763 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23764 offset = drsuapi_dissect_element_DsGetMemberships2_level(tvb, offset, pinfo, tree, di, drep);
23765 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23766 offset = drsuapi_dissect_element_DsGetMemberships2_req(tvb, offset, pinfo, tree, di, drep);
23767 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23768 return offset;
23771 /* IDL: WERROR DRSUAPI_REPLICA_VERIFY_OBJECTS( */
23772 /* IDL: */
23773 /* IDL: ); */
23775 static int
23776 drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23778 uint32_t status;
23780 di->dcerpc_procedure_name="DRSUAPI_REPLICA_VERIFY_OBJECTS";
23781 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
23783 if (status != 0)
23784 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
23786 return offset;
23789 static int
23790 drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23792 di->dcerpc_procedure_name="DRSUAPI_REPLICA_VERIFY_OBJECTS";
23793 return offset;
23796 /* IDL: WERROR DRSUAPI_GET_OBJECT_EXISTENCE( */
23797 /* IDL: */
23798 /* IDL: ); */
23800 static int
23801 drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23803 uint32_t status;
23805 di->dcerpc_procedure_name="DRSUAPI_GET_OBJECT_EXISTENCE";
23806 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
23808 if (status != 0)
23809 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
23811 return offset;
23814 static int
23815 drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23817 di->dcerpc_procedure_name="DRSUAPI_GET_OBJECT_EXISTENCE";
23818 return offset;
23821 static int
23822 drsuapi_dissect_element_QuerySitesByCost_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23824 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_QuerySitesByCost_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_QuerySitesByCost_bind_handle);
23826 return offset;
23829 static int
23830 drsuapi_dissect_element_QuerySitesByCost_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23832 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_QuerySitesByCost_bind_handle, 0);
23834 return offset;
23837 static int
23838 drsuapi_dissect_element_QuerySitesByCost_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23840 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_QuerySitesByCost_level, 0);
23842 return offset;
23845 static int
23846 drsuapi_dissect_element_QuerySitesByCost_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23848 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_QuerySitesByCost_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_QuerySitesByCostRequest)",hf_drsuapi_drsuapi_QuerySitesByCost_req);
23850 return offset;
23853 static int
23854 drsuapi_dissect_element_QuerySitesByCost_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23856 offset = drsuapi_dissect_QuerySitesByCostRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_QuerySitesByCost_req, 0);
23858 return offset;
23861 static int
23862 drsuapi_dissect_element_QuerySitesByCost_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23864 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_QuerySitesByCost_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_QuerySitesByCost_level_out);
23866 return offset;
23869 static int
23870 drsuapi_dissect_element_QuerySitesByCost_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23872 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_QuerySitesByCost_level_out, 0);
23874 return offset;
23877 static int
23878 drsuapi_dissect_element_QuerySitesByCost_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23880 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_QuerySitesByCost_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_QuerySitesByCostCtr)",hf_drsuapi_drsuapi_QuerySitesByCost_ctr);
23882 return offset;
23885 static int
23886 drsuapi_dissect_element_QuerySitesByCost_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23888 offset = drsuapi_dissect_QuerySitesByCostCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_QuerySitesByCost_ctr, 0);
23890 return offset;
23893 /* IDL: WERROR drsuapi_QuerySitesByCost( */
23894 /* IDL: [in] [ref] policy_handle *bind_handle, */
23895 /* IDL: [in] uint32 level, */
23896 /* IDL: [in] [ref] [switch_is(level)] drsuapi_QuerySitesByCostRequest *req, */
23897 /* IDL: [out] [ref] uint32 *level_out, */
23898 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_QuerySitesByCostCtr *ctr */
23899 /* IDL: ); */
23901 static int
23902 drsuapi_dissect_QuerySitesByCost_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23904 uint32_t status;
23906 di->dcerpc_procedure_name="QuerySitesByCost";
23907 offset = drsuapi_dissect_element_QuerySitesByCost_level_out(tvb, offset, pinfo, tree, di, drep);
23908 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23910 offset = drsuapi_dissect_element_QuerySitesByCost_ctr(tvb, offset, pinfo, tree, di, drep);
23911 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23913 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
23915 if (status != 0)
23916 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
23918 return offset;
23921 static int
23922 drsuapi_dissect_QuerySitesByCost_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23924 di->dcerpc_procedure_name="QuerySitesByCost";
23925 offset = drsuapi_dissect_element_QuerySitesByCost_bind_handle(tvb, offset, pinfo, tree, di, drep);
23926 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23927 offset = drsuapi_dissect_element_QuerySitesByCost_level(tvb, offset, pinfo, tree, di, drep);
23928 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23929 offset = drsuapi_dissect_element_QuerySitesByCost_req(tvb, offset, pinfo, tree, di, drep);
23930 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
23931 return offset;
23934 static int
23935 drsuapi_dissect_element_InitDemotion_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23937 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_InitDemotion_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_InitDemotion_bind_handle);
23939 return offset;
23942 static int
23943 drsuapi_dissect_element_InitDemotion_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23945 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_InitDemotion_bind_handle, 0);
23947 return offset;
23950 static int
23951 drsuapi_dissect_element_InitDemotion_in_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23953 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_InitDemotion_in_version, 0);
23955 return offset;
23958 static int
23959 drsuapi_dissect_element_InitDemotion_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23961 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_InitDemotion_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_InitDemotionRequest)",hf_drsuapi_drsuapi_InitDemotion_req);
23963 return offset;
23966 static int
23967 drsuapi_dissect_element_InitDemotion_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23969 offset = drsuapi_dissect_InitDemotionRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_InitDemotion_req, 0);
23971 return offset;
23974 static int
23975 drsuapi_dissect_element_InitDemotion_out_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23977 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_InitDemotion_out_version_, NDR_POINTER_REF, "Pointer to Out Version (uint32)",hf_drsuapi_drsuapi_InitDemotion_out_version);
23979 return offset;
23982 static int
23983 drsuapi_dissect_element_InitDemotion_out_version_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23985 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_InitDemotion_out_version, 0);
23987 return offset;
23990 static int
23991 drsuapi_dissect_element_InitDemotion_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
23993 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_InitDemotion_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_InitDemotionCtr)",hf_drsuapi_drsuapi_InitDemotion_ctr);
23995 return offset;
23998 static int
23999 drsuapi_dissect_element_InitDemotion_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24001 offset = drsuapi_dissect_InitDemotionCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_InitDemotion_ctr, 0);
24003 return offset;
24006 /* IDL: WERROR drsuapi_InitDemotion( */
24007 /* IDL: [in] [ref] policy_handle *bind_handle, */
24008 /* IDL: [in] uint32 in_version, */
24009 /* IDL: [in] [ref] [switch_is(in_version)] drsuapi_InitDemotionRequest *req, */
24010 /* IDL: [out] [ref] uint32 *out_version, */
24011 /* IDL: [out] [ref] [switch_is(*out_version)] drsuapi_InitDemotionCtr *ctr */
24012 /* IDL: ); */
24014 static int
24015 drsuapi_dissect_InitDemotion_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24017 uint32_t status;
24019 di->dcerpc_procedure_name="InitDemotion";
24020 offset = drsuapi_dissect_element_InitDemotion_out_version(tvb, offset, pinfo, tree, di, drep);
24021 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24023 offset = drsuapi_dissect_element_InitDemotion_ctr(tvb, offset, pinfo, tree, di, drep);
24024 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24026 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
24028 if (status != 0)
24029 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
24031 return offset;
24034 static int
24035 drsuapi_dissect_InitDemotion_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24037 di->dcerpc_procedure_name="InitDemotion";
24038 offset = drsuapi_dissect_element_InitDemotion_bind_handle(tvb, offset, pinfo, tree, di, drep);
24039 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24040 offset = drsuapi_dissect_element_InitDemotion_in_version(tvb, offset, pinfo, tree, di, drep);
24041 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24042 offset = drsuapi_dissect_element_InitDemotion_req(tvb, offset, pinfo, tree, di, drep);
24043 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24044 return offset;
24047 static int
24048 drsuapi_dissect_element_ReplicaDemotion_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24050 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_ReplicaDemotion_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_ReplicaDemotion_bind_handle);
24052 return offset;
24055 static int
24056 drsuapi_dissect_element_ReplicaDemotion_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24058 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReplicaDemotion_bind_handle, 0);
24060 return offset;
24063 static int
24064 drsuapi_dissect_element_ReplicaDemotion_in_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24066 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReplicaDemotion_in_version, 0);
24068 return offset;
24071 static int
24072 drsuapi_dissect_element_ReplicaDemotion_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24074 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_ReplicaDemotion_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_ReplicaDemotionRequest)",hf_drsuapi_drsuapi_ReplicaDemotion_req);
24076 return offset;
24079 static int
24080 drsuapi_dissect_element_ReplicaDemotion_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24082 offset = drsuapi_dissect_ReplicaDemotionRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReplicaDemotion_req, 0);
24084 return offset;
24087 static int
24088 drsuapi_dissect_element_ReplicaDemotion_out_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24090 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_ReplicaDemotion_out_version_, NDR_POINTER_REF, "Pointer to Out Version (uint32)",hf_drsuapi_drsuapi_ReplicaDemotion_out_version);
24092 return offset;
24095 static int
24096 drsuapi_dissect_element_ReplicaDemotion_out_version_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24098 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReplicaDemotion_out_version, 0);
24100 return offset;
24103 static int
24104 drsuapi_dissect_element_ReplicaDemotion_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24106 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_ReplicaDemotion_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_ReplicaDemotionCtr)",hf_drsuapi_drsuapi_ReplicaDemotion_ctr);
24108 return offset;
24111 static int
24112 drsuapi_dissect_element_ReplicaDemotion_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24114 offset = drsuapi_dissect_ReplicaDemotionCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReplicaDemotion_ctr, 0);
24116 return offset;
24119 /* IDL: WERROR drsuapi_ReplicaDemotion( */
24120 /* IDL: [in] [ref] policy_handle *bind_handle, */
24121 /* IDL: [in] uint32 in_version, */
24122 /* IDL: [in] [ref] [switch_is(in_version)] drsuapi_ReplicaDemotionRequest *req, */
24123 /* IDL: [out] [ref] uint32 *out_version, */
24124 /* IDL: [out] [ref] [switch_is(*out_version)] drsuapi_ReplicaDemotionCtr *ctr */
24125 /* IDL: ); */
24127 static int
24128 drsuapi_dissect_ReplicaDemotion_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24130 uint32_t status;
24132 di->dcerpc_procedure_name="ReplicaDemotion";
24133 offset = drsuapi_dissect_element_ReplicaDemotion_out_version(tvb, offset, pinfo, tree, di, drep);
24134 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24136 offset = drsuapi_dissect_element_ReplicaDemotion_ctr(tvb, offset, pinfo, tree, di, drep);
24137 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24139 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
24141 if (status != 0)
24142 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
24144 return offset;
24147 static int
24148 drsuapi_dissect_ReplicaDemotion_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24150 di->dcerpc_procedure_name="ReplicaDemotion";
24151 offset = drsuapi_dissect_element_ReplicaDemotion_bind_handle(tvb, offset, pinfo, tree, di, drep);
24152 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24153 offset = drsuapi_dissect_element_ReplicaDemotion_in_version(tvb, offset, pinfo, tree, di, drep);
24154 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24155 offset = drsuapi_dissect_element_ReplicaDemotion_req(tvb, offset, pinfo, tree, di, drep);
24156 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24157 return offset;
24160 static int
24161 drsuapi_dissect_element_FinishDemotion_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24163 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_FinishDemotion_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_FinishDemotion_bind_handle);
24165 return offset;
24168 static int
24169 drsuapi_dissect_element_FinishDemotion_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24171 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_FinishDemotion_bind_handle, 0);
24173 return offset;
24176 static int
24177 drsuapi_dissect_element_FinishDemotion_in_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24179 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_FinishDemotion_in_version, 0);
24181 return offset;
24184 static int
24185 drsuapi_dissect_element_FinishDemotion_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24187 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_FinishDemotion_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_FinishDemotionRequest)",hf_drsuapi_drsuapi_FinishDemotion_req);
24189 return offset;
24192 static int
24193 drsuapi_dissect_element_FinishDemotion_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24195 offset = drsuapi_dissect_FinishDemotionRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_FinishDemotion_req, 0);
24197 return offset;
24200 static int
24201 drsuapi_dissect_element_FinishDemotion_out_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24203 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_FinishDemotion_out_version_, NDR_POINTER_REF, "Pointer to Out Version (uint32)",hf_drsuapi_drsuapi_FinishDemotion_out_version);
24205 return offset;
24208 static int
24209 drsuapi_dissect_element_FinishDemotion_out_version_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24211 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_FinishDemotion_out_version, 0);
24213 return offset;
24216 static int
24217 drsuapi_dissect_element_FinishDemotion_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24219 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_FinishDemotion_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_FinishDemotionCtr)",hf_drsuapi_drsuapi_FinishDemotion_ctr);
24221 return offset;
24224 static int
24225 drsuapi_dissect_element_FinishDemotion_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24227 offset = drsuapi_dissect_FinishDemotionCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_FinishDemotion_ctr, 0);
24229 return offset;
24232 /* IDL: WERROR drsuapi_FinishDemotion( */
24233 /* IDL: [in] [ref] policy_handle *bind_handle, */
24234 /* IDL: [in] uint32 in_version, */
24235 /* IDL: [in] [ref] [switch_is(in_version)] drsuapi_FinishDemotionRequest *req, */
24236 /* IDL: [out] [ref] uint32 *out_version, */
24237 /* IDL: [out] [ref] [switch_is(*out_version)] drsuapi_FinishDemotionCtr *ctr */
24238 /* IDL: ); */
24240 static int
24241 drsuapi_dissect_FinishDemotion_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24243 uint32_t status;
24245 di->dcerpc_procedure_name="FinishDemotion";
24246 offset = drsuapi_dissect_element_FinishDemotion_out_version(tvb, offset, pinfo, tree, di, drep);
24247 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24249 offset = drsuapi_dissect_element_FinishDemotion_ctr(tvb, offset, pinfo, tree, di, drep);
24250 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24252 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
24254 if (status != 0)
24255 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
24257 return offset;
24260 static int
24261 drsuapi_dissect_FinishDemotion_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24263 di->dcerpc_procedure_name="FinishDemotion";
24264 offset = drsuapi_dissect_element_FinishDemotion_bind_handle(tvb, offset, pinfo, tree, di, drep);
24265 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24266 offset = drsuapi_dissect_element_FinishDemotion_in_version(tvb, offset, pinfo, tree, di, drep);
24267 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24268 offset = drsuapi_dissect_element_FinishDemotion_req(tvb, offset, pinfo, tree, di, drep);
24269 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24270 return offset;
24273 static int
24274 drsuapi_dissect_element_AddCloneDC_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24276 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_AddCloneDC_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_AddCloneDC_bind_handle);
24278 return offset;
24281 static int
24282 drsuapi_dissect_element_AddCloneDC_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24284 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_AddCloneDC_bind_handle, 0);
24286 return offset;
24289 static int
24290 drsuapi_dissect_element_AddCloneDC_in_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24292 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_AddCloneDC_in_version, 0);
24294 return offset;
24297 static int
24298 drsuapi_dissect_element_AddCloneDC_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24300 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_AddCloneDC_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_AddCloneDCRequest)",hf_drsuapi_drsuapi_AddCloneDC_req);
24302 return offset;
24305 static int
24306 drsuapi_dissect_element_AddCloneDC_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24308 offset = drsuapi_dissect_AddCloneDCRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_AddCloneDC_req, 0);
24310 return offset;
24313 static int
24314 drsuapi_dissect_element_AddCloneDC_out_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24316 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_AddCloneDC_out_version_, NDR_POINTER_REF, "Pointer to Out Version (uint32)",hf_drsuapi_drsuapi_AddCloneDC_out_version);
24318 return offset;
24321 static int
24322 drsuapi_dissect_element_AddCloneDC_out_version_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24324 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_AddCloneDC_out_version, 0);
24326 return offset;
24329 static int
24330 drsuapi_dissect_element_AddCloneDC_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24332 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_AddCloneDC_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_AddCloneDCCtr)",hf_drsuapi_drsuapi_AddCloneDC_ctr);
24334 return offset;
24337 static int
24338 drsuapi_dissect_element_AddCloneDC_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24340 offset = drsuapi_dissect_AddCloneDCCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_AddCloneDC_ctr, 0);
24342 return offset;
24345 /* IDL: WERROR drsuapi_AddCloneDC( */
24346 /* IDL: [in] [ref] policy_handle *bind_handle, */
24347 /* IDL: [in] uint32 in_version, */
24348 /* IDL: [in] [ref] [switch_is(in_version)] drsuapi_AddCloneDCRequest *req, */
24349 /* IDL: [out] [ref] uint32 *out_version, */
24350 /* IDL: [out] [ref] [switch_is(*out_version)] drsuapi_AddCloneDCCtr *ctr */
24351 /* IDL: ); */
24353 static int
24354 drsuapi_dissect_AddCloneDC_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24356 uint32_t status;
24358 di->dcerpc_procedure_name="AddCloneDC";
24359 offset = drsuapi_dissect_element_AddCloneDC_out_version(tvb, offset, pinfo, tree, di, drep);
24360 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24362 offset = drsuapi_dissect_element_AddCloneDC_ctr(tvb, offset, pinfo, tree, di, drep);
24363 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24365 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
24367 if (status != 0)
24368 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
24370 return offset;
24373 static int
24374 drsuapi_dissect_AddCloneDC_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24376 di->dcerpc_procedure_name="AddCloneDC";
24377 offset = drsuapi_dissect_element_AddCloneDC_bind_handle(tvb, offset, pinfo, tree, di, drep);
24378 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24379 offset = drsuapi_dissect_element_AddCloneDC_in_version(tvb, offset, pinfo, tree, di, drep);
24380 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24381 offset = drsuapi_dissect_element_AddCloneDC_req(tvb, offset, pinfo, tree, di, drep);
24382 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24383 return offset;
24386 static int
24387 drsuapi_dissect_element_WriteNgcKey_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24389 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_WriteNgcKey_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_WriteNgcKey_bind_handle);
24391 return offset;
24394 static int
24395 drsuapi_dissect_element_WriteNgcKey_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24397 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_WriteNgcKey_bind_handle, 0);
24399 return offset;
24402 static int
24403 drsuapi_dissect_element_WriteNgcKey_in_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24405 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_WriteNgcKey_in_version, 0);
24407 return offset;
24410 static int
24411 drsuapi_dissect_element_WriteNgcKey_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24413 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_WriteNgcKey_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_WriteNgcKeyRequest)",hf_drsuapi_drsuapi_WriteNgcKey_req);
24415 return offset;
24418 static int
24419 drsuapi_dissect_element_WriteNgcKey_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24421 offset = drsuapi_dissect_WriteNgcKeyRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_WriteNgcKey_req, 0);
24423 return offset;
24426 static int
24427 drsuapi_dissect_element_WriteNgcKey_out_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24429 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_WriteNgcKey_out_version_, NDR_POINTER_REF, "Pointer to Out Version (uint32)",hf_drsuapi_drsuapi_WriteNgcKey_out_version);
24431 return offset;
24434 static int
24435 drsuapi_dissect_element_WriteNgcKey_out_version_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24437 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_WriteNgcKey_out_version, 0);
24439 return offset;
24442 static int
24443 drsuapi_dissect_element_WriteNgcKey_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24445 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_WriteNgcKey_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_WriteNgcKeyCtr)",hf_drsuapi_drsuapi_WriteNgcKey_ctr);
24447 return offset;
24450 static int
24451 drsuapi_dissect_element_WriteNgcKey_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24453 offset = drsuapi_dissect_WriteNgcKeyCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_WriteNgcKey_ctr, 0);
24455 return offset;
24458 /* IDL: WERROR drsuapi_WriteNgcKey( */
24459 /* IDL: [in] [ref] policy_handle *bind_handle, */
24460 /* IDL: [in] uint32 in_version, */
24461 /* IDL: [in] [ref] [switch_is(in_version)] drsuapi_WriteNgcKeyRequest *req, */
24462 /* IDL: [out] [ref] uint32 *out_version, */
24463 /* IDL: [out] [ref] [switch_is(*out_version)] drsuapi_WriteNgcKeyCtr *ctr */
24464 /* IDL: ); */
24466 static int
24467 drsuapi_dissect_WriteNgcKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24469 uint32_t status;
24471 di->dcerpc_procedure_name="WriteNgcKey";
24472 offset = drsuapi_dissect_element_WriteNgcKey_out_version(tvb, offset, pinfo, tree, di, drep);
24473 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24475 offset = drsuapi_dissect_element_WriteNgcKey_ctr(tvb, offset, pinfo, tree, di, drep);
24476 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24478 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
24480 if (status != 0)
24481 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
24483 return offset;
24486 static int
24487 drsuapi_dissect_WriteNgcKey_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24489 di->dcerpc_procedure_name="WriteNgcKey";
24490 offset = drsuapi_dissect_element_WriteNgcKey_bind_handle(tvb, offset, pinfo, tree, di, drep);
24491 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24492 offset = drsuapi_dissect_element_WriteNgcKey_in_version(tvb, offset, pinfo, tree, di, drep);
24493 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24494 offset = drsuapi_dissect_element_WriteNgcKey_req(tvb, offset, pinfo, tree, di, drep);
24495 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24496 return offset;
24499 static int
24500 drsuapi_dissect_element_ReadNgcKey_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24502 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_ReadNgcKey_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_ReadNgcKey_bind_handle);
24504 return offset;
24507 static int
24508 drsuapi_dissect_element_ReadNgcKey_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24510 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReadNgcKey_bind_handle, 0);
24512 return offset;
24515 static int
24516 drsuapi_dissect_element_ReadNgcKey_in_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24518 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReadNgcKey_in_version, 0);
24520 return offset;
24523 static int
24524 drsuapi_dissect_element_ReadNgcKey_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24526 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_ReadNgcKey_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_ReadNgcKeyRequest)",hf_drsuapi_drsuapi_ReadNgcKey_req);
24528 return offset;
24531 static int
24532 drsuapi_dissect_element_ReadNgcKey_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24534 offset = drsuapi_dissect_ReadNgcKeyRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReadNgcKey_req, 0);
24536 return offset;
24539 static int
24540 drsuapi_dissect_element_ReadNgcKey_out_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24542 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_ReadNgcKey_out_version_, NDR_POINTER_REF, "Pointer to Out Version (uint32)",hf_drsuapi_drsuapi_ReadNgcKey_out_version);
24544 return offset;
24547 static int
24548 drsuapi_dissect_element_ReadNgcKey_out_version_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24550 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReadNgcKey_out_version, 0);
24552 return offset;
24555 static int
24556 drsuapi_dissect_element_ReadNgcKey_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24558 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_element_ReadNgcKey_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_ReadNgcKeyCtr)",hf_drsuapi_drsuapi_ReadNgcKey_ctr);
24560 return offset;
24563 static int
24564 drsuapi_dissect_element_ReadNgcKey_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24566 offset = drsuapi_dissect_ReadNgcKeyCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_drsuapi_ReadNgcKey_ctr, 0);
24568 return offset;
24571 /* IDL: WERROR drsuapi_ReadNgcKey( */
24572 /* IDL: [in] [ref] policy_handle *bind_handle, */
24573 /* IDL: [in] uint32 in_version, */
24574 /* IDL: [in] [ref] [switch_is(in_version)] drsuapi_ReadNgcKeyRequest *req, */
24575 /* IDL: [out] [ref] uint32 *out_version, */
24576 /* IDL: [out] [ref] [switch_is(*out_version)] drsuapi_ReadNgcKeyCtr *ctr */
24577 /* IDL: ); */
24579 static int
24580 drsuapi_dissect_ReadNgcKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24582 uint32_t status;
24584 di->dcerpc_procedure_name="ReadNgcKey";
24585 offset = drsuapi_dissect_element_ReadNgcKey_out_version(tvb, offset, pinfo, tree, di, drep);
24586 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24588 offset = drsuapi_dissect_element_ReadNgcKey_ctr(tvb, offset, pinfo, tree, di, drep);
24589 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24591 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_werror, &status);
24593 if (status != 0)
24594 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
24596 return offset;
24599 static int
24600 drsuapi_dissect_ReadNgcKey_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
24602 di->dcerpc_procedure_name="ReadNgcKey";
24603 offset = drsuapi_dissect_element_ReadNgcKey_bind_handle(tvb, offset, pinfo, tree, di, drep);
24604 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24605 offset = drsuapi_dissect_element_ReadNgcKey_in_version(tvb, offset, pinfo, tree, di, drep);
24606 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24607 offset = drsuapi_dissect_element_ReadNgcKey_req(tvb, offset, pinfo, tree, di, drep);
24608 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
24609 return offset;
24613 static const dcerpc_sub_dissector drsuapi_dissectors[] = {
24614 { 0, "DsBind",
24615 drsuapi_dissect_DsBind_request, drsuapi_dissect_DsBind_response},
24616 { 1, "DsUnbind",
24617 drsuapi_dissect_DsUnbind_request, drsuapi_dissect_DsUnbind_response},
24618 { 2, "DsReplicaSync",
24619 drsuapi_dissect_DsReplicaSync_request, drsuapi_dissect_DsReplicaSync_response},
24620 { 3, "DsGetNCChanges",
24621 drsuapi_dissect_DsGetNCChanges_request, drsuapi_dissect_DsGetNCChanges_response},
24622 { 4, "DsReplicaUpdateRefs",
24623 drsuapi_dissect_DsReplicaUpdateRefs_request, drsuapi_dissect_DsReplicaUpdateRefs_response},
24624 { 5, "DsReplicaAdd",
24625 drsuapi_dissect_DsReplicaAdd_request, drsuapi_dissect_DsReplicaAdd_response},
24626 { 6, "DsReplicaDel",
24627 drsuapi_dissect_DsReplicaDel_request, drsuapi_dissect_DsReplicaDel_response},
24628 { 7, "DsReplicaMod",
24629 drsuapi_dissect_DsReplicaMod_request, drsuapi_dissect_DsReplicaMod_response},
24630 { 8, "DRSUAPI_VERIFY_NAMES",
24631 drsuapi_dissect_DRSUAPI_VERIFY_NAMES_request, drsuapi_dissect_DRSUAPI_VERIFY_NAMES_response},
24632 { 9, "DsGetMemberships",
24633 drsuapi_dissect_DsGetMemberships_request, drsuapi_dissect_DsGetMemberships_response},
24634 { 10, "DRSUAPI_INTER_DOMAIN_MOVE",
24635 drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_request, drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_response},
24636 { 11, "DsGetNT4ChangeLog",
24637 drsuapi_dissect_DsGetNT4ChangeLog_request, drsuapi_dissect_DsGetNT4ChangeLog_response},
24638 { 12, "DsCrackNames",
24639 drsuapi_dissect_DsCrackNames_request, drsuapi_dissect_DsCrackNames_response},
24640 { 13, "DsWriteAccountSpn",
24641 drsuapi_dissect_DsWriteAccountSpn_request, drsuapi_dissect_DsWriteAccountSpn_response},
24642 { 14, "DsRemoveDSServer",
24643 drsuapi_dissect_DsRemoveDSServer_request, drsuapi_dissect_DsRemoveDSServer_response},
24644 { 15, "DRSUAPI_REMOVE_DS_DOMAIN",
24645 drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_request, drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_response},
24646 { 16, "DsGetDomainControllerInfo",
24647 drsuapi_dissect_DsGetDomainControllerInfo_request, drsuapi_dissect_DsGetDomainControllerInfo_response},
24648 { 17, "DsAddEntry",
24649 drsuapi_dissect_DsAddEntry_request, drsuapi_dissect_DsAddEntry_response},
24650 { 18, "DsExecuteKCC",
24651 drsuapi_dissect_DsExecuteKCC_request, drsuapi_dissect_DsExecuteKCC_response},
24652 { 19, "DsReplicaGetInfo",
24653 drsuapi_dissect_DsReplicaGetInfo_request, drsuapi_dissect_DsReplicaGetInfo_response},
24654 { 20, "DRSUAPI_ADD_SID_HISTORY",
24655 drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_request, drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_response},
24656 { 21, "DsGetMemberships2",
24657 drsuapi_dissect_DsGetMemberships2_request, drsuapi_dissect_DsGetMemberships2_response},
24658 { 22, "DRSUAPI_REPLICA_VERIFY_OBJECTS",
24659 drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_request, drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_response},
24660 { 23, "DRSUAPI_GET_OBJECT_EXISTENCE",
24661 drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_request, drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_response},
24662 { 24, "QuerySitesByCost",
24663 drsuapi_dissect_QuerySitesByCost_request, drsuapi_dissect_QuerySitesByCost_response},
24664 { 25, "InitDemotion",
24665 drsuapi_dissect_InitDemotion_request, drsuapi_dissect_InitDemotion_response},
24666 { 26, "ReplicaDemotion",
24667 drsuapi_dissect_ReplicaDemotion_request, drsuapi_dissect_ReplicaDemotion_response},
24668 { 27, "FinishDemotion",
24669 drsuapi_dissect_FinishDemotion_request, drsuapi_dissect_FinishDemotion_response},
24670 { 28, "AddCloneDC",
24671 drsuapi_dissect_AddCloneDC_request, drsuapi_dissect_AddCloneDC_response},
24672 { 29, "WriteNgcKey",
24673 drsuapi_dissect_WriteNgcKey_request, drsuapi_dissect_WriteNgcKey_response},
24674 { 30, "ReadNgcKey",
24675 drsuapi_dissect_ReadNgcKey_request, drsuapi_dissect_ReadNgcKey_response},
24676 { 0, NULL, NULL, NULL }
24679 void proto_register_dcerpc_drsuapi(void)
24681 static hf_register_info hf[] = {
24682 { &hf_DsReplicaObjectIdentifier_dn,
24683 { "DN", "drsuapi.objectidentifier.dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
24684 { &hf_drsuapi_String_name,
24685 { "String", "drsuapi.lsa.string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
24686 { &hf_drsuapi_drsuapi_AddCloneDCCtr1_clone_dc_name,
24687 { "Clone Dc Name", "drsuapi.drsuapi_AddCloneDCCtr1.clone_dc_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
24688 { &hf_drsuapi_drsuapi_AddCloneDCCtr1_new_dc_account_password,
24689 { "New Dc Account Password", "drsuapi.drsuapi_AddCloneDCCtr1.new_dc_account_password", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
24690 { &hf_drsuapi_drsuapi_AddCloneDCCtr1_password_length,
24691 { "Password Length", "drsuapi.drsuapi_AddCloneDCCtr1.password_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24692 { &hf_drsuapi_drsuapi_AddCloneDCCtr1_site,
24693 { "Site", "drsuapi.drsuapi_AddCloneDCCtr1.site", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
24694 { &hf_drsuapi_drsuapi_AddCloneDCCtr_ctr1,
24695 { "Ctr1", "drsuapi.drsuapi_AddCloneDCCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24696 { &hf_drsuapi_drsuapi_AddCloneDCRequest1_clone_dc_name,
24697 { "Clone Dc Name", "drsuapi.drsuapi_AddCloneDCRequest1.clone_dc_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
24698 { &hf_drsuapi_drsuapi_AddCloneDCRequest1_site,
24699 { "Site", "drsuapi.drsuapi_AddCloneDCRequest1.site", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
24700 { &hf_drsuapi_drsuapi_AddCloneDCRequest_req1,
24701 { "Req1", "drsuapi.drsuapi_AddCloneDCRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24702 { &hf_drsuapi_drsuapi_AddCloneDC_bind_handle,
24703 { "Bind Handle", "drsuapi.drsuapi_AddCloneDC.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
24704 { &hf_drsuapi_drsuapi_AddCloneDC_ctr,
24705 { "Ctr", "drsuapi.drsuapi_AddCloneDC.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24706 { &hf_drsuapi_drsuapi_AddCloneDC_in_version,
24707 { "In Version", "drsuapi.drsuapi_AddCloneDC.in_version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24708 { &hf_drsuapi_drsuapi_AddCloneDC_out_version,
24709 { "Out Version", "drsuapi.drsuapi_AddCloneDC.out_version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24710 { &hf_drsuapi_drsuapi_AddCloneDC_req,
24711 { "Req", "drsuapi.drsuapi_AddCloneDC.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24712 { &hf_drsuapi_drsuapi_DrsMoreOptions_DRSUAPI_DRS_GET_TGT,
24713 { "DRSUAPI DRS GET TGT", "drsuapi.drsuapi_DrsMoreOptions.DRSUAPI_DRS_GET_TGT", FT_BOOLEAN, 32, TFS(&drsuapi_DrsMoreOptions_DRSUAPI_DRS_GET_TGT_tfs), ( 0x00000001 ), NULL, HFILL }},
24714 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ADD_REF,
24715 { "DRSUAPI DRS ADD REF", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_ADD_REF", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_ADD_REF_tfs), ( 0x00000004 ), NULL, HFILL }},
24716 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_OP,
24717 { "DRSUAPI DRS ASYNC OP", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_ASYNC_OP", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_OP_tfs), ( 0x00000001 ), NULL, HFILL }},
24718 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_REP,
24719 { "DRSUAPI DRS ASYNC REP", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_ASYNC_REP", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_REP_tfs), ( 0x00000100 ), NULL, HFILL }},
24720 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_CRITICAL_ONLY,
24721 { "DRSUAPI DRS CRITICAL ONLY", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_CRITICAL_ONLY", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_CRITICAL_ONLY_tfs), ( 0x00000400 ), NULL, HFILL }},
24722 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_AUTO_SYNC,
24723 { "DRSUAPI DRS DISABLE AUTO SYNC", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_DISABLE_AUTO_SYNC", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_AUTO_SYNC_tfs), ( 0x04000000 ), NULL, HFILL }},
24724 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_PERIODIC_SYNC,
24725 { "DRSUAPI DRS DISABLE PERIODIC SYNC", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_DISABLE_PERIODIC_SYNC", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_PERIODIC_SYNC_tfs), ( 0x08000000 ), NULL, HFILL }},
24726 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS,
24727 { "DRSUAPI DRS FULL SYNC IN PROGRESS", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS_tfs), ( 0x00010000 ), NULL, HFILL }},
24728 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_NOW,
24729 { "DRSUAPI DRS FULL SYNC NOW", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_FULL_SYNC_NOW", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_NOW_tfs), ( 0x00008000 ), NULL, HFILL }},
24730 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_PACKET,
24731 { "DRSUAPI DRS FULL SYNC PACKET", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_FULL_SYNC_PACKET", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_PACKET_tfs), ( 0x00020000 ), NULL, HFILL }},
24732 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GETCHG_CHECK,
24733 { "DRSUAPI DRS GETCHG CHECK", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_GETCHG_CHECK", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_GETCHG_CHECK_tfs), ( 0x00000002 ), NULL, HFILL }},
24734 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP,
24735 { "DRSUAPI DRS GET ALL GROUP MEMBERSHIP", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP_tfs), ( 0x80000000 ), NULL, HFILL }},
24736 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_ANC,
24737 { "DRSUAPI DRS GET ANC", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_GET_ANC", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_GET_ANC_tfs), ( 0x00000800 ), NULL, HFILL }},
24738 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_NC_SIZE,
24739 { "DRSUAPI DRS GET NC SIZE", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_GET_NC_SIZE", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_GET_NC_SIZE_tfs), ( 0x00001000 ), NULL, HFILL }},
24740 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC,
24741 { "DRSUAPI DRS INIT SYNC", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_INIT_SYNC", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC_tfs), ( 0x00000020 ), NULL, HFILL }},
24742 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC_NOW,
24743 { "DRSUAPI DRS INIT SYNC NOW", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_INIT_SYNC_NOW", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC_NOW_tfs), ( 0x00800000 ), NULL, HFILL }},
24744 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_MAIL_REP,
24745 { "DRSUAPI DRS MAIL REP", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_MAIL_REP", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_MAIL_REP_tfs), ( 0x00000080 ), NULL, HFILL }},
24746 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_NOTIFY,
24747 { "DRSUAPI DRS NEVER NOTIFY", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_NEVER_NOTIFY", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_NOTIFY_tfs), ( 0x20000000 ), NULL, HFILL }},
24748 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_SYNCED,
24749 { "DRSUAPI DRS NEVER SYNCED", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_NEVER_SYNCED", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_SYNCED_tfs), ( 0x00200000 ), NULL, HFILL }},
24750 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NONGC_RO_REP,
24751 { "DRSUAPI DRS NONGC RO REP", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_NONGC_RO_REP", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_NONGC_RO_REP_tfs), ( 0x00002000 ), NULL, HFILL }},
24752 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_PER_SYNC,
24753 { "DRSUAPI DRS PER SYNC", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_PER_SYNC", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_PER_SYNC_tfs), ( 0x00000040 ), NULL, HFILL }},
24754 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_PREEMPTED,
24755 { "DRSUAPI DRS PREEMPTED", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_PREEMPTED", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_PREEMPTED_tfs), ( 0x01000000 ), NULL, HFILL }},
24756 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_REF_GCSPN,
24757 { "DRSUAPI DRS REF GCSPN", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_REF_GCSPN", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_REF_GCSPN_tfs), ( 0x00100000 ), NULL, HFILL }},
24758 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING,
24759 { "DRSUAPI DRS SPECIAL SECRET PROCESSING", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING_tfs), ( 0x00400000 ), NULL, HFILL }},
24760 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_ALL,
24761 { "DRSUAPI DRS SYNC ALL", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_SYNC_ALL", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_ALL_tfs), ( 0x00000008 ), NULL, HFILL }},
24762 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_BYNAME,
24763 { "DRSUAPI DRS SYNC BYNAME", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_SYNC_BYNAME", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_BYNAME_tfs), ( 0x00004000 ), NULL, HFILL }},
24764 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_FORCED,
24765 { "DRSUAPI DRS SYNC FORCED", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_SYNC_FORCED", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_FORCED_tfs), ( 0x02000000 ), NULL, HFILL }},
24766 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_PAS,
24767 { "DRSUAPI DRS SYNC PAS", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_SYNC_PAS", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_PAS_tfs), ( 0x40000000 ), NULL, HFILL }},
24768 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_REQUEUE,
24769 { "DRSUAPI DRS SYNC REQUEUE", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_SYNC_REQUEUE", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_REQUEUE_tfs), ( 0x00040000 ), NULL, HFILL }},
24770 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_URGENT,
24771 { "DRSUAPI DRS SYNC URGENT", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_SYNC_URGENT", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_URGENT_tfs), ( 0x00080000 ), NULL, HFILL }},
24772 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_TWOWAY_SYNC,
24773 { "DRSUAPI DRS TWOWAY SYNC", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_TWOWAY_SYNC", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_TWOWAY_SYNC_tfs), ( 0x00000200 ), NULL, HFILL }},
24774 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_USE_COMPRESSION,
24775 { "DRSUAPI DRS USE COMPRESSION", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_USE_COMPRESSION", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_USE_COMPRESSION_tfs), ( 0x10000000 ), NULL, HFILL }},
24776 { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_WRIT_REP,
24777 { "DRSUAPI DRS WRIT REP", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_WRIT_REP", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_WRIT_REP_tfs), ( 0x00000010 ), NULL, HFILL }},
24778 { &hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_ADDRESS,
24779 { "DRSUAPI DRS UPDATE ADDRESS", "drsuapi.drsuapi_DrsUpdate.DRSUAPI_DRS_UPDATE_ADDRESS", FT_BOOLEAN, 32, TFS(&drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_ADDRESS_tfs), ( 0x00000002 ), NULL, HFILL }},
24780 { &hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_FLAGS,
24781 { "DRSUAPI DRS UPDATE FLAGS", "drsuapi.drsuapi_DrsUpdate.DRSUAPI_DRS_UPDATE_FLAGS", FT_BOOLEAN, 32, TFS(&drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_FLAGS_tfs), ( 0x00000001 ), NULL, HFILL }},
24782 { &hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_SCHEDULE,
24783 { "DRSUAPI DRS UPDATE SCHEDULE", "drsuapi.drsuapi_DrsUpdate.DRSUAPI_DRS_UPDATE_SCHEDULE", FT_BOOLEAN, 32, TFS(&drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_SCHEDULE_tfs), ( 0x00000004 ), NULL, HFILL }},
24784 { &hf_drsuapi_drsuapi_DsAddEntryCtr2_count,
24785 { "Count", "drsuapi.drsuapi_DsAddEntryCtr2.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24786 { &hf_drsuapi_drsuapi_DsAddEntryCtr2_dir_err,
24787 { "Dir Err", "drsuapi.drsuapi_DsAddEntryCtr2.dir_err", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsAddEntry_DirErr_vals), 0, NULL, HFILL }},
24788 { &hf_drsuapi_drsuapi_DsAddEntryCtr2_dsid,
24789 { "Dsid", "drsuapi.drsuapi_DsAddEntryCtr2.dsid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24790 { &hf_drsuapi_drsuapi_DsAddEntryCtr2_extended_data,
24791 { "Extended Data", "drsuapi.drsuapi_DsAddEntryCtr2.extended_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24792 { &hf_drsuapi_drsuapi_DsAddEntryCtr2_extended_err,
24793 { "Extended Err", "drsuapi.drsuapi_DsAddEntryCtr2.extended_err", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
24794 { &hf_drsuapi_drsuapi_DsAddEntryCtr2_id,
24795 { "Id", "drsuapi.drsuapi_DsAddEntryCtr2.id", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24796 { &hf_drsuapi_drsuapi_DsAddEntryCtr2_objects,
24797 { "Objects", "drsuapi.drsuapi_DsAddEntryCtr2.objects", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24798 { &hf_drsuapi_drsuapi_DsAddEntryCtr2_problem,
24799 { "Problem", "drsuapi.drsuapi_DsAddEntryCtr2.problem", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
24800 { &hf_drsuapi_drsuapi_DsAddEntryCtr3_count,
24801 { "Count", "drsuapi.drsuapi_DsAddEntryCtr3.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24802 { &hf_drsuapi_drsuapi_DsAddEntryCtr3_err_data,
24803 { "Err Data", "drsuapi.drsuapi_DsAddEntryCtr3.err_data", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24804 { &hf_drsuapi_drsuapi_DsAddEntryCtr3_err_ver,
24805 { "Err Ver", "drsuapi.drsuapi_DsAddEntryCtr3.err_ver", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24806 { &hf_drsuapi_drsuapi_DsAddEntryCtr3_id,
24807 { "Id", "drsuapi.drsuapi_DsAddEntryCtr3.id", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24808 { &hf_drsuapi_drsuapi_DsAddEntryCtr3_objects,
24809 { "Objects", "drsuapi.drsuapi_DsAddEntryCtr3.objects", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24810 { &hf_drsuapi_drsuapi_DsAddEntryCtr_ctr2,
24811 { "Ctr2", "drsuapi.drsuapi_DsAddEntryCtr.ctr2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24812 { &hf_drsuapi_drsuapi_DsAddEntryCtr_ctr3,
24813 { "Ctr3", "drsuapi.drsuapi_DsAddEntryCtr.ctr3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24814 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_dsid,
24815 { "Dsid", "drsuapi.drsuapi_DsAddEntryErrorInfoX.dsid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24816 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_extended_data,
24817 { "Extended Data", "drsuapi.drsuapi_DsAddEntryErrorInfoX.extended_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24818 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_extended_err,
24819 { "Extended Err", "drsuapi.drsuapi_DsAddEntryErrorInfoX.extended_err", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
24820 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_problem,
24821 { "Problem", "drsuapi.drsuapi_DsAddEntryErrorInfoX.problem", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
24822 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_count,
24823 { "Count", "drsuapi.drsuapi_DsAddEntryErrorInfo_Attr_V1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24824 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_first,
24825 { "First", "drsuapi.drsuapi_DsAddEntryErrorInfo_Attr_V1.first", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24826 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_id,
24827 { "Id", "drsuapi.drsuapi_DsAddEntryErrorInfo_Attr_V1.id", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24828 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_dsid,
24829 { "Dsid", "drsuapi.drsuapi_DsAddEntryErrorInfo_Name_V1.dsid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24830 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_extended_data,
24831 { "Extended Data", "drsuapi.drsuapi_DsAddEntryErrorInfo_Name_V1.extended_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24832 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_extended_err,
24833 { "Extended Err", "drsuapi.drsuapi_DsAddEntryErrorInfo_Name_V1.extended_err", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
24834 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_id_matched,
24835 { "Id Matched", "drsuapi.drsuapi_DsAddEntryErrorInfo_Name_V1.id_matched", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24836 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_problem,
24837 { "Problem", "drsuapi.drsuapi_DsAddEntryErrorInfo_Name_V1.problem", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
24838 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_dsid,
24839 { "Dsid", "drsuapi.drsuapi_DsAddEntryErrorInfo_Referr_V1.dsid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24840 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_extended_data,
24841 { "Extended Data", "drsuapi.drsuapi_DsAddEntryErrorInfo_Referr_V1.extended_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24842 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_extended_err,
24843 { "Extended Err", "drsuapi.drsuapi_DsAddEntryErrorInfo_Referr_V1.extended_err", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
24844 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_refer,
24845 { "Refer", "drsuapi.drsuapi_DsAddEntryErrorInfo_Referr_V1.refer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24846 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_attr_err,
24847 { "Attr Err", "drsuapi.drsuapi_DsAddEntryErrorInfo.attr_err", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24848 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_name_err,
24849 { "Name Err", "drsuapi.drsuapi_DsAddEntryErrorInfo.name_err", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24850 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_referral_err,
24851 { "Referral Err", "drsuapi.drsuapi_DsAddEntryErrorInfo.referral_err", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24852 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_security_err,
24853 { "Security Err", "drsuapi.drsuapi_DsAddEntryErrorInfo.security_err", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24854 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_service_err,
24855 { "Service Err", "drsuapi.drsuapi_DsAddEntryErrorInfo.service_err", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24856 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_system_err,
24857 { "System Err", "drsuapi.drsuapi_DsAddEntryErrorInfo.system_err", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24858 { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_update_err,
24859 { "Update Err", "drsuapi.drsuapi_DsAddEntryErrorInfo.update_err", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24860 { &hf_drsuapi_drsuapi_DsAddEntryRequest2_first_object,
24861 { "First Object", "drsuapi.drsuapi_DsAddEntryRequest2.first_object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24862 { &hf_drsuapi_drsuapi_DsAddEntryRequest3_client_creds,
24863 { "Client Creds", "drsuapi.drsuapi_DsAddEntryRequest3.client_creds", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24864 { &hf_drsuapi_drsuapi_DsAddEntryRequest3_first_object,
24865 { "First Object", "drsuapi.drsuapi_DsAddEntryRequest3.first_object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24866 { &hf_drsuapi_drsuapi_DsAddEntryRequest_req2,
24867 { "Req2", "drsuapi.drsuapi_DsAddEntryRequest.req2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24868 { &hf_drsuapi_drsuapi_DsAddEntryRequest_req3,
24869 { "Req3", "drsuapi.drsuapi_DsAddEntryRequest.req3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24870 { &hf_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1_err_data,
24871 { "Err Data", "drsuapi.drsuapi_DsAddEntry_AttrErrListItem_V1.err_data", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24872 { &hf_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1_next,
24873 { "Next", "drsuapi.drsuapi_DsAddEntry_AttrErrListItem_V1.next", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24874 { &hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_attid,
24875 { "Attid", "drsuapi.drsuapi_DsAddEntry_AttrErr_V1.attid", FT_UINT32, BASE_HEX, VALS(drsuapi_drsuapi_DsAttributeId_vals), 0, NULL, HFILL }},
24876 { &hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_attr_val,
24877 { "Attr Val", "drsuapi.drsuapi_DsAddEntry_AttrErr_V1.attr_val", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24878 { &hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_dsid,
24879 { "Dsid", "drsuapi.drsuapi_DsAddEntry_AttrErr_V1.dsid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24880 { &hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_extended_data,
24881 { "Extended Data", "drsuapi.drsuapi_DsAddEntry_AttrErr_V1.extended_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24882 { &hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_extended_err,
24883 { "Extended Err", "drsuapi.drsuapi_DsAddEntry_AttrErr_V1.extended_err", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
24884 { &hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_is_val_returned,
24885 { "Is Val Returned", "drsuapi.drsuapi_DsAddEntry_AttrErr_V1.is_val_returned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24886 { &hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_problem,
24887 { "Problem", "drsuapi.drsuapi_DsAddEntry_AttrErr_V1.problem", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
24888 { &hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_dir_err,
24889 { "Dir Err", "drsuapi.drsuapi_DsAddEntry_ErrData_V1.dir_err", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsAddEntry_DirErr_vals), 0, NULL, HFILL }},
24890 { &hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_info,
24891 { "Info", "drsuapi.drsuapi_DsAddEntry_ErrData_V1.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24892 { &hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_status,
24893 { "Status", "drsuapi.drsuapi_DsAddEntry_ErrData_V1.status", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
24894 { &hf_drsuapi_drsuapi_DsAddEntry_ErrData_v1,
24895 { "V1", "drsuapi.drsuapi_DsAddEntry_ErrData.v1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24896 { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_addr_list,
24897 { "Addr List", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.addr_list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24898 { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_addr_list_count,
24899 { "Addr List Count", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.addr_list_count", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
24900 { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_choice,
24901 { "Choice", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.choice", FT_UINT8, BASE_DEC, VALS(drsuapi_drsuapi_DsAddEntry_ChoiceType_vals), 0, NULL, HFILL }},
24902 { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_id_target,
24903 { "Id Target", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.id_target", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24904 { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_is_choice_set,
24905 { "Is Choice Set", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.is_choice_set", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24906 { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_next,
24907 { "Next", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.next", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24908 { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_op_state,
24909 { "Op State", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.op_state", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24910 { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_rdn_alias,
24911 { "Rdn Alias", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.rdn_alias", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
24912 { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_rdn_internal,
24913 { "Rdn Internal", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.rdn_internal", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
24914 { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_ref_type,
24915 { "Ref Type", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.ref_type", FT_UINT16, BASE_DEC, VALS(drsuapi_drsuapi_DsAddEntry_RefType_vals), 0, NULL, HFILL }},
24916 { &hf_drsuapi_drsuapi_DsAddEntry_bind_handle,
24917 { "Bind Handle", "drsuapi.drsuapi_DsAddEntry.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
24918 { &hf_drsuapi_drsuapi_DsAddEntry_ctr,
24919 { "Ctr", "drsuapi.drsuapi_DsAddEntry.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24920 { &hf_drsuapi_drsuapi_DsAddEntry_level,
24921 { "Level", "drsuapi.drsuapi_DsAddEntry.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24922 { &hf_drsuapi_drsuapi_DsAddEntry_level_out,
24923 { "Level Out", "drsuapi.drsuapi_DsAddEntry.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24924 { &hf_drsuapi_drsuapi_DsAddEntry_req,
24925 { "Req", "drsuapi.drsuapi_DsAddEntry.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24926 { &hf_drsuapi_drsuapi_DsAttributeValueCtr_num_values,
24927 { "Num Values", "drsuapi.drsuapi_DsAttributeValueCtr.num_values", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24928 { &hf_drsuapi_drsuapi_DsAttributeValueCtr_values,
24929 { "Values", "drsuapi.drsuapi_DsAttributeValueCtr.values", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24930 { &hf_drsuapi_drsuapi_DsAttributeValue___ndr_size,
24931 { "Ndr Size", "drsuapi.drsuapi_DsAttributeValue.__ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24932 { &hf_drsuapi_drsuapi_DsAttributeValue_blob,
24933 { "Blob", "drsuapi.drsuapi_DsAttributeValue.blob", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24934 { &hf_drsuapi_drsuapi_DsBindInfo24_pid,
24935 { "Pid", "drsuapi.drsuapi_DsBindInfo24.pid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24936 { &hf_drsuapi_drsuapi_DsBindInfo24_site_guid,
24937 { "Site Guid", "drsuapi.drsuapi_DsBindInfo24.site_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
24938 { &hf_drsuapi_drsuapi_DsBindInfo24_supported_extensions,
24939 { "Supported Extensions", "drsuapi.drsuapi_DsBindInfo24.supported_extensions", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
24940 { &hf_drsuapi_drsuapi_DsBindInfo28_pid,
24941 { "Pid", "drsuapi.drsuapi_DsBindInfo28.pid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24942 { &hf_drsuapi_drsuapi_DsBindInfo28_repl_epoch,
24943 { "Repl Epoch", "drsuapi.drsuapi_DsBindInfo28.repl_epoch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24944 { &hf_drsuapi_drsuapi_DsBindInfo28_site_guid,
24945 { "Site Guid", "drsuapi.drsuapi_DsBindInfo28.site_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
24946 { &hf_drsuapi_drsuapi_DsBindInfo28_supported_extensions,
24947 { "Supported Extensions", "drsuapi.drsuapi_DsBindInfo28.supported_extensions", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
24948 { &hf_drsuapi_drsuapi_DsBindInfo32_pid,
24949 { "Pid", "drsuapi.drsuapi_DsBindInfo32.pid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24950 { &hf_drsuapi_drsuapi_DsBindInfo32_repl_epoch,
24951 { "Repl Epoch", "drsuapi.drsuapi_DsBindInfo32.repl_epoch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24952 { &hf_drsuapi_drsuapi_DsBindInfo32_site_guid,
24953 { "Site Guid", "drsuapi.drsuapi_DsBindInfo32.site_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
24954 { &hf_drsuapi_drsuapi_DsBindInfo32_supported_extensions,
24955 { "Supported Extensions", "drsuapi.drsuapi_DsBindInfo32.supported_extensions", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
24956 { &hf_drsuapi_drsuapi_DsBindInfo32_supported_extensions_ext,
24957 { "Supported Extensions Ext", "drsuapi.drsuapi_DsBindInfo32.supported_extensions_ext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
24958 { &hf_drsuapi_drsuapi_DsBindInfo48_config_dn_guid,
24959 { "Config Dn Guid", "drsuapi.drsuapi_DsBindInfo48.config_dn_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
24960 { &hf_drsuapi_drsuapi_DsBindInfo48_pid,
24961 { "Pid", "drsuapi.drsuapi_DsBindInfo48.pid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24962 { &hf_drsuapi_drsuapi_DsBindInfo48_repl_epoch,
24963 { "Repl Epoch", "drsuapi.drsuapi_DsBindInfo48.repl_epoch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24964 { &hf_drsuapi_drsuapi_DsBindInfo48_site_guid,
24965 { "Site Guid", "drsuapi.drsuapi_DsBindInfo48.site_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
24966 { &hf_drsuapi_drsuapi_DsBindInfo48_supported_extensions,
24967 { "Supported Extensions", "drsuapi.drsuapi_DsBindInfo48.supported_extensions", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
24968 { &hf_drsuapi_drsuapi_DsBindInfo48_supported_extensions_ext,
24969 { "Supported Extensions Ext", "drsuapi.drsuapi_DsBindInfo48.supported_extensions_ext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
24970 { &hf_drsuapi_drsuapi_DsBindInfo52_config_dn_guid,
24971 { "Config Dn Guid", "drsuapi.drsuapi_DsBindInfo52.config_dn_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
24972 { &hf_drsuapi_drsuapi_DsBindInfo52_pid,
24973 { "Pid", "drsuapi.drsuapi_DsBindInfo52.pid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24974 { &hf_drsuapi_drsuapi_DsBindInfo52_repl_epoch,
24975 { "Repl Epoch", "drsuapi.drsuapi_DsBindInfo52.repl_epoch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24976 { &hf_drsuapi_drsuapi_DsBindInfo52_site_guid,
24977 { "Site Guid", "drsuapi.drsuapi_DsBindInfo52.site_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
24978 { &hf_drsuapi_drsuapi_DsBindInfo52_supported_capabilities_ext,
24979 { "Supported Capabilities Ext", "drsuapi.drsuapi_DsBindInfo52.supported_capabilities_ext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
24980 { &hf_drsuapi_drsuapi_DsBindInfo52_supported_extensions,
24981 { "Supported Extensions", "drsuapi.drsuapi_DsBindInfo52.supported_extensions", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
24982 { &hf_drsuapi_drsuapi_DsBindInfo52_supported_extensions_ext,
24983 { "Supported Extensions Ext", "drsuapi.drsuapi_DsBindInfo52.supported_extensions_ext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
24984 { &hf_drsuapi_drsuapi_DsBindInfoCtr___ndr_length,
24985 { "Ndr Length", "drsuapi.drsuapi_DsBindInfoCtr.__ndr_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24986 { &hf_drsuapi_drsuapi_DsBindInfoCtr_info,
24987 { "Info", "drsuapi.drsuapi_DsBindInfoCtr.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24988 { &hf_drsuapi_drsuapi_DsBindInfoCtr_length,
24989 { "Length", "drsuapi.drsuapi_DsBindInfoCtr.length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
24990 { &hf_drsuapi_drsuapi_DsBindInfoFallBack_info,
24991 { "Info", "drsuapi.drsuapi_DsBindInfoFallBack.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24992 { &hf_drsuapi_drsuapi_DsBindInfo_Fallback,
24993 { "Fallback", "drsuapi.drsuapi_DsBindInfo.Fallback", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24994 { &hf_drsuapi_drsuapi_DsBindInfo_info24,
24995 { "Info24", "drsuapi.drsuapi_DsBindInfo.info24", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24996 { &hf_drsuapi_drsuapi_DsBindInfo_info28,
24997 { "Info28", "drsuapi.drsuapi_DsBindInfo.info28", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
24998 { &hf_drsuapi_drsuapi_DsBindInfo_info32,
24999 { "Info32", "drsuapi.drsuapi_DsBindInfo.info32", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25000 { &hf_drsuapi_drsuapi_DsBindInfo_info48,
25001 { "Info48", "drsuapi.drsuapi_DsBindInfo.info48", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25002 { &hf_drsuapi_drsuapi_DsBindInfo_info52,
25003 { "Info52", "drsuapi.drsuapi_DsBindInfo.info52", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25004 { &hf_drsuapi_drsuapi_DsBind_bind_guid,
25005 { "Bind Guid", "drsuapi.drsuapi_DsBind.bind_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25006 { &hf_drsuapi_drsuapi_DsBind_bind_handle,
25007 { "Bind Handle", "drsuapi.drsuapi_DsBind.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
25008 { &hf_drsuapi_drsuapi_DsBind_bind_info,
25009 { "Bind Info", "drsuapi.drsuapi_DsBind.bind_info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25010 { &hf_drsuapi_drsuapi_DsCrackNames_bind_handle,
25011 { "Bind Handle", "drsuapi.drsuapi_DsCrackNames.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
25012 { &hf_drsuapi_drsuapi_DsCrackNames_ctr,
25013 { "Ctr", "drsuapi.drsuapi_DsCrackNames.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25014 { &hf_drsuapi_drsuapi_DsCrackNames_level,
25015 { "Level", "drsuapi.drsuapi_DsCrackNames.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25016 { &hf_drsuapi_drsuapi_DsCrackNames_level_out,
25017 { "Level Out", "drsuapi.drsuapi_DsCrackNames.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25018 { &hf_drsuapi_drsuapi_DsCrackNames_req,
25019 { "Req", "drsuapi.drsuapi_DsCrackNames.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25020 { &hf_drsuapi_drsuapi_DsExecuteKCC1_flags,
25021 { "Flags", "drsuapi.drsuapi_DsExecuteKCC1.flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25022 { &hf_drsuapi_drsuapi_DsExecuteKCC1_taskID,
25023 { "TaskID", "drsuapi.drsuapi_DsExecuteKCC1.taskID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25024 { &hf_drsuapi_drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION,
25025 { "DRSUAPI DS EXECUTE KCC ASYNCHRONOUS OPERATION", "drsuapi.drsuapi_DsExecuteKCCFlags.DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32, TFS(&drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION_tfs), ( 0x00000001 ), NULL, HFILL }},
25026 { &hf_drsuapi_drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_DAMPED,
25027 { "DRSUAPI DS EXECUTE KCC DAMPED", "drsuapi.drsuapi_DsExecuteKCCFlags.DRSUAPI_DS_EXECUTE_KCC_DAMPED", FT_BOOLEAN, 32, TFS(&drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_DAMPED_tfs), ( 0x00000002 ), NULL, HFILL }},
25028 { &hf_drsuapi_drsuapi_DsExecuteKCCRequest_ctr1,
25029 { "Ctr1", "drsuapi.drsuapi_DsExecuteKCCRequest.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25030 { &hf_drsuapi_drsuapi_DsExecuteKCC_bind_handle,
25031 { "Bind Handle", "drsuapi.drsuapi_DsExecuteKCC.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
25032 { &hf_drsuapi_drsuapi_DsExecuteKCC_level,
25033 { "Level", "drsuapi.drsuapi_DsExecuteKCC.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25034 { &hf_drsuapi_drsuapi_DsExecuteKCC_req,
25035 { "Req", "drsuapi.drsuapi_DsExecuteKCC.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25036 { &hf_drsuapi_drsuapi_DsGetDCConnection01_client_account,
25037 { "Client Account", "drsuapi.drsuapi_DsGetDCConnection01.client_account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25038 { &hf_drsuapi_drsuapi_DsGetDCConnection01_client_ip_address,
25039 { "Client Ip Address", "drsuapi.drsuapi_DsGetDCConnection01.client_ip_address", FT_IPv4, BASE_NONE, NULL, 0, NULL, HFILL }},
25040 { &hf_drsuapi_drsuapi_DsGetDCConnection01_connection_time,
25041 { "Connection Time", "drsuapi.drsuapi_DsGetDCConnection01.connection_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25042 { &hf_drsuapi_drsuapi_DsGetDCConnection01_unknown2,
25043 { "Unknown2", "drsuapi.drsuapi_DsGetDCConnection01.unknown2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25044 { &hf_drsuapi_drsuapi_DsGetDCConnection01_unknown4,
25045 { "Unknown4", "drsuapi.drsuapi_DsGetDCConnection01.unknown4", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25046 { &hf_drsuapi_drsuapi_DsGetDCConnection01_unknown5,
25047 { "Unknown5", "drsuapi.drsuapi_DsGetDCConnection01.unknown5", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25048 { &hf_drsuapi_drsuapi_DsGetDCConnection01_unknown6,
25049 { "Unknown6", "drsuapi.drsuapi_DsGetDCConnection01.unknown6", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25050 { &hf_drsuapi_drsuapi_DsGetDCConnectionCtr01_array,
25051 { "Array", "drsuapi.drsuapi_DsGetDCConnectionCtr01.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25052 { &hf_drsuapi_drsuapi_DsGetDCConnectionCtr01_count,
25053 { "Count", "drsuapi.drsuapi_DsGetDCConnectionCtr01.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25054 { &hf_drsuapi_drsuapi_DsGetDCInfo1_computer_dn,
25055 { "Computer Dn", "drsuapi.drsuapi_DsGetDCInfo1.computer_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25056 { &hf_drsuapi_drsuapi_DsGetDCInfo1_dns_name,
25057 { "Dns Name", "drsuapi.drsuapi_DsGetDCInfo1.dns_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25058 { &hf_drsuapi_drsuapi_DsGetDCInfo1_is_enabled,
25059 { "Is Enabled", "drsuapi.drsuapi_DsGetDCInfo1.is_enabled", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25060 { &hf_drsuapi_drsuapi_DsGetDCInfo1_is_pdc,
25061 { "Is Pdc", "drsuapi.drsuapi_DsGetDCInfo1.is_pdc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25062 { &hf_drsuapi_drsuapi_DsGetDCInfo1_netbios_name,
25063 { "Netbios Name", "drsuapi.drsuapi_DsGetDCInfo1.netbios_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25064 { &hf_drsuapi_drsuapi_DsGetDCInfo1_server_dn,
25065 { "Server Dn", "drsuapi.drsuapi_DsGetDCInfo1.server_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25066 { &hf_drsuapi_drsuapi_DsGetDCInfo1_site_name,
25067 { "Site Name", "drsuapi.drsuapi_DsGetDCInfo1.site_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25068 { &hf_drsuapi_drsuapi_DsGetDCInfo2_computer_dn,
25069 { "Computer Dn", "drsuapi.drsuapi_DsGetDCInfo2.computer_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25070 { &hf_drsuapi_drsuapi_DsGetDCInfo2_computer_guid,
25071 { "Computer Guid", "drsuapi.drsuapi_DsGetDCInfo2.computer_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25072 { &hf_drsuapi_drsuapi_DsGetDCInfo2_dns_name,
25073 { "Dns Name", "drsuapi.drsuapi_DsGetDCInfo2.dns_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25074 { &hf_drsuapi_drsuapi_DsGetDCInfo2_is_enabled,
25075 { "Is Enabled", "drsuapi.drsuapi_DsGetDCInfo2.is_enabled", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25076 { &hf_drsuapi_drsuapi_DsGetDCInfo2_is_gc,
25077 { "Is Gc", "drsuapi.drsuapi_DsGetDCInfo2.is_gc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25078 { &hf_drsuapi_drsuapi_DsGetDCInfo2_is_pdc,
25079 { "Is Pdc", "drsuapi.drsuapi_DsGetDCInfo2.is_pdc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25080 { &hf_drsuapi_drsuapi_DsGetDCInfo2_netbios_name,
25081 { "Netbios Name", "drsuapi.drsuapi_DsGetDCInfo2.netbios_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25082 { &hf_drsuapi_drsuapi_DsGetDCInfo2_ntds_dn,
25083 { "Ntds Dn", "drsuapi.drsuapi_DsGetDCInfo2.ntds_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25084 { &hf_drsuapi_drsuapi_DsGetDCInfo2_ntds_guid,
25085 { "Ntds Guid", "drsuapi.drsuapi_DsGetDCInfo2.ntds_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25086 { &hf_drsuapi_drsuapi_DsGetDCInfo2_server_dn,
25087 { "Server Dn", "drsuapi.drsuapi_DsGetDCInfo2.server_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25088 { &hf_drsuapi_drsuapi_DsGetDCInfo2_server_guid,
25089 { "Server Guid", "drsuapi.drsuapi_DsGetDCInfo2.server_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25090 { &hf_drsuapi_drsuapi_DsGetDCInfo2_site_dn,
25091 { "Site Dn", "drsuapi.drsuapi_DsGetDCInfo2.site_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25092 { &hf_drsuapi_drsuapi_DsGetDCInfo2_site_guid,
25093 { "Site Guid", "drsuapi.drsuapi_DsGetDCInfo2.site_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25094 { &hf_drsuapi_drsuapi_DsGetDCInfo2_site_name,
25095 { "Site Name", "drsuapi.drsuapi_DsGetDCInfo2.site_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25096 { &hf_drsuapi_drsuapi_DsGetDCInfo3_computer_dn,
25097 { "Computer Dn", "drsuapi.drsuapi_DsGetDCInfo3.computer_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25098 { &hf_drsuapi_drsuapi_DsGetDCInfo3_computer_guid,
25099 { "Computer Guid", "drsuapi.drsuapi_DsGetDCInfo3.computer_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25100 { &hf_drsuapi_drsuapi_DsGetDCInfo3_dns_name,
25101 { "Dns Name", "drsuapi.drsuapi_DsGetDCInfo3.dns_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25102 { &hf_drsuapi_drsuapi_DsGetDCInfo3_is_enabled,
25103 { "Is Enabled", "drsuapi.drsuapi_DsGetDCInfo3.is_enabled", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25104 { &hf_drsuapi_drsuapi_DsGetDCInfo3_is_gc,
25105 { "Is Gc", "drsuapi.drsuapi_DsGetDCInfo3.is_gc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25106 { &hf_drsuapi_drsuapi_DsGetDCInfo3_is_pdc,
25107 { "Is Pdc", "drsuapi.drsuapi_DsGetDCInfo3.is_pdc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25108 { &hf_drsuapi_drsuapi_DsGetDCInfo3_is_rodc,
25109 { "Is Rodc", "drsuapi.drsuapi_DsGetDCInfo3.is_rodc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25110 { &hf_drsuapi_drsuapi_DsGetDCInfo3_netbios_name,
25111 { "Netbios Name", "drsuapi.drsuapi_DsGetDCInfo3.netbios_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25112 { &hf_drsuapi_drsuapi_DsGetDCInfo3_ntds_dn,
25113 { "Ntds Dn", "drsuapi.drsuapi_DsGetDCInfo3.ntds_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25114 { &hf_drsuapi_drsuapi_DsGetDCInfo3_ntds_guid,
25115 { "Ntds Guid", "drsuapi.drsuapi_DsGetDCInfo3.ntds_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25116 { &hf_drsuapi_drsuapi_DsGetDCInfo3_server_dn,
25117 { "Server Dn", "drsuapi.drsuapi_DsGetDCInfo3.server_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25118 { &hf_drsuapi_drsuapi_DsGetDCInfo3_server_guid,
25119 { "Server Guid", "drsuapi.drsuapi_DsGetDCInfo3.server_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25120 { &hf_drsuapi_drsuapi_DsGetDCInfo3_site_dn,
25121 { "Site Dn", "drsuapi.drsuapi_DsGetDCInfo3.site_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25122 { &hf_drsuapi_drsuapi_DsGetDCInfo3_site_guid,
25123 { "Site Guid", "drsuapi.drsuapi_DsGetDCInfo3.site_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25124 { &hf_drsuapi_drsuapi_DsGetDCInfo3_site_name,
25125 { "Site Name", "drsuapi.drsuapi_DsGetDCInfo3.site_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25126 { &hf_drsuapi_drsuapi_DsGetDCInfoCtr1_array,
25127 { "Array", "drsuapi.drsuapi_DsGetDCInfoCtr1.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25128 { &hf_drsuapi_drsuapi_DsGetDCInfoCtr1_count,
25129 { "Count", "drsuapi.drsuapi_DsGetDCInfoCtr1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25130 { &hf_drsuapi_drsuapi_DsGetDCInfoCtr2_array,
25131 { "Array", "drsuapi.drsuapi_DsGetDCInfoCtr2.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25132 { &hf_drsuapi_drsuapi_DsGetDCInfoCtr2_count,
25133 { "Count", "drsuapi.drsuapi_DsGetDCInfoCtr2.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25134 { &hf_drsuapi_drsuapi_DsGetDCInfoCtr3_array,
25135 { "Array", "drsuapi.drsuapi_DsGetDCInfoCtr3.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25136 { &hf_drsuapi_drsuapi_DsGetDCInfoCtr3_count,
25137 { "Count", "drsuapi.drsuapi_DsGetDCInfoCtr3.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25138 { &hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr01,
25139 { "Ctr01", "drsuapi.drsuapi_DsGetDCInfoCtr.ctr01", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25140 { &hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr1,
25141 { "Ctr1", "drsuapi.drsuapi_DsGetDCInfoCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25142 { &hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr2,
25143 { "Ctr2", "drsuapi.drsuapi_DsGetDCInfoCtr.ctr2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25144 { &hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr3,
25145 { "Ctr3", "drsuapi.drsuapi_DsGetDCInfoCtr.ctr3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25146 { &hf_drsuapi_drsuapi_DsGetDCInfoRequest1_domain_name,
25147 { "Domain Name", "drsuapi.drsuapi_DsGetDCInfoRequest1.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25148 { &hf_drsuapi_drsuapi_DsGetDCInfoRequest1_level,
25149 { "Level", "drsuapi.drsuapi_DsGetDCInfoRequest1.level", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsGetDCInfoCtrLevels_vals), 0, NULL, HFILL }},
25150 { &hf_drsuapi_drsuapi_DsGetDCInfoRequest_req1,
25151 { "Req1", "drsuapi.drsuapi_DsGetDCInfoRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25152 { &hf_drsuapi_drsuapi_DsGetDomainControllerInfo_bind_handle,
25153 { "Bind Handle", "drsuapi.drsuapi_DsGetDomainControllerInfo.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
25154 { &hf_drsuapi_drsuapi_DsGetDomainControllerInfo_ctr,
25155 { "Ctr", "drsuapi.drsuapi_DsGetDomainControllerInfo.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25156 { &hf_drsuapi_drsuapi_DsGetDomainControllerInfo_level,
25157 { "Level", "drsuapi.drsuapi_DsGetDomainControllerInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25158 { &hf_drsuapi_drsuapi_DsGetDomainControllerInfo_level_out,
25159 { "Level Out", "drsuapi.drsuapi_DsGetDomainControllerInfo.level_out", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsGetDCInfoCtrLevels_vals), 0, NULL, HFILL }},
25160 { &hf_drsuapi_drsuapi_DsGetDomainControllerInfo_req,
25161 { "Req", "drsuapi.drsuapi_DsGetDomainControllerInfo.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25162 { &hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_ctrl_array,
25163 { "Ctrl Array", "drsuapi.drsuapi_DsGetMemberships2Ctr1.ctrl_array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25164 { &hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_num_entries,
25165 { "Num Entries", "drsuapi.drsuapi_DsGetMemberships2Ctr1.num_entries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25166 { &hf_drsuapi_drsuapi_DsGetMemberships2Ctr_ctr1,
25167 { "Ctr1", "drsuapi.drsuapi_DsGetMemberships2Ctr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25168 { &hf_drsuapi_drsuapi_DsGetMemberships2Request1_num_req,
25169 { "Num Req", "drsuapi.drsuapi_DsGetMemberships2Request1.num_req", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25170 { &hf_drsuapi_drsuapi_DsGetMemberships2Request1_req_array,
25171 { "Req Array", "drsuapi.drsuapi_DsGetMemberships2Request1.req_array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25172 { &hf_drsuapi_drsuapi_DsGetMemberships2Request_req1,
25173 { "Req1", "drsuapi.drsuapi_DsGetMemberships2Request.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25174 { &hf_drsuapi_drsuapi_DsGetMemberships2_bind_handle,
25175 { "Bind Handle", "drsuapi.drsuapi_DsGetMemberships2.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
25176 { &hf_drsuapi_drsuapi_DsGetMemberships2_ctr,
25177 { "Ctr", "drsuapi.drsuapi_DsGetMemberships2.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25178 { &hf_drsuapi_drsuapi_DsGetMemberships2_level,
25179 { "Level", "drsuapi.drsuapi_DsGetMemberships2.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25180 { &hf_drsuapi_drsuapi_DsGetMemberships2_level_out,
25181 { "Level Out", "drsuapi.drsuapi_DsGetMemberships2.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25182 { &hf_drsuapi_drsuapi_DsGetMemberships2_req,
25183 { "Req", "drsuapi.drsuapi_DsGetMemberships2.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25184 { &hf_drsuapi_drsuapi_DsGetMembershipsCtr1_group_attrs,
25185 { "Group Attrs", "drsuapi.drsuapi_DsGetMembershipsCtr1.group_attrs", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25186 { &hf_drsuapi_drsuapi_DsGetMembershipsCtr1_info_array,
25187 { "Info Array", "drsuapi.drsuapi_DsGetMembershipsCtr1.info_array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25188 { &hf_drsuapi_drsuapi_DsGetMembershipsCtr1_num_memberships,
25189 { "Num Memberships", "drsuapi.drsuapi_DsGetMembershipsCtr1.num_memberships", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25190 { &hf_drsuapi_drsuapi_DsGetMembershipsCtr1_num_sids,
25191 { "Num Sids", "drsuapi.drsuapi_DsGetMembershipsCtr1.num_sids", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25192 { &hf_drsuapi_drsuapi_DsGetMembershipsCtr1_sids,
25193 { "Sids", "drsuapi.drsuapi_DsGetMembershipsCtr1.sids", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25194 { &hf_drsuapi_drsuapi_DsGetMembershipsCtr1_status,
25195 { "Status", "drsuapi.drsuapi_DsGetMembershipsCtr1.status", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &NT_errors_ext, 0, NULL, HFILL }},
25196 { &hf_drsuapi_drsuapi_DsGetMembershipsCtr_ctr1,
25197 { "Ctr1", "drsuapi.drsuapi_DsGetMembershipsCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25198 { &hf_drsuapi_drsuapi_DsGetMembershipsRequest1_count,
25199 { "Count", "drsuapi.drsuapi_DsGetMembershipsRequest1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25200 { &hf_drsuapi_drsuapi_DsGetMembershipsRequest1_domain,
25201 { "Domain", "drsuapi.drsuapi_DsGetMembershipsRequest1.domain", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25202 { &hf_drsuapi_drsuapi_DsGetMembershipsRequest1_flags,
25203 { "Flags", "drsuapi.drsuapi_DsGetMembershipsRequest1.flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25204 { &hf_drsuapi_drsuapi_DsGetMembershipsRequest1_info_array,
25205 { "Info Array", "drsuapi.drsuapi_DsGetMembershipsRequest1.info_array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25206 { &hf_drsuapi_drsuapi_DsGetMembershipsRequest1_type,
25207 { "Type", "drsuapi.drsuapi_DsGetMembershipsRequest1.type", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsMembershipType_vals), 0, NULL, HFILL }},
25208 { &hf_drsuapi_drsuapi_DsGetMembershipsRequest_req1,
25209 { "Req1", "drsuapi.drsuapi_DsGetMembershipsRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25210 { &hf_drsuapi_drsuapi_DsGetMemberships_bind_handle,
25211 { "Bind Handle", "drsuapi.drsuapi_DsGetMemberships.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
25212 { &hf_drsuapi_drsuapi_DsGetMemberships_ctr,
25213 { "Ctr", "drsuapi.drsuapi_DsGetMemberships.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25214 { &hf_drsuapi_drsuapi_DsGetMemberships_level,
25215 { "Level", "drsuapi.drsuapi_DsGetMemberships.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25216 { &hf_drsuapi_drsuapi_DsGetMemberships_level_out,
25217 { "Level Out", "drsuapi.drsuapi_DsGetMemberships.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25218 { &hf_drsuapi_drsuapi_DsGetMemberships_req,
25219 { "Req", "drsuapi.drsuapi_DsGetMemberships.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25220 { &hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip1,
25221 { "Mszip1", "drsuapi.drsuapi_DsGetNCChangesCompressedCtr.mszip1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25222 { &hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip6,
25223 { "Mszip6", "drsuapi.drsuapi_DsGetNCChangesCompressedCtr.mszip6", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25224 { &hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip9,
25225 { "Mszip9", "drsuapi.drsuapi_DsGetNCChangesCompressedCtr.mszip9", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25226 { &hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress1,
25227 { "Xpress1", "drsuapi.drsuapi_DsGetNCChangesCompressedCtr.xpress1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25228 { &hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress6,
25229 { "Xpress6", "drsuapi.drsuapi_DsGetNCChangesCompressedCtr.xpress6", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25230 { &hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress9,
25231 { "Xpress9", "drsuapi.drsuapi_DsGetNCChangesCompressedCtr.xpress9", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25232 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1TS_ctr1,
25233 { "Ctr1", "drsuapi.drsuapi_DsGetNCChangesCtr1TS.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25234 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1TS_ctr1_,
25235 { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesCtr1TS.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25236 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1___ndr_size,
25237 { "Ndr Size", "drsuapi.drsuapi_DsGetNCChangesCtr1.__ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25238 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_extended_ret,
25239 { "Extended Ret", "drsuapi.drsuapi_DsGetNCChangesCtr1.extended_ret", FT_UINT32, BASE_HEX, VALS(drsuapi_drsuapi_DsExtendedError_vals), 0, NULL, HFILL }},
25240 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_first_object,
25241 { "First Object", "drsuapi.drsuapi_DsGetNCChangesCtr1.first_object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25242 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_mapping_ctr,
25243 { "Mapping Ctr", "drsuapi.drsuapi_DsGetNCChangesCtr1.mapping_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25244 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_more_data,
25245 { "More Data", "drsuapi.drsuapi_DsGetNCChangesCtr1.more_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25246 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_naming_context,
25247 { "Naming Context", "drsuapi.drsuapi_DsGetNCChangesCtr1.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25248 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_new_highwatermark,
25249 { "New Highwatermark", "drsuapi.drsuapi_DsGetNCChangesCtr1.new_highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25250 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_object_count,
25251 { "Object Count", "drsuapi.drsuapi_DsGetNCChangesCtr1.object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25252 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_old_highwatermark,
25253 { "Old Highwatermark", "drsuapi.drsuapi_DsGetNCChangesCtr1.old_highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25254 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_source_dsa_guid,
25255 { "Source Dsa Guid", "drsuapi.drsuapi_DsGetNCChangesCtr1.source_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25256 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_source_dsa_invocation_id,
25257 { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsGetNCChangesCtr1.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25258 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_uptodateness_vector,
25259 { "Uptodateness Vector", "drsuapi.drsuapi_DsGetNCChangesCtr1.uptodateness_vector", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25260 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr2_mszip1,
25261 { "Mszip1", "drsuapi.drsuapi_DsGetNCChangesCtr2.mszip1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25262 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6TS_ctr6,
25263 { "Ctr6", "drsuapi.drsuapi_DsGetNCChangesCtr6TS.ctr6", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25264 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6TS_ctr6_,
25265 { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesCtr6TS.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25266 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6___ndr_size,
25267 { "Ndr Size", "drsuapi.drsuapi_DsGetNCChangesCtr6.__ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25268 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_drs_error,
25269 { "Drs Error", "drsuapi.drsuapi_DsGetNCChangesCtr6.drs_error", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
25270 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_extended_ret,
25271 { "Extended Ret", "drsuapi.drsuapi_DsGetNCChangesCtr6.extended_ret", FT_UINT32, BASE_HEX, VALS(drsuapi_drsuapi_DsExtendedError_vals), 0, NULL, HFILL }},
25272 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_first_object,
25273 { "First Object", "drsuapi.drsuapi_DsGetNCChangesCtr6.first_object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25274 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_linked_attributes,
25275 { "Linked Attributes", "drsuapi.drsuapi_DsGetNCChangesCtr6.linked_attributes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25276 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_linked_attributes_count,
25277 { "Linked Attributes Count", "drsuapi.drsuapi_DsGetNCChangesCtr6.linked_attributes_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25278 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_mapping_ctr,
25279 { "Mapping Ctr", "drsuapi.drsuapi_DsGetNCChangesCtr6.mapping_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25280 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_more_data,
25281 { "More Data", "drsuapi.drsuapi_DsGetNCChangesCtr6.more_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25282 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_naming_context,
25283 { "Naming Context", "drsuapi.drsuapi_DsGetNCChangesCtr6.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25284 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_nc_linked_attributes_count,
25285 { "Nc Linked Attributes Count", "drsuapi.drsuapi_DsGetNCChangesCtr6.nc_linked_attributes_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25286 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_nc_object_count,
25287 { "Nc Object Count", "drsuapi.drsuapi_DsGetNCChangesCtr6.nc_object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25288 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_new_highwatermark,
25289 { "New Highwatermark", "drsuapi.drsuapi_DsGetNCChangesCtr6.new_highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25290 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_object_count,
25291 { "Object Count", "drsuapi.drsuapi_DsGetNCChangesCtr6.object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25292 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_old_highwatermark,
25293 { "Old Highwatermark", "drsuapi.drsuapi_DsGetNCChangesCtr6.old_highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25294 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_source_dsa_guid,
25295 { "Source Dsa Guid", "drsuapi.drsuapi_DsGetNCChangesCtr6.source_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25296 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_source_dsa_invocation_id,
25297 { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsGetNCChangesCtr6.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25298 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_uptodateness_vector,
25299 { "Uptodateness Vector", "drsuapi.drsuapi_DsGetNCChangesCtr6.uptodateness_vector", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25300 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr7_ctr,
25301 { "Ctr", "drsuapi.drsuapi_DsGetNCChangesCtr7.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25302 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr7_level,
25303 { "Level", "drsuapi.drsuapi_DsGetNCChangesCtr7.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25304 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr7_type,
25305 { "Type", "drsuapi.drsuapi_DsGetNCChangesCtr7.type", FT_UINT16, BASE_DEC, VALS(drsuapi_drsuapi_DsGetNCChangesCompressionType_vals), 0, NULL, HFILL }},
25306 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9TS_ctr9,
25307 { "Ctr9", "drsuapi.drsuapi_DsGetNCChangesCtr9TS.ctr9", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25308 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9TS_ctr9_,
25309 { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesCtr9TS.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25310 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9___ndr_size,
25311 { "Ndr Size", "drsuapi.drsuapi_DsGetNCChangesCtr9.__ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25312 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_drs_error,
25313 { "Drs Error", "drsuapi.drsuapi_DsGetNCChangesCtr9.drs_error", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
25314 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_extended_ret,
25315 { "Extended Ret", "drsuapi.drsuapi_DsGetNCChangesCtr9.extended_ret", FT_UINT32, BASE_HEX, VALS(drsuapi_drsuapi_DsExtendedError_vals), 0, NULL, HFILL }},
25316 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_first_object,
25317 { "First Object", "drsuapi.drsuapi_DsGetNCChangesCtr9.first_object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25318 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_linked_attributes,
25319 { "Linked Attributes", "drsuapi.drsuapi_DsGetNCChangesCtr9.linked_attributes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25320 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_linked_attributes_count,
25321 { "Linked Attributes Count", "drsuapi.drsuapi_DsGetNCChangesCtr9.linked_attributes_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25322 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_mapping_ctr,
25323 { "Mapping Ctr", "drsuapi.drsuapi_DsGetNCChangesCtr9.mapping_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25324 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_more_data,
25325 { "More Data", "drsuapi.drsuapi_DsGetNCChangesCtr9.more_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25326 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_naming_context,
25327 { "Naming Context", "drsuapi.drsuapi_DsGetNCChangesCtr9.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25328 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_nc_linked_attributes_count,
25329 { "Nc Linked Attributes Count", "drsuapi.drsuapi_DsGetNCChangesCtr9.nc_linked_attributes_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25330 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_nc_object_count,
25331 { "Nc Object Count", "drsuapi.drsuapi_DsGetNCChangesCtr9.nc_object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25332 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_new_highwatermark,
25333 { "New Highwatermark", "drsuapi.drsuapi_DsGetNCChangesCtr9.new_highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25334 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_object_count,
25335 { "Object Count", "drsuapi.drsuapi_DsGetNCChangesCtr9.object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25336 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_old_highwatermark,
25337 { "Old Highwatermark", "drsuapi.drsuapi_DsGetNCChangesCtr9.old_highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25338 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_source_dsa_guid,
25339 { "Source Dsa Guid", "drsuapi.drsuapi_DsGetNCChangesCtr9.source_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25340 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_source_dsa_invocation_id,
25341 { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsGetNCChangesCtr9.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25342 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr9_uptodateness_vector,
25343 { "Uptodateness Vector", "drsuapi.drsuapi_DsGetNCChangesCtr9.uptodateness_vector", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25344 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr1,
25345 { "Ctr1", "drsuapi.drsuapi_DsGetNCChangesCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25346 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr2,
25347 { "Ctr2", "drsuapi.drsuapi_DsGetNCChangesCtr.ctr2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25348 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr6,
25349 { "Ctr6", "drsuapi.drsuapi_DsGetNCChangesCtr.ctr6", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25350 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr7,
25351 { "Ctr7", "drsuapi.drsuapi_DsGetNCChangesCtr.ctr7", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25352 { &hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr9,
25353 { "Ctr9", "drsuapi.drsuapi_DsGetNCChangesCtr.ctr9", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25354 { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_compressed_length,
25355 { "Compressed Length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr1.compressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25356 { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_decompressed_length,
25357 { "Decompressed Length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr1.decompressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25358 { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_ts,
25359 { "Ts", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr1.ts", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25360 { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_ts_,
25361 { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr1.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25362 { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_compressed_length,
25363 { "Compressed Length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr6.compressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25364 { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_decompressed_length,
25365 { "Decompressed Length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr6.decompressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25366 { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_ts,
25367 { "Ts", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr6.ts", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25368 { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_ts_,
25369 { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr6.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25370 { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9_compressed_length,
25371 { "Compressed Length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr9.compressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25372 { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9_decompressed_length,
25373 { "Decompressed Length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr9.decompressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25374 { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9_ts,
25375 { "Ts", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr9.ts", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25376 { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9_ts_,
25377 { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr9.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25378 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_destination_dsa_guid,
25379 { "Destination Dsa Guid", "drsuapi.drsuapi_DsGetNCChangesRequest10.destination_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25380 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_extended_op,
25381 { "Extended Op", "drsuapi.drsuapi_DsGetNCChangesRequest10.extended_op", FT_UINT32, BASE_HEX, VALS(drsuapi_drsuapi_DsExtendedOperation_vals), 0, NULL, HFILL }},
25382 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_fsmo_info,
25383 { "Fsmo Info", "drsuapi.drsuapi_DsGetNCChangesRequest10.fsmo_info", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25384 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_highwatermark,
25385 { "Highwatermark", "drsuapi.drsuapi_DsGetNCChangesRequest10.highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25386 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_mapping_ctr,
25387 { "Mapping Ctr", "drsuapi.drsuapi_DsGetNCChangesRequest10.mapping_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25388 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_max_ndr_size,
25389 { "Max Ndr Size", "drsuapi.drsuapi_DsGetNCChangesRequest10.max_ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25390 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_max_object_count,
25391 { "Max Object Count", "drsuapi.drsuapi_DsGetNCChangesRequest10.max_object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25392 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_more_flags,
25393 { "More Flags", "drsuapi.drsuapi_DsGetNCChangesRequest10.more_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25394 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_naming_context,
25395 { "Naming Context", "drsuapi.drsuapi_DsGetNCChangesRequest10.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25396 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_partial_attribute_set,
25397 { "Partial Attribute Set", "drsuapi.drsuapi_DsGetNCChangesRequest10.partial_attribute_set", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25398 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_partial_attribute_set_ex,
25399 { "Partial Attribute Set Ex", "drsuapi.drsuapi_DsGetNCChangesRequest10.partial_attribute_set_ex", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25400 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_replica_flags,
25401 { "Replica Flags", "drsuapi.drsuapi_DsGetNCChangesRequest10.replica_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25402 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_source_dsa_invocation_id,
25403 { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsGetNCChangesRequest10.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25404 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_uptodateness_vector,
25405 { "Uptodateness Vector", "drsuapi.drsuapi_DsGetNCChangesRequest10.uptodateness_vector", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25406 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_correlationID,
25407 { "CorrelationID", "drsuapi.drsuapi_DsGetNCChangesRequest11.correlationID", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25408 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_destination_dsa_guid,
25409 { "Destination Dsa Guid", "drsuapi.drsuapi_DsGetNCChangesRequest11.destination_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25410 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_extended_op,
25411 { "Extended Op", "drsuapi.drsuapi_DsGetNCChangesRequest11.extended_op", FT_UINT32, BASE_HEX, VALS(drsuapi_drsuapi_DsExtendedOperation_vals), 0, NULL, HFILL }},
25412 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_fsmo_info,
25413 { "Fsmo Info", "drsuapi.drsuapi_DsGetNCChangesRequest11.fsmo_info", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25414 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_highwatermark,
25415 { "Highwatermark", "drsuapi.drsuapi_DsGetNCChangesRequest11.highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25416 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_mapping_ctr,
25417 { "Mapping Ctr", "drsuapi.drsuapi_DsGetNCChangesRequest11.mapping_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25418 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_max_ndr_size,
25419 { "Max Ndr Size", "drsuapi.drsuapi_DsGetNCChangesRequest11.max_ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25420 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_max_object_count,
25421 { "Max Object Count", "drsuapi.drsuapi_DsGetNCChangesRequest11.max_object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25422 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_more_flags,
25423 { "More Flags", "drsuapi.drsuapi_DsGetNCChangesRequest11.more_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25424 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_naming_context,
25425 { "Naming Context", "drsuapi.drsuapi_DsGetNCChangesRequest11.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25426 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_partial_attribute_set,
25427 { "Partial Attribute Set", "drsuapi.drsuapi_DsGetNCChangesRequest11.partial_attribute_set", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25428 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_partial_attribute_set_ex,
25429 { "Partial Attribute Set Ex", "drsuapi.drsuapi_DsGetNCChangesRequest11.partial_attribute_set_ex", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25430 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_replica_flags,
25431 { "Replica Flags", "drsuapi.drsuapi_DsGetNCChangesRequest11.replica_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25432 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_reserved_buffer,
25433 { "Reserved Buffer", "drsuapi.drsuapi_DsGetNCChangesRequest11.reserved_buffer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25434 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_source_dsa_invocation_id,
25435 { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsGetNCChangesRequest11.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25436 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest11_uptodateness_vector,
25437 { "Uptodateness Vector", "drsuapi.drsuapi_DsGetNCChangesRequest11.uptodateness_vector", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25438 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_destination_dsa_guid,
25439 { "Destination Dsa Guid", "drsuapi.drsuapi_DsGetNCChangesRequest5.destination_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25440 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_extended_op,
25441 { "Extended Op", "drsuapi.drsuapi_DsGetNCChangesRequest5.extended_op", FT_UINT32, BASE_HEX, VALS(drsuapi_drsuapi_DsExtendedOperation_vals), 0, NULL, HFILL }},
25442 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_fsmo_info,
25443 { "Fsmo Info", "drsuapi.drsuapi_DsGetNCChangesRequest5.fsmo_info", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25444 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_highwatermark,
25445 { "Highwatermark", "drsuapi.drsuapi_DsGetNCChangesRequest5.highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25446 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_max_ndr_size,
25447 { "Max Ndr Size", "drsuapi.drsuapi_DsGetNCChangesRequest5.max_ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25448 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_max_object_count,
25449 { "Max Object Count", "drsuapi.drsuapi_DsGetNCChangesRequest5.max_object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25450 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_naming_context,
25451 { "Naming Context", "drsuapi.drsuapi_DsGetNCChangesRequest5.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25452 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_replica_flags,
25453 { "Replica Flags", "drsuapi.drsuapi_DsGetNCChangesRequest5.replica_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25454 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_source_dsa_invocation_id,
25455 { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsGetNCChangesRequest5.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25456 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_uptodateness_vector,
25457 { "Uptodateness Vector", "drsuapi.drsuapi_DsGetNCChangesRequest5.uptodateness_vector", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25458 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_destination_dsa_guid,
25459 { "Destination Dsa Guid", "drsuapi.drsuapi_DsGetNCChangesRequest8.destination_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25460 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_extended_op,
25461 { "Extended Op", "drsuapi.drsuapi_DsGetNCChangesRequest8.extended_op", FT_UINT32, BASE_HEX, VALS(drsuapi_drsuapi_DsExtendedOperation_vals), 0, NULL, HFILL }},
25462 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_fsmo_info,
25463 { "Fsmo Info", "drsuapi.drsuapi_DsGetNCChangesRequest8.fsmo_info", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25464 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_highwatermark,
25465 { "Highwatermark", "drsuapi.drsuapi_DsGetNCChangesRequest8.highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25466 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_mapping_ctr,
25467 { "Mapping Ctr", "drsuapi.drsuapi_DsGetNCChangesRequest8.mapping_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25468 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_max_ndr_size,
25469 { "Max Ndr Size", "drsuapi.drsuapi_DsGetNCChangesRequest8.max_ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25470 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_max_object_count,
25471 { "Max Object Count", "drsuapi.drsuapi_DsGetNCChangesRequest8.max_object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25472 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_naming_context,
25473 { "Naming Context", "drsuapi.drsuapi_DsGetNCChangesRequest8.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25474 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_partial_attribute_set,
25475 { "Partial Attribute Set", "drsuapi.drsuapi_DsGetNCChangesRequest8.partial_attribute_set", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25476 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_partial_attribute_set_ex,
25477 { "Partial Attribute Set Ex", "drsuapi.drsuapi_DsGetNCChangesRequest8.partial_attribute_set_ex", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25478 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_replica_flags,
25479 { "Replica Flags", "drsuapi.drsuapi_DsGetNCChangesRequest8.replica_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25480 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_source_dsa_invocation_id,
25481 { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsGetNCChangesRequest8.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25482 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_uptodateness_vector,
25483 { "Uptodateness Vector", "drsuapi.drsuapi_DsGetNCChangesRequest8.uptodateness_vector", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25484 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest_req10,
25485 { "Req10", "drsuapi.drsuapi_DsGetNCChangesRequest.req10", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25486 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest_req11,
25487 { "Req11", "drsuapi.drsuapi_DsGetNCChangesRequest.req11", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25488 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest_req5,
25489 { "Req5", "drsuapi.drsuapi_DsGetNCChangesRequest.req5", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25490 { &hf_drsuapi_drsuapi_DsGetNCChangesRequest_req8,
25491 { "Req8", "drsuapi.drsuapi_DsGetNCChangesRequest.req8", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25492 { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_compressed_length,
25493 { "Compressed Length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr1.compressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25494 { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_decompressed_length,
25495 { "Decompressed Length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr1.decompressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25496 { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_ts,
25497 { "Ts", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr1.ts", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25498 { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_ts_,
25499 { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr1.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25500 { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_compressed_length,
25501 { "Compressed Length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr6.compressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25502 { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_decompressed_length,
25503 { "Decompressed Length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr6.decompressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25504 { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_ts,
25505 { "Ts", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr6.ts", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25506 { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_ts_,
25507 { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr6.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25508 { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9_compressed_length,
25509 { "Compressed Length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr9.compressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25510 { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9_decompressed_length,
25511 { "Decompressed Length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr9.decompressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25512 { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9_ts,
25513 { "Ts", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr9.ts", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25514 { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9_ts_,
25515 { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr9.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25516 { &hf_drsuapi_drsuapi_DsGetNCChanges_bind_handle,
25517 { "Bind Handle", "drsuapi.drsuapi_DsGetNCChanges.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
25518 { &hf_drsuapi_drsuapi_DsGetNCChanges_ctr,
25519 { "Ctr", "drsuapi.drsuapi_DsGetNCChanges.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25520 { &hf_drsuapi_drsuapi_DsGetNCChanges_level,
25521 { "Level", "drsuapi.drsuapi_DsGetNCChanges.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25522 { &hf_drsuapi_drsuapi_DsGetNCChanges_level_out,
25523 { "Level Out", "drsuapi.drsuapi_DsGetNCChanges.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25524 { &hf_drsuapi_drsuapi_DsGetNCChanges_req,
25525 { "Req", "drsuapi.drsuapi_DsGetNCChanges.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25526 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG,
25527 { "DRSUAPI NT4 CHANGELOG GET CHANGELOG", "drsuapi.drsuapi_DsGetNT4ChangeLogFlags.DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG", FT_BOOLEAN, 32, TFS(&drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG_tfs), ( 0x00000001 ), NULL, HFILL }},
25528 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS,
25529 { "DRSUAPI NT4 CHANGELOG GET SERIAL NUMBERS", "drsuapi.drsuapi_DsGetNT4ChangeLogFlags.DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS", FT_BOOLEAN, 32, TFS(&drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS_tfs), ( 0x00000002 ), NULL, HFILL }},
25530 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_builtin_creation_time,
25531 { "Builtin Creation Time", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.builtin_creation_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25532 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_builtin_serial_number,
25533 { "Builtin Serial Number", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.builtin_serial_number", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25534 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_log_data,
25535 { "Log Data", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.log_data", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
25536 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_log_length,
25537 { "Log Length", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.log_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25538 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_lsa_creation_time,
25539 { "Lsa Creation Time", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.lsa_creation_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25540 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_lsa_serial_number,
25541 { "Lsa Serial Number", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.lsa_serial_number", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25542 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_restart_data,
25543 { "Restart Data", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.restart_data", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
25544 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_restart_length,
25545 { "Restart Length", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.restart_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25546 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_sam_creation_time,
25547 { "Sam Creation Time", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.sam_creation_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25548 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_sam_serial_number,
25549 { "Sam Serial Number", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.sam_serial_number", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25550 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_status,
25551 { "Status", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.status", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &NT_errors_ext, 0, NULL, HFILL }},
25552 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo_info1,
25553 { "Info1", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo.info1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25554 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_flags,
25555 { "Flags", "drsuapi.drsuapi_DsGetNT4ChangeLogRequest1.flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25556 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_preferred_maximum_length,
25557 { "Preferred Maximum Length", "drsuapi.drsuapi_DsGetNT4ChangeLogRequest1.preferred_maximum_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25558 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_restart_data,
25559 { "Restart Data", "drsuapi.drsuapi_DsGetNT4ChangeLogRequest1.restart_data", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
25560 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_restart_length,
25561 { "Restart Length", "drsuapi.drsuapi_DsGetNT4ChangeLogRequest1.restart_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25562 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest_req1,
25563 { "Req1", "drsuapi.drsuapi_DsGetNT4ChangeLogRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25564 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLog_bind_handle,
25565 { "Bind Handle", "drsuapi.drsuapi_DsGetNT4ChangeLog.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
25566 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLog_info,
25567 { "Info", "drsuapi.drsuapi_DsGetNT4ChangeLog.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25568 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLog_level,
25569 { "Level", "drsuapi.drsuapi_DsGetNT4ChangeLog.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25570 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLog_level_out,
25571 { "Level Out", "drsuapi.drsuapi_DsGetNT4ChangeLog.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25572 { &hf_drsuapi_drsuapi_DsGetNT4ChangeLog_req,
25573 { "Req", "drsuapi.drsuapi_DsGetNT4ChangeLog.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25574 { &hf_drsuapi_drsuapi_DsLinkedAttributeFlags_DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE,
25575 { "DRSUAPI DS LINKED ATTRIBUTE FLAG ACTIVE", "drsuapi.drsuapi_DsLinkedAttributeFlags.DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE", FT_BOOLEAN, 32, TFS(&drsuapi_DsLinkedAttributeFlags_DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE_tfs), ( 0x00000001 ), NULL, HFILL }},
25576 { &hf_drsuapi_drsuapi_DsNameCtr1_array,
25577 { "Array", "drsuapi.drsuapi_DsNameCtr1.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25578 { &hf_drsuapi_drsuapi_DsNameCtr1_count,
25579 { "Count", "drsuapi.drsuapi_DsNameCtr1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25580 { &hf_drsuapi_drsuapi_DsNameCtr_ctr1,
25581 { "Ctr1", "drsuapi.drsuapi_DsNameCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25582 { &hf_drsuapi_drsuapi_DsNameInfo1_dns_domain_name,
25583 { "Dns Domain Name", "drsuapi.drsuapi_DsNameInfo1.dns_domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25584 { &hf_drsuapi_drsuapi_DsNameInfo1_result_name,
25585 { "Result Name", "drsuapi.drsuapi_DsNameInfo1.result_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25586 { &hf_drsuapi_drsuapi_DsNameInfo1_status,
25587 { "Status", "drsuapi.drsuapi_DsNameInfo1.status", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsNameStatus_vals), 0, NULL, HFILL }},
25588 { &hf_drsuapi_drsuapi_DsNameRequest1_codepage,
25589 { "Codepage", "drsuapi.drsuapi_DsNameRequest1.codepage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25590 { &hf_drsuapi_drsuapi_DsNameRequest1_count,
25591 { "Count", "drsuapi.drsuapi_DsNameRequest1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25592 { &hf_drsuapi_drsuapi_DsNameRequest1_format_desired,
25593 { "Format Desired", "drsuapi.drsuapi_DsNameRequest1.format_desired", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsNameFormat_vals), 0, NULL, HFILL }},
25594 { &hf_drsuapi_drsuapi_DsNameRequest1_format_flags,
25595 { "Format Flags", "drsuapi.drsuapi_DsNameRequest1.format_flags", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsNameFlags_vals), 0, NULL, HFILL }},
25596 { &hf_drsuapi_drsuapi_DsNameRequest1_format_offered,
25597 { "Format Offered", "drsuapi.drsuapi_DsNameRequest1.format_offered", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsNameFormat_vals), 0, NULL, HFILL }},
25598 { &hf_drsuapi_drsuapi_DsNameRequest1_language,
25599 { "Language", "drsuapi.drsuapi_DsNameRequest1.language", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25600 { &hf_drsuapi_drsuapi_DsNameRequest1_names,
25601 { "Names", "drsuapi.drsuapi_DsNameRequest1.names", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25602 { &hf_drsuapi_drsuapi_DsNameRequest_req1,
25603 { "Req1", "drsuapi.drsuapi_DsNameRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25604 { &hf_drsuapi_drsuapi_DsNameString_str,
25605 { "Str", "drsuapi.drsuapi_DsNameString.str", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25606 { &hf_drsuapi_drsuapi_DsPartialAttributeSet_attids,
25607 { "Attids", "drsuapi.drsuapi_DsPartialAttributeSet.attids", FT_UINT32, BASE_HEX, VALS(drsuapi_drsuapi_DsAttributeId_vals), 0, NULL, HFILL }},
25608 { &hf_drsuapi_drsuapi_DsPartialAttributeSet_num_attids,
25609 { "Num Attids", "drsuapi.drsuapi_DsPartialAttributeSet.num_attids", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25610 { &hf_drsuapi_drsuapi_DsPartialAttributeSet_reserved1,
25611 { "Reserved1", "drsuapi.drsuapi_DsPartialAttributeSet.reserved1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25612 { &hf_drsuapi_drsuapi_DsPartialAttributeSet_version,
25613 { "Version", "drsuapi.drsuapi_DsPartialAttributeSet.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25614 { &hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_commit,
25615 { "Commit", "drsuapi.drsuapi_DsRemoveDSServerRequest1.commit", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25616 { &hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_domain_dn,
25617 { "Domain Dn", "drsuapi.drsuapi_DsRemoveDSServerRequest1.domain_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25618 { &hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_server_dn,
25619 { "Server Dn", "drsuapi.drsuapi_DsRemoveDSServerRequest1.server_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25620 { &hf_drsuapi_drsuapi_DsRemoveDSServerRequest_req1,
25621 { "Req1", "drsuapi.drsuapi_DsRemoveDSServerRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25622 { &hf_drsuapi_drsuapi_DsRemoveDSServerResult1_last_dc_in_domain,
25623 { "Last Dc In Domain", "drsuapi.drsuapi_DsRemoveDSServerResult1.last_dc_in_domain", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25624 { &hf_drsuapi_drsuapi_DsRemoveDSServerResult_res1,
25625 { "Res1", "drsuapi.drsuapi_DsRemoveDSServerResult.res1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25626 { &hf_drsuapi_drsuapi_DsRemoveDSServer_bind_handle,
25627 { "Bind Handle", "drsuapi.drsuapi_DsRemoveDSServer.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
25628 { &hf_drsuapi_drsuapi_DsRemoveDSServer_level,
25629 { "Level", "drsuapi.drsuapi_DsRemoveDSServer.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25630 { &hf_drsuapi_drsuapi_DsRemoveDSServer_level_out,
25631 { "Level Out", "drsuapi.drsuapi_DsRemoveDSServer.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25632 { &hf_drsuapi_drsuapi_DsRemoveDSServer_req,
25633 { "Req", "drsuapi.drsuapi_DsRemoveDSServer.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25634 { &hf_drsuapi_drsuapi_DsRemoveDSServer_res,
25635 { "Res", "drsuapi.drsuapi_DsRemoveDSServer.res", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25636 { &hf_drsuapi_drsuapi_DsReplica06Ctr_array,
25637 { "Array", "drsuapi.drsuapi_DsReplica06Ctr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25638 { &hf_drsuapi_drsuapi_DsReplica06Ctr_count,
25639 { "Count", "drsuapi.drsuapi_DsReplica06Ctr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25640 { &hf_drsuapi_drsuapi_DsReplica06Ctr_reserved,
25641 { "Reserved", "drsuapi.drsuapi_DsReplica06Ctr.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25642 { &hf_drsuapi_drsuapi_DsReplica06_str1,
25643 { "Str1", "drsuapi.drsuapi_DsReplica06.str1", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25644 { &hf_drsuapi_drsuapi_DsReplica06_u1,
25645 { "U1", "drsuapi.drsuapi_DsReplica06.u1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25646 { &hf_drsuapi_drsuapi_DsReplica06_u2,
25647 { "U2", "drsuapi.drsuapi_DsReplica06.u2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25648 { &hf_drsuapi_drsuapi_DsReplica06_u3,
25649 { "U3", "drsuapi.drsuapi_DsReplica06.u3", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25650 { &hf_drsuapi_drsuapi_DsReplica06_u4,
25651 { "U4", "drsuapi.drsuapi_DsReplica06.u4", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25652 { &hf_drsuapi_drsuapi_DsReplica06_u5,
25653 { "U5", "drsuapi.drsuapi_DsReplica06.u5", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25654 { &hf_drsuapi_drsuapi_DsReplica06_u6,
25655 { "U6", "drsuapi.drsuapi_DsReplica06.u6", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25656 { &hf_drsuapi_drsuapi_DsReplica06_u7,
25657 { "U7", "drsuapi.drsuapi_DsReplica06.u7", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25658 { &hf_drsuapi_drsuapi_DsReplicaAddRequest1_naming_context,
25659 { "Naming Context", "drsuapi.drsuapi_DsReplicaAddRequest1.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25660 { &hf_drsuapi_drsuapi_DsReplicaAddRequest1_options,
25661 { "Options", "drsuapi.drsuapi_DsReplicaAddRequest1.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25662 { &hf_drsuapi_drsuapi_DsReplicaAddRequest1_schedule,
25663 { "Schedule", "drsuapi.drsuapi_DsReplicaAddRequest1.schedule", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
25664 { &hf_drsuapi_drsuapi_DsReplicaAddRequest1_source_dsa_address,
25665 { "Source Dsa Address", "drsuapi.drsuapi_DsReplicaAddRequest1.source_dsa_address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25666 { &hf_drsuapi_drsuapi_DsReplicaAddRequest2_naming_context,
25667 { "Naming Context", "drsuapi.drsuapi_DsReplicaAddRequest2.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25668 { &hf_drsuapi_drsuapi_DsReplicaAddRequest2_options,
25669 { "Options", "drsuapi.drsuapi_DsReplicaAddRequest2.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25670 { &hf_drsuapi_drsuapi_DsReplicaAddRequest2_schedule,
25671 { "Schedule", "drsuapi.drsuapi_DsReplicaAddRequest2.schedule", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
25672 { &hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_address,
25673 { "Source Dsa Address", "drsuapi.drsuapi_DsReplicaAddRequest2.source_dsa_address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25674 { &hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_dn,
25675 { "Source Dsa Dn", "drsuapi.drsuapi_DsReplicaAddRequest2.source_dsa_dn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25676 { &hf_drsuapi_drsuapi_DsReplicaAddRequest2_transport_dn,
25677 { "Transport Dn", "drsuapi.drsuapi_DsReplicaAddRequest2.transport_dn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25678 { &hf_drsuapi_drsuapi_DsReplicaAddRequest3_correlationID,
25679 { "CorrelationID", "drsuapi.drsuapi_DsReplicaAddRequest3.correlationID", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25680 { &hf_drsuapi_drsuapi_DsReplicaAddRequest3_naming_context,
25681 { "Naming Context", "drsuapi.drsuapi_DsReplicaAddRequest3.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25682 { &hf_drsuapi_drsuapi_DsReplicaAddRequest3_options,
25683 { "Options", "drsuapi.drsuapi_DsReplicaAddRequest3.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25684 { &hf_drsuapi_drsuapi_DsReplicaAddRequest3_reserved_buffer,
25685 { "Reserved Buffer", "drsuapi.drsuapi_DsReplicaAddRequest3.reserved_buffer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25686 { &hf_drsuapi_drsuapi_DsReplicaAddRequest3_schedule,
25687 { "Schedule", "drsuapi.drsuapi_DsReplicaAddRequest3.schedule", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
25688 { &hf_drsuapi_drsuapi_DsReplicaAddRequest3_source_dsa_address,
25689 { "Source Dsa Address", "drsuapi.drsuapi_DsReplicaAddRequest3.source_dsa_address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25690 { &hf_drsuapi_drsuapi_DsReplicaAddRequest3_source_dsa_dn,
25691 { "Source Dsa Dn", "drsuapi.drsuapi_DsReplicaAddRequest3.source_dsa_dn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25692 { &hf_drsuapi_drsuapi_DsReplicaAddRequest3_transport_dn,
25693 { "Transport Dn", "drsuapi.drsuapi_DsReplicaAddRequest3.transport_dn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25694 { &hf_drsuapi_drsuapi_DsReplicaAddRequest_req1,
25695 { "Req1", "drsuapi.drsuapi_DsReplicaAddRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25696 { &hf_drsuapi_drsuapi_DsReplicaAddRequest_req2,
25697 { "Req2", "drsuapi.drsuapi_DsReplicaAddRequest.req2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25698 { &hf_drsuapi_drsuapi_DsReplicaAddRequest_req3,
25699 { "Req3", "drsuapi.drsuapi_DsReplicaAddRequest.req3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25700 { &hf_drsuapi_drsuapi_DsReplicaAdd_bind_handle,
25701 { "Bind Handle", "drsuapi.drsuapi_DsReplicaAdd.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
25702 { &hf_drsuapi_drsuapi_DsReplicaAdd_level,
25703 { "Level", "drsuapi.drsuapi_DsReplicaAdd.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25704 { &hf_drsuapi_drsuapi_DsReplicaAdd_req,
25705 { "Req", "drsuapi.drsuapi_DsReplicaAdd.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25706 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_array,
25707 { "Array", "drsuapi.drsuapi_DsReplicaAttrValMetaData2Ctr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25708 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_count,
25709 { "Count", "drsuapi.drsuapi_DsReplicaAttrValMetaData2Ctr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25710 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context,
25711 { "Enumeration Context", "drsuapi.drsuapi_DsReplicaAttrValMetaData2Ctr.enumeration_context", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25712 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2___ndr_size_binary,
25713 { "Ndr Size Binary", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.__ndr_size_binary", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25714 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_attribute_name,
25715 { "Attribute Name", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.attribute_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25716 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_binary,
25717 { "Binary", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.binary", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25718 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_created,
25719 { "Created", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.created", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25720 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_deleted,
25721 { "Deleted", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.deleted", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25722 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_local_usn,
25723 { "Local Usn", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.local_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25724 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_object_dn,
25725 { "Object Dn", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.object_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25726 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_change_time,
25727 { "Originating Change Time", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.originating_change_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25728 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_dn,
25729 { "Originating Dsa Dn", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.originating_dsa_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25730 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_invocation_id,
25731 { "Originating Invocation Id", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.originating_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25732 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_usn,
25733 { "Originating Usn", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.originating_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25734 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_version,
25735 { "Version", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25736 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_array,
25737 { "Array", "drsuapi.drsuapi_DsReplicaAttrValMetaDataCtr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25738 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_count,
25739 { "Count", "drsuapi.drsuapi_DsReplicaAttrValMetaDataCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25740 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context,
25741 { "Enumeration Context", "drsuapi.drsuapi_DsReplicaAttrValMetaDataCtr.enumeration_context", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25742 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData___ndr_size_binary,
25743 { "Ndr Size Binary", "drsuapi.drsuapi_DsReplicaAttrValMetaData.__ndr_size_binary", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25744 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_attribute_name,
25745 { "Attribute Name", "drsuapi.drsuapi_DsReplicaAttrValMetaData.attribute_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25746 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_binary,
25747 { "Binary", "drsuapi.drsuapi_DsReplicaAttrValMetaData.binary", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25748 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_created,
25749 { "Created", "drsuapi.drsuapi_DsReplicaAttrValMetaData.created", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25750 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_deleted,
25751 { "Deleted", "drsuapi.drsuapi_DsReplicaAttrValMetaData.deleted", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25752 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_local_usn,
25753 { "Local Usn", "drsuapi.drsuapi_DsReplicaAttrValMetaData.local_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25754 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_object_dn,
25755 { "Object Dn", "drsuapi.drsuapi_DsReplicaAttrValMetaData.object_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25756 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_change_time,
25757 { "Originating Change Time", "drsuapi.drsuapi_DsReplicaAttrValMetaData.originating_change_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25758 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_invocation_id,
25759 { "Originating Invocation Id", "drsuapi.drsuapi_DsReplicaAttrValMetaData.originating_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25760 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_usn,
25761 { "Originating Usn", "drsuapi.drsuapi_DsReplicaAttrValMetaData.originating_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25762 { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_version,
25763 { "Version", "drsuapi.drsuapi_DsReplicaAttrValMetaData.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25764 { &hf_drsuapi_drsuapi_DsReplicaAttributeCtr_attributes,
25765 { "Attributes", "drsuapi.drsuapi_DsReplicaAttributeCtr.attributes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25766 { &hf_drsuapi_drsuapi_DsReplicaAttributeCtr_num_attributes,
25767 { "Num Attributes", "drsuapi.drsuapi_DsReplicaAttributeCtr.num_attributes", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25768 { &hf_drsuapi_drsuapi_DsReplicaAttribute_attid,
25769 { "Attid", "drsuapi.drsuapi_DsReplicaAttribute.attid", FT_UINT32, BASE_HEX, VALS(drsuapi_drsuapi_DsAttributeId_vals), 0, NULL, HFILL }},
25770 { &hf_drsuapi_drsuapi_DsReplicaAttribute_value_ctr,
25771 { "Value Ctr", "drsuapi.drsuapi_DsReplicaAttribute.value_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25772 { &hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_array,
25773 { "Array", "drsuapi.drsuapi_DsReplicaConnection04Ctr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25774 { &hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_count,
25775 { "Count", "drsuapi.drsuapi_DsReplicaConnection04Ctr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25776 { &hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_reserved,
25777 { "Reserved", "drsuapi.drsuapi_DsReplicaConnection04Ctr.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25778 { &hf_drsuapi_drsuapi_DsReplicaConnection04_bind_guid,
25779 { "Bind Guid", "drsuapi.drsuapi_DsReplicaConnection04.bind_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25780 { &hf_drsuapi_drsuapi_DsReplicaConnection04_bind_time,
25781 { "Bind Time", "drsuapi.drsuapi_DsReplicaConnection04.bind_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25782 { &hf_drsuapi_drsuapi_DsReplicaConnection04_client_ip_address,
25783 { "Client Ip Address", "drsuapi.drsuapi_DsReplicaConnection04.client_ip_address", FT_IPv4, BASE_NONE, NULL, 0, NULL, HFILL }},
25784 { &hf_drsuapi_drsuapi_DsReplicaConnection04_u1,
25785 { "U1", "drsuapi.drsuapi_DsReplicaConnection04.u1", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25786 { &hf_drsuapi_drsuapi_DsReplicaConnection04_u2,
25787 { "U2", "drsuapi.drsuapi_DsReplicaConnection04.u2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25788 { &hf_drsuapi_drsuapi_DsReplicaConnection04_u3,
25789 { "U3", "drsuapi.drsuapi_DsReplicaConnection04.u3", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25790 { &hf_drsuapi_drsuapi_DsReplicaConnection04_u5,
25791 { "U5", "drsuapi.drsuapi_DsReplicaConnection04.u5", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25792 { &hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_count,
25793 { "Count", "drsuapi.drsuapi_DsReplicaCursor2CtrEx.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25794 { &hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_cursors,
25795 { "Cursors", "drsuapi.drsuapi_DsReplicaCursor2CtrEx.cursors", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25796 { &hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_reserved1,
25797 { "Reserved1", "drsuapi.drsuapi_DsReplicaCursor2CtrEx.reserved1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25798 { &hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_reserved2,
25799 { "Reserved2", "drsuapi.drsuapi_DsReplicaCursor2CtrEx.reserved2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25800 { &hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_version,
25801 { "Version", "drsuapi.drsuapi_DsReplicaCursor2CtrEx.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25802 { &hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_array,
25803 { "Array", "drsuapi.drsuapi_DsReplicaCursor2Ctr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25804 { &hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_count,
25805 { "Count", "drsuapi.drsuapi_DsReplicaCursor2Ctr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25806 { &hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_enumeration_context,
25807 { "Enumeration Context", "drsuapi.drsuapi_DsReplicaCursor2Ctr.enumeration_context", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25808 { &hf_drsuapi_drsuapi_DsReplicaCursor2_highest_usn,
25809 { "Highest Usn", "drsuapi.drsuapi_DsReplicaCursor2.highest_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25810 { &hf_drsuapi_drsuapi_DsReplicaCursor2_last_sync_success,
25811 { "Last Sync Success", "drsuapi.drsuapi_DsReplicaCursor2.last_sync_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25812 { &hf_drsuapi_drsuapi_DsReplicaCursor2_source_dsa_invocation_id,
25813 { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsReplicaCursor2.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25814 { &hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_array,
25815 { "Array", "drsuapi.drsuapi_DsReplicaCursor3Ctr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25816 { &hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_count,
25817 { "Count", "drsuapi.drsuapi_DsReplicaCursor3Ctr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25818 { &hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_enumeration_context,
25819 { "Enumeration Context", "drsuapi.drsuapi_DsReplicaCursor3Ctr.enumeration_context", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25820 { &hf_drsuapi_drsuapi_DsReplicaCursor3_highest_usn,
25821 { "Highest Usn", "drsuapi.drsuapi_DsReplicaCursor3.highest_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25822 { &hf_drsuapi_drsuapi_DsReplicaCursor3_last_sync_success,
25823 { "Last Sync Success", "drsuapi.drsuapi_DsReplicaCursor3.last_sync_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25824 { &hf_drsuapi_drsuapi_DsReplicaCursor3_source_dsa_invocation_id,
25825 { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsReplicaCursor3.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25826 { &hf_drsuapi_drsuapi_DsReplicaCursor3_source_dsa_obj_dn,
25827 { "Source Dsa Obj Dn", "drsuapi.drsuapi_DsReplicaCursor3.source_dsa_obj_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25828 { &hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_count,
25829 { "Count", "drsuapi.drsuapi_DsReplicaCursorCtrEx.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25830 { &hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_cursors,
25831 { "Cursors", "drsuapi.drsuapi_DsReplicaCursorCtrEx.cursors", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25832 { &hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_reserved1,
25833 { "Reserved1", "drsuapi.drsuapi_DsReplicaCursorCtrEx.reserved1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25834 { &hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_reserved2,
25835 { "Reserved2", "drsuapi.drsuapi_DsReplicaCursorCtrEx.reserved2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25836 { &hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_version,
25837 { "Version", "drsuapi.drsuapi_DsReplicaCursorCtrEx.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25838 { &hf_drsuapi_drsuapi_DsReplicaCursorCtr_array,
25839 { "Array", "drsuapi.drsuapi_DsReplicaCursorCtr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25840 { &hf_drsuapi_drsuapi_DsReplicaCursorCtr_count,
25841 { "Count", "drsuapi.drsuapi_DsReplicaCursorCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25842 { &hf_drsuapi_drsuapi_DsReplicaCursorCtr_reserved,
25843 { "Reserved", "drsuapi.drsuapi_DsReplicaCursorCtr.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25844 { &hf_drsuapi_drsuapi_DsReplicaCursor_highest_usn,
25845 { "Highest Usn", "drsuapi.drsuapi_DsReplicaCursor.highest_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25846 { &hf_drsuapi_drsuapi_DsReplicaCursor_source_dsa_invocation_id,
25847 { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsReplicaCursor.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25848 { &hf_drsuapi_drsuapi_DsReplicaDelRequest1_naming_context,
25849 { "Naming Context", "drsuapi.drsuapi_DsReplicaDelRequest1.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25850 { &hf_drsuapi_drsuapi_DsReplicaDelRequest1_options,
25851 { "Options", "drsuapi.drsuapi_DsReplicaDelRequest1.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25852 { &hf_drsuapi_drsuapi_DsReplicaDelRequest1_source_dsa_address,
25853 { "Source Dsa Address", "drsuapi.drsuapi_DsReplicaDelRequest1.source_dsa_address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25854 { &hf_drsuapi_drsuapi_DsReplicaDelRequest_req1,
25855 { "Req1", "drsuapi.drsuapi_DsReplicaDelRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25856 { &hf_drsuapi_drsuapi_DsReplicaDel_bind_handle,
25857 { "Bind Handle", "drsuapi.drsuapi_DsReplicaDel.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
25858 { &hf_drsuapi_drsuapi_DsReplicaDel_level,
25859 { "Level", "drsuapi.drsuapi_DsReplicaDel.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25860 { &hf_drsuapi_drsuapi_DsReplicaDel_req,
25861 { "Req", "drsuapi.drsuapi_DsReplicaDel.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25862 { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_info_type,
25863 { "Info Type", "drsuapi.drsuapi_DsReplicaGetInfoRequest1.info_type", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsReplicaInfoType_vals), 0, NULL, HFILL }},
25864 { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_object_dn,
25865 { "Object Dn", "drsuapi.drsuapi_DsReplicaGetInfoRequest1.object_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25866 { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_source_dsa_guid,
25867 { "Source Dsa Guid", "drsuapi.drsuapi_DsReplicaGetInfoRequest1.source_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25868 { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_attribute_name,
25869 { "Attribute Name", "drsuapi.drsuapi_DsReplicaGetInfoRequest2.attribute_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25870 { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_enumeration_context,
25871 { "Enumeration Context", "drsuapi.drsuapi_DsReplicaGetInfoRequest2.enumeration_context", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25872 { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_flags,
25873 { "Flags", "drsuapi.drsuapi_DsReplicaGetInfoRequest2.flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25874 { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_info_type,
25875 { "Info Type", "drsuapi.drsuapi_DsReplicaGetInfoRequest2.info_type", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsReplicaInfoType_vals), 0, NULL, HFILL }},
25876 { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_object_dn,
25877 { "Object Dn", "drsuapi.drsuapi_DsReplicaGetInfoRequest2.object_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25878 { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_source_dsa_guid,
25879 { "Source Dsa Guid", "drsuapi.drsuapi_DsReplicaGetInfoRequest2.source_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25880 { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_value_dn_str,
25881 { "Value Dn Str", "drsuapi.drsuapi_DsReplicaGetInfoRequest2.value_dn_str", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25882 { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest_req1,
25883 { "Req1", "drsuapi.drsuapi_DsReplicaGetInfoRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25884 { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest_req2,
25885 { "Req2", "drsuapi.drsuapi_DsReplicaGetInfoRequest.req2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25886 { &hf_drsuapi_drsuapi_DsReplicaGetInfo_bind_handle,
25887 { "Bind Handle", "drsuapi.drsuapi_DsReplicaGetInfo.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
25888 { &hf_drsuapi_drsuapi_DsReplicaGetInfo_info,
25889 { "Info", "drsuapi.drsuapi_DsReplicaGetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25890 { &hf_drsuapi_drsuapi_DsReplicaGetInfo_info_type,
25891 { "Info Type", "drsuapi.drsuapi_DsReplicaGetInfo.info_type", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsReplicaInfoType_vals), 0, NULL, HFILL }},
25892 { &hf_drsuapi_drsuapi_DsReplicaGetInfo_level,
25893 { "Level", "drsuapi.drsuapi_DsReplicaGetInfo.level", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsReplicaGetInfoLevel_vals), 0, NULL, HFILL }},
25894 { &hf_drsuapi_drsuapi_DsReplicaGetInfo_req,
25895 { "Req", "drsuapi.drsuapi_DsReplicaGetInfo.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25896 { &hf_drsuapi_drsuapi_DsReplicaHighWaterMark_highest_usn,
25897 { "Highest Usn", "drsuapi.drsuapi_DsReplicaHighWaterMark.highest_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25898 { &hf_drsuapi_drsuapi_DsReplicaHighWaterMark_reserved_usn,
25899 { "Reserved Usn", "drsuapi.drsuapi_DsReplicaHighWaterMark.reserved_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25900 { &hf_drsuapi_drsuapi_DsReplicaHighWaterMark_tmp_highest_usn,
25901 { "Tmp Highest Usn", "drsuapi.drsuapi_DsReplicaHighWaterMark.tmp_highest_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25902 { &hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata,
25903 { "Attrvalmetadata", "drsuapi.drsuapi_DsReplicaInfo.attrvalmetadata", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25904 { &hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata2,
25905 { "Attrvalmetadata2", "drsuapi.drsuapi_DsReplicaInfo.attrvalmetadata2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25906 { &hf_drsuapi_drsuapi_DsReplicaInfo_clientctx,
25907 { "Clientctx", "drsuapi.drsuapi_DsReplicaInfo.clientctx", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25908 { &hf_drsuapi_drsuapi_DsReplicaInfo_connectfailures,
25909 { "Connectfailures", "drsuapi.drsuapi_DsReplicaInfo.connectfailures", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25910 { &hf_drsuapi_drsuapi_DsReplicaInfo_cursors,
25911 { "Cursors", "drsuapi.drsuapi_DsReplicaInfo.cursors", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25912 { &hf_drsuapi_drsuapi_DsReplicaInfo_cursors2,
25913 { "Cursors2", "drsuapi.drsuapi_DsReplicaInfo.cursors2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25914 { &hf_drsuapi_drsuapi_DsReplicaInfo_cursors3,
25915 { "Cursors3", "drsuapi.drsuapi_DsReplicaInfo.cursors3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25916 { &hf_drsuapi_drsuapi_DsReplicaInfo_linkfailures,
25917 { "Linkfailures", "drsuapi.drsuapi_DsReplicaInfo.linkfailures", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25918 { &hf_drsuapi_drsuapi_DsReplicaInfo_neighbours,
25919 { "Neighbours", "drsuapi.drsuapi_DsReplicaInfo.neighbours", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25920 { &hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata,
25921 { "Objmetadata", "drsuapi.drsuapi_DsReplicaInfo.objmetadata", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25922 { &hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata2,
25923 { "Objmetadata2", "drsuapi.drsuapi_DsReplicaInfo.objmetadata2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25924 { &hf_drsuapi_drsuapi_DsReplicaInfo_pendingops,
25925 { "Pendingops", "drsuapi.drsuapi_DsReplicaInfo.pendingops", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25926 { &hf_drsuapi_drsuapi_DsReplicaInfo_repsto,
25927 { "Repsto", "drsuapi.drsuapi_DsReplicaInfo.repsto", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25928 { &hf_drsuapi_drsuapi_DsReplicaInfo_srvoutgoingcalls,
25929 { "Srvoutgoingcalls", "drsuapi.drsuapi_DsReplicaInfo.srvoutgoingcalls", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25930 { &hf_drsuapi_drsuapi_DsReplicaInfo_udv1,
25931 { "Udv1", "drsuapi.drsuapi_DsReplicaInfo.udv1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25932 { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn,
25933 { "Dsa Obj Dn", "drsuapi.drsuapi_DsReplicaKccDsaFailure.dsa_obj_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
25934 { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid,
25935 { "Dsa Obj Guid", "drsuapi.drsuapi_DsReplicaKccDsaFailure.dsa_obj_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25936 { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_first_failure,
25937 { "First Failure", "drsuapi.drsuapi_DsReplicaKccDsaFailure.first_failure", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25938 { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_last_result,
25939 { "Last Result", "drsuapi.drsuapi_DsReplicaKccDsaFailure.last_result", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
25940 { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_num_failures,
25941 { "Num Failures", "drsuapi.drsuapi_DsReplicaKccDsaFailure.num_failures", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25942 { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_array,
25943 { "Array", "drsuapi.drsuapi_DsReplicaKccDsaFailuresCtr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25944 { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_count,
25945 { "Count", "drsuapi.drsuapi_DsReplicaKccDsaFailuresCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25946 { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_reserved,
25947 { "Reserved", "drsuapi.drsuapi_DsReplicaKccDsaFailuresCtr.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25948 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_attid,
25949 { "Attid", "drsuapi.drsuapi_DsReplicaLinkedAttribute3.attid", FT_UINT32, BASE_HEX, VALS(drsuapi_drsuapi_DsAttributeId_vals), 0, NULL, HFILL }},
25950 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_flags,
25951 { "Flags", "drsuapi.drsuapi_DsReplicaLinkedAttribute3.flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25952 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_identifier,
25953 { "Identifier", "drsuapi.drsuapi_DsReplicaLinkedAttribute3.identifier", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25954 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_meta_data,
25955 { "Meta Data", "drsuapi.drsuapi_DsReplicaLinkedAttribute3.meta_data", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25956 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_originating_add_time,
25957 { "Originating Add Time", "drsuapi.drsuapi_DsReplicaLinkedAttribute3.originating_add_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25958 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_timeExpired,
25959 { "TimeExpired", "drsuapi.drsuapi_DsReplicaLinkedAttribute3.timeExpired", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25960 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_unused1,
25961 { "Unused1", "drsuapi.drsuapi_DsReplicaLinkedAttribute3.unused1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25962 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_unused2,
25963 { "Unused2", "drsuapi.drsuapi_DsReplicaLinkedAttribute3.unused2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25964 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_unused3,
25965 { "Unused3", "drsuapi.drsuapi_DsReplicaLinkedAttribute3.unused3", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25966 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute3_value,
25967 { "Value", "drsuapi.drsuapi_DsReplicaLinkedAttribute3.value", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25968 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_attid,
25969 { "Attid", "drsuapi.drsuapi_DsReplicaLinkedAttribute.attid", FT_UINT32, BASE_HEX, VALS(drsuapi_drsuapi_DsAttributeId_vals), 0, NULL, HFILL }},
25970 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_flags,
25971 { "Flags", "drsuapi.drsuapi_DsReplicaLinkedAttribute.flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25972 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_identifier,
25973 { "Identifier", "drsuapi.drsuapi_DsReplicaLinkedAttribute.identifier", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25974 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_meta_data,
25975 { "Meta Data", "drsuapi.drsuapi_DsReplicaLinkedAttribute.meta_data", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25976 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_originating_add_time,
25977 { "Originating Add Time", "drsuapi.drsuapi_DsReplicaLinkedAttribute.originating_add_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25978 { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_value,
25979 { "Value", "drsuapi.drsuapi_DsReplicaLinkedAttribute.value", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25980 { &hf_drsuapi_drsuapi_DsReplicaMetaDataCtr_count,
25981 { "Count", "drsuapi.drsuapi_DsReplicaMetaDataCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25982 { &hf_drsuapi_drsuapi_DsReplicaMetaDataCtr_meta_data,
25983 { "Meta Data", "drsuapi.drsuapi_DsReplicaMetaDataCtr.meta_data", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25984 { &hf_drsuapi_drsuapi_DsReplicaMetaData_originating_change_time,
25985 { "Originating Change Time", "drsuapi.drsuapi_DsReplicaMetaData.originating_change_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
25986 { &hf_drsuapi_drsuapi_DsReplicaMetaData_originating_invocation_id,
25987 { "Originating Invocation Id", "drsuapi.drsuapi_DsReplicaMetaData.originating_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
25988 { &hf_drsuapi_drsuapi_DsReplicaMetaData_originating_usn,
25989 { "Originating Usn", "drsuapi.drsuapi_DsReplicaMetaData.originating_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
25990 { &hf_drsuapi_drsuapi_DsReplicaMetaData_version,
25991 { "Version", "drsuapi.drsuapi_DsReplicaMetaData.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25992 { &hf_drsuapi_drsuapi_DsReplicaModRequest1_modify_fields,
25993 { "Modify Fields", "drsuapi.drsuapi_DsReplicaModRequest1.modify_fields", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
25994 { &hf_drsuapi_drsuapi_DsReplicaModRequest1_naming_context,
25995 { "Naming Context", "drsuapi.drsuapi_DsReplicaModRequest1.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
25996 { &hf_drsuapi_drsuapi_DsReplicaModRequest1_options,
25997 { "Options", "drsuapi.drsuapi_DsReplicaModRequest1.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
25998 { &hf_drsuapi_drsuapi_DsReplicaModRequest1_replica_flags,
25999 { "Replica Flags", "drsuapi.drsuapi_DsReplicaModRequest1.replica_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
26000 { &hf_drsuapi_drsuapi_DsReplicaModRequest1_schedule,
26001 { "Schedule", "drsuapi.drsuapi_DsReplicaModRequest1.schedule", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
26002 { &hf_drsuapi_drsuapi_DsReplicaModRequest1_source_dra,
26003 { "Source Dra", "drsuapi.drsuapi_DsReplicaModRequest1.source_dra", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26004 { &hf_drsuapi_drsuapi_DsReplicaModRequest1_source_dra_address,
26005 { "Source Dra Address", "drsuapi.drsuapi_DsReplicaModRequest1.source_dra_address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26006 { &hf_drsuapi_drsuapi_DsReplicaModRequest_req1,
26007 { "Req1", "drsuapi.drsuapi_DsReplicaModRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26008 { &hf_drsuapi_drsuapi_DsReplicaMod_bind_handle,
26009 { "Bind Handle", "drsuapi.drsuapi_DsReplicaMod.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
26010 { &hf_drsuapi_drsuapi_DsReplicaMod_level,
26011 { "Level", "drsuapi.drsuapi_DsReplicaMod.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26012 { &hf_drsuapi_drsuapi_DsReplicaMod_req,
26013 { "Req", "drsuapi.drsuapi_DsReplicaMod.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26014 { &hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_array,
26015 { "Array", "drsuapi.drsuapi_DsReplicaNeighbourCtr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26016 { &hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_count,
26017 { "Count", "drsuapi.drsuapi_DsReplicaNeighbourCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26018 { &hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_reserved,
26019 { "Reserved", "drsuapi.drsuapi_DsReplicaNeighbourCtr.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26020 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_consecutive_sync_failures,
26021 { "Consecutive Sync Failures", "drsuapi.drsuapi_DsReplicaNeighbour.consecutive_sync_failures", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26022 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_highest_usn,
26023 { "Highest Usn", "drsuapi.drsuapi_DsReplicaNeighbour.highest_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
26024 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_last_attempt,
26025 { "Last Attempt", "drsuapi.drsuapi_DsReplicaNeighbour.last_attempt", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
26026 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_last_success,
26027 { "Last Success", "drsuapi.drsuapi_DsReplicaNeighbour.last_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
26028 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_naming_context_dn,
26029 { "Naming Context Dn", "drsuapi.drsuapi_DsReplicaNeighbour.naming_context_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26030 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_naming_context_obj_guid,
26031 { "Naming Context Obj Guid", "drsuapi.drsuapi_DsReplicaNeighbour.naming_context_obj_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26032 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_replica_flags,
26033 { "Replica Flags", "drsuapi.drsuapi_DsReplicaNeighbour.replica_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
26034 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_reserved,
26035 { "Reserved", "drsuapi.drsuapi_DsReplicaNeighbour.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26036 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_result_last_attempt,
26037 { "Result Last Attempt", "drsuapi.drsuapi_DsReplicaNeighbour.result_last_attempt", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
26038 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_address,
26039 { "Source Dsa Address", "drsuapi.drsuapi_DsReplicaNeighbour.source_dsa_address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26040 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id,
26041 { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsReplicaNeighbour.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26042 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn,
26043 { "Source Dsa Obj Dn", "drsuapi.drsuapi_DsReplicaNeighbour.source_dsa_obj_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26044 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid,
26045 { "Source Dsa Obj Guid", "drsuapi.drsuapi_DsReplicaNeighbour.source_dsa_obj_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26046 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_tmp_highest_usn,
26047 { "Tmp Highest Usn", "drsuapi.drsuapi_DsReplicaNeighbour.tmp_highest_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
26048 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_transport_obj_dn,
26049 { "Transport Obj Dn", "drsuapi.drsuapi_DsReplicaNeighbour.transport_obj_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26050 { &hf_drsuapi_drsuapi_DsReplicaNeighbour_transport_obj_guid,
26051 { "Transport Obj Guid", "drsuapi.drsuapi_DsReplicaNeighbour.transport_obj_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26052 { &hf_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr_mappings,
26053 { "Mappings", "drsuapi.drsuapi_DsReplicaOIDMapping_Ctr.mappings", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26054 { &hf_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr_num_mappings,
26055 { "Num Mappings", "drsuapi.drsuapi_DsReplicaOIDMapping_Ctr.num_mappings", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26056 { &hf_drsuapi_drsuapi_DsReplicaOIDMapping_id_prefix,
26057 { "Id Prefix", "drsuapi.drsuapi_DsReplicaOIDMapping.id_prefix", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26058 { &hf_drsuapi_drsuapi_DsReplicaOIDMapping_oid,
26059 { "Oid", "drsuapi.drsuapi_DsReplicaOIDMapping.oid", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26060 { &hf_drsuapi_drsuapi_DsReplicaOID_binary_oid,
26061 { "Binary Oid", "drsuapi.drsuapi_DsReplicaOID.binary_oid", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
26062 { &hf_drsuapi_drsuapi_DsReplicaOID_length,
26063 { "Length", "drsuapi.drsuapi_DsReplicaOID.length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26064 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_array,
26065 { "Array", "drsuapi.drsuapi_DsReplicaObjMetaData2Ctr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26066 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_count,
26067 { "Count", "drsuapi.drsuapi_DsReplicaObjMetaData2Ctr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26068 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context,
26069 { "Enumeration Context", "drsuapi.drsuapi_DsReplicaObjMetaData2Ctr.enumeration_context", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26070 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2_attribute_name,
26071 { "Attribute Name", "drsuapi.drsuapi_DsReplicaObjMetaData2.attribute_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26072 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2_local_usn,
26073 { "Local Usn", "drsuapi.drsuapi_DsReplicaObjMetaData2.local_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
26074 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_change_time,
26075 { "Originating Change Time", "drsuapi.drsuapi_DsReplicaObjMetaData2.originating_change_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
26076 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_dsa_dn,
26077 { "Originating Dsa Dn", "drsuapi.drsuapi_DsReplicaObjMetaData2.originating_dsa_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26078 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_invocation_id,
26079 { "Originating Invocation Id", "drsuapi.drsuapi_DsReplicaObjMetaData2.originating_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26080 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_usn,
26081 { "Originating Usn", "drsuapi.drsuapi_DsReplicaObjMetaData2.originating_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
26082 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2_version,
26083 { "Version", "drsuapi.drsuapi_DsReplicaObjMetaData2.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26084 { &hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_array,
26085 { "Array", "drsuapi.drsuapi_DsReplicaObjMetaDataCtr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26086 { &hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_count,
26087 { "Count", "drsuapi.drsuapi_DsReplicaObjMetaDataCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26088 { &hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_reserved,
26089 { "Reserved", "drsuapi.drsuapi_DsReplicaObjMetaDataCtr.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26090 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData_attribute_name,
26091 { "Attribute Name", "drsuapi.drsuapi_DsReplicaObjMetaData.attribute_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26092 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData_local_usn,
26093 { "Local Usn", "drsuapi.drsuapi_DsReplicaObjMetaData.local_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
26094 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_change_time,
26095 { "Originating Change Time", "drsuapi.drsuapi_DsReplicaObjMetaData.originating_change_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
26096 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_invocation_id,
26097 { "Originating Invocation Id", "drsuapi.drsuapi_DsReplicaObjMetaData.originating_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26098 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_usn,
26099 { "Originating Usn", "drsuapi.drsuapi_DsReplicaObjMetaData.originating_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
26100 { &hf_drsuapi_drsuapi_DsReplicaObjMetaData_version,
26101 { "Version", "drsuapi.drsuapi_DsReplicaObjMetaData.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26102 { &hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC,
26103 { "DRSUAPI DS REPLICA OBJECT DYNAMIC", "drsuapi.drsuapi_DsReplicaObjectFlags.DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC", FT_BOOLEAN, 32, TFS(&drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC_tfs), ( 0x00000002 ), NULL, HFILL }},
26104 { &hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER,
26105 { "DRSUAPI DS REPLICA OBJECT FROM MASTER", "drsuapi.drsuapi_DsReplicaObjectFlags.DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER", FT_BOOLEAN, 32, TFS(&drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER_tfs), ( 0x00000001 ), NULL, HFILL }},
26106 { &hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY,
26107 { "DRSUAPI DS REPLICA OBJECT REMOTE MODIFY", "drsuapi.drsuapi_DsReplicaObjectFlags.DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY", FT_BOOLEAN, 32, TFS(&drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY_tfs), ( 0x00010000 ), NULL, HFILL }},
26108 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier2_guid,
26109 { "Guid", "drsuapi.drsuapi_DsReplicaObjectIdentifier2.guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26110 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier2_sid,
26111 { "Sid", "drsuapi.drsuapi_DsReplicaObjectIdentifier2.sid", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26112 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size,
26113 { "Ndr Size", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.__ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26114 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_binary,
26115 { "Ndr Size Binary", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.__ndr_size_binary", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26116 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_dn,
26117 { "Ndr Size Dn", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.__ndr_size_dn", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26118 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_sid,
26119 { "Ndr Size Sid", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.__ndr_size_sid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26120 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_binary,
26121 { "Binary", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.binary", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26122 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_dn,
26123 { "Dn", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26124 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_guid,
26125 { "Guid", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26126 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_sid,
26127 { "Sid", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.sid", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26128 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size,
26129 { "Ndr Size", "drsuapi.drsuapi_DsReplicaObjectIdentifier3.__ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26130 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size_dn,
26131 { "Ndr Size Dn", "drsuapi.drsuapi_DsReplicaObjectIdentifier3.__ndr_size_dn", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26132 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size_sid,
26133 { "Ndr Size Sid", "drsuapi.drsuapi_DsReplicaObjectIdentifier3.__ndr_size_sid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26134 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_dn,
26135 { "Dn", "drsuapi.drsuapi_DsReplicaObjectIdentifier3.dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26136 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_guid,
26137 { "Guid", "drsuapi.drsuapi_DsReplicaObjectIdentifier3.guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26138 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_sid,
26139 { "Sid", "drsuapi.drsuapi_DsReplicaObjectIdentifier3.sid", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26140 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size,
26141 { "Ndr Size", "drsuapi.drsuapi_DsReplicaObjectIdentifier.__ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26142 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size_dn,
26143 { "Ndr Size Dn", "drsuapi.drsuapi_DsReplicaObjectIdentifier.__ndr_size_dn", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26144 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size_sid,
26145 { "Ndr Size Sid", "drsuapi.drsuapi_DsReplicaObjectIdentifier.__ndr_size_sid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26146 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_dn,
26147 { "Dn", "drsuapi.drsuapi_DsReplicaObjectIdentifier.dn", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26148 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_guid,
26149 { "Guid", "drsuapi.drsuapi_DsReplicaObjectIdentifier.guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26150 { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_sid,
26151 { "Sid", "drsuapi.drsuapi_DsReplicaObjectIdentifier.sid", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26152 { &hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_is_nc_prefix,
26153 { "Is Nc Prefix", "drsuapi.drsuapi_DsReplicaObjectListItemEx.is_nc_prefix", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26154 { &hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_meta_data_ctr,
26155 { "Meta Data Ctr", "drsuapi.drsuapi_DsReplicaObjectListItemEx.meta_data_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26156 { &hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_next_object,
26157 { "Next Object", "drsuapi.drsuapi_DsReplicaObjectListItemEx.next_object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26158 { &hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_object,
26159 { "Object", "drsuapi.drsuapi_DsReplicaObjectListItemEx.object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26160 { &hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_parent_object_guid,
26161 { "Parent Object Guid", "drsuapi.drsuapi_DsReplicaObjectListItemEx.parent_object_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26162 { &hf_drsuapi_drsuapi_DsReplicaObjectListItem_next_object,
26163 { "Next Object", "drsuapi.drsuapi_DsReplicaObjectListItem.next_object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26164 { &hf_drsuapi_drsuapi_DsReplicaObjectListItem_object,
26165 { "Object", "drsuapi.drsuapi_DsReplicaObjectListItem.object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26166 { &hf_drsuapi_drsuapi_DsReplicaObject_attribute_ctr,
26167 { "Attribute Ctr", "drsuapi.drsuapi_DsReplicaObject.attribute_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26168 { &hf_drsuapi_drsuapi_DsReplicaObject_flags,
26169 { "Flags", "drsuapi.drsuapi_DsReplicaObject.flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
26170 { &hf_drsuapi_drsuapi_DsReplicaObject_identifier,
26171 { "Identifier", "drsuapi.drsuapi_DsReplicaObject.identifier", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26172 { &hf_drsuapi_drsuapi_DsReplicaOpCtr_array,
26173 { "Array", "drsuapi.drsuapi_DsReplicaOpCtr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26174 { &hf_drsuapi_drsuapi_DsReplicaOpCtr_count,
26175 { "Count", "drsuapi.drsuapi_DsReplicaOpCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26176 { &hf_drsuapi_drsuapi_DsReplicaOpCtr_time,
26177 { "Time", "drsuapi.drsuapi_DsReplicaOpCtr.time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
26178 { &hf_drsuapi_drsuapi_DsReplicaOp_nc_dn,
26179 { "Nc Dn", "drsuapi.drsuapi_DsReplicaOp.nc_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26180 { &hf_drsuapi_drsuapi_DsReplicaOp_nc_obj_guid,
26181 { "Nc Obj Guid", "drsuapi.drsuapi_DsReplicaOp.nc_obj_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26182 { &hf_drsuapi_drsuapi_DsReplicaOp_operation_start,
26183 { "Operation Start", "drsuapi.drsuapi_DsReplicaOp.operation_start", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
26184 { &hf_drsuapi_drsuapi_DsReplicaOp_operation_type,
26185 { "Operation Type", "drsuapi.drsuapi_DsReplicaOp.operation_type", FT_UINT1632, BASE_DEC, VALS(drsuapi_drsuapi_DsReplicaOpType_vals), 0, NULL, HFILL }},
26186 { &hf_drsuapi_drsuapi_DsReplicaOp_options,
26187 { "Options", "drsuapi.drsuapi_DsReplicaOp.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
26188 { &hf_drsuapi_drsuapi_DsReplicaOp_priority,
26189 { "Priority", "drsuapi.drsuapi_DsReplicaOp.priority", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26190 { &hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_address,
26191 { "Remote Dsa Address", "drsuapi.drsuapi_DsReplicaOp.remote_dsa_address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26192 { &hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_obj_dn,
26193 { "Remote Dsa Obj Dn", "drsuapi.drsuapi_DsReplicaOp.remote_dsa_obj_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26194 { &hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_obj_guid,
26195 { "Remote Dsa Obj Guid", "drsuapi.drsuapi_DsReplicaOp.remote_dsa_obj_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26196 { &hf_drsuapi_drsuapi_DsReplicaOp_serial_num,
26197 { "Serial Num", "drsuapi.drsuapi_DsReplicaOp.serial_num", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26198 { &hf_drsuapi_drsuapi_DsReplicaSyncRequest1_naming_context,
26199 { "Naming Context", "drsuapi.drsuapi_DsReplicaSyncRequest1.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26200 { &hf_drsuapi_drsuapi_DsReplicaSyncRequest1_options,
26201 { "Options", "drsuapi.drsuapi_DsReplicaSyncRequest1.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
26202 { &hf_drsuapi_drsuapi_DsReplicaSyncRequest1_source_dsa_dns,
26203 { "Source Dsa Dns", "drsuapi.drsuapi_DsReplicaSyncRequest1.source_dsa_dns", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26204 { &hf_drsuapi_drsuapi_DsReplicaSyncRequest1_source_dsa_guid,
26205 { "Source Dsa Guid", "drsuapi.drsuapi_DsReplicaSyncRequest1.source_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26206 { &hf_drsuapi_drsuapi_DsReplicaSyncRequest2_correlationID,
26207 { "CorrelationID", "drsuapi.drsuapi_DsReplicaSyncRequest2.correlationID", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26208 { &hf_drsuapi_drsuapi_DsReplicaSyncRequest2_naming_context,
26209 { "Naming Context", "drsuapi.drsuapi_DsReplicaSyncRequest2.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26210 { &hf_drsuapi_drsuapi_DsReplicaSyncRequest2_options,
26211 { "Options", "drsuapi.drsuapi_DsReplicaSyncRequest2.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
26212 { &hf_drsuapi_drsuapi_DsReplicaSyncRequest2_reserved_buffer,
26213 { "Reserved Buffer", "drsuapi.drsuapi_DsReplicaSyncRequest2.reserved_buffer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26214 { &hf_drsuapi_drsuapi_DsReplicaSyncRequest2_source_dsa_dns,
26215 { "Source Dsa Dns", "drsuapi.drsuapi_DsReplicaSyncRequest2.source_dsa_dns", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26216 { &hf_drsuapi_drsuapi_DsReplicaSyncRequest2_source_dsa_guid,
26217 { "Source Dsa Guid", "drsuapi.drsuapi_DsReplicaSyncRequest2.source_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26218 { &hf_drsuapi_drsuapi_DsReplicaSyncRequest_req1,
26219 { "Req1", "drsuapi.drsuapi_DsReplicaSyncRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26220 { &hf_drsuapi_drsuapi_DsReplicaSyncRequest_req2,
26221 { "Req2", "drsuapi.drsuapi_DsReplicaSyncRequest.req2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26222 { &hf_drsuapi_drsuapi_DsReplicaSync_bind_handle,
26223 { "Bind Handle", "drsuapi.drsuapi_DsReplicaSync.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
26224 { &hf_drsuapi_drsuapi_DsReplicaSync_level,
26225 { "Level", "drsuapi.drsuapi_DsReplicaSync.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26226 { &hf_drsuapi_drsuapi_DsReplicaSync_req,
26227 { "Req", "drsuapi.drsuapi_DsReplicaSync.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26228 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name,
26229 { "Dest Dsa Dns Name", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest1.dest_dsa_dns_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26230 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid,
26231 { "Dest Dsa Guid", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest1.dest_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26232 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_naming_context,
26233 { "Naming Context", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest1.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26234 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_options,
26235 { "Options", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest1.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
26236 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_correlationID,
26237 { "CorrelationID", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest2.correlationID", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26238 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_dest_dsa_dns_name,
26239 { "Dest Dsa Dns Name", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest2.dest_dsa_dns_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26240 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_dest_dsa_guid,
26241 { "Dest Dsa Guid", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest2.dest_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26242 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_naming_context,
26243 { "Naming Context", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest2.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26244 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_options,
26245 { "Options", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest2.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
26246 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2_reserved_buffer,
26247 { "Reserved Buffer", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest2.reserved_buffer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26248 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest_req1,
26249 { "Req1", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26250 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest_req2,
26251 { "Req2", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest.req2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26252 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefs_bind_handle,
26253 { "Bind Handle", "drsuapi.drsuapi_DsReplicaUpdateRefs.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
26254 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefs_level,
26255 { "Level", "drsuapi.drsuapi_DsReplicaUpdateRefs.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26256 { &hf_drsuapi_drsuapi_DsReplicaUpdateRefs_req,
26257 { "Req", "drsuapi.drsuapi_DsReplicaUpdateRefs.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26258 { &hf_drsuapi_drsuapi_DsSiteCostInfo_error_code,
26259 { "Error Code", "drsuapi.drsuapi_DsSiteCostInfo.error_code", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
26260 { &hf_drsuapi_drsuapi_DsSiteCostInfo_site_cost,
26261 { "Site Cost", "drsuapi.drsuapi_DsSiteCostInfo.site_cost", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26262 { &hf_drsuapi_drsuapi_DsUnbind_bind_handle,
26263 { "Bind Handle", "drsuapi.drsuapi_DsUnbind.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
26264 { &hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_count,
26265 { "Count", "drsuapi.drsuapi_DsWriteAccountSpnRequest1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26266 { &hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_object_dn,
26267 { "Object Dn", "drsuapi.drsuapi_DsWriteAccountSpnRequest1.object_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26268 { &hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_operation,
26269 { "Operation", "drsuapi.drsuapi_DsWriteAccountSpnRequest1.operation", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsSpnOperation_vals), 0, NULL, HFILL }},
26270 { &hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_spn_names,
26271 { "Spn Names", "drsuapi.drsuapi_DsWriteAccountSpnRequest1.spn_names", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26272 { &hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_unknown1,
26273 { "Unknown1", "drsuapi.drsuapi_DsWriteAccountSpnRequest1.unknown1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26274 { &hf_drsuapi_drsuapi_DsWriteAccountSpnRequest_req1,
26275 { "Req1", "drsuapi.drsuapi_DsWriteAccountSpnRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26276 { &hf_drsuapi_drsuapi_DsWriteAccountSpnResult1_status,
26277 { "Status", "drsuapi.drsuapi_DsWriteAccountSpnResult1.status", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
26278 { &hf_drsuapi_drsuapi_DsWriteAccountSpnResult_res1,
26279 { "Res1", "drsuapi.drsuapi_DsWriteAccountSpnResult.res1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26280 { &hf_drsuapi_drsuapi_DsWriteAccountSpn_bind_handle,
26281 { "Bind Handle", "drsuapi.drsuapi_DsWriteAccountSpn.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
26282 { &hf_drsuapi_drsuapi_DsWriteAccountSpn_level,
26283 { "Level", "drsuapi.drsuapi_DsWriteAccountSpn.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26284 { &hf_drsuapi_drsuapi_DsWriteAccountSpn_level_out,
26285 { "Level Out", "drsuapi.drsuapi_DsWriteAccountSpn.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26286 { &hf_drsuapi_drsuapi_DsWriteAccountSpn_req,
26287 { "Req", "drsuapi.drsuapi_DsWriteAccountSpn.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26288 { &hf_drsuapi_drsuapi_DsWriteAccountSpn_res,
26289 { "Res", "drsuapi.drsuapi_DsWriteAccountSpn.res", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26290 { &hf_drsuapi_drsuapi_DsaAddressListItem_V1_address,
26291 { "Address", "drsuapi.drsuapi_DsaAddressListItem_V1.address", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26292 { &hf_drsuapi_drsuapi_DsaAddressListItem_V1_next,
26293 { "Next", "drsuapi.drsuapi_DsaAddressListItem_V1.next", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26294 { &hf_drsuapi_drsuapi_FinishDemotionCtr1_op_error,
26295 { "Op Error", "drsuapi.drsuapi_FinishDemotionCtr1.op_error", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
26296 { &hf_drsuapi_drsuapi_FinishDemotionCtr1_op_failed,
26297 { "Op Failed", "drsuapi.drsuapi_FinishDemotionCtr1.op_failed", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26298 { &hf_drsuapi_drsuapi_FinishDemotionCtr1_operations_done,
26299 { "Operations Done", "drsuapi.drsuapi_FinishDemotionCtr1.operations_done", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26300 { &hf_drsuapi_drsuapi_FinishDemotionCtr_ctr1,
26301 { "Ctr1", "drsuapi.drsuapi_FinishDemotionCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26302 { &hf_drsuapi_drsuapi_FinishDemotionRequest1_operations,
26303 { "Operations", "drsuapi.drsuapi_FinishDemotionRequest1.operations", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26304 { &hf_drsuapi_drsuapi_FinishDemotionRequest1_script_base,
26305 { "Script Base", "drsuapi.drsuapi_FinishDemotionRequest1.script_base", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26306 { &hf_drsuapi_drsuapi_FinishDemotionRequest1_uuid_helper_dest,
26307 { "Uuid Helper Dest", "drsuapi.drsuapi_FinishDemotionRequest1.uuid_helper_dest", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26308 { &hf_drsuapi_drsuapi_FinishDemotionRequest_req1,
26309 { "Req1", "drsuapi.drsuapi_FinishDemotionRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26310 { &hf_drsuapi_drsuapi_FinishDemotion_bind_handle,
26311 { "Bind Handle", "drsuapi.drsuapi_FinishDemotion.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
26312 { &hf_drsuapi_drsuapi_FinishDemotion_ctr,
26313 { "Ctr", "drsuapi.drsuapi_FinishDemotion.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26314 { &hf_drsuapi_drsuapi_FinishDemotion_in_version,
26315 { "In Version", "drsuapi.drsuapi_FinishDemotion.in_version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26316 { &hf_drsuapi_drsuapi_FinishDemotion_out_version,
26317 { "Out Version", "drsuapi.drsuapi_FinishDemotion.out_version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26318 { &hf_drsuapi_drsuapi_FinishDemotion_req,
26319 { "Req", "drsuapi.drsuapi_FinishDemotion.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26320 { &hf_drsuapi_drsuapi_InitDemotionCtr1_op_error,
26321 { "Op Error", "drsuapi.drsuapi_InitDemotionCtr1.op_error", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
26322 { &hf_drsuapi_drsuapi_InitDemotionCtr_ctr1,
26323 { "Ctr1", "drsuapi.drsuapi_InitDemotionCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26324 { &hf_drsuapi_drsuapi_InitDemotionRequest1_reserved,
26325 { "Reserved", "drsuapi.drsuapi_InitDemotionRequest1.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26326 { &hf_drsuapi_drsuapi_InitDemotionRequest_req1,
26327 { "Req1", "drsuapi.drsuapi_InitDemotionRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26328 { &hf_drsuapi_drsuapi_InitDemotion_bind_handle,
26329 { "Bind Handle", "drsuapi.drsuapi_InitDemotion.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
26330 { &hf_drsuapi_drsuapi_InitDemotion_ctr,
26331 { "Ctr", "drsuapi.drsuapi_InitDemotion.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26332 { &hf_drsuapi_drsuapi_InitDemotion_in_version,
26333 { "In Version", "drsuapi.drsuapi_InitDemotion.in_version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26334 { &hf_drsuapi_drsuapi_InitDemotion_out_version,
26335 { "Out Version", "drsuapi.drsuapi_InitDemotion.out_version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26336 { &hf_drsuapi_drsuapi_InitDemotion_req,
26337 { "Req", "drsuapi.drsuapi_InitDemotion.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26338 { &hf_drsuapi_drsuapi_NameResOp_V1_name_res,
26339 { "Name Res", "drsuapi.drsuapi_NameResOp_V1.name_res", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
26340 { &hf_drsuapi_drsuapi_NameResOp_V1_next_rdn,
26341 { "Next Rdn", "drsuapi.drsuapi_NameResOp_V1.next_rdn", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26342 { &hf_drsuapi_drsuapi_NameResOp_V1_unused_pad,
26343 { "Unused Pad", "drsuapi.drsuapi_NameResOp_V1.unused_pad", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
26344 { &hf_drsuapi_drsuapi_QuerySitesByCostCtr1_flags_reserved,
26345 { "Flags Reserved", "drsuapi.drsuapi_QuerySitesByCostCtr1.flags_reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26346 { &hf_drsuapi_drsuapi_QuerySitesByCostCtr1_info,
26347 { "Info", "drsuapi.drsuapi_QuerySitesByCostCtr1.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26348 { &hf_drsuapi_drsuapi_QuerySitesByCostCtr1_num_info,
26349 { "Num Info", "drsuapi.drsuapi_QuerySitesByCostCtr1.num_info", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26350 { &hf_drsuapi_drsuapi_QuerySitesByCostCtr_ctr1,
26351 { "Ctr1", "drsuapi.drsuapi_QuerySitesByCostCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26352 { &hf_drsuapi_drsuapi_QuerySitesByCostRequest1_flags,
26353 { "Flags", "drsuapi.drsuapi_QuerySitesByCostRequest1.flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26354 { &hf_drsuapi_drsuapi_QuerySitesByCostRequest1_num_req,
26355 { "Num Req", "drsuapi.drsuapi_QuerySitesByCostRequest1.num_req", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26356 { &hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_from,
26357 { "Site From", "drsuapi.drsuapi_QuerySitesByCostRequest1.site_from", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26358 { &hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_to,
26359 { "Site To", "drsuapi.drsuapi_QuerySitesByCostRequest1.site_to", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26360 { &hf_drsuapi_drsuapi_QuerySitesByCostRequest_req1,
26361 { "Req1", "drsuapi.drsuapi_QuerySitesByCostRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26362 { &hf_drsuapi_drsuapi_QuerySitesByCost_bind_handle,
26363 { "Bind Handle", "drsuapi.drsuapi_QuerySitesByCost.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
26364 { &hf_drsuapi_drsuapi_QuerySitesByCost_ctr,
26365 { "Ctr", "drsuapi.drsuapi_QuerySitesByCost.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26366 { &hf_drsuapi_drsuapi_QuerySitesByCost_level,
26367 { "Level", "drsuapi.drsuapi_QuerySitesByCost.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26368 { &hf_drsuapi_drsuapi_QuerySitesByCost_level_out,
26369 { "Level Out", "drsuapi.drsuapi_QuerySitesByCost.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26370 { &hf_drsuapi_drsuapi_QuerySitesByCost_req,
26371 { "Req", "drsuapi.drsuapi_QuerySitesByCost.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26372 { &hf_drsuapi_drsuapi_ReadNgcKeyCtr1_ngc_key,
26373 { "Ngc Key", "drsuapi.drsuapi_ReadNgcKeyCtr1.ngc_key", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
26374 { &hf_drsuapi_drsuapi_ReadNgcKeyCtr1_ngc_key_size,
26375 { "Ngc Key Size", "drsuapi.drsuapi_ReadNgcKeyCtr1.ngc_key_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26376 { &hf_drsuapi_drsuapi_ReadNgcKeyCtr1_ret_val,
26377 { "Ret Val", "drsuapi.drsuapi_ReadNgcKeyCtr1.ret_val", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
26378 { &hf_drsuapi_drsuapi_ReadNgcKeyCtr_ctr1,
26379 { "Ctr1", "drsuapi.drsuapi_ReadNgcKeyCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26380 { &hf_drsuapi_drsuapi_ReadNgcKeyRequest1_account,
26381 { "Account", "drsuapi.drsuapi_ReadNgcKeyRequest1.account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26382 { &hf_drsuapi_drsuapi_ReadNgcKeyRequest_req1,
26383 { "Req1", "drsuapi.drsuapi_ReadNgcKeyRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26384 { &hf_drsuapi_drsuapi_ReadNgcKey_bind_handle,
26385 { "Bind Handle", "drsuapi.drsuapi_ReadNgcKey.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
26386 { &hf_drsuapi_drsuapi_ReadNgcKey_ctr,
26387 { "Ctr", "drsuapi.drsuapi_ReadNgcKey.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26388 { &hf_drsuapi_drsuapi_ReadNgcKey_in_version,
26389 { "In Version", "drsuapi.drsuapi_ReadNgcKey.in_version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26390 { &hf_drsuapi_drsuapi_ReadNgcKey_out_version,
26391 { "Out Version", "drsuapi.drsuapi_ReadNgcKey.out_version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26392 { &hf_drsuapi_drsuapi_ReadNgcKey_req,
26393 { "Req", "drsuapi.drsuapi_ReadNgcKey.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26394 { &hf_drsuapi_drsuapi_ReplicaDemotionCtr1_op_error,
26395 { "Op Error", "drsuapi.drsuapi_ReplicaDemotionCtr1.op_error", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
26396 { &hf_drsuapi_drsuapi_ReplicaDemotionCtr_ctr1,
26397 { "Ctr1", "drsuapi.drsuapi_ReplicaDemotionCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26398 { &hf_drsuapi_drsuapi_ReplicaDemotionRequest1_flags,
26399 { "Flags", "drsuapi.drsuapi_ReplicaDemotionRequest1.flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26400 { &hf_drsuapi_drsuapi_ReplicaDemotionRequest1_naming_context,
26401 { "Naming Context", "drsuapi.drsuapi_ReplicaDemotionRequest1.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26402 { &hf_drsuapi_drsuapi_ReplicaDemotionRequest1_uuid_helper_dest,
26403 { "Uuid Helper Dest", "drsuapi.drsuapi_ReplicaDemotionRequest1.uuid_helper_dest", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
26404 { &hf_drsuapi_drsuapi_ReplicaDemotionRequest_req1,
26405 { "Req1", "drsuapi.drsuapi_ReplicaDemotionRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26406 { &hf_drsuapi_drsuapi_ReplicaDemotion_bind_handle,
26407 { "Bind Handle", "drsuapi.drsuapi_ReplicaDemotion.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
26408 { &hf_drsuapi_drsuapi_ReplicaDemotion_ctr,
26409 { "Ctr", "drsuapi.drsuapi_ReplicaDemotion.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26410 { &hf_drsuapi_drsuapi_ReplicaDemotion_in_version,
26411 { "In Version", "drsuapi.drsuapi_ReplicaDemotion.in_version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26412 { &hf_drsuapi_drsuapi_ReplicaDemotion_out_version,
26413 { "Out Version", "drsuapi.drsuapi_ReplicaDemotion.out_version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26414 { &hf_drsuapi_drsuapi_ReplicaDemotion_req,
26415 { "Req", "drsuapi.drsuapi_ReplicaDemotion.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26416 { &hf_drsuapi_drsuapi_SecBufferDesc_buff_count,
26417 { "Buff Count", "drsuapi.drsuapi_SecBufferDesc.buff_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26418 { &hf_drsuapi_drsuapi_SecBufferDesc_buffers,
26419 { "Buffers", "drsuapi.drsuapi_SecBufferDesc.buffers", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26420 { &hf_drsuapi_drsuapi_SecBufferDesc_version,
26421 { "Version", "drsuapi.drsuapi_SecBufferDesc.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26422 { &hf_drsuapi_drsuapi_SecBuffer_buf_size,
26423 { "Buf Size", "drsuapi.drsuapi_SecBuffer.buf_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26424 { &hf_drsuapi_drsuapi_SecBuffer_buf_type,
26425 { "Buf Type", "drsuapi.drsuapi_SecBuffer.buf_type", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_SecBufferType_vals), 0, NULL, HFILL }},
26426 { &hf_drsuapi_drsuapi_SecBuffer_buffer,
26427 { "Buffer", "drsuapi.drsuapi_SecBuffer.buffer", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
26428 { &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_00000008,
26429 { "DRSUAPI SUPPORTED EXTENSION 00000008", "drsuapi.drsuapi_SupportedExtensionsExt.DRSUAPI_SUPPORTED_EXTENSION_00000008", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_00000008_tfs), ( 0x00000008 ), NULL, HFILL }},
26430 { &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_ADAM,
26431 { "DRSUAPI SUPPORTED EXTENSION ADAM", "drsuapi.drsuapi_SupportedExtensionsExt.DRSUAPI_SUPPORTED_EXTENSION_ADAM", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_ADAM_tfs), ( 0x00000001 ), NULL, HFILL }},
26432 { &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V9,
26433 { "DRSUAPI SUPPORTED EXTENSION GETCHGREPLY V9", "drsuapi.drsuapi_SupportedExtensionsExt.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V9", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V9_tfs), ( 0x00000200 ), NULL, HFILL }},
26434 { &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2,
26435 { "DRSUAPI SUPPORTED EXTENSION LH BETA2", "drsuapi.drsuapi_SupportedExtensionsExt.DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2_tfs), ( 0x00000002 ), NULL, HFILL }},
26436 { &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN,
26437 { "DRSUAPI SUPPORTED EXTENSION RECYCLE BIN", "drsuapi.drsuapi_SupportedExtensionsExt.DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN_tfs), ( 0x00000004 ), NULL, HFILL }},
26438 { &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_RPC_CORRELATIONID_1,
26439 { "DRSUAPI SUPPORTED EXTENSION RPC CORRELATIONID 1", "drsuapi.drsuapi_SupportedExtensionsExt.DRSUAPI_SUPPORTED_EXTENSION_RPC_CORRELATIONID_1", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_RPC_CORRELATIONID_1_tfs), ( 0x00000800 ), NULL, HFILL }},
26440 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY,
26441 { "DRSUAPI SUPPORTED EXTENSION ADDENTRY", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_tfs), ( 0x00000080 ), NULL, HFILL }},
26442 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3,
26443 { "DRSUAPI SUPPORTED EXTENSION ADDENTRYREPLY V3", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3_tfs), ( 0x08000000 ), NULL, HFILL }},
26444 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2,
26445 { "DRSUAPI SUPPORTED EXTENSION ADDENTRY V2", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2_tfs), ( 0x00000200 ), NULL, HFILL }},
26446 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY,
26447 { "DRSUAPI SUPPORTED EXTENSION ADD SID HISTORY", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY_tfs), ( 0x00040000 ), NULL, HFILL }},
26448 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION,
26449 { "DRSUAPI SUPPORTED EXTENSION ASYNC REPLICATION", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION_tfs), ( 0x00000002 ), NULL, HFILL }},
26450 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE,
26451 { "DRSUAPI SUPPORTED EXTENSION BASE", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_BASE", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE_tfs), ( 0x00000001 ), NULL, HFILL }},
26452 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND,
26453 { "DRSUAPI SUPPORTED EXTENSION CRYPTO BIND", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND_tfs), ( 0x00002000 ), NULL, HFILL }},
26454 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01,
26455 { "DRSUAPI SUPPORTED EXTENSION DCINFO V01", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01_tfs), ( 0x00010000 ), NULL, HFILL }},
26456 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1,
26457 { "DRSUAPI SUPPORTED EXTENSION DCINFO V1", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1_tfs), ( 0x00000020 ), NULL, HFILL }},
26458 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2,
26459 { "DRSUAPI SUPPORTED EXTENSION DCINFO V2", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2_tfs), ( 0x00000800 ), NULL, HFILL }},
26460 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5,
26461 { "DRSUAPI SUPPORTED EXTENSION GETCHGREPLY V5", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5_tfs), ( 0x02000000 ), NULL, HFILL }},
26462 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6,
26463 { "DRSUAPI SUPPORTED EXTENSION GETCHGREPLY V6", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6_tfs), ( 0x04000000 ), NULL, HFILL }},
26464 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10,
26465 { "DRSUAPI SUPPORTED EXTENSION GETCHGREQ V10", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10_tfs), ( 0x20000000 ), NULL, HFILL }},
26466 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5,
26467 { "DRSUAPI SUPPORTED EXTENSION GETCHGREQ V5", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5_tfs), ( 0x00100000 ), NULL, HFILL }},
26468 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6,
26469 { "DRSUAPI SUPPORTED EXTENSION GETCHGREQ V6", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6_tfs), ( 0x00400000 ), NULL, HFILL }},
26470 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8,
26471 { "DRSUAPI SUPPORTED EXTENSION GETCHGREQ V8", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8_tfs), ( 0x01000000 ), NULL, HFILL }},
26472 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS,
26473 { "DRSUAPI SUPPORTED EXTENSION GETCHG COMPRESS", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS_tfs), ( 0x00000010 ), NULL, HFILL }},
26474 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2,
26475 { "DRSUAPI SUPPORTED EXTENSION GET MEMBERSHIPS2", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2_tfs), ( 0x00200000 ), NULL, HFILL }},
26476 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO,
26477 { "DRSUAPI SUPPORTED EXTENSION GET REPL INFO", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO_tfs), ( 0x00004000 ), NULL, HFILL }},
26478 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD,
26479 { "DRSUAPI SUPPORTED EXTENSION INSTANCE TYPE NOT REQ ON MOD", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD_tfs), ( 0x00001000 ), NULL, HFILL }},
26480 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE,
26481 { "DRSUAPI SUPPORTED EXTENSION KCC EXECUTE", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE_tfs), ( 0x00000100 ), NULL, HFILL }},
26482 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION,
26483 { "DRSUAPI SUPPORTED EXTENSION LINKED VALUE REPLICATION", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION_tfs), ( 0x00000400 ), NULL, HFILL }},
26484 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2,
26485 { "DRSUAPI SUPPORTED EXTENSION MOVEREQ V2", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2_tfs), ( 0x00000008 ), NULL, HFILL }},
26486 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS,
26487 { "DRSUAPI SUPPORTED EXTENSION NONDOMAIN NCS", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS_tfs), ( 0x00800000 ), NULL, HFILL }},
26488 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3,
26489 { "DRSUAPI SUPPORTED EXTENSION POST BETA3", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3_tfs), ( 0x00080000 ), NULL, HFILL }},
26490 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI,
26491 { "DRSUAPI SUPPORTED EXTENSION REMOVEAPI", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI_tfs), ( 0x00000004 ), NULL, HFILL }},
26492 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2,
26493 { "DRSUAPI SUPPORTED EXTENSION RESERVED PART2", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2_tfs), ( 0x40000000 ), NULL, HFILL }},
26494 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3,
26495 { "DRSUAPI SUPPORTED EXTENSION RESERVED PART3", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3_tfs), ( 0x80000000 ), NULL, HFILL }},
26496 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION,
26497 { "DRSUAPI SUPPORTED EXTENSION RESTORE USN OPTIMIZATION", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION_tfs), ( 0x00000040 ), NULL, HFILL }},
26498 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION,
26499 { "DRSUAPI SUPPORTED EXTENSION STRONG ENCRYPTION", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION_tfs), ( 0x00008000 ), NULL, HFILL }},
26500 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP,
26501 { "DRSUAPI SUPPORTED EXTENSION TRANSITIVE MEMBERSHIP", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP_tfs), ( 0x00020000 ), NULL, HFILL }},
26502 { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS,
26503 { "DRSUAPI SUPPORTED EXTENSION XPRESS COMPRESS", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS_tfs), ( 0x10000000 ), NULL, HFILL }},
26504 { &hf_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION_buffer,
26505 { "Buffer", "drsuapi.drsuapi_VAR_SIZE_BUFFER_WITH_VERSION.buffer", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
26506 { &hf_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION_buffer_size,
26507 { "Buffer Size", "drsuapi.drsuapi_VAR_SIZE_BUFFER_WITH_VERSION.buffer_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26508 { &hf_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION_padding,
26509 { "Padding", "drsuapi.drsuapi_VAR_SIZE_BUFFER_WITH_VERSION.padding", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
26510 { &hf_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION_version,
26511 { "Version", "drsuapi.drsuapi_VAR_SIZE_BUFFER_WITH_VERSION.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26512 { &hf_drsuapi_drsuapi_WriteNgcKeyCtr1_ret_val,
26513 { "Ret Val", "drsuapi.drsuapi_WriteNgcKeyCtr1.ret_val", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
26514 { &hf_drsuapi_drsuapi_WriteNgcKeyCtr_ctr1,
26515 { "Ctr1", "drsuapi.drsuapi_WriteNgcKeyCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26516 { &hf_drsuapi_drsuapi_WriteNgcKeyRequest1_account,
26517 { "Account", "drsuapi.drsuapi_WriteNgcKeyRequest1.account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26518 { &hf_drsuapi_drsuapi_WriteNgcKeyRequest1_ngc_key,
26519 { "Ngc Key", "drsuapi.drsuapi_WriteNgcKeyRequest1.ngc_key", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
26520 { &hf_drsuapi_drsuapi_WriteNgcKeyRequest1_ngc_key_size,
26521 { "Ngc Key Size", "drsuapi.drsuapi_WriteNgcKeyRequest1.ngc_key_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26522 { &hf_drsuapi_drsuapi_WriteNgcKeyRequest_req1,
26523 { "Req1", "drsuapi.drsuapi_WriteNgcKeyRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26524 { &hf_drsuapi_drsuapi_WriteNgcKey_bind_handle,
26525 { "Bind Handle", "drsuapi.drsuapi_WriteNgcKey.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
26526 { &hf_drsuapi_drsuapi_WriteNgcKey_ctr,
26527 { "Ctr", "drsuapi.drsuapi_WriteNgcKey.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26528 { &hf_drsuapi_drsuapi_WriteNgcKey_in_version,
26529 { "In Version", "drsuapi.drsuapi_WriteNgcKey.in_version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26530 { &hf_drsuapi_drsuapi_WriteNgcKey_out_version,
26531 { "Out Version", "drsuapi.drsuapi_WriteNgcKey.out_version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26532 { &hf_drsuapi_drsuapi_WriteNgcKey_req,
26533 { "Req", "drsuapi.drsuapi_WriteNgcKey.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26534 { &hf_drsuapi_lsa_String_length,
26535 { "Length", "drsuapi.lsa_String.length", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26536 { &hf_drsuapi_lsa_String_size,
26537 { "Size", "drsuapi.lsa_String.size", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26538 { &hf_drsuapi_lsa_String_string,
26539 { "String", "drsuapi.lsa_String.string", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26540 { &hf_drsuapi_opnum,
26541 { "Operation", "drsuapi.opnum", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26542 { &hf_drsuapi_package_PrimaryKerberosBlob_ctr,
26543 { "Ctr", "drsuapi.package_PrimaryKerberosBlob.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26544 { &hf_drsuapi_package_PrimaryKerberosBlob_flags,
26545 { "Flags", "drsuapi.package_PrimaryKerberosBlob.flags", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26546 { &hf_drsuapi_package_PrimaryKerberosBlob_version,
26547 { "Version", "drsuapi.package_PrimaryKerberosBlob.version", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26548 { &hf_drsuapi_package_PrimaryKerberosCtr3_keys,
26549 { "Keys", "drsuapi.package_PrimaryKerberosCtr3.keys", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26550 { &hf_drsuapi_package_PrimaryKerberosCtr3_num_keys,
26551 { "Num Keys", "drsuapi.package_PrimaryKerberosCtr3.num_keys", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26552 { &hf_drsuapi_package_PrimaryKerberosCtr3_num_old_keys,
26553 { "Num Old Keys", "drsuapi.package_PrimaryKerberosCtr3.num_old_keys", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26554 { &hf_drsuapi_package_PrimaryKerberosCtr3_old_keys,
26555 { "Old Keys", "drsuapi.package_PrimaryKerberosCtr3.old_keys", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26556 { &hf_drsuapi_package_PrimaryKerberosCtr3_padding1,
26557 { "Padding1", "drsuapi.package_PrimaryKerberosCtr3.padding1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26558 { &hf_drsuapi_package_PrimaryKerberosCtr3_padding2,
26559 { "Padding2", "drsuapi.package_PrimaryKerberosCtr3.padding2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26560 { &hf_drsuapi_package_PrimaryKerberosCtr3_padding3,
26561 { "Padding3", "drsuapi.package_PrimaryKerberosCtr3.padding3", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26562 { &hf_drsuapi_package_PrimaryKerberosCtr3_padding4,
26563 { "Padding4", "drsuapi.package_PrimaryKerberosCtr3.padding4", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26564 { &hf_drsuapi_package_PrimaryKerberosCtr3_padding5,
26565 { "Padding5", "drsuapi.package_PrimaryKerberosCtr3.padding5", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26566 { &hf_drsuapi_package_PrimaryKerberosCtr3_salt,
26567 { "Salt", "drsuapi.package_PrimaryKerberosCtr3.salt", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26568 { &hf_drsuapi_package_PrimaryKerberosCtr4_default_iteration_count,
26569 { "Default Iteration Count", "drsuapi.package_PrimaryKerberosCtr4.default_iteration_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26570 { &hf_drsuapi_package_PrimaryKerberosCtr4_keys,
26571 { "Keys", "drsuapi.package_PrimaryKerberosCtr4.keys", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26572 { &hf_drsuapi_package_PrimaryKerberosCtr4_num_keys,
26573 { "Num Keys", "drsuapi.package_PrimaryKerberosCtr4.num_keys", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26574 { &hf_drsuapi_package_PrimaryKerberosCtr4_num_old_keys,
26575 { "Num Old Keys", "drsuapi.package_PrimaryKerberosCtr4.num_old_keys", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26576 { &hf_drsuapi_package_PrimaryKerberosCtr4_num_older_keys,
26577 { "Num Older Keys", "drsuapi.package_PrimaryKerberosCtr4.num_older_keys", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26578 { &hf_drsuapi_package_PrimaryKerberosCtr4_num_service_keys,
26579 { "Num Service Keys", "drsuapi.package_PrimaryKerberosCtr4.num_service_keys", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26580 { &hf_drsuapi_package_PrimaryKerberosCtr4_old_keys,
26581 { "Old Keys", "drsuapi.package_PrimaryKerberosCtr4.old_keys", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26582 { &hf_drsuapi_package_PrimaryKerberosCtr4_older_keys,
26583 { "Older Keys", "drsuapi.package_PrimaryKerberosCtr4.older_keys", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26584 { &hf_drsuapi_package_PrimaryKerberosCtr4_salt,
26585 { "Salt", "drsuapi.package_PrimaryKerberosCtr4.salt", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26586 { &hf_drsuapi_package_PrimaryKerberosCtr4_service_keys,
26587 { "Service Keys", "drsuapi.package_PrimaryKerberosCtr4.service_keys", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26588 { &hf_drsuapi_package_PrimaryKerberosCtr_ctr3,
26589 { "Ctr3", "drsuapi.package_PrimaryKerberosCtr.ctr3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26590 { &hf_drsuapi_package_PrimaryKerberosCtr_ctr4,
26591 { "Ctr4", "drsuapi.package_PrimaryKerberosCtr.ctr4", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26592 { &hf_drsuapi_package_PrimaryKerberosKey3_keytype,
26593 { "Keytype", "drsuapi.package_PrimaryKerberosKey3.keytype", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26594 { &hf_drsuapi_package_PrimaryKerberosKey3_reserved1,
26595 { "Reserved1", "drsuapi.package_PrimaryKerberosKey3.reserved1", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26596 { &hf_drsuapi_package_PrimaryKerberosKey3_reserved2,
26597 { "Reserved2", "drsuapi.package_PrimaryKerberosKey3.reserved2", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26598 { &hf_drsuapi_package_PrimaryKerberosKey3_reserved3,
26599 { "Reserved3", "drsuapi.package_PrimaryKerberosKey3.reserved3", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26600 { &hf_drsuapi_package_PrimaryKerberosKey3_value,
26601 { "Value", "drsuapi.package_PrimaryKerberosKey3.value", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
26602 { &hf_drsuapi_package_PrimaryKerberosKey3_value_len,
26603 { "Value Len", "drsuapi.package_PrimaryKerberosKey3.value_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26604 { &hf_drsuapi_package_PrimaryKerberosKey3_value_ofs,
26605 { "Value Ofs", "drsuapi.package_PrimaryKerberosKey3.value_ofs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26606 { &hf_drsuapi_package_PrimaryKerberosKey4_iteration_count,
26607 { "Iteration Count", "drsuapi.package_PrimaryKerberosKey4.iteration_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26608 { &hf_drsuapi_package_PrimaryKerberosKey4_keytype,
26609 { "Keytype", "drsuapi.package_PrimaryKerberosKey4.keytype", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26610 { &hf_drsuapi_package_PrimaryKerberosKey4_reserved1,
26611 { "Reserved1", "drsuapi.package_PrimaryKerberosKey4.reserved1", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26612 { &hf_drsuapi_package_PrimaryKerberosKey4_reserved2,
26613 { "Reserved2", "drsuapi.package_PrimaryKerberosKey4.reserved2", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26614 { &hf_drsuapi_package_PrimaryKerberosKey4_reserved3,
26615 { "Reserved3", "drsuapi.package_PrimaryKerberosKey4.reserved3", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26616 { &hf_drsuapi_package_PrimaryKerberosKey4_value,
26617 { "Value", "drsuapi.package_PrimaryKerberosKey4.value", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
26618 { &hf_drsuapi_package_PrimaryKerberosKey4_value_len,
26619 { "Value Len", "drsuapi.package_PrimaryKerberosKey4.value_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26620 { &hf_drsuapi_package_PrimaryKerberosKey4_value_ofs,
26621 { "Value Ofs", "drsuapi.package_PrimaryKerberosKey4.value_ofs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26622 { &hf_drsuapi_package_PrimaryKerberosString_length,
26623 { "Length", "drsuapi.package_PrimaryKerberosString.length", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26624 { &hf_drsuapi_package_PrimaryKerberosString_size,
26625 { "Size", "drsuapi.package_PrimaryKerberosString.size", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26626 { &hf_drsuapi_package_PrimaryKerberosString_string_ofs,
26627 { "String Ofs", "drsuapi.package_PrimaryKerberosString.string_ofs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26628 { &hf_drsuapi_pkb_PrimaryKerberosBlob,
26629 { "PrimaryKerberosBlob", "drsuapi.pkb.PrimaryKerberosBlob", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26630 { &hf_drsuapi_sch_supplementalCredentials,
26631 { "SupplementalCredentials", "drsuapi.sch.supplementalCredentials", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26632 { &hf_drsuapi_supplementalCredentialsBlob___ndr_size,
26633 { "Ndr Size", "drsuapi.supplementalCredentialsBlob.__ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26634 { &hf_drsuapi_supplementalCredentialsBlob_sub,
26635 { "Sub", "drsuapi.supplementalCredentialsBlob.sub", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26636 { &hf_drsuapi_supplementalCredentialsBlob_sub_,
26637 { "Subcontext length", "drsuapi.supplementalCredentialsBlob.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
26638 { &hf_drsuapi_supplementalCredentialsBlob_unknown1,
26639 { "Unknown1", "drsuapi.supplementalCredentialsBlob.unknown1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26640 { &hf_drsuapi_supplementalCredentialsBlob_unknown2,
26641 { "Unknown2", "drsuapi.supplementalCredentialsBlob.unknown2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
26642 { &hf_drsuapi_supplementalCredentialsBlob_unknown3,
26643 { "Unknown3", "drsuapi.supplementalCredentialsBlob.unknown3", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
26644 { &hf_drsuapi_supplementalCredentialsPackage_data,
26645 { "Data", "drsuapi.supplementalCredentialsPackage.data", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26646 { &hf_drsuapi_supplementalCredentialsPackage_data_len,
26647 { "Data Len", "drsuapi.supplementalCredentialsPackage.data_len", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26648 { &hf_drsuapi_supplementalCredentialsPackage_name,
26649 { "Name", "drsuapi.supplementalCredentialsPackage.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26650 { &hf_drsuapi_supplementalCredentialsPackage_name_len,
26651 { "Name Len", "drsuapi.supplementalCredentialsPackage.name_len", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26652 { &hf_drsuapi_supplementalCredentialsPackage_reserved,
26653 { "Reserved", "drsuapi.supplementalCredentialsPackage.reserved", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26654 { &hf_drsuapi_supplementalCredentialsSubBlob_num_packages,
26655 { "Num Packages", "drsuapi.supplementalCredentialsSubBlob.num_packages", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
26656 { &hf_drsuapi_supplementalCredentialsSubBlob_packages,
26657 { "Packages", "drsuapi.supplementalCredentialsSubBlob.packages", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
26658 { &hf_drsuapi_supplementalCredentialsSubBlob_prefix,
26659 { "Prefix", "drsuapi.supplementalCredentialsSubBlob.prefix", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
26660 { &hf_drsuapi_supplementalCredentialsSubBlob_signature,
26661 { "Signature", "drsuapi.supplementalCredentialsSubBlob.signature", FT_UINT1632, BASE_HEX, VALS(drsuapi_supplementalCredentialsSignature_vals), 0, NULL, HFILL }},
26662 { &hf_drsuapi_werror,
26663 { "Windows Error", "drsuapi.werror", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
26667 static int *ett[] = {
26668 &ett_dcerpc_drsuapi,
26669 &ett_drsuapi_lsa_String,
26670 &ett_drsuapi_supplementalCredentialsPackage,
26671 &ett_drsuapi_supplementalCredentialsSubBlob,
26672 &ett_drsuapi_supplementalCredentialsBlob,
26673 &ett_drsuapi_sch,
26674 &ett_drsuapi_package_PrimaryKerberosString,
26675 &ett_drsuapi_package_PrimaryKerberosKey3,
26676 &ett_drsuapi_package_PrimaryKerberosCtr3,
26677 &ett_drsuapi_package_PrimaryKerberosKey4,
26678 &ett_drsuapi_package_PrimaryKerberosCtr4,
26679 &ett_drsuapi_package_PrimaryKerberosCtr,
26680 &ett_drsuapi_package_PrimaryKerberosBlob,
26681 &ett_drsuapi_pkb,
26682 &ett_drsuapi_security_GroupAttrs,
26683 &ett_drsuapi_drsuapi_DrsOptions,
26684 &ett_drsuapi_drsuapi_DrsMoreOptions,
26685 &ett_drsuapi_drsuapi_DrsUpdate,
26686 &ett_drsuapi_drsuapi_VAR_SIZE_BUFFER_WITH_VERSION,
26687 &ett_drsuapi_drsuapi_SupportedExtensions,
26688 &ett_drsuapi_drsuapi_SupportedExtensionsExt,
26689 &ett_drsuapi_drsuapi_DsBindInfo24,
26690 &ett_drsuapi_drsuapi_DsBindInfo28,
26691 &ett_drsuapi_drsuapi_DsBindInfo32,
26692 &ett_drsuapi_drsuapi_DsBindInfo48,
26693 &ett_drsuapi_drsuapi_DsBindInfo52,
26694 &ett_drsuapi_drsuapi_DsBindInfoFallBack,
26695 &ett_drsuapi_drsuapi_DsBindInfo,
26696 &ett_drsuapi_drsuapi_DsBindInfoCtr,
26697 &ett_drsuapi_drsuapi_DsReplicaObjectIdentifier,
26698 &ett_drsuapi_drsuapi_DsReplicaSyncRequest1,
26699 &ett_drsuapi_drsuapi_DsReplicaSyncRequest2,
26700 &ett_drsuapi_drsuapi_DsReplicaSyncRequest,
26701 &ett_drsuapi_drsuapi_DsReplicaHighWaterMark,
26702 &ett_drsuapi_drsuapi_DsReplicaCursor,
26703 &ett_drsuapi_drsuapi_DsReplicaCursorCtrEx,
26704 &ett_drsuapi_drsuapi_DsGetNCChangesRequest5,
26705 &ett_drsuapi_drsuapi_DsReplicaOID,
26706 &ett_drsuapi_drsuapi_DsReplicaOIDMapping,
26707 &ett_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr,
26708 &ett_drsuapi_drsuapi_DsPartialAttributeSet,
26709 &ett_drsuapi_drsuapi_DsGetNCChangesRequest8,
26710 &ett_drsuapi_drsuapi_DsGetNCChangesRequest10,
26711 &ett_drsuapi_drsuapi_DsGetNCChangesRequest11,
26712 &ett_drsuapi_drsuapi_DsGetNCChangesRequest,
26713 &ett_drsuapi_drsuapi_DsReplicaCursor2,
26714 &ett_drsuapi_drsuapi_DsReplicaCursor2CtrEx,
26715 &ett_drsuapi_drsuapi_DsAttributeValue,
26716 &ett_drsuapi_drsuapi_DsAttributeValueCtr,
26717 &ett_drsuapi_drsuapi_DsReplicaObjectIdentifier3,
26718 &ett_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary,
26719 &ett_drsuapi_drsuapi_DsReplicaAttribute,
26720 &ett_drsuapi_drsuapi_DsReplicaAttributeCtr,
26721 &ett_drsuapi_drsuapi_DsReplicaObjectFlags,
26722 &ett_drsuapi_drsuapi_DsReplicaObject,
26723 &ett_drsuapi_drsuapi_DsReplicaMetaData,
26724 &ett_drsuapi_drsuapi_DsReplicaMetaDataCtr,
26725 &ett_drsuapi_drsuapi_DsReplicaObjectListItemEx,
26726 &ett_drsuapi_drsuapi_DsGetNCChangesCtr1,
26727 &ett_drsuapi_drsuapi_DsLinkedAttributeFlags,
26728 &ett_drsuapi_drsuapi_DsReplicaLinkedAttribute,
26729 &ett_drsuapi_drsuapi_DsReplicaLinkedAttribute3,
26730 &ett_drsuapi_drsuapi_DsGetNCChangesCtr6,
26731 &ett_drsuapi_drsuapi_DsGetNCChangesCtr9,
26732 &ett_drsuapi_drsuapi_DsGetNCChangesCtr1TS,
26733 &ett_drsuapi_drsuapi_DsGetNCChangesCtr6TS,
26734 &ett_drsuapi_drsuapi_DsGetNCChangesCtr9TS,
26735 &ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1,
26736 &ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6,
26737 &ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr9,
26738 &ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1,
26739 &ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6,
26740 &ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr9,
26741 &ett_drsuapi_drsuapi_DsGetNCChangesCompressedCtr,
26742 &ett_drsuapi_drsuapi_DsGetNCChangesCtr2,
26743 &ett_drsuapi_drsuapi_DsGetNCChangesCtr7,
26744 &ett_drsuapi_drsuapi_DsGetNCChangesCtr,
26745 &ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1,
26746 &ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest2,
26747 &ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest,
26748 &ett_drsuapi_drsuapi_DsReplicaAddRequest1,
26749 &ett_drsuapi_drsuapi_DsReplicaAddRequest2,
26750 &ett_drsuapi_drsuapi_DsReplicaAddRequest3,
26751 &ett_drsuapi_drsuapi_DsReplicaAddRequest,
26752 &ett_drsuapi_drsuapi_DsReplicaDelRequest1,
26753 &ett_drsuapi_drsuapi_DsReplicaDelRequest,
26754 &ett_drsuapi_drsuapi_DsReplicaModRequest1,
26755 &ett_drsuapi_drsuapi_DsReplicaModRequest,
26756 &ett_drsuapi_drsuapi_DsGetMembershipsCtr1,
26757 &ett_drsuapi_drsuapi_DsGetMembershipsCtr,
26758 &ett_drsuapi_drsuapi_DsGetMembershipsRequest1,
26759 &ett_drsuapi_drsuapi_DsGetMembershipsRequest,
26760 &ett_drsuapi_drsuapi_DsGetNT4ChangeLogFlags,
26761 &ett_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1,
26762 &ett_drsuapi_drsuapi_DsGetNT4ChangeLogRequest,
26763 &ett_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1,
26764 &ett_drsuapi_drsuapi_DsGetNT4ChangeLogInfo,
26765 &ett_drsuapi_drsuapi_DsNameString,
26766 &ett_drsuapi_drsuapi_DsNameRequest1,
26767 &ett_drsuapi_drsuapi_DsNameRequest,
26768 &ett_drsuapi_drsuapi_DsNameInfo1,
26769 &ett_drsuapi_drsuapi_DsNameCtr1,
26770 &ett_drsuapi_drsuapi_DsNameCtr,
26771 &ett_drsuapi_drsuapi_DsWriteAccountSpnRequest1,
26772 &ett_drsuapi_drsuapi_DsWriteAccountSpnRequest,
26773 &ett_drsuapi_drsuapi_DsWriteAccountSpnResult1,
26774 &ett_drsuapi_drsuapi_DsWriteAccountSpnResult,
26775 &ett_drsuapi_drsuapi_DsRemoveDSServerRequest1,
26776 &ett_drsuapi_drsuapi_DsRemoveDSServerRequest,
26777 &ett_drsuapi_drsuapi_DsRemoveDSServerResult1,
26778 &ett_drsuapi_drsuapi_DsRemoveDSServerResult,
26779 &ett_drsuapi_drsuapi_DsGetDCInfoRequest1,
26780 &ett_drsuapi_drsuapi_DsGetDCInfoRequest,
26781 &ett_drsuapi_drsuapi_DsGetDCInfo1,
26782 &ett_drsuapi_drsuapi_DsGetDCInfoCtr1,
26783 &ett_drsuapi_drsuapi_DsGetDCInfo2,
26784 &ett_drsuapi_drsuapi_DsGetDCInfoCtr2,
26785 &ett_drsuapi_drsuapi_DsGetDCInfo3,
26786 &ett_drsuapi_drsuapi_DsGetDCInfoCtr3,
26787 &ett_drsuapi_drsuapi_DsGetDCConnection01,
26788 &ett_drsuapi_drsuapi_DsGetDCConnectionCtr01,
26789 &ett_drsuapi_drsuapi_DsGetDCInfoCtr,
26790 &ett_drsuapi_drsuapi_DsReplicaObjectListItem,
26791 &ett_drsuapi_drsuapi_DsAddEntryRequest2,
26792 &ett_drsuapi_drsuapi_SecBuffer,
26793 &ett_drsuapi_drsuapi_SecBufferDesc,
26794 &ett_drsuapi_drsuapi_DsAddEntryRequest3,
26795 &ett_drsuapi_drsuapi_DsAddEntryRequest,
26796 &ett_drsuapi_drsuapi_DsAddEntryErrorInfoX,
26797 &ett_drsuapi_drsuapi_DsAddEntry_AttrErr_V1,
26798 &ett_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1,
26799 &ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1,
26800 &ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1,
26801 &ett_drsuapi_drsuapi_NameResOp_V1,
26802 &ett_drsuapi_drsuapi_DsaAddressListItem_V1,
26803 &ett_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1,
26804 &ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1,
26805 &ett_drsuapi_drsuapi_DsAddEntryErrorInfo,
26806 &ett_drsuapi_drsuapi_DsAddEntry_ErrData_V1,
26807 &ett_drsuapi_drsuapi_DsAddEntry_ErrData,
26808 &ett_drsuapi_drsuapi_DsReplicaObjectIdentifier2,
26809 &ett_drsuapi_drsuapi_DsAddEntryCtr2,
26810 &ett_drsuapi_drsuapi_DsAddEntryCtr3,
26811 &ett_drsuapi_drsuapi_DsAddEntryCtr,
26812 &ett_drsuapi_drsuapi_DsExecuteKCCFlags,
26813 &ett_drsuapi_drsuapi_DsExecuteKCC1,
26814 &ett_drsuapi_drsuapi_DsExecuteKCCRequest,
26815 &ett_drsuapi_drsuapi_DsReplicaGetInfoRequest1,
26816 &ett_drsuapi_drsuapi_DsReplicaGetInfoRequest2,
26817 &ett_drsuapi_drsuapi_DsReplicaGetInfoRequest,
26818 &ett_drsuapi_drsuapi_DsReplicaNeighbour,
26819 &ett_drsuapi_drsuapi_DsReplicaNeighbourCtr,
26820 &ett_drsuapi_drsuapi_DsReplicaCursorCtr,
26821 &ett_drsuapi_drsuapi_DsReplicaObjMetaData,
26822 &ett_drsuapi_drsuapi_DsReplicaObjMetaDataCtr,
26823 &ett_drsuapi_drsuapi_DsReplicaKccDsaFailure,
26824 &ett_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr,
26825 &ett_drsuapi_drsuapi_DsReplicaOp,
26826 &ett_drsuapi_drsuapi_DsReplicaOpCtr,
26827 &ett_drsuapi_drsuapi_DsReplicaAttrValMetaData,
26828 &ett_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr,
26829 &ett_drsuapi_drsuapi_DsReplicaCursor2Ctr,
26830 &ett_drsuapi_drsuapi_DsReplicaCursor3,
26831 &ett_drsuapi_drsuapi_DsReplicaCursor3Ctr,
26832 &ett_drsuapi_drsuapi_DsReplicaObjMetaData2,
26833 &ett_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr,
26834 &ett_drsuapi_drsuapi_DsReplicaAttrValMetaData2,
26835 &ett_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr,
26836 &ett_drsuapi_drsuapi_DsReplicaConnection04,
26837 &ett_drsuapi_drsuapi_DsReplicaConnection04Ctr,
26838 &ett_drsuapi_drsuapi_DsReplica06,
26839 &ett_drsuapi_drsuapi_DsReplica06Ctr,
26840 &ett_drsuapi_drsuapi_DsReplicaInfo,
26841 &ett_drsuapi_drsuapi_DsGetMemberships2Ctr1,
26842 &ett_drsuapi_drsuapi_DsGetMemberships2Ctr,
26843 &ett_drsuapi_drsuapi_DsGetMemberships2Request1,
26844 &ett_drsuapi_drsuapi_DsGetMemberships2Request,
26845 &ett_drsuapi_drsuapi_DsSiteCostInfo,
26846 &ett_drsuapi_drsuapi_QuerySitesByCostCtr1,
26847 &ett_drsuapi_drsuapi_QuerySitesByCostCtr,
26848 &ett_drsuapi_drsuapi_QuerySitesByCostRequest1,
26849 &ett_drsuapi_drsuapi_QuerySitesByCostRequest,
26850 &ett_drsuapi_drsuapi_InitDemotionRequest1,
26851 &ett_drsuapi_drsuapi_InitDemotionRequest,
26852 &ett_drsuapi_drsuapi_InitDemotionCtr1,
26853 &ett_drsuapi_drsuapi_InitDemotionCtr,
26854 &ett_drsuapi_drsuapi_ReplicaDemotionRequest1,
26855 &ett_drsuapi_drsuapi_ReplicaDemotionRequest,
26856 &ett_drsuapi_drsuapi_ReplicaDemotionCtr1,
26857 &ett_drsuapi_drsuapi_ReplicaDemotionCtr,
26858 &ett_drsuapi_drsuapi_FinishDemotionRequest1,
26859 &ett_drsuapi_drsuapi_FinishDemotionRequest,
26860 &ett_drsuapi_drsuapi_FinishDemotionCtr1,
26861 &ett_drsuapi_drsuapi_FinishDemotionCtr,
26862 &ett_drsuapi_drsuapi_AddCloneDCRequest1,
26863 &ett_drsuapi_drsuapi_AddCloneDCRequest,
26864 &ett_drsuapi_drsuapi_AddCloneDCCtr1,
26865 &ett_drsuapi_drsuapi_AddCloneDCCtr,
26866 &ett_drsuapi_drsuapi_WriteNgcKeyRequest1,
26867 &ett_drsuapi_drsuapi_WriteNgcKeyRequest,
26868 &ett_drsuapi_drsuapi_WriteNgcKeyCtr1,
26869 &ett_drsuapi_drsuapi_WriteNgcKeyCtr,
26870 &ett_drsuapi_drsuapi_ReadNgcKeyRequest1,
26871 &ett_drsuapi_drsuapi_ReadNgcKeyRequest,
26872 &ett_drsuapi_drsuapi_ReadNgcKeyCtr1,
26873 &ett_drsuapi_drsuapi_ReadNgcKeyCtr,
26876 proto_dcerpc_drsuapi = proto_register_protocol("Active Directory Replication", "DRSUAPI", "drsuapi");
26877 proto_register_field_array(proto_dcerpc_drsuapi, hf, array_length (hf));
26878 proto_register_subtree_array(ett, array_length(ett));
26881 void proto_reg_handoff_dcerpc_drsuapi(void)
26883 dcerpc_init_uuid(proto_dcerpc_drsuapi, ett_dcerpc_drsuapi,
26884 &uuid_dcerpc_drsuapi, ver_dcerpc_drsuapi,
26885 drsuapi_dissectors, hf_drsuapi_opnum);