e6e14c8e975624fd992d076af98b88b0134da32b
[metze/samba/wip.git] / bin / default / librpc / gen_ndr / packet-dcerpc-drsuapi.c
1 /* DO NOT EDIT
2         This filter was automatically generated
3         from /home/metze/devel/samba/4.0/master4-franky/librpc/idl/drsuapi.idl and /home/metze/devel/samba/4.0/master4-franky/librpc/idl/drsuapi.cnf.
4         
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 http://wiki.wireshark.org/Pidl
9
10         $Id$
11 */
12
13
14 #include "config.h"
15 #ifdef _MSC_VER
16 #pragma warning(disable:4005)
17 #pragma warning(disable:4013)
18 #pragma warning(disable:4018)
19 #pragma warning(disable:4101)
20 #endif
21
22 #include <glib.h>
23 #include <string.h>
24 #include <epan/packet.h>
25
26 #include "packet-dcerpc.h"
27 #include "packet-dcerpc-nt.h"
28 #include "packet-windows-common.h"
29 #include "packet-dcerpc-drsuapi.h"
30
31 /* Ett declarations */
32 static gint ett_dcerpc_drsuapi = -1;
33 static gint ett_drsuapi_samr_GroupAttrs = -1;
34 static gint ett_drsuapi_drsuapi_DrsOptions = -1;
35 static gint ett_drsuapi_drsuapi_DrsUpdate = -1;
36 static gint ett_drsuapi_drsuapi_SupportedExtensions = -1;
37 static gint ett_drsuapi_drsuapi_SupportedExtensionsExt = -1;
38 static gint ett_drsuapi_drsuapi_DsBindInfo24 = -1;
39 static gint ett_drsuapi_drsuapi_DsBindInfo28 = -1;
40 static gint ett_drsuapi_drsuapi_DsBindInfo48 = -1;
41 static gint ett_drsuapi_drsuapi_DsBindInfoFallBack = -1;
42 static gint ett_drsuapi_drsuapi_DsBindInfo = -1;
43 static gint ett_drsuapi_drsuapi_DsBindInfoCtr = -1;
44 static gint ett_drsuapi_drsuapi_DsReplicaObjectIdentifier = -1;
45 static gint ett_drsuapi_drsuapi_DsReplicaSyncRequest1 = -1;
46 static gint ett_drsuapi_drsuapi_DsReplicaSyncRequest = -1;
47 static gint ett_drsuapi_drsuapi_DsReplicaHighWaterMark = -1;
48 static gint ett_drsuapi_drsuapi_DsReplicaCursor = -1;
49 static gint ett_drsuapi_drsuapi_DsReplicaCursorCtrEx = -1;
50 static gint ett_drsuapi_drsuapi_DsGetNCChangesRequest5 = -1;
51 static gint ett_drsuapi_drsuapi_DsReplicaOID = -1;
52 static gint ett_drsuapi_drsuapi_DsReplicaOIDMapping = -1;
53 static gint ett_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr = -1;
54 static gint ett_drsuapi_drsuapi_DsPartialAttributeSet = -1;
55 static gint ett_drsuapi_drsuapi_DsGetNCChangesRequest8 = -1;
56 static gint ett_drsuapi_drsuapi_DsGetNCChangesRequest10 = -1;
57 static gint ett_drsuapi_drsuapi_DsGetNCChangesRequest = -1;
58 static gint ett_drsuapi_drsuapi_DsReplicaCursor2 = -1;
59 static gint ett_drsuapi_drsuapi_DsReplicaCursor2CtrEx = -1;
60 static gint ett_drsuapi_drsuapi_DsAttributeValue = -1;
61 static gint ett_drsuapi_drsuapi_DsAttributeValueCtr = -1;
62 static gint ett_drsuapi_drsuapi_DsReplicaObjectIdentifier3 = -1;
63 static gint ett_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary = -1;
64 static gint ett_drsuapi_drsuapi_DsReplicaAttribute = -1;
65 static gint ett_drsuapi_drsuapi_DsReplicaAttributeCtr = -1;
66 static gint ett_drsuapi_drsuapi_DsReplicaObjectFlags = -1;
67 static gint ett_drsuapi_drsuapi_DsReplicaObject = -1;
68 static gint ett_drsuapi_drsuapi_DsReplicaMetaData = -1;
69 static gint ett_drsuapi_drsuapi_DsReplicaMetaDataCtr = -1;
70 static gint ett_drsuapi_drsuapi_DsReplicaObjectListItemEx = -1;
71 static gint ett_drsuapi_drsuapi_DsGetNCChangesCtr1 = -1;
72 static gint ett_drsuapi_drsuapi_DsLinkedAttributeFlags = -1;
73 static gint ett_drsuapi_drsuapi_DsReplicaLinkedAttribute = -1;
74 static gint ett_drsuapi_drsuapi_DsGetNCChangesCtr6 = -1;
75 static gint ett_drsuapi_drsuapi_DsGetNCChangesCtr1TS = -1;
76 static gint ett_drsuapi_drsuapi_DsGetNCChangesCtr6TS = -1;
77 static gint ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1 = -1;
78 static gint ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6 = -1;
79 static gint ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1 = -1;
80 static gint ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6 = -1;
81 static gint ett_drsuapi_drsuapi_DsGetNCChangesCompressedCtr = -1;
82 static gint ett_drsuapi_drsuapi_DsGetNCChangesCtr2 = -1;
83 static gint ett_drsuapi_drsuapi_DsGetNCChangesCtr7 = -1;
84 static gint ett_drsuapi_drsuapi_DsGetNCChangesCtr = -1;
85 static gint ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1 = -1;
86 static gint ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest = -1;
87 static gint ett_drsuapi_drsuapi_DsReplicaAddRequest1 = -1;
88 static gint ett_drsuapi_drsuapi_DsReplicaAddRequest2 = -1;
89 static gint ett_drsuapi_drsuapi_DsReplicaAddRequest = -1;
90 static gint ett_drsuapi_drsuapi_DsReplicaDelRequest1 = -1;
91 static gint ett_drsuapi_drsuapi_DsReplicaDelRequest = -1;
92 static gint ett_drsuapi_drsuapi_DsReplicaModRequest1 = -1;
93 static gint ett_drsuapi_drsuapi_DsReplicaModRequest = -1;
94 static gint ett_drsuapi_drsuapi_DsGetMembershipsCtr1 = -1;
95 static gint ett_drsuapi_drsuapi_DsGetMembershipsCtr = -1;
96 static gint ett_drsuapi_drsuapi_DsGetMembershipsRequest1 = -1;
97 static gint ett_drsuapi_drsuapi_DsGetMembershipsRequest = -1;
98 static gint ett_drsuapi_drsuapi_DsGetNT4ChangeLogFlags = -1;
99 static gint ett_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1 = -1;
100 static gint ett_drsuapi_drsuapi_DsGetNT4ChangeLogRequest = -1;
101 static gint ett_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1 = -1;
102 static gint ett_drsuapi_drsuapi_DsGetNT4ChangeLogInfo = -1;
103 static gint ett_drsuapi_drsuapi_DsNameString = -1;
104 static gint ett_drsuapi_drsuapi_DsNameRequest1 = -1;
105 static gint ett_drsuapi_drsuapi_DsNameRequest = -1;
106 static gint ett_drsuapi_drsuapi_DsNameInfo1 = -1;
107 static gint ett_drsuapi_drsuapi_DsNameCtr1 = -1;
108 static gint ett_drsuapi_drsuapi_DsNameCtr = -1;
109 static gint ett_drsuapi_drsuapi_DsWriteAccountSpnRequest1 = -1;
110 static gint ett_drsuapi_drsuapi_DsWriteAccountSpnRequest = -1;
111 static gint ett_drsuapi_drsuapi_DsWriteAccountSpnResult1 = -1;
112 static gint ett_drsuapi_drsuapi_DsWriteAccountSpnResult = -1;
113 static gint ett_drsuapi_drsuapi_DsRemoveDSServerRequest1 = -1;
114 static gint ett_drsuapi_drsuapi_DsRemoveDSServerRequest = -1;
115 static gint ett_drsuapi_drsuapi_DsRemoveDSServerResult1 = -1;
116 static gint ett_drsuapi_drsuapi_DsRemoveDSServerResult = -1;
117 static gint ett_drsuapi_drsuapi_DsGetDCInfoRequest1 = -1;
118 static gint ett_drsuapi_drsuapi_DsGetDCInfoRequest = -1;
119 static gint ett_drsuapi_drsuapi_DsGetDCInfo1 = -1;
120 static gint ett_drsuapi_drsuapi_DsGetDCInfoCtr1 = -1;
121 static gint ett_drsuapi_drsuapi_DsGetDCInfo2 = -1;
122 static gint ett_drsuapi_drsuapi_DsGetDCInfoCtr2 = -1;
123 static gint ett_drsuapi_drsuapi_DsGetDCInfo3 = -1;
124 static gint ett_drsuapi_drsuapi_DsGetDCInfoCtr3 = -1;
125 static gint ett_drsuapi_drsuapi_DsGetDCConnection01 = -1;
126 static gint ett_drsuapi_drsuapi_DsGetDCConnectionCtr01 = -1;
127 static gint ett_drsuapi_drsuapi_DsGetDCInfoCtr = -1;
128 static gint ett_drsuapi_drsuapi_DsReplicaObjectListItem = -1;
129 static gint ett_drsuapi_drsuapi_DsAddEntryRequest2 = -1;
130 static gint ett_drsuapi_drsuapi_SecBuffer = -1;
131 static gint ett_drsuapi_drsuapi_SecBufferDesc = -1;
132 static gint ett_drsuapi_drsuapi_DsAddEntryRequest3 = -1;
133 static gint ett_drsuapi_drsuapi_DsAddEntryRequest = -1;
134 static gint ett_drsuapi_drsuapi_DsAddEntryErrorInfoX = -1;
135 static gint ett_drsuapi_drsuapi_DsAddEntry_AttrErr_V1 = -1;
136 static gint ett_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1 = -1;
137 static gint ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1 = -1;
138 static gint ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1 = -1;
139 static gint ett_drsuapi_drsuapi_NameResOp_V1 = -1;
140 static gint ett_drsuapi_drsuapi_DsaAddressListItem_V1 = -1;
141 static gint ett_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1 = -1;
142 static gint ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1 = -1;
143 static gint ett_drsuapi_drsuapi_DsAddEntryErrorInfo = -1;
144 static gint ett_drsuapi_drsuapi_DsAddEntry_ErrData_V1 = -1;
145 static gint ett_drsuapi_drsuapi_DsAddEntry_ErrData = -1;
146 static gint ett_drsuapi_drsuapi_DsReplicaObjectIdentifier2 = -1;
147 static gint ett_drsuapi_drsuapi_DsAddEntryCtr2 = -1;
148 static gint ett_drsuapi_drsuapi_DsAddEntryCtr3 = -1;
149 static gint ett_drsuapi_drsuapi_DsAddEntryCtr = -1;
150 static gint ett_drsuapi_drsuapi_DsExecuteKCCFlags = -1;
151 static gint ett_drsuapi_drsuapi_DsExecuteKCC1 = -1;
152 static gint ett_drsuapi_drsuapi_DsExecuteKCCRequest = -1;
153 static gint ett_drsuapi_drsuapi_DsReplicaGetInfoRequest1 = -1;
154 static gint ett_drsuapi_drsuapi_DsReplicaGetInfoRequest2 = -1;
155 static gint ett_drsuapi_drsuapi_DsReplicaGetInfoRequest = -1;
156 static gint ett_drsuapi_drsuapi_DsReplicaNeighbour = -1;
157 static gint ett_drsuapi_drsuapi_DsReplicaNeighbourCtr = -1;
158 static gint ett_drsuapi_drsuapi_DsReplicaCursorCtr = -1;
159 static gint ett_drsuapi_drsuapi_DsReplicaObjMetaData = -1;
160 static gint ett_drsuapi_drsuapi_DsReplicaObjMetaDataCtr = -1;
161 static gint ett_drsuapi_drsuapi_DsReplicaKccDsaFailure = -1;
162 static gint ett_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr = -1;
163 static gint ett_drsuapi_drsuapi_DsReplicaOp = -1;
164 static gint ett_drsuapi_drsuapi_DsReplicaOpCtr = -1;
165 static gint ett_drsuapi_drsuapi_DsReplicaAttrValMetaData = -1;
166 static gint ett_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr = -1;
167 static gint ett_drsuapi_drsuapi_DsReplicaCursor2Ctr = -1;
168 static gint ett_drsuapi_drsuapi_DsReplicaCursor3 = -1;
169 static gint ett_drsuapi_drsuapi_DsReplicaCursor3Ctr = -1;
170 static gint ett_drsuapi_drsuapi_DsReplicaObjMetaData2 = -1;
171 static gint ett_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr = -1;
172 static gint ett_drsuapi_drsuapi_DsReplicaAttrValMetaData2 = -1;
173 static gint ett_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr = -1;
174 static gint ett_drsuapi_drsuapi_DsReplicaConnection04 = -1;
175 static gint ett_drsuapi_drsuapi_DsReplicaConnection04Ctr = -1;
176 static gint ett_drsuapi_drsuapi_DsReplica06 = -1;
177 static gint ett_drsuapi_drsuapi_DsReplica06Ctr = -1;
178 static gint ett_drsuapi_drsuapi_DsReplicaInfo = -1;
179 static gint ett_drsuapi_drsuapi_DsGetMemberships2Ctr1 = -1;
180 static gint ett_drsuapi_drsuapi_DsGetMemberships2Ctr = -1;
181 static gint ett_drsuapi_drsuapi_DsGetMemberships2Request1 = -1;
182 static gint ett_drsuapi_drsuapi_DsGetMemberships2Request = -1;
183 static gint ett_drsuapi_drsuapi_DsSiteCostInfo = -1;
184 static gint ett_drsuapi_drsuapi_QuerySitesByCostCtr1 = -1;
185 static gint ett_drsuapi_drsuapi_QuerySitesByCostCtr = -1;
186 static gint ett_drsuapi_drsuapi_QuerySitesByCostRequest1 = -1;
187 static gint ett_drsuapi_drsuapi_QuerySitesByCostRequest = -1;
188
189
190 /* Header field declarations */
191 static gint hf_drsuapi_drsuapi_DsReplica06_u7 = -1;
192 static gint hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid = -1;
193 static gint hf_drsuapi_drsuapi_DsGetDCInfoCtr3_count = -1;
194 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO = -1;
195 static gint hf_drsuapi_drsuapi_DsReplicaOp_serial_num = -1;
196 static gint hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_object_dn = -1;
197 static gint hf_drsuapi_drsuapi_DsReplicaInfo_neighbours = -1;
198 static gint hf_drsuapi_drsuapi_DsBindInfoCtr___ndr_length = -1;
199 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context = -1;
200 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_URGENT = -1;
201 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_AUTO_SYNC = -1;
202 static gint hf_drsuapi_drsuapi_DsReplicaGetInfo_info_type = -1;
203 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_transport_obj_guid = -1;
204 static gint hf_drsuapi_drsuapi_DsAddEntryCtr2_problem = -1;
205 static gint hf_drsuapi_drsuapi_DsReplicaAddRequest2_transport_dn = -1;
206 static gint hf_drsuapi_drsuapi_DsNameCtr1_array = -1;
207 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_binary = -1;
208 static gint hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_ts_ = -1;
209 static gint hf_drsuapi_drsuapi_DsAddEntry_bind_handle = -1;
210 static gint hf_drsuapi_drsuapi_DsReplicaCursor2_highest_usn = -1;
211 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr1_old_highwatermark = -1;
212 static gint hf_drsuapi_drsuapi_DsReplicaDel_req = -1;
213 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest10_extended_op = -1;
214 static gint hf_drsuapi_drsuapi_DsReplicaAddRequest1_naming_context = -1;
215 static gint hf_drsuapi_drsuapi_DsReplica06_u4 = -1;
216 static gint hf_drsuapi_drsuapi_DsGetMembershipsRequest1_flags = -1;
217 static gint hf_drsuapi_drsuapi_DsReplicaOIDMapping_oid = -1;
218 static gint hf_drsuapi_werror = -1;
219 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr1_naming_context = -1;
220 static gint hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_ts = -1;
221 static gint hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_meta_data_ctr = -1;
222 static gint hf_drsuapi_drsuapi_DsExecuteKCC_bind_handle = -1;
223 static gint hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_count = -1;
224 static gint hf_drsuapi_drsuapi_DsReplicaOpCtr_count = -1;
225 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_is_enabled = -1;
226 static gint hf_drsuapi_drsuapi_DsGetDCInfo1_site_name = -1;
227 static gint hf_drsuapi_drsuapi_DsReplicaConnection04_u2 = -1;
228 static gint hf_drsuapi_drsuapi_DsGetMembershipsRequest1_info_array = -1;
229 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_reserved = -1;
230 static gint hf_drsuapi_drsuapi_DsReplicaObjectListItem_next_object = -1;
231 static gint hf_drsuapi_drsuapi_DsReplicaOpCtr_array = -1;
232 static gint hf_drsuapi_drsuapi_DsReplicaSyncRequest1_source_dsa_dns = -1;
233 static gint hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_reserved2 = -1;
234 static gint hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_reserved1 = -1;
235 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest5_max_object_count = -1;
236 static gint hf_drsuapi_drsuapi_DsReplicaUpdateRefs_level = -1;
237 static gint hf_drsuapi_drsuapi_DsUnbind_bind_handle = -1;
238 static gint hf_drsuapi_drsuapi_DsBindInfo48_repl_epoch = -1;
239 static gint hf_drsuapi_drsuapi_DsReplicaDelRequest1_source_dsa_address = -1;
240 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 = -1;
241 static gint hf_drsuapi_drsuapi_DsReplicaCursor3_highest_usn = -1;
242 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_array = -1;
243 static gint hf_drsuapi_drsuapi_DsGetDCInfo2_server_dn = -1;
244 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_naming_context_obj_guid = -1;
245 static gint hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_enumeration_context = -1;
246 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_refer = -1;
247 static gint hf_drsuapi_drsuapi_DsAddEntry_req = -1;
248 static gint hf_drsuapi_drsuapi_DsBindInfoCtr_length = -1;
249 static gint hf_drsuapi_drsuapi_DsBindInfo_info24 = -1;
250 static gint hf_drsuapi_drsuapi_DsExecuteKCC1_taskID = -1;
251 static gint hf_drsuapi_drsuapi_DsAddEntry_level = -1;
252 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_first = -1;
253 static gint hf_drsuapi_drsuapi_DsWriteAccountSpn_level = -1;
254 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2 = -1;
255 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest8_mapping_ctr = -1;
256 static gint hf_drsuapi_drsuapi_DsGetMemberships_ctr = -1;
257 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 = -1;
258 static gint hf_drsuapi_drsuapi_DsReplicaOpCtr_time = -1;
259 static gint hf_drsuapi_drsuapi_DsReplicaHighWaterMark_reserved_usn = -1;
260 static gint hf_drsuapi_drsuapi_DsGetMemberships2Request1_num_req = -1;
261 static gint hf_drsuapi_drsuapi_DsGetMembershipsRequest1_domain = -1;
262 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_count = -1;
263 static gint hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_ts_ = -1;
264 static gint hf_drsuapi_drsuapi_DsGetMemberships2_req = -1;
265 static gint hf_drsuapi_drsuapi_DsGetDCInfoCtr2_count = -1;
266 static gint hf_drsuapi_drsuapi_DsReplicaModRequest_req1 = -1;
267 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_dn = -1;
268 static gint hf_drsuapi_drsuapi_DsReplicaGetInfoRequest_req1 = -1;
269 static gint hf_drsuapi_drsuapi_DsBindInfo28_site_guid = -1;
270 static gint hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY = -1;
271 static gint hf_drsuapi_drsuapi_DsGetMembershipsCtr1_sids = -1;
272 static gint hf_drsuapi_drsuapi_DsGetMembershipsCtr1_group_attrs = -1;
273 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest8_partial_attribute_set_ex = -1;
274 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_CRITICAL_ONLY = -1;
275 static gint hf_drsuapi_drsuapi_SecBufferDesc_buffers = -1;
276 static gint hf_drsuapi_drsuapi_DsCrackNames_ctr = -1;
277 static gint hf_drsuapi_drsuapi_DsGetDCConnectionCtr01_array = -1;
278 static gint hf_drsuapi_drsuapi_DsCrackNames_req = -1;
279 static gint hf_drsuapi_drsuapi_DsGetDCConnection01_unknown4 = -1;
280 static gint hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER = -1;
281 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_guid = -1;
282 static gint hf_drsuapi_drsuapi_DsGetDCInfo2_server_guid = -1;
283 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_dsid = -1;
284 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo_info1 = -1;
285 static gint hf_drsuapi_drsuapi_DsWriteAccountSpnResult1_status = -1;
286 static gint hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_array = -1;
287 static gint hf_drsuapi_drsuapi_DsGetNCChanges_ctr = -1;
288 static gint hf_drsuapi_drsuapi_DsReplicaConnection04_u1 = -1;
289 static gint hf_drsuapi_drsuapi_DsReplica06Ctr_array = -1;
290 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier2_sid = -1;
291 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE = -1;
292 static gint hf_drsuapi_drsuapi_DsNameRequest1_format_flags = -1;
293 static gint hf_drsuapi_drsuapi_DsBindInfo28_supported_extensions = -1;
294 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest5_destination_dsa_guid = -1;
295 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_LOCAL_ONLY = -1;
296 static gint hf_drsuapi_drsuapi_DsReplicaCursor3_source_dsa_obj_dn = -1;
297 static gint hf_drsuapi_drsuapi_DsReplicaAddRequest1_source_dsa_address = -1;
298 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_sid = -1;
299 static gint hf_drsuapi_drsuapi_DsReplicaCursor_source_dsa_invocation_id = -1;
300 static gint hf_drsuapi_drsuapi_DsReplicaModRequest1_modify_fields = -1;
301 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest8_max_ndr_size = -1;
302 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest8_partial_attribute_set = -1;
303 static gint hf_drsuapi_drsuapi_DsGetMemberships2Request_req1 = -1;
304 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_site_name = -1;
305 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData2_local_usn = -1;
306 static gint hf_drsuapi_drsuapi_DsReplica06_u6 = -1;
307 static gint hf_drsuapi_drsuapi_DsNameInfo1_status = -1;
308 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_consecutive_sync_failures = -1;
309 static gint hf_drsuapi_drsuapi_DsLinkedAttributeFlags_DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE = -1;
310 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest5_uptodateness_vector = -1;
311 static gint hf_drsuapi_drsuapi_QuerySitesByCostCtr1_flags_reserved = -1;
312 static gint hf_drsuapi_drsuapi_SecBuffer_buf_type = -1;
313 static gint hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_ADDRESS = -1;
314 static gint hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_count = -1;
315 static gint hf_drsuapi_drsuapi_DsGetDomainControllerInfo_level_out = -1;
316 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr1_uptodateness_vector = -1;
317 static gint hf_drsuapi_drsuapi_DsReplicaCursor2_last_sync_success = -1;
318 static gint hf_drsuapi_drsuapi_DsReplicaInfo_cursors2 = -1;
319 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_tmp_highest_usn = -1;
320 static gint hf_drsuapi_drsuapi_DsReplicaMod_req = -1;
321 static gint hf_drsuapi_drsuapi_DsReplicaSync_level = -1;
322 static gint hf_drsuapi_drsuapi_DsReplicaAdd_req = -1;
323 static gint hf_drsuapi_drsuapi_DsCrackNames_bind_handle = -1;
324 static gint hf_drsuapi_drsuapi_DsRemoveDSServer_level = -1;
325 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData_local_usn = -1;
326 static gint hf_drsuapi_drsuapi_QuerySitesByCost_req = -1;
327 static gint hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_address = -1;
328 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_REF_GCSPN = -1;
329 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_site_guid = -1;
330 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr1_extended_ret = -1;
331 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData___ndr_size_binary = -1;
332 static gint hf_drsuapi_drsuapi_DsAddEntryCtr3_id = -1;
333 static gint hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_compressed_length = -1;
334 static gint hf_drsuapi_drsuapi_DsRemoveDSServer_req = -1;
335 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData2_attribute_name = -1;
336 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_binary = -1;
337 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest_req10 = -1;
338 static gint hf_drsuapi_drsuapi_DsGetDCInfo2_is_enabled = -1;
339 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_source_dsa_guid = -1;
340 static gint hf_drsuapi_drsuapi_DsReplicaOID_length = -1;
341 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size_dn = -1;
342 static gint hf_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1_err_data = -1;
343 static gint hf_drsuapi_drsuapi_DsSiteCostInfo_error_code = -1;
344 static gint hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_extended_err = -1;
345 static gint hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_array = -1;
346 static gint hf_drsuapi_drsuapi_DsAddEntryCtr3_objects = -1;
347 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_builtin_serial_number = -1;
348 static gint hf_drsuapi_drsuapi_DsGetDCInfo1_is_enabled = -1;
349 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_referral_err = -1;
350 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest10_highwatermark = -1;
351 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_ALL = -1;
352 static gint hf_drsuapi_drsuapi_DsReplicaModRequest1_replica_flags = -1;
353 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest5_highwatermark = -1;
354 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_array = -1;
355 static gint hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_last_result = -1;
356 static gint hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_id_target = -1;
357 static gint hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_ts_ = -1;
358 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_builtin_creation_time = -1;
359 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_sam_creation_time = -1;
360 static gint hf_drsuapi_drsuapi_DsNameRequest1_format_offered = -1;
361 static gint hf_drsuapi_drsuapi_DsReplicaModRequest1_schedule = -1;
362 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest8_source_dsa_invocation_id = -1;
363 static gint hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_value = -1;
364 static gint hf_drsuapi_drsuapi_DsAddEntry_level_out = -1;
365 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLog_level_out = -1;
366 static gint hf_drsuapi_opnum = -1;
367 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_deleted = -1;
368 static gint hf_drsuapi_drsuapi_DsGetMemberships2_level = -1;
369 static gint hf_drsuapi_drsuapi_DsReplicaAttributeCtr_attributes = -1;
370 static gint hf_drsuapi_drsuapi_DsReplicaInfo_repsto = -1;
371 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_extended_err = -1;
372 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_object_dn = -1;
373 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_computer_guid = -1;
374 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLog_info = -1;
375 static gint hf_drsuapi_drsuapi_DsGetDCConnection01_unknown5 = -1;
376 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_PER_SYNC = -1;
377 static gint hf_drsuapi_drsuapi_DsReplicaHighWaterMark_highest_usn = -1;
378 static gint hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_num_failures = -1;
379 static gint hf_drsuapi_drsuapi_DsCrackNames_level = -1;
380 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_usn = -1;
381 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 = -1;
382 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_server_dn = -1;
383 static gint hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_count = -1;
384 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NONGC_RO_REP = -1;
385 static gint hf_drsuapi_drsuapi_DsGetDCInfoRequest1_level = -1;
386 static gint hf_drsuapi_drsuapi_DsReplicaInfo_connectfailures = -1;
387 static gint hf_drsuapi_drsuapi_DsBindInfo_info24_ = -1;
388 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_WRIT_REP = -1;
389 static gint hf_drsuapi_drsuapi_DsReplicaDelRequest1_options = -1;
390 static gint hf_drsuapi_drsuapi_DsReplicaAdd_level = -1;
391 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND = -1;
392 static gint hf_drsuapi_drsuapi_DsGetDCInfo2_computer_guid = -1;
393 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr6 = -1;
394 static gint hf_drsuapi_drsuapi_DsGetDCInfo1_server_dn = -1;
395 static gint hf_drsuapi_drsuapi_DsReplicaModRequest1_source_dra = -1;
396 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_service_err = -1;
397 static gint hf_drsuapi_drsuapi_QuerySitesByCostCtr1_num_info = -1;
398 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_sid = -1;
399 static gint hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_obj_dn = -1;
400 static gint hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_addr_list = -1;
401 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_transport_obj_dn = -1;
402 static gint hf_drsuapi_drsuapi_DsGetDCInfo2_ntds_guid = -1;
403 static gint hf_drsuapi_drsuapi_DsNameRequest1_names = -1;
404 static gint hf_drsuapi_drsuapi_DsReplicaDel_level = -1;
405 static gint hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_count = -1;
406 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context = -1;
407 static gint hf_drsuapi_drsuapi_DsAddEntryRequest2_first_object = -1;
408 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier2_guid = -1;
409 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData_attribute_name = -1;
410 static gint hf_drsuapi_drsuapi_DsPartialAttributeSet_attids = -1;
411 static gint hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_FLAGS = -1;
412 static gint hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_originating_add_time = -1;
413 static gint hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_dsid = -1;
414 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_old_highwatermark = -1;
415 static gint hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr2 = -1;
416 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_PAS = -1;
417 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_extended_ret = -1;
418 static gint hf_drsuapi_drsuapi_DsReplicaInfo_pendingops = -1;
419 static gint hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_version = -1;
420 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 = -1;
421 static gint hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_compressed_length = -1;
422 static gint hf_drsuapi_drsuapi_DsBind_bind_guid = -1;
423 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_source_dsa_invocation_id = -1;
424 static gint hf_drsuapi_drsuapi_DsGetDCInfoCtr3_array = -1;
425 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr2_mszip1 = -1;
426 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_REF_OK = -1;
427 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest10_max_ndr_size = -1;
428 static gint hf_drsuapi_drsuapi_DsReplicaGetInfo_req = -1;
429 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_count = -1;
430 static gint hf_drsuapi_drsuapi_DsGetMembershipsCtr1_num_memberships = -1;
431 static gint hf_drsuapi_drsuapi_DsBindInfo24_site_guid = -1;
432 static gint hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_meta_data = -1;
433 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_array = -1;
434 static gint hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_count = -1;
435 static gint hf_drsuapi_drsuapi_DsAddEntryCtr2_dir_err = -1;
436 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr1 = -1;
437 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_security_err = -1;
438 static gint hf_drsuapi_drsuapi_QuerySitesByCost_level_out = -1;
439 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DEL_REF = -1;
440 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_is_pdc = -1;
441 static gint hf_drsuapi_drsuapi_DsRemoveDSServer_res = -1;
442 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_PREEMPTED = -1;
443 static gint hf_drsuapi_drsuapi_DsBindInfo24_pid = -1;
444 static gint hf_drsuapi_drsuapi_DsGetDCInfoCtr2_array = -1;
445 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_binary = -1;
446 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_update_err = -1;
447 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_PERIODIC_SYNC = -1;
448 static gint hf_drsuapi_drsuapi_DsGetDCInfo2_ntds_dn = -1;
449 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData_version = -1;
450 static gint hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_ref_type = -1;
451 static gint hf_drsuapi_drsuapi_DsReplica06_u2 = -1;
452 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_change_time = -1;
453 static gint hf_drsuapi_drsuapi_DsNameCtr1_count = -1;
454 static gint hf_drsuapi_drsuapi_DsSiteCostInfo_site_cost = -1;
455 static gint hf_drsuapi_drsuapi_DsRemoveDSServerResult1_last_dc_in_domain = -1;
456 static gint hf_drsuapi_drsuapi_DsReplicaCursorCtr_reserved = -1;
457 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING = -1;
458 static gint hf_drsuapi_drsuapi_DsReplicaDelRequest1_naming_context = -1;
459 static gint hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_ADAM = -1;
460 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest8_highwatermark = -1;
461 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr1_first_object = -1;
462 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_uptodateness_vector = -1;
463 static gint hf_drsuapi_drsuapi_DsGetDCInfo2_site_name = -1;
464 static gint hf_drsuapi_drsuapi_DsGetDCInfoRequest_req1 = -1;
465 static gint hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_naming_context = -1;
466 static gint hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_decompressed_length = -1;
467 static gint hf_drsuapi_drsuapi_DsReplica06_u5 = -1;
468 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest8_fsmo_info = -1;
469 static gint hf_drsuapi_drsuapi_SecBuffer_buffer = -1;
470 static gint hf_drsuapi_drsuapi_DsGetDCConnection01_unknown2 = -1;
471 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_ANC = -1;
472 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest8_extended_op = -1;
473 static gint hf_drsuapi_drsuapi_DsReplicaSyncRequest1_source_dsa_guid = -1;
474 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2___ndr_size_binary = -1;
475 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_problem = -1;
476 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GETCHG_CHECK = -1;
477 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_count = -1;
478 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_first_object = -1;
479 static gint hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_cursors = -1;
480 static gint hf_drsuapi_drsuapi_DsReplicaAddRequest_req1 = -1;
481 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 = -1;
482 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_object_dn = -1;
483 static gint hf_drsuapi_drsuapi_DsGetDomainControllerInfo_level = -1;
484 static gint hf_drsuapi_drsuapi_DsBindInfo_info28_ = -1;
485 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_usn = -1;
486 static gint hf_drsuapi_drsuapi_DsAddEntryCtr2_extended_err = -1;
487 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size_sid = -1;
488 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_local_usn = -1;
489 static gint hf_drsuapi_drsuapi_DsReplicaConnection04_bind_guid = -1;
490 static gint hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_reserved = -1;
491 static gint hf_drsuapi_drsuapi_DsAddEntryCtr2_count = -1;
492 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_id_matched = -1;
493 static gint hf_drsuapi_drsuapi_DsReplicaAddRequest2_naming_context = -1;
494 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION = -1;
495 static gint hf_drsuapi_drsuapi_DsBind_bind_handle = -1;
496 static gint hf_drsuapi_drsuapi_DsReplica06Ctr_count = -1;
497 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_deleted = -1;
498 static gint hf_drsuapi_drsuapi_DsBindInfo_info48_ = -1;
499 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_count = -1;
500 static gint hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_value_dn_str = -1;
501 static gint hf_drsuapi_drsuapi_DsReplicaObject_identifier = -1;
502 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6___ndr_size = -1;
503 static gint hf_drsuapi_drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION = -1;
504 static gint hf_drsuapi_drsuapi_DsGetDCInfo2_computer_dn = -1;
505 static gint hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_address = -1;
506 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_usn = -1;
507 static gint hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_ts_ = -1;
508 static gint hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress1 = -1;
509 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6TS_ctr6_ = -1;
510 static gint hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata2 = -1;
511 static gint hf_drsuapi_drsuapi_DsBindInfoCtr_info = -1;
512 static gint hf_drsuapi_drsuapi_DsaAddressListItem_V1_address = -1;
513 static gint hf_drsuapi_drsuapi_DsReplicaDel_bind_handle = -1;
514 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_is_gc = -1;
515 static gint hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip1 = -1;
516 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_linked_attributes = -1;
517 static gint hf_drsuapi_drsuapi_DsReplica06_str1 = -1;
518 static gint hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_array = -1;
519 static gint hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2 = -1;
520 static gint hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_enumeration_context = -1;
521 static gint hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_info_type = -1;
522 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_invocation_id = -1;
523 static gint hf_drsuapi_drsuapi_DsGetDCInfo2_is_gc = -1;
524 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_USE_COMPRESSION = -1;
525 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_NC_SIZE = -1;
526 static gint hf_drsuapi_drsuapi_DsReplicaConnection04_u5 = -1;
527 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_restart_data = -1;
528 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC = -1;
529 static gint hf_drsuapi_drsuapi_DsExecuteKCCRequest_ctr1 = -1;
530 static gint hf_drsuapi_drsuapi_DsGetMembershipsRequest_req1 = -1;
531 static gint hf_drsuapi_drsuapi_DsWriteAccountSpn_bind_handle = -1;
532 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest10_partial_attribute_set = -1;
533 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_flags = -1;
534 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_REQUEUE = -1;
535 static gint hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr1 = -1;
536 static gint hf_drsuapi_drsuapi_DsBindInfo28_repl_epoch = -1;
537 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_version = -1;
538 static gint hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_problem = -1;
539 static gint hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_decompressed_length = -1;
540 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest10_partial_attribute_set_ex = -1;
541 static gint hf_drsuapi_drsuapi_DsNameRequest1_count = -1;
542 static gint hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN = -1;
543 static gint hf_drsuapi_drsuapi_DsReplicaOp_operation_start = -1;
544 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_TWOWAY_SYNC = -1;
545 static gint hf_drsuapi_drsuapi_DsReplicaSync_bind_handle = -1;
546 static gint hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_object = -1;
547 static gint hf_drsuapi_drsuapi_DsReplicaModRequest1_options = -1;
548 static gint hf_drsuapi_drsuapi_QuerySitesByCostCtr1_info = -1;
549 static gint hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_reserved = -1;
550 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 = -1;
551 static gint hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn = -1;
552 static gint hf_drsuapi_drsuapi_DsExecuteKCC1_flags = -1;
553 static gint hf_drsuapi_drsuapi_DsAddEntry_ctr = -1;
554 static gint hf_drsuapi_drsuapi_DsGetMemberships_level = -1;
555 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_reserved = -1;
556 static gint hf_drsuapi_drsuapi_DsReplicaOp_nc_obj_guid = -1;
557 static gint hf_drsuapi_drsuapi_DsNameRequest1_language = -1;
558 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr1_more_data = -1;
559 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn = -1;
560 static gint hf_drsuapi_drsuapi_DsGetDomainControllerInfo_req = -1;
561 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_PACKET = -1;
562 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_NOW = -1;
563 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS = -1;
564 static gint hf_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr_mappings = -1;
565 static gint hf_drsuapi_drsuapi_DsReplicaModRequest1_naming_context = -1;
566 static gint hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_next = -1;
567 static gint hf_drsuapi_drsuapi_DsReplicaAdd_bind_handle = -1;
568 static gint hf_drsuapi_drsuapi_DsReplicaInfo_clientctx = -1;
569 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData2_version = -1;
570 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS = -1;
571 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3 = -1;
572 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_count = -1;
573 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr1_mapping_ctr = -1;
574 static gint hf_drsuapi_drsuapi_DsNameString_str = -1;
575 static gint hf_drsuapi_drsuapi_DsGetMemberships_req = -1;
576 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_log_data = -1;
577 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_extended_data = -1;
578 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr1___ndr_size = -1;
579 static gint hf_drsuapi_drsuapi_DsWriteAccountSpn_level_out = -1;
580 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_invocation_id = -1;
581 static gint hf_drsuapi_drsuapi_DsReplicaOp_priority = -1;
582 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 = -1;
583 static gint hf_drsuapi_drsuapi_DsBindInfo_Fallback = -1;
584 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest10_source_dsa_invocation_id = -1;
585 static gint hf_drsuapi_drsuapi_DsReplicaInfo_cursors3 = -1;
586 static gint hf_drsuapi_drsuapi_DsGetDCInfo1_computer_dn = -1;
587 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest8_naming_context = -1;
588 static gint hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_ts = -1;
589 static gint hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_reserved2 = -1;
590 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_system_err = -1;
591 static gint hf_drsuapi_drsuapi_DsReplicaObject_flags = -1;
592 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_preferred_maximum_length = -1;
593 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_restart_length = -1;
594 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_dns_name = -1;
595 static gint hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr3 = -1;
596 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_array = -1;
597 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 = -1;
598 static gint hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_count = -1;
599 static gint hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_SCHEDULE = -1;
600 static gint hf_drsuapi_drsuapi_DsReplicaInfo_udv1 = -1;
601 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_sam_serial_number = -1;
602 static gint hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_reserved = -1;
603 static gint hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_identifier = -1;
604 static gint hf_drsuapi_drsuapi_DsGetMembershipsCtr1_info_array = -1;
605 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_attribute_name = -1;
606 static gint hf_drsuapi_drsuapi_DsReplicaCursor3_last_sync_success = -1;
607 static gint hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_server_dn = -1;
608 static gint hf_drsuapi_drsuapi_DsNameCtr_ctr1 = -1;
609 static gint hf_drsuapi_drsuapi_DsGetDCConnectionCtr01_count = -1;
610 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest_req5 = -1;
611 static gint hf_drsuapi_drsuapi_DsGetDCInfo2_is_pdc = -1;
612 static gint hf_drsuapi_drsuapi_DsReplicaMetaData_version = -1;
613 static gint hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_is_nc_prefix = -1;
614 static gint hf_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr_num_mappings = -1;
615 static gint hf_drsuapi_drsuapi_DsAddEntryCtr_ctr2 = -1;
616 static gint hf_drsuapi_drsuapi_DsAttributeValue___ndr_size = -1;
617 static gint hf_drsuapi_drsuapi_DsReplicaMod_level = -1;
618 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_UPDATE_NOTIFICATION = -1;
619 static gint hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata2 = -1;
620 static gint hf_drsuapi_drsuapi_DsGetMembershipsRequest1_type = -1;
621 static gint hf_drsuapi_drsuapi_DsBindInfo48_supported_extensions_ext = -1;
622 static gint hf_drsuapi_drsuapi_DsReplicaInfo_srvoutgoingcalls = -1;
623 static gint hf_drsuapi_drsuapi_DsReplicaGetInfo_bind_handle = -1;
624 static gint hf_drsuapi_drsuapi_DsAttributeValue_blob = -1;
625 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_name_err = -1;
626 static gint hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_count = -1;
627 static gint hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_next_object = -1;
628 static gint hf_drsuapi_drsuapi_DsAddEntryCtr_ctr3 = -1;
629 static gint hf_drsuapi_drsuapi_DsNameInfo1_dns_domain_name = -1;
630 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_invocation_id = -1;
631 static gint hf_drsuapi_drsuapi_DsReplicaAddRequest_req2 = -1;
632 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context = -1;
633 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_BYNAME = -1;
634 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr1_object_count = -1;
635 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr1_source_dsa_guid = -1;
636 static gint hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_count = -1;
637 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest10_max_object_count = -1;
638 static gint hf_drsuapi_drsuapi_DsReplicaUpdateRefs_bind_handle = -1;
639 static gint hf_drsuapi_drsuapi_DsReplica06_u1 = -1;
640 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_netbios_name = -1;
641 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_replica_flags = -1;
642 static gint hf_drsuapi_drsuapi_DsReplicaCursorCtr_array = -1;
643 static gint hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name = -1;
644 static gint hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_domain_dn = -1;
645 static gint hf_drsuapi_drsuapi_DsGetDCInfo2_dns_name = -1;
646 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_ntds_dn = -1;
647 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD = -1;
648 static gint hf_drsuapi_drsuapi_DsWriteAccountSpnResult_res1 = -1;
649 static gint hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_cursors = -1;
650 static gint hf_drsuapi_drsuapi_QuerySitesByCost_ctr = -1;
651 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_usn = -1;
652 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size = -1;
653 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY = -1;
654 static gint hf_drsuapi_drsuapi_DsGetMemberships_level_out = -1;
655 static gint hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_attid = -1;
656 static gint hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC = -1;
657 static gint hf_drsuapi_drsuapi_DsGetMemberships2Request1_req_array = -1;
658 static gint hf_drsuapi_drsuapi_DsGetMemberships2_level_out = -1;
659 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_last_attempt = -1;
660 static gint hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_attid = -1;
661 static gint hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_ts = -1;
662 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10 = -1;
663 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI = -1;
664 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr1_source_dsa_invocation_id = -1;
665 static gint hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_ts = -1;
666 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr7_ctr = -1;
667 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr1TS_ctr1 = -1;
668 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_computer_dn = -1;
669 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLog_level = -1;
670 static gint hf_drsuapi_drsuapi_DsGetMemberships2_bind_handle = -1;
671 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_is_rodc = -1;
672 static gint hf_drsuapi_drsuapi_DsAddEntryRequest3_first_object = -1;
673 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid = -1;
674 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr7 = -1;
675 static gint hf_drsuapi_drsuapi_DsaAddressListItem_V1_next = -1;
676 static gint hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_array = -1;
677 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_extended_err = -1;
678 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_MAIL_REP = -1;
679 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest5_source_dsa_invocation_id = -1;
680 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_highest_usn = -1;
681 static gint hf_drsuapi_drsuapi_DsPartialAttributeSet_num_attids = -1;
682 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_change_time = -1;
683 static gint hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata = -1;
684 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_sid = -1;
685 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest10_uptodateness_vector = -1;
686 static gint hf_drsuapi_drsuapi_DsWriteAccountSpnRequest_req1 = -1;
687 static gint hf_drsuapi_drsuapi_DsRemoveDSServerRequest_req1 = -1;
688 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest10_destination_dsa_guid = -1;
689 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 = -1;
690 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest5_extended_op = -1;
691 static gint hf_drsuapi_drsuapi_DsAddEntryCtr2_objects = -1;
692 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_change_time = -1;
693 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size_dn = -1;
694 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_drs_error = -1;
695 static gint hf_drsuapi_drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_DAMPED = -1;
696 static gint hf_drsuapi_drsuapi_DsReplicaGetInfoRequest_req2 = -1;
697 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_extended_err = -1;
698 static gint hf_drsuapi_drsuapi_DsBindInfo48_supported_extensions = -1;
699 static gint hf_drsuapi_drsuapi_DsGetNCChanges_bind_handle = -1;
700 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_attribute_name = -1;
701 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_extended_data = -1;
702 static gint hf_drsuapi_drsuapi_DsReplicaCursor3_source_dsa_invocation_id = -1;
703 static gint hf_drsuapi_drsuapi_DsReplicaOp_operation_type = -1;
704 static gint hf_drsuapi_drsuapi_DsGetDCInfoRequest1_domain_name = -1;
705 static gint hf_drsuapi_drsuapi_DsReplicaAddRequest1_schedule = -1;
706 static gint hf_drsuapi_drsuapi_DsAddEntryRequest3_client_creds = -1;
707 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLog_bind_handle = -1;
708 static gint hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_operation = -1;
709 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_server_guid = -1;
710 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_local_usn = -1;
711 static gint hf_drsuapi_drsuapi_DsAddEntryCtr3_err_ver = -1;
712 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_IGNORE_ERROR = -1;
713 static gint hf_drsuapi_drsuapi_DsReplicaInfo_linkfailures = -1;
714 static gint hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_info_type = -1;
715 static gint hf_drsuapi_drsuapi_DsReplicaHighWaterMark_tmp_highest_usn = -1;
716 static gint hf_drsuapi_drsuapi_DsBindInfo_info48 = -1;
717 static gint hf_drsuapi_drsuapi_DsGetDCInfo1_is_pdc = -1;
718 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_dsid = -1;
719 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_dsa_dn = -1;
720 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_created = -1;
721 static gint hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_flags = -1;
722 static gint hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_unknown1 = -1;
723 static gint hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid = -1;
724 static gint hf_drsuapi_drsuapi_DsBindInfo_info28 = -1;
725 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG = -1;
726 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_extended_data = -1;
727 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 = -1;
728 static gint hf_drsuapi_drsuapi_DsExecuteKCC_req = -1;
729 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_naming_context_dn = -1;
730 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 = -1;
731 static gint hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_decompressed_length = -1;
732 static gint hf_drsuapi_drsuapi_DsReplicaInfo_cursors = -1;
733 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest_req1 = -1;
734 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION = -1;
735 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest10_mapping_ctr = -1;
736 static gint hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_first_failure = -1;
737 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest10_fsmo_info = -1;
738 static gint hf_drsuapi_drsuapi_DsBindInfo_Fallback_ = -1;
739 static gint hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_status = -1;
740 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLog_req = -1;
741 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_address = -1;
742 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_created = -1;
743 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_NOTIFY = -1;
744 static gint hf_drsuapi_drsuapi_DsBindInfo24_supported_extensions = -1;
745 static gint hf_drsuapi_drsuapi_DsReplicaCursorCtr_count = -1;
746 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest5_replica_flags = -1;
747 static gint hf_drsuapi_drsuapi_DsNameRequest1_format_desired = -1;
748 static gint hf_drsuapi_drsuapi_DsBindInfoFallBack_info = -1;
749 static gint hf_drsuapi_drsuapi_DsAttributeValueCtr_values = -1;
750 static gint hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_object_dn = -1;
751 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_sid = -1;
752 static gint hf_drsuapi_drsuapi_DsAddEntryCtr2_extended_data = -1;
753 static gint hf_drsuapi_drsuapi_DsReplicaGetInfo_level = -1;
754 static gint hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress6 = -1;
755 static gint hf_drsuapi_drsuapi_DsReplicaSyncRequest1_naming_context = -1;
756 static gint hf_drsuapi_drsuapi_DsGetDCInfo2_netbios_name = -1;
757 static gint hf_drsuapi_drsuapi_DsReplica06_u3 = -1;
758 static gint hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_flags = -1;
759 static gint hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_spn_names = -1;
760 static gint hf_drsuapi_drsuapi_QuerySitesByCostRequest_req1 = -1;
761 static gint hf_drsuapi_drsuapi_DsAttributeValueCtr_num_values = -1;
762 static gint hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_commit = -1;
763 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_FORCED = -1;
764 static gint hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_parent_object_guid = -1;
765 static gint hf_drsuapi_drsuapi_DsReplicaDelRequest_req1 = -1;
766 static gint hf_drsuapi_drsuapi_DsGetDomainControllerInfo_ctr = -1;
767 static gint hf_drsuapi_drsuapi_DsBindInfo48_site_guid = -1;
768 static gint hf_drsuapi_drsuapi_DsReplicaAttribute_value_ctr = -1;
769 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr7_level = -1;
770 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_SYNCED = -1;
771 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size_sid = -1;
772 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_more_data = -1;
773 static gint hf_drsuapi_drsuapi_NameResOp_V1_name_res = -1;
774 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY = -1;
775 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_ntds_guid = -1;
776 static gint hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_array = -1;
777 static gint hf_drsuapi_drsuapi_DsReplicaMetaDataCtr_meta_data = -1;
778 static gint hf_drsuapi_drsuapi_DsReplicaAddRequest2_schedule = -1;
779 static gint hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_options = -1;
780 static gint hf_drsuapi_drsuapi_DsExecuteKCC_level = -1;
781 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr2 = -1;
782 static gint hf_drsuapi_drsuapi_DsGetDCConnection01_client_account = -1;
783 static gint hf_drsuapi_drsuapi_DsCrackNames_level_out = -1;
784 static gint hf_drsuapi_drsuapi_SecBufferDesc_buff_count = -1;
785 static gint hf_drsuapi_drsuapi_DsReplicaSync_req = -1;
786 static gint hf_drsuapi_drsuapi_DsReplica06Ctr_reserved = -1;
787 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_problem = -1;
788 static gint hf_drsuapi_drsuapi_DsReplicaCursor2_source_dsa_invocation_id = -1;
789 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION = -1;
790 static gint hf_drsuapi_drsuapi_DsGetDCInfo2_site_guid = -1;
791 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_nc_linked_attributes_count = -1;
792 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_dn = -1;
793 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_id = -1;
794 static gint hf_drsuapi_drsuapi_DsWriteAccountSpn_req = -1;
795 static gint hf_drsuapi_drsuapi_DsPartialAttributeSet_reserved1 = -1;
796 static gint hf_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1_next = -1;
797 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_restart_length = -1;
798 static gint hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_dir_err = -1;
799 static gint hf_drsuapi_drsuapi_DsReplicaGetInfo_info = -1;
800 static gint hf_drsuapi_drsuapi_DsAddEntryCtr3_err_data = -1;
801 static gint hf_drsuapi_drsuapi_DsGetDCConnection01_connection_time = -1;
802 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_attr_err = -1;
803 static gint hf_drsuapi_drsuapi_NameResOp_V1_next_rdn = -1;
804 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest5_naming_context = -1;
805 static gint hf_drsuapi_drsuapi_DsGetMemberships2_ctr = -1;
806 static gint hf_drsuapi_drsuapi_DsGetMembershipsRequest1_count = -1;
807 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NO_SOURCE = -1;
808 static gint hf_drsuapi_drsuapi_DsGetDCInfo1_netbios_name = -1;
809 static gint hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_rdn_internal = -1;
810 static gint hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_ctrl_array = -1;
811 static gint hf_drsuapi_drsuapi_DsReplicaSyncRequest1_options = -1;
812 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_guid = -1;
813 static gint hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_attr_val = -1;
814 static gint hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata = -1;
815 static gint hf_drsuapi_drsuapi_DsReplicaConnection04_bind_time = -1;
816 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_restart_data = -1;
817 static gint hf_drsuapi_drsuapi_DsGetDCInfo1_dns_name = -1;
818 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_new_highwatermark = -1;
819 static gint hf_drsuapi_drsuapi_DsReplicaMetaData_originating_invocation_id = -1;
820 static gint hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_version = -1;
821 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NO_DISCARD = -1;
822 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_binary = -1;
823 static gint hf_drsuapi_drsuapi_DsReplicaCursor_highest_usn = -1;
824 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE = -1;
825 static gint hf_drsuapi_drsuapi_DsReplicaConnection04_u3 = -1;
826 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_invocation_id = -1;
827 static gint hf_drsuapi_drsuapi_DsGetNCChanges_req = -1;
828 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_lsa_creation_time = -1;
829 static gint hf_drsuapi_drsuapi_DsReplicaUpdateRefs_req = -1;
830 static gint hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_is_choice_set = -1;
831 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_linked_attributes_count = -1;
832 static gint hf_drsuapi_drsuapi_DsRemoveDSServerResult_res1 = -1;
833 static gint hf_drsuapi_drsuapi_DsReplicaSyncRequest_req1 = -1;
834 static gint hf_drsuapi_drsuapi_DsBindInfo48_config_dn_guid = -1;
835 static gint hf_drsuapi_drsuapi_DsAddEntryRequest_req2 = -1;
836 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest10_naming_context = -1;
837 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest5_max_ndr_size = -1;
838 static gint hf_drsuapi_drsuapi_DsReplicaAttributeCtr_num_attributes = -1;
839 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_mapping_ctr = -1;
840 static gint hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_object_dn = -1;
841 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS = -1;
842 static gint hf_drsuapi_drsuapi_DsGetMembershipsCtr1_num_sids = -1;
843 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr7_type = -1;
844 static gint hf_drsuapi_drsuapi_DsAddEntry_ErrData_v1 = -1;
845 static gint hf_drsuapi_drsuapi_DsReplicaConnection04_client_ip_address = -1;
846 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS = -1;
847 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION = -1;
848 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP = -1;
849 static gint hf_drsuapi_drsuapi_DsGetNCChanges_level_out = -1;
850 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP = -1;
851 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_object_count = -1;
852 static gint hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_to = -1;
853 static gint hf_drsuapi_drsuapi_DsGetDCInfoCtr1_count = -1;
854 static gint hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_extended_data = -1;
855 static gint hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_choice = -1;
856 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest5_fsmo_info = -1;
857 static gint hf_drsuapi_drsuapi_DsReplicaMetaData_originating_usn = -1;
858 static gint hf_drsuapi_drsuapi_DsReplicaModRequest1_source_dra_address = -1;
859 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_lsa_serial_number = -1;
860 static gint hf_drsuapi_drsuapi_SecBufferDesc_version = -1;
861 static gint hf_drsuapi_drsuapi_DsPartialAttributeSet_version = -1;
862 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_guid = -1;
863 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest8_uptodateness_vector = -1;
864 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size = -1;
865 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6TS_ctr6 = -1;
866 static gint hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_addr_list_count = -1;
867 static gint hf_drsuapi_drsuapi_DsReplicaMetaDataCtr_count = -1;
868 static gint hf_drsuapi_drsuapi_DsReplicaOp_options = -1;
869 static gint hf_drsuapi_drsuapi_DsReplicaObjectListItem_object = -1;
870 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_dn = -1;
871 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest8_replica_flags = -1;
872 static gint hf_drsuapi_drsuapi_DsGetDCConnection01_client_ip_address = -1;
873 static gint hf_drsuapi_drsuapi_QuerySitesByCost_level = -1;
874 static gint hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_change_time = -1;
875 static gint hf_drsuapi_drsuapi_DsWriteAccountSpn_res = -1;
876 static gint hf_drsuapi_drsuapi_DsReplicaAddRequest1_options = -1;
877 static gint hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_is_val_returned = -1;
878 static gint hf_drsuapi_drsuapi_DsReplicaObject_attribute_ctr = -1;
879 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_naming_context = -1;
880 static gint hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_attribute_name = -1;
881 static gint hf_drsuapi_drsuapi_QuerySitesByCostRequest1_num_req = -1;
882 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id = -1;
883 static gint hf_drsuapi_drsuapi_DsReplicaAddRequest2_options = -1;
884 static gint hf_drsuapi_drsuapi_DsReplicaOID_binary_oid = -1;
885 static gint hf_drsuapi_drsuapi_DsGetMembershipsCtr1_status = -1;
886 static gint hf_drsuapi_drsuapi_DsReplicaOIDMapping_id_prefix = -1;
887 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_REP = -1;
888 static gint hf_drsuapi_drsuapi_QuerySitesByCostRequest1_flags = -1;
889 static gint hf_drsuapi_drsuapi_DsNameRequest1_codepage = -1;
890 static gint hf_drsuapi_drsuapi_DsRemoveDSServer_level_out = -1;
891 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_version = -1;
892 static gint hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_compressed_length = -1;
893 static gint hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_op_state = -1;
894 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 = -1;
895 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size = -1;
896 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC_NOW = -1;
897 static gint hf_drsuapi_drsuapi_DsBindInfo28_pid = -1;
898 static gint hf_drsuapi_drsuapi_SecBuffer_buf_size = -1;
899 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest8_destination_dsa_guid = -1;
900 static gint hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_obj_guid = -1;
901 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr6_nc_object_count = -1;
902 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest_req8 = -1;
903 static gint hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_info = -1;
904 static gint hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_source_dsa_guid = -1;
905 static gint hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_dn = -1;
906 static gint hf_drsuapi_drsuapi_DsNameInfo1_result_name = -1;
907 static gint hf_drsuapi_drsuapi_DsBindInfo48_pid = -1;
908 static gint hf_drsuapi_drsuapi_DsRemoveDSServer_bind_handle = -1;
909 static gint hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_rdn_alias = -1;
910 static gint hf_drsuapi_drsuapi_DsGetMemberships2Ctr_ctr1 = -1;
911 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS = -1;
912 static gint hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_dn = -1;
913 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5 = -1;
914 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_result_last_attempt = -1;
915 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr1_new_highwatermark = -1;
916 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_log_length = -1;
917 static gint hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_status = -1;
918 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_OP = -1;
919 static gint hf_drsuapi_drsuapi_DsAddEntryRequest_req3 = -1;
920 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest8_max_object_count = -1;
921 static gint hf_drsuapi_drsuapi_DsGetDCInfo2_site_dn = -1;
922 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest10_more_flags = -1;
923 static gint hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_compressed_length = -1;
924 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT = -1;
925 static gint hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip6 = -1;
926 static gint hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_reserved1 = -1;
927 static gint hf_drsuapi_drsuapi_DsGetDCInfoCtr1_array = -1;
928 static gint hf_drsuapi_drsuapi_DsNameRequest_req1 = -1;
929 static gint hf_drsuapi_drsuapi_DsGetNCChangesCtr1TS_ctr1_ = -1;
930 static gint hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr01 = -1;
931 static gint hf_drsuapi_drsuapi_DsReplicaMod_bind_handle = -1;
932 static gint hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_source_dsa_guid = -1;
933 static gint hf_drsuapi_drsuapi_QuerySitesByCostCtr_ctr1 = -1;
934 static gint hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_num_entries = -1;
935 static gint hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest_req1 = -1;
936 static gint hf_drsuapi_drsuapi_DsGetDCInfo3_site_dn = -1;
937 static gint hf_drsuapi_drsuapi_NameResOp_V1_unused_pad = -1;
938 static gint hf_drsuapi_drsuapi_DsGetMemberships_bind_handle = -1;
939 static gint hf_drsuapi_drsuapi_DsAddEntryCtr3_count = -1;
940 static gint hf_drsuapi_drsuapi_DsGetNCChangesRequest10_replica_flags = -1;
941 static gint hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_dn = -1;
942 static gint hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_dsid = -1;
943 static gint hf_drsuapi_drsuapi_DsAddEntryCtr2_id = -1;
944 static gint hf_drsuapi_drsuapi_DsGetDCConnection01_unknown6 = -1;
945 static gint hf_drsuapi_drsuapi_QuerySitesByCost_bind_handle = -1;
946 static gint hf_drsuapi_drsuapi_DsReplicaOp_nc_dn = -1;
947 static gint hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_from = -1;
948 static gint hf_drsuapi_drsuapi_DsReplicaMetaData_originating_change_time = -1;
949 static gint hf_drsuapi_drsuapi_DsGetMembershipsCtr_ctr1 = -1;
950 static gint hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ADD_REF = -1;
951 static gint hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7 = -1;
952 static gint hf_drsuapi_drsuapi_DsReplicaNeighbour_last_success = -1;
953 static gint hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_decompressed_length = -1;
954 static gint hf_drsuapi_drsuapi_DsAddEntryCtr2_dsid = -1;
955 static gint hf_drsuapi_drsuapi_DsGetNCChanges_level = -1;
956 static gint hf_drsuapi_drsuapi_DsReplicaAttribute_attid = -1;
957 static gint hf_drsuapi_drsuapi_DsGetDomainControllerInfo_bind_handle = -1;
958 static gint hf_drsuapi_drsuapi_DsBind_bind_info = -1;
959 static gint hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_enumeration_context = -1;
960
961 static gint proto_dcerpc_drsuapi = -1;
962 /* Version information */
963
964
965 static e_uuid_t uuid_dcerpc_drsuapi = {
966         0xe3514235, 0x4b06, 0x11d1,
967         { 0xab, 0x04, 0x00, 0xc0, 0x4f, 0xc2, 0xdc, 0xd2 }
968 };
969 static guint16 ver_dcerpc_drsuapi = 4;
970
971 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_OP_tfs = {
972    "DRSUAPI_DRS_ASYNC_OP is SET",
973    "DRSUAPI_DRS_ASYNC_OP is NOT SET",
974 };
975 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_GETCHG_CHECK_tfs = {
976    "DRSUAPI_DRS_GETCHG_CHECK is SET",
977    "DRSUAPI_DRS_GETCHG_CHECK is NOT SET",
978 };
979 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_UPDATE_NOTIFICATION_tfs = {
980    "DRSUAPI_DRS_UPDATE_NOTIFICATION is SET",
981    "DRSUAPI_DRS_UPDATE_NOTIFICATION is NOT SET",
982 };
983 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_ADD_REF_tfs = {
984    "DRSUAPI_DRS_ADD_REF is SET",
985    "DRSUAPI_DRS_ADD_REF is NOT SET",
986 };
987 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_ALL_tfs = {
988    "DRSUAPI_DRS_SYNC_ALL is SET",
989    "DRSUAPI_DRS_SYNC_ALL is NOT SET",
990 };
991 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_DEL_REF_tfs = {
992    "DRSUAPI_DRS_DEL_REF is SET",
993    "DRSUAPI_DRS_DEL_REF is NOT SET",
994 };
995 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_WRIT_REP_tfs = {
996    "DRSUAPI_DRS_WRIT_REP is SET",
997    "DRSUAPI_DRS_WRIT_REP is NOT SET",
998 };
999 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC_tfs = {
1000    "DRSUAPI_DRS_INIT_SYNC is SET",
1001    "DRSUAPI_DRS_INIT_SYNC is NOT SET",
1002 };
1003 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_PER_SYNC_tfs = {
1004    "DRSUAPI_DRS_PER_SYNC is SET",
1005    "DRSUAPI_DRS_PER_SYNC is NOT SET",
1006 };
1007 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_MAIL_REP_tfs = {
1008    "DRSUAPI_DRS_MAIL_REP is SET",
1009    "DRSUAPI_DRS_MAIL_REP is NOT SET",
1010 };
1011 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_REP_tfs = {
1012    "DRSUAPI_DRS_ASYNC_REP is SET",
1013    "DRSUAPI_DRS_ASYNC_REP is NOT SET",
1014 };
1015 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_IGNORE_ERROR_tfs = {
1016    "DRSUAPI_DRS_IGNORE_ERROR is SET",
1017    "DRSUAPI_DRS_IGNORE_ERROR is NOT SET",
1018 };
1019 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_TWOWAY_SYNC_tfs = {
1020    "DRSUAPI_DRS_TWOWAY_SYNC is SET",
1021    "DRSUAPI_DRS_TWOWAY_SYNC is NOT SET",
1022 };
1023 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_CRITICAL_ONLY_tfs = {
1024    "DRSUAPI_DRS_CRITICAL_ONLY is SET",
1025    "DRSUAPI_DRS_CRITICAL_ONLY is NOT SET",
1026 };
1027 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_GET_ANC_tfs = {
1028    "DRSUAPI_DRS_GET_ANC is SET",
1029    "DRSUAPI_DRS_GET_ANC is NOT SET",
1030 };
1031 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_GET_NC_SIZE_tfs = {
1032    "DRSUAPI_DRS_GET_NC_SIZE is SET",
1033    "DRSUAPI_DRS_GET_NC_SIZE is NOT SET",
1034 };
1035 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_LOCAL_ONLY_tfs = {
1036    "DRSUAPI_DRS_LOCAL_ONLY is SET",
1037    "DRSUAPI_DRS_LOCAL_ONLY is NOT SET",
1038 };
1039 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_NONGC_RO_REP_tfs = {
1040    "DRSUAPI_DRS_NONGC_RO_REP is SET",
1041    "DRSUAPI_DRS_NONGC_RO_REP is NOT SET",
1042 };
1043 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_BYNAME_tfs = {
1044    "DRSUAPI_DRS_SYNC_BYNAME is SET",
1045    "DRSUAPI_DRS_SYNC_BYNAME is NOT SET",
1046 };
1047 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_REF_OK_tfs = {
1048    "DRSUAPI_DRS_REF_OK is SET",
1049    "DRSUAPI_DRS_REF_OK is NOT SET",
1050 };
1051 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_NOW_tfs = {
1052    "DRSUAPI_DRS_FULL_SYNC_NOW is SET",
1053    "DRSUAPI_DRS_FULL_SYNC_NOW is NOT SET",
1054 };
1055 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_NO_SOURCE_tfs = {
1056    "DRSUAPI_DRS_NO_SOURCE is SET",
1057    "DRSUAPI_DRS_NO_SOURCE is NOT SET",
1058 };
1059 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS_tfs = {
1060    "DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS is SET",
1061    "DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS is NOT SET",
1062 };
1063 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_PACKET_tfs = {
1064    "DRSUAPI_DRS_FULL_SYNC_PACKET is SET",
1065    "DRSUAPI_DRS_FULL_SYNC_PACKET is NOT SET",
1066 };
1067 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_REQUEUE_tfs = {
1068    "DRSUAPI_DRS_SYNC_REQUEUE is SET",
1069    "DRSUAPI_DRS_SYNC_REQUEUE is NOT SET",
1070 };
1071 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_URGENT_tfs = {
1072    "DRSUAPI_DRS_SYNC_URGENT is SET",
1073    "DRSUAPI_DRS_SYNC_URGENT is NOT SET",
1074 };
1075 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_REF_GCSPN_tfs = {
1076    "DRSUAPI_DRS_REF_GCSPN is SET",
1077    "DRSUAPI_DRS_REF_GCSPN is NOT SET",
1078 };
1079 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_NO_DISCARD_tfs = {
1080    "DRSUAPI_DRS_NO_DISCARD is SET",
1081    "DRSUAPI_DRS_NO_DISCARD is NOT SET",
1082 };
1083 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_SYNCED_tfs = {
1084    "DRSUAPI_DRS_NEVER_SYNCED is SET",
1085    "DRSUAPI_DRS_NEVER_SYNCED is NOT SET",
1086 };
1087 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING_tfs = {
1088    "DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING is SET",
1089    "DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING is NOT SET",
1090 };
1091 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC_NOW_tfs = {
1092    "DRSUAPI_DRS_INIT_SYNC_NOW is SET",
1093    "DRSUAPI_DRS_INIT_SYNC_NOW is NOT SET",
1094 };
1095 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_PREEMPTED_tfs = {
1096    "DRSUAPI_DRS_PREEMPTED is SET",
1097    "DRSUAPI_DRS_PREEMPTED is NOT SET",
1098 };
1099 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_FORCED_tfs = {
1100    "DRSUAPI_DRS_SYNC_FORCED is SET",
1101    "DRSUAPI_DRS_SYNC_FORCED is NOT SET",
1102 };
1103 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_AUTO_SYNC_tfs = {
1104    "DRSUAPI_DRS_DISABLE_AUTO_SYNC is SET",
1105    "DRSUAPI_DRS_DISABLE_AUTO_SYNC is NOT SET",
1106 };
1107 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_PERIODIC_SYNC_tfs = {
1108    "DRSUAPI_DRS_DISABLE_PERIODIC_SYNC is SET",
1109    "DRSUAPI_DRS_DISABLE_PERIODIC_SYNC is NOT SET",
1110 };
1111 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_USE_COMPRESSION_tfs = {
1112    "DRSUAPI_DRS_USE_COMPRESSION is SET",
1113    "DRSUAPI_DRS_USE_COMPRESSION is NOT SET",
1114 };
1115 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_NOTIFY_tfs = {
1116    "DRSUAPI_DRS_NEVER_NOTIFY is SET",
1117    "DRSUAPI_DRS_NEVER_NOTIFY is NOT SET",
1118 };
1119 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_PAS_tfs = {
1120    "DRSUAPI_DRS_SYNC_PAS is SET",
1121    "DRSUAPI_DRS_SYNC_PAS is NOT SET",
1122 };
1123 static const true_false_string drsuapi_DrsOptions_DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP_tfs = {
1124    "DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP is SET",
1125    "DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP is NOT SET",
1126 };
1127 static const true_false_string drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_FLAGS_tfs = {
1128    "DRSUAPI_DRS_UPDATE_FLAGS is SET",
1129    "DRSUAPI_DRS_UPDATE_FLAGS is NOT SET",
1130 };
1131 static const true_false_string drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_ADDRESS_tfs = {
1132    "DRSUAPI_DRS_UPDATE_ADDRESS is SET",
1133    "DRSUAPI_DRS_UPDATE_ADDRESS is NOT SET",
1134 };
1135 static const true_false_string drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_SCHEDULE_tfs = {
1136    "DRSUAPI_DRS_UPDATE_SCHEDULE is SET",
1137    "DRSUAPI_DRS_UPDATE_SCHEDULE is NOT SET",
1138 };
1139 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE_tfs = {
1140    "DRSUAPI_SUPPORTED_EXTENSION_BASE is SET",
1141    "DRSUAPI_SUPPORTED_EXTENSION_BASE is NOT SET",
1142 };
1143 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION_tfs = {
1144    "DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION is SET",
1145    "DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION is NOT SET",
1146 };
1147 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI_tfs = {
1148    "DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI is SET",
1149    "DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI is NOT SET",
1150 };
1151 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2_tfs = {
1152    "DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 is SET",
1153    "DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 is NOT SET",
1154 };
1155 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS_tfs = {
1156    "DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS is SET",
1157    "DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS is NOT SET",
1158 };
1159 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1_tfs = {
1160    "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 is SET",
1161    "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 is NOT SET",
1162 };
1163 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION_tfs = {
1164    "DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION is SET",
1165    "DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION is NOT SET",
1166 };
1167 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_tfs = {
1168    "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY is SET",
1169    "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY is NOT SET",
1170 };
1171 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE_tfs = {
1172    "DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE is SET",
1173    "DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE is NOT SET",
1174 };
1175 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2_tfs = {
1176    "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 is SET",
1177    "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 is NOT SET",
1178 };
1179 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION_tfs = {
1180    "DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION is SET",
1181    "DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION is NOT SET",
1182 };
1183 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2_tfs = {
1184    "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 is SET",
1185    "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 is NOT SET",
1186 };
1187 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD_tfs = {
1188    "DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD is SET",
1189    "DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD is NOT SET",
1190 };
1191 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND_tfs = {
1192    "DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND is SET",
1193    "DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND is NOT SET",
1194 };
1195 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO_tfs = {
1196    "DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO is SET",
1197    "DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO is NOT SET",
1198 };
1199 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION_tfs = {
1200    "DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION is SET",
1201    "DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION is NOT SET",
1202 };
1203 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01_tfs = {
1204    "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 is SET",
1205    "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 is NOT SET",
1206 };
1207 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP_tfs = {
1208    "DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP is SET",
1209    "DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP is NOT SET",
1210 };
1211 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY_tfs = {
1212    "DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY is SET",
1213    "DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY is NOT SET",
1214 };
1215 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3_tfs = {
1216    "DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 is SET",
1217    "DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 is NOT SET",
1218 };
1219 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5_tfs = {
1220    "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5 is SET",
1221    "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5 is NOT SET",
1222 };
1223 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2_tfs = {
1224    "DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 is SET",
1225    "DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 is NOT SET",
1226 };
1227 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6_tfs = {
1228    "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 is SET",
1229    "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 is NOT SET",
1230 };
1231 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS_tfs = {
1232    "DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS is SET",
1233    "DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS is NOT SET",
1234 };
1235 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8_tfs = {
1236    "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 is SET",
1237    "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 is NOT SET",
1238 };
1239 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5_tfs = {
1240    "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 is SET",
1241    "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 is NOT SET",
1242 };
1243 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6_tfs = {
1244    "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 is SET",
1245    "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 is NOT SET",
1246 };
1247 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3_tfs = {
1248    "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 is SET",
1249    "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 is NOT SET",
1250 };
1251 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7_tfs = {
1252    "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7 is SET",
1253    "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7 is NOT SET",
1254 };
1255 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT_tfs = {
1256    "DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT is SET",
1257    "DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT is NOT SET",
1258 };
1259 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS_tfs = {
1260    "DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS is SET",
1261    "DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS is NOT SET",
1262 };
1263 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10_tfs = {
1264    "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10 is SET",
1265    "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10 is NOT SET",
1266 };
1267 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2_tfs = {
1268    "DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2 is SET",
1269    "DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2 is NOT SET",
1270 };
1271 static const true_false_string drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3_tfs = {
1272    "DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3 is SET",
1273    "DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3 is NOT SET",
1274 };
1275 static const true_false_string drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_ADAM_tfs = {
1276    "DRSUAPI_SUPPORTED_EXTENSION_ADAM is SET",
1277    "DRSUAPI_SUPPORTED_EXTENSION_ADAM is NOT SET",
1278 };
1279 static const true_false_string drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2_tfs = {
1280    "DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2 is SET",
1281    "DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2 is NOT SET",
1282 };
1283 static const true_false_string drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN_tfs = {
1284    "DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN is SET",
1285    "DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN is NOT SET",
1286 };
1287 static int drsuapi_dissect_element_DsBindInfo24_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1288 static int drsuapi_dissect_element_DsBindInfo24_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1289 static int drsuapi_dissect_element_DsBindInfo24_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1290 static int drsuapi_dissect_element_DsBindInfo28_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1291 static int drsuapi_dissect_element_DsBindInfo28_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1292 static int drsuapi_dissect_element_DsBindInfo28_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1293 static int drsuapi_dissect_element_DsBindInfo28_repl_epoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1294 static int drsuapi_dissect_element_DsBindInfo48_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1295 static int drsuapi_dissect_element_DsBindInfo48_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1296 static int drsuapi_dissect_element_DsBindInfo48_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1297 static int drsuapi_dissect_element_DsBindInfo48_repl_epoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1298 static int drsuapi_dissect_element_DsBindInfo48_supported_extensions_ext(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1299 static int drsuapi_dissect_element_DsBindInfo48_config_dn_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1300 static int drsuapi_dissect_element_DsBindInfoFallBack_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1301 static int drsuapi_dissect_element_DsBindInfo_info24(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1302 static int drsuapi_dissect_element_DsBindInfo_info24_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1303 static int drsuapi_dissect_element_DsBindInfo_info28(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1304 static int drsuapi_dissect_element_DsBindInfo_info28_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1305 static int drsuapi_dissect_element_DsBindInfo_info48(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1306 static int drsuapi_dissect_element_DsBindInfo_info48_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1307 static int drsuapi_dissect_element_DsBindInfo_Fallback(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1308 static int drsuapi_dissect_element_DsBindInfo_Fallback_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1309 static int drsuapi_dissect_element_DsBindInfoCtr_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *length);
1310 static int drsuapi_dissect_element_DsBindInfoCtr___ndr_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1311 static int drsuapi_dissect_element_DsBindInfoCtr_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *length);
1312 static int drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1313 static int drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1314 static int drsuapi_dissect_element_DsReplicaObjectIdentifier_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1315 static int drsuapi_dissect_element_DsReplicaObjectIdentifier_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1316 static int drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1317 static int drsuapi_dissect_element_DsReplicaObjectIdentifier_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1318 static int drsuapi_dissect_element_DsReplicaObjectIdentifier_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1319 static int drsuapi_dissect_element_DsReplicaSyncRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1320 static int drsuapi_dissect_element_DsReplicaSyncRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1321 static int drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1322 static int drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_dns(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1323 static int drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_dns_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1324 static int drsuapi_dissect_element_DsReplicaSyncRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1325 static int drsuapi_dissect_element_DsReplicaSyncRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1326 static int drsuapi_dissect_element_DsReplicaHighWaterMark_tmp_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1327 static int drsuapi_dissect_element_DsReplicaHighWaterMark_reserved_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1328 static int drsuapi_dissect_element_DsReplicaHighWaterMark_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1329 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_, guint8 *drep _U_);
1330 static int drsuapi_dissect_element_DsReplicaCursor_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1331 static int drsuapi_dissect_element_DsReplicaCursorCtrEx_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1332 static int drsuapi_dissect_element_DsReplicaCursorCtrEx_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1333 static int drsuapi_dissect_element_DsReplicaCursorCtrEx_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1334 static int drsuapi_dissect_element_DsReplicaCursorCtrEx_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1335 static int drsuapi_dissect_element_DsReplicaCursorCtrEx_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1336 static int drsuapi_dissect_element_DsReplicaCursorCtrEx_cursors_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1337 const value_string drsuapi_drsuapi_DsExtendedOperation_vals[] = {
1338         { DRSUAPI_EXOP_NONE, "DRSUAPI_EXOP_NONE" },
1339         { DRSUAPI_EXOP_FSMO_REQ_ROLE, "DRSUAPI_EXOP_FSMO_REQ_ROLE" },
1340         { DRSUAPI_EXOP_FSMO_RID_ALLOC, "DRSUAPI_EXOP_FSMO_RID_ALLOC" },
1341         { DRSUAPI_EXOP_FSMO_RID_REQ_ROLE, "DRSUAPI_EXOP_FSMO_RID_REQ_ROLE" },
1342         { DRSUAPI_EXOP_FSMO_REQ_PDC, "DRSUAPI_EXOP_FSMO_REQ_PDC" },
1343         { DRSUAPI_EXOP_FSMO_ABANDON_ROLE, "DRSUAPI_EXOP_FSMO_ABANDON_ROLE" },
1344         { DRSUAPI_EXOP_REPL_OBJ, "DRSUAPI_EXOP_REPL_OBJ" },
1345         { DRSUAPI_EXOP_REPL_SECRET, "DRSUAPI_EXOP_REPL_SECRET" },
1346 { 0, NULL }
1347 };
1348 const value_string drsuapi_drsuapi_DsExtendedError_vals[] = {
1349         { DRSUAPI_EXOP_ERR_NONE, "DRSUAPI_EXOP_ERR_NONE" },
1350         { DRSUAPI_EXOP_ERR_SUCCESS, "DRSUAPI_EXOP_ERR_SUCCESS" },
1351         { DRSUAPI_EXOP_ERR_UNKNOWN_OP, "DRSUAPI_EXOP_ERR_UNKNOWN_OP" },
1352         { DRSUAPI_EXOP_ERR_FSMO_NOT_OWNER, "DRSUAPI_EXOP_ERR_FSMO_NOT_OWNER" },
1353         { DRSUAPI_EXOP_ERR_UPDATE_ERR, "DRSUAPI_EXOP_ERR_UPDATE_ERR" },
1354         { DRSUAPI_EXOP_ERR_EXCEPTION, "DRSUAPI_EXOP_ERR_EXCEPTION" },
1355         { DRSUAPI_EXOP_ERR_UNKNOWN_CALLER, "DRSUAPI_EXOP_ERR_UNKNOWN_CALLER" },
1356         { DRSUAPI_EXOP_ERR_RID_ALLOC, "DRSUAPI_EXOP_ERR_RID_ALLOC" },
1357         { DRSUAPI_EXOP_ERR_FSMO_OWNER_DELETED, "DRSUAPI_EXOP_ERR_FSMO_OWNER_DELETED" },
1358         { DRSUAPI_EXOP_ERR_FMSO_PENDING_OP, "DRSUAPI_EXOP_ERR_FMSO_PENDING_OP" },
1359         { DRSUAPI_EXOP_ERR_MISMATCH, "DRSUAPI_EXOP_ERR_MISMATCH" },
1360         { DRSUAPI_EXOP_ERR_COULDNT_CONTACT, "DRSUAPI_EXOP_ERR_COULDNT_CONTACT" },
1361         { DRSUAPI_EXOP_ERR_FSMO_REFUSING_ROLES, "DRSUAPI_EXOP_ERR_FSMO_REFUSING_ROLES" },
1362         { DRSUAPI_EXOP_ERR_DIR_ERROR, "DRSUAPI_EXOP_ERR_DIR_ERROR" },
1363         { DRSUAPI_EXOP_ERR_FSMO_MISSING_SETTINGS, "DRSUAPI_EXOP_ERR_FSMO_MISSING_SETTINGS" },
1364         { DRSUAPI_EXOP_ERR_ACCESS_DENIED, "DRSUAPI_EXOP_ERR_ACCESS_DENIED" },
1365         { DRSUAPI_EXOP_ERR_PARAM_ERROR, "DRSUAPI_EXOP_ERR_PARAM_ERROR" },
1366 { 0, NULL }
1367 };
1368 static int drsuapi_dissect_element_DsGetNCChangesRequest5_destination_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1369 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_, guint8 *drep _U_);
1370 static int drsuapi_dissect_element_DsGetNCChangesRequest5_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1371 static int drsuapi_dissect_element_DsGetNCChangesRequest5_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1372 static int drsuapi_dissect_element_DsGetNCChangesRequest5_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1373 static int drsuapi_dissect_element_DsGetNCChangesRequest5_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1374 static int drsuapi_dissect_element_DsGetNCChangesRequest5_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1375 static int drsuapi_dissect_element_DsGetNCChangesRequest5_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1376 static int drsuapi_dissect_element_DsGetNCChangesRequest5_max_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1377 static int drsuapi_dissect_element_DsGetNCChangesRequest5_max_ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1378 static int drsuapi_dissect_element_DsGetNCChangesRequest5_extended_op(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1379 static int drsuapi_dissect_element_DsGetNCChangesRequest5_fsmo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1380 static int drsuapi_dissect_element_DsReplicaOID_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1381 static int drsuapi_dissect_element_DsReplicaOID_binary_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1382 static int drsuapi_dissect_element_DsReplicaOID_binary_oid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1383 static int drsuapi_dissect_element_DsReplicaOID_binary_oid__(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1384 static int drsuapi_dissect_element_DsReplicaOIDMapping_id_prefix(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1385 static int drsuapi_dissect_element_DsReplicaOIDMapping_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1386 static int drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_num_mappings(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1387 static int drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1388 static int drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1389 static int drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1390 const value_string drsuapi_drsuapi_DsObjectClassId_vals[] = {
1391         { DRSUAPI_OBJECTCLASS_top, "DRSUAPI_OBJECTCLASS_top" },
1392         { DRSUAPI_OBJECTCLASS_classSchema, "DRSUAPI_OBJECTCLASS_classSchema" },
1393         { DRSUAPI_OBJECTCLASS_attributeSchema, "DRSUAPI_OBJECTCLASS_attributeSchema" },
1394 { 0, NULL }
1395 };
1396 const value_string drsuapi_drsuapi_DsAttributeId_vals[] = {
1397         { DRSUAPI_ATTID_objectClass, "DRSUAPI_ATTID_objectClass" },
1398         { DRSUAPI_ATTID_cn, "DRSUAPI_ATTID_cn" },
1399         { DRSUAPI_ATTID_ou, "DRSUAPI_ATTID_ou" },
1400         { DRSUAPI_ATTID_description, "DRSUAPI_ATTID_description" },
1401         { DRSUAPI_ATTID_member, "DRSUAPI_ATTID_member" },
1402         { DRSUAPI_ATTID_instanceType, "DRSUAPI_ATTID_instanceType" },
1403         { DRSUAPI_ATTID_whenCreated, "DRSUAPI_ATTID_whenCreated" },
1404         { DRSUAPI_ATTID_possSuperiors, "DRSUAPI_ATTID_possSuperiors" },
1405         { DRSUAPI_ATTID_displayName, "DRSUAPI_ATTID_displayName" },
1406         { DRSUAPI_ATTID_hasMasterNCs, "DRSUAPI_ATTID_hasMasterNCs" },
1407         { DRSUAPI_ATTID_nCName, "DRSUAPI_ATTID_nCName" },
1408         { DRSUAPI_ATTID_subClassOf, "DRSUAPI_ATTID_subClassOf" },
1409         { DRSUAPI_ATTID_governsID, "DRSUAPI_ATTID_governsID" },
1410         { DRSUAPI_ATTID_mustContain, "DRSUAPI_ATTID_mustContain" },
1411         { DRSUAPI_ATTID_mayContain, "DRSUAPI_ATTID_mayContain" },
1412         { DRSUAPI_ATTID_rDNAttId, "DRSUAPI_ATTID_rDNAttId" },
1413         { DRSUAPI_ATTID_attributeID, "DRSUAPI_ATTID_attributeID" },
1414         { DRSUAPI_ATTID_attributeSyntax, "DRSUAPI_ATTID_attributeSyntax" },
1415         { DRSUAPI_ATTID_isSingleValued, "DRSUAPI_ATTID_isSingleValued" },
1416         { DRSUAPI_ATTID_rangeLower, "DRSUAPI_ATTID_rangeLower" },
1417         { DRSUAPI_ATTID_rangeUpper, "DRSUAPI_ATTID_rangeUpper" },
1418         { DRSUAPI_ATTID_dMDLocation, "DRSUAPI_ATTID_dMDLocation" },
1419         { DRSUAPI_ATTID_isDeleted, "DRSUAPI_ATTID_isDeleted" },
1420         { DRSUAPI_ATTID_objectVersion, "DRSUAPI_ATTID_objectVersion" },
1421         { DRSUAPI_ATTID_invocationId, "DRSUAPI_ATTID_invocationId" },
1422         { DRSUAPI_ATTID_showInAdvancedViewOnly, "DRSUAPI_ATTID_showInAdvancedViewOnly" },
1423         { DRSUAPI_ATTID_adminDisplayName, "DRSUAPI_ATTID_adminDisplayName" },
1424         { DRSUAPI_ATTID_adminDescription, "DRSUAPI_ATTID_adminDescription" },
1425         { DRSUAPI_ATTID_oMSyntax, "DRSUAPI_ATTID_oMSyntax" },
1426         { DRSUAPI_ATTID_ntSecurityDescriptor, "DRSUAPI_ATTID_ntSecurityDescriptor" },
1427         { DRSUAPI_ATTID_searchFlags, "DRSUAPI_ATTID_searchFlags" },
1428         { DRSUAPI_ATTID_auxiliaryClass, "DRSUAPI_ATTID_auxiliaryClass" },
1429         { DRSUAPI_ATTID_lDAPDisplayName, "DRSUAPI_ATTID_lDAPDisplayName" },
1430         { DRSUAPI_ATTID_name, "DRSUAPI_ATTID_name" },
1431         { DRSUAPI_ATTID_userAccountControl, "DRSUAPI_ATTID_userAccountControl" },
1432         { DRSUAPI_ATTID_badPwdCount, "DRSUAPI_ATTID_badPwdCount" },
1433         { DRSUAPI_ATTID_codePage, "DRSUAPI_ATTID_codePage" },
1434         { DRSUAPI_ATTID_countryCode, "DRSUAPI_ATTID_countryCode" },
1435         { DRSUAPI_ATTID_currentValue, "DRSUAPI_ATTID_currentValue" },
1436         { DRSUAPI_ATTID_homeDirectory, "DRSUAPI_ATTID_homeDirectory" },
1437         { DRSUAPI_ATTID_homeDrive, "DRSUAPI_ATTID_homeDrive" },
1438         { DRSUAPI_ATTID_lastLogoff, "DRSUAPI_ATTID_lastLogoff" },
1439         { DRSUAPI_ATTID_lastLogon, "DRSUAPI_ATTID_lastLogon" },
1440         { DRSUAPI_ATTID_dBCSPwd, "DRSUAPI_ATTID_dBCSPwd" },
1441         { DRSUAPI_ATTID_scriptPath, "DRSUAPI_ATTID_scriptPath" },
1442         { DRSUAPI_ATTID_logonHours, "DRSUAPI_ATTID_logonHours" },
1443         { DRSUAPI_ATTID_userWorkstations, "DRSUAPI_ATTID_userWorkstations" },
1444         { DRSUAPI_ATTID_unicodePwd, "DRSUAPI_ATTID_unicodePwd" },
1445         { DRSUAPI_ATTID_ntPwdHistory, "DRSUAPI_ATTID_ntPwdHistory" },
1446         { DRSUAPI_ATTID_pwdLastSet, "DRSUAPI_ATTID_pwdLastSet" },
1447         { DRSUAPI_ATTID_primaryGroupID, "DRSUAPI_ATTID_primaryGroupID" },
1448         { DRSUAPI_ATTID_priorValue, "DRSUAPI_ATTID_priorValue" },
1449         { DRSUAPI_ATTID_supplementalCredentials, "DRSUAPI_ATTID_supplementalCredentials" },
1450         { DRSUAPI_ATTID_trustAuthIncoming, "DRSUAPI_ATTID_trustAuthIncoming" },
1451         { DRSUAPI_ATTID_trustAuthOutgoing, "DRSUAPI_ATTID_trustAuthOutgoing" },
1452         { DRSUAPI_ATTID_userParameters, "DRSUAPI_ATTID_userParameters" },
1453         { DRSUAPI_ATTID_profilePath, "DRSUAPI_ATTID_profilePath" },
1454         { DRSUAPI_ATTID_objectSid, "DRSUAPI_ATTID_objectSid" },
1455         { DRSUAPI_ATTID_schemaIDGUID, "DRSUAPI_ATTID_schemaIDGUID" },
1456         { DRSUAPI_ATTID_comment, "DRSUAPI_ATTID_comment" },
1457         { DRSUAPI_ATTID_accountExpires, "DRSUAPI_ATTID_accountExpires" },
1458         { DRSUAPI_ATTID_lmPwdHistory, "DRSUAPI_ATTID_lmPwdHistory" },
1459         { DRSUAPI_ATTID_logonCount, "DRSUAPI_ATTID_logonCount" },
1460         { DRSUAPI_ATTID_systemPossSuperiors, "DRSUAPI_ATTID_systemPossSuperiors" },
1461         { DRSUAPI_ATTID_systemMayContain, "DRSUAPI_ATTID_systemMayContain" },
1462         { DRSUAPI_ATTID_systemMustContain, "DRSUAPI_ATTID_systemMustContain" },
1463         { DRSUAPI_ATTID_systemAuxiliaryClass, "DRSUAPI_ATTID_systemAuxiliaryClass" },
1464         { DRSUAPI_ATTID_sAMAccountName, "DRSUAPI_ATTID_sAMAccountName" },
1465         { DRSUAPI_ATTID_sAMAccountType, "DRSUAPI_ATTID_sAMAccountType" },
1466         { DRSUAPI_ATTID_options, "DRSUAPI_ATTID_options" },
1467         { DRSUAPI_ATTID_fSMORoleOwner, "DRSUAPI_ATTID_fSMORoleOwner" },
1468         { DRSUAPI_ATTID_systemFlags, "DRSUAPI_ATTID_systemFlags" },
1469         { DRSUAPI_ATTID_serverReference, "DRSUAPI_ATTID_serverReference" },
1470         { DRSUAPI_ATTID_serverReferenceBL, "DRSUAPI_ATTID_serverReferenceBL" },
1471         { DRSUAPI_ATTID_initialAuthIncoming, "DRSUAPI_ATTID_initialAuthIncoming" },
1472         { DRSUAPI_ATTID_initialAuthOutgoing, "DRSUAPI_ATTID_initialAuthOutgoing" },
1473         { DRSUAPI_ATTID_wellKnownObjects, "DRSUAPI_ATTID_wellKnownObjects" },
1474         { DRSUAPI_ATTID_dNSHostName, "DRSUAPI_ATTID_dNSHostName" },
1475         { DRSUAPI_ATTID_isMemberOfPartialAttributeSet, "DRSUAPI_ATTID_isMemberOfPartialAttributeSet" },
1476         { DRSUAPI_ATTID_userPrincipalName, "DRSUAPI_ATTID_userPrincipalName" },
1477         { DRSUAPI_ATTID_groupType, "DRSUAPI_ATTID_groupType" },
1478         { DRSUAPI_ATTID_servicePrincipalName, "DRSUAPI_ATTID_servicePrincipalName" },
1479         { DRSUAPI_ATTID_lastKnownParent, "DRSUAPI_ATTID_lastKnownParent" },
1480         { DRSUAPI_ATTID_objectCategory, "DRSUAPI_ATTID_objectCategory" },
1481         { DRSUAPI_ATTID_gPLink, "DRSUAPI_ATTID_gPLink" },
1482         { DRSUAPI_ATTID_transportAddressAttribute, "DRSUAPI_ATTID_transportAddressAttribute" },
1483         { DRSUAPI_ATTID_msDS_Behavior_Version, "DRSUAPI_ATTID_msDS_Behavior_Version" },
1484         { DRSUAPI_ATTID_msDS_KeyVersionNumber, "DRSUAPI_ATTID_msDS_KeyVersionNumber" },
1485         { DRSUAPI_ATTID_msDS_HasDomainNCs, "DRSUAPI_ATTID_msDS_HasDomainNCs" },
1486         { DRSUAPI_ATTID_msDS_hasMasterNCs, "DRSUAPI_ATTID_msDS_hasMasterNCs" },
1487         { DRSUAPI_ATTID_isRecycled, "DRSUAPI_ATTID_isRecycled" },
1488         { DRSUAPI_ATTID_INVALID, "DRSUAPI_ATTID_INVALID" },
1489 { 0, NULL }
1490 };
1491 static int drsuapi_dissect_element_DsPartialAttributeSet_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1492 static int drsuapi_dissect_element_DsPartialAttributeSet_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1493 static int drsuapi_dissect_element_DsPartialAttributeSet_num_attids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1494 static int drsuapi_dissect_element_DsPartialAttributeSet_attids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1495 static int drsuapi_dissect_element_DsPartialAttributeSet_attids_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1496 static int drsuapi_dissect_element_DsGetNCChangesRequest8_destination_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1497 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_, guint8 *drep _U_);
1498 static int drsuapi_dissect_element_DsGetNCChangesRequest8_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1499 static int drsuapi_dissect_element_DsGetNCChangesRequest8_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1500 static int drsuapi_dissect_element_DsGetNCChangesRequest8_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1501 static int drsuapi_dissect_element_DsGetNCChangesRequest8_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1502 static int drsuapi_dissect_element_DsGetNCChangesRequest8_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1503 static int drsuapi_dissect_element_DsGetNCChangesRequest8_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1504 static int drsuapi_dissect_element_DsGetNCChangesRequest8_max_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1505 static int drsuapi_dissect_element_DsGetNCChangesRequest8_max_ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1506 static int drsuapi_dissect_element_DsGetNCChangesRequest8_extended_op(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1507 static int drsuapi_dissect_element_DsGetNCChangesRequest8_fsmo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1508 static int drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1509 static int drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1510 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_, guint8 *drep _U_);
1511 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_, guint8 *drep _U_);
1512 static int drsuapi_dissect_element_DsGetNCChangesRequest8_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1513 static int drsuapi_dissect_element_DsGetNCChangesRequest10_destination_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1514 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_, guint8 *drep _U_);
1515 static int drsuapi_dissect_element_DsGetNCChangesRequest10_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1516 static int drsuapi_dissect_element_DsGetNCChangesRequest10_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1517 static int drsuapi_dissect_element_DsGetNCChangesRequest10_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1518 static int drsuapi_dissect_element_DsGetNCChangesRequest10_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1519 static int drsuapi_dissect_element_DsGetNCChangesRequest10_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1520 static int drsuapi_dissect_element_DsGetNCChangesRequest10_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1521 static int drsuapi_dissect_element_DsGetNCChangesRequest10_max_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1522 static int drsuapi_dissect_element_DsGetNCChangesRequest10_max_ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1523 static int drsuapi_dissect_element_DsGetNCChangesRequest10_extended_op(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1524 static int drsuapi_dissect_element_DsGetNCChangesRequest10_fsmo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1525 static int drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1526 static int drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1527 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_, guint8 *drep _U_);
1528 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_, guint8 *drep _U_);
1529 static int drsuapi_dissect_element_DsGetNCChangesRequest10_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1530 static int drsuapi_dissect_element_DsGetNCChangesRequest10_more_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1531 static int drsuapi_dissect_element_DsGetNCChangesRequest_req5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1532 static int drsuapi_dissect_element_DsGetNCChangesRequest_req8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1533 static int drsuapi_dissect_element_DsGetNCChangesRequest_req10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1534 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_, guint8 *drep _U_);
1535 static int drsuapi_dissect_element_DsReplicaCursor2_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1536 static int drsuapi_dissect_element_DsReplicaCursor2_last_sync_success(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1537 static int drsuapi_dissect_element_DsReplicaCursor2CtrEx_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1538 static int drsuapi_dissect_element_DsReplicaCursor2CtrEx_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1539 static int drsuapi_dissect_element_DsReplicaCursor2CtrEx_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1540 static int drsuapi_dissect_element_DsReplicaCursor2CtrEx_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1541 static int drsuapi_dissect_element_DsReplicaCursor2CtrEx_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1542 static int drsuapi_dissect_element_DsReplicaCursor2CtrEx_cursors_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1543 static int drsuapi_dissect_element_DsAttributeValue___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1544 static int drsuapi_dissect_element_DsAttributeValue_blob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1545 static int drsuapi_dissect_element_DsAttributeValue_blob_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1546 static int drsuapi_dissect_element_DsAttributeValueCtr_num_values(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1547 static int drsuapi_dissect_element_DsAttributeValueCtr_values(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1548 static int drsuapi_dissect_element_DsAttributeValueCtr_values_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1549 static int drsuapi_dissect_element_DsAttributeValueCtr_values__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1550 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1551 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1552 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1553 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1554 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1555 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1556 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1557 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1558 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1559 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1560 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1561 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1562 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1563 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1564 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1565 static int drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1566 static int drsuapi_dissect_element_DsReplicaAttribute_attid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1567 static int drsuapi_dissect_element_DsReplicaAttribute_value_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1568 static int drsuapi_dissect_element_DsReplicaAttributeCtr_num_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1569 static int drsuapi_dissect_element_DsReplicaAttributeCtr_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1570 static int drsuapi_dissect_element_DsReplicaAttributeCtr_attributes_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1571 static int drsuapi_dissect_element_DsReplicaAttributeCtr_attributes__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1572 static const true_false_string drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER_tfs = {
1573    "DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER is SET",
1574    "DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER is NOT SET",
1575 };
1576 static const true_false_string drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC_tfs = {
1577    "DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC is SET",
1578    "DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC is NOT SET",
1579 };
1580 static const true_false_string drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY_tfs = {
1581    "DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY is SET",
1582    "DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY is NOT SET",
1583 };
1584 static int drsuapi_dissect_element_DsReplicaObject_identifier(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1585 static int drsuapi_dissect_element_DsReplicaObject_identifier_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1586 static int drsuapi_dissect_element_DsReplicaObject_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1587 static int drsuapi_dissect_element_DsReplicaObject_attribute_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1588 static int drsuapi_dissect_element_DsReplicaMetaData_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1589 static int drsuapi_dissect_element_DsReplicaMetaData_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1590 static int drsuapi_dissect_element_DsReplicaMetaData_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1591 static int drsuapi_dissect_element_DsReplicaMetaData_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1592 static int drsuapi_dissect_element_DsReplicaMetaDataCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1593 static int drsuapi_dissect_element_DsReplicaMetaDataCtr_meta_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1594 static int drsuapi_dissect_element_DsReplicaMetaDataCtr_meta_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1595 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_next_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1596 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_next_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1597 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1598 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_is_nc_prefix(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1599 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_parent_object_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1600 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_parent_object_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1601 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_meta_data_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1602 static int drsuapi_dissect_element_DsReplicaObjectListItemEx_meta_data_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1603 static int drsuapi_dissect_element_DsGetNCChangesCtr1_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1604 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_, guint8 *drep _U_);
1605 static int drsuapi_dissect_element_DsGetNCChangesCtr1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1606 static int drsuapi_dissect_element_DsGetNCChangesCtr1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1607 static int drsuapi_dissect_element_DsGetNCChangesCtr1_old_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1608 static int drsuapi_dissect_element_DsGetNCChangesCtr1_new_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1609 static int drsuapi_dissect_element_DsGetNCChangesCtr1_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1610 static int drsuapi_dissect_element_DsGetNCChangesCtr1_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1611 static int drsuapi_dissect_element_DsGetNCChangesCtr1_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1612 static int drsuapi_dissect_element_DsGetNCChangesCtr1_extended_ret(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1613 static int drsuapi_dissect_element_DsGetNCChangesCtr1_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1614 static int drsuapi_dissect_element_DsGetNCChangesCtr1___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1615 static int drsuapi_dissect_element_DsGetNCChangesCtr1_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1616 static int drsuapi_dissect_element_DsGetNCChangesCtr1_first_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1617 static int drsuapi_dissect_element_DsGetNCChangesCtr1_more_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1618 static const true_false_string drsuapi_DsLinkedAttributeFlags_DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE_tfs = {
1619    "DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE is SET",
1620    "DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE is NOT SET",
1621 };
1622 static int drsuapi_dissect_element_DsReplicaLinkedAttribute_identifier(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1623 static int drsuapi_dissect_element_DsReplicaLinkedAttribute_identifier_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1624 static int drsuapi_dissect_element_DsReplicaLinkedAttribute_attid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1625 static int drsuapi_dissect_element_DsReplicaLinkedAttribute_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1626 static int drsuapi_dissect_element_DsReplicaLinkedAttribute_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1627 static int drsuapi_dissect_element_DsReplicaLinkedAttribute_originating_add_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1628 static int drsuapi_dissect_element_DsReplicaLinkedAttribute_meta_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1629 static int drsuapi_dissect_element_DsGetNCChangesCtr6_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1630 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_, guint8 *drep _U_);
1631 static int drsuapi_dissect_element_DsGetNCChangesCtr6_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1632 static int drsuapi_dissect_element_DsGetNCChangesCtr6_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1633 static int drsuapi_dissect_element_DsGetNCChangesCtr6_old_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1634 static int drsuapi_dissect_element_DsGetNCChangesCtr6_new_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1635 static int drsuapi_dissect_element_DsGetNCChangesCtr6_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1636 static int drsuapi_dissect_element_DsGetNCChangesCtr6_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1637 static int drsuapi_dissect_element_DsGetNCChangesCtr6_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1638 static int drsuapi_dissect_element_DsGetNCChangesCtr6_extended_ret(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1639 static int drsuapi_dissect_element_DsGetNCChangesCtr6_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1640 static int drsuapi_dissect_element_DsGetNCChangesCtr6___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1641 static int drsuapi_dissect_element_DsGetNCChangesCtr6_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1642 static int drsuapi_dissect_element_DsGetNCChangesCtr6_first_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1643 static int drsuapi_dissect_element_DsGetNCChangesCtr6_more_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1644 static int drsuapi_dissect_element_DsGetNCChangesCtr6_nc_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1645 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_, guint8 *drep _U_);
1646 static int drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1647 static int drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1648 static int drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1649 static int drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1650 static int drsuapi_dissect_element_DsGetNCChangesCtr6_drs_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1651 static int drsuapi_dissect_element_DsGetNCChangesCtr1TS_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1652 static int drsuapi_dissect_element_DsGetNCChangesCtr1TS_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1653 static int drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1654 static int drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1655 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1656 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1657 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1658 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1659 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1660 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1661 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1662 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1663 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1664 static int drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1665 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1666 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1667 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1668 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1669 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1670 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1671 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1672 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1673 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1674 static int drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1675 const value_string drsuapi_drsuapi_DsGetNCChangesCompressionType_vals[] = {
1676         { DRSUAPI_COMPRESSION_TYPE_MSZIP, "DRSUAPI_COMPRESSION_TYPE_MSZIP" },
1677         { DRSUAPI_COMPRESSION_TYPE_XPRESS, "DRSUAPI_COMPRESSION_TYPE_XPRESS" },
1678 { 0, NULL }
1679 };
1680 static int drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1681 static int drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1682 static int drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1683 static int drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1684 static int drsuapi_dissect_element_DsGetNCChangesCtr2_mszip1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1685 static int drsuapi_dissect_element_DsGetNCChangesCtr7_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *level);
1686 static int drsuapi_dissect_element_DsGetNCChangesCtr7_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint1632 *type);
1687 static int drsuapi_dissect_element_DsGetNCChangesCtr7_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_,  *);
1688 static int drsuapi_dissect_element_DsGetNCChangesCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1689 static int drsuapi_dissect_element_DsGetNCChangesCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1690 static int drsuapi_dissect_element_DsGetNCChangesCtr_ctr6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1691 static int drsuapi_dissect_element_DsGetNCChangesCtr_ctr7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1692 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1693 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1694 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_, guint8 *drep _U_);
1695 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_, guint8 *drep _U_);
1696 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1697 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1698 static int drsuapi_dissect_element_DsReplicaUpdateRefsRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1699 static int drsuapi_dissect_element_DsReplicaAddRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1700 static int drsuapi_dissect_element_DsReplicaAddRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1701 static int drsuapi_dissect_element_DsReplicaAddRequest1_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1702 static int drsuapi_dissect_element_DsReplicaAddRequest1_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1703 static int drsuapi_dissect_element_DsReplicaAddRequest1_schedule(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1704 static int drsuapi_dissect_element_DsReplicaAddRequest1_schedule_(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1705 static int drsuapi_dissect_element_DsReplicaAddRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1706 static int drsuapi_dissect_element_DsReplicaAddRequest2_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1707 static int drsuapi_dissect_element_DsReplicaAddRequest2_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1708 static int drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1709 static int drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1710 static int drsuapi_dissect_element_DsReplicaAddRequest2_transport_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1711 static int drsuapi_dissect_element_DsReplicaAddRequest2_transport_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1712 static int drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1713 static int drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1714 static int drsuapi_dissect_element_DsReplicaAddRequest2_schedule(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1715 static int drsuapi_dissect_element_DsReplicaAddRequest2_schedule_(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1716 static int drsuapi_dissect_element_DsReplicaAddRequest2_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1717 static int drsuapi_dissect_element_DsReplicaAddRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1718 static int drsuapi_dissect_element_DsReplicaAddRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1719 static int drsuapi_dissect_element_DsReplicaDelRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1720 static int drsuapi_dissect_element_DsReplicaDelRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1721 static int drsuapi_dissect_element_DsReplicaDelRequest1_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1722 static int drsuapi_dissect_element_DsReplicaDelRequest1_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1723 static int drsuapi_dissect_element_DsReplicaDelRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1724 static int drsuapi_dissect_element_DsReplicaDelRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1725 static int drsuapi_dissect_element_DsReplicaModRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1726 static int drsuapi_dissect_element_DsReplicaModRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1727 static int drsuapi_dissect_element_DsReplicaModRequest1_source_dra(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1728 static int drsuapi_dissect_element_DsReplicaModRequest1_source_dra_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1729 static int drsuapi_dissect_element_DsReplicaModRequest1_source_dra_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1730 static int drsuapi_dissect_element_DsReplicaModRequest1_schedule(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1731 static int drsuapi_dissect_element_DsReplicaModRequest1_schedule_(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1732 static int drsuapi_dissect_element_DsReplicaModRequest1_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1733 static int drsuapi_dissect_element_DsReplicaModRequest1_modify_fields(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1734 static int drsuapi_dissect_element_DsReplicaModRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1735 static int drsuapi_dissect_element_DsReplicaModRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1736 const value_string drsuapi_drsuapi_DsMembershipType_vals[] = {
1737         { DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_AND_DOMAIN_GROUPS, "DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_AND_DOMAIN_GROUPS" },
1738         { DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS, "DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS" },
1739         { DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS, "DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS" },
1740         { DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS2, "DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS2" },
1741         { DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_GROUPS, "DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_GROUPS" },
1742         { DRSUAPI_DS_MEMBERSHIP_TYPE_GROUPMEMBERS, "DRSUAPI_DS_MEMBERSHIP_TYPE_GROUPMEMBERS" },
1743         { DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS2, "DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS2" },
1744 { 0, NULL }
1745 };
1746 static int drsuapi_dissect_element_DsGetMembershipsCtr1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1747 static int drsuapi_dissect_element_DsGetMembershipsCtr1_num_memberships(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1748 static int drsuapi_dissect_element_DsGetMembershipsCtr1_num_sids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1749 static int drsuapi_dissect_element_DsGetMembershipsCtr1_info_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1750 static int drsuapi_dissect_element_DsGetMembershipsCtr1_info_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1751 static int drsuapi_dissect_element_DsGetMembershipsCtr1_info_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1752 static int drsuapi_dissect_element_DsGetMembershipsCtr1_info_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1753 static int drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1754 static int drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1755 static int drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1756 static int drsuapi_dissect_element_DsGetMembershipsCtr1_sids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1757 static int drsuapi_dissect_element_DsGetMembershipsCtr1_sids_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1758 static int drsuapi_dissect_element_DsGetMembershipsCtr1_sids__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1759 static int drsuapi_dissect_element_DsGetMembershipsCtr1_sids___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1760 static int drsuapi_dissect_element_DsGetMembershipsCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1761 static int drsuapi_dissect_element_DsGetMembershipsRequest1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1762 static int drsuapi_dissect_element_DsGetMembershipsRequest1_info_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1763 static int drsuapi_dissect_element_DsGetMembershipsRequest1_info_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1764 static int drsuapi_dissect_element_DsGetMembershipsRequest1_info_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1765 static int drsuapi_dissect_element_DsGetMembershipsRequest1_info_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1766 static int drsuapi_dissect_element_DsGetMembershipsRequest1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1767 static int drsuapi_dissect_element_DsGetMembershipsRequest1_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1768 static int drsuapi_dissect_element_DsGetMembershipsRequest1_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1769 static int drsuapi_dissect_element_DsGetMembershipsRequest1_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1770 static int drsuapi_dissect_element_DsGetMembershipsRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1771 static const true_false_string drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG_tfs = {
1772    "DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG is SET",
1773    "DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG is NOT SET",
1774 };
1775 static const true_false_string drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS_tfs = {
1776    "DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS is SET",
1777    "DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS is NOT SET",
1778 };
1779 static int drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1780 static int drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_preferred_maximum_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1781 static int drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1782 static int drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1783 static int drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1784 static int drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data__(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1785 static int drsuapi_dissect_element_DsGetNT4ChangeLogRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1786 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1787 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1788 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_sam_serial_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1789 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_sam_creation_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1790 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_builtin_serial_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1791 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_builtin_creation_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1792 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_lsa_serial_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1793 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_lsa_creation_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1794 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1795 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1796 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1797 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data__(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1798 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1799 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1800 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data__(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1801 static int drsuapi_dissect_element_DsGetNT4ChangeLogInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1802 const value_string drsuapi_drsuapi_DsNameStatus_vals[] = {
1803         { DRSUAPI_DS_NAME_STATUS_OK, "DRSUAPI_DS_NAME_STATUS_OK" },
1804         { DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR, "DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR" },
1805         { DRSUAPI_DS_NAME_STATUS_NOT_FOUND, "DRSUAPI_DS_NAME_STATUS_NOT_FOUND" },
1806         { DRSUAPI_DS_NAME_STATUS_NOT_UNIQUE, "DRSUAPI_DS_NAME_STATUS_NOT_UNIQUE" },
1807         { DRSUAPI_DS_NAME_STATUS_NO_MAPPING, "DRSUAPI_DS_NAME_STATUS_NO_MAPPING" },
1808         { DRSUAPI_DS_NAME_STATUS_DOMAIN_ONLY, "DRSUAPI_DS_NAME_STATUS_DOMAIN_ONLY" },
1809         { DRSUAPI_DS_NAME_STATUS_NO_SYNTACTICAL_MAPPING, "DRSUAPI_DS_NAME_STATUS_NO_SYNTACTICAL_MAPPING" },
1810         { DRSUAPI_DS_NAME_STATUS_TRUST_REFERRAL, "DRSUAPI_DS_NAME_STATUS_TRUST_REFERRAL" },
1811 { 0, NULL }
1812 };
1813 const value_string drsuapi_drsuapi_DsNameFlags_vals[] = {
1814         { DRSUAPI_DS_NAME_FLAG_NO_FLAGS, "DRSUAPI_DS_NAME_FLAG_NO_FLAGS" },
1815         { DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY, "DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY" },
1816         { DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC, "DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC" },
1817         { DRSUAPI_DS_NAME_FLAG_GCVERIFY, "DRSUAPI_DS_NAME_FLAG_GCVERIFY" },
1818         { DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL, "DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL" },
1819 { 0, NULL }
1820 };
1821 const value_string drsuapi_drsuapi_DsNameFormat_vals[] = {
1822         { DRSUAPI_DS_NAME_FORMAT_UNKNOWN, "DRSUAPI_DS_NAME_FORMAT_UNKNOWN" },
1823         { DRSUAPI_DS_NAME_FORMAT_FQDN_1779, "DRSUAPI_DS_NAME_FORMAT_FQDN_1779" },
1824         { DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT, "DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT" },
1825         { DRSUAPI_DS_NAME_FORMAT_DISPLAY, "DRSUAPI_DS_NAME_FORMAT_DISPLAY" },
1826         { DRSUAPI_DS_NAME_FORMAT_GUID, "DRSUAPI_DS_NAME_FORMAT_GUID" },
1827         { DRSUAPI_DS_NAME_FORMAT_CANONICAL, "DRSUAPI_DS_NAME_FORMAT_CANONICAL" },
1828         { DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL, "DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL" },
1829         { DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX, "DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX" },
1830         { DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL, "DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL" },
1831         { DRSUAPI_DS_NAME_FORMAT_SID_OR_SID_HISTORY, "DRSUAPI_DS_NAME_FORMAT_SID_OR_SID_HISTORY" },
1832         { DRSUAPI_DS_NAME_FORMAT_DNS_DOMAIN, "DRSUAPI_DS_NAME_FORMAT_DNS_DOMAIN" },
1833         { DRSUAPI_DS_NAME_FORMAT_UPN_AND_ALTSECID, "DRSUAPI_DS_NAME_FORMAT_UPN_AND_ALTSECID" },
1834         { DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT_NAME_SANS_DOMAIN_EX, "DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT_NAME_SANS_DOMAIN_EX" },
1835         { DRSUAPI_DS_NAME_FORMAT_LIST_GLOBAL_CATALOG_SERVERS, "DRSUAPI_DS_NAME_FORMAT_LIST_GLOBAL_CATALOG_SERVERS" },
1836         { DRSUAPI_DS_NAME_FORMAT_UPN_FOR_LOGON, "DRSUAPI_DS_NAME_FORMAT_UPN_FOR_LOGON" },
1837         { DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_WITH_DCS_IN_SITE, "DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_WITH_DCS_IN_SITE" },
1838         { DRSUAPI_DS_NAME_FORMAT_STRING_SID_NAME, "DRSUAPI_DS_NAME_FORMAT_STRING_SID_NAME" },
1839         { DRSUAPI_DS_NAME_FORMAT_ALT_SECURITY_IDENTITIES_NAME, "DRSUAPI_DS_NAME_FORMAT_ALT_SECURITY_IDENTITIES_NAME" },
1840         { DRSUAPI_DS_NAME_FORMAT_LIST_NCS, "DRSUAPI_DS_NAME_FORMAT_LIST_NCS" },
1841         { DRSUAPI_DS_NAME_FORMAT_LIST_DOMAINS, "DRSUAPI_DS_NAME_FORMAT_LIST_DOMAINS" },
1842         { DRSUAPI_DS_NAME_FORMAT_MAP_SCHEMA_GUID, "DRSUAPI_DS_NAME_FORMAT_MAP_SCHEMA_GUID" },
1843         { DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT_NAME_SANS_DOMAIN, "DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT_NAME_SANS_DOMAIN" },
1844         { DRSUAPI_DS_NAME_FORMAT_LIST_ROLES, "DRSUAPI_DS_NAME_FORMAT_LIST_ROLES" },
1845         { DRSUAPI_DS_NAME_FORMAT_LIST_INFO_FOR_SERVER, "DRSUAPI_DS_NAME_FORMAT_LIST_INFO_FOR_SERVER" },
1846         { DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_FOR_DOMAIN_IN_SITE, "DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_FOR_DOMAIN_IN_SITE" },
1847         { DRSUAPI_DS_NAME_FORMAT_LIST_DOMAINS_IN_SITE, "DRSUAPI_DS_NAME_FORMAT_LIST_DOMAINS_IN_SITE" },
1848         { DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_IN_SITE, "DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_IN_SITE" },
1849         { DRSUAPI_DS_NAME_FORMAT_LIST_SITES, "DRSUAPI_DS_NAME_FORMAT_LIST_SITES" },
1850 { 0, NULL }
1851 };
1852 static int drsuapi_dissect_element_DsNameString_str(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1853 static int drsuapi_dissect_element_DsNameString_str_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1854 static int drsuapi_dissect_element_DsNameRequest1_codepage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1855 static int drsuapi_dissect_element_DsNameRequest1_language(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1856 static int drsuapi_dissect_element_DsNameRequest1_format_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1857 static int drsuapi_dissect_element_DsNameRequest1_format_offered(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1858 static int drsuapi_dissect_element_DsNameRequest1_format_desired(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1859 static int drsuapi_dissect_element_DsNameRequest1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1860 static int drsuapi_dissect_element_DsNameRequest1_names(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1861 static int drsuapi_dissect_element_DsNameRequest1_names_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1862 static int drsuapi_dissect_element_DsNameRequest1_names__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1863 static int drsuapi_dissect_element_DsNameRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1864 static int drsuapi_dissect_element_DsNameInfo1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1865 static int drsuapi_dissect_element_DsNameInfo1_dns_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1866 static int drsuapi_dissect_element_DsNameInfo1_dns_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1867 static int drsuapi_dissect_element_DsNameInfo1_result_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1868 static int drsuapi_dissect_element_DsNameInfo1_result_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1869 static int drsuapi_dissect_element_DsNameCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1870 static int drsuapi_dissect_element_DsNameCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1871 static int drsuapi_dissect_element_DsNameCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1872 static int drsuapi_dissect_element_DsNameCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1873 static int drsuapi_dissect_element_DsNameCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1874 static int drsuapi_dissect_element_DsNameCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1875 const value_string drsuapi_drsuapi_DsSpnOperation_vals[] = {
1876         { DRSUAPI_DS_SPN_OPERATION_ADD, "DRSUAPI_DS_SPN_OPERATION_ADD" },
1877         { DRSUAPI_DS_SPN_OPERATION_REPLACE, "DRSUAPI_DS_SPN_OPERATION_REPLACE" },
1878         { DRSUAPI_DS_SPN_OPERATION_DELETE, "DRSUAPI_DS_SPN_OPERATION_DELETE" },
1879 { 0, NULL }
1880 };
1881 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_operation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1882 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1883 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1884 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1885 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1886 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1887 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1888 static int drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1889 static int drsuapi_dissect_element_DsWriteAccountSpnRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1890 static int drsuapi_dissect_element_DsWriteAccountSpnResult1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1891 static int drsuapi_dissect_element_DsWriteAccountSpnResult_res1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1892 static int drsuapi_dissect_element_DsRemoveDSServerRequest1_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1893 static int drsuapi_dissect_element_DsRemoveDSServerRequest1_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1894 static int drsuapi_dissect_element_DsRemoveDSServerRequest1_domain_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1895 static int drsuapi_dissect_element_DsRemoveDSServerRequest1_domain_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1896 static int drsuapi_dissect_element_DsRemoveDSServerRequest1_commit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1897 static int drsuapi_dissect_element_DsRemoveDSServerRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1898 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_, guint8 *drep _U_);
1899 static int drsuapi_dissect_element_DsRemoveDSServerResult_res1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1900 const value_string drsuapi_drsuapi_DsGetDCInfoCtrLevels_vals[] = {
1901         { DRSUAPI_DC_INFO_CTR_1, "DRSUAPI_DC_INFO_CTR_1" },
1902         { DRSUAPI_DC_INFO_CTR_2, "DRSUAPI_DC_INFO_CTR_2" },
1903         { DRSUAPI_DC_INFO_CTR_3, "DRSUAPI_DC_INFO_CTR_3" },
1904         { DRSUAPI_DC_CONNECTION_CTR_01, "DRSUAPI_DC_CONNECTION_CTR_01" },
1905 { 0, NULL }
1906 };
1907 static int drsuapi_dissect_element_DsGetDCInfoRequest1_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1908 static int drsuapi_dissect_element_DsGetDCInfoRequest1_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1909 static int drsuapi_dissect_element_DsGetDCInfoRequest1_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1910 static int drsuapi_dissect_element_DsGetDCInfoRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1911 static int drsuapi_dissect_element_DsGetDCInfo1_netbios_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1912 static int drsuapi_dissect_element_DsGetDCInfo1_netbios_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1913 static int drsuapi_dissect_element_DsGetDCInfo1_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1914 static int drsuapi_dissect_element_DsGetDCInfo1_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1915 static int drsuapi_dissect_element_DsGetDCInfo1_site_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1916 static int drsuapi_dissect_element_DsGetDCInfo1_site_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1917 static int drsuapi_dissect_element_DsGetDCInfo1_computer_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1918 static int drsuapi_dissect_element_DsGetDCInfo1_computer_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1919 static int drsuapi_dissect_element_DsGetDCInfo1_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1920 static int drsuapi_dissect_element_DsGetDCInfo1_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1921 static int drsuapi_dissect_element_DsGetDCInfo1_is_pdc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1922 static int drsuapi_dissect_element_DsGetDCInfo1_is_enabled(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1923 static int drsuapi_dissect_element_DsGetDCInfoCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1924 static int drsuapi_dissect_element_DsGetDCInfoCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1925 static int drsuapi_dissect_element_DsGetDCInfoCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1926 static int drsuapi_dissect_element_DsGetDCInfoCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1927 static int drsuapi_dissect_element_DsGetDCInfo2_netbios_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1928 static int drsuapi_dissect_element_DsGetDCInfo2_netbios_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1929 static int drsuapi_dissect_element_DsGetDCInfo2_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1930 static int drsuapi_dissect_element_DsGetDCInfo2_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1931 static int drsuapi_dissect_element_DsGetDCInfo2_site_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1932 static int drsuapi_dissect_element_DsGetDCInfo2_site_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1933 static int drsuapi_dissect_element_DsGetDCInfo2_site_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1934 static int drsuapi_dissect_element_DsGetDCInfo2_site_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1935 static int drsuapi_dissect_element_DsGetDCInfo2_computer_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1936 static int drsuapi_dissect_element_DsGetDCInfo2_computer_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1937 static int drsuapi_dissect_element_DsGetDCInfo2_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1938 static int drsuapi_dissect_element_DsGetDCInfo2_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1939 static int drsuapi_dissect_element_DsGetDCInfo2_ntds_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1940 static int drsuapi_dissect_element_DsGetDCInfo2_ntds_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1941 static int drsuapi_dissect_element_DsGetDCInfo2_is_pdc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1942 static int drsuapi_dissect_element_DsGetDCInfo2_is_enabled(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1943 static int drsuapi_dissect_element_DsGetDCInfo2_is_gc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1944 static int drsuapi_dissect_element_DsGetDCInfo2_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1945 static int drsuapi_dissect_element_DsGetDCInfo2_computer_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1946 static int drsuapi_dissect_element_DsGetDCInfo2_server_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1947 static int drsuapi_dissect_element_DsGetDCInfo2_ntds_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1948 static int drsuapi_dissect_element_DsGetDCInfoCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1949 static int drsuapi_dissect_element_DsGetDCInfoCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1950 static int drsuapi_dissect_element_DsGetDCInfoCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1951 static int drsuapi_dissect_element_DsGetDCInfoCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1952 static int drsuapi_dissect_element_DsGetDCInfo3_netbios_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1953 static int drsuapi_dissect_element_DsGetDCInfo3_netbios_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1954 static int drsuapi_dissect_element_DsGetDCInfo3_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1955 static int drsuapi_dissect_element_DsGetDCInfo3_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1956 static int drsuapi_dissect_element_DsGetDCInfo3_site_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1957 static int drsuapi_dissect_element_DsGetDCInfo3_site_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1958 static int drsuapi_dissect_element_DsGetDCInfo3_site_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1959 static int drsuapi_dissect_element_DsGetDCInfo3_site_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1960 static int drsuapi_dissect_element_DsGetDCInfo3_computer_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1961 static int drsuapi_dissect_element_DsGetDCInfo3_computer_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1962 static int drsuapi_dissect_element_DsGetDCInfo3_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1963 static int drsuapi_dissect_element_DsGetDCInfo3_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1964 static int drsuapi_dissect_element_DsGetDCInfo3_ntds_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1965 static int drsuapi_dissect_element_DsGetDCInfo3_ntds_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1966 static int drsuapi_dissect_element_DsGetDCInfo3_is_pdc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1967 static int drsuapi_dissect_element_DsGetDCInfo3_is_enabled(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1968 static int drsuapi_dissect_element_DsGetDCInfo3_is_gc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1969 static int drsuapi_dissect_element_DsGetDCInfo3_is_rodc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1970 static int drsuapi_dissect_element_DsGetDCInfo3_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1971 static int drsuapi_dissect_element_DsGetDCInfo3_computer_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1972 static int drsuapi_dissect_element_DsGetDCInfo3_server_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1973 static int drsuapi_dissect_element_DsGetDCInfo3_ntds_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1974 static int drsuapi_dissect_element_DsGetDCInfoCtr3_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1975 static int drsuapi_dissect_element_DsGetDCInfoCtr3_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1976 static int drsuapi_dissect_element_DsGetDCInfoCtr3_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1977 static int drsuapi_dissect_element_DsGetDCInfoCtr3_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1978 static int drsuapi_dissect_element_DsGetDCConnection01_client_ip_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1979 static int drsuapi_dissect_element_DsGetDCConnection01_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1980 static int drsuapi_dissect_element_DsGetDCConnection01_connection_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1981 static int drsuapi_dissect_element_DsGetDCConnection01_unknown4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1982 static int drsuapi_dissect_element_DsGetDCConnection01_unknown5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1983 static int drsuapi_dissect_element_DsGetDCConnection01_unknown6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1984 static int drsuapi_dissect_element_DsGetDCConnection01_client_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1985 static int drsuapi_dissect_element_DsGetDCConnection01_client_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1986 static int drsuapi_dissect_element_DsGetDCConnectionCtr01_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1987 static int drsuapi_dissect_element_DsGetDCConnectionCtr01_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1988 static int drsuapi_dissect_element_DsGetDCConnectionCtr01_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1989 static int drsuapi_dissect_element_DsGetDCConnectionCtr01_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1990 static int drsuapi_dissect_element_DsGetDCInfoCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1991 static int drsuapi_dissect_element_DsGetDCInfoCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1992 static int drsuapi_dissect_element_DsGetDCInfoCtr_ctr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1993 static int drsuapi_dissect_element_DsGetDCInfoCtr_ctr01(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1994 static int drsuapi_dissect_element_DsReplicaObjectListItem_next_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1995 static int drsuapi_dissect_element_DsReplicaObjectListItem_next_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1996 static int drsuapi_dissect_element_DsReplicaObjectListItem_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1997 const value_string drsuapi_drsuapi_DsAddEntry_DirErr_vals[] = {
1998         { DRSUAPI_DIRERR_OK, "DRSUAPI_DIRERR_OK" },
1999         { DRSUAPI_DIRERR_ATTRIBUTE, "DRSUAPI_DIRERR_ATTRIBUTE" },
2000         { DRSUAPI_DIRERR_NAME, "DRSUAPI_DIRERR_NAME" },
2001         { DRSUAPI_DIRERR_REFERRAL, "DRSUAPI_DIRERR_REFERRAL" },
2002         { DRSUAPI_DIRERR_SECURITY, "DRSUAPI_DIRERR_SECURITY" },
2003         { DRSUAPI_DIRERR_SERVICE, "DRSUAPI_DIRERR_SERVICE" },
2004         { DRSUAPI_DIRERR_UPDATE, "DRSUAPI_DIRERR_UPDATE" },
2005         { DRSUAPI_DIRERR_SYSTEM, "DRSUAPI_DIRERR_SYSTEM" },
2006 { 0, NULL }
2007 };
2008 static int drsuapi_dissect_element_DsAddEntryRequest2_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2009 const value_string drsuapi_drsuapi_SecBufferType_vals[] = {
2010         { DRSUAPI_SECBUFFER_EMPTY, "DRSUAPI_SECBUFFER_EMPTY" },
2011         { DRSUAPI_SECBUFFER_DATA, "DRSUAPI_SECBUFFER_DATA" },
2012         { DRSUAPI_SECBUFFER_TOKEN, "DRSUAPI_SECBUFFER_TOKEN" },
2013         { DRSUAPI_SECBUFFER_PKG_PARAMS, "DRSUAPI_SECBUFFER_PKG_PARAMS" },
2014         { DRSUAPI_SECBUFFER_MISSING, "DRSUAPI_SECBUFFER_MISSING" },
2015         { DRSUAPI_SECBUFFER_EXTRA, "DRSUAPI_SECBUFFER_EXTRA" },
2016         { DRSUAPI_SECBUFFER_STREAM_TRAILER, "DRSUAPI_SECBUFFER_STREAM_TRAILER" },
2017         { DRSUAPI_SECBUFFER_STREAM_HEADER, "DRSUAPI_SECBUFFER_STREAM_HEADER" },
2018         { DRSUAPI_SECBUFFER_READONLY, "DRSUAPI_SECBUFFER_READONLY" },
2019 { 0, NULL }
2020 };
2021 static int drsuapi_dissect_element_SecBuffer_buf_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2022 static int drsuapi_dissect_element_SecBuffer_buf_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2023 static int drsuapi_dissect_element_SecBuffer_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2024 static int drsuapi_dissect_element_SecBuffer_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2025 static int drsuapi_dissect_element_SecBuffer_buffer__(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2026 static int drsuapi_dissect_element_SecBufferDesc_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2027 static int drsuapi_dissect_element_SecBufferDesc_buff_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2028 static int drsuapi_dissect_element_SecBufferDesc_buffers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2029 static int drsuapi_dissect_element_SecBufferDesc_buffers_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2030 static int drsuapi_dissect_element_SecBufferDesc_buffers__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2031 static int drsuapi_dissect_element_DsAddEntryRequest3_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2032 static int drsuapi_dissect_element_DsAddEntryRequest3_client_creds(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2033 static int drsuapi_dissect_element_DsAddEntryRequest3_client_creds_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2034 static int drsuapi_dissect_element_DsAddEntryRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2035 static int drsuapi_dissect_element_DsAddEntryRequest_req3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2036 static int drsuapi_dissect_element_DsAddEntryErrorInfoX_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2037 static int drsuapi_dissect_element_DsAddEntryErrorInfoX_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2038 static int drsuapi_dissect_element_DsAddEntryErrorInfoX_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2039 static int drsuapi_dissect_element_DsAddEntryErrorInfoX_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2040 static int drsuapi_dissect_element_DsAddEntry_AttrErr_V1_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2041 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_, guint8 *drep _U_);
2042 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_, guint8 *drep _U_);
2043 static int drsuapi_dissect_element_DsAddEntry_AttrErr_V1_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2044 static int drsuapi_dissect_element_DsAddEntry_AttrErr_V1_attid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2045 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_, guint8 *drep _U_);
2046 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_, guint8 *drep _U_);
2047 static int drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_next(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2048 static int drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_next_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2049 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_, guint8 *drep _U_);
2050 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2051 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_id_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2052 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2053 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_first(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2054 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2055 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_, guint8 *drep _U_);
2056 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_, guint8 *drep _U_);
2057 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2058 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_, guint8 *drep _U_);
2059 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_, guint8 *drep _U_);
2060 static int drsuapi_dissect_element_NameResOp_V1_name_res(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2061 static int drsuapi_dissect_element_NameResOp_V1_unused_pad(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2062 static int drsuapi_dissect_element_NameResOp_V1_next_rdn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2063 const value_string drsuapi_drsuapi_DsAddEntry_RefType_vals[] = {
2064         { DRSUAPI_CH_REFTYPE_SUPERIOR, "DRSUAPI_CH_REFTYPE_SUPERIOR" },
2065         { DRSUAPI_CH_REFTYPE_SUBORDINATE, "DRSUAPI_CH_REFTYPE_SUBORDINATE" },
2066         { DRSUAPI_CH_REFTYPE_NSSR, "DRSUAPI_CH_REFTYPE_NSSR" },
2067         { DRSUAPI_CH_REFTYPE_CROSS, "DRSUAPI_CH_REFTYPE_CROSS" },
2068 { 0, NULL }
2069 };
2070 const value_string drsuapi_drsuapi_DsAddEntry_ChoiceType_vals[] = {
2071         { DRSUAPI_SE_CHOICE_BASE_ONLY, "DRSUAPI_SE_CHOICE_BASE_ONLY" },
2072         { DRSUAPI_SE_CHOICE_IMMED_CHLDRN, "DRSUAPI_SE_CHOICE_IMMED_CHLDRN" },
2073         { DRSUAPI_SE_CHOICE_WHOLE_SUBTREE, "DRSUAPI_SE_CHOICE_WHOLE_SUBTREE" },
2074 { 0, NULL }
2075 };
2076 static int drsuapi_dissect_element_DsaAddressListItem_V1_next(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2077 static int drsuapi_dissect_element_DsaAddressListItem_V1_next_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2078 static int drsuapi_dissect_element_DsaAddressListItem_V1_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2079 static int drsuapi_dissect_element_DsaAddressListItem_V1_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2080 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_, guint8 *drep _U_);
2081 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_, guint8 *drep _U_);
2082 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_, guint8 *drep _U_);
2083 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_, guint8 *drep _U_);
2084 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_, guint8 *drep _U_);
2085 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_, guint8 *drep _U_);
2086 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_, guint8 *drep _U_);
2087 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_, guint8 *drep _U_);
2088 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_, guint8 *drep _U_);
2089 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_next(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2090 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_next_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2091 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_, guint8 *drep _U_);
2092 static int drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_choice(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2093 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2094 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_, guint8 *drep _U_);
2095 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_, guint8 *drep _U_);
2096 static int drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_refer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2097 static int drsuapi_dissect_element_DsAddEntryErrorInfo_attr_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2098 static int drsuapi_dissect_element_DsAddEntryErrorInfo_name_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2099 static int drsuapi_dissect_element_DsAddEntryErrorInfo_referral_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2100 static int drsuapi_dissect_element_DsAddEntryErrorInfo_security_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2101 static int drsuapi_dissect_element_DsAddEntryErrorInfo_service_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2102 static int drsuapi_dissect_element_DsAddEntryErrorInfo_update_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2103 static int drsuapi_dissect_element_DsAddEntryErrorInfo_system_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2104 static int drsuapi_dissect_element_DsAddEntry_ErrData_V1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2105 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_, guint8 *drep _U_, guint32 *dir_err);
2106 static int drsuapi_dissect_element_DsAddEntry_ErrData_V1_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *dir_err);
2107 static int drsuapi_dissect_element_DsAddEntry_ErrData_V1_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *dir_err);
2108 static int drsuapi_dissect_element_DsAddEntry_ErrData_v1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2109 static int drsuapi_dissect_element_DsReplicaObjectIdentifier2_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2110 static int drsuapi_dissect_element_DsReplicaObjectIdentifier2_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2111 static int drsuapi_dissect_element_DsAddEntryCtr2_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2112 static int drsuapi_dissect_element_DsAddEntryCtr2_id_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2113 static int drsuapi_dissect_element_DsAddEntryCtr2_dir_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2114 static int drsuapi_dissect_element_DsAddEntryCtr2_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2115 static int drsuapi_dissect_element_DsAddEntryCtr2_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2116 static int drsuapi_dissect_element_DsAddEntryCtr2_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2117 static int drsuapi_dissect_element_DsAddEntryCtr2_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2118 static int drsuapi_dissect_element_DsAddEntryCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2119 static int drsuapi_dissect_element_DsAddEntryCtr2_objects(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2120 static int drsuapi_dissect_element_DsAddEntryCtr2_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2121 static int drsuapi_dissect_element_DsAddEntryCtr2_objects__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2122 static int drsuapi_dissect_element_DsAddEntryCtr3_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2123 static int drsuapi_dissect_element_DsAddEntryCtr3_id_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2124 static int drsuapi_dissect_element_DsAddEntryCtr3_err_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *err_ver);
2125 static int drsuapi_dissect_element_DsAddEntryCtr3_err_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *err_ver);
2126 static int drsuapi_dissect_element_DsAddEntryCtr3_err_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *err_ver);
2127 static int drsuapi_dissect_element_DsAddEntryCtr3_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2128 static int drsuapi_dissect_element_DsAddEntryCtr3_objects(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2129 static int drsuapi_dissect_element_DsAddEntryCtr3_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2130 static int drsuapi_dissect_element_DsAddEntryCtr3_objects__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2131 static int drsuapi_dissect_element_DsAddEntryCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2132 static int drsuapi_dissect_element_DsAddEntryCtr_ctr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2133 static const true_false_string drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION_tfs = {
2134    "DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION is SET",
2135    "DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION is NOT SET",
2136 };
2137 static const true_false_string drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_DAMPED_tfs = {
2138    "DRSUAPI_DS_EXECUTE_KCC_DAMPED is SET",
2139    "DRSUAPI_DS_EXECUTE_KCC_DAMPED is NOT SET",
2140 };
2141 static int drsuapi_dissect_element_DsExecuteKCC1_taskID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2142 static int drsuapi_dissect_element_DsExecuteKCC1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2143 static int drsuapi_dissect_element_DsExecuteKCCRequest_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2144 const value_string drsuapi_drsuapi_DsReplicaGetInfoLevel_vals[] = {
2145         { DRSUAPI_DS_REPLICA_GET_INFO, "DRSUAPI_DS_REPLICA_GET_INFO" },
2146         { DRSUAPI_DS_REPLICA_GET_INFO2, "DRSUAPI_DS_REPLICA_GET_INFO2" },
2147 { 0, NULL }
2148 };
2149 const value_string drsuapi_drsuapi_DsReplicaInfoType_vals[] = {
2150         { DRSUAPI_DS_REPLICA_INFO_NEIGHBORS, "DRSUAPI_DS_REPLICA_INFO_NEIGHBORS" },
2151         { DRSUAPI_DS_REPLICA_INFO_CURSORS, "DRSUAPI_DS_REPLICA_INFO_CURSORS" },
2152         { DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA, "DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA" },
2153         { DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES, "DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES" },
2154         { DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES, "DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES" },
2155         { DRSUAPI_DS_REPLICA_INFO_PENDING_OPS, "DRSUAPI_DS_REPLICA_INFO_PENDING_OPS" },
2156         { DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA, "DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA" },
2157         { DRSUAPI_DS_REPLICA_INFO_CURSORS2, "DRSUAPI_DS_REPLICA_INFO_CURSORS2" },
2158         { DRSUAPI_DS_REPLICA_INFO_CURSORS3, "DRSUAPI_DS_REPLICA_INFO_CURSORS3" },
2159         { DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2, "DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2" },
2160         { DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2, "DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2" },
2161         { DRSUAPI_DS_REPLICA_INFO_REPSTO, "DRSUAPI_DS_REPLICA_INFO_REPSTO" },
2162         { DRSUAPI_DS_REPLICA_INFO_CLIENT_CONTEXTS, "DRSUAPI_DS_REPLICA_INFO_CLIENT_CONTEXTS" },
2163         { DRSUAPI_DS_REPLICA_INFO_UPTODATE_VECTOR_V1, "DRSUAPI_DS_REPLICA_INFO_UPTODATE_VECTOR_V1" },
2164         { DRSUAPI_DS_REPLICA_INFO_SERVER_OUTGOING_CALLS, "DRSUAPI_DS_REPLICA_INFO_SERVER_OUTGOING_CALLS" },
2165 { 0, NULL }
2166 };
2167 static int drsuapi_dissect_element_DsReplicaGetInfoRequest1_info_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2168 static int drsuapi_dissect_element_DsReplicaGetInfoRequest1_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2169 static int drsuapi_dissect_element_DsReplicaGetInfoRequest1_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2170 static int drsuapi_dissect_element_DsReplicaGetInfoRequest1_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2171 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_info_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2172 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2173 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2174 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2175 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2176 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2177 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2178 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_value_dn_str(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2179 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_value_dn_str_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2180 static int drsuapi_dissect_element_DsReplicaGetInfoRequest2_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2181 static int drsuapi_dissect_element_DsReplicaGetInfoRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2182 static int drsuapi_dissect_element_DsReplicaGetInfoRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2183 static int drsuapi_dissect_element_DsReplicaNeighbour_naming_context_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2184 static int drsuapi_dissect_element_DsReplicaNeighbour_naming_context_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2185 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_, guint8 *drep _U_);
2186 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_, guint8 *drep _U_);
2187 static int drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2188 static int drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2189 static int drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2190 static int drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2191 static int drsuapi_dissect_element_DsReplicaNeighbour_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2192 static int drsuapi_dissect_element_DsReplicaNeighbour_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2193 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_, guint8 *drep _U_);
2194 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_, guint8 *drep _U_);
2195 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_, guint8 *drep _U_);
2196 static int drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2197 static int drsuapi_dissect_element_DsReplicaNeighbour_tmp_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2198 static int drsuapi_dissect_element_DsReplicaNeighbour_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2199 static int drsuapi_dissect_element_DsReplicaNeighbour_last_success(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2200 static int drsuapi_dissect_element_DsReplicaNeighbour_last_attempt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2201 static int drsuapi_dissect_element_DsReplicaNeighbour_result_last_attempt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2202 static int drsuapi_dissect_element_DsReplicaNeighbour_consecutive_sync_failures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2203 static int drsuapi_dissect_element_DsReplicaNeighbourCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2204 static int drsuapi_dissect_element_DsReplicaNeighbourCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2205 static int drsuapi_dissect_element_DsReplicaNeighbourCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2206 static int drsuapi_dissect_element_DsReplicaNeighbourCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2207 static int drsuapi_dissect_element_DsReplicaCursorCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2208 static int drsuapi_dissect_element_DsReplicaCursorCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2209 static int drsuapi_dissect_element_DsReplicaCursorCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2210 static int drsuapi_dissect_element_DsReplicaCursorCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2211 static int drsuapi_dissect_element_DsReplicaObjMetaData_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2212 static int drsuapi_dissect_element_DsReplicaObjMetaData_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2213 static int drsuapi_dissect_element_DsReplicaObjMetaData_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2214 static int drsuapi_dissect_element_DsReplicaObjMetaData_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2215 static int drsuapi_dissect_element_DsReplicaObjMetaData_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2216 static int drsuapi_dissect_element_DsReplicaObjMetaData_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2217 static int drsuapi_dissect_element_DsReplicaObjMetaData_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2218 static int drsuapi_dissect_element_DsReplicaObjMetaDataCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2219 static int drsuapi_dissect_element_DsReplicaObjMetaDataCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2220 static int drsuapi_dissect_element_DsReplicaObjMetaDataCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2221 static int drsuapi_dissect_element_DsReplicaObjMetaDataCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2222 static int drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2223 static int drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2224 static int drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2225 static int drsuapi_dissect_element_DsReplicaKccDsaFailure_first_failure(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2226 static int drsuapi_dissect_element_DsReplicaKccDsaFailure_num_failures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2227 static int drsuapi_dissect_element_DsReplicaKccDsaFailure_last_result(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2228 static int drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2229 static int drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2230 static int drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2231 static int drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2232 const value_string drsuapi_drsuapi_DsReplicaOpType_vals[] = {
2233         { DRSUAPI_DS_REPLICA_OP_TYPE_SYNC, "DRSUAPI_DS_REPLICA_OP_TYPE_SYNC" },
2234         { DRSUAPI_DS_REPLICA_OP_TYPE_ADD, "DRSUAPI_DS_REPLICA_OP_TYPE_ADD" },
2235         { DRSUAPI_DS_REPLICA_OP_TYPE_DELETE, "DRSUAPI_DS_REPLICA_OP_TYPE_DELETE" },
2236         { DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY, "DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY" },
2237         { DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS, "DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS" },
2238 { 0, NULL }
2239 };
2240 static int drsuapi_dissect_element_DsReplicaOp_operation_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2241 static int drsuapi_dissect_element_DsReplicaOp_serial_num(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2242 static int drsuapi_dissect_element_DsReplicaOp_priority(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2243 static int drsuapi_dissect_element_DsReplicaOp_operation_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2244 static int drsuapi_dissect_element_DsReplicaOp_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2245 static int drsuapi_dissect_element_DsReplicaOp_nc_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2246 static int drsuapi_dissect_element_DsReplicaOp_nc_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2247 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_, guint8 *drep _U_);
2248 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_, guint8 *drep _U_);
2249 static int drsuapi_dissect_element_DsReplicaOp_remote_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2250 static int drsuapi_dissect_element_DsReplicaOp_remote_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2251 static int drsuapi_dissect_element_DsReplicaOp_nc_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2252 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_, guint8 *drep _U_);
2253 static int drsuapi_dissect_element_DsReplicaOpCtr_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2254 static int drsuapi_dissect_element_DsReplicaOpCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2255 static int drsuapi_dissect_element_DsReplicaOpCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2256 static int drsuapi_dissect_element_DsReplicaOpCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2257 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2258 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2259 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2260 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2261 static int drsuapi_dissect_element_DsReplicaAttrValMetaData___ndr_size_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2262 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2263 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_binary_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2264 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_deleted(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2265 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_created(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2266 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2267 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2268 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2269 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2270 static int drsuapi_dissect_element_DsReplicaAttrValMetaData_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2271 static int drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2272 static int drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2273 static int drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2274 static int drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2275 static int drsuapi_dissect_element_DsReplicaCursor2Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2276 static int drsuapi_dissect_element_DsReplicaCursor2Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2277 static int drsuapi_dissect_element_DsReplicaCursor2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2278 static int drsuapi_dissect_element_DsReplicaCursor2Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2279 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_, guint8 *drep _U_);
2280 static int drsuapi_dissect_element_DsReplicaCursor3_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2281 static int drsuapi_dissect_element_DsReplicaCursor3_last_sync_success(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2282 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_, guint8 *drep _U_);
2283 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_, guint8 *drep _U_);
2284 static int drsuapi_dissect_element_DsReplicaCursor3Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2285 static int drsuapi_dissect_element_DsReplicaCursor3Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2286 static int drsuapi_dissect_element_DsReplicaCursor3Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2287 static int drsuapi_dissect_element_DsReplicaCursor3Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2288 static int drsuapi_dissect_element_DsReplicaObjMetaData2_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2289 static int drsuapi_dissect_element_DsReplicaObjMetaData2_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2290 static int drsuapi_dissect_element_DsReplicaObjMetaData2_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2291 static int drsuapi_dissect_element_DsReplicaObjMetaData2_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2292 static int drsuapi_dissect_element_DsReplicaObjMetaData2_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2293 static int drsuapi_dissect_element_DsReplicaObjMetaData2_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2294 static int drsuapi_dissect_element_DsReplicaObjMetaData2_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2295 static int drsuapi_dissect_element_DsReplicaObjMetaData2_originating_dsa_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2296 static int drsuapi_dissect_element_DsReplicaObjMetaData2_originating_dsa_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2297 static int drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2298 static int drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2299 static int drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2300 static int drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2301 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2302 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2303 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2304 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2305 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2___ndr_size_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2306 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2307 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_binary_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2308 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_deleted(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2309 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_created(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2310 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2311 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2312 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2313 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2314 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2315 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_dsa_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2316 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_dsa_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2317 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2318 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2319 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2320 static int drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2321 static int drsuapi_dissect_element_DsReplicaConnection04_u1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2322 static int drsuapi_dissect_element_DsReplicaConnection04_u2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2323 static int drsuapi_dissect_element_DsReplicaConnection04_u3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2324 static int drsuapi_dissect_element_DsReplicaConnection04_bind_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2325 static int drsuapi_dissect_element_DsReplicaConnection04_bind_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2326 static int drsuapi_dissect_element_DsReplicaConnection04_client_ip_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2327 static int drsuapi_dissect_element_DsReplicaConnection04_u5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2328 static int drsuapi_dissect_element_DsReplicaConnection04Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2329 static int drsuapi_dissect_element_DsReplicaConnection04Ctr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2330 static int drsuapi_dissect_element_DsReplicaConnection04Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2331 static int drsuapi_dissect_element_DsReplicaConnection04Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2332 static int drsuapi_dissect_element_DsReplica06_str1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2333 static int drsuapi_dissect_element_DsReplica06_str1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2334 static int drsuapi_dissect_element_DsReplica06_u1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2335 static int drsuapi_dissect_element_DsReplica06_u2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2336 static int drsuapi_dissect_element_DsReplica06_u3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2337 static int drsuapi_dissect_element_DsReplica06_u4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2338 static int drsuapi_dissect_element_DsReplica06_u5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2339 static int drsuapi_dissect_element_DsReplica06_u6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2340 static int drsuapi_dissect_element_DsReplica06_u7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2341 static int drsuapi_dissect_element_DsReplica06Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2342 static int drsuapi_dissect_element_DsReplica06Ctr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2343 static int drsuapi_dissect_element_DsReplica06Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2344 static int drsuapi_dissect_element_DsReplica06Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2345 static int drsuapi_dissect_element_DsReplicaInfo_neighbours(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2346 static int drsuapi_dissect_element_DsReplicaInfo_neighbours_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2347 static int drsuapi_dissect_element_DsReplicaInfo_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2348 static int drsuapi_dissect_element_DsReplicaInfo_cursors_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2349 static int drsuapi_dissect_element_DsReplicaInfo_objmetadata(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2350 static int drsuapi_dissect_element_DsReplicaInfo_objmetadata_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2351 static int drsuapi_dissect_element_DsReplicaInfo_connectfailures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2352 static int drsuapi_dissect_element_DsReplicaInfo_connectfailures_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2353 static int drsuapi_dissect_element_DsReplicaInfo_linkfailures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2354 static int drsuapi_dissect_element_DsReplicaInfo_linkfailures_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2355 static int drsuapi_dissect_element_DsReplicaInfo_pendingops(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2356 static int drsuapi_dissect_element_DsReplicaInfo_pendingops_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2357 static int drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2358 static int drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2359 static int drsuapi_dissect_element_DsReplicaInfo_cursors2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2360 static int drsuapi_dissect_element_DsReplicaInfo_cursors2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2361 static int drsuapi_dissect_element_DsReplicaInfo_cursors3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2362 static int drsuapi_dissect_element_DsReplicaInfo_cursors3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2363 static int drsuapi_dissect_element_DsReplicaInfo_objmetadata2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2364 static int drsuapi_dissect_element_DsReplicaInfo_objmetadata2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2365 static int drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2366 static int drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2367 static int drsuapi_dissect_element_DsReplicaInfo_repsto(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2368 static int drsuapi_dissect_element_DsReplicaInfo_repsto_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2369 static int drsuapi_dissect_element_DsReplicaInfo_clientctx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2370 static int drsuapi_dissect_element_DsReplicaInfo_clientctx_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2371 static int drsuapi_dissect_element_DsReplicaInfo_udv1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2372 static int drsuapi_dissect_element_DsReplicaInfo_udv1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2373 static int drsuapi_dissect_element_DsReplicaInfo_srvoutgoingcalls(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2374 static int drsuapi_dissect_element_DsReplicaInfo_srvoutgoingcalls_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2375 static int drsuapi_dissect_element_DsGetMemberships2Ctr1_num_entries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2376 static int drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2377 static int drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2378 static int drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2379 static int drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2380 static int drsuapi_dissect_element_DsGetMemberships2Ctr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2381 static int drsuapi_dissect_element_DsGetMemberships2Request1_num_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2382 static int drsuapi_dissect_element_DsGetMemberships2Request1_req_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2383 static int drsuapi_dissect_element_DsGetMemberships2Request1_req_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2384 static int drsuapi_dissect_element_DsGetMemberships2Request1_req_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2385 static int drsuapi_dissect_element_DsGetMemberships2Request1_req_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2386 static int drsuapi_dissect_element_DsGetMemberships2Request_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2387 static int drsuapi_dissect_element_DsSiteCostInfo_error_code(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2388 static int drsuapi_dissect_element_DsSiteCostInfo_site_cost(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2389 static int drsuapi_dissect_element_QuerySitesByCostCtr1_num_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2390 static int drsuapi_dissect_element_QuerySitesByCostCtr1_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2391 static int drsuapi_dissect_element_QuerySitesByCostCtr1_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2392 static int drsuapi_dissect_element_QuerySitesByCostCtr1_info__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2393 static int drsuapi_dissect_element_QuerySitesByCostCtr1_flags_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2394 static int drsuapi_dissect_element_QuerySitesByCostCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2395 static int drsuapi_dissect_element_QuerySitesByCostRequest1_site_from(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2396 static int drsuapi_dissect_element_QuerySitesByCostRequest1_site_from_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2397 static int drsuapi_dissect_element_QuerySitesByCostRequest1_num_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2398 static int drsuapi_dissect_element_QuerySitesByCostRequest1_site_to(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2399 static int drsuapi_dissect_element_QuerySitesByCostRequest1_site_to_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2400 static int drsuapi_dissect_element_QuerySitesByCostRequest1_site_to__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2401 static int drsuapi_dissect_element_QuerySitesByCostRequest1_site_to___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2402 static int drsuapi_dissect_element_QuerySitesByCostRequest1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2403 static int drsuapi_dissect_element_QuerySitesByCostRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2404 static int drsuapi_dissect_element_DsBind_bind_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2405 static int drsuapi_dissect_element_DsBind_bind_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2406 static int drsuapi_dissect_element_DsBind_bind_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2407 static int drsuapi_dissect_element_DsBind_bind_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2408 static int drsuapi_dissect_element_DsBind_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2409 static int drsuapi_dissect_element_DsBind_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2410 static int drsuapi_dissect_element_DsUnbind_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2411 static int drsuapi_dissect_element_DsUnbind_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2412 static int drsuapi_dissect_element_DsReplicaSync_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2413 static int drsuapi_dissect_element_DsReplicaSync_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2414 static int drsuapi_dissect_element_DsReplicaSync_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2415 static int drsuapi_dissect_element_DsReplicaSync_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2416 static int drsuapi_dissect_element_DsReplicaSync_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2417 static int drsuapi_dissect_element_DsGetNCChanges_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2418 static int drsuapi_dissect_element_DsGetNCChanges_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2419 static int drsuapi_dissect_element_DsGetNCChanges_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2420 static int drsuapi_dissect_element_DsGetNCChanges_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2421 static int drsuapi_dissect_element_DsGetNCChanges_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2422 static int drsuapi_dissect_element_DsGetNCChanges_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2423 static int drsuapi_dissect_element_DsGetNCChanges_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2424 static int drsuapi_dissect_element_DsGetNCChanges_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2425 static int drsuapi_dissect_element_DsGetNCChanges_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2426 static int drsuapi_dissect_element_DsReplicaUpdateRefs_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2427 static int drsuapi_dissect_element_DsReplicaUpdateRefs_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2428 static int drsuapi_dissect_element_DsReplicaUpdateRefs_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2429 static int drsuapi_dissect_element_DsReplicaUpdateRefs_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2430 static int drsuapi_dissect_element_DsReplicaAdd_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2431 static int drsuapi_dissect_element_DsReplicaAdd_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2432 static int drsuapi_dissect_element_DsReplicaAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2433 static int drsuapi_dissect_element_DsReplicaAdd_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2434 static int drsuapi_dissect_element_DsReplicaDel_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2435 static int drsuapi_dissect_element_DsReplicaDel_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2436 static int drsuapi_dissect_element_DsReplicaDel_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2437 static int drsuapi_dissect_element_DsReplicaDel_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2438 static int drsuapi_dissect_element_DsReplicaMod_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2439 static int drsuapi_dissect_element_DsReplicaMod_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2440 static int drsuapi_dissect_element_DsReplicaMod_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2441 static int drsuapi_dissect_element_DsReplicaMod_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2442 static int drsuapi_dissect_element_DsGetMemberships_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2443 static int drsuapi_dissect_element_DsGetMemberships_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2444 static int drsuapi_dissect_element_DsGetMemberships_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2445 static int drsuapi_dissect_element_DsGetMemberships_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2446 static int drsuapi_dissect_element_DsGetMemberships_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2447 static int drsuapi_dissect_element_DsGetMemberships_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2448 static int drsuapi_dissect_element_DsGetMemberships_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2449 static int drsuapi_dissect_element_DsGetMemberships_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2450 static int drsuapi_dissect_element_DsGetMemberships_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2451 static int drsuapi_dissect_element_DsGetNT4ChangeLog_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2452 static int drsuapi_dissect_element_DsGetNT4ChangeLog_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2453 static int drsuapi_dissect_element_DsGetNT4ChangeLog_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2454 static int drsuapi_dissect_element_DsGetNT4ChangeLog_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2455 static int drsuapi_dissect_element_DsGetNT4ChangeLog_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2456 static int drsuapi_dissect_element_DsGetNT4ChangeLog_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2457 static int drsuapi_dissect_element_DsGetNT4ChangeLog_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2458 static int drsuapi_dissect_element_DsGetNT4ChangeLog_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2459 static int drsuapi_dissect_element_DsGetNT4ChangeLog_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2460 static int drsuapi_dissect_element_DsCrackNames_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2461 static int drsuapi_dissect_element_DsCrackNames_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2462 static int drsuapi_dissect_element_DsCrackNames_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2463 static int drsuapi_dissect_element_DsCrackNames_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2464 static int drsuapi_dissect_element_DsCrackNames_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2465 static int drsuapi_dissect_element_DsCrackNames_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2466 static int drsuapi_dissect_element_DsCrackNames_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2467 static int drsuapi_dissect_element_DsCrackNames_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2468 static int drsuapi_dissect_element_DsCrackNames_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2469 static int drsuapi_dissect_element_DsWriteAccountSpn_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2470 static int drsuapi_dissect_element_DsWriteAccountSpn_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2471 static int drsuapi_dissect_element_DsWriteAccountSpn_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2472 static int drsuapi_dissect_element_DsWriteAccountSpn_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2473 static int drsuapi_dissect_element_DsWriteAccountSpn_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2474 static int drsuapi_dissect_element_DsWriteAccountSpn_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2475 static int drsuapi_dissect_element_DsWriteAccountSpn_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2476 static int drsuapi_dissect_element_DsWriteAccountSpn_res(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2477 static int drsuapi_dissect_element_DsWriteAccountSpn_res_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2478 static int drsuapi_dissect_element_DsRemoveDSServer_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2479 static int drsuapi_dissect_element_DsRemoveDSServer_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2480 static int drsuapi_dissect_element_DsRemoveDSServer_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2481 static int drsuapi_dissect_element_DsRemoveDSServer_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2482 static int drsuapi_dissect_element_DsRemoveDSServer_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2483 static int drsuapi_dissect_element_DsRemoveDSServer_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2484 static int drsuapi_dissect_element_DsRemoveDSServer_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2485 static int drsuapi_dissect_element_DsRemoveDSServer_res(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2486 static int drsuapi_dissect_element_DsRemoveDSServer_res_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2487 static int drsuapi_dissect_element_DsGetDomainControllerInfo_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2488 static int drsuapi_dissect_element_DsGetDomainControllerInfo_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2489 static int drsuapi_dissect_element_DsGetDomainControllerInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2490 static int drsuapi_dissect_element_DsGetDomainControllerInfo_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2491 static int drsuapi_dissect_element_DsGetDomainControllerInfo_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2492 static int drsuapi_dissect_element_DsGetDomainControllerInfo_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2493 static int drsuapi_dissect_element_DsGetDomainControllerInfo_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2494 static int drsuapi_dissect_element_DsGetDomainControllerInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2495 static int drsuapi_dissect_element_DsGetDomainControllerInfo_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2496 static int drsuapi_dissect_element_DsAddEntry_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2497 static int drsuapi_dissect_element_DsAddEntry_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2498 static int drsuapi_dissect_element_DsAddEntry_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2499 static int drsuapi_dissect_element_DsAddEntry_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2500 static int drsuapi_dissect_element_DsAddEntry_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2501 static int drsuapi_dissect_element_DsAddEntry_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2502 static int drsuapi_dissect_element_DsAddEntry_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2503 static int drsuapi_dissect_element_DsAddEntry_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2504 static int drsuapi_dissect_element_DsAddEntry_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2505 static int drsuapi_dissect_element_DsExecuteKCC_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2506 static int drsuapi_dissect_element_DsExecuteKCC_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2507 static int drsuapi_dissect_element_DsExecuteKCC_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2508 static int drsuapi_dissect_element_DsExecuteKCC_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2509 static int drsuapi_dissect_element_DsExecuteKCC_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2510 static int drsuapi_dissect_element_DsReplicaGetInfo_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2511 static int drsuapi_dissect_element_DsReplicaGetInfo_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2512 static int drsuapi_dissect_element_DsReplicaGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2513 static int drsuapi_dissect_element_DsReplicaGetInfo_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2514 static int drsuapi_dissect_element_DsReplicaGetInfo_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2515 static int drsuapi_dissect_element_DsReplicaGetInfo_info_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2516 static int drsuapi_dissect_element_DsReplicaGetInfo_info_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2517 static int drsuapi_dissect_element_DsReplicaGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2518 static int drsuapi_dissect_element_DsReplicaGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2519 static int drsuapi_dissect_element_DsGetMemberships2_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2520 static int drsuapi_dissect_element_DsGetMemberships2_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2521 static int drsuapi_dissect_element_DsGetMemberships2_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2522 static int drsuapi_dissect_element_DsGetMemberships2_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2523 static int drsuapi_dissect_element_DsGetMemberships2_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2524 static int drsuapi_dissect_element_DsGetMemberships2_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2525 static int drsuapi_dissect_element_DsGetMemberships2_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2526 static int drsuapi_dissect_element_DsGetMemberships2_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2527 static int drsuapi_dissect_element_DsGetMemberships2_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2528 static int drsuapi_dissect_element_QuerySitesByCost_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2529 static int drsuapi_dissect_element_QuerySitesByCost_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2530 static int drsuapi_dissect_element_QuerySitesByCost_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2531 static int drsuapi_dissect_element_QuerySitesByCost_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2532 static int drsuapi_dissect_element_QuerySitesByCost_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2533 static int drsuapi_dissect_element_QuerySitesByCost_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2534 static int drsuapi_dissect_element_QuerySitesByCost_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2535 static int drsuapi_dissect_element_QuerySitesByCost_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2536 static int drsuapi_dissect_element_QuerySitesByCost_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
2537
2538
2539 /* IDL: bitmap { */
2540 /* IDL: } */
2541
2542 int
2543 drsuapi_dissect_bitmap_samr_GroupAttrs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2544 {
2545         proto_item *item = NULL;
2546         proto_tree *tree = NULL;
2547
2548         guint32 flags;
2549         ALIGN_TO_4_BYTES;
2550
2551         if (parent_tree) {
2552                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, DREP_ENC_INTEGER(drep));
2553                 tree = proto_item_add_subtree(item,ett_drsuapi_samr_GroupAttrs);
2554         }
2555
2556         offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
2557         proto_item_append_text(item, ": ");
2558
2559         if (!flags)
2560                 proto_item_append_text(item, "(No values set)");
2561
2562         if (flags) {
2563                 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
2564         }
2565
2566         return offset;
2567 }
2568
2569
2570 /* IDL: bitmap { */
2571 /* IDL:         DRSUAPI_DRS_ASYNC_OP =  0x00000001 , */
2572 /* IDL:         DRSUAPI_DRS_GETCHG_CHECK =  0x00000002 , */
2573 /* IDL:         DRSUAPI_DRS_UPDATE_NOTIFICATION =  0x00000002 , */
2574 /* IDL:         DRSUAPI_DRS_ADD_REF =  0x00000004 , */
2575 /* IDL:         DRSUAPI_DRS_SYNC_ALL =  0x00000008 , */
2576 /* IDL:         DRSUAPI_DRS_DEL_REF =  0x00000008 , */
2577 /* IDL:         DRSUAPI_DRS_WRIT_REP =  0x00000010 , */
2578 /* IDL:         DRSUAPI_DRS_INIT_SYNC =  0x00000020 , */
2579 /* IDL:         DRSUAPI_DRS_PER_SYNC =  0x00000040 , */
2580 /* IDL:         DRSUAPI_DRS_MAIL_REP =  0x00000080 , */
2581 /* IDL:         DRSUAPI_DRS_ASYNC_REP =  0x00000100 , */
2582 /* IDL:         DRSUAPI_DRS_IGNORE_ERROR =  0x00000100 , */
2583 /* IDL:         DRSUAPI_DRS_TWOWAY_SYNC =  0x00000200 , */
2584 /* IDL:         DRSUAPI_DRS_CRITICAL_ONLY =  0x00000400 , */
2585 /* IDL:         DRSUAPI_DRS_GET_ANC =  0x00000800 , */
2586 /* IDL:         DRSUAPI_DRS_GET_NC_SIZE =  0x00001000 , */
2587 /* IDL:         DRSUAPI_DRS_LOCAL_ONLY =  0x00001000 , */
2588 /* IDL:         DRSUAPI_DRS_NONGC_RO_REP =  0x00002000 , */
2589 /* IDL:         DRSUAPI_DRS_SYNC_BYNAME =  0x00004000 , */
2590 /* IDL:         DRSUAPI_DRS_REF_OK =  0x00004000 , */
2591 /* IDL:         DRSUAPI_DRS_FULL_SYNC_NOW =  0x00008000 , */
2592 /* IDL:         DRSUAPI_DRS_NO_SOURCE =  0x00008000 , */
2593 /* IDL:         DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS =  0x00010000 , */
2594 /* IDL:         DRSUAPI_DRS_FULL_SYNC_PACKET =  0x00020000 , */
2595 /* IDL:         DRSUAPI_DRS_SYNC_REQUEUE =  0x00040000 , */
2596 /* IDL:         DRSUAPI_DRS_SYNC_URGENT =  0x00080000 , */
2597 /* IDL:         DRSUAPI_DRS_REF_GCSPN =  0x00100000 , */
2598 /* IDL:         DRSUAPI_DRS_NO_DISCARD =  0x00100000 , */
2599 /* IDL:         DRSUAPI_DRS_NEVER_SYNCED =  0x00200000 , */
2600 /* IDL:         DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING =  0x00400000 , */
2601 /* IDL:         DRSUAPI_DRS_INIT_SYNC_NOW =  0x00800000 , */
2602 /* IDL:         DRSUAPI_DRS_PREEMPTED =  0x01000000 , */
2603 /* IDL:         DRSUAPI_DRS_SYNC_FORCED =  0x02000000 , */
2604 /* IDL:         DRSUAPI_DRS_DISABLE_AUTO_SYNC =  0x04000000 , */
2605 /* IDL:         DRSUAPI_DRS_DISABLE_PERIODIC_SYNC =  0x08000000 , */
2606 /* IDL:         DRSUAPI_DRS_USE_COMPRESSION =  0x10000000 , */
2607 /* IDL:         DRSUAPI_DRS_NEVER_NOTIFY =  0x20000000 , */
2608 /* IDL:         DRSUAPI_DRS_SYNC_PAS =  0x40000000 , */
2609 /* IDL:         DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP =  0x80000000 , */
2610 /* IDL: } */
2611
2612 int
2613 drsuapi_dissect_bitmap_DrsOptions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2614 {
2615         proto_item *item = NULL;
2616         proto_tree *tree = NULL;
2617
2618         guint32 flags;
2619         ALIGN_TO_4_BYTES;
2620
2621         if (parent_tree) {
2622                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, DREP_ENC_INTEGER(drep));
2623                 tree = proto_item_add_subtree(item,ett_drsuapi_drsuapi_DrsOptions);
2624         }
2625
2626         offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
2627         proto_item_append_text(item, ": ");
2628
2629         if (!flags)
2630                 proto_item_append_text(item, "(No values set)");
2631
2632         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_OP, tvb, offset-4, 4, flags);
2633         if (flags&( 0x00000001 )){
2634                 proto_item_append_text(item, "DRSUAPI_DRS_ASYNC_OP");
2635                 if (flags & (~( 0x00000001 )))
2636                         proto_item_append_text(item, ", ");
2637         }
2638         flags&=(~( 0x00000001 ));
2639
2640         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GETCHG_CHECK, tvb, offset-4, 4, flags);
2641         if (flags&( 0x00000002 )){
2642                 proto_item_append_text(item, "DRSUAPI_DRS_GETCHG_CHECK");
2643                 if (flags & (~( 0x00000002 )))
2644                         proto_item_append_text(item, ", ");
2645         }
2646         flags&=(~( 0x00000002 ));
2647
2648         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_UPDATE_NOTIFICATION, tvb, offset-4, 4, flags);
2649         if (flags&( 0x00000002 )){
2650                 proto_item_append_text(item, "DRSUAPI_DRS_UPDATE_NOTIFICATION");
2651                 if (flags & (~( 0x00000002 )))
2652                         proto_item_append_text(item, ", ");
2653         }
2654         flags&=(~( 0x00000002 ));
2655
2656         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ADD_REF, tvb, offset-4, 4, flags);
2657         if (flags&( 0x00000004 )){
2658                 proto_item_append_text(item, "DRSUAPI_DRS_ADD_REF");
2659                 if (flags & (~( 0x00000004 )))
2660                         proto_item_append_text(item, ", ");
2661         }
2662         flags&=(~( 0x00000004 ));
2663
2664         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_ALL, tvb, offset-4, 4, flags);
2665         if (flags&( 0x00000008 )){
2666                 proto_item_append_text(item, "DRSUAPI_DRS_SYNC_ALL");
2667                 if (flags & (~( 0x00000008 )))
2668                         proto_item_append_text(item, ", ");
2669         }
2670         flags&=(~( 0x00000008 ));
2671
2672         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DEL_REF, tvb, offset-4, 4, flags);
2673         if (flags&( 0x00000008 )){
2674                 proto_item_append_text(item, "DRSUAPI_DRS_DEL_REF");
2675                 if (flags & (~( 0x00000008 )))
2676                         proto_item_append_text(item, ", ");
2677         }
2678         flags&=(~( 0x00000008 ));
2679
2680         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_WRIT_REP, tvb, offset-4, 4, flags);
2681         if (flags&( 0x00000010 )){
2682                 proto_item_append_text(item, "DRSUAPI_DRS_WRIT_REP");
2683                 if (flags & (~( 0x00000010 )))
2684                         proto_item_append_text(item, ", ");
2685         }
2686         flags&=(~( 0x00000010 ));
2687
2688         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC, tvb, offset-4, 4, flags);
2689         if (flags&( 0x00000020 )){
2690                 proto_item_append_text(item, "DRSUAPI_DRS_INIT_SYNC");
2691                 if (flags & (~( 0x00000020 )))
2692                         proto_item_append_text(item, ", ");
2693         }
2694         flags&=(~( 0x00000020 ));
2695
2696         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_PER_SYNC, tvb, offset-4, 4, flags);
2697         if (flags&( 0x00000040 )){
2698                 proto_item_append_text(item, "DRSUAPI_DRS_PER_SYNC");
2699                 if (flags & (~( 0x00000040 )))
2700                         proto_item_append_text(item, ", ");
2701         }
2702         flags&=(~( 0x00000040 ));
2703
2704         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_MAIL_REP, tvb, offset-4, 4, flags);
2705         if (flags&( 0x00000080 )){
2706                 proto_item_append_text(item, "DRSUAPI_DRS_MAIL_REP");
2707                 if (flags & (~( 0x00000080 )))
2708                         proto_item_append_text(item, ", ");
2709         }
2710         flags&=(~( 0x00000080 ));
2711
2712         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_REP, tvb, offset-4, 4, flags);
2713         if (flags&( 0x00000100 )){
2714                 proto_item_append_text(item, "DRSUAPI_DRS_ASYNC_REP");
2715                 if (flags & (~( 0x00000100 )))
2716                         proto_item_append_text(item, ", ");
2717         }
2718         flags&=(~( 0x00000100 ));
2719
2720         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_IGNORE_ERROR, tvb, offset-4, 4, flags);
2721         if (flags&( 0x00000100 )){
2722                 proto_item_append_text(item, "DRSUAPI_DRS_IGNORE_ERROR");
2723                 if (flags & (~( 0x00000100 )))
2724                         proto_item_append_text(item, ", ");
2725         }
2726         flags&=(~( 0x00000100 ));
2727
2728         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_TWOWAY_SYNC, tvb, offset-4, 4, flags);
2729         if (flags&( 0x00000200 )){
2730                 proto_item_append_text(item, "DRSUAPI_DRS_TWOWAY_SYNC");
2731                 if (flags & (~( 0x00000200 )))
2732                         proto_item_append_text(item, ", ");
2733         }
2734         flags&=(~( 0x00000200 ));
2735
2736         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_CRITICAL_ONLY, tvb, offset-4, 4, flags);
2737         if (flags&( 0x00000400 )){
2738                 proto_item_append_text(item, "DRSUAPI_DRS_CRITICAL_ONLY");
2739                 if (flags & (~( 0x00000400 )))
2740                         proto_item_append_text(item, ", ");
2741         }
2742         flags&=(~( 0x00000400 ));
2743
2744         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_ANC, tvb, offset-4, 4, flags);
2745         if (flags&( 0x00000800 )){
2746                 proto_item_append_text(item, "DRSUAPI_DRS_GET_ANC");
2747                 if (flags & (~( 0x00000800 )))
2748                         proto_item_append_text(item, ", ");
2749         }
2750         flags&=(~( 0x00000800 ));
2751
2752         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_NC_SIZE, tvb, offset-4, 4, flags);
2753         if (flags&( 0x00001000 )){
2754                 proto_item_append_text(item, "DRSUAPI_DRS_GET_NC_SIZE");
2755                 if (flags & (~( 0x00001000 )))
2756                         proto_item_append_text(item, ", ");
2757         }
2758         flags&=(~( 0x00001000 ));
2759
2760         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_LOCAL_ONLY, tvb, offset-4, 4, flags);
2761         if (flags&( 0x00001000 )){
2762                 proto_item_append_text(item, "DRSUAPI_DRS_LOCAL_ONLY");
2763                 if (flags & (~( 0x00001000 )))
2764                         proto_item_append_text(item, ", ");
2765         }
2766         flags&=(~( 0x00001000 ));
2767
2768         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NONGC_RO_REP, tvb, offset-4, 4, flags);
2769         if (flags&( 0x00002000 )){
2770                 proto_item_append_text(item, "DRSUAPI_DRS_NONGC_RO_REP");
2771                 if (flags & (~( 0x00002000 )))
2772                         proto_item_append_text(item, ", ");
2773         }
2774         flags&=(~( 0x00002000 ));
2775
2776         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_BYNAME, tvb, offset-4, 4, flags);
2777         if (flags&( 0x00004000 )){
2778                 proto_item_append_text(item, "DRSUAPI_DRS_SYNC_BYNAME");
2779                 if (flags & (~( 0x00004000 )))
2780                         proto_item_append_text(item, ", ");
2781         }
2782         flags&=(~( 0x00004000 ));
2783
2784         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_REF_OK, tvb, offset-4, 4, flags);
2785         if (flags&( 0x00004000 )){
2786                 proto_item_append_text(item, "DRSUAPI_DRS_REF_OK");
2787                 if (flags & (~( 0x00004000 )))
2788                         proto_item_append_text(item, ", ");
2789         }
2790         flags&=(~( 0x00004000 ));
2791
2792         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_NOW, tvb, offset-4, 4, flags);
2793         if (flags&( 0x00008000 )){
2794                 proto_item_append_text(item, "DRSUAPI_DRS_FULL_SYNC_NOW");
2795                 if (flags & (~( 0x00008000 )))
2796                         proto_item_append_text(item, ", ");
2797         }
2798         flags&=(~( 0x00008000 ));
2799
2800         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NO_SOURCE, tvb, offset-4, 4, flags);
2801         if (flags&( 0x00008000 )){
2802                 proto_item_append_text(item, "DRSUAPI_DRS_NO_SOURCE");
2803                 if (flags & (~( 0x00008000 )))
2804                         proto_item_append_text(item, ", ");
2805         }
2806         flags&=(~( 0x00008000 ));
2807
2808         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS, tvb, offset-4, 4, flags);
2809         if (flags&( 0x00010000 )){
2810                 proto_item_append_text(item, "DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS");
2811                 if (flags & (~( 0x00010000 )))
2812                         proto_item_append_text(item, ", ");
2813         }
2814         flags&=(~( 0x00010000 ));
2815
2816         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_PACKET, tvb, offset-4, 4, flags);
2817         if (flags&( 0x00020000 )){
2818                 proto_item_append_text(item, "DRSUAPI_DRS_FULL_SYNC_PACKET");
2819                 if (flags & (~( 0x00020000 )))
2820                         proto_item_append_text(item, ", ");
2821         }
2822         flags&=(~( 0x00020000 ));
2823
2824         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_REQUEUE, tvb, offset-4, 4, flags);
2825         if (flags&( 0x00040000 )){
2826                 proto_item_append_text(item, "DRSUAPI_DRS_SYNC_REQUEUE");
2827                 if (flags & (~( 0x00040000 )))
2828                         proto_item_append_text(item, ", ");
2829         }
2830         flags&=(~( 0x00040000 ));
2831
2832         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_URGENT, tvb, offset-4, 4, flags);
2833         if (flags&( 0x00080000 )){
2834                 proto_item_append_text(item, "DRSUAPI_DRS_SYNC_URGENT");
2835                 if (flags & (~( 0x00080000 )))
2836                         proto_item_append_text(item, ", ");
2837         }
2838         flags&=(~( 0x00080000 ));
2839
2840         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_REF_GCSPN, tvb, offset-4, 4, flags);
2841         if (flags&( 0x00100000 )){
2842                 proto_item_append_text(item, "DRSUAPI_DRS_REF_GCSPN");
2843                 if (flags & (~( 0x00100000 )))
2844                         proto_item_append_text(item, ", ");
2845         }
2846         flags&=(~( 0x00100000 ));
2847
2848         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NO_DISCARD, tvb, offset-4, 4, flags);
2849         if (flags&( 0x00100000 )){
2850                 proto_item_append_text(item, "DRSUAPI_DRS_NO_DISCARD");
2851                 if (flags & (~( 0x00100000 )))
2852                         proto_item_append_text(item, ", ");
2853         }
2854         flags&=(~( 0x00100000 ));
2855
2856         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_SYNCED, tvb, offset-4, 4, flags);
2857         if (flags&( 0x00200000 )){
2858                 proto_item_append_text(item, "DRSUAPI_DRS_NEVER_SYNCED");
2859                 if (flags & (~( 0x00200000 )))
2860                         proto_item_append_text(item, ", ");
2861         }
2862         flags&=(~( 0x00200000 ));
2863
2864         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING, tvb, offset-4, 4, flags);
2865         if (flags&( 0x00400000 )){
2866                 proto_item_append_text(item, "DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING");
2867                 if (flags & (~( 0x00400000 )))
2868                         proto_item_append_text(item, ", ");
2869         }
2870         flags&=(~( 0x00400000 ));
2871
2872         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC_NOW, tvb, offset-4, 4, flags);
2873         if (flags&( 0x00800000 )){
2874                 proto_item_append_text(item, "DRSUAPI_DRS_INIT_SYNC_NOW");
2875                 if (flags & (~( 0x00800000 )))
2876                         proto_item_append_text(item, ", ");
2877         }
2878         flags&=(~( 0x00800000 ));
2879
2880         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_PREEMPTED, tvb, offset-4, 4, flags);
2881         if (flags&( 0x01000000 )){
2882                 proto_item_append_text(item, "DRSUAPI_DRS_PREEMPTED");
2883                 if (flags & (~( 0x01000000 )))
2884                         proto_item_append_text(item, ", ");
2885         }
2886         flags&=(~( 0x01000000 ));
2887
2888         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_FORCED, tvb, offset-4, 4, flags);
2889         if (flags&( 0x02000000 )){
2890                 proto_item_append_text(item, "DRSUAPI_DRS_SYNC_FORCED");
2891                 if (flags & (~( 0x02000000 )))
2892                         proto_item_append_text(item, ", ");
2893         }
2894         flags&=(~( 0x02000000 ));
2895
2896         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_AUTO_SYNC, tvb, offset-4, 4, flags);
2897         if (flags&( 0x04000000 )){
2898                 proto_item_append_text(item, "DRSUAPI_DRS_DISABLE_AUTO_SYNC");
2899                 if (flags & (~( 0x04000000 )))
2900                         proto_item_append_text(item, ", ");
2901         }
2902         flags&=(~( 0x04000000 ));
2903
2904         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_PERIODIC_SYNC, tvb, offset-4, 4, flags);
2905         if (flags&( 0x08000000 )){
2906                 proto_item_append_text(item, "DRSUAPI_DRS_DISABLE_PERIODIC_SYNC");
2907                 if (flags & (~( 0x08000000 )))
2908                         proto_item_append_text(item, ", ");
2909         }
2910         flags&=(~( 0x08000000 ));
2911
2912         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_USE_COMPRESSION, tvb, offset-4, 4, flags);
2913         if (flags&( 0x10000000 )){
2914                 proto_item_append_text(item, "DRSUAPI_DRS_USE_COMPRESSION");
2915                 if (flags & (~( 0x10000000 )))
2916                         proto_item_append_text(item, ", ");
2917         }
2918         flags&=(~( 0x10000000 ));
2919
2920         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_NOTIFY, tvb, offset-4, 4, flags);
2921         if (flags&( 0x20000000 )){
2922                 proto_item_append_text(item, "DRSUAPI_DRS_NEVER_NOTIFY");
2923                 if (flags & (~( 0x20000000 )))
2924                         proto_item_append_text(item, ", ");
2925         }
2926         flags&=(~( 0x20000000 ));
2927
2928         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_PAS, tvb, offset-4, 4, flags);
2929         if (flags&( 0x40000000 )){
2930                 proto_item_append_text(item, "DRSUAPI_DRS_SYNC_PAS");
2931                 if (flags & (~( 0x40000000 )))
2932                         proto_item_append_text(item, ", ");
2933         }
2934         flags&=(~( 0x40000000 ));
2935
2936         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP, tvb, offset-4, 4, flags);
2937         if (flags&( 0x80000000 )){
2938                 proto_item_append_text(item, "DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP");
2939                 if (flags & (~( 0x80000000 )))
2940                         proto_item_append_text(item, ", ");
2941         }
2942         flags&=(~( 0x80000000 ));
2943
2944         if (flags) {
2945                 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
2946         }
2947
2948         return offset;
2949 }
2950
2951
2952 /* IDL: bitmap { */
2953 /* IDL:         DRSUAPI_DRS_UPDATE_FLAGS =  0x00000001 , */
2954 /* IDL:         DRSUAPI_DRS_UPDATE_ADDRESS =  0x00000002 , */
2955 /* IDL:         DRSUAPI_DRS_UPDATE_SCHEDULE =  0x00000004 , */
2956 /* IDL: } */
2957
2958 int
2959 drsuapi_dissect_bitmap_DrsUpdate(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2960 {
2961         proto_item *item = NULL;
2962         proto_tree *tree = NULL;
2963
2964         guint32 flags;
2965         ALIGN_TO_4_BYTES;
2966
2967         if (parent_tree) {
2968                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, DREP_ENC_INTEGER(drep));
2969                 tree = proto_item_add_subtree(item,ett_drsuapi_drsuapi_DrsUpdate);
2970         }
2971
2972         offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
2973         proto_item_append_text(item, ": ");
2974
2975         if (!flags)
2976                 proto_item_append_text(item, "(No values set)");
2977
2978         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_FLAGS, tvb, offset-4, 4, flags);
2979         if (flags&( 0x00000001 )){
2980                 proto_item_append_text(item, "DRSUAPI_DRS_UPDATE_FLAGS");
2981                 if (flags & (~( 0x00000001 )))
2982                         proto_item_append_text(item, ", ");
2983         }
2984         flags&=(~( 0x00000001 ));
2985
2986         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_ADDRESS, tvb, offset-4, 4, flags);
2987         if (flags&( 0x00000002 )){
2988                 proto_item_append_text(item, "DRSUAPI_DRS_UPDATE_ADDRESS");
2989                 if (flags & (~( 0x00000002 )))
2990                         proto_item_append_text(item, ", ");
2991         }
2992         flags&=(~( 0x00000002 ));
2993
2994         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_SCHEDULE, tvb, offset-4, 4, flags);
2995         if (flags&( 0x00000004 )){
2996                 proto_item_append_text(item, "DRSUAPI_DRS_UPDATE_SCHEDULE");
2997                 if (flags & (~( 0x00000004 )))
2998                         proto_item_append_text(item, ", ");
2999         }
3000         flags&=(~( 0x00000004 ));
3001
3002         if (flags) {
3003                 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
3004         }
3005
3006         return offset;
3007 }
3008
3009
3010 /* IDL: bitmap { */
3011 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_BASE =  0x00000001 , */
3012 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION =  0x00000002 , */
3013 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI =  0x00000004 , */
3014 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 =  0x00000008 , */
3015 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS =  0x00000010 , */
3016 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 =  0x00000020 , */
3017 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION =  0x00000040 , */
3018 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY =  0x00000080 , */
3019 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE =  0x00000100 , */
3020 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 =  0x00000200 , */
3021 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION =  0x00000400 , */
3022 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 =  0x00000800 , */
3023 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD =  0x00001000 , */
3024 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND =  0x00002000 , */
3025 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO =  0x00004000 , */
3026 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION =  0x00008000 , */
3027 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 =  0x00010000 , */
3028 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP =  0x00020000 , */
3029 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY =  0x00040000 , */
3030 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 =  0x00080000 , */
3031 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5 =  0x00100000 , */
3032 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 =  0x00200000 , */
3033 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 =  0x00400000 , */
3034 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS =  0x00800000 , */
3035 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 =  0x01000000 , */
3036 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 =  0x02000000 , */
3037 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 =  0x04000000 , */
3038 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 =  0x08000000 , */
3039 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7 =  0x08000000 , */
3040 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT =  0x08000000 , */
3041 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS =  0x10000000 , */
3042 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10 =  0x20000000 , */
3043 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2 =  0x40000000 , */
3044 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3 =  0x80000000 , */
3045 /* IDL: } */
3046
3047 int
3048 drsuapi_dissect_bitmap_SupportedExtensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3049 {
3050         proto_item *item = NULL;
3051         proto_tree *tree = NULL;
3052
3053         guint32 flags;
3054         ALIGN_TO_4_BYTES;
3055
3056         if (parent_tree) {
3057                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, DREP_ENC_INTEGER(drep));
3058                 tree = proto_item_add_subtree(item,ett_drsuapi_drsuapi_SupportedExtensions);
3059         }
3060
3061         offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
3062         proto_item_append_text(item, ": ");
3063
3064         if (!flags)
3065                 proto_item_append_text(item, "(No values set)");
3066
3067         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE, tvb, offset-4, 4, flags);
3068         if (flags&( 0x00000001 )){
3069                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_BASE");
3070                 if (flags & (~( 0x00000001 )))
3071                         proto_item_append_text(item, ", ");
3072         }
3073         flags&=(~( 0x00000001 ));
3074
3075         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION, tvb, offset-4, 4, flags);
3076         if (flags&( 0x00000002 )){
3077                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION");
3078                 if (flags & (~( 0x00000002 )))
3079                         proto_item_append_text(item, ", ");
3080         }
3081         flags&=(~( 0x00000002 ));
3082
3083         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI, tvb, offset-4, 4, flags);
3084         if (flags&( 0x00000004 )){
3085                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI");
3086                 if (flags & (~( 0x00000004 )))
3087                         proto_item_append_text(item, ", ");
3088         }
3089         flags&=(~( 0x00000004 ));
3090
3091         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2, tvb, offset-4, 4, flags);
3092         if (flags&( 0x00000008 )){
3093                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2");
3094                 if (flags & (~( 0x00000008 )))
3095                         proto_item_append_text(item, ", ");
3096         }
3097         flags&=(~( 0x00000008 ));
3098
3099         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS, tvb, offset-4, 4, flags);
3100         if (flags&( 0x00000010 )){
3101                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS");
3102                 if (flags & (~( 0x00000010 )))
3103                         proto_item_append_text(item, ", ");
3104         }
3105         flags&=(~( 0x00000010 ));
3106
3107         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1, tvb, offset-4, 4, flags);
3108         if (flags&( 0x00000020 )){
3109                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1");
3110                 if (flags & (~( 0x00000020 )))
3111                         proto_item_append_text(item, ", ");
3112         }
3113         flags&=(~( 0x00000020 ));
3114
3115         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION, tvb, offset-4, 4, flags);
3116         if (flags&( 0x00000040 )){
3117                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION");
3118                 if (flags & (~( 0x00000040 )))
3119                         proto_item_append_text(item, ", ");
3120         }
3121         flags&=(~( 0x00000040 ));
3122
3123         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY, tvb, offset-4, 4, flags);
3124         if (flags&( 0x00000080 )){
3125                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY");
3126                 if (flags & (~( 0x00000080 )))
3127                         proto_item_append_text(item, ", ");
3128         }
3129         flags&=(~( 0x00000080 ));
3130
3131         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE, tvb, offset-4, 4, flags);
3132         if (flags&( 0x00000100 )){
3133                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE");
3134                 if (flags & (~( 0x00000100 )))
3135                         proto_item_append_text(item, ", ");
3136         }
3137         flags&=(~( 0x00000100 ));
3138
3139         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2, tvb, offset-4, 4, flags);
3140         if (flags&( 0x00000200 )){
3141                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2");
3142                 if (flags & (~( 0x00000200 )))
3143                         proto_item_append_text(item, ", ");
3144         }
3145         flags&=(~( 0x00000200 ));
3146
3147         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION, tvb, offset-4, 4, flags);
3148         if (flags&( 0x00000400 )){
3149                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION");
3150                 if (flags & (~( 0x00000400 )))
3151                         proto_item_append_text(item, ", ");
3152         }
3153         flags&=(~( 0x00000400 ));
3154
3155         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2, tvb, offset-4, 4, flags);
3156         if (flags&( 0x00000800 )){
3157                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2");
3158                 if (flags & (~( 0x00000800 )))
3159                         proto_item_append_text(item, ", ");
3160         }
3161         flags&=(~( 0x00000800 ));
3162
3163         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD, tvb, offset-4, 4, flags);
3164         if (flags&( 0x00001000 )){
3165                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD");
3166                 if (flags & (~( 0x00001000 )))
3167                         proto_item_append_text(item, ", ");
3168         }
3169         flags&=(~( 0x00001000 ));
3170
3171         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND, tvb, offset-4, 4, flags);
3172         if (flags&( 0x00002000 )){
3173                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND");
3174                 if (flags & (~( 0x00002000 )))
3175                         proto_item_append_text(item, ", ");
3176         }
3177         flags&=(~( 0x00002000 ));
3178
3179         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO, tvb, offset-4, 4, flags);
3180         if (flags&( 0x00004000 )){
3181                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO");
3182                 if (flags & (~( 0x00004000 )))
3183                         proto_item_append_text(item, ", ");
3184         }
3185         flags&=(~( 0x00004000 ));
3186
3187         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION, tvb, offset-4, 4, flags);
3188         if (flags&( 0x00008000 )){
3189                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION");
3190                 if (flags & (~( 0x00008000 )))
3191                         proto_item_append_text(item, ", ");
3192         }
3193         flags&=(~( 0x00008000 ));
3194
3195         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01, tvb, offset-4, 4, flags);
3196         if (flags&( 0x00010000 )){
3197                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01");
3198                 if (flags & (~( 0x00010000 )))
3199                         proto_item_append_text(item, ", ");
3200         }
3201         flags&=(~( 0x00010000 ));
3202
3203         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP, tvb, offset-4, 4, flags);
3204         if (flags&( 0x00020000 )){
3205                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP");
3206                 if (flags & (~( 0x00020000 )))
3207                         proto_item_append_text(item, ", ");
3208         }
3209         flags&=(~( 0x00020000 ));
3210
3211         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY, tvb, offset-4, 4, flags);
3212         if (flags&( 0x00040000 )){
3213                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY");
3214                 if (flags & (~( 0x00040000 )))
3215                         proto_item_append_text(item, ", ");
3216         }
3217         flags&=(~( 0x00040000 ));
3218
3219         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3, tvb, offset-4, 4, flags);
3220         if (flags&( 0x00080000 )){
3221                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3");
3222                 if (flags & (~( 0x00080000 )))
3223                         proto_item_append_text(item, ", ");
3224         }
3225         flags&=(~( 0x00080000 ));
3226
3227         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5, tvb, offset-4, 4, flags);
3228         if (flags&( 0x00100000 )){
3229                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5");
3230                 if (flags & (~( 0x00100000 )))
3231                         proto_item_append_text(item, ", ");
3232         }
3233         flags&=(~( 0x00100000 ));
3234
3235         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2, tvb, offset-4, 4, flags);
3236         if (flags&( 0x00200000 )){
3237                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2");
3238                 if (flags & (~( 0x00200000 )))
3239                         proto_item_append_text(item, ", ");
3240         }
3241         flags&=(~( 0x00200000 ));
3242
3243         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6, tvb, offset-4, 4, flags);
3244         if (flags&( 0x00400000 )){
3245                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6");
3246                 if (flags & (~( 0x00400000 )))
3247                         proto_item_append_text(item, ", ");
3248         }
3249         flags&=(~( 0x00400000 ));
3250
3251         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS, tvb, offset-4, 4, flags);
3252         if (flags&( 0x00800000 )){
3253                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS");
3254                 if (flags & (~( 0x00800000 )))
3255                         proto_item_append_text(item, ", ");
3256         }
3257         flags&=(~( 0x00800000 ));
3258
3259         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8, tvb, offset-4, 4, flags);
3260         if (flags&( 0x01000000 )){
3261                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8");
3262                 if (flags & (~( 0x01000000 )))
3263                         proto_item_append_text(item, ", ");
3264         }
3265         flags&=(~( 0x01000000 ));
3266
3267         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5, tvb, offset-4, 4, flags);
3268         if (flags&( 0x02000000 )){
3269                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5");
3270                 if (flags & (~( 0x02000000 )))
3271                         proto_item_append_text(item, ", ");
3272         }
3273         flags&=(~( 0x02000000 ));
3274
3275         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6, tvb, offset-4, 4, flags);
3276         if (flags&( 0x04000000 )){
3277                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6");
3278                 if (flags & (~( 0x04000000 )))
3279                         proto_item_append_text(item, ", ");
3280         }
3281         flags&=(~( 0x04000000 ));
3282
3283         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3, tvb, offset-4, 4, flags);
3284         if (flags&( 0x08000000 )){
3285                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3");
3286                 if (flags & (~( 0x08000000 )))
3287                         proto_item_append_text(item, ", ");
3288         }
3289         flags&=(~( 0x08000000 ));
3290
3291         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7, tvb, offset-4, 4, flags);
3292         if (flags&( 0x08000000 )){
3293                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7");
3294                 if (flags & (~( 0x08000000 )))
3295                         proto_item_append_text(item, ", ");
3296         }
3297         flags&=(~( 0x08000000 ));
3298
3299         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT, tvb, offset-4, 4, flags);
3300         if (flags&( 0x08000000 )){
3301                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT");
3302                 if (flags & (~( 0x08000000 )))
3303                         proto_item_append_text(item, ", ");
3304         }
3305         flags&=(~( 0x08000000 ));
3306
3307         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS, tvb, offset-4, 4, flags);
3308         if (flags&( 0x10000000 )){
3309                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS");
3310                 if (flags & (~( 0x10000000 )))
3311                         proto_item_append_text(item, ", ");
3312         }
3313         flags&=(~( 0x10000000 ));
3314
3315         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10, tvb, offset-4, 4, flags);
3316         if (flags&( 0x20000000 )){
3317                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10");
3318                 if (flags & (~( 0x20000000 )))
3319                         proto_item_append_text(item, ", ");
3320         }
3321         flags&=(~( 0x20000000 ));
3322
3323         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2, tvb, offset-4, 4, flags);
3324         if (flags&( 0x40000000 )){
3325                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2");
3326                 if (flags & (~( 0x40000000 )))
3327                         proto_item_append_text(item, ", ");
3328         }
3329         flags&=(~( 0x40000000 ));
3330
3331         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3, tvb, offset-4, 4, flags);
3332         if (flags&( 0x80000000 )){
3333                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3");
3334                 if (flags & (~( 0x80000000 )))
3335                         proto_item_append_text(item, ", ");
3336         }
3337         flags&=(~( 0x80000000 ));
3338
3339         if (flags) {
3340                 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
3341         }
3342
3343         return offset;
3344 }
3345
3346
3347 /* IDL: bitmap { */
3348 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_ADAM =  0x00000001 , */
3349 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2 =  0x00000002 , */
3350 /* IDL:         DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN =  0x00000004 , */
3351 /* IDL: } */
3352
3353 int
3354 drsuapi_dissect_bitmap_SupportedExtensionsExt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3355 {
3356         proto_item *item = NULL;
3357         proto_tree *tree = NULL;
3358
3359         guint32 flags;
3360         ALIGN_TO_4_BYTES;
3361
3362         if (parent_tree) {
3363                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, DREP_ENC_INTEGER(drep));
3364                 tree = proto_item_add_subtree(item,ett_drsuapi_drsuapi_SupportedExtensionsExt);
3365         }
3366
3367         offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
3368         proto_item_append_text(item, ": ");
3369
3370         if (!flags)
3371                 proto_item_append_text(item, "(No values set)");
3372
3373         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_ADAM, tvb, offset-4, 4, flags);
3374         if (flags&( 0x00000001 )){
3375                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_ADAM");
3376                 if (flags & (~( 0x00000001 )))
3377                         proto_item_append_text(item, ", ");
3378         }
3379         flags&=(~( 0x00000001 ));
3380
3381         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2, tvb, offset-4, 4, flags);
3382         if (flags&( 0x00000002 )){
3383                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2");
3384                 if (flags & (~( 0x00000002 )))
3385                         proto_item_append_text(item, ", ");
3386         }
3387         flags&=(~( 0x00000002 ));
3388
3389         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN, tvb, offset-4, 4, flags);
3390         if (flags&( 0x00000004 )){
3391                 proto_item_append_text(item, "DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN");
3392                 if (flags & (~( 0x00000004 )))
3393                         proto_item_append_text(item, ", ");
3394         }
3395         flags&=(~( 0x00000004 ));
3396
3397         if (flags) {
3398                 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
3399         }
3400
3401         return offset;
3402 }
3403
3404
3405 /* IDL: struct { */
3406 /* IDL:         drsuapi_SupportedExtensions supported_extensions; */
3407 /* IDL:         GUID site_guid; */
3408 /* IDL:         uint32 pid; */
3409 /* IDL: } */
3410
3411 static int
3412 drsuapi_dissect_element_DsBindInfo24_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3413 {
3414         offset = drsuapi_dissect_bitmap_SupportedExtensions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo24_supported_extensions, 0);
3415
3416         return offset;
3417 }
3418
3419 static int
3420 drsuapi_dissect_element_DsBindInfo24_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3421 {
3422         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo24_site_guid, NULL);
3423
3424         return offset;
3425 }
3426
3427 static int
3428 drsuapi_dissect_element_DsBindInfo24_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3429 {
3430         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo24_pid, 0);
3431
3432         return offset;
3433 }
3434
3435 int
3436 drsuapi_dissect_struct_DsBindInfo24(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3437 {
3438         proto_item *item = NULL;
3439         proto_tree *tree = NULL;
3440         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
3441         int old_offset;
3442
3443         ALIGN_TO_4_BYTES;
3444
3445         old_offset = offset;
3446
3447         if (parent_tree) {
3448                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3449                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsBindInfo24);
3450         }
3451         
3452         offset = drsuapi_dissect_element_DsBindInfo24_supported_extensions(tvb, offset, pinfo, tree, drep);
3453
3454         offset = drsuapi_dissect_element_DsBindInfo24_site_guid(tvb, offset, pinfo, tree, drep);
3455
3456         offset = drsuapi_dissect_element_DsBindInfo24_pid(tvb, offset, pinfo, tree, drep);
3457
3458
3459         proto_item_set_len(item, offset-old_offset);
3460
3461
3462         if (di->call_data->flags & DCERPC_IS_NDR64) {
3463                 ALIGN_TO_4_BYTES;
3464         }
3465
3466         return offset;
3467 }
3468
3469
3470 /* IDL: struct { */
3471 /* IDL:         drsuapi_SupportedExtensions supported_extensions; */
3472 /* IDL:         GUID site_guid; */
3473 /* IDL:         uint32 pid; */
3474 /* IDL:         uint32 repl_epoch; */
3475 /* IDL: } */
3476
3477 static int
3478 drsuapi_dissect_element_DsBindInfo28_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3479 {
3480         offset = drsuapi_dissect_bitmap_SupportedExtensions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo28_supported_extensions, 0);
3481
3482         return offset;
3483 }
3484
3485 static int
3486 drsuapi_dissect_element_DsBindInfo28_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3487 {
3488         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo28_site_guid, NULL);
3489
3490         return offset;
3491 }
3492
3493 static int
3494 drsuapi_dissect_element_DsBindInfo28_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3495 {
3496         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo28_pid, 0);
3497
3498         return offset;
3499 }
3500
3501 static int
3502 drsuapi_dissect_element_DsBindInfo28_repl_epoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3503 {
3504         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo28_repl_epoch, 0);
3505
3506         return offset;
3507 }
3508
3509 int
3510 drsuapi_dissect_struct_DsBindInfo28(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3511 {
3512         proto_item *item = NULL;
3513         proto_tree *tree = NULL;
3514         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
3515         int old_offset;
3516
3517         ALIGN_TO_4_BYTES;
3518
3519         old_offset = offset;
3520
3521         if (parent_tree) {
3522                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3523                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsBindInfo28);
3524         }
3525         
3526         offset = drsuapi_dissect_element_DsBindInfo28_supported_extensions(tvb, offset, pinfo, tree, drep);
3527
3528         offset = drsuapi_dissect_element_DsBindInfo28_site_guid(tvb, offset, pinfo, tree, drep);
3529
3530         offset = drsuapi_dissect_element_DsBindInfo28_pid(tvb, offset, pinfo, tree, drep);
3531
3532         offset = drsuapi_dissect_element_DsBindInfo28_repl_epoch(tvb, offset, pinfo, tree, drep);
3533
3534
3535         proto_item_set_len(item, offset-old_offset);
3536
3537
3538         if (di->call_data->flags & DCERPC_IS_NDR64) {
3539                 ALIGN_TO_4_BYTES;
3540         }
3541
3542         return offset;
3543 }
3544
3545
3546 /* IDL: struct { */
3547 /* IDL:         drsuapi_SupportedExtensions supported_extensions; */
3548 /* IDL:         GUID site_guid; */
3549 /* IDL:         uint32 pid; */
3550 /* IDL:         uint32 repl_epoch; */
3551 /* IDL:         drsuapi_SupportedExtensionsExt supported_extensions_ext; */
3552 /* IDL:         GUID config_dn_guid; */
3553 /* IDL: } */
3554
3555 static int
3556 drsuapi_dissect_element_DsBindInfo48_supported_extensions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3557 {
3558         offset = drsuapi_dissect_bitmap_SupportedExtensions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo48_supported_extensions, 0);
3559
3560         return offset;
3561 }
3562
3563 static int
3564 drsuapi_dissect_element_DsBindInfo48_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3565 {
3566         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo48_site_guid, NULL);
3567
3568         return offset;
3569 }
3570
3571 static int
3572 drsuapi_dissect_element_DsBindInfo48_pid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3573 {
3574         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo48_pid, 0);
3575
3576         return offset;
3577 }
3578
3579 static int
3580 drsuapi_dissect_element_DsBindInfo48_repl_epoch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3581 {
3582         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo48_repl_epoch, 0);
3583
3584         return offset;
3585 }
3586
3587 static int
3588 drsuapi_dissect_element_DsBindInfo48_supported_extensions_ext(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3589 {
3590         offset = drsuapi_dissect_bitmap_SupportedExtensionsExt(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo48_supported_extensions_ext, 0);
3591
3592         return offset;
3593 }
3594
3595 static int
3596 drsuapi_dissect_element_DsBindInfo48_config_dn_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3597 {
3598         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo48_config_dn_guid, NULL);
3599
3600         return offset;
3601 }
3602
3603 int
3604 drsuapi_dissect_struct_DsBindInfo48(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3605 {
3606         proto_item *item = NULL;
3607         proto_tree *tree = NULL;
3608         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
3609         int old_offset;
3610
3611         ALIGN_TO_4_BYTES;
3612
3613         old_offset = offset;
3614
3615         if (parent_tree) {
3616                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3617                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsBindInfo48);
3618         }
3619         
3620         offset = drsuapi_dissect_element_DsBindInfo48_supported_extensions(tvb, offset, pinfo, tree, drep);
3621
3622         offset = drsuapi_dissect_element_DsBindInfo48_site_guid(tvb, offset, pinfo, tree, drep);
3623
3624         offset = drsuapi_dissect_element_DsBindInfo48_pid(tvb, offset, pinfo, tree, drep);
3625
3626         offset = drsuapi_dissect_element_DsBindInfo48_repl_epoch(tvb, offset, pinfo, tree, drep);
3627
3628         offset = drsuapi_dissect_element_DsBindInfo48_supported_extensions_ext(tvb, offset, pinfo, tree, drep);
3629
3630         offset = drsuapi_dissect_element_DsBindInfo48_config_dn_guid(tvb, offset, pinfo, tree, drep);
3631
3632
3633         proto_item_set_len(item, offset-old_offset);
3634
3635
3636         if (di->call_data->flags & DCERPC_IS_NDR64) {
3637                 ALIGN_TO_4_BYTES;
3638         }
3639
3640         return offset;
3641 }
3642
3643
3644 /* IDL: struct { */
3645 /* IDL:         [flag(LIBNDR_FLAG_REMAINING)] DATA_BLOB info; */
3646 /* IDL: } */
3647
3648 static int
3649 drsuapi_dissect_element_DsBindInfoFallBack_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3650 {
3651         offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfoFallBack_info, 1);
3652
3653         return offset;
3654 }
3655
3656 int
3657 drsuapi_dissect_struct_DsBindInfoFallBack(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3658 {
3659         proto_item *item = NULL;
3660         proto_tree *tree = NULL;
3661         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
3662         int old_offset;
3663
3664         ALIGN_TO_4_BYTES;
3665
3666         old_offset = offset;
3667
3668         if (parent_tree) {
3669                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3670                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsBindInfoFallBack);
3671         }
3672         
3673         offset = drsuapi_dissect_element_DsBindInfoFallBack_info(tvb, offset, pinfo, tree, drep);
3674
3675
3676         proto_item_set_len(item, offset-old_offset);
3677
3678
3679         if (di->call_data->flags & DCERPC_IS_NDR64) {
3680                 ALIGN_TO_4_BYTES;
3681         }
3682
3683         return offset;
3684 }
3685
3686
3687 /* IDL: [noprint(1)] [nodiscriminant(1)] [nopull(1)] [nopush(1)] union { */
3688 /* IDL: [case(24)] [subcontext_size(24)] [subcontext(0)] [case(24)] drsuapi_DsBindInfo24 info24; */
3689 /* IDL: [case(28)] [subcontext_size(28)] [subcontext(0)] [case(28)] drsuapi_DsBindInfo28 info28; */
3690 /* IDL: [case(48)] [subcontext_size(48)] [subcontext(0)] [case(48)] drsuapi_DsBindInfo48 info48; */
3691 /* IDL: [default] ; */
3692 /* IDL: } */
3693
3694 static int
3695 drsuapi_dissect_element_DsBindInfo_info24(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3696 {
3697         dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
3698         guint0 size;
3699         int conformant = di->conformant_run;
3700         tvbuff_t *subtvb;
3701
3702         if (!conformant) {
3703                 guint32 saved_flags = di->call_data->flags;
3704                 offset = dissect_ndr_uint0(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo_info24_, &size);
3705                 di->call_data->flags &= ~DCERPC_IS_NDR64;
3706                 subtvb = tvb_new_subset(tvb, offset, size, -1);
3707                 drsuapi_dissect_element_DsBindInfo_info24_(subtvb, 0, pinfo, tree, drep);
3708                 offset += size;
3709                 di->call_data->flags = saved_flags;
3710         }
3711
3712         return offset;
3713 }
3714
3715 static int
3716 drsuapi_dissect_element_DsBindInfo_info24_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3717 {
3718         offset = drsuapi_dissect_struct_DsBindInfo24(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsBindInfo_info24,0);
3719
3720         return offset;
3721 }
3722
3723 static int
3724 drsuapi_dissect_element_DsBindInfo_info28(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3725 {
3726         dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
3727         guint0 size;
3728         int conformant = di->conformant_run;
3729         tvbuff_t *subtvb;
3730
3731         if (!conformant) {
3732                 guint32 saved_flags = di->call_data->flags;
3733                 offset = dissect_ndr_uint0(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo_info28_, &size);
3734                 di->call_data->flags &= ~DCERPC_IS_NDR64;
3735                 subtvb = tvb_new_subset(tvb, offset, size, -1);
3736                 drsuapi_dissect_element_DsBindInfo_info28_(subtvb, 0, pinfo, tree, drep);
3737                 offset += size;
3738                 di->call_data->flags = saved_flags;
3739         }
3740
3741         return offset;
3742 }
3743
3744 static int
3745 drsuapi_dissect_element_DsBindInfo_info28_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3746 {
3747         offset = drsuapi_dissect_struct_DsBindInfo28(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsBindInfo_info28,0);
3748
3749         return offset;
3750 }
3751
3752 static int
3753 drsuapi_dissect_element_DsBindInfo_info48(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3754 {
3755         dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
3756         guint0 size;
3757         int conformant = di->conformant_run;
3758         tvbuff_t *subtvb;
3759
3760         if (!conformant) {
3761                 guint32 saved_flags = di->call_data->flags;
3762                 offset = dissect_ndr_uint0(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo_info48_, &size);
3763                 di->call_data->flags &= ~DCERPC_IS_NDR64;
3764                 subtvb = tvb_new_subset(tvb, offset, size, -1);
3765                 drsuapi_dissect_element_DsBindInfo_info48_(subtvb, 0, pinfo, tree, drep);
3766                 offset += size;
3767                 di->call_data->flags = saved_flags;
3768         }
3769
3770         return offset;
3771 }
3772
3773 static int
3774 drsuapi_dissect_element_DsBindInfo_info48_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3775 {
3776         offset = drsuapi_dissect_struct_DsBindInfo48(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsBindInfo_info48,0);
3777
3778         return offset;
3779 }
3780
3781 static int
3782 drsuapi_dissect_element_DsBindInfo_Fallback(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3783 {
3784         dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
3785         guint0 size;
3786         int conformant = di->conformant_run;
3787         tvbuff_t *subtvb;
3788
3789         if (!conformant) {
3790                 guint32 saved_flags = di->call_data->flags;
3791                 offset = dissect_ndr_uint0(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfo_Fallback_, &size);
3792                 di->call_data->flags &= ~DCERPC_IS_NDR64;
3793                 subtvb = tvb_new_subset(tvb, offset, size, -1);
3794                 drsuapi_dissect_element_DsBindInfo_Fallback_(subtvb, 0, pinfo, tree, drep);
3795                 offset += size;
3796                 di->call_data->flags = saved_flags;
3797         }
3798
3799         return offset;
3800 }
3801
3802 static int
3803 drsuapi_dissect_element_DsBindInfo_Fallback_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3804 {
3805         offset = drsuapi_dissect_struct_DsBindInfoFallBack(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsBindInfo_Fallback,0);
3806
3807         return offset;
3808 }
3809
3810 static int
3811 drsuapi_dissect_DsBindInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3812 {
3813         proto_item *item = NULL;
3814         proto_tree *tree = NULL;
3815         int old_offset;
3816         guint32 level = param;
3817
3818         old_offset = offset;
3819         if (parent_tree) {
3820                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsBindInfo");
3821                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsBindInfo);
3822         }
3823
3824         switch(level) {
3825                 case 24:
3826                         offset = drsuapi_dissect_element_DsBindInfo_info24(tvb, offset, pinfo, tree, drep);
3827                 break;
3828
3829                 case 28:
3830                         offset = drsuapi_dissect_element_DsBindInfo_info28(tvb, offset, pinfo, tree, drep);
3831                 break;
3832
3833                 case 48:
3834                         offset = drsuapi_dissect_element_DsBindInfo_info48(tvb, offset, pinfo, tree, drep);
3835                 break;
3836
3837                 default:
3838                         offset = drsuapi_dissect_element_DsBindInfo_Fallback(tvb, offset, pinfo, tree, drep);
3839                 break;
3840         }
3841         proto_item_set_len(item, offset-old_offset);
3842
3843
3844         return offset;
3845 }
3846
3847 /* IDL: struct { */
3848 /* IDL:         [range(1,10000)] uint3264 length; */
3849 /* IDL:         [value(length)] uint32 __ndr_length; */
3850 /* IDL:         [switch_is(length)] drsuapi_DsBindInfo info; */
3851 /* IDL: } */
3852
3853 static int
3854 drsuapi_dissect_element_DsBindInfoCtr_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *length)
3855 {
3856         offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfoCtr_length, NULL);
3857
3858         return offset;
3859 }
3860
3861 static int
3862 drsuapi_dissect_element_DsBindInfoCtr___ndr_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3863 {
3864         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfoCtr___ndr_length, 0);
3865
3866         return offset;
3867 }
3868
3869 static int
3870 drsuapi_dissect_element_DsBindInfoCtr_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *length)
3871 {
3872         offset = drsuapi_dissect_DsBindInfo(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBindInfoCtr_info, *length);
3873
3874         return offset;
3875 }
3876
3877 int
3878 drsuapi_dissect_struct_DsBindInfoCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3879 {
3880         g length;
3881         proto_item *item = NULL;
3882         proto_tree *tree = NULL;
3883         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
3884         int old_offset;
3885
3886
3887         old_offset = offset;
3888
3889         if (parent_tree) {
3890                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3891                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsBindInfoCtr);
3892         }
3893         
3894         offset = drsuapi_dissect_element_DsBindInfoCtr_length(tvb, offset, pinfo, tree, drep, &length);
3895
3896         offset = drsuapi_dissect_element_DsBindInfoCtr___ndr_length(tvb, offset, pinfo, tree, drep);
3897
3898         offset = drsuapi_dissect_element_DsBindInfoCtr_info(tvb, offset, pinfo, tree, drep, &length);
3899
3900
3901         proto_item_set_len(item, offset-old_offset);
3902
3903
3904         if (di->call_data->flags & DCERPC_IS_NDR64) {
3905                 ALIGN_TO_5_BYTES;
3906         }
3907
3908         return offset;
3909 }
3910
3911
3912 /* IDL: struct { */
3913 /* IDL:         [value(ndr_size_drsuapi_DsReplicaObjectIdentifier(r,ndr->flags)-4)] uint32 __ndr_size; */
3914 /* IDL:         [value(ndr_size_dom_sid28(&sid,ndr->flags))] uint32 __ndr_size_sid; */
3915 /* IDL:         GUID guid; */
3916 /* IDL:         dom_sid28 sid; */
3917 /* IDL:         [value(strlen_m(dn))] uint32 __ndr_size_dn; */
3918 /* IDL:         [charset(UTF16)] [size_is(__ndr_size_dn+1)] uint16 dn[*]; */
3919 /* IDL: } */
3920
3921 static int
3922 drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3923 {
3924         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size, 0);
3925
3926         return offset;
3927 }
3928
3929 static int
3930 drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3931 {
3932         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size_sid, 0);
3933
3934         return offset;
3935 }
3936
3937 static int
3938 drsuapi_dissect_element_DsReplicaObjectIdentifier_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3939 {
3940         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_guid, NULL);
3941
3942         return offset;
3943 }
3944
3945 static int
3946 drsuapi_dissect_element_DsReplicaObjectIdentifier_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3947 {
3948         offset = drsuapi_dissect_struct_dom_sid28(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_sid,0);
3949
3950         return offset;
3951 }
3952
3953 static int
3954 drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3955 {
3956         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size_dn, 0);
3957
3958         return offset;
3959 }
3960
3961 static int
3962 drsuapi_dissect_element_DsReplicaObjectIdentifier_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3963 {
3964         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaObjectIdentifier_dn_);
3965
3966         return offset;
3967 }
3968
3969 static int
3970 drsuapi_dissect_element_DsReplicaObjectIdentifier_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3971 {
3972         offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_dn, 0);
3973
3974         return offset;
3975 }
3976
3977 int
3978 drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3979 {
3980         proto_item *item = NULL;
3981         proto_tree *tree = NULL;
3982         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
3983         int old_offset;
3984
3985         ALIGN_TO_4_BYTES;
3986
3987         old_offset = offset;
3988
3989         if (parent_tree) {
3990                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3991                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjectIdentifier);
3992         }
3993         
3994         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size(tvb, offset, pinfo, tree, drep);
3995
3996         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size_sid(tvb, offset, pinfo, tree, drep);
3997
3998         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier_guid(tvb, offset, pinfo, tree, drep);
3999
4000         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier_sid(tvb, offset, pinfo, tree, drep);
4001
4002         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier___ndr_size_dn(tvb, offset, pinfo, tree, drep);
4003
4004         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier_dn(tvb, offset, pinfo, tree, drep);
4005
4006
4007         proto_item_set_len(item, offset-old_offset);
4008
4009
4010         if (di->call_data->flags & DCERPC_IS_NDR64) {
4011                 ALIGN_TO_4_BYTES;
4012         }
4013
4014         return offset;
4015 }
4016
4017
4018 /* IDL: struct { */
4019 /* IDL:         [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
4020 /* IDL:         GUID source_dsa_guid; */
4021 /* IDL:         [unique(1)] [charset(DOS)] uint8 *source_dsa_dns; */
4022 /* IDL:         drsuapi_DrsOptions options; */
4023 /* IDL: } */
4024
4025 static int
4026 drsuapi_dissect_element_DsReplicaSyncRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4027 {
4028         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaSyncRequest1_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaSyncRequest1_naming_context);
4029
4030         return offset;
4031 }
4032
4033 static int
4034 drsuapi_dissect_element_DsReplicaSyncRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4035 {
4036         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaSyncRequest1_naming_context,0);
4037
4038         return offset;
4039 }
4040
4041 static int
4042 drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4043 {
4044         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaSyncRequest1_source_dsa_guid, NULL);
4045
4046         return offset;
4047 }
4048
4049 static int
4050 drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_dns(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4051 {
4052         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_dns_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Dns (uint8)",hf_drsuapi_drsuapi_DsReplicaSyncRequest1_source_dsa_dns);
4053
4054         return offset;
4055 }
4056
4057 static int
4058 drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_dns_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4059 {
4060         char *data;
4061
4062         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint8), hf_drsuapi_drsuapi_DsReplicaSyncRequest1_source_dsa_dns, FALSE, &data);
4063         proto_item_append_text(tree, ": %s", data);
4064
4065         return offset;
4066 }
4067
4068 static int
4069 drsuapi_dissect_element_DsReplicaSyncRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4070 {
4071         offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaSyncRequest1_options, 0);
4072
4073         return offset;
4074 }
4075
4076 int
4077 drsuapi_dissect_struct_DsReplicaSyncRequest1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4078 {
4079         proto_item *item = NULL;
4080         proto_tree *tree = NULL;
4081         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4082         int old_offset;
4083
4084         ALIGN_TO_5_BYTES;
4085
4086         old_offset = offset;
4087
4088         if (parent_tree) {
4089                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4090                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaSyncRequest1);
4091         }
4092         
4093         offset = drsuapi_dissect_element_DsReplicaSyncRequest1_naming_context(tvb, offset, pinfo, tree, drep);
4094
4095         offset = drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_guid(tvb, offset, pinfo, tree, drep);
4096
4097         offset = drsuapi_dissect_element_DsReplicaSyncRequest1_source_dsa_dns(tvb, offset, pinfo, tree, drep);
4098
4099         offset = drsuapi_dissect_element_DsReplicaSyncRequest1_options(tvb, offset, pinfo, tree, drep);
4100
4101
4102         proto_item_set_len(item, offset-old_offset);
4103
4104
4105         if (di->call_data->flags & DCERPC_IS_NDR64) {
4106                 ALIGN_TO_5_BYTES;
4107         }
4108
4109         return offset;
4110 }
4111
4112
4113 /* IDL: [switch_type(uint32)] union { */
4114 /* IDL: [case(1)] [case(1)] drsuapi_DsReplicaSyncRequest1 req1; */
4115 /* IDL: } */
4116
4117 static int
4118 drsuapi_dissect_element_DsReplicaSyncRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4119 {
4120         offset = drsuapi_dissect_struct_DsReplicaSyncRequest1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaSyncRequest_req1,0);
4121
4122         return offset;
4123 }
4124
4125 static int
4126 drsuapi_dissect_DsReplicaSyncRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4127 {
4128         proto_item *item = NULL;
4129         proto_tree *tree = NULL;
4130         int old_offset;
4131         guint32 level;
4132
4133         old_offset = offset;
4134         if (parent_tree) {
4135                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsReplicaSyncRequest");
4136                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaSyncRequest);
4137         }
4138
4139         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
4140         ALIGN_TO_5_BYTES;
4141
4142         switch(level) {
4143                 case 1:
4144                         offset = drsuapi_dissect_element_DsReplicaSyncRequest_req1(tvb, offset, pinfo, tree, drep);
4145                 break;
4146         }
4147         proto_item_set_len(item, offset-old_offset);
4148
4149
4150         return offset;
4151 }
4152
4153 /* IDL: struct { */
4154 /* IDL:         hyper tmp_highest_usn; */
4155 /* IDL:         hyper reserved_usn; */
4156 /* IDL:         hyper highest_usn; */
4157 /* IDL: } */
4158
4159 static int
4160 drsuapi_dissect_element_DsReplicaHighWaterMark_tmp_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4161 {
4162         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaHighWaterMark_tmp_highest_usn, NULL);
4163
4164         return offset;
4165 }
4166
4167 static int
4168 drsuapi_dissect_element_DsReplicaHighWaterMark_reserved_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4169 {
4170         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaHighWaterMark_reserved_usn, NULL);
4171
4172         return offset;
4173 }
4174
4175 static int
4176 drsuapi_dissect_element_DsReplicaHighWaterMark_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4177 {
4178         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaHighWaterMark_highest_usn, NULL);
4179
4180         return offset;
4181 }
4182
4183 int
4184 drsuapi_dissect_struct_DsReplicaHighWaterMark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4185 {
4186         proto_item *item = NULL;
4187         proto_tree *tree = NULL;
4188         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4189         int old_offset;
4190
4191         ALIGN_TO_8_BYTES;
4192
4193         old_offset = offset;
4194
4195         if (parent_tree) {
4196                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4197                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaHighWaterMark);
4198         }
4199         
4200         offset = drsuapi_dissect_element_DsReplicaHighWaterMark_tmp_highest_usn(tvb, offset, pinfo, tree, drep);
4201
4202         offset = drsuapi_dissect_element_DsReplicaHighWaterMark_reserved_usn(tvb, offset, pinfo, tree, drep);
4203
4204         offset = drsuapi_dissect_element_DsReplicaHighWaterMark_highest_usn(tvb, offset, pinfo, tree, drep);
4205
4206
4207         proto_item_set_len(item, offset-old_offset);
4208
4209
4210         if (di->call_data->flags & DCERPC_IS_NDR64) {
4211                 ALIGN_TO_8_BYTES;
4212         }
4213
4214         return offset;
4215 }
4216
4217
4218 /* IDL: struct { */
4219 /* IDL:         GUID source_dsa_invocation_id; */
4220 /* IDL:         hyper highest_usn; */
4221 /* IDL: } */
4222
4223 static int
4224 drsuapi_dissect_element_DsReplicaCursor_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4225 {
4226         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor_source_dsa_invocation_id, NULL);
4227
4228         return offset;
4229 }
4230
4231 static int
4232 drsuapi_dissect_element_DsReplicaCursor_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4233 {
4234         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor_highest_usn, NULL);
4235
4236         return offset;
4237 }
4238
4239 int
4240 drsuapi_dissect_struct_DsReplicaCursor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4241 {
4242         proto_item *item = NULL;
4243         proto_tree *tree = NULL;
4244         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4245         int old_offset;
4246
4247         ALIGN_TO_8_BYTES;
4248
4249         old_offset = offset;
4250
4251         if (parent_tree) {
4252                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4253                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursor);
4254         }
4255         
4256         offset = drsuapi_dissect_element_DsReplicaCursor_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
4257
4258         offset = drsuapi_dissect_element_DsReplicaCursor_highest_usn(tvb, offset, pinfo, tree, drep);
4259
4260
4261         proto_item_set_len(item, offset-old_offset);
4262
4263
4264         if (di->call_data->flags & DCERPC_IS_NDR64) {
4265                 ALIGN_TO_8_BYTES;
4266         }
4267
4268         return offset;
4269 }
4270
4271
4272 /* IDL: struct { */
4273 /* IDL:         [value(1)] uint32 version; */
4274 /* IDL:         [value(0)] uint32 reserved1; */
4275 /* IDL:         [range(0,0x100000)] uint32 count; */
4276 /* IDL:         [value(0)] uint32 reserved2; */
4277 /* IDL:         [size_is(count)] drsuapi_DsReplicaCursor cursors[*]; */
4278 /* IDL: } */
4279
4280 static int
4281 drsuapi_dissect_element_DsReplicaCursorCtrEx_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4282 {
4283         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_version, 0);
4284
4285         return offset;
4286 }
4287
4288 static int
4289 drsuapi_dissect_element_DsReplicaCursorCtrEx_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4290 {
4291         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_reserved1, 0);
4292
4293         return offset;
4294 }
4295
4296 static int
4297 drsuapi_dissect_element_DsReplicaCursorCtrEx_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4298 {
4299         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_count, 0);
4300
4301         return offset;
4302 }
4303
4304 static int
4305 drsuapi_dissect_element_DsReplicaCursorCtrEx_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4306 {
4307         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_reserved2, 0);
4308
4309         return offset;
4310 }
4311
4312 static int
4313 drsuapi_dissect_element_DsReplicaCursorCtrEx_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4314 {
4315         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaCursorCtrEx_cursors_);
4316
4317         return offset;
4318 }
4319
4320 static int
4321 drsuapi_dissect_element_DsReplicaCursorCtrEx_cursors_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4322 {
4323         offset = drsuapi_dissect_struct_DsReplicaCursor(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_cursors,0);
4324
4325         return offset;
4326 }
4327
4328 int
4329 drsuapi_dissect_struct_DsReplicaCursorCtrEx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4330 {
4331         proto_item *item = NULL;
4332         proto_tree *tree = NULL;
4333         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4334         int old_offset;
4335
4336         ALIGN_TO_8_BYTES;
4337
4338         old_offset = offset;
4339
4340         if (parent_tree) {
4341                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4342                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursorCtrEx);
4343         }
4344         
4345         offset = drsuapi_dissect_element_DsReplicaCursorCtrEx_version(tvb, offset, pinfo, tree, drep);
4346
4347         offset = drsuapi_dissect_element_DsReplicaCursorCtrEx_reserved1(tvb, offset, pinfo, tree, drep);
4348
4349         offset = drsuapi_dissect_element_DsReplicaCursorCtrEx_count(tvb, offset, pinfo, tree, drep);
4350
4351         offset = drsuapi_dissect_element_DsReplicaCursorCtrEx_reserved2(tvb, offset, pinfo, tree, drep);
4352
4353         offset = drsuapi_dissect_element_DsReplicaCursorCtrEx_cursors(tvb, offset, pinfo, tree, drep);
4354
4355
4356         proto_item_set_len(item, offset-old_offset);
4357
4358
4359         if (di->call_data->flags & DCERPC_IS_NDR64) {
4360                 ALIGN_TO_8_BYTES;
4361         }
4362
4363         return offset;
4364 }
4365
4366
4367 /* IDL: enum { */
4368 /* IDL:         DRSUAPI_EXOP_NONE=0x00000000, */
4369 /* IDL:         DRSUAPI_EXOP_FSMO_REQ_ROLE=0x00000001, */
4370 /* IDL:         DRSUAPI_EXOP_FSMO_RID_ALLOC=0x00000002, */
4371 /* IDL:         DRSUAPI_EXOP_FSMO_RID_REQ_ROLE=0x00000003, */
4372 /* IDL:         DRSUAPI_EXOP_FSMO_REQ_PDC=0x00000004, */
4373 /* IDL:         DRSUAPI_EXOP_FSMO_ABANDON_ROLE=0x00000005, */
4374 /* IDL:         DRSUAPI_EXOP_REPL_OBJ=0x00000006, */
4375 /* IDL:         DRSUAPI_EXOP_REPL_SECRET=0x00000007, */
4376 /* IDL: } */
4377
4378 int
4379 drsuapi_dissect_enum_DsExtendedOperation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
4380 {
4381         guint32 parameter=0;
4382         if(param){
4383                 parameter=(guint32)*param;
4384         }
4385         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
4386         if(param){
4387                 *param=(guint32)parameter;
4388         }
4389         return offset;
4390 }
4391
4392
4393 /* IDL: enum { */
4394 /* IDL:         DRSUAPI_EXOP_ERR_NONE=0x00000000, */
4395 /* IDL:         DRSUAPI_EXOP_ERR_SUCCESS=0x00000001, */
4396 /* IDL:         DRSUAPI_EXOP_ERR_UNKNOWN_OP=0x00000002, */
4397 /* IDL:         DRSUAPI_EXOP_ERR_FSMO_NOT_OWNER=0x00000003, */
4398 /* IDL:         DRSUAPI_EXOP_ERR_UPDATE_ERR=0x00000004, */
4399 /* IDL:         DRSUAPI_EXOP_ERR_EXCEPTION=0x00000005, */
4400 /* IDL:         DRSUAPI_EXOP_ERR_UNKNOWN_CALLER=0x00000006, */
4401 /* IDL:         DRSUAPI_EXOP_ERR_RID_ALLOC=0x00000007, */
4402 /* IDL:         DRSUAPI_EXOP_ERR_FSMO_OWNER_DELETED=0x00000008, */
4403 /* IDL:         DRSUAPI_EXOP_ERR_FMSO_PENDING_OP=0x00000009, */
4404 /* IDL:         DRSUAPI_EXOP_ERR_MISMATCH=0x0000000A, */
4405 /* IDL:         DRSUAPI_EXOP_ERR_COULDNT_CONTACT=0x0000000B, */
4406 /* IDL:         DRSUAPI_EXOP_ERR_FSMO_REFUSING_ROLES=0x0000000C, */
4407 /* IDL:         DRSUAPI_EXOP_ERR_DIR_ERROR=0x0000000D, */
4408 /* IDL:         DRSUAPI_EXOP_ERR_FSMO_MISSING_SETTINGS=0x0000000E, */
4409 /* IDL:         DRSUAPI_EXOP_ERR_ACCESS_DENIED=0x0000000F, */
4410 /* IDL:         DRSUAPI_EXOP_ERR_PARAM_ERROR=0x00000010, */
4411 /* IDL: } */
4412
4413 int
4414 drsuapi_dissect_enum_DsExtendedError(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
4415 {
4416         guint32 parameter=0;
4417         if(param){
4418                 parameter=(guint32)*param;
4419         }
4420         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
4421         if(param){
4422                 *param=(guint32)parameter;
4423         }
4424         return offset;
4425 }
4426
4427
4428 /* IDL: struct { */
4429 /* IDL:         GUID destination_dsa_guid; */
4430 /* IDL:         GUID source_dsa_invocation_id; */
4431 /* IDL:         [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
4432 /* IDL:         drsuapi_DsReplicaHighWaterMark highwatermark; */
4433 /* IDL:         [unique(1)] drsuapi_DsReplicaCursorCtrEx *uptodateness_vector; */
4434 /* IDL:         drsuapi_DrsOptions replica_flags; */
4435 /* IDL:         uint32 max_object_count; */
4436 /* IDL:         uint32 max_ndr_size; */
4437 /* IDL:         drsuapi_DsExtendedOperation extended_op; */
4438 /* IDL:         hyper fsmo_info; */
4439 /* IDL: } */
4440
4441 static int
4442 drsuapi_dissect_element_DsGetNCChangesRequest5_destination_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4443 {
4444         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest5_destination_dsa_guid, NULL);
4445
4446         return offset;
4447 }
4448
4449 static int
4450 drsuapi_dissect_element_DsGetNCChangesRequest5_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4451 {
4452         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest5_source_dsa_invocation_id, NULL);
4453
4454         return offset;
4455 }
4456
4457 static int
4458 drsuapi_dissect_element_DsGetNCChangesRequest5_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4459 {
4460         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesRequest5_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetNCChangesRequest5_naming_context);
4461
4462         return offset;
4463 }
4464
4465 static int
4466 drsuapi_dissect_element_DsGetNCChangesRequest5_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4467 {
4468         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest5_naming_context,0);
4469
4470         return offset;
4471 }
4472
4473 static int
4474 drsuapi_dissect_element_DsGetNCChangesRequest5_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4475 {
4476         offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest5_highwatermark,0);
4477
4478         return offset;
4479 }
4480
4481 static int
4482 drsuapi_dissect_element_DsGetNCChangesRequest5_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4483 {
4484         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesRequest5_uptodateness_vector_, NDR_POINTER_UNIQUE, "Pointer to Uptodateness Vector (drsuapi_DsReplicaCursorCtrEx)",hf_drsuapi_drsuapi_DsGetNCChangesRequest5_uptodateness_vector);
4485
4486         return offset;
4487 }
4488
4489 static int
4490 drsuapi_dissect_element_DsGetNCChangesRequest5_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4491 {
4492         offset = drsuapi_dissect_struct_DsReplicaCursorCtrEx(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest5_uptodateness_vector,0);
4493
4494         return offset;
4495 }
4496
4497 static int
4498 drsuapi_dissect_element_DsGetNCChangesRequest5_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4499 {
4500         offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest5_replica_flags, 0);
4501
4502         return offset;
4503 }
4504
4505 static int
4506 drsuapi_dissect_element_DsGetNCChangesRequest5_max_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4507 {
4508         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest5_max_object_count, 0);
4509
4510         return offset;
4511 }
4512
4513 static int
4514 drsuapi_dissect_element_DsGetNCChangesRequest5_max_ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4515 {
4516         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest5_max_ndr_size, 0);
4517
4518         return offset;
4519 }
4520
4521 static int
4522 drsuapi_dissect_element_DsGetNCChangesRequest5_extended_op(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4523 {
4524         offset = drsuapi_dissect_enum_DsExtendedOperation(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest5_extended_op, 0);
4525
4526         return offset;
4527 }
4528
4529 static int
4530 drsuapi_dissect_element_DsGetNCChangesRequest5_fsmo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4531 {
4532         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest5_fsmo_info, NULL);
4533
4534         return offset;
4535 }
4536
4537 int
4538 drsuapi_dissect_struct_DsGetNCChangesRequest5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4539 {
4540         proto_item *item = NULL;
4541         proto_tree *tree = NULL;
4542         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4543         int old_offset;
4544
4545         ALIGN_TO_8_BYTES;
4546
4547         old_offset = offset;
4548
4549         if (parent_tree) {
4550                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4551                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesRequest5);
4552         }
4553         
4554         offset = drsuapi_dissect_element_DsGetNCChangesRequest5_destination_dsa_guid(tvb, offset, pinfo, tree, drep);
4555
4556         offset = drsuapi_dissect_element_DsGetNCChangesRequest5_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
4557
4558         offset = drsuapi_dissect_element_DsGetNCChangesRequest5_naming_context(tvb, offset, pinfo, tree, drep);
4559
4560         offset = drsuapi_dissect_element_DsGetNCChangesRequest5_highwatermark(tvb, offset, pinfo, tree, drep);
4561
4562         offset = drsuapi_dissect_element_DsGetNCChangesRequest5_uptodateness_vector(tvb, offset, pinfo, tree, drep);
4563
4564         offset = drsuapi_dissect_element_DsGetNCChangesRequest5_replica_flags(tvb, offset, pinfo, tree, drep);
4565
4566         offset = drsuapi_dissect_element_DsGetNCChangesRequest5_max_object_count(tvb, offset, pinfo, tree, drep);
4567
4568         offset = drsuapi_dissect_element_DsGetNCChangesRequest5_max_ndr_size(tvb, offset, pinfo, tree, drep);
4569
4570         offset = drsuapi_dissect_element_DsGetNCChangesRequest5_extended_op(tvb, offset, pinfo, tree, drep);
4571
4572         offset = drsuapi_dissect_element_DsGetNCChangesRequest5_fsmo_info(tvb, offset, pinfo, tree, drep);
4573
4574
4575         proto_item_set_len(item, offset-old_offset);
4576
4577
4578         if (di->call_data->flags & DCERPC_IS_NDR64) {
4579                 ALIGN_TO_8_BYTES;
4580         }
4581
4582         return offset;
4583 }
4584
4585
4586 /* IDL: struct { */
4587 /* IDL:         [range(0,10000)] uint32 length; */
4588 /* IDL:         [unique(1)] [size_is(length)] uint8 *binary_oid; */
4589 /* IDL: } */
4590
4591 static int
4592 drsuapi_dissect_element_DsReplicaOID_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4593 {
4594         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaOID_length, 0);
4595
4596         return offset;
4597 }
4598
4599 static int
4600 drsuapi_dissect_element_DsReplicaOID_binary_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4601 {
4602         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaOID_binary_oid_, NDR_POINTER_UNIQUE, "Pointer to Binary Oid (uint8)",hf_drsuapi_drsuapi_DsReplicaOID_binary_oid);
4603
4604         return offset;
4605 }
4606
4607 static int
4608 drsuapi_dissect_element_DsReplicaOID_binary_oid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4609 {
4610         offset = dissect_ndr_ucarray_block(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaOID_binary_oid__);
4611
4612         return offset;
4613 }
4614
4615 static int
4616 drsuapi_dissect_element_DsReplicaOID_binary_oid__(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4617 {
4618         proto_tree_add_bytes(tree, hf_drsuapi_drsuapi_DsReplicaOID_binary_oid, tvb, offset, length, tvb_get_ptr(tvb, offset,length)); offset += length;
4619
4620         return offset;
4621 }
4622
4623 int
4624 drsuapi_dissect_struct_DsReplicaOID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4625 {
4626         proto_item *item = NULL;
4627         proto_tree *tree = NULL;
4628         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4629         int old_offset;
4630
4631         ALIGN_TO_5_BYTES;
4632
4633         old_offset = offset;
4634
4635         if (parent_tree) {
4636                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4637                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaOID);
4638         }
4639         
4640         offset = drsuapi_dissect_element_DsReplicaOID_length(tvb, offset, pinfo, tree, drep);
4641
4642         offset = drsuapi_dissect_element_DsReplicaOID_binary_oid(tvb, offset, pinfo, tree, drep);
4643
4644
4645         proto_item_set_len(item, offset-old_offset);
4646
4647
4648         if (di->call_data->flags & DCERPC_IS_NDR64) {
4649                 ALIGN_TO_5_BYTES;
4650         }
4651
4652         return offset;
4653 }
4654
4655
4656 /* IDL: struct { */
4657 /* IDL:         uint32 id_prefix; */
4658 /* IDL:         drsuapi_DsReplicaOID oid; */
4659 /* IDL: } */
4660
4661 static int
4662 drsuapi_dissect_element_DsReplicaOIDMapping_id_prefix(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4663 {
4664         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaOIDMapping_id_prefix, 0);
4665
4666         return offset;
4667 }
4668
4669 static int
4670 drsuapi_dissect_element_DsReplicaOIDMapping_oid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4671 {
4672         offset = drsuapi_dissect_struct_DsReplicaOID(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaOIDMapping_oid,0);
4673
4674         return offset;
4675 }
4676
4677 int
4678 drsuapi_dissect_struct_DsReplicaOIDMapping(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4679 {
4680         proto_item *item = NULL;
4681         proto_tree *tree = NULL;
4682         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4683         int old_offset;
4684
4685         ALIGN_TO_5_BYTES;
4686
4687         old_offset = offset;
4688
4689         if (parent_tree) {
4690                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4691                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaOIDMapping);
4692         }
4693         
4694         offset = drsuapi_dissect_element_DsReplicaOIDMapping_id_prefix(tvb, offset, pinfo, tree, drep);
4695
4696         offset = drsuapi_dissect_element_DsReplicaOIDMapping_oid(tvb, offset, pinfo, tree, drep);
4697
4698
4699         proto_item_set_len(item, offset-old_offset);
4700
4701
4702         if (di->call_data->flags & DCERPC_IS_NDR64) {
4703                 ALIGN_TO_5_BYTES;
4704         }
4705
4706         return offset;
4707 }
4708
4709
4710 /* IDL: struct { */
4711 /* IDL:         [range(0,0x100000)] uint32 num_mappings; */
4712 /* IDL:         [unique(1)] [size_is(num_mappings)] drsuapi_DsReplicaOIDMapping *mappings; */
4713 /* IDL: } */
4714
4715 static int
4716 drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_num_mappings(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4717 {
4718         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr_num_mappings, 0);
4719
4720         return offset;
4721 }
4722
4723 static int
4724 drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4725 {
4726         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings_, NDR_POINTER_UNIQUE, "Pointer to Mappings (drsuapi_DsReplicaOIDMapping)",hf_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr_mappings);
4727
4728         return offset;
4729 }
4730
4731 static int
4732 drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4733 {
4734         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings__);
4735
4736         return offset;
4737 }
4738
4739 static int
4740 drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4741 {
4742         offset = drsuapi_dissect_struct_DsReplicaOIDMapping(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr_mappings,0);
4743
4744         return offset;
4745 }
4746
4747 int
4748 drsuapi_dissect_struct_DsReplicaOIDMapping_Ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4749 {
4750         proto_item *item = NULL;
4751         proto_tree *tree = NULL;
4752         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4753         int old_offset;
4754
4755         ALIGN_TO_5_BYTES;
4756
4757         old_offset = offset;
4758
4759         if (parent_tree) {
4760                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4761                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr);
4762         }
4763         
4764         offset = drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_num_mappings(tvb, offset, pinfo, tree, drep);
4765
4766         offset = drsuapi_dissect_element_DsReplicaOIDMapping_Ctr_mappings(tvb, offset, pinfo, tree, drep);
4767
4768
4769         proto_item_set_len(item, offset-old_offset);
4770
4771
4772         if (di->call_data->flags & DCERPC_IS_NDR64) {
4773                 ALIGN_TO_5_BYTES;
4774         }
4775
4776         return offset;
4777 }
4778
4779
4780 /* IDL: enum { */
4781 /* IDL:         DRSUAPI_OBJECTCLASS_top=0x00010000, */
4782 /* IDL:         DRSUAPI_OBJECTCLASS_classSchema=0x0003000d, */
4783 /* IDL:         DRSUAPI_OBJECTCLASS_attributeSchema=0x0003000e, */
4784 /* IDL: } */
4785
4786 int
4787 drsuapi_dissect_enum_DsObjectClassId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
4788 {
4789         guint32 parameter=0;
4790         if(param){
4791                 parameter=(guint32)*param;
4792         }
4793         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
4794         if(param){
4795                 *param=(guint32)parameter;
4796         }
4797         return offset;
4798 }
4799
4800
4801 /* IDL: enum { */
4802 /* IDL:         DRSUAPI_ATTID_objectClass=0x00000000, */
4803 /* IDL:         DRSUAPI_ATTID_cn=0x00000003, */
4804 /* IDL:         DRSUAPI_ATTID_ou=0x0000000b, */
4805 /* IDL:         DRSUAPI_ATTID_description=0x0000000d, */
4806 /* IDL:         DRSUAPI_ATTID_member=0x0000001f, */
4807 /* IDL:         DRSUAPI_ATTID_instanceType=0x00020001, */
4808 /* IDL:         DRSUAPI_ATTID_whenCreated=0x00020002, */
4809 /* IDL:         DRSUAPI_ATTID_possSuperiors=0x00020008, */
4810 /* IDL:         DRSUAPI_ATTID_displayName=0x0002000d, */
4811 /* IDL:         DRSUAPI_ATTID_hasMasterNCs=0x0002000e, */
4812 /* IDL:         DRSUAPI_ATTID_nCName=0x00020010, */
4813 /* IDL:         DRSUAPI_ATTID_subClassOf=0x00020015, */
4814 /* IDL:         DRSUAPI_ATTID_governsID=0x00020016, */
4815 /* IDL:         DRSUAPI_ATTID_mustContain=0x00020018, */
4816 /* IDL:         DRSUAPI_ATTID_mayContain=0x00020019, */
4817 /* IDL:         DRSUAPI_ATTID_rDNAttId=0x0002001A, */
4818 /* IDL:         DRSUAPI_ATTID_attributeID=0x0002001e, */
4819 /* IDL:         DRSUAPI_ATTID_attributeSyntax=0x00020020, */
4820 /* IDL:         DRSUAPI_ATTID_isSingleValued=0x00020021, */
4821 /* IDL:         DRSUAPI_ATTID_rangeLower=0x00020022, */
4822 /* IDL:         DRSUAPI_ATTID_rangeUpper=0x00020023, */
4823 /* IDL:         DRSUAPI_ATTID_dMDLocation=0x00020024, */
4824 /* IDL:         DRSUAPI_ATTID_isDeleted=0x00020030, */
4825 /* IDL:         DRSUAPI_ATTID_objectVersion=0x0002004c, */
4826 /* IDL:         DRSUAPI_ATTID_invocationId=0x00020073, */
4827 /* IDL:         DRSUAPI_ATTID_showInAdvancedViewOnly=0x000200a9, */
4828 /* IDL:         DRSUAPI_ATTID_adminDisplayName=0x000200c2, */
4829 /* IDL:         DRSUAPI_ATTID_adminDescription=0x000200e2, */
4830 /* IDL:         DRSUAPI_ATTID_oMSyntax=0x000200e7, */
4831 /* IDL:         DRSUAPI_ATTID_ntSecurityDescriptor=0x00020119, */
4832 /* IDL:         DRSUAPI_ATTID_searchFlags=0x0002014e, */
4833 /* IDL:         DRSUAPI_ATTID_auxiliaryClass=0x0002015f, */
4834 /* IDL:         DRSUAPI_ATTID_lDAPDisplayName=0x000201cc, */
4835 /* IDL:         DRSUAPI_ATTID_name=0x00090001, */
4836 /* IDL:         DRSUAPI_ATTID_userAccountControl=0x00090008, */
4837 /* IDL:         DRSUAPI_ATTID_badPwdCount=0x0009000c, */
4838 /* IDL:         DRSUAPI_ATTID_codePage=0x00090010, */
4839 /* IDL:         DRSUAPI_ATTID_countryCode=0x00090019, */
4840 /* IDL:         DRSUAPI_ATTID_currentValue=0x0009001b, */
4841 /* IDL:         DRSUAPI_ATTID_homeDirectory=0x0009002c, */
4842 /* IDL:         DRSUAPI_ATTID_homeDrive=0x0009002d, */
4843 /* IDL:         DRSUAPI_ATTID_lastLogoff=0x00090033, */
4844 /* IDL:         DRSUAPI_ATTID_lastLogon=0x00090034, */
4845 /* IDL:         DRSUAPI_ATTID_dBCSPwd=0x00090037, */
4846 /* IDL:         DRSUAPI_ATTID_scriptPath=0x0009003e, */
4847 /* IDL:         DRSUAPI_ATTID_logonHours=0x00090040, */
4848 /* IDL:         DRSUAPI_ATTID_userWorkstations=0x00090056, */
4849 /* IDL:         DRSUAPI_ATTID_unicodePwd=0x0009005a, */
4850 /* IDL:         DRSUAPI_ATTID_ntPwdHistory=0x0009005e, */
4851 /* IDL:         DRSUAPI_ATTID_pwdLastSet=0x00090060, */
4852 /* IDL:         DRSUAPI_ATTID_primaryGroupID=0x00090062, */
4853 /* IDL:         DRSUAPI_ATTID_priorValue=0x00090064, */
4854 /* IDL:         DRSUAPI_ATTID_supplementalCredentials=0x0009007d, */
4855 /* IDL:         DRSUAPI_ATTID_trustAuthIncoming=0x00090081, */
4856 /* IDL:         DRSUAPI_ATTID_trustAuthOutgoing=0x00090087, */
4857 /* IDL:         DRSUAPI_ATTID_userParameters=0x0009008a, */
4858 /* IDL:         DRSUAPI_ATTID_profilePath=0x0009008b, */
4859 /* IDL:         DRSUAPI_ATTID_objectSid=0x00090092, */
4860 /* IDL:         DRSUAPI_ATTID_schemaIDGUID=0x00090094, */
4861 /* IDL:         DRSUAPI_ATTID_comment=0x0009009C, */
4862 /* IDL:         DRSUAPI_ATTID_accountExpires=0x0009009f, */
4863 /* IDL:         DRSUAPI_ATTID_lmPwdHistory=0x000900a0, */
4864 /* IDL:         DRSUAPI_ATTID_logonCount=0x000900a9, */
4865 /* IDL:         DRSUAPI_ATTID_systemPossSuperiors=0x000900c3, */
4866 /* IDL:         DRSUAPI_ATTID_systemMayContain=0x000900c4, */
4867 /* IDL:         DRSUAPI_ATTID_systemMustContain=0x000900c5, */
4868 /* IDL:         DRSUAPI_ATTID_systemAuxiliaryClass=0x000900c6, */
4869 /* IDL:         DRSUAPI_ATTID_sAMAccountName=0x000900dd, */
4870 /* IDL:         DRSUAPI_ATTID_sAMAccountType=0x0009012e, */
4871 /* IDL:         DRSUAPI_ATTID_options=0x00090133, */
4872 /* IDL:         DRSUAPI_ATTID_fSMORoleOwner=0x00090171, */
4873 /* IDL:         DRSUAPI_ATTID_systemFlags=0x00090177, */
4874 /* IDL:         DRSUAPI_ATTID_serverReference=0x00090203, */
4875 /* IDL:         DRSUAPI_ATTID_serverReferenceBL=0x00090204, */
4876 /* IDL:         DRSUAPI_ATTID_initialAuthIncoming=0x0009021b, */
4877 /* IDL:         DRSUAPI_ATTID_initialAuthOutgoing=0x0009021c, */
4878 /* IDL:         DRSUAPI_ATTID_wellKnownObjects=0x0009026a, */
4879 /* IDL:         DRSUAPI_ATTID_dNSHostName=0x0009026b, */
4880 /* IDL:         DRSUAPI_ATTID_isMemberOfPartialAttributeSet=0x0009027f, */
4881 /* IDL:         DRSUAPI_ATTID_userPrincipalName=0x00090290, */
4882 /* IDL:         DRSUAPI_ATTID_groupType=0x000902ee, */
4883 /* IDL:         DRSUAPI_ATTID_servicePrincipalName=0x00090303, */
4884 /* IDL:         DRSUAPI_ATTID_lastKnownParent=0x0009030d, */
4885 /* IDL:         DRSUAPI_ATTID_objectCategory=0x0009030e, */
4886 /* IDL:         DRSUAPI_ATTID_gPLink=0x0009037b, */
4887 /* IDL:         DRSUAPI_ATTID_transportAddressAttribute=0x0009037f, */
4888 /* IDL:         DRSUAPI_ATTID_msDS_Behavior_Version=0x000905b3, */
4889 /* IDL:         DRSUAPI_ATTID_msDS_KeyVersionNumber=0x000906f6, */
4890 /* IDL:         DRSUAPI_ATTID_msDS_HasDomainNCs=0x0009071c, */
4891 /* IDL:         DRSUAPI_ATTID_msDS_hasMasterNCs=0x0009072c, */
4892 /* IDL:         DRSUAPI_ATTID_isRecycled=0x0009080a, */
4893 /* IDL:         DRSUAPI_ATTID_INVALID=0xFFFFFFFF, */
4894 /* IDL: } */
4895
4896 int
4897 drsuapi_dissect_enum_DsAttributeId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
4898 {
4899         guint32 parameter=0;
4900         if(param){
4901                 parameter=(guint32)*param;
4902         }
4903         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
4904         if(param){
4905                 *param=(guint32)parameter;
4906         }
4907         return offset;
4908 }
4909
4910
4911 /* IDL: struct { */
4912 /* IDL:         [value(1)] uint32 version; */
4913 /* IDL:         [value(0)] uint32 reserved1; */
4914 /* IDL:         [range(1,0x100000)] uint32 num_attids; */
4915 /* IDL:         [size_is(num_attids)] drsuapi_DsAttributeId attids[*]; */
4916 /* IDL: } */
4917
4918 static int
4919 drsuapi_dissect_element_DsPartialAttributeSet_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4920 {
4921         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsPartialAttributeSet_version, 0);
4922
4923         return offset;
4924 }
4925
4926 static int
4927 drsuapi_dissect_element_DsPartialAttributeSet_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4928 {
4929         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsPartialAttributeSet_reserved1, 0);
4930
4931         return offset;
4932 }
4933
4934 static int
4935 drsuapi_dissect_element_DsPartialAttributeSet_num_attids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4936 {
4937         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsPartialAttributeSet_num_attids, 0);
4938
4939         return offset;
4940 }
4941
4942 static int
4943 drsuapi_dissect_element_DsPartialAttributeSet_attids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4944 {
4945         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsPartialAttributeSet_attids_);
4946
4947         return offset;
4948 }
4949
4950 static int
4951 drsuapi_dissect_element_DsPartialAttributeSet_attids_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4952 {
4953         offset = drsuapi_dissect_enum_DsAttributeId(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsPartialAttributeSet_attids, 0);
4954
4955         return offset;
4956 }
4957
4958 int
4959 drsuapi_dissect_struct_DsPartialAttributeSet(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4960 {
4961         proto_item *item = NULL;
4962         proto_tree *tree = NULL;
4963         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4964         int old_offset;
4965
4966         ALIGN_TO_4_BYTES;
4967
4968         old_offset = offset;
4969
4970         if (parent_tree) {
4971                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4972                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsPartialAttributeSet);
4973         }
4974         
4975         offset = drsuapi_dissect_element_DsPartialAttributeSet_version(tvb, offset, pinfo, tree, drep);
4976
4977         offset = drsuapi_dissect_element_DsPartialAttributeSet_reserved1(tvb, offset, pinfo, tree, drep);
4978
4979         offset = drsuapi_dissect_element_DsPartialAttributeSet_num_attids(tvb, offset, pinfo, tree, drep);
4980
4981         offset = drsuapi_dissect_element_DsPartialAttributeSet_attids(tvb, offset, pinfo, tree, drep);
4982
4983
4984         proto_item_set_len(item, offset-old_offset);
4985
4986
4987         if (di->call_data->flags & DCERPC_IS_NDR64) {
4988                 ALIGN_TO_4_BYTES;
4989         }
4990
4991         return offset;
4992 }
4993
4994
4995 /* IDL: struct { */
4996 /* IDL:         GUID destination_dsa_guid; */
4997 /* IDL:         GUID source_dsa_invocation_id; */
4998 /* IDL:         [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
4999 /* IDL:         drsuapi_DsReplicaHighWaterMark highwatermark; */
5000 /* IDL:         [unique(1)] drsuapi_DsReplicaCursorCtrEx *uptodateness_vector; */
5001 /* IDL:         drsuapi_DrsOptions replica_flags; */
5002 /* IDL:         uint32 max_object_count; */
5003 /* IDL:         uint32 max_ndr_size; */
5004 /* IDL:         drsuapi_DsExtendedOperation extended_op; */
5005 /* IDL:         hyper fsmo_info; */
5006 /* IDL:         [unique(1)] drsuapi_DsPartialAttributeSet *partial_attribute_set; */
5007 /* IDL:         [unique(1)] drsuapi_DsPartialAttributeSet *partial_attribute_set_ex; */
5008 /* IDL:         drsuapi_DsReplicaOIDMapping_Ctr mapping_ctr; */
5009 /* IDL: } */
5010
5011 static int
5012 drsuapi_dissect_element_DsGetNCChangesRequest8_destination_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5013 {
5014         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest8_destination_dsa_guid, NULL);
5015
5016         return offset;
5017 }
5018
5019 static int
5020 drsuapi_dissect_element_DsGetNCChangesRequest8_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5021 {
5022         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest8_source_dsa_invocation_id, NULL);
5023
5024         return offset;
5025 }
5026
5027 static int
5028 drsuapi_dissect_element_DsGetNCChangesRequest8_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5029 {
5030         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesRequest8_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetNCChangesRequest8_naming_context);
5031
5032         return offset;
5033 }
5034
5035 static int
5036 drsuapi_dissect_element_DsGetNCChangesRequest8_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5037 {
5038         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest8_naming_context,0);
5039
5040         return offset;
5041 }
5042
5043 static int
5044 drsuapi_dissect_element_DsGetNCChangesRequest8_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5045 {
5046         offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest8_highwatermark,0);
5047
5048         return offset;
5049 }
5050
5051 static int
5052 drsuapi_dissect_element_DsGetNCChangesRequest8_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5053 {
5054         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesRequest8_uptodateness_vector_, NDR_POINTER_UNIQUE, "Pointer to Uptodateness Vector (drsuapi_DsReplicaCursorCtrEx)",hf_drsuapi_drsuapi_DsGetNCChangesRequest8_uptodateness_vector);
5055
5056         return offset;
5057 }
5058
5059 static int
5060 drsuapi_dissect_element_DsGetNCChangesRequest8_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5061 {
5062         offset = drsuapi_dissect_struct_DsReplicaCursorCtrEx(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest8_uptodateness_vector,0);
5063
5064         return offset;
5065 }
5066
5067 static int
5068 drsuapi_dissect_element_DsGetNCChangesRequest8_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5069 {
5070         offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest8_replica_flags, 0);
5071
5072         return offset;
5073 }
5074
5075 static int
5076 drsuapi_dissect_element_DsGetNCChangesRequest8_max_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5077 {
5078         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest8_max_object_count, 0);
5079
5080         return offset;
5081 }
5082
5083 static int
5084 drsuapi_dissect_element_DsGetNCChangesRequest8_max_ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5085 {
5086         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest8_max_ndr_size, 0);
5087
5088         return offset;
5089 }
5090
5091 static int
5092 drsuapi_dissect_element_DsGetNCChangesRequest8_extended_op(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5093 {
5094         offset = drsuapi_dissect_enum_DsExtendedOperation(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest8_extended_op, 0);
5095
5096         return offset;
5097 }
5098
5099 static int
5100 drsuapi_dissect_element_DsGetNCChangesRequest8_fsmo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5101 {
5102         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest8_fsmo_info, NULL);
5103
5104         return offset;
5105 }
5106
5107 static int
5108 drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5109 {
5110         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
5111
5112         return offset;
5113 }
5114
5115 static int
5116 drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5117 {
5118         offset = drsuapi_dissect_struct_DsPartialAttributeSet(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest8_partial_attribute_set,0);
5119
5120         return offset;
5121 }
5122
5123 static int
5124 drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set_ex(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5125 {
5126         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
5127
5128         return offset;
5129 }
5130
5131 static int
5132 drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set_ex_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5133 {
5134         offset = drsuapi_dissect_struct_DsPartialAttributeSet(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest8_partial_attribute_set_ex,0);
5135
5136         return offset;
5137 }
5138
5139 static int
5140 drsuapi_dissect_element_DsGetNCChangesRequest8_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5141 {
5142         offset = drsuapi_dissect_struct_DsReplicaOIDMapping_Ctr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest8_mapping_ctr,0);
5143
5144         return offset;
5145 }
5146
5147 int
5148 drsuapi_dissect_struct_DsGetNCChangesRequest8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5149 {
5150         proto_item *item = NULL;
5151         proto_tree *tree = NULL;
5152         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5153         int old_offset;
5154
5155         ALIGN_TO_8_BYTES;
5156
5157         old_offset = offset;
5158
5159         if (parent_tree) {
5160                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5161                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesRequest8);
5162         }
5163         
5164         offset = drsuapi_dissect_element_DsGetNCChangesRequest8_destination_dsa_guid(tvb, offset, pinfo, tree, drep);
5165
5166         offset = drsuapi_dissect_element_DsGetNCChangesRequest8_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
5167
5168         offset = drsuapi_dissect_element_DsGetNCChangesRequest8_naming_context(tvb, offset, pinfo, tree, drep);
5169
5170         offset = drsuapi_dissect_element_DsGetNCChangesRequest8_highwatermark(tvb, offset, pinfo, tree, drep);
5171
5172         offset = drsuapi_dissect_element_DsGetNCChangesRequest8_uptodateness_vector(tvb, offset, pinfo, tree, drep);
5173
5174         offset = drsuapi_dissect_element_DsGetNCChangesRequest8_replica_flags(tvb, offset, pinfo, tree, drep);
5175
5176         offset = drsuapi_dissect_element_DsGetNCChangesRequest8_max_object_count(tvb, offset, pinfo, tree, drep);
5177
5178         offset = drsuapi_dissect_element_DsGetNCChangesRequest8_max_ndr_size(tvb, offset, pinfo, tree, drep);
5179
5180         offset = drsuapi_dissect_element_DsGetNCChangesRequest8_extended_op(tvb, offset, pinfo, tree, drep);
5181
5182         offset = drsuapi_dissect_element_DsGetNCChangesRequest8_fsmo_info(tvb, offset, pinfo, tree, drep);
5183
5184         offset = drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set(tvb, offset, pinfo, tree, drep);
5185
5186         offset = drsuapi_dissect_element_DsGetNCChangesRequest8_partial_attribute_set_ex(tvb, offset, pinfo, tree, drep);
5187
5188         offset = drsuapi_dissect_element_DsGetNCChangesRequest8_mapping_ctr(tvb, offset, pinfo, tree, drep);
5189
5190
5191         proto_item_set_len(item, offset-old_offset);
5192
5193
5194         if (di->call_data->flags & DCERPC_IS_NDR64) {
5195                 ALIGN_TO_8_BYTES;
5196         }
5197
5198         return offset;
5199 }
5200
5201
5202 /* IDL: struct { */
5203 /* IDL:         GUID destination_dsa_guid; */
5204 /* IDL:         GUID source_dsa_invocation_id; */
5205 /* IDL:         [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
5206 /* IDL:         drsuapi_DsReplicaHighWaterMark highwatermark; */
5207 /* IDL:         [unique(1)] drsuapi_DsReplicaCursorCtrEx *uptodateness_vector; */
5208 /* IDL:         drsuapi_DrsOptions replica_flags; */
5209 /* IDL:         uint32 max_object_count; */
5210 /* IDL:         uint32 max_ndr_size; */
5211 /* IDL:         drsuapi_DsExtendedOperation extended_op; */
5212 /* IDL:         hyper fsmo_info; */
5213 /* IDL:         [unique(1)] drsuapi_DsPartialAttributeSet *partial_attribute_set; */
5214 /* IDL:         [unique(1)] drsuapi_DsPartialAttributeSet *partial_attribute_set_ex; */
5215 /* IDL:         drsuapi_DsReplicaOIDMapping_Ctr mapping_ctr; */
5216 /* IDL:         uint32 more_flags; */
5217 /* IDL: } */
5218
5219 static int
5220 drsuapi_dissect_element_DsGetNCChangesRequest10_destination_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5221 {
5222         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_destination_dsa_guid, NULL);
5223
5224         return offset;
5225 }
5226
5227 static int
5228 drsuapi_dissect_element_DsGetNCChangesRequest10_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5229 {
5230         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_source_dsa_invocation_id, NULL);
5231
5232         return offset;
5233 }
5234
5235 static int
5236 drsuapi_dissect_element_DsGetNCChangesRequest10_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5237 {
5238         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesRequest10_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetNCChangesRequest10_naming_context);
5239
5240         return offset;
5241 }
5242
5243 static int
5244 drsuapi_dissect_element_DsGetNCChangesRequest10_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5245 {
5246         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest10_naming_context,0);
5247
5248         return offset;
5249 }
5250
5251 static int
5252 drsuapi_dissect_element_DsGetNCChangesRequest10_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5253 {
5254         offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest10_highwatermark,0);
5255
5256         return offset;
5257 }
5258
5259 static int
5260 drsuapi_dissect_element_DsGetNCChangesRequest10_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5261 {
5262         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesRequest10_uptodateness_vector_, NDR_POINTER_UNIQUE, "Pointer to Uptodateness Vector (drsuapi_DsReplicaCursorCtrEx)",hf_drsuapi_drsuapi_DsGetNCChangesRequest10_uptodateness_vector);
5263
5264         return offset;
5265 }
5266
5267 static int
5268 drsuapi_dissect_element_DsGetNCChangesRequest10_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5269 {
5270         offset = drsuapi_dissect_struct_DsReplicaCursorCtrEx(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest10_uptodateness_vector,0);
5271
5272         return offset;
5273 }
5274
5275 static int
5276 drsuapi_dissect_element_DsGetNCChangesRequest10_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5277 {
5278         offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_replica_flags, 0);
5279
5280         return offset;
5281 }
5282
5283 static int
5284 drsuapi_dissect_element_DsGetNCChangesRequest10_max_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5285 {
5286         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_max_object_count, 0);
5287
5288         return offset;
5289 }
5290
5291 static int
5292 drsuapi_dissect_element_DsGetNCChangesRequest10_max_ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5293 {
5294         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_max_ndr_size, 0);
5295
5296         return offset;
5297 }
5298
5299 static int
5300 drsuapi_dissect_element_DsGetNCChangesRequest10_extended_op(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5301 {
5302         offset = drsuapi_dissect_enum_DsExtendedOperation(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_extended_op, 0);
5303
5304         return offset;
5305 }
5306
5307 static int
5308 drsuapi_dissect_element_DsGetNCChangesRequest10_fsmo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5309 {
5310         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_fsmo_info, NULL);
5311
5312         return offset;
5313 }
5314
5315 static int
5316 drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5317 {
5318         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
5319
5320         return offset;
5321 }
5322
5323 static int
5324 drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5325 {
5326         offset = drsuapi_dissect_struct_DsPartialAttributeSet(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest10_partial_attribute_set,0);
5327
5328         return offset;
5329 }
5330
5331 static int
5332 drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set_ex(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5333 {
5334         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
5335
5336         return offset;
5337 }
5338
5339 static int
5340 drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set_ex_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5341 {
5342         offset = drsuapi_dissect_struct_DsPartialAttributeSet(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest10_partial_attribute_set_ex,0);
5343
5344         return offset;
5345 }
5346
5347 static int
5348 drsuapi_dissect_element_DsGetNCChangesRequest10_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5349 {
5350         offset = drsuapi_dissect_struct_DsReplicaOIDMapping_Ctr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest10_mapping_ctr,0);
5351
5352         return offset;
5353 }
5354
5355 static int
5356 drsuapi_dissect_element_DsGetNCChangesRequest10_more_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5357 {
5358         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesRequest10_more_flags, 0);
5359
5360         return offset;
5361 }
5362
5363 int
5364 drsuapi_dissect_struct_DsGetNCChangesRequest10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5365 {
5366         proto_item *item = NULL;
5367         proto_tree *tree = NULL;
5368         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5369         int old_offset;
5370
5371         ALIGN_TO_8_BYTES;
5372
5373         old_offset = offset;
5374
5375         if (parent_tree) {
5376                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5377                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesRequest10);
5378         }
5379         
5380         offset = drsuapi_dissect_element_DsGetNCChangesRequest10_destination_dsa_guid(tvb, offset, pinfo, tree, drep);
5381
5382         offset = drsuapi_dissect_element_DsGetNCChangesRequest10_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
5383
5384         offset = drsuapi_dissect_element_DsGetNCChangesRequest10_naming_context(tvb, offset, pinfo, tree, drep);
5385
5386         offset = drsuapi_dissect_element_DsGetNCChangesRequest10_highwatermark(tvb, offset, pinfo, tree, drep);
5387
5388         offset = drsuapi_dissect_element_DsGetNCChangesRequest10_uptodateness_vector(tvb, offset, pinfo, tree, drep);
5389
5390         offset = drsuapi_dissect_element_DsGetNCChangesRequest10_replica_flags(tvb, offset, pinfo, tree, drep);
5391
5392         offset = drsuapi_dissect_element_DsGetNCChangesRequest10_max_object_count(tvb, offset, pinfo, tree, drep);
5393
5394         offset = drsuapi_dissect_element_DsGetNCChangesRequest10_max_ndr_size(tvb, offset, pinfo, tree, drep);
5395
5396         offset = drsuapi_dissect_element_DsGetNCChangesRequest10_extended_op(tvb, offset, pinfo, tree, drep);
5397
5398         offset = drsuapi_dissect_element_DsGetNCChangesRequest10_fsmo_info(tvb, offset, pinfo, tree, drep);
5399
5400         offset = drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set(tvb, offset, pinfo, tree, drep);
5401
5402         offset = drsuapi_dissect_element_DsGetNCChangesRequest10_partial_attribute_set_ex(tvb, offset, pinfo, tree, drep);
5403
5404         offset = drsuapi_dissect_element_DsGetNCChangesRequest10_mapping_ctr(tvb, offset, pinfo, tree, drep);
5405
5406         offset = drsuapi_dissect_element_DsGetNCChangesRequest10_more_flags(tvb, offset, pinfo, tree, drep);
5407
5408
5409         proto_item_set_len(item, offset-old_offset);
5410
5411
5412         if (di->call_data->flags & DCERPC_IS_NDR64) {
5413                 ALIGN_TO_8_BYTES;
5414         }
5415
5416         return offset;
5417 }
5418
5419
5420 /* IDL: [switch_type(uint32)] union { */
5421 /* IDL: [case(5)] [case(5)] drsuapi_DsGetNCChangesRequest5 req5; */
5422 /* IDL: [case(8)] [case(8)] drsuapi_DsGetNCChangesRequest8 req8; */
5423 /* IDL: [case(10)] [case(10)] drsuapi_DsGetNCChangesRequest10 req10; */
5424 /* IDL: } */
5425
5426 static int
5427 drsuapi_dissect_element_DsGetNCChangesRequest_req5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5428 {
5429         offset = drsuapi_dissect_struct_DsGetNCChangesRequest5(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest_req5,0);
5430
5431         return offset;
5432 }
5433
5434 static int
5435 drsuapi_dissect_element_DsGetNCChangesRequest_req8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5436 {
5437         offset = drsuapi_dissect_struct_DsGetNCChangesRequest8(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest_req8,0);
5438
5439         return offset;
5440 }
5441
5442 static int
5443 drsuapi_dissect_element_DsGetNCChangesRequest_req10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5444 {
5445         offset = drsuapi_dissect_struct_DsGetNCChangesRequest10(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesRequest_req10,0);
5446
5447         return offset;
5448 }
5449
5450 static int
5451 drsuapi_dissect_DsGetNCChangesRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5452 {
5453         proto_item *item = NULL;
5454         proto_tree *tree = NULL;
5455         int old_offset;
5456         guint32 level;
5457
5458         old_offset = offset;
5459         if (parent_tree) {
5460                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsGetNCChangesRequest");
5461                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesRequest);
5462         }
5463
5464         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
5465         ALIGN_TO_8_BYTES;
5466
5467         switch(level) {
5468                 case 5:
5469                         offset = drsuapi_dissect_element_DsGetNCChangesRequest_req5(tvb, offset, pinfo, tree, drep);
5470                 break;
5471
5472                 case 8:
5473                         offset = drsuapi_dissect_element_DsGetNCChangesRequest_req8(tvb, offset, pinfo, tree, drep);
5474                 break;
5475
5476                 case 10:
5477                         offset = drsuapi_dissect_element_DsGetNCChangesRequest_req10(tvb, offset, pinfo, tree, drep);
5478                 break;
5479         }
5480         proto_item_set_len(item, offset-old_offset);
5481
5482
5483         return offset;
5484 }
5485
5486 /* IDL: struct { */
5487 /* IDL:         GUID source_dsa_invocation_id; */
5488 /* IDL:         hyper highest_usn; */
5489 /* IDL:         NTTIME last_sync_success; */
5490 /* IDL: } */
5491
5492 static int
5493 drsuapi_dissect_element_DsReplicaCursor2_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5494 {
5495         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor2_source_dsa_invocation_id, NULL);
5496
5497         return offset;
5498 }
5499
5500 static int
5501 drsuapi_dissect_element_DsReplicaCursor2_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5502 {
5503         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor2_highest_usn, NULL);
5504
5505         return offset;
5506 }
5507
5508 static int
5509 drsuapi_dissect_element_DsReplicaCursor2_last_sync_success(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5510 {
5511         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor2_last_sync_success);
5512
5513         return offset;
5514 }
5515
5516 int
5517 drsuapi_dissect_struct_DsReplicaCursor2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5518 {
5519         proto_item *item = NULL;
5520         proto_tree *tree = NULL;
5521         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5522         int old_offset;
5523
5524         ALIGN_TO_8_BYTES;
5525
5526         old_offset = offset;
5527
5528         if (parent_tree) {
5529                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5530                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursor2);
5531         }
5532         
5533         offset = drsuapi_dissect_element_DsReplicaCursor2_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
5534
5535         offset = drsuapi_dissect_element_DsReplicaCursor2_highest_usn(tvb, offset, pinfo, tree, drep);
5536
5537         offset = drsuapi_dissect_element_DsReplicaCursor2_last_sync_success(tvb, offset, pinfo, tree, drep);
5538
5539
5540         proto_item_set_len(item, offset-old_offset);
5541
5542
5543         if (di->call_data->flags & DCERPC_IS_NDR64) {
5544                 ALIGN_TO_8_BYTES;
5545         }
5546
5547         return offset;
5548 }
5549
5550
5551 /* IDL: struct { */
5552 /* IDL:         [value(2)] uint32 version; */
5553 /* IDL:         [value(0)] uint32 reserved1; */
5554 /* IDL:         [range(0,0x100000)] uint32 count; */
5555 /* IDL:         [value(0)] uint32 reserved2; */
5556 /* IDL:         [size_is(count)] drsuapi_DsReplicaCursor2 cursors[*]; */
5557 /* IDL: } */
5558
5559 static int
5560 drsuapi_dissect_element_DsReplicaCursor2CtrEx_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5561 {
5562         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_version, 0);
5563
5564         return offset;
5565 }
5566
5567 static int
5568 drsuapi_dissect_element_DsReplicaCursor2CtrEx_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5569 {
5570         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_reserved1, 0);
5571
5572         return offset;
5573 }
5574
5575 static int
5576 drsuapi_dissect_element_DsReplicaCursor2CtrEx_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5577 {
5578         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_count, 0);
5579
5580         return offset;
5581 }
5582
5583 static int
5584 drsuapi_dissect_element_DsReplicaCursor2CtrEx_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5585 {
5586         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_reserved2, 0);
5587
5588         return offset;
5589 }
5590
5591 static int
5592 drsuapi_dissect_element_DsReplicaCursor2CtrEx_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5593 {
5594         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaCursor2CtrEx_cursors_);
5595
5596         return offset;
5597 }
5598
5599 static int
5600 drsuapi_dissect_element_DsReplicaCursor2CtrEx_cursors_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5601 {
5602         offset = drsuapi_dissect_struct_DsReplicaCursor2(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_cursors,0);
5603
5604         return offset;
5605 }
5606
5607 int
5608 drsuapi_dissect_struct_DsReplicaCursor2CtrEx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5609 {
5610         proto_item *item = NULL;
5611         proto_tree *tree = NULL;
5612         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5613         int old_offset;
5614
5615         ALIGN_TO_8_BYTES;
5616
5617         old_offset = offset;
5618
5619         if (parent_tree) {
5620                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5621                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursor2CtrEx);
5622         }
5623         
5624         offset = drsuapi_dissect_element_DsReplicaCursor2CtrEx_version(tvb, offset, pinfo, tree, drep);
5625
5626         offset = drsuapi_dissect_element_DsReplicaCursor2CtrEx_reserved1(tvb, offset, pinfo, tree, drep);
5627
5628         offset = drsuapi_dissect_element_DsReplicaCursor2CtrEx_count(tvb, offset, pinfo, tree, drep);
5629
5630         offset = drsuapi_dissect_element_DsReplicaCursor2CtrEx_reserved2(tvb, offset, pinfo, tree, drep);
5631
5632         offset = drsuapi_dissect_element_DsReplicaCursor2CtrEx_cursors(tvb, offset, pinfo, tree, drep);
5633
5634
5635         proto_item_set_len(item, offset-old_offset);
5636
5637
5638         if (di->call_data->flags & DCERPC_IS_NDR64) {
5639                 ALIGN_TO_8_BYTES;
5640         }
5641
5642         return offset;
5643 }
5644
5645
5646 /* IDL: struct { */
5647 /* IDL:         [value(ndr_size_DATA_BLOB(0,blob,0))] [range(0,26214400)] uint32 __ndr_size; */
5648 /* IDL:         [unique(1)] DATA_BLOB *blob; */
5649 /* IDL: } */
5650
5651 static int
5652 drsuapi_dissect_element_DsAttributeValue___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5653 {
5654         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAttributeValue___ndr_size, 0);
5655
5656         return offset;
5657 }
5658
5659 static int
5660 drsuapi_dissect_element_DsAttributeValue_blob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5661 {
5662         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAttributeValue_blob_, NDR_POINTER_UNIQUE, "Pointer to Blob (DATA_BLOB)",hf_drsuapi_drsuapi_DsAttributeValue_blob);
5663
5664         return offset;
5665 }
5666
5667 static int
5668 drsuapi_dissect_element_DsAttributeValue_blob_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5669 {
5670         offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAttributeValue_blob, 0);
5671
5672         return offset;
5673 }
5674
5675 int
5676 drsuapi_dissect_struct_DsAttributeValue(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5677 {
5678         proto_item *item = NULL;
5679         proto_tree *tree = NULL;
5680         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5681         int old_offset;
5682
5683         ALIGN_TO_5_BYTES;
5684
5685         old_offset = offset;
5686
5687         if (parent_tree) {
5688                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5689                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAttributeValue);
5690         }
5691         
5692         offset = drsuapi_dissect_element_DsAttributeValue___ndr_size(tvb, offset, pinfo, tree, drep);
5693
5694         offset = drsuapi_dissect_element_DsAttributeValue_blob(tvb, offset, pinfo, tree, drep);
5695
5696
5697         proto_item_set_len(item, offset-old_offset);
5698
5699
5700         if (di->call_data->flags & DCERPC_IS_NDR64) {
5701                 ALIGN_TO_5_BYTES;
5702         }
5703
5704         return offset;
5705 }
5706
5707
5708 /* IDL: struct { */
5709 /* IDL:         [range(0,10485760)] uint32 num_values; */
5710 /* IDL:         [unique(1)] [size_is(num_values)] drsuapi_DsAttributeValue *values; */
5711 /* IDL: } */
5712
5713 static int
5714 drsuapi_dissect_element_DsAttributeValueCtr_num_values(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5715 {
5716         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAttributeValueCtr_num_values, 0);
5717
5718         return offset;
5719 }
5720
5721 static int
5722 drsuapi_dissect_element_DsAttributeValueCtr_values(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5723 {
5724         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAttributeValueCtr_values_, NDR_POINTER_UNIQUE, "Pointer to Values (drsuapi_DsAttributeValue)",hf_drsuapi_drsuapi_DsAttributeValueCtr_values);
5725
5726         return offset;
5727 }
5728
5729 static int
5730 drsuapi_dissect_element_DsAttributeValueCtr_values_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5731 {
5732         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAttributeValueCtr_values__);
5733
5734         return offset;
5735 }
5736
5737 static int
5738 drsuapi_dissect_element_DsAttributeValueCtr_values__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5739 {
5740         offset = drsuapi_dissect_struct_DsAttributeValue(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAttributeValueCtr_values,0);
5741
5742         return offset;
5743 }
5744
5745 int
5746 drsuapi_dissect_struct_DsAttributeValueCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5747 {
5748         proto_item *item = NULL;
5749         proto_tree *tree = NULL;
5750         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5751         int old_offset;
5752
5753         ALIGN_TO_5_BYTES;
5754
5755         old_offset = offset;
5756
5757         if (parent_tree) {
5758                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5759                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAttributeValueCtr);
5760         }
5761         
5762         offset = drsuapi_dissect_element_DsAttributeValueCtr_num_values(tvb, offset, pinfo, tree, drep);
5763
5764         offset = drsuapi_dissect_element_DsAttributeValueCtr_values(tvb, offset, pinfo, tree, drep);
5765
5766
5767         proto_item_set_len(item, offset-old_offset);
5768
5769
5770         if (di->call_data->flags & DCERPC_IS_NDR64) {
5771                 ALIGN_TO_5_BYTES;
5772         }
5773
5774         return offset;
5775 }
5776
5777
5778 /* IDL: struct { */
5779 /* IDL:         [value(ndr_size_drsuapi_DsReplicaObjectIdentifier3(r,ndr->flags))] uint32 __ndr_size; */
5780 /* IDL:         [value(ndr_size_dom_sid28(&sid,ndr->flags))] uint32 __ndr_size_sid; */
5781 /* IDL:         GUID guid; */
5782 /* IDL:         dom_sid28 sid; */
5783 /* IDL:         [value(strlen_m(dn))] uint32 __ndr_size_dn; */
5784 /* IDL:         [charset(UTF16)] uint16 dn[__ndr_size_dn+1]; */
5785 /* IDL: } */
5786
5787 static int
5788 drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5789 {
5790         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size, 0);
5791
5792         return offset;
5793 }
5794
5795 static int
5796 drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5797 {
5798         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size_sid, 0);
5799
5800         return offset;
5801 }
5802
5803 static int
5804 drsuapi_dissect_element_DsReplicaObjectIdentifier3_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5805 {
5806         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_guid, NULL);
5807
5808         return offset;
5809 }
5810
5811 static int
5812 drsuapi_dissect_element_DsReplicaObjectIdentifier3_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5813 {
5814         offset = drsuapi_dissect_struct_dom_sid28(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_sid,0);
5815
5816         return offset;
5817 }
5818
5819 static int
5820 drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5821 {
5822         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size_dn, 0);
5823
5824         return offset;
5825 }
5826
5827 static int
5828 drsuapi_dissect_element_DsReplicaObjectIdentifier3_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5829 {
5830
5831         return offset;
5832 }
5833
5834 static int
5835 drsuapi_dissect_element_DsReplicaObjectIdentifier3_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5836 {
5837         offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_dn, 0);
5838
5839         return offset;
5840 }
5841
5842 int
5843 drsuapi_dissect_struct_DsReplicaObjectIdentifier3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5844 {
5845         proto_item *item = NULL;
5846         proto_tree *tree = NULL;
5847         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5848         int old_offset;
5849
5850         ALIGN_TO_4_BYTES;
5851
5852         old_offset = offset;
5853
5854         if (parent_tree) {
5855                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5856                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjectIdentifier3);
5857         }
5858         
5859         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size(tvb, offset, pinfo, tree, drep);
5860
5861         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size_sid(tvb, offset, pinfo, tree, drep);
5862
5863         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3_guid(tvb, offset, pinfo, tree, drep);
5864
5865         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3_sid(tvb, offset, pinfo, tree, drep);
5866
5867         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3___ndr_size_dn(tvb, offset, pinfo, tree, drep);
5868
5869         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3_dn(tvb, offset, pinfo, tree, drep);
5870
5871
5872         proto_item_set_len(item, offset-old_offset);
5873
5874
5875         if (di->call_data->flags & DCERPC_IS_NDR64) {
5876                 ALIGN_TO_4_BYTES;
5877         }
5878
5879         return offset;
5880 }
5881
5882
5883 /* IDL: struct { */
5884 /* IDL:         [value(ndr_size_drsuapi_DsReplicaObjectIdentifier3Binary_without_Binary(r,ndr->flags))] uint32 __ndr_size; */
5885 /* IDL:         [value(ndr_size_dom_sid28(&sid,ndr->flags))] uint32 __ndr_size_sid; */
5886 /* IDL:         GUID guid; */
5887 /* IDL:         dom_sid28 sid; */
5888 /* IDL:         [value(strlen_m(dn))] uint32 __ndr_size_dn; */
5889 /* IDL:         [charset(UTF16)] uint16 dn[__ndr_size_dn+1]; */
5890 /* IDL:         [value(binary.length+4)] uint32 __ndr_size_binary; */
5891 /* IDL:         [flag(LIBNDR_FLAG_REMAINING)] DATA_BLOB binary; */
5892 /* IDL: } */
5893
5894 static int
5895 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5896 {
5897         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size, 0);
5898
5899         return offset;
5900 }
5901
5902 static int
5903 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5904 {
5905         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_sid, 0);
5906
5907         return offset;
5908 }
5909
5910 static int
5911 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5912 {
5913         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_guid, NULL);
5914
5915         return offset;
5916 }
5917
5918 static int
5919 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5920 {
5921         offset = drsuapi_dissect_struct_dom_sid28(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_sid,0);
5922
5923         return offset;
5924 }
5925
5926 static int
5927 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5928 {
5929         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_dn, 0);
5930
5931         return offset;
5932 }
5933
5934 static int
5935 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5936 {
5937
5938         return offset;
5939 }
5940
5941 static int
5942 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5943 {
5944         offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_dn, 0);
5945
5946         return offset;
5947 }
5948
5949 static int
5950 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5951 {
5952         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_binary, 0);
5953
5954         return offset;
5955 }
5956
5957 static int
5958 drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5959 {
5960         offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_binary, 1);
5961
5962         return offset;
5963 }
5964
5965 int
5966 drsuapi_dissect_struct_DsReplicaObjectIdentifier3Binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5967 {
5968         proto_item *item = NULL;
5969         proto_tree *tree = NULL;
5970         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5971         int old_offset;
5972
5973         ALIGN_TO_4_BYTES;
5974
5975         old_offset = offset;
5976
5977         if (parent_tree) {
5978                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5979                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary);
5980         }
5981         
5982         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size(tvb, offset, pinfo, tree, drep);
5983
5984         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_sid(tvb, offset, pinfo, tree, drep);
5985
5986         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_guid(tvb, offset, pinfo, tree, drep);
5987
5988         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_sid(tvb, offset, pinfo, tree, drep);
5989
5990         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_dn(tvb, offset, pinfo, tree, drep);
5991
5992         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_dn(tvb, offset, pinfo, tree, drep);
5993
5994         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary___ndr_size_binary(tvb, offset, pinfo, tree, drep);
5995
5996         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier3Binary_binary(tvb, offset, pinfo, tree, drep);
5997
5998
5999         proto_item_set_len(item, offset-old_offset);
6000
6001
6002         if (di->call_data->flags & DCERPC_IS_NDR64) {
6003                 ALIGN_TO_4_BYTES;
6004         }
6005
6006         return offset;
6007 }
6008
6009
6010 /* IDL: struct { */
6011 /* IDL:         drsuapi_DsAttributeId attid; */
6012 /* IDL:         drsuapi_DsAttributeValueCtr value_ctr; */
6013 /* IDL: } */
6014
6015 static int
6016 drsuapi_dissect_element_DsReplicaAttribute_attid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6017 {
6018         offset = drsuapi_dissect_enum_DsAttributeId(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttribute_attid, 0);
6019
6020         return offset;
6021 }
6022
6023 static int
6024 drsuapi_dissect_element_DsReplicaAttribute_value_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6025 {
6026         offset = drsuapi_dissect_struct_DsAttributeValueCtr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaAttribute_value_ctr,0);
6027
6028         return offset;
6029 }
6030
6031 int
6032 drsuapi_dissect_struct_DsReplicaAttribute(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6033 {
6034         proto_item *item = NULL;
6035         proto_tree *tree = NULL;
6036         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
6037         int old_offset;
6038
6039         ALIGN_TO_5_BYTES;
6040
6041         old_offset = offset;
6042
6043         if (parent_tree) {
6044                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6045                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAttribute);
6046         }
6047         
6048         offset = drsuapi_dissect_element_DsReplicaAttribute_attid(tvb, offset, pinfo, tree, drep);
6049
6050         offset = drsuapi_dissect_element_DsReplicaAttribute_value_ctr(tvb, offset, pinfo, tree, drep);
6051
6052
6053         proto_item_set_len(item, offset-old_offset);
6054
6055
6056         if (di->call_data->flags & DCERPC_IS_NDR64) {
6057                 ALIGN_TO_5_BYTES;
6058         }
6059
6060         return offset;
6061 }
6062
6063
6064 /* IDL: struct { */
6065 /* IDL:         [range(0,1048576)] uint32 num_attributes; */
6066 /* IDL:         [unique(1)] [size_is(num_attributes)] drsuapi_DsReplicaAttribute *attributes; */
6067 /* IDL: } */
6068
6069 static int
6070 drsuapi_dissect_element_DsReplicaAttributeCtr_num_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6071 {
6072         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttributeCtr_num_attributes, 0);
6073
6074         return offset;
6075 }
6076
6077 static int
6078 drsuapi_dissect_element_DsReplicaAttributeCtr_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6079 {
6080         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAttributeCtr_attributes_, NDR_POINTER_UNIQUE, "Pointer to Attributes (drsuapi_DsReplicaAttribute)",hf_drsuapi_drsuapi_DsReplicaAttributeCtr_attributes);
6081
6082         return offset;
6083 }
6084
6085 static int
6086 drsuapi_dissect_element_DsReplicaAttributeCtr_attributes_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6087 {
6088         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAttributeCtr_attributes__);
6089
6090         return offset;
6091 }
6092
6093 static int
6094 drsuapi_dissect_element_DsReplicaAttributeCtr_attributes__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6095 {
6096         offset = drsuapi_dissect_struct_DsReplicaAttribute(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaAttributeCtr_attributes,0);
6097
6098         return offset;
6099 }
6100
6101 int
6102 drsuapi_dissect_struct_DsReplicaAttributeCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6103 {
6104         proto_item *item = NULL;
6105         proto_tree *tree = NULL;
6106         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
6107         int old_offset;
6108
6109         ALIGN_TO_5_BYTES;
6110
6111         old_offset = offset;
6112
6113         if (parent_tree) {
6114                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6115                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAttributeCtr);
6116         }
6117         
6118         offset = drsuapi_dissect_element_DsReplicaAttributeCtr_num_attributes(tvb, offset, pinfo, tree, drep);
6119
6120         offset = drsuapi_dissect_element_DsReplicaAttributeCtr_attributes(tvb, offset, pinfo, tree, drep);
6121
6122
6123         proto_item_set_len(item, offset-old_offset);
6124
6125
6126         if (di->call_data->flags & DCERPC_IS_NDR64) {
6127                 ALIGN_TO_5_BYTES;
6128         }
6129
6130         return offset;
6131 }
6132
6133
6134 /* IDL: bitmap { */
6135 /* IDL:         DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER =  0x00000001 , */
6136 /* IDL:         DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC =  0x00000002 , */
6137 /* IDL:         DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY =  0x00010000 , */
6138 /* IDL: } */
6139
6140 int
6141 drsuapi_dissect_bitmap_DsReplicaObjectFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6142 {
6143         proto_item *item = NULL;
6144         proto_tree *tree = NULL;
6145
6146         guint32 flags;
6147         ALIGN_TO_4_BYTES;
6148
6149         if (parent_tree) {
6150                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, DREP_ENC_INTEGER(drep));
6151                 tree = proto_item_add_subtree(item,ett_drsuapi_drsuapi_DsReplicaObjectFlags);
6152         }
6153
6154         offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
6155         proto_item_append_text(item, ": ");
6156
6157         if (!flags)
6158                 proto_item_append_text(item, "(No values set)");
6159
6160         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER, tvb, offset-4, 4, flags);
6161         if (flags&( 0x00000001 )){
6162                 proto_item_append_text(item, "DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER");
6163                 if (flags & (~( 0x00000001 )))
6164                         proto_item_append_text(item, ", ");
6165         }
6166         flags&=(~( 0x00000001 ));
6167
6168         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC, tvb, offset-4, 4, flags);
6169         if (flags&( 0x00000002 )){
6170                 proto_item_append_text(item, "DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC");
6171                 if (flags & (~( 0x00000002 )))
6172                         proto_item_append_text(item, ", ");
6173         }
6174         flags&=(~( 0x00000002 ));
6175
6176         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY, tvb, offset-4, 4, flags);
6177         if (flags&( 0x00010000 )){
6178                 proto_item_append_text(item, "DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY");
6179                 if (flags & (~( 0x00010000 )))
6180                         proto_item_append_text(item, ", ");
6181         }
6182         flags&=(~( 0x00010000 ));
6183
6184         if (flags) {
6185                 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
6186         }
6187
6188         return offset;
6189 }
6190
6191
6192 /* IDL: struct { */
6193 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectIdentifier *identifier; */
6194 /* IDL:         drsuapi_DsReplicaObjectFlags flags; */
6195 /* IDL:         drsuapi_DsReplicaAttributeCtr attribute_ctr; */
6196 /* IDL: } */
6197
6198 static int
6199 drsuapi_dissect_element_DsReplicaObject_identifier(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6200 {
6201         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaObject_identifier_, NDR_POINTER_UNIQUE, "Pointer to Identifier (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaObject_identifier);
6202
6203         return offset;
6204 }
6205
6206 static int
6207 drsuapi_dissect_element_DsReplicaObject_identifier_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6208 {
6209         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaObject_identifier,0);
6210
6211         return offset;
6212 }
6213
6214 static int
6215 drsuapi_dissect_element_DsReplicaObject_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6216 {
6217         offset = drsuapi_dissect_bitmap_DsReplicaObjectFlags(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObject_flags, 0);
6218
6219         return offset;
6220 }
6221
6222 static int
6223 drsuapi_dissect_element_DsReplicaObject_attribute_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6224 {
6225         offset = drsuapi_dissect_struct_DsReplicaAttributeCtr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaObject_attribute_ctr,0);
6226
6227         return offset;
6228 }
6229
6230 int
6231 drsuapi_dissect_struct_DsReplicaObject(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6232 {
6233         proto_item *item = NULL;
6234         proto_tree *tree = NULL;
6235         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
6236         int old_offset;
6237
6238         ALIGN_TO_5_BYTES;
6239
6240         old_offset = offset;
6241
6242         if (parent_tree) {
6243                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6244                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObject);
6245         }
6246         
6247         offset = drsuapi_dissect_element_DsReplicaObject_identifier(tvb, offset, pinfo, tree, drep);
6248
6249         offset = drsuapi_dissect_element_DsReplicaObject_flags(tvb, offset, pinfo, tree, drep);
6250
6251         offset = drsuapi_dissect_element_DsReplicaObject_attribute_ctr(tvb, offset, pinfo, tree, drep);
6252
6253
6254         proto_item_set_len(item, offset-old_offset);
6255
6256
6257         if (di->call_data->flags & DCERPC_IS_NDR64) {
6258                 ALIGN_TO_5_BYTES;
6259         }
6260
6261         return offset;
6262 }
6263
6264
6265 /* IDL: struct { */
6266 /* IDL:         uint32 version; */
6267 /* IDL:         NTTIME_1sec originating_change_time; */
6268 /* IDL:         GUID originating_invocation_id; */
6269 /* IDL:         hyper originating_usn; */
6270 /* IDL: } */
6271
6272 static int
6273 drsuapi_dissect_element_DsReplicaMetaData_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6274 {
6275         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaMetaData_version, 0);
6276
6277         return offset;
6278 }
6279
6280 static int
6281 drsuapi_dissect_element_DsReplicaMetaData_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6282 {
6283         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaMetaData_originating_change_time);
6284
6285         return offset;
6286 }
6287
6288 static int
6289 drsuapi_dissect_element_DsReplicaMetaData_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6290 {
6291         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaMetaData_originating_invocation_id, NULL);
6292
6293         return offset;
6294 }
6295
6296 static int
6297 drsuapi_dissect_element_DsReplicaMetaData_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6298 {
6299         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaMetaData_originating_usn, NULL);
6300
6301         return offset;
6302 }
6303
6304 int
6305 drsuapi_dissect_struct_DsReplicaMetaData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6306 {
6307         proto_item *item = NULL;
6308         proto_tree *tree = NULL;
6309         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
6310         int old_offset;
6311
6312         ALIGN_TO_8_BYTES;
6313
6314         old_offset = offset;
6315
6316         if (parent_tree) {
6317                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6318                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaMetaData);
6319         }
6320         
6321         offset = drsuapi_dissect_element_DsReplicaMetaData_version(tvb, offset, pinfo, tree, drep);
6322
6323         offset = drsuapi_dissect_element_DsReplicaMetaData_originating_change_time(tvb, offset, pinfo, tree, drep);
6324
6325         offset = drsuapi_dissect_element_DsReplicaMetaData_originating_invocation_id(tvb, offset, pinfo, tree, drep);
6326
6327         offset = drsuapi_dissect_element_DsReplicaMetaData_originating_usn(tvb, offset, pinfo, tree, drep);
6328
6329
6330         proto_item_set_len(item, offset-old_offset);
6331
6332
6333         if (di->call_data->flags & DCERPC_IS_NDR64) {
6334                 ALIGN_TO_8_BYTES;
6335         }
6336
6337         return offset;
6338 }
6339
6340
6341 /* IDL: struct { */
6342 /* IDL:         [range(0,1048576)] uint32 count; */
6343 /* IDL:         [size_is(count)] drsuapi_DsReplicaMetaData meta_data[*]; */
6344 /* IDL: } */
6345
6346 static int
6347 drsuapi_dissect_element_DsReplicaMetaDataCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6348 {
6349         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaMetaDataCtr_count, 0);
6350
6351         return offset;
6352 }
6353
6354 static int
6355 drsuapi_dissect_element_DsReplicaMetaDataCtr_meta_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6356 {
6357         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaMetaDataCtr_meta_data_);
6358
6359         return offset;
6360 }
6361
6362 static int
6363 drsuapi_dissect_element_DsReplicaMetaDataCtr_meta_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6364 {
6365         offset = drsuapi_dissect_struct_DsReplicaMetaData(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaMetaDataCtr_meta_data,0);
6366
6367         return offset;
6368 }
6369
6370 int
6371 drsuapi_dissect_struct_DsReplicaMetaDataCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6372 {
6373         proto_item *item = NULL;
6374         proto_tree *tree = NULL;
6375         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
6376         int old_offset;
6377
6378         ALIGN_TO_8_BYTES;
6379
6380         old_offset = offset;
6381
6382         if (parent_tree) {
6383                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6384                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaMetaDataCtr);
6385         }
6386         
6387         offset = drsuapi_dissect_element_DsReplicaMetaDataCtr_count(tvb, offset, pinfo, tree, drep);
6388
6389         offset = drsuapi_dissect_element_DsReplicaMetaDataCtr_meta_data(tvb, offset, pinfo, tree, drep);
6390
6391
6392         proto_item_set_len(item, offset-old_offset);
6393
6394
6395         if (di->call_data->flags & DCERPC_IS_NDR64) {
6396                 ALIGN_TO_8_BYTES;
6397         }
6398
6399         return offset;
6400 }
6401
6402
6403 /* IDL: struct { */
6404 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectListItemEx *next_object; */
6405 /* IDL:         drsuapi_DsReplicaObject object; */
6406 /* IDL:         uint32 is_nc_prefix; */
6407 /* IDL:         [unique(1)] GUID *parent_object_guid; */
6408 /* IDL:         [unique(1)] drsuapi_DsReplicaMetaDataCtr *meta_data_ctr; */
6409 /* IDL: } */
6410
6411 static int
6412 drsuapi_dissect_element_DsReplicaObjectListItemEx_next_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6413 {
6414         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaObjectListItemEx_next_object_, NDR_POINTER_UNIQUE, "Pointer to Next Object (drsuapi_DsReplicaObjectListItemEx)",hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_next_object);
6415
6416         return offset;
6417 }
6418
6419 static int
6420 drsuapi_dissect_element_DsReplicaObjectListItemEx_next_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6421 {
6422         offset = drsuapi_dissect_struct_drsuapi_DsReplicaObjectListItemEx(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_next_object,0);
6423
6424         return offset;
6425 }
6426
6427 static int
6428 drsuapi_dissect_element_DsReplicaObjectListItemEx_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6429 {
6430         offset = drsuapi_dissect_struct_DsReplicaObject(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_object,0);
6431
6432         return offset;
6433 }
6434
6435 static int
6436 drsuapi_dissect_element_DsReplicaObjectListItemEx_is_nc_prefix(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6437 {
6438         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_is_nc_prefix, 0);
6439
6440         return offset;
6441 }
6442
6443 static int
6444 drsuapi_dissect_element_DsReplicaObjectListItemEx_parent_object_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6445 {
6446         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaObjectListItemEx_parent_object_guid_, NDR_POINTER_UNIQUE, "Pointer to Parent Object Guid (GUID)",hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_parent_object_guid);
6447
6448         return offset;
6449 }
6450
6451 static int
6452 drsuapi_dissect_element_DsReplicaObjectListItemEx_parent_object_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6453 {
6454         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_parent_object_guid, NULL);
6455
6456         return offset;
6457 }
6458
6459 static int
6460 drsuapi_dissect_element_DsReplicaObjectListItemEx_meta_data_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6461 {
6462         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
6463
6464         return offset;
6465 }
6466
6467 static int
6468 drsuapi_dissect_element_DsReplicaObjectListItemEx_meta_data_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6469 {
6470         offset = drsuapi_dissect_struct_DsReplicaMetaDataCtr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_meta_data_ctr,0);
6471
6472         return offset;
6473 }
6474
6475 int
6476 drsuapi_dissect_struct_DsReplicaObjectListItemEx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6477 {
6478         proto_item *item = NULL;
6479         proto_tree *tree = NULL;
6480         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
6481         int old_offset;
6482
6483         ALIGN_TO_5_BYTES;
6484
6485         old_offset = offset;
6486
6487         if (parent_tree) {
6488                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6489                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjectListItemEx);
6490         }
6491         
6492         offset = drsuapi_dissect_element_DsReplicaObjectListItemEx_next_object(tvb, offset, pinfo, tree, drep);
6493
6494         offset = drsuapi_dissect_element_DsReplicaObjectListItemEx_object(tvb, offset, pinfo, tree, drep);
6495
6496         offset = drsuapi_dissect_element_DsReplicaObjectListItemEx_is_nc_prefix(tvb, offset, pinfo, tree, drep);
6497
6498         offset = drsuapi_dissect_element_DsReplicaObjectListItemEx_parent_object_guid(tvb, offset, pinfo, tree, drep);
6499
6500         offset = drsuapi_dissect_element_DsReplicaObjectListItemEx_meta_data_ctr(tvb, offset, pinfo, tree, drep);
6501
6502
6503         proto_item_set_len(item, offset-old_offset);
6504
6505
6506         if (di->call_data->flags & DCERPC_IS_NDR64) {
6507                 ALIGN_TO_5_BYTES;
6508         }
6509
6510         return offset;
6511 }
6512
6513
6514 /* IDL: struct { */
6515 /* IDL:         GUID source_dsa_guid; */
6516 /* IDL:         GUID source_dsa_invocation_id; */
6517 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectIdentifier *naming_context; */
6518 /* IDL:         drsuapi_DsReplicaHighWaterMark old_highwatermark; */
6519 /* IDL:         drsuapi_DsReplicaHighWaterMark new_highwatermark; */
6520 /* IDL:         [unique(1)] drsuapi_DsReplicaCursorCtrEx *uptodateness_vector; */
6521 /* IDL:         drsuapi_DsReplicaOIDMapping_Ctr mapping_ctr; */
6522 /* IDL:         drsuapi_DsExtendedError extended_ret; */
6523 /* IDL:         uint32 object_count; */
6524 /* IDL:         [value(ndr_size_drsuapi_DsGetNCChangesCtr1(r,ndr->flags)+55)] uint32 __ndr_size; */
6525 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectListItemEx *first_object; */
6526 /* IDL:         uint32 more_data; */
6527 /* IDL: } */
6528
6529 static int
6530 drsuapi_dissect_element_DsGetNCChangesCtr1_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6531 {
6532         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr1_source_dsa_guid, NULL);
6533
6534         return offset;
6535 }
6536
6537 static int
6538 drsuapi_dissect_element_DsGetNCChangesCtr1_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6539 {
6540         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr1_source_dsa_invocation_id, NULL);
6541
6542         return offset;
6543 }
6544
6545 static int
6546 drsuapi_dissect_element_DsGetNCChangesCtr1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6547 {
6548         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesCtr1_naming_context_, NDR_POINTER_UNIQUE, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetNCChangesCtr1_naming_context);
6549
6550         return offset;
6551 }
6552
6553 static int
6554 drsuapi_dissect_element_DsGetNCChangesCtr1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6555 {
6556         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr1_naming_context,0);
6557
6558         return offset;
6559 }
6560
6561 static int
6562 drsuapi_dissect_element_DsGetNCChangesCtr1_old_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6563 {
6564         offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr1_old_highwatermark,0);
6565
6566         return offset;
6567 }
6568
6569 static int
6570 drsuapi_dissect_element_DsGetNCChangesCtr1_new_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6571 {
6572         offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr1_new_highwatermark,0);
6573
6574         return offset;
6575 }
6576
6577 static int
6578 drsuapi_dissect_element_DsGetNCChangesCtr1_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6579 {
6580         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesCtr1_uptodateness_vector_, NDR_POINTER_UNIQUE, "Pointer to Uptodateness Vector (drsuapi_DsReplicaCursorCtrEx)",hf_drsuapi_drsuapi_DsGetNCChangesCtr1_uptodateness_vector);
6581
6582         return offset;
6583 }
6584
6585 static int
6586 drsuapi_dissect_element_DsGetNCChangesCtr1_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6587 {
6588         offset = drsuapi_dissect_struct_DsReplicaCursorCtrEx(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr1_uptodateness_vector,0);
6589
6590         return offset;
6591 }
6592
6593 static int
6594 drsuapi_dissect_element_DsGetNCChangesCtr1_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6595 {
6596         offset = drsuapi_dissect_struct_DsReplicaOIDMapping_Ctr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr1_mapping_ctr,0);
6597
6598         return offset;
6599 }
6600
6601 static int
6602 drsuapi_dissect_element_DsGetNCChangesCtr1_extended_ret(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6603 {
6604         offset = drsuapi_dissect_enum_DsExtendedError(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr1_extended_ret, 0);
6605
6606         return offset;
6607 }
6608
6609 static int
6610 drsuapi_dissect_element_DsGetNCChangesCtr1_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6611 {
6612         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr1_object_count, 0);
6613
6614         return offset;
6615 }
6616
6617 static int
6618 drsuapi_dissect_element_DsGetNCChangesCtr1___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6619 {
6620         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr1___ndr_size, 0);
6621
6622         return offset;
6623 }
6624
6625 static int
6626 drsuapi_dissect_element_DsGetNCChangesCtr1_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6627 {
6628         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesCtr1_first_object_, NDR_POINTER_UNIQUE, "Pointer to First Object (drsuapi_DsReplicaObjectListItemEx)",hf_drsuapi_drsuapi_DsGetNCChangesCtr1_first_object);
6629
6630         return offset;
6631 }
6632
6633 static int
6634 drsuapi_dissect_element_DsGetNCChangesCtr1_first_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6635 {
6636         offset = drsuapi_dissect_struct_DsReplicaObjectListItemEx(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr1_first_object,0);
6637
6638         return offset;
6639 }
6640
6641 static int
6642 drsuapi_dissect_element_DsGetNCChangesCtr1_more_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6643 {
6644         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr1_more_data, 0);
6645
6646         return offset;
6647 }
6648
6649 int
6650 drsuapi_dissect_struct_DsGetNCChangesCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6651 {
6652         proto_item *item = NULL;
6653         proto_tree *tree = NULL;
6654         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
6655         int old_offset;
6656
6657         ALIGN_TO_8_BYTES;
6658
6659         old_offset = offset;
6660
6661         if (parent_tree) {
6662                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6663                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr1);
6664         }
6665         
6666         offset = drsuapi_dissect_element_DsGetNCChangesCtr1_source_dsa_guid(tvb, offset, pinfo, tree, drep);
6667
6668         offset = drsuapi_dissect_element_DsGetNCChangesCtr1_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
6669
6670         offset = drsuapi_dissect_element_DsGetNCChangesCtr1_naming_context(tvb, offset, pinfo, tree, drep);
6671
6672         offset = drsuapi_dissect_element_DsGetNCChangesCtr1_old_highwatermark(tvb, offset, pinfo, tree, drep);
6673
6674         offset = drsuapi_dissect_element_DsGetNCChangesCtr1_new_highwatermark(tvb, offset, pinfo, tree, drep);
6675
6676         offset = drsuapi_dissect_element_DsGetNCChangesCtr1_uptodateness_vector(tvb, offset, pinfo, tree, drep);
6677
6678         offset = drsuapi_dissect_element_DsGetNCChangesCtr1_mapping_ctr(tvb, offset, pinfo, tree, drep);
6679
6680         offset = drsuapi_dissect_element_DsGetNCChangesCtr1_extended_ret(tvb, offset, pinfo, tree, drep);
6681
6682         offset = drsuapi_dissect_element_DsGetNCChangesCtr1_object_count(tvb, offset, pinfo, tree, drep);
6683
6684         offset = drsuapi_dissect_element_DsGetNCChangesCtr1___ndr_size(tvb, offset, pinfo, tree, drep);
6685
6686         offset = drsuapi_dissect_element_DsGetNCChangesCtr1_first_object(tvb, offset, pinfo, tree, drep);
6687
6688         offset = drsuapi_dissect_element_DsGetNCChangesCtr1_more_data(tvb, offset, pinfo, tree, drep);
6689
6690
6691         proto_item_set_len(item, offset-old_offset);
6692
6693
6694         if (di->call_data->flags & DCERPC_IS_NDR64) {
6695                 ALIGN_TO_8_BYTES;
6696         }
6697
6698         return offset;
6699 }
6700
6701
6702 /* IDL: bitmap { */
6703 /* IDL:         DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE =  0x00000001 , */
6704 /* IDL: } */
6705
6706 int
6707 drsuapi_dissect_bitmap_DsLinkedAttributeFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6708 {
6709         proto_item *item = NULL;
6710         proto_tree *tree = NULL;
6711
6712         guint32 flags;
6713         ALIGN_TO_4_BYTES;
6714
6715         if (parent_tree) {
6716                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, DREP_ENC_INTEGER(drep));
6717                 tree = proto_item_add_subtree(item,ett_drsuapi_drsuapi_DsLinkedAttributeFlags);
6718         }
6719
6720         offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
6721         proto_item_append_text(item, ": ");
6722
6723         if (!flags)
6724                 proto_item_append_text(item, "(No values set)");
6725
6726         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DsLinkedAttributeFlags_DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE, tvb, offset-4, 4, flags);
6727         if (flags&( 0x00000001 )){
6728                 proto_item_append_text(item, "DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE");
6729                 if (flags & (~( 0x00000001 )))
6730                         proto_item_append_text(item, ", ");
6731         }
6732         flags&=(~( 0x00000001 ));
6733
6734         if (flags) {
6735                 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
6736         }
6737
6738         return offset;
6739 }
6740
6741
6742 /* IDL: struct { */
6743 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectIdentifier *identifier; */
6744 /* IDL:         drsuapi_DsAttributeId attid; */
6745 /* IDL:         drsuapi_DsAttributeValue value; */
6746 /* IDL:         drsuapi_DsLinkedAttributeFlags flags; */
6747 /* IDL:         NTTIME_1sec originating_add_time; */
6748 /* IDL:         drsuapi_DsReplicaMetaData meta_data; */
6749 /* IDL: } */
6750
6751 static int
6752 drsuapi_dissect_element_DsReplicaLinkedAttribute_identifier(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6753 {
6754         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaLinkedAttribute_identifier_, NDR_POINTER_UNIQUE, "Pointer to Identifier (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_identifier);
6755
6756         return offset;
6757 }
6758
6759 static int
6760 drsuapi_dissect_element_DsReplicaLinkedAttribute_identifier_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6761 {
6762         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_identifier,0);
6763
6764         return offset;
6765 }
6766
6767 static int
6768 drsuapi_dissect_element_DsReplicaLinkedAttribute_attid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6769 {
6770         offset = drsuapi_dissect_enum_DsAttributeId(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_attid, 0);
6771
6772         return offset;
6773 }
6774
6775 static int
6776 drsuapi_dissect_element_DsReplicaLinkedAttribute_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6777 {
6778         offset = drsuapi_dissect_struct_DsAttributeValue(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_value,0);
6779
6780         return offset;
6781 }
6782
6783 static int
6784 drsuapi_dissect_element_DsReplicaLinkedAttribute_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6785 {
6786         offset = drsuapi_dissect_bitmap_DsLinkedAttributeFlags(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_flags, 0);
6787
6788         return offset;
6789 }
6790
6791 static int
6792 drsuapi_dissect_element_DsReplicaLinkedAttribute_originating_add_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6793 {
6794         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_originating_add_time);
6795
6796         return offset;
6797 }
6798
6799 static int
6800 drsuapi_dissect_element_DsReplicaLinkedAttribute_meta_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6801 {
6802         offset = drsuapi_dissect_struct_DsReplicaMetaData(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_meta_data,0);
6803
6804         return offset;
6805 }
6806
6807 int
6808 drsuapi_dissect_struct_DsReplicaLinkedAttribute(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6809 {
6810         proto_item *item = NULL;
6811         proto_tree *tree = NULL;
6812         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
6813         int old_offset;
6814
6815         ALIGN_TO_8_BYTES;
6816
6817         old_offset = offset;
6818
6819         if (parent_tree) {
6820                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6821                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaLinkedAttribute);
6822         }
6823         
6824         offset = drsuapi_dissect_element_DsReplicaLinkedAttribute_identifier(tvb, offset, pinfo, tree, drep);
6825
6826         offset = drsuapi_dissect_element_DsReplicaLinkedAttribute_attid(tvb, offset, pinfo, tree, drep);
6827
6828         offset = drsuapi_dissect_element_DsReplicaLinkedAttribute_value(tvb, offset, pinfo, tree, drep);
6829
6830         offset = drsuapi_dissect_element_DsReplicaLinkedAttribute_flags(tvb, offset, pinfo, tree, drep);
6831
6832         offset = drsuapi_dissect_element_DsReplicaLinkedAttribute_originating_add_time(tvb, offset, pinfo, tree, drep);
6833
6834         offset = drsuapi_dissect_element_DsReplicaLinkedAttribute_meta_data(tvb, offset, pinfo, tree, drep);
6835
6836
6837         proto_item_set_len(item, offset-old_offset);
6838
6839
6840         if (di->call_data->flags & DCERPC_IS_NDR64) {
6841                 ALIGN_TO_8_BYTES;
6842         }
6843
6844         return offset;
6845 }
6846
6847
6848 /* IDL: struct { */
6849 /* IDL:         GUID source_dsa_guid; */
6850 /* IDL:         GUID source_dsa_invocation_id; */
6851 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectIdentifier *naming_context; */
6852 /* IDL:         drsuapi_DsReplicaHighWaterMark old_highwatermark; */
6853 /* IDL:         drsuapi_DsReplicaHighWaterMark new_highwatermark; */
6854 /* IDL:         [unique(1)] drsuapi_DsReplicaCursor2CtrEx *uptodateness_vector; */
6855 /* IDL:         drsuapi_DsReplicaOIDMapping_Ctr mapping_ctr; */
6856 /* IDL:         drsuapi_DsExtendedError extended_ret; */
6857 /* IDL:         uint32 object_count; */
6858 /* IDL:         [value(ndr_size_drsuapi_DsGetNCChangesCtr6(r,ndr->flags)+55)] uint32 __ndr_size; */
6859 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectListItemEx *first_object; */
6860 /* IDL:         uint32 more_data; */
6861 /* IDL:         uint32 nc_object_count; */
6862 /* IDL:         uint32 nc_linked_attributes_count; */
6863 /* IDL:         [range(0,1048576)] uint32 linked_attributes_count; */
6864 /* IDL:         [unique(1)] [size_is(linked_attributes_count)] drsuapi_DsReplicaLinkedAttribute *linked_attributes; */
6865 /* IDL:         WERROR drs_error; */
6866 /* IDL: } */
6867
6868 static int
6869 drsuapi_dissect_element_DsGetNCChangesCtr6_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6870 {
6871         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_source_dsa_guid, NULL);
6872
6873         return offset;
6874 }
6875
6876 static int
6877 drsuapi_dissect_element_DsGetNCChangesCtr6_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6878 {
6879         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_source_dsa_invocation_id, NULL);
6880
6881         return offset;
6882 }
6883
6884 static int
6885 drsuapi_dissect_element_DsGetNCChangesCtr6_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6886 {
6887         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesCtr6_naming_context_, NDR_POINTER_UNIQUE, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetNCChangesCtr6_naming_context);
6888
6889         return offset;
6890 }
6891
6892 static int
6893 drsuapi_dissect_element_DsGetNCChangesCtr6_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6894 {
6895         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6_naming_context,0);
6896
6897         return offset;
6898 }
6899
6900 static int
6901 drsuapi_dissect_element_DsGetNCChangesCtr6_old_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6902 {
6903         offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6_old_highwatermark,0);
6904
6905         return offset;
6906 }
6907
6908 static int
6909 drsuapi_dissect_element_DsGetNCChangesCtr6_new_highwatermark(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6910 {
6911         offset = drsuapi_dissect_struct_DsReplicaHighWaterMark(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6_new_highwatermark,0);
6912
6913         return offset;
6914 }
6915
6916 static int
6917 drsuapi_dissect_element_DsGetNCChangesCtr6_uptodateness_vector(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6918 {
6919         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesCtr6_uptodateness_vector_, NDR_POINTER_UNIQUE, "Pointer to Uptodateness Vector (drsuapi_DsReplicaCursor2CtrEx)",hf_drsuapi_drsuapi_DsGetNCChangesCtr6_uptodateness_vector);
6920
6921         return offset;
6922 }
6923
6924 static int
6925 drsuapi_dissect_element_DsGetNCChangesCtr6_uptodateness_vector_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6926 {
6927         offset = drsuapi_dissect_struct_DsReplicaCursor2CtrEx(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6_uptodateness_vector,0);
6928
6929         return offset;
6930 }
6931
6932 static int
6933 drsuapi_dissect_element_DsGetNCChangesCtr6_mapping_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6934 {
6935         offset = drsuapi_dissect_struct_DsReplicaOIDMapping_Ctr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6_mapping_ctr,0);
6936
6937         return offset;
6938 }
6939
6940 static int
6941 drsuapi_dissect_element_DsGetNCChangesCtr6_extended_ret(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6942 {
6943         offset = drsuapi_dissect_enum_DsExtendedError(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_extended_ret, 0);
6944
6945         return offset;
6946 }
6947
6948 static int
6949 drsuapi_dissect_element_DsGetNCChangesCtr6_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6950 {
6951         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_object_count, 0);
6952
6953         return offset;
6954 }
6955
6956 static int
6957 drsuapi_dissect_element_DsGetNCChangesCtr6___ndr_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6958 {
6959         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6___ndr_size, 0);
6960
6961         return offset;
6962 }
6963
6964 static int
6965 drsuapi_dissect_element_DsGetNCChangesCtr6_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6966 {
6967         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesCtr6_first_object_, NDR_POINTER_UNIQUE, "Pointer to First Object (drsuapi_DsReplicaObjectListItemEx)",hf_drsuapi_drsuapi_DsGetNCChangesCtr6_first_object);
6968
6969         return offset;
6970 }
6971
6972 static int
6973 drsuapi_dissect_element_DsGetNCChangesCtr6_first_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6974 {
6975         offset = drsuapi_dissect_struct_DsReplicaObjectListItemEx(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6_first_object,0);
6976
6977         return offset;
6978 }
6979
6980 static int
6981 drsuapi_dissect_element_DsGetNCChangesCtr6_more_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6982 {
6983         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_more_data, 0);
6984
6985         return offset;
6986 }
6987
6988 static int
6989 drsuapi_dissect_element_DsGetNCChangesCtr6_nc_object_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6990 {
6991         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_nc_object_count, 0);
6992
6993         return offset;
6994 }
6995
6996 static int
6997 drsuapi_dissect_element_DsGetNCChangesCtr6_nc_linked_attributes_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6998 {
6999         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_nc_linked_attributes_count, 0);
7000
7001         return offset;
7002 }
7003
7004 static int
7005 drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7006 {
7007         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_linked_attributes_count, 0);
7008
7009         return offset;
7010 }
7011
7012 static int
7013 drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7014 {
7015         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes_, NDR_POINTER_UNIQUE, "Pointer to Linked Attributes (drsuapi_DsReplicaLinkedAttribute)",hf_drsuapi_drsuapi_DsGetNCChangesCtr6_linked_attributes);
7016
7017         return offset;
7018 }
7019
7020 static int
7021 drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7022 {
7023         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes__);
7024
7025         return offset;
7026 }
7027
7028 static int
7029 drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7030 {
7031         offset = drsuapi_dissect_struct_DsReplicaLinkedAttribute(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6_linked_attributes,0);
7032
7033         return offset;
7034 }
7035
7036 static int
7037 drsuapi_dissect_element_DsGetNCChangesCtr6_drs_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7038 {
7039         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6_drs_error, 0);
7040
7041         return offset;
7042 }
7043
7044 int
7045 drsuapi_dissect_struct_DsGetNCChangesCtr6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
7046 {
7047         proto_item *item = NULL;
7048         proto_tree *tree = NULL;
7049         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
7050         int old_offset;
7051
7052         ALIGN_TO_8_BYTES;
7053
7054         old_offset = offset;
7055
7056         if (parent_tree) {
7057                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7058                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr6);
7059         }
7060         
7061         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_source_dsa_guid(tvb, offset, pinfo, tree, drep);
7062
7063         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
7064
7065         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_naming_context(tvb, offset, pinfo, tree, drep);
7066
7067         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_old_highwatermark(tvb, offset, pinfo, tree, drep);
7068
7069         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_new_highwatermark(tvb, offset, pinfo, tree, drep);
7070
7071         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_uptodateness_vector(tvb, offset, pinfo, tree, drep);
7072
7073         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_mapping_ctr(tvb, offset, pinfo, tree, drep);
7074
7075         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_extended_ret(tvb, offset, pinfo, tree, drep);
7076
7077         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_object_count(tvb, offset, pinfo, tree, drep);
7078
7079         offset = drsuapi_dissect_element_DsGetNCChangesCtr6___ndr_size(tvb, offset, pinfo, tree, drep);
7080
7081         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_first_object(tvb, offset, pinfo, tree, drep);
7082
7083         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_more_data(tvb, offset, pinfo, tree, drep);
7084
7085         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_nc_object_count(tvb, offset, pinfo, tree, drep);
7086
7087         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_nc_linked_attributes_count(tvb, offset, pinfo, tree, drep);
7088
7089         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes_count(tvb, offset, pinfo, tree, drep);
7090
7091         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_linked_attributes(tvb, offset, pinfo, tree, drep);
7092
7093         offset = drsuapi_dissect_element_DsGetNCChangesCtr6_drs_error(tvb, offset, pinfo, tree, drep);
7094
7095
7096         proto_item_set_len(item, offset-old_offset);
7097
7098
7099         if (di->call_data->flags & DCERPC_IS_NDR64) {
7100                 ALIGN_TO_8_BYTES;
7101         }
7102
7103         return offset;
7104 }
7105
7106
7107 /* IDL: struct { */
7108 /* IDL:         [subcontext(0xFFFFFC01)] drsuapi_DsGetNCChangesCtr1 ctr1; */
7109 /* IDL: } */
7110
7111 static int
7112 drsuapi_dissect_element_DsGetNCChangesCtr1TS_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7113 {
7114         dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
7115         guint0 size;
7116         int conformant = di->conformant_run;
7117         tvbuff_t *subtvb;
7118
7119         if (!conformant) {
7120                 guint32 saved_flags = di->call_data->flags;
7121                 offset = dissect_ndr_uint0(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr1TS_ctr1_, &size);
7122                 di->call_data->flags &= ~DCERPC_IS_NDR64;
7123                 subtvb = tvb_new_subset(tvb, offset, size, -1);
7124                 drsuapi_dissect_element_DsGetNCChangesCtr1TS_ctr1_(subtvb, 0, pinfo, tree, drep);
7125                 offset += size;
7126                 di->call_data->flags = saved_flags;
7127         }
7128
7129         return offset;
7130 }
7131
7132 static int
7133 drsuapi_dissect_element_DsGetNCChangesCtr1TS_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7134 {
7135         offset = drsuapi_dissect_struct_DsGetNCChangesCtr1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr1TS_ctr1,0);
7136
7137         return offset;
7138 }
7139
7140 int
7141 drsuapi_dissect_struct_DsGetNCChangesCtr1TS(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
7142 {
7143         proto_item *item = NULL;
7144         proto_tree *tree = NULL;
7145         int old_offset;
7146
7147
7148         old_offset = offset;
7149
7150         if (parent_tree) {
7151                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7152                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr1TS);
7153         }
7154         
7155         offset = drsuapi_dissect_element_DsGetNCChangesCtr1TS_ctr1(tvb, offset, pinfo, tree, drep);
7156
7157
7158         proto_item_set_len(item, offset-old_offset);
7159
7160
7161         return offset;
7162 }
7163
7164
7165 /* IDL: struct { */
7166 /* IDL:         [subcontext(0xFFFFFC01)] drsuapi_DsGetNCChangesCtr6 ctr6; */
7167 /* IDL: } */
7168
7169 static int
7170 drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7171 {
7172         dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
7173         guint0 size;
7174         int conformant = di->conformant_run;
7175         tvbuff_t *subtvb;
7176
7177         if (!conformant) {
7178                 guint32 saved_flags = di->call_data->flags;
7179                 offset = dissect_ndr_uint0(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr6TS_ctr6_, &size);
7180                 di->call_data->flags &= ~DCERPC_IS_NDR64;
7181                 subtvb = tvb_new_subset(tvb, offset, size, -1);
7182                 drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6_(subtvb, 0, pinfo, tree, drep);
7183                 offset += size;
7184                 di->call_data->flags = saved_flags;
7185         }
7186
7187         return offset;
7188 }
7189
7190 static int
7191 drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7192 {
7193         offset = drsuapi_dissect_struct_DsGetNCChangesCtr6(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr6TS_ctr6,0);
7194
7195         return offset;
7196 }
7197
7198 int
7199 drsuapi_dissect_struct_DsGetNCChangesCtr6TS(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
7200 {
7201         proto_item *item = NULL;
7202         proto_tree *tree = NULL;
7203         int old_offset;
7204
7205
7206         old_offset = offset;
7207
7208         if (parent_tree) {
7209                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7210                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr6TS);
7211         }
7212         
7213         offset = drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6(tvb, offset, pinfo, tree, drep);
7214
7215
7216         proto_item_set_len(item, offset-old_offset);
7217
7218
7219         return offset;
7220 }
7221
7222
7223 /* IDL: struct { */
7224 /* IDL:         uint32 decompressed_length; */
7225 /* IDL:         uint32 compressed_length; */
7226 /* IDL:         [unique(1)] [compression(NDR_COMPRESSION_MSZIP,compressed_length,decompressed_length)] [subcontext_size(compressed_length)] [subcontext(4)] drsuapi_DsGetNCChangesCtr1TS *ts; */
7227 /* IDL: } */
7228
7229 static int
7230 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7231 {
7232         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_decompressed_length, 0);
7233
7234         return offset;
7235 }
7236
7237 static int
7238 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7239 {
7240         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_compressed_length, 0);
7241
7242         return offset;
7243 }
7244
7245 static int
7246 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7247 {
7248         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts_, NDR_POINTER_UNIQUE, "Pointer to Ts (drsuapi_DsGetNCChangesCtr1TS)",hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_ts);
7249
7250         return offset;
7251 }
7252
7253 static int
7254 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7255 {
7256         dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
7257         guint3264 size;
7258         int conformant = di->conformant_run;
7259         tvbuff_t *subtvb;
7260
7261         if (!conformant) {
7262                 guint32 saved_flags = di->call_data->flags;
7263                 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_ts_, &size);
7264                 di->call_data->flags &= ~DCERPC_IS_NDR64;
7265                 subtvb = tvb_new_subset(tvb, offset, size, -1);
7266                 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts__(subtvb, 0, pinfo, tree, drep);
7267                 offset += size;
7268                 di->call_data->flags = saved_flags;
7269         }
7270
7271         return offset;
7272 }
7273
7274 static int
7275 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7276 {
7277         offset = drsuapi_dissect_struct_DsGetNCChangesCtr1TS(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_ts,0);
7278
7279         return offset;
7280 }
7281
7282 int
7283 drsuapi_dissect_struct_DsGetNCChangesMSZIPCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
7284 {
7285         proto_item *item = NULL;
7286         proto_tree *tree = NULL;
7287         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
7288         int old_offset;
7289
7290         ALIGN_TO_5_BYTES;
7291
7292         old_offset = offset;
7293
7294         if (parent_tree) {
7295                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7296                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1);
7297         }
7298         
7299         offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_decompressed_length(tvb, offset, pinfo, tree, drep);
7300
7301         offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_compressed_length(tvb, offset, pinfo, tree, drep);
7302
7303         offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr1_ts(tvb, offset, pinfo, tree, drep);
7304
7305
7306         proto_item_set_len(item, offset-old_offset);
7307
7308
7309         if (di->call_data->flags & DCERPC_IS_NDR64) {
7310                 ALIGN_TO_5_BYTES;
7311         }
7312
7313         return offset;
7314 }
7315
7316
7317 /* IDL: struct { */
7318 /* IDL:         uint32 decompressed_length; */
7319 /* IDL:         uint32 compressed_length; */
7320 /* IDL:         [unique(1)] [compression(NDR_COMPRESSION_MSZIP,compressed_length,decompressed_length)] [subcontext_size(compressed_length)] [subcontext(4)] drsuapi_DsGetNCChangesCtr6TS *ts; */
7321 /* IDL: } */
7322
7323 static int
7324 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7325 {
7326         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_decompressed_length, 0);
7327
7328         return offset;
7329 }
7330
7331 static int
7332 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7333 {
7334         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_compressed_length, 0);
7335
7336         return offset;
7337 }
7338
7339 static int
7340 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7341 {
7342         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts_, NDR_POINTER_UNIQUE, "Pointer to Ts (drsuapi_DsGetNCChangesCtr6TS)",hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_ts);
7343
7344         return offset;
7345 }
7346
7347 static int
7348 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7349 {
7350         dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
7351         guint3264 size;
7352         int conformant = di->conformant_run;
7353         tvbuff_t *subtvb;
7354
7355         if (!conformant) {
7356                 guint32 saved_flags = di->call_data->flags;
7357                 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_ts_, &size);
7358                 di->call_data->flags &= ~DCERPC_IS_NDR64;
7359                 subtvb = tvb_new_subset(tvb, offset, size, -1);
7360                 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts__(subtvb, 0, pinfo, tree, drep);
7361                 offset += size;
7362                 di->call_data->flags = saved_flags;
7363         }
7364
7365         return offset;
7366 }
7367
7368 static int
7369 drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7370 {
7371         offset = drsuapi_dissect_struct_DsGetNCChangesCtr6TS(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_ts,0);
7372
7373         return offset;
7374 }
7375
7376 int
7377 drsuapi_dissect_struct_DsGetNCChangesMSZIPCtr6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
7378 {
7379         proto_item *item = NULL;
7380         proto_tree *tree = NULL;
7381         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
7382         int old_offset;
7383
7384         ALIGN_TO_5_BYTES;
7385
7386         old_offset = offset;
7387
7388         if (parent_tree) {
7389                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7390                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6);
7391         }
7392         
7393         offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_decompressed_length(tvb, offset, pinfo, tree, drep);
7394
7395         offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_compressed_length(tvb, offset, pinfo, tree, drep);
7396
7397         offset = drsuapi_dissect_element_DsGetNCChangesMSZIPCtr6_ts(tvb, offset, pinfo, tree, drep);
7398
7399
7400         proto_item_set_len(item, offset-old_offset);
7401
7402
7403         if (di->call_data->flags & DCERPC_IS_NDR64) {
7404                 ALIGN_TO_5_BYTES;
7405         }
7406
7407         return offset;
7408 }
7409
7410
7411 /* IDL: struct { */
7412 /* IDL:         uint32 decompressed_length; */
7413 /* IDL:         uint32 compressed_length; */
7414 /* IDL:         [unique(1)] [compression(NDR_COMPRESSION_XPRESS,compressed_length,decompressed_length)] [subcontext_size(compressed_length)] [subcontext(4)] drsuapi_DsGetNCChangesCtr1TS *ts; */
7415 /* IDL: } */
7416
7417 static int
7418 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7419 {
7420         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_decompressed_length, 0);
7421
7422         return offset;
7423 }
7424
7425 static int
7426 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7427 {
7428         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_compressed_length, 0);
7429
7430         return offset;
7431 }
7432
7433 static int
7434 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7435 {
7436         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts_, NDR_POINTER_UNIQUE, "Pointer to Ts (drsuapi_DsGetNCChangesCtr1TS)",hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_ts);
7437
7438         return offset;
7439 }
7440
7441 static int
7442 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7443 {
7444         dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
7445         guint3264 size;
7446         int conformant = di->conformant_run;
7447         tvbuff_t *subtvb;
7448
7449         if (!conformant) {
7450                 guint32 saved_flags = di->call_data->flags;
7451                 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_ts_, &size);
7452                 di->call_data->flags &= ~DCERPC_IS_NDR64;
7453                 subtvb = tvb_new_subset(tvb, offset, size, -1);
7454                 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts__(subtvb, 0, pinfo, tree, drep);
7455                 offset += size;
7456                 di->call_data->flags = saved_flags;
7457         }
7458
7459         return offset;
7460 }
7461
7462 static int
7463 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7464 {
7465         offset = drsuapi_dissect_struct_DsGetNCChangesCtr1TS(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_ts,0);
7466
7467         return offset;
7468 }
7469
7470 int
7471 drsuapi_dissect_struct_DsGetNCChangesXPRESSCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
7472 {
7473         proto_item *item = NULL;
7474         proto_tree *tree = NULL;
7475         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
7476         int old_offset;
7477
7478         ALIGN_TO_5_BYTES;
7479
7480         old_offset = offset;
7481
7482         if (parent_tree) {
7483                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7484                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1);
7485         }
7486         
7487         offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_decompressed_length(tvb, offset, pinfo, tree, drep);
7488
7489         offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_compressed_length(tvb, offset, pinfo, tree, drep);
7490
7491         offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr1_ts(tvb, offset, pinfo, tree, drep);
7492
7493
7494         proto_item_set_len(item, offset-old_offset);
7495
7496
7497         if (di->call_data->flags & DCERPC_IS_NDR64) {
7498                 ALIGN_TO_5_BYTES;
7499         }
7500
7501         return offset;
7502 }
7503
7504
7505 /* IDL: struct { */
7506 /* IDL:         uint32 decompressed_length; */
7507 /* IDL:         uint32 compressed_length; */
7508 /* IDL:         [unique(1)] [compression(NDR_COMPRESSION_XPRESS,compressed_length,decompressed_length)] [subcontext_size(compressed_length)] [subcontext(4)] drsuapi_DsGetNCChangesCtr6TS *ts; */
7509 /* IDL: } */
7510
7511 static int
7512 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_decompressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7513 {
7514         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_decompressed_length, 0);
7515
7516         return offset;
7517 }
7518
7519 static int
7520 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_compressed_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7521 {
7522         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_compressed_length, 0);
7523
7524         return offset;
7525 }
7526
7527 static int
7528 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7529 {
7530         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts_, NDR_POINTER_UNIQUE, "Pointer to Ts (drsuapi_DsGetNCChangesCtr6TS)",hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_ts);
7531
7532         return offset;
7533 }
7534
7535 static int
7536 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7537 {
7538         dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
7539         guint3264 size;
7540         int conformant = di->conformant_run;
7541         tvbuff_t *subtvb;
7542
7543         if (!conformant) {
7544                 guint32 saved_flags = di->call_data->flags;
7545                 offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_ts_, &size);
7546                 di->call_data->flags &= ~DCERPC_IS_NDR64;
7547                 subtvb = tvb_new_subset(tvb, offset, size, -1);
7548                 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts__(subtvb, 0, pinfo, tree, drep);
7549                 offset += size;
7550                 di->call_data->flags = saved_flags;
7551         }
7552
7553         return offset;
7554 }
7555
7556 static int
7557 drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7558 {
7559         offset = drsuapi_dissect_struct_DsGetNCChangesCtr6TS(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_ts,0);
7560
7561         return offset;
7562 }
7563
7564 int
7565 drsuapi_dissect_struct_DsGetNCChangesXPRESSCtr6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
7566 {
7567         proto_item *item = NULL;
7568         proto_tree *tree = NULL;
7569         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
7570         int old_offset;
7571
7572         ALIGN_TO_5_BYTES;
7573
7574         old_offset = offset;
7575
7576         if (parent_tree) {
7577                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7578                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6);
7579         }
7580         
7581         offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_decompressed_length(tvb, offset, pinfo, tree, drep);
7582
7583         offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_compressed_length(tvb, offset, pinfo, tree, drep);
7584
7585         offset = drsuapi_dissect_element_DsGetNCChangesXPRESSCtr6_ts(tvb, offset, pinfo, tree, drep);
7586
7587
7588         proto_item_set_len(item, offset-old_offset);
7589
7590
7591         if (di->call_data->flags & DCERPC_IS_NDR64) {
7592                 ALIGN_TO_5_BYTES;
7593         }
7594
7595         return offset;
7596 }
7597
7598
7599 /* IDL: enum { */
7600 /* IDL:         DRSUAPI_COMPRESSION_TYPE_MSZIP=2, */
7601 /* IDL:         DRSUAPI_COMPRESSION_TYPE_XPRESS=3, */
7602 /* IDL: } */
7603
7604 int
7605 drsuapi_dissect_enum_DsGetNCChangesCompressionType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
7606 {
7607         guint1632 parameter=0;
7608         if(param){
7609                 parameter=(guint1632)*param;
7610         }
7611         offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
7612         if(param){
7613                 *param=(guint32)parameter;
7614         }
7615         return offset;
7616 }
7617
7618
7619 /* IDL: [nodiscriminant(1)] [flag(LIBNDR_PRINT_ARRAY_HEX)] union { */
7620 /* IDL: [case(1|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16))] [case(1|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16))] drsuapi_DsGetNCChangesMSZIPCtr1 mszip1; */
7621 /* IDL: [case(6|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16))] [case(6|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16))] drsuapi_DsGetNCChangesMSZIPCtr6 mszip6; */
7622 /* IDL: [case(1|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16))] [case(1|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16))] drsuapi_DsGetNCChangesXPRESSCtr1 xpress1; */
7623 /* IDL: [case(6|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16))] [case(6|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16))] drsuapi_DsGetNCChangesXPRESSCtr6 xpress6; */
7624 /* IDL: } */
7625
7626 static int
7627 drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7628 {
7629         offset = drsuapi_dissect_struct_DsGetNCChangesMSZIPCtr1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip1,0);
7630
7631         return offset;
7632 }
7633
7634 static int
7635 drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7636 {
7637         offset = drsuapi_dissect_struct_DsGetNCChangesMSZIPCtr6(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip6,0);
7638
7639         return offset;
7640 }
7641
7642 static int
7643 drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7644 {
7645         offset = drsuapi_dissect_struct_DsGetNCChangesXPRESSCtr1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress1,0);
7646
7647         return offset;
7648 }
7649
7650 static int
7651 drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7652 {
7653         offset = drsuapi_dissect_struct_DsGetNCChangesXPRESSCtr6(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress6,0);
7654
7655         return offset;
7656 }
7657
7658 static int
7659 drsuapi_dissect_DsGetNCChangesCompressedCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
7660 {
7661         proto_item *item = NULL;
7662         proto_tree *tree = NULL;
7663         int old_offset;
7664         guint32 level = param;
7665
7666         old_offset = offset;
7667         if (parent_tree) {
7668                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsGetNCChangesCompressedCtr");
7669                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCompressedCtr);
7670         }
7671
7672         switch(level) {
7673                 case 1|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16):
7674                         offset = drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip1(tvb, offset, pinfo, tree, drep);
7675                 break;
7676
7677                 case 6|(DRSUAPI_COMPRESSION_TYPE_MSZIP<<16):
7678                         offset = drsuapi_dissect_element_DsGetNCChangesCompressedCtr_mszip6(tvb, offset, pinfo, tree, drep);
7679                 break;
7680
7681                 case 1|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16):
7682                         offset = drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress1(tvb, offset, pinfo, tree, drep);
7683                 break;
7684
7685                 case 6|(DRSUAPI_COMPRESSION_TYPE_XPRESS<<16):
7686                         offset = drsuapi_dissect_element_DsGetNCChangesCompressedCtr_xpress6(tvb, offset, pinfo, tree, drep);
7687                 break;
7688         }
7689         proto_item_set_len(item, offset-old_offset);
7690
7691
7692         return offset;
7693 }
7694
7695 /* IDL: struct { */
7696 /* IDL:         drsuapi_DsGetNCChangesMSZIPCtr1 mszip1; */
7697 /* IDL: } */
7698
7699 static int
7700 drsuapi_dissect_element_DsGetNCChangesCtr2_mszip1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7701 {
7702         offset = drsuapi_dissect_struct_DsGetNCChangesMSZIPCtr1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr2_mszip1,0);
7703
7704         return offset;
7705 }
7706
7707 int
7708 drsuapi_dissect_struct_DsGetNCChangesCtr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
7709 {
7710         proto_item *item = NULL;
7711         proto_tree *tree = NULL;
7712         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
7713         int old_offset;
7714
7715         ALIGN_TO_5_BYTES;
7716
7717         old_offset = offset;
7718
7719         if (parent_tree) {
7720                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7721                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr2);
7722         }
7723         
7724         offset = drsuapi_dissect_element_DsGetNCChangesCtr2_mszip1(tvb, offset, pinfo, tree, drep);
7725
7726
7727         proto_item_set_len(item, offset-old_offset);
7728
7729
7730         if (di->call_data->flags & DCERPC_IS_NDR64) {
7731                 ALIGN_TO_5_BYTES;
7732         }
7733
7734         return offset;
7735 }
7736
7737
7738 /* IDL: struct { */
7739 /* IDL:         [range(0,6)] uint32 level; */
7740 /* IDL:         [range(2,3)] drsuapi_DsGetNCChangesCompressionType type; */
7741 /* IDL:         [switch_is(level|(type<<16))] drsuapi_DsGetNCChangesCompressedCtr ctr; */
7742 /* IDL: } */
7743
7744 static int
7745 drsuapi_dissect_element_DsGetNCChangesCtr7_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *level)
7746 {
7747         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr7_level, level);
7748
7749         return offset;
7750 }
7751
7752 static int
7753 drsuapi_dissect_element_DsGetNCChangesCtr7_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint1632 *type)
7754 {
7755         offset = drsuapi_dissect_enum_DsGetNCChangesCompressionType(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr7_type, type);
7756
7757         return offset;
7758 }
7759
7760 static int
7761 drsuapi_dissect_element_DsGetNCChangesCtr7_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_,  *)
7762 {
7763         offset = drsuapi_dissect_DsGetNCChangesCompressedCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChangesCtr7_ctr, *);
7764
7765         return offset;
7766 }
7767
7768 int
7769 drsuapi_dissect_struct_DsGetNCChangesCtr7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
7770 {
7771         g level;
7772         guint1632 type;
7773         proto_item *item = NULL;
7774         proto_tree *tree = NULL;
7775         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
7776         int old_offset;
7777
7778         ALIGN_TO_5_BYTES;
7779
7780         old_offset = offset;
7781
7782         if (parent_tree) {
7783                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7784                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr7);
7785         }
7786         
7787         offset = drsuapi_dissect_element_DsGetNCChangesCtr7_level(tvb, offset, pinfo, tree, drep, &level);
7788
7789         offset = drsuapi_dissect_element_DsGetNCChangesCtr7_type(tvb, offset, pinfo, tree, drep, &type);
7790
7791         offset = drsuapi_dissect_element_DsGetNCChangesCtr7_ctr(tvb, offset, pinfo, tree, drep, &);
7792
7793
7794         proto_item_set_len(item, offset-old_offset);
7795
7796
7797         if (di->call_data->flags & DCERPC_IS_NDR64) {
7798                 ALIGN_TO_5_BYTES;
7799         }
7800
7801         return offset;
7802 }
7803
7804
7805 /* IDL: [switch_type(uint32)] union { */
7806 /* IDL: [case(1)] [case(1)] drsuapi_DsGetNCChangesCtr1 ctr1; */
7807 /* IDL: [case(2)] [case(2)] drsuapi_DsGetNCChangesCtr2 ctr2; */
7808 /* IDL: [case(6)] [case(6)] drsuapi_DsGetNCChangesCtr6 ctr6; */
7809 /* IDL: [case(7)] [case(7)] drsuapi_DsGetNCChangesCtr7 ctr7; */
7810 /* IDL: } */
7811
7812 static int
7813 drsuapi_dissect_element_DsGetNCChangesCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7814 {
7815         offset = drsuapi_dissect_struct_DsGetNCChangesCtr1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr1,0);
7816
7817         return offset;
7818 }
7819
7820 static int
7821 drsuapi_dissect_element_DsGetNCChangesCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7822 {
7823         offset = drsuapi_dissect_struct_DsGetNCChangesCtr2(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr2,0);
7824
7825         return offset;
7826 }
7827
7828 static int
7829 drsuapi_dissect_element_DsGetNCChangesCtr_ctr6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7830 {
7831         offset = drsuapi_dissect_struct_DsGetNCChangesCtr6(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr6,0);
7832
7833         return offset;
7834 }
7835
7836 static int
7837 drsuapi_dissect_element_DsGetNCChangesCtr_ctr7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7838 {
7839         offset = drsuapi_dissect_struct_DsGetNCChangesCtr7(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr7,0);
7840
7841         return offset;
7842 }
7843
7844 static int
7845 drsuapi_dissect_DsGetNCChangesCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
7846 {
7847         proto_item *item = NULL;
7848         proto_tree *tree = NULL;
7849         int old_offset;
7850         guint32 level;
7851
7852         old_offset = offset;
7853         if (parent_tree) {
7854                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsGetNCChangesCtr");
7855                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNCChangesCtr);
7856         }
7857
7858         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
7859         ALIGN_TO_8_BYTES;
7860
7861         switch(level) {
7862                 case 1:
7863                         offset = drsuapi_dissect_element_DsGetNCChangesCtr_ctr1(tvb, offset, pinfo, tree, drep);
7864                 break;
7865
7866                 case 2:
7867                         offset = drsuapi_dissect_element_DsGetNCChangesCtr_ctr2(tvb, offset, pinfo, tree, drep);
7868                 break;
7869
7870                 case 6:
7871                         offset = drsuapi_dissect_element_DsGetNCChangesCtr_ctr6(tvb, offset, pinfo, tree, drep);
7872                 break;
7873
7874                 case 7:
7875                         offset = drsuapi_dissect_element_DsGetNCChangesCtr_ctr7(tvb, offset, pinfo, tree, drep);
7876                 break;
7877         }
7878         proto_item_set_len(item, offset-old_offset);
7879
7880
7881         return offset;
7882 }
7883
7884 /* IDL: struct { */
7885 /* IDL:         [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
7886 /* IDL:         [ref] [charset(DOS)] uint8 *dest_dsa_dns_name; */
7887 /* IDL:         GUID dest_dsa_guid; */
7888 /* IDL:         drsuapi_DrsOptions options; */
7889 /* IDL: } */
7890
7891 static int
7892 drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7893 {
7894         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_naming_context);
7895
7896         return offset;
7897 }
7898
7899 static int
7900 drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7901 {
7902         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_naming_context,0);
7903
7904         return offset;
7905 }
7906
7907 static int
7908 drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7909 {
7910         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
7911
7912         return offset;
7913 }
7914
7915 static int
7916 drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7917 {
7918         char *data;
7919
7920         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint8), hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name, FALSE, &data);
7921         proto_item_append_text(tree, ": %s", data);
7922
7923         return offset;
7924 }
7925
7926 static int
7927 drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7928 {
7929         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid, NULL);
7930
7931         return offset;
7932 }
7933
7934 static int
7935 drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7936 {
7937         offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_options, 0);
7938
7939         return offset;
7940 }
7941
7942 int
7943 drsuapi_dissect_struct_DsReplicaUpdateRefsRequest1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
7944 {
7945         proto_item *item = NULL;
7946         proto_tree *tree = NULL;
7947         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
7948         int old_offset;
7949
7950         ALIGN_TO_5_BYTES;
7951
7952         old_offset = offset;
7953
7954         if (parent_tree) {
7955                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7956                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1);
7957         }
7958         
7959         offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_naming_context(tvb, offset, pinfo, tree, drep);
7960
7961         offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name(tvb, offset, pinfo, tree, drep);
7962
7963         offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_dest_dsa_guid(tvb, offset, pinfo, tree, drep);
7964
7965         offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest1_options(tvb, offset, pinfo, tree, drep);
7966
7967
7968         proto_item_set_len(item, offset-old_offset);
7969
7970
7971         if (di->call_data->flags & DCERPC_IS_NDR64) {
7972                 ALIGN_TO_5_BYTES;
7973         }
7974
7975         return offset;
7976 }
7977
7978
7979 /* IDL: [switch_type(uint32)] union { */
7980 /* IDL: [case(1)] [case(1)] drsuapi_DsReplicaUpdateRefsRequest1 req1; */
7981 /* IDL: } */
7982
7983 static int
7984 drsuapi_dissect_element_DsReplicaUpdateRefsRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7985 {
7986         offset = drsuapi_dissect_struct_DsReplicaUpdateRefsRequest1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest_req1,0);
7987
7988         return offset;
7989 }
7990
7991 static int
7992 drsuapi_dissect_DsReplicaUpdateRefsRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
7993 {
7994         proto_item *item = NULL;
7995         proto_tree *tree = NULL;
7996         int old_offset;
7997         guint32 level;
7998
7999         old_offset = offset;
8000         if (parent_tree) {
8001                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsReplicaUpdateRefsRequest");
8002                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest);
8003         }
8004
8005         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
8006         ALIGN_TO_5_BYTES;
8007
8008         switch(level) {
8009                 case 1:
8010                         offset = drsuapi_dissect_element_DsReplicaUpdateRefsRequest_req1(tvb, offset, pinfo, tree, drep);
8011                 break;
8012         }
8013         proto_item_set_len(item, offset-old_offset);
8014
8015
8016         return offset;
8017 }
8018
8019 /* IDL: struct { */
8020 /* IDL:         [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
8021 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *source_dsa_address; */
8022 /* IDL:         uint8 schedule[84]; */
8023 /* IDL:         drsuapi_DrsOptions options; */
8024 /* IDL: } */
8025
8026 static int
8027 drsuapi_dissect_element_DsReplicaAddRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8028 {
8029         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAddRequest1_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaAddRequest1_naming_context);
8030
8031         return offset;
8032 }
8033
8034 static int
8035 drsuapi_dissect_element_DsReplicaAddRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8036 {
8037         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest1_naming_context,0);
8038
8039         return offset;
8040 }
8041
8042 static int
8043 drsuapi_dissect_element_DsReplicaAddRequest1_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8044 {
8045         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAddRequest1_source_dsa_address_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Address (uint16)",hf_drsuapi_drsuapi_DsReplicaAddRequest1_source_dsa_address);
8046
8047         return offset;
8048 }
8049
8050 static int
8051 drsuapi_dissect_element_DsReplicaAddRequest1_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8052 {
8053         char *data;
8054
8055         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaAddRequest1_source_dsa_address, FALSE, &data);
8056         proto_item_append_text(tree, ": %s", data);
8057
8058         return offset;
8059 }
8060
8061 static int
8062 drsuapi_dissect_element_DsReplicaAddRequest1_schedule(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8063 {
8064         dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
8065         int conformant = di->conformant_run;
8066         if (!conformant) {
8067                 offset = drsuapi_dissect_element_DsReplicaAddRequest1_schedule_(tvb, offset, 84, pinfo, tree, drep);
8068         }
8069
8070         return offset;
8071 }
8072
8073 static int
8074 drsuapi_dissect_element_DsReplicaAddRequest1_schedule_(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8075 {
8076         proto_tree_add_bytes(tree, hf_drsuapi_drsuapi_DsReplicaAddRequest1_schedule, tvb, offset, length, tvb_get_ptr(tvb, offset,length)); offset += length;
8077
8078         return offset;
8079 }
8080
8081 static int
8082 drsuapi_dissect_element_DsReplicaAddRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8083 {
8084         offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAddRequest1_options, 0);
8085
8086         return offset;
8087 }
8088
8089 int
8090 drsuapi_dissect_struct_DsReplicaAddRequest1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
8091 {
8092         proto_item *item = NULL;
8093         proto_tree *tree = NULL;
8094         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
8095         int old_offset;
8096
8097         ALIGN_TO_5_BYTES;
8098
8099         old_offset = offset;
8100
8101         if (parent_tree) {
8102                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8103                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAddRequest1);
8104         }
8105         
8106         offset = drsuapi_dissect_element_DsReplicaAddRequest1_naming_context(tvb, offset, pinfo, tree, drep);
8107
8108         offset = drsuapi_dissect_element_DsReplicaAddRequest1_source_dsa_address(tvb, offset, pinfo, tree, drep);
8109
8110         offset = drsuapi_dissect_element_DsReplicaAddRequest1_schedule(tvb, offset, pinfo, tree, drep);
8111
8112         offset = drsuapi_dissect_element_DsReplicaAddRequest1_options(tvb, offset, pinfo, tree, drep);
8113
8114
8115         proto_item_set_len(item, offset-old_offset);
8116
8117
8118         if (di->call_data->flags & DCERPC_IS_NDR64) {
8119                 ALIGN_TO_5_BYTES;
8120         }
8121
8122         return offset;
8123 }
8124
8125
8126 /* IDL: struct { */
8127 /* IDL:         [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
8128 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectIdentifier *source_dsa_dn; */
8129 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectIdentifier *transport_dn; */
8130 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *source_dsa_address; */
8131 /* IDL:         uint8 schedule[84]; */
8132 /* IDL:         drsuapi_DrsOptions options; */
8133 /* IDL: } */
8134
8135 static int
8136 drsuapi_dissect_element_DsReplicaAddRequest2_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8137 {
8138         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAddRequest2_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaAddRequest2_naming_context);
8139
8140         return offset;
8141 }
8142
8143 static int
8144 drsuapi_dissect_element_DsReplicaAddRequest2_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8145 {
8146         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest2_naming_context,0);
8147
8148         return offset;
8149 }
8150
8151 static int
8152 drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8153 {
8154         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
8155
8156         return offset;
8157 }
8158
8159 static int
8160 drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8161 {
8162         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_dn,0);
8163
8164         return offset;
8165 }
8166
8167 static int
8168 drsuapi_dissect_element_DsReplicaAddRequest2_transport_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8169 {
8170         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAddRequest2_transport_dn_, NDR_POINTER_UNIQUE, "Pointer to Transport Dn (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaAddRequest2_transport_dn);
8171
8172         return offset;
8173 }
8174
8175 static int
8176 drsuapi_dissect_element_DsReplicaAddRequest2_transport_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8177 {
8178         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest2_transport_dn,0);
8179
8180         return offset;
8181 }
8182
8183 static int
8184 drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8185 {
8186         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_address_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Address (uint16)",hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_address);
8187
8188         return offset;
8189 }
8190
8191 static int
8192 drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8193 {
8194         char *data;
8195
8196         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_address, FALSE, &data);
8197         proto_item_append_text(tree, ": %s", data);
8198
8199         return offset;
8200 }
8201
8202 static int
8203 drsuapi_dissect_element_DsReplicaAddRequest2_schedule(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8204 {
8205         dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
8206         int conformant = di->conformant_run;
8207         if (!conformant) {
8208                 offset = drsuapi_dissect_element_DsReplicaAddRequest2_schedule_(tvb, offset, 84, pinfo, tree, drep);
8209         }
8210
8211         return offset;
8212 }
8213
8214 static int
8215 drsuapi_dissect_element_DsReplicaAddRequest2_schedule_(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8216 {
8217         proto_tree_add_bytes(tree, hf_drsuapi_drsuapi_DsReplicaAddRequest2_schedule, tvb, offset, length, tvb_get_ptr(tvb, offset,length)); offset += length;
8218
8219         return offset;
8220 }
8221
8222 static int
8223 drsuapi_dissect_element_DsReplicaAddRequest2_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8224 {
8225         offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAddRequest2_options, 0);
8226
8227         return offset;
8228 }
8229
8230 int
8231 drsuapi_dissect_struct_DsReplicaAddRequest2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
8232 {
8233         proto_item *item = NULL;
8234         proto_tree *tree = NULL;
8235         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
8236         int old_offset;
8237
8238         ALIGN_TO_5_BYTES;
8239
8240         old_offset = offset;
8241
8242         if (parent_tree) {
8243                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8244                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAddRequest2);
8245         }
8246         
8247         offset = drsuapi_dissect_element_DsReplicaAddRequest2_naming_context(tvb, offset, pinfo, tree, drep);
8248
8249         offset = drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_dn(tvb, offset, pinfo, tree, drep);
8250
8251         offset = drsuapi_dissect_element_DsReplicaAddRequest2_transport_dn(tvb, offset, pinfo, tree, drep);
8252
8253         offset = drsuapi_dissect_element_DsReplicaAddRequest2_source_dsa_address(tvb, offset, pinfo, tree, drep);
8254
8255         offset = drsuapi_dissect_element_DsReplicaAddRequest2_schedule(tvb, offset, pinfo, tree, drep);
8256
8257         offset = drsuapi_dissect_element_DsReplicaAddRequest2_options(tvb, offset, pinfo, tree, drep);
8258
8259
8260         proto_item_set_len(item, offset-old_offset);
8261
8262
8263         if (di->call_data->flags & DCERPC_IS_NDR64) {
8264                 ALIGN_TO_5_BYTES;
8265         }
8266
8267         return offset;
8268 }
8269
8270
8271 /* IDL: [switch_type(uint32)] union { */
8272 /* IDL: [case(1)] [case(1)] drsuapi_DsReplicaAddRequest1 req1; */
8273 /* IDL: [case(2)] [case(2)] drsuapi_DsReplicaAddRequest2 req2; */
8274 /* IDL: } */
8275
8276 static int
8277 drsuapi_dissect_element_DsReplicaAddRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8278 {
8279         offset = drsuapi_dissect_struct_DsReplicaAddRequest1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest_req1,0);
8280
8281         return offset;
8282 }
8283
8284 static int
8285 drsuapi_dissect_element_DsReplicaAddRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8286 {
8287         offset = drsuapi_dissect_struct_DsReplicaAddRequest2(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaAddRequest_req2,0);
8288
8289         return offset;
8290 }
8291
8292 static int
8293 drsuapi_dissect_DsReplicaAddRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
8294 {
8295         proto_item *item = NULL;
8296         proto_tree *tree = NULL;
8297         int old_offset;
8298         guint32 level;
8299
8300         old_offset = offset;
8301         if (parent_tree) {
8302                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsReplicaAddRequest");
8303                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAddRequest);
8304         }
8305
8306         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
8307         ALIGN_TO_5_BYTES;
8308
8309         switch(level) {
8310                 case 1:
8311                         offset = drsuapi_dissect_element_DsReplicaAddRequest_req1(tvb, offset, pinfo, tree, drep);
8312                 break;
8313
8314                 case 2:
8315                         offset = drsuapi_dissect_element_DsReplicaAddRequest_req2(tvb, offset, pinfo, tree, drep);
8316                 break;
8317         }
8318         proto_item_set_len(item, offset-old_offset);
8319
8320
8321         return offset;
8322 }
8323
8324 /* IDL: struct { */
8325 /* IDL:         [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
8326 /* IDL:         [unique(1)] [charset(UTF8)] uint8 *source_dsa_address; */
8327 /* IDL:         drsuapi_DrsOptions options; */
8328 /* IDL: } */
8329
8330 static int
8331 drsuapi_dissect_element_DsReplicaDelRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8332 {
8333         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaDelRequest1_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaDelRequest1_naming_context);
8334
8335         return offset;
8336 }
8337
8338 static int
8339 drsuapi_dissect_element_DsReplicaDelRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8340 {
8341         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaDelRequest1_naming_context,0);
8342
8343         return offset;
8344 }
8345
8346 static int
8347 drsuapi_dissect_element_DsReplicaDelRequest1_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8348 {
8349         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaDelRequest1_source_dsa_address_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Address (uint8)",hf_drsuapi_drsuapi_DsReplicaDelRequest1_source_dsa_address);
8350
8351         return offset;
8352 }
8353
8354 static int
8355 drsuapi_dissect_element_DsReplicaDelRequest1_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8356 {
8357         char *data;
8358
8359         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint8), hf_drsuapi_drsuapi_DsReplicaDelRequest1_source_dsa_address, FALSE, &data);
8360         proto_item_append_text(tree, ": %s", data);
8361
8362         return offset;
8363 }
8364
8365 static int
8366 drsuapi_dissect_element_DsReplicaDelRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8367 {
8368         offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaDelRequest1_options, 0);
8369
8370         return offset;
8371 }
8372
8373 int
8374 drsuapi_dissect_struct_DsReplicaDelRequest1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
8375 {
8376         proto_item *item = NULL;
8377         proto_tree *tree = NULL;
8378         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
8379         int old_offset;
8380
8381         ALIGN_TO_5_BYTES;
8382
8383         old_offset = offset;
8384
8385         if (parent_tree) {
8386                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8387                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaDelRequest1);
8388         }
8389         
8390         offset = drsuapi_dissect_element_DsReplicaDelRequest1_naming_context(tvb, offset, pinfo, tree, drep);
8391
8392         offset = drsuapi_dissect_element_DsReplicaDelRequest1_source_dsa_address(tvb, offset, pinfo, tree, drep);
8393
8394         offset = drsuapi_dissect_element_DsReplicaDelRequest1_options(tvb, offset, pinfo, tree, drep);
8395
8396
8397         proto_item_set_len(item, offset-old_offset);
8398
8399
8400         if (di->call_data->flags & DCERPC_IS_NDR64) {
8401                 ALIGN_TO_5_BYTES;
8402         }
8403
8404         return offset;
8405 }
8406
8407
8408 /* IDL: [switch_type(uint32)] union { */
8409 /* IDL: [case(1)] [case(1)] drsuapi_DsReplicaDelRequest1 req1; */
8410 /* IDL: } */
8411
8412 static int
8413 drsuapi_dissect_element_DsReplicaDelRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8414 {
8415         offset = drsuapi_dissect_struct_DsReplicaDelRequest1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaDelRequest_req1,0);
8416
8417         return offset;
8418 }
8419
8420 static int
8421 drsuapi_dissect_DsReplicaDelRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
8422 {
8423         proto_item *item = NULL;
8424         proto_tree *tree = NULL;
8425         int old_offset;
8426         guint32 level;
8427
8428         old_offset = offset;
8429         if (parent_tree) {
8430                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsReplicaDelRequest");
8431                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaDelRequest);
8432         }
8433
8434         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
8435         ALIGN_TO_5_BYTES;
8436
8437         switch(level) {
8438                 case 1:
8439                         offset = drsuapi_dissect_element_DsReplicaDelRequest_req1(tvb, offset, pinfo, tree, drep);
8440                 break;
8441         }
8442         proto_item_set_len(item, offset-old_offset);
8443
8444
8445         return offset;
8446 }
8447
8448 /* IDL: struct { */
8449 /* IDL:         [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; */
8450 /* IDL:         GUID source_dra; */
8451 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *source_dra_address; */
8452 /* IDL:         uint8 schedule[84]; */
8453 /* IDL:         drsuapi_DrsOptions replica_flags; */
8454 /* IDL:         uint32 modify_fields; */
8455 /* IDL:         drsuapi_DrsOptions options; */
8456 /* IDL: } */
8457
8458 static int
8459 drsuapi_dissect_element_DsReplicaModRequest1_naming_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8460 {
8461         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaModRequest1_naming_context_, NDR_POINTER_REF, "Pointer to Naming Context (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsReplicaModRequest1_naming_context);
8462
8463         return offset;
8464 }
8465
8466 static int
8467 drsuapi_dissect_element_DsReplicaModRequest1_naming_context_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8468 {
8469         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaModRequest1_naming_context,0);
8470
8471         return offset;
8472 }
8473
8474 static int
8475 drsuapi_dissect_element_DsReplicaModRequest1_source_dra(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8476 {
8477         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaModRequest1_source_dra, NULL);
8478
8479         return offset;
8480 }
8481
8482 static int
8483 drsuapi_dissect_element_DsReplicaModRequest1_source_dra_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8484 {
8485         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaModRequest1_source_dra_address_, NDR_POINTER_UNIQUE, "Pointer to Source Dra Address (uint16)",hf_drsuapi_drsuapi_DsReplicaModRequest1_source_dra_address);
8486
8487         return offset;
8488 }
8489
8490 static int
8491 drsuapi_dissect_element_DsReplicaModRequest1_source_dra_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8492 {
8493         char *data;
8494
8495         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaModRequest1_source_dra_address, FALSE, &data);
8496         proto_item_append_text(tree, ": %s", data);
8497
8498         return offset;
8499 }
8500
8501 static int
8502 drsuapi_dissect_element_DsReplicaModRequest1_schedule(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8503 {
8504         dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
8505         int conformant = di->conformant_run;
8506         if (!conformant) {
8507                 offset = drsuapi_dissect_element_DsReplicaModRequest1_schedule_(tvb, offset, 84, pinfo, tree, drep);
8508         }
8509
8510         return offset;
8511 }
8512
8513 static int
8514 drsuapi_dissect_element_DsReplicaModRequest1_schedule_(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8515 {
8516         proto_tree_add_bytes(tree, hf_drsuapi_drsuapi_DsReplicaModRequest1_schedule, tvb, offset, length, tvb_get_ptr(tvb, offset,length)); offset += length;
8517
8518         return offset;
8519 }
8520
8521 static int
8522 drsuapi_dissect_element_DsReplicaModRequest1_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8523 {
8524         offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaModRequest1_replica_flags, 0);
8525
8526         return offset;
8527 }
8528
8529 static int
8530 drsuapi_dissect_element_DsReplicaModRequest1_modify_fields(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8531 {
8532         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaModRequest1_modify_fields, 0);
8533
8534         return offset;
8535 }
8536
8537 static int
8538 drsuapi_dissect_element_DsReplicaModRequest1_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8539 {
8540         offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaModRequest1_options, 0);
8541
8542         return offset;
8543 }
8544
8545 int
8546 drsuapi_dissect_struct_DsReplicaModRequest1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
8547 {
8548         proto_item *item = NULL;
8549         proto_tree *tree = NULL;
8550         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
8551         int old_offset;
8552
8553         ALIGN_TO_5_BYTES;
8554
8555         old_offset = offset;
8556
8557         if (parent_tree) {
8558                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8559                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaModRequest1);
8560         }
8561         
8562         offset = drsuapi_dissect_element_DsReplicaModRequest1_naming_context(tvb, offset, pinfo, tree, drep);
8563
8564         offset = drsuapi_dissect_element_DsReplicaModRequest1_source_dra(tvb, offset, pinfo, tree, drep);
8565
8566         offset = drsuapi_dissect_element_DsReplicaModRequest1_source_dra_address(tvb, offset, pinfo, tree, drep);
8567
8568         offset = drsuapi_dissect_element_DsReplicaModRequest1_schedule(tvb, offset, pinfo, tree, drep);
8569
8570         offset = drsuapi_dissect_element_DsReplicaModRequest1_replica_flags(tvb, offset, pinfo, tree, drep);
8571
8572         offset = drsuapi_dissect_element_DsReplicaModRequest1_modify_fields(tvb, offset, pinfo, tree, drep);
8573
8574         offset = drsuapi_dissect_element_DsReplicaModRequest1_options(tvb, offset, pinfo, tree, drep);
8575
8576
8577         proto_item_set_len(item, offset-old_offset);
8578
8579
8580         if (di->call_data->flags & DCERPC_IS_NDR64) {
8581                 ALIGN_TO_5_BYTES;
8582         }
8583
8584         return offset;
8585 }
8586
8587
8588 /* IDL: [switch_type(uint32)] union { */
8589 /* IDL: [case(1)] [case(1)] drsuapi_DsReplicaModRequest1 req1; */
8590 /* IDL: } */
8591
8592 static int
8593 drsuapi_dissect_element_DsReplicaModRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8594 {
8595         offset = drsuapi_dissect_struct_DsReplicaModRequest1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaModRequest_req1,0);
8596
8597         return offset;
8598 }
8599
8600 static int
8601 drsuapi_dissect_DsReplicaModRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
8602 {
8603         proto_item *item = NULL;
8604         proto_tree *tree = NULL;
8605         int old_offset;
8606         guint32 level;
8607
8608         old_offset = offset;
8609         if (parent_tree) {
8610                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsReplicaModRequest");
8611                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaModRequest);
8612         }
8613
8614         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
8615         ALIGN_TO_5_BYTES;
8616
8617         switch(level) {
8618                 case 1:
8619                         offset = drsuapi_dissect_element_DsReplicaModRequest_req1(tvb, offset, pinfo, tree, drep);
8620                 break;
8621         }
8622         proto_item_set_len(item, offset-old_offset);
8623
8624
8625         return offset;
8626 }
8627
8628 /* IDL: enum { */
8629 /* IDL:         DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_AND_DOMAIN_GROUPS=1, */
8630 /* IDL:         DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS=2, */
8631 /* IDL:         DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS=3, */
8632 /* IDL:         DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_LOCAL_GROUPS2=4, */
8633 /* IDL:         DRSUAPI_DS_MEMBERSHIP_TYPE_UNIVERSAL_GROUPS=5, */
8634 /* IDL:         DRSUAPI_DS_MEMBERSHIP_TYPE_GROUPMEMBERS=6, */
8635 /* IDL:         DRSUAPI_DS_MEMBERSHIP_TYPE_DOMAIN_GROUPS2=7, */
8636 /* IDL: } */
8637
8638 int
8639 drsuapi_dissect_enum_DsMembershipType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
8640 {
8641         guint32 parameter=0;
8642         if(param){
8643                 parameter=(guint32)*param;
8644         }
8645         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
8646         if(param){
8647                 *param=(guint32)parameter;
8648         }
8649         return offset;
8650 }
8651
8652
8653 /* IDL: struct { */
8654 /* IDL:         NTSTATUS status; */
8655 /* IDL:         [range(0,10000)] uint32 num_memberships; */
8656 /* IDL:         [range(0,10000)] uint32 num_sids; */
8657 /* IDL:         [unique(1)] [size_is(num_memberships)] drsuapi_DsReplicaObjectIdentifier **info_array; */
8658 /* IDL:         [unique(1)] [size_is(num_memberships)] samr_GroupAttrs *group_attrs; */
8659 /* IDL:         [unique(1)] [size_is(num_sids)] dom_sid28 **sids; */
8660 /* IDL: } */
8661
8662 static int
8663 drsuapi_dissect_element_DsGetMembershipsCtr1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8664 {
8665         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMembershipsCtr1_status, 0);
8666
8667         return offset;
8668 }
8669
8670 static int
8671 drsuapi_dissect_element_DsGetMembershipsCtr1_num_memberships(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8672 {
8673         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMembershipsCtr1_num_memberships, 0);
8674
8675         return offset;
8676 }
8677
8678 static int
8679 drsuapi_dissect_element_DsGetMembershipsCtr1_num_sids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8680 {
8681         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMembershipsCtr1_num_sids, 0);
8682
8683         return offset;
8684 }
8685
8686 static int
8687 drsuapi_dissect_element_DsGetMembershipsCtr1_info_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8688 {
8689         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMembershipsCtr1_info_array_, NDR_POINTER_UNIQUE, "Pointer to Info Array (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetMembershipsCtr1_info_array);
8690
8691         return offset;
8692 }
8693
8694 static int
8695 drsuapi_dissect_element_DsGetMembershipsCtr1_info_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8696 {
8697         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMembershipsCtr1_info_array__);
8698
8699         return offset;
8700 }
8701
8702 static int
8703 drsuapi_dissect_element_DsGetMembershipsCtr1_info_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8704 {
8705         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMembershipsCtr1_info_array___, NDR_POINTER_UNIQUE, "Pointer to Info Array (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetMembershipsCtr1_info_array);
8706
8707         return offset;
8708 }
8709
8710 static int
8711 drsuapi_dissect_element_DsGetMembershipsCtr1_info_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8712 {
8713         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetMembershipsCtr1_info_array,0);
8714
8715         return offset;
8716 }
8717
8718 static int
8719 drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8720 {
8721         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs_, NDR_POINTER_UNIQUE, "Pointer to Group Attrs (samr_GroupAttrs)",hf_drsuapi_drsuapi_DsGetMembershipsCtr1_group_attrs);
8722
8723         return offset;
8724 }
8725
8726 static int
8727 drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8728 {
8729         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs__);
8730
8731         return offset;
8732 }
8733
8734 static int
8735 drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8736 {
8737         offset = drsuapi_dissect_bitmap_samr_GroupAttrs(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMembershipsCtr1_group_attrs, 0);
8738
8739         return offset;
8740 }
8741
8742 static int
8743 drsuapi_dissect_element_DsGetMembershipsCtr1_sids(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8744 {
8745         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMembershipsCtr1_sids_, NDR_POINTER_UNIQUE, "Pointer to Sids (dom_sid28)",hf_drsuapi_drsuapi_DsGetMembershipsCtr1_sids);
8746
8747         return offset;
8748 }
8749
8750 static int
8751 drsuapi_dissect_element_DsGetMembershipsCtr1_sids_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8752 {
8753         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMembershipsCtr1_sids__);
8754
8755         return offset;
8756 }
8757
8758 static int
8759 drsuapi_dissect_element_DsGetMembershipsCtr1_sids__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8760 {
8761         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMembershipsCtr1_sids___, NDR_POINTER_UNIQUE, "Pointer to Sids (dom_sid28)",hf_drsuapi_drsuapi_DsGetMembershipsCtr1_sids);
8762
8763         return offset;
8764 }
8765
8766 static int
8767 drsuapi_dissect_element_DsGetMembershipsCtr1_sids___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8768 {
8769         offset = drsuapi_dissect_struct_dom_sid28(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetMembershipsCtr1_sids,0);
8770
8771         return offset;
8772 }
8773
8774 int
8775 drsuapi_dissect_struct_DsGetMembershipsCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
8776 {
8777         proto_item *item = NULL;
8778         proto_tree *tree = NULL;
8779         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
8780         int old_offset;
8781
8782         ALIGN_TO_5_BYTES;
8783
8784         old_offset = offset;
8785
8786         if (parent_tree) {
8787                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8788                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetMembershipsCtr1);
8789         }
8790         
8791         offset = drsuapi_dissect_element_DsGetMembershipsCtr1_status(tvb, offset, pinfo, tree, drep);
8792
8793         offset = drsuapi_dissect_element_DsGetMembershipsCtr1_num_memberships(tvb, offset, pinfo, tree, drep);
8794
8795         offset = drsuapi_dissect_element_DsGetMembershipsCtr1_num_sids(tvb, offset, pinfo, tree, drep);
8796
8797         offset = drsuapi_dissect_element_DsGetMembershipsCtr1_info_array(tvb, offset, pinfo, tree, drep);
8798
8799         offset = drsuapi_dissect_element_DsGetMembershipsCtr1_group_attrs(tvb, offset, pinfo, tree, drep);
8800
8801         offset = drsuapi_dissect_element_DsGetMembershipsCtr1_sids(tvb, offset, pinfo, tree, drep);
8802
8803
8804         proto_item_set_len(item, offset-old_offset);
8805
8806
8807         if (di->call_data->flags & DCERPC_IS_NDR64) {
8808                 ALIGN_TO_5_BYTES;
8809         }
8810
8811         return offset;
8812 }
8813
8814
8815 /* IDL: [switch_type(uint32)] union { */
8816 /* IDL: [case(1)] [case(1)] drsuapi_DsGetMembershipsCtr1 ctr1; */
8817 /* IDL: } */
8818
8819 static int
8820 drsuapi_dissect_element_DsGetMembershipsCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8821 {
8822         offset = drsuapi_dissect_struct_DsGetMembershipsCtr1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetMembershipsCtr_ctr1,0);
8823
8824         return offset;
8825 }
8826
8827 static int
8828 drsuapi_dissect_DsGetMembershipsCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
8829 {
8830         proto_item *item = NULL;
8831         proto_tree *tree = NULL;
8832         int old_offset;
8833         guint32 level;
8834
8835         old_offset = offset;
8836         if (parent_tree) {
8837                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsGetMembershipsCtr");
8838                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetMembershipsCtr);
8839         }
8840
8841         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
8842         ALIGN_TO_5_BYTES;
8843
8844         switch(level) {
8845                 case 1:
8846                         offset = drsuapi_dissect_element_DsGetMembershipsCtr_ctr1(tvb, offset, pinfo, tree, drep);
8847                 break;
8848         }
8849         proto_item_set_len(item, offset-old_offset);
8850
8851
8852         return offset;
8853 }
8854
8855 /* IDL: struct { */
8856 /* IDL:         [range(1,10000)] uint32 count; */
8857 /* IDL:         [unique(1)] [size_is(count)] drsuapi_DsReplicaObjectIdentifier **info_array; */
8858 /* IDL:         uint32 flags; */
8859 /* IDL:         [range(1,7)] drsuapi_DsMembershipType type; */
8860 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectIdentifier *domain; */
8861 /* IDL: } */
8862
8863 static int
8864 drsuapi_dissect_element_DsGetMembershipsRequest1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8865 {
8866         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMembershipsRequest1_count, 0);
8867
8868         return offset;
8869 }
8870
8871 static int
8872 drsuapi_dissect_element_DsGetMembershipsRequest1_info_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8873 {
8874         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMembershipsRequest1_info_array_, NDR_POINTER_UNIQUE, "Pointer to Info Array (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetMembershipsRequest1_info_array);
8875
8876         return offset;
8877 }
8878
8879 static int
8880 drsuapi_dissect_element_DsGetMembershipsRequest1_info_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8881 {
8882         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMembershipsRequest1_info_array__);
8883
8884         return offset;
8885 }
8886
8887 static int
8888 drsuapi_dissect_element_DsGetMembershipsRequest1_info_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8889 {
8890         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMembershipsRequest1_info_array___, NDR_POINTER_UNIQUE, "Pointer to Info Array (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetMembershipsRequest1_info_array);
8891
8892         return offset;
8893 }
8894
8895 static int
8896 drsuapi_dissect_element_DsGetMembershipsRequest1_info_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8897 {
8898         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetMembershipsRequest1_info_array,0);
8899
8900         return offset;
8901 }
8902
8903 static int
8904 drsuapi_dissect_element_DsGetMembershipsRequest1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8905 {
8906         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMembershipsRequest1_flags, 0);
8907
8908         return offset;
8909 }
8910
8911 static int
8912 drsuapi_dissect_element_DsGetMembershipsRequest1_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8913 {
8914         offset = drsuapi_dissect_enum_DsMembershipType(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMembershipsRequest1_type, 0);
8915
8916         return offset;
8917 }
8918
8919 static int
8920 drsuapi_dissect_element_DsGetMembershipsRequest1_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8921 {
8922         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMembershipsRequest1_domain_, NDR_POINTER_UNIQUE, "Pointer to Domain (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsGetMembershipsRequest1_domain);
8923
8924         return offset;
8925 }
8926
8927 static int
8928 drsuapi_dissect_element_DsGetMembershipsRequest1_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8929 {
8930         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetMembershipsRequest1_domain,0);
8931
8932         return offset;
8933 }
8934
8935 int
8936 drsuapi_dissect_struct_DsGetMembershipsRequest1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
8937 {
8938         proto_item *item = NULL;
8939         proto_tree *tree = NULL;
8940         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
8941         int old_offset;
8942
8943         ALIGN_TO_5_BYTES;
8944
8945         old_offset = offset;
8946
8947         if (parent_tree) {
8948                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8949                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetMembershipsRequest1);
8950         }
8951         
8952         offset = drsuapi_dissect_element_DsGetMembershipsRequest1_count(tvb, offset, pinfo, tree, drep);
8953
8954         offset = drsuapi_dissect_element_DsGetMembershipsRequest1_info_array(tvb, offset, pinfo, tree, drep);
8955
8956         offset = drsuapi_dissect_element_DsGetMembershipsRequest1_flags(tvb, offset, pinfo, tree, drep);
8957
8958         offset = drsuapi_dissect_element_DsGetMembershipsRequest1_type(tvb, offset, pinfo, tree, drep);
8959
8960         offset = drsuapi_dissect_element_DsGetMembershipsRequest1_domain(tvb, offset, pinfo, tree, drep);
8961
8962
8963         proto_item_set_len(item, offset-old_offset);
8964
8965
8966         if (di->call_data->flags & DCERPC_IS_NDR64) {
8967                 ALIGN_TO_5_BYTES;
8968         }
8969
8970         return offset;
8971 }
8972
8973
8974 /* IDL: [switch_type(uint32)] union { */
8975 /* IDL: [case(1)] [case(1)] drsuapi_DsGetMembershipsRequest1 req1; */
8976 /* IDL: } */
8977
8978 static int
8979 drsuapi_dissect_element_DsGetMembershipsRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8980 {
8981         offset = drsuapi_dissect_struct_DsGetMembershipsRequest1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetMembershipsRequest_req1,0);
8982
8983         return offset;
8984 }
8985
8986 static int
8987 drsuapi_dissect_DsGetMembershipsRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
8988 {
8989         proto_item *item = NULL;
8990         proto_tree *tree = NULL;
8991         int old_offset;
8992         guint32 level;
8993
8994         old_offset = offset;
8995         if (parent_tree) {
8996                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsGetMembershipsRequest");
8997                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetMembershipsRequest);
8998         }
8999
9000         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
9001         ALIGN_TO_5_BYTES;
9002
9003         switch(level) {
9004                 case 1:
9005                         offset = drsuapi_dissect_element_DsGetMembershipsRequest_req1(tvb, offset, pinfo, tree, drep);
9006                 break;
9007         }
9008         proto_item_set_len(item, offset-old_offset);
9009
9010
9011         return offset;
9012 }
9013
9014 /* IDL: bitmap { */
9015 /* IDL:         DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG =  0x00000001 , */
9016 /* IDL:         DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS =  0x00000002 , */
9017 /* IDL: } */
9018
9019 int
9020 drsuapi_dissect_bitmap_DsGetNT4ChangeLogFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
9021 {
9022         proto_item *item = NULL;
9023         proto_tree *tree = NULL;
9024
9025         guint32 flags;
9026         ALIGN_TO_4_BYTES;
9027
9028         if (parent_tree) {
9029                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, DREP_ENC_INTEGER(drep));
9030                 tree = proto_item_add_subtree(item,ett_drsuapi_drsuapi_DsGetNT4ChangeLogFlags);
9031         }
9032
9033         offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
9034         proto_item_append_text(item, ": ");
9035
9036         if (!flags)
9037                 proto_item_append_text(item, "(No values set)");
9038
9039         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG, tvb, offset-4, 4, flags);
9040         if (flags&( 0x00000001 )){
9041                 proto_item_append_text(item, "DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG");
9042                 if (flags & (~( 0x00000001 )))
9043                         proto_item_append_text(item, ", ");
9044         }
9045         flags&=(~( 0x00000001 ));
9046
9047         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS, tvb, offset-4, 4, flags);
9048         if (flags&( 0x00000002 )){
9049                 proto_item_append_text(item, "DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS");
9050                 if (flags & (~( 0x00000002 )))
9051                         proto_item_append_text(item, ", ");
9052         }
9053         flags&=(~( 0x00000002 ));
9054
9055         if (flags) {
9056                 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
9057         }
9058
9059         return offset;
9060 }
9061
9062
9063 /* IDL: struct { */
9064 /* IDL:         drsuapi_DsGetNT4ChangeLogFlags flags; */
9065 /* IDL:         uint32 preferred_maximum_length; */
9066 /* IDL:         [range(0,0x00A00000)] uint32 restart_length; */
9067 /* IDL:         [unique(1)] [size_is(restart_length)] uint8 *restart_data; */
9068 /* IDL: } */
9069
9070 static int
9071 drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9072 {
9073         offset = drsuapi_dissect_bitmap_DsGetNT4ChangeLogFlags(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_flags, 0);
9074
9075         return offset;
9076 }
9077
9078 static int
9079 drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_preferred_maximum_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9080 {
9081         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_preferred_maximum_length, 0);
9082
9083         return offset;
9084 }
9085
9086 static int
9087 drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9088 {
9089         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_restart_length, 0);
9090
9091         return offset;
9092 }
9093
9094 static int
9095 drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9096 {
9097         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data_, NDR_POINTER_UNIQUE, "Pointer to Restart Data (uint8)",hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_restart_data);
9098
9099         return offset;
9100 }
9101
9102 static int
9103 drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9104 {
9105         offset = dissect_ndr_ucarray_block(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data__);
9106
9107         return offset;
9108 }
9109
9110 static int
9111 drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data__(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9112 {
9113         proto_tree_add_bytes(tree, hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_restart_data, tvb, offset, length, tvb_get_ptr(tvb, offset,length)); offset += length;
9114
9115         return offset;
9116 }
9117
9118 int
9119 drsuapi_dissect_struct_DsGetNT4ChangeLogRequest1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
9120 {
9121         proto_item *item = NULL;
9122         proto_tree *tree = NULL;
9123         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
9124         int old_offset;
9125
9126         ALIGN_TO_5_BYTES;
9127
9128         old_offset = offset;
9129
9130         if (parent_tree) {
9131                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9132                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1);
9133         }
9134         
9135         offset = drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_flags(tvb, offset, pinfo, tree, drep);
9136
9137         offset = drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_preferred_maximum_length(tvb, offset, pinfo, tree, drep);
9138
9139         offset = drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_length(tvb, offset, pinfo, tree, drep);
9140
9141         offset = drsuapi_dissect_element_DsGetNT4ChangeLogRequest1_restart_data(tvb, offset, pinfo, tree, drep);
9142
9143
9144         proto_item_set_len(item, offset-old_offset);
9145
9146
9147         if (di->call_data->flags & DCERPC_IS_NDR64) {
9148                 ALIGN_TO_5_BYTES;
9149         }
9150
9151         return offset;
9152 }
9153
9154
9155 /* IDL: [switch_type(uint32)] union { */
9156 /* IDL: [case(1)] [case(1)] drsuapi_DsGetNT4ChangeLogRequest1 req1; */
9157 /* IDL: } */
9158
9159 static int
9160 drsuapi_dissect_element_DsGetNT4ChangeLogRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9161 {
9162         offset = drsuapi_dissect_struct_DsGetNT4ChangeLogRequest1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest_req1,0);
9163
9164         return offset;
9165 }
9166
9167 static int
9168 drsuapi_dissect_DsGetNT4ChangeLogRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
9169 {
9170         proto_item *item = NULL;
9171         proto_tree *tree = NULL;
9172         int old_offset;
9173         guint32 level;
9174
9175         old_offset = offset;
9176         if (parent_tree) {
9177                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsGetNT4ChangeLogRequest");
9178                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNT4ChangeLogRequest);
9179         }
9180
9181         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
9182         ALIGN_TO_5_BYTES;
9183
9184         switch(level) {
9185                 case 1:
9186                         offset = drsuapi_dissect_element_DsGetNT4ChangeLogRequest_req1(tvb, offset, pinfo, tree, drep);
9187                 break;
9188         }
9189         proto_item_set_len(item, offset-old_offset);
9190
9191
9192         return offset;
9193 }
9194
9195 /* IDL: struct { */
9196 /* IDL:         [range(0,0x00A00000)] uint32 restart_length; */
9197 /* IDL:         [range(0,0x00A00000)] uint32 log_length; */
9198 /* IDL:         hyper sam_serial_number; */
9199 /* IDL:         NTTIME sam_creation_time; */
9200 /* IDL:         hyper builtin_serial_number; */
9201 /* IDL:         NTTIME builtin_creation_time; */
9202 /* IDL:         hyper lsa_serial_number; */
9203 /* IDL:         NTTIME lsa_creation_time; */
9204 /* IDL:         NTSTATUS status; */
9205 /* IDL:         [unique(1)] [size_is(restart_length)] uint8 *restart_data; */
9206 /* IDL:         [unique(1)] [size_is(log_length)] uint8 *log_data; */
9207 /* IDL: } */
9208
9209 static int
9210 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9211 {
9212         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_restart_length, 0);
9213
9214         return offset;
9215 }
9216
9217 static int
9218 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_length(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9219 {
9220         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_log_length, 0);
9221
9222         return offset;
9223 }
9224
9225 static int
9226 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_sam_serial_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9227 {
9228         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_sam_serial_number, NULL);
9229
9230         return offset;
9231 }
9232
9233 static int
9234 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_sam_creation_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9235 {
9236         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_sam_creation_time);
9237
9238         return offset;
9239 }
9240
9241 static int
9242 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_builtin_serial_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9243 {
9244         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_builtin_serial_number, NULL);
9245
9246         return offset;
9247 }
9248
9249 static int
9250 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_builtin_creation_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9251 {
9252         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_builtin_creation_time);
9253
9254         return offset;
9255 }
9256
9257 static int
9258 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_lsa_serial_number(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9259 {
9260         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_lsa_serial_number, NULL);
9261
9262         return offset;
9263 }
9264
9265 static int
9266 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_lsa_creation_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9267 {
9268         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_lsa_creation_time);
9269
9270         return offset;
9271 }
9272
9273 static int
9274 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9275 {
9276         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_status, 0);
9277
9278         return offset;
9279 }
9280
9281 static int
9282 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9283 {
9284         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data_, NDR_POINTER_UNIQUE, "Pointer to Restart Data (uint8)",hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_restart_data);
9285
9286         return offset;
9287 }
9288
9289 static int
9290 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9291 {
9292         offset = dissect_ndr_ucarray_block(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data__);
9293
9294         return offset;
9295 }
9296
9297 static int
9298 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data__(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9299 {
9300         proto_tree_add_bytes(tree, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_restart_data, tvb, offset, length, tvb_get_ptr(tvb, offset,length)); offset += length;
9301
9302         return offset;
9303 }
9304
9305 static int
9306 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9307 {
9308         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data_, NDR_POINTER_UNIQUE, "Pointer to Log Data (uint8)",hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_log_data);
9309
9310         return offset;
9311 }
9312
9313 static int
9314 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9315 {
9316         offset = dissect_ndr_ucarray_block(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data__);
9317
9318         return offset;
9319 }
9320
9321 static int
9322 drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data__(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9323 {
9324         proto_tree_add_bytes(tree, hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_log_data, tvb, offset, length, tvb_get_ptr(tvb, offset,length)); offset += length;
9325
9326         return offset;
9327 }
9328
9329 int
9330 drsuapi_dissect_struct_DsGetNT4ChangeLogInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
9331 {
9332         proto_item *item = NULL;
9333         proto_tree *tree = NULL;
9334         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
9335         int old_offset;
9336
9337         ALIGN_TO_8_BYTES;
9338
9339         old_offset = offset;
9340
9341         if (parent_tree) {
9342                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9343                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1);
9344         }
9345         
9346         offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_length(tvb, offset, pinfo, tree, drep);
9347
9348         offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_length(tvb, offset, pinfo, tree, drep);
9349
9350         offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_sam_serial_number(tvb, offset, pinfo, tree, drep);
9351
9352         offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_sam_creation_time(tvb, offset, pinfo, tree, drep);
9353
9354         offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_builtin_serial_number(tvb, offset, pinfo, tree, drep);
9355
9356         offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_builtin_creation_time(tvb, offset, pinfo, tree, drep);
9357
9358         offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_lsa_serial_number(tvb, offset, pinfo, tree, drep);
9359
9360         offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_lsa_creation_time(tvb, offset, pinfo, tree, drep);
9361
9362         offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_status(tvb, offset, pinfo, tree, drep);
9363
9364         offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_restart_data(tvb, offset, pinfo, tree, drep);
9365
9366         offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo1_log_data(tvb, offset, pinfo, tree, drep);
9367
9368
9369         proto_item_set_len(item, offset-old_offset);
9370
9371
9372         if (di->call_data->flags & DCERPC_IS_NDR64) {
9373                 ALIGN_TO_8_BYTES;
9374         }
9375
9376         return offset;
9377 }
9378
9379
9380 /* IDL: [switch_type(uint32)] union { */
9381 /* IDL: [case(1)] [case(1)] drsuapi_DsGetNT4ChangeLogInfo1 info1; */
9382 /* IDL: } */
9383
9384 static int
9385 drsuapi_dissect_element_DsGetNT4ChangeLogInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9386 {
9387         offset = drsuapi_dissect_struct_DsGetNT4ChangeLogInfo1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo_info1,0);
9388
9389         return offset;
9390 }
9391
9392 static int
9393 drsuapi_dissect_DsGetNT4ChangeLogInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
9394 {
9395         proto_item *item = NULL;
9396         proto_tree *tree = NULL;
9397         int old_offset;
9398         guint32 level;
9399
9400         old_offset = offset;
9401         if (parent_tree) {
9402                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsGetNT4ChangeLogInfo");
9403                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetNT4ChangeLogInfo);
9404         }
9405
9406         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
9407         ALIGN_TO_8_BYTES;
9408
9409         switch(level) {
9410                 case 1:
9411                         offset = drsuapi_dissect_element_DsGetNT4ChangeLogInfo_info1(tvb, offset, pinfo, tree, drep);
9412                 break;
9413         }
9414         proto_item_set_len(item, offset-old_offset);
9415
9416
9417         return offset;
9418 }
9419
9420 /* IDL: enum { */
9421 /* IDL:         DRSUAPI_DS_NAME_STATUS_OK=0, */
9422 /* IDL:         DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR=1, */
9423 /* IDL:         DRSUAPI_DS_NAME_STATUS_NOT_FOUND=2, */
9424 /* IDL:         DRSUAPI_DS_NAME_STATUS_NOT_UNIQUE=3, */
9425 /* IDL:         DRSUAPI_DS_NAME_STATUS_NO_MAPPING=4, */
9426 /* IDL:         DRSUAPI_DS_NAME_STATUS_DOMAIN_ONLY=5, */
9427 /* IDL:         DRSUAPI_DS_NAME_STATUS_NO_SYNTACTICAL_MAPPING=6, */
9428 /* IDL:         DRSUAPI_DS_NAME_STATUS_TRUST_REFERRAL=7, */
9429 /* IDL: } */
9430
9431 int
9432 drsuapi_dissect_enum_DsNameStatus(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
9433 {
9434         guint32 parameter=0;
9435         if(param){
9436                 parameter=(guint32)*param;
9437         }
9438         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
9439         if(param){
9440                 *param=(guint32)parameter;
9441         }
9442         return offset;
9443 }
9444
9445
9446 /* IDL: enum { */
9447 /* IDL:         DRSUAPI_DS_NAME_FLAG_NO_FLAGS=0x0, */
9448 /* IDL:         DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY=0x1, */
9449 /* IDL:         DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC=0x2, */
9450 /* IDL:         DRSUAPI_DS_NAME_FLAG_GCVERIFY=0x4, */
9451 /* IDL:         DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL=0x8, */
9452 /* IDL: } */
9453
9454 int
9455 drsuapi_dissect_enum_DsNameFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
9456 {
9457         guint32 parameter=0;
9458         if(param){
9459                 parameter=(guint32)*param;
9460         }
9461         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
9462         if(param){
9463                 *param=(guint32)parameter;
9464         }
9465         return offset;
9466 }
9467
9468
9469 /* IDL: enum { */
9470 /* IDL:         DRSUAPI_DS_NAME_FORMAT_UNKNOWN=0x00000000, */
9471 /* IDL:         DRSUAPI_DS_NAME_FORMAT_FQDN_1779=0x00000001, */
9472 /* IDL:         DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT=0x00000002, */
9473 /* IDL:         DRSUAPI_DS_NAME_FORMAT_DISPLAY=0x00000003, */
9474 /* IDL:         DRSUAPI_DS_NAME_FORMAT_GUID=0x00000006, */
9475 /* IDL:         DRSUAPI_DS_NAME_FORMAT_CANONICAL=0x00000007, */
9476 /* IDL:         DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL=0x00000008, */
9477 /* IDL:         DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX=0x00000009, */
9478 /* IDL:         DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL=0x0000000A, */
9479 /* IDL:         DRSUAPI_DS_NAME_FORMAT_SID_OR_SID_HISTORY=0x0000000B, */
9480 /* IDL:         DRSUAPI_DS_NAME_FORMAT_DNS_DOMAIN=0x0000000C, */
9481 /* IDL:         DRSUAPI_DS_NAME_FORMAT_UPN_AND_ALTSECID=0xFFFFFFEF, */
9482 /* IDL:         DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT_NAME_SANS_DOMAIN_EX=0xFFFFFFF0, */
9483 /* IDL:         DRSUAPI_DS_NAME_FORMAT_LIST_GLOBAL_CATALOG_SERVERS=0xFFFFFFF1, */
9484 /* IDL:         DRSUAPI_DS_NAME_FORMAT_UPN_FOR_LOGON=0xFFFFFFF2, */
9485 /* IDL:         DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_WITH_DCS_IN_SITE=0xFFFFFFF3, */
9486 /* IDL:         DRSUAPI_DS_NAME_FORMAT_STRING_SID_NAME=0xFFFFFFF4, */
9487 /* IDL:         DRSUAPI_DS_NAME_FORMAT_ALT_SECURITY_IDENTITIES_NAME=0xFFFFFFF5, */
9488 /* IDL:         DRSUAPI_DS_NAME_FORMAT_LIST_NCS=0xFFFFFFF6, */
9489 /* IDL:         DRSUAPI_DS_NAME_FORMAT_LIST_DOMAINS=0xFFFFFFF7, */
9490 /* IDL:         DRSUAPI_DS_NAME_FORMAT_MAP_SCHEMA_GUID=0xFFFFFFF8, */
9491 /* IDL:         DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT_NAME_SANS_DOMAIN=0xFFFFFFF9, */
9492 /* IDL:         DRSUAPI_DS_NAME_FORMAT_LIST_ROLES=0xFFFFFFFA, */
9493 /* IDL:         DRSUAPI_DS_NAME_FORMAT_LIST_INFO_FOR_SERVER=0xFFFFFFFB, */
9494 /* IDL:         DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_FOR_DOMAIN_IN_SITE=0xFFFFFFFC, */
9495 /* IDL:         DRSUAPI_DS_NAME_FORMAT_LIST_DOMAINS_IN_SITE=0xFFFFFFFD, */
9496 /* IDL:         DRSUAPI_DS_NAME_FORMAT_LIST_SERVERS_IN_SITE=0xFFFFFFFE, */
9497 /* IDL:         DRSUAPI_DS_NAME_FORMAT_LIST_SITES=0xFFFFFFFF, */
9498 /* IDL: } */
9499
9500 int
9501 drsuapi_dissect_enum_DsNameFormat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
9502 {
9503         guint32 parameter=0;
9504         if(param){
9505                 parameter=(guint32)*param;
9506         }
9507         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
9508         if(param){
9509                 *param=(guint32)parameter;
9510         }
9511         return offset;
9512 }
9513
9514
9515 /* IDL: struct { */
9516 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *str; */
9517 /* IDL: } */
9518
9519 static int
9520 drsuapi_dissect_element_DsNameString_str(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9521 {
9522         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsNameString_str_, NDR_POINTER_UNIQUE, "Pointer to Str (uint16)",hf_drsuapi_drsuapi_DsNameString_str);
9523
9524         return offset;
9525 }
9526
9527 static int
9528 drsuapi_dissect_element_DsNameString_str_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9529 {
9530         char *data;
9531
9532         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsNameString_str, FALSE, &data);
9533         proto_item_append_text(tree, ": %s", data);
9534
9535         return offset;
9536 }
9537
9538 int
9539 drsuapi_dissect_struct_DsNameString(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
9540 {
9541         proto_item *item = NULL;
9542         proto_tree *tree = NULL;
9543         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
9544         int old_offset;
9545
9546         ALIGN_TO_5_BYTES;
9547
9548         old_offset = offset;
9549
9550         if (parent_tree) {
9551                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9552                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsNameString);
9553         }
9554         
9555         offset = drsuapi_dissect_element_DsNameString_str(tvb, offset, pinfo, tree, drep);
9556
9557
9558         proto_item_set_len(item, offset-old_offset);
9559
9560
9561         if (di->call_data->flags & DCERPC_IS_NDR64) {
9562                 ALIGN_TO_5_BYTES;
9563         }
9564
9565         return offset;
9566 }
9567
9568
9569 /* IDL: struct { */
9570 /* IDL:         uint32 codepage; */
9571 /* IDL:         uint32 language; */
9572 /* IDL:         drsuapi_DsNameFlags format_flags; */
9573 /* IDL:         drsuapi_DsNameFormat format_offered; */
9574 /* IDL:         drsuapi_DsNameFormat format_desired; */
9575 /* IDL:         [range(1,10000)] uint32 count; */
9576 /* IDL:         [unique(1)] [size_is(count)] drsuapi_DsNameString *names; */
9577 /* IDL: } */
9578
9579 static int
9580 drsuapi_dissect_element_DsNameRequest1_codepage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9581 {
9582         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsNameRequest1_codepage, 0);
9583
9584         return offset;
9585 }
9586
9587 static int
9588 drsuapi_dissect_element_DsNameRequest1_language(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9589 {
9590         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsNameRequest1_language, 0);
9591
9592         return offset;
9593 }
9594
9595 static int
9596 drsuapi_dissect_element_DsNameRequest1_format_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9597 {
9598         offset = drsuapi_dissect_enum_DsNameFlags(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsNameRequest1_format_flags, 0);
9599
9600         return offset;
9601 }
9602
9603 static int
9604 drsuapi_dissect_element_DsNameRequest1_format_offered(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9605 {
9606         offset = drsuapi_dissect_enum_DsNameFormat(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsNameRequest1_format_offered, 0);
9607
9608         return offset;
9609 }
9610
9611 static int
9612 drsuapi_dissect_element_DsNameRequest1_format_desired(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9613 {
9614         offset = drsuapi_dissect_enum_DsNameFormat(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsNameRequest1_format_desired, 0);
9615
9616         return offset;
9617 }
9618
9619 static int
9620 drsuapi_dissect_element_DsNameRequest1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9621 {
9622         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsNameRequest1_count, 0);
9623
9624         return offset;
9625 }
9626
9627 static int
9628 drsuapi_dissect_element_DsNameRequest1_names(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9629 {
9630         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsNameRequest1_names_, NDR_POINTER_UNIQUE, "Pointer to Names (drsuapi_DsNameString)",hf_drsuapi_drsuapi_DsNameRequest1_names);
9631
9632         return offset;
9633 }
9634
9635 static int
9636 drsuapi_dissect_element_DsNameRequest1_names_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9637 {
9638         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsNameRequest1_names__);
9639
9640         return offset;
9641 }
9642
9643 static int
9644 drsuapi_dissect_element_DsNameRequest1_names__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9645 {
9646         offset = drsuapi_dissect_struct_DsNameString(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsNameRequest1_names,0);
9647
9648         return offset;
9649 }
9650
9651 int
9652 drsuapi_dissect_struct_DsNameRequest1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
9653 {
9654         proto_item *item = NULL;
9655         proto_tree *tree = NULL;
9656         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
9657         int old_offset;
9658
9659         ALIGN_TO_5_BYTES;
9660
9661         old_offset = offset;
9662
9663         if (parent_tree) {
9664                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9665                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsNameRequest1);
9666         }
9667         
9668         offset = drsuapi_dissect_element_DsNameRequest1_codepage(tvb, offset, pinfo, tree, drep);
9669
9670         offset = drsuapi_dissect_element_DsNameRequest1_language(tvb, offset, pinfo, tree, drep);
9671
9672         offset = drsuapi_dissect_element_DsNameRequest1_format_flags(tvb, offset, pinfo, tree, drep);
9673
9674         offset = drsuapi_dissect_element_DsNameRequest1_format_offered(tvb, offset, pinfo, tree, drep);
9675
9676         offset = drsuapi_dissect_element_DsNameRequest1_format_desired(tvb, offset, pinfo, tree, drep);
9677
9678         offset = drsuapi_dissect_element_DsNameRequest1_count(tvb, offset, pinfo, tree, drep);
9679
9680         offset = drsuapi_dissect_element_DsNameRequest1_names(tvb, offset, pinfo, tree, drep);
9681
9682
9683         proto_item_set_len(item, offset-old_offset);
9684
9685
9686         if (di->call_data->flags & DCERPC_IS_NDR64) {
9687                 ALIGN_TO_5_BYTES;
9688         }
9689
9690         return offset;
9691 }
9692
9693
9694 /* IDL: [switch_type(uint32)] union { */
9695 /* IDL: [case(1)] [case(1)] drsuapi_DsNameRequest1 req1; */
9696 /* IDL: } */
9697
9698 static int
9699 drsuapi_dissect_element_DsNameRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9700 {
9701         offset = drsuapi_dissect_struct_DsNameRequest1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsNameRequest_req1,0);
9702
9703         return offset;
9704 }
9705
9706 static int
9707 drsuapi_dissect_DsNameRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
9708 {
9709         proto_item *item = NULL;
9710         proto_tree *tree = NULL;
9711         int old_offset;
9712         guint32 level;
9713
9714         old_offset = offset;
9715         if (parent_tree) {
9716                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsNameRequest");
9717                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsNameRequest);
9718         }
9719
9720         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
9721         ALIGN_TO_5_BYTES;
9722
9723         switch(level) {
9724                 case 1:
9725                         offset = drsuapi_dissect_element_DsNameRequest_req1(tvb, offset, pinfo, tree, drep);
9726                 break;
9727         }
9728         proto_item_set_len(item, offset-old_offset);
9729
9730
9731         return offset;
9732 }
9733
9734 /* IDL: struct { */
9735 /* IDL:         drsuapi_DsNameStatus status; */
9736 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *dns_domain_name; */
9737 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *result_name; */
9738 /* IDL: } */
9739
9740 static int
9741 drsuapi_dissect_element_DsNameInfo1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9742 {
9743         offset = drsuapi_dissect_enum_DsNameStatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsNameInfo1_status, 0);
9744
9745         return offset;
9746 }
9747
9748 static int
9749 drsuapi_dissect_element_DsNameInfo1_dns_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9750 {
9751         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsNameInfo1_dns_domain_name_, NDR_POINTER_UNIQUE, "Pointer to Dns Domain Name (uint16)",hf_drsuapi_drsuapi_DsNameInfo1_dns_domain_name);
9752
9753         return offset;
9754 }
9755
9756 static int
9757 drsuapi_dissect_element_DsNameInfo1_dns_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9758 {
9759         char *data;
9760
9761         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsNameInfo1_dns_domain_name, FALSE, &data);
9762         proto_item_append_text(tree, ": %s", data);
9763
9764         return offset;
9765 }
9766
9767 static int
9768 drsuapi_dissect_element_DsNameInfo1_result_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9769 {
9770         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsNameInfo1_result_name_, NDR_POINTER_UNIQUE, "Pointer to Result Name (uint16)",hf_drsuapi_drsuapi_DsNameInfo1_result_name);
9771
9772         return offset;
9773 }
9774
9775 static int
9776 drsuapi_dissect_element_DsNameInfo1_result_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9777 {
9778         char *data;
9779
9780         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsNameInfo1_result_name, FALSE, &data);
9781         proto_item_append_text(tree, ": %s", data);
9782
9783         return offset;
9784 }
9785
9786 int
9787 drsuapi_dissect_struct_DsNameInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
9788 {
9789         proto_item *item = NULL;
9790         proto_tree *tree = NULL;
9791         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
9792         int old_offset;
9793
9794         ALIGN_TO_5_BYTES;
9795
9796         old_offset = offset;
9797
9798         if (parent_tree) {
9799                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9800                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsNameInfo1);
9801         }
9802         
9803         offset = drsuapi_dissect_element_DsNameInfo1_status(tvb, offset, pinfo, tree, drep);
9804
9805         offset = drsuapi_dissect_element_DsNameInfo1_dns_domain_name(tvb, offset, pinfo, tree, drep);
9806
9807         offset = drsuapi_dissect_element_DsNameInfo1_result_name(tvb, offset, pinfo, tree, drep);
9808
9809
9810         proto_item_set_len(item, offset-old_offset);
9811
9812
9813         if (di->call_data->flags & DCERPC_IS_NDR64) {
9814                 ALIGN_TO_5_BYTES;
9815         }
9816
9817         return offset;
9818 }
9819
9820
9821 /* IDL: struct { */
9822 /* IDL:         uint32 count; */
9823 /* IDL:         [unique(1)] [size_is(count)] drsuapi_DsNameInfo1 *array; */
9824 /* IDL: } */
9825
9826 static int
9827 drsuapi_dissect_element_DsNameCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9828 {
9829         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsNameCtr1_count, 0);
9830
9831         return offset;
9832 }
9833
9834 static int
9835 drsuapi_dissect_element_DsNameCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9836 {
9837         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsNameCtr1_array_, NDR_POINTER_UNIQUE, "Pointer to Array (drsuapi_DsNameInfo1)",hf_drsuapi_drsuapi_DsNameCtr1_array);
9838
9839         return offset;
9840 }
9841
9842 static int
9843 drsuapi_dissect_element_DsNameCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9844 {
9845         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsNameCtr1_array__);
9846
9847         return offset;
9848 }
9849
9850 static int
9851 drsuapi_dissect_element_DsNameCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9852 {
9853         offset = drsuapi_dissect_struct_DsNameInfo1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsNameCtr1_array,0);
9854
9855         return offset;
9856 }
9857
9858 int
9859 drsuapi_dissect_struct_DsNameCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
9860 {
9861         proto_item *item = NULL;
9862         proto_tree *tree = NULL;
9863         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
9864         int old_offset;
9865
9866         ALIGN_TO_5_BYTES;
9867
9868         old_offset = offset;
9869
9870         if (parent_tree) {
9871                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9872                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsNameCtr1);
9873         }
9874         
9875         offset = drsuapi_dissect_element_DsNameCtr1_count(tvb, offset, pinfo, tree, drep);
9876
9877         offset = drsuapi_dissect_element_DsNameCtr1_array(tvb, offset, pinfo, tree, drep);
9878
9879
9880         proto_item_set_len(item, offset-old_offset);
9881
9882
9883         if (di->call_data->flags & DCERPC_IS_NDR64) {
9884                 ALIGN_TO_5_BYTES;
9885         }
9886
9887         return offset;
9888 }
9889
9890
9891 /* IDL: [switch_type(uint32)] union { */
9892 /* IDL: [case(1)] [unique(1)] [case(1)] drsuapi_DsNameCtr1 *ctr1; */
9893 /* IDL: } */
9894
9895 static int
9896 drsuapi_dissect_element_DsNameCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9897 {
9898         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsNameCtr_ctr1_, NDR_POINTER_UNIQUE, "Pointer to Ctr1 (drsuapi_DsNameCtr1)",hf_drsuapi_drsuapi_DsNameCtr_ctr1);
9899
9900         return offset;
9901 }
9902
9903 static int
9904 drsuapi_dissect_element_DsNameCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9905 {
9906         offset = drsuapi_dissect_struct_DsNameCtr1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsNameCtr_ctr1,0);
9907
9908         return offset;
9909 }
9910
9911 static int
9912 drsuapi_dissect_DsNameCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
9913 {
9914         proto_item *item = NULL;
9915         proto_tree *tree = NULL;
9916         int old_offset;
9917         guint32 level;
9918
9919         old_offset = offset;
9920         if (parent_tree) {
9921                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsNameCtr");
9922                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsNameCtr);
9923         }
9924
9925         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
9926         ALIGN_TO_5_BYTES;
9927
9928         switch(level) {
9929                 case 1:
9930                         offset = drsuapi_dissect_element_DsNameCtr_ctr1(tvb, offset, pinfo, tree, drep);
9931                 break;
9932         }
9933         proto_item_set_len(item, offset-old_offset);
9934
9935
9936         return offset;
9937 }
9938
9939 /* IDL: enum { */
9940 /* IDL:         DRSUAPI_DS_SPN_OPERATION_ADD=0, */
9941 /* IDL:         DRSUAPI_DS_SPN_OPERATION_REPLACE=1, */
9942 /* IDL:         DRSUAPI_DS_SPN_OPERATION_DELETE=2, */
9943 /* IDL: } */
9944
9945 int
9946 drsuapi_dissect_enum_DsSpnOperation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
9947 {
9948         guint32 parameter=0;
9949         if(param){
9950                 parameter=(guint32)*param;
9951         }
9952         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
9953         if(param){
9954                 *param=(guint32)parameter;
9955         }
9956         return offset;
9957 }
9958
9959
9960 /* IDL: struct { */
9961 /* IDL:         drsuapi_DsSpnOperation operation; */
9962 /* IDL:         uint32 unknown1; */
9963 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *object_dn; */
9964 /* IDL:         [range(0,10000)] uint32 count; */
9965 /* IDL:         [unique(1)] [size_is(count)] drsuapi_DsNameString *spn_names; */
9966 /* IDL: } */
9967
9968 static int
9969 drsuapi_dissect_element_DsWriteAccountSpnRequest1_operation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9970 {
9971         offset = drsuapi_dissect_enum_DsSpnOperation(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_operation, 0);
9972
9973         return offset;
9974 }
9975
9976 static int
9977 drsuapi_dissect_element_DsWriteAccountSpnRequest1_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9978 {
9979         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_unknown1, 0);
9980
9981         return offset;
9982 }
9983
9984 static int
9985 drsuapi_dissect_element_DsWriteAccountSpnRequest1_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9986 {
9987         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsWriteAccountSpnRequest1_object_dn_, NDR_POINTER_UNIQUE, "Pointer to Object Dn (uint16)",hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_object_dn);
9988
9989         return offset;
9990 }
9991
9992 static int
9993 drsuapi_dissect_element_DsWriteAccountSpnRequest1_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9994 {
9995         char *data;
9996
9997         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_object_dn, FALSE, &data);
9998         proto_item_append_text(tree, ": %s", data);
9999
10000         return offset;
10001 }
10002
10003 static int
10004 drsuapi_dissect_element_DsWriteAccountSpnRequest1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10005 {
10006         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_count, 0);
10007
10008         return offset;
10009 }
10010
10011 static int
10012 drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10013 {
10014         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names_, NDR_POINTER_UNIQUE, "Pointer to Spn Names (drsuapi_DsNameString)",hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_spn_names);
10015
10016         return offset;
10017 }
10018
10019 static int
10020 drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10021 {
10022         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names__);
10023
10024         return offset;
10025 }
10026
10027 static int
10028 drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10029 {
10030         offset = drsuapi_dissect_struct_DsNameString(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_spn_names,0);
10031
10032         return offset;
10033 }
10034
10035 int
10036 drsuapi_dissect_struct_DsWriteAccountSpnRequest1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
10037 {
10038         proto_item *item = NULL;
10039         proto_tree *tree = NULL;
10040         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
10041         int old_offset;
10042
10043         ALIGN_TO_5_BYTES;
10044
10045         old_offset = offset;
10046
10047         if (parent_tree) {
10048                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10049                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsWriteAccountSpnRequest1);
10050         }
10051         
10052         offset = drsuapi_dissect_element_DsWriteAccountSpnRequest1_operation(tvb, offset, pinfo, tree, drep);
10053
10054         offset = drsuapi_dissect_element_DsWriteAccountSpnRequest1_unknown1(tvb, offset, pinfo, tree, drep);
10055
10056         offset = drsuapi_dissect_element_DsWriteAccountSpnRequest1_object_dn(tvb, offset, pinfo, tree, drep);
10057
10058         offset = drsuapi_dissect_element_DsWriteAccountSpnRequest1_count(tvb, offset, pinfo, tree, drep);
10059
10060         offset = drsuapi_dissect_element_DsWriteAccountSpnRequest1_spn_names(tvb, offset, pinfo, tree, drep);
10061
10062
10063         proto_item_set_len(item, offset-old_offset);
10064
10065
10066         if (di->call_data->flags & DCERPC_IS_NDR64) {
10067                 ALIGN_TO_5_BYTES;
10068         }
10069
10070         return offset;
10071 }
10072
10073
10074 /* IDL: [switch_type(uint32)] union { */
10075 /* IDL: [case(1)] [case(1)] drsuapi_DsWriteAccountSpnRequest1 req1; */
10076 /* IDL: } */
10077
10078 static int
10079 drsuapi_dissect_element_DsWriteAccountSpnRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10080 {
10081         offset = drsuapi_dissect_struct_DsWriteAccountSpnRequest1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsWriteAccountSpnRequest_req1,0);
10082
10083         return offset;
10084 }
10085
10086 static int
10087 drsuapi_dissect_DsWriteAccountSpnRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
10088 {
10089         proto_item *item = NULL;
10090         proto_tree *tree = NULL;
10091         int old_offset;
10092         guint32 level;
10093
10094         old_offset = offset;
10095         if (parent_tree) {
10096                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsWriteAccountSpnRequest");
10097                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsWriteAccountSpnRequest);
10098         }
10099
10100         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
10101         ALIGN_TO_5_BYTES;
10102
10103         switch(level) {
10104                 case 1:
10105                         offset = drsuapi_dissect_element_DsWriteAccountSpnRequest_req1(tvb, offset, pinfo, tree, drep);
10106                 break;
10107         }
10108         proto_item_set_len(item, offset-old_offset);
10109
10110
10111         return offset;
10112 }
10113
10114 /* IDL: struct { */
10115 /* IDL:         WERROR status; */
10116 /* IDL: } */
10117
10118 static int
10119 drsuapi_dissect_element_DsWriteAccountSpnResult1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10120 {
10121         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsWriteAccountSpnResult1_status, 0);
10122
10123         return offset;
10124 }
10125
10126 int
10127 drsuapi_dissect_struct_DsWriteAccountSpnResult1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
10128 {
10129         proto_item *item = NULL;
10130         proto_tree *tree = NULL;
10131         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
10132         int old_offset;
10133
10134         ALIGN_TO_4_BYTES;
10135
10136         old_offset = offset;
10137
10138         if (parent_tree) {
10139                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10140                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsWriteAccountSpnResult1);
10141         }
10142         
10143         offset = drsuapi_dissect_element_DsWriteAccountSpnResult1_status(tvb, offset, pinfo, tree, drep);
10144
10145
10146         proto_item_set_len(item, offset-old_offset);
10147
10148
10149         if (di->call_data->flags & DCERPC_IS_NDR64) {
10150                 ALIGN_TO_4_BYTES;
10151         }
10152
10153         return offset;
10154 }
10155
10156
10157 /* IDL: [switch_type(uint32)] union { */
10158 /* IDL: [case(1)] [case(1)] drsuapi_DsWriteAccountSpnResult1 res1; */
10159 /* IDL: } */
10160
10161 static int
10162 drsuapi_dissect_element_DsWriteAccountSpnResult_res1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10163 {
10164         offset = drsuapi_dissect_struct_DsWriteAccountSpnResult1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsWriteAccountSpnResult_res1,0);
10165
10166         return offset;
10167 }
10168
10169 static int
10170 drsuapi_dissect_DsWriteAccountSpnResult(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
10171 {
10172         proto_item *item = NULL;
10173         proto_tree *tree = NULL;
10174         int old_offset;
10175         guint32 level;
10176
10177         old_offset = offset;
10178         if (parent_tree) {
10179                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsWriteAccountSpnResult");
10180                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsWriteAccountSpnResult);
10181         }
10182
10183         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
10184         ALIGN_TO_4_BYTES;
10185
10186         switch(level) {
10187                 case 1:
10188                         offset = drsuapi_dissect_element_DsWriteAccountSpnResult_res1(tvb, offset, pinfo, tree, drep);
10189                 break;
10190         }
10191         proto_item_set_len(item, offset-old_offset);
10192
10193
10194         return offset;
10195 }
10196
10197 /* IDL: struct { */
10198 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *server_dn; */
10199 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *domain_dn; */
10200 /* IDL:         uint32 commit; */
10201 /* IDL: } */
10202
10203 static int
10204 drsuapi_dissect_element_DsRemoveDSServerRequest1_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10205 {
10206         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsRemoveDSServerRequest1_server_dn_, NDR_POINTER_UNIQUE, "Pointer to Server Dn (uint16)",hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_server_dn);
10207
10208         return offset;
10209 }
10210
10211 static int
10212 drsuapi_dissect_element_DsRemoveDSServerRequest1_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10213 {
10214         char *data;
10215
10216         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_server_dn, FALSE, &data);
10217         proto_item_append_text(tree, ": %s", data);
10218
10219         return offset;
10220 }
10221
10222 static int
10223 drsuapi_dissect_element_DsRemoveDSServerRequest1_domain_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10224 {
10225         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsRemoveDSServerRequest1_domain_dn_, NDR_POINTER_UNIQUE, "Pointer to Domain Dn (uint16)",hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_domain_dn);
10226
10227         return offset;
10228 }
10229
10230 static int
10231 drsuapi_dissect_element_DsRemoveDSServerRequest1_domain_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10232 {
10233         char *data;
10234
10235         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_domain_dn, FALSE, &data);
10236         proto_item_append_text(tree, ": %s", data);
10237
10238         return offset;
10239 }
10240
10241 static int
10242 drsuapi_dissect_element_DsRemoveDSServerRequest1_commit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10243 {
10244         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_commit, 0);
10245
10246         return offset;
10247 }
10248
10249 int
10250 drsuapi_dissect_struct_DsRemoveDSServerRequest1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
10251 {
10252         proto_item *item = NULL;
10253         proto_tree *tree = NULL;
10254         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
10255         int old_offset;
10256
10257         ALIGN_TO_5_BYTES;
10258
10259         old_offset = offset;
10260
10261         if (parent_tree) {
10262                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10263                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsRemoveDSServerRequest1);
10264         }
10265         
10266         offset = drsuapi_dissect_element_DsRemoveDSServerRequest1_server_dn(tvb, offset, pinfo, tree, drep);
10267
10268         offset = drsuapi_dissect_element_DsRemoveDSServerRequest1_domain_dn(tvb, offset, pinfo, tree, drep);
10269
10270         offset = drsuapi_dissect_element_DsRemoveDSServerRequest1_commit(tvb, offset, pinfo, tree, drep);
10271
10272
10273         proto_item_set_len(item, offset-old_offset);
10274
10275
10276         if (di->call_data->flags & DCERPC_IS_NDR64) {
10277                 ALIGN_TO_5_BYTES;
10278         }
10279
10280         return offset;
10281 }
10282
10283
10284 /* IDL: [switch_type(uint32)] union { */
10285 /* IDL: [case(1)] [case(1)] drsuapi_DsRemoveDSServerRequest1 req1; */
10286 /* IDL: } */
10287
10288 static int
10289 drsuapi_dissect_element_DsRemoveDSServerRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10290 {
10291         offset = drsuapi_dissect_struct_DsRemoveDSServerRequest1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsRemoveDSServerRequest_req1,0);
10292
10293         return offset;
10294 }
10295
10296 static int
10297 drsuapi_dissect_DsRemoveDSServerRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
10298 {
10299         proto_item *item = NULL;
10300         proto_tree *tree = NULL;
10301         int old_offset;
10302         guint32 level;
10303
10304         old_offset = offset;
10305         if (parent_tree) {
10306                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsRemoveDSServerRequest");
10307                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsRemoveDSServerRequest);
10308         }
10309
10310         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
10311         ALIGN_TO_5_BYTES;
10312
10313         switch(level) {
10314                 case 1:
10315                         offset = drsuapi_dissect_element_DsRemoveDSServerRequest_req1(tvb, offset, pinfo, tree, drep);
10316                 break;
10317         }
10318         proto_item_set_len(item, offset-old_offset);
10319
10320
10321         return offset;
10322 }
10323
10324 /* IDL: struct { */
10325 /* IDL:         uint32 last_dc_in_domain; */
10326 /* IDL: } */
10327
10328 static int
10329 drsuapi_dissect_element_DsRemoveDSServerResult1_last_dc_in_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10330 {
10331         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsRemoveDSServerResult1_last_dc_in_domain, 0);
10332
10333         return offset;
10334 }
10335
10336 int
10337 drsuapi_dissect_struct_DsRemoveDSServerResult1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
10338 {
10339         proto_item *item = NULL;
10340         proto_tree *tree = NULL;
10341         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
10342         int old_offset;
10343
10344         ALIGN_TO_4_BYTES;
10345
10346         old_offset = offset;
10347
10348         if (parent_tree) {
10349                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10350                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsRemoveDSServerResult1);
10351         }
10352         
10353         offset = drsuapi_dissect_element_DsRemoveDSServerResult1_last_dc_in_domain(tvb, offset, pinfo, tree, drep);
10354
10355
10356         proto_item_set_len(item, offset-old_offset);
10357
10358
10359         if (di->call_data->flags & DCERPC_IS_NDR64) {
10360                 ALIGN_TO_4_BYTES;
10361         }
10362
10363         return offset;
10364 }
10365
10366
10367 /* IDL: [switch_type(uint32)] union { */
10368 /* IDL: [case(1)] [case(1)] drsuapi_DsRemoveDSServerResult1 res1; */
10369 /* IDL: } */
10370
10371 static int
10372 drsuapi_dissect_element_DsRemoveDSServerResult_res1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10373 {
10374         offset = drsuapi_dissect_struct_DsRemoveDSServerResult1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsRemoveDSServerResult_res1,0);
10375
10376         return offset;
10377 }
10378
10379 static int
10380 drsuapi_dissect_DsRemoveDSServerResult(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
10381 {
10382         proto_item *item = NULL;
10383         proto_tree *tree = NULL;
10384         int old_offset;
10385         guint32 level;
10386
10387         old_offset = offset;
10388         if (parent_tree) {
10389                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsRemoveDSServerResult");
10390                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsRemoveDSServerResult);
10391         }
10392
10393         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
10394         ALIGN_TO_4_BYTES;
10395
10396         switch(level) {
10397                 case 1:
10398                         offset = drsuapi_dissect_element_DsRemoveDSServerResult_res1(tvb, offset, pinfo, tree, drep);
10399                 break;
10400         }
10401         proto_item_set_len(item, offset-old_offset);
10402
10403
10404         return offset;
10405 }
10406
10407 /* IDL: enum { */
10408 /* IDL:         DRSUAPI_DC_INFO_CTR_1=1, */
10409 /* IDL:         DRSUAPI_DC_INFO_CTR_2=2, */
10410 /* IDL:         DRSUAPI_DC_INFO_CTR_3=3, */
10411 /* IDL:         DRSUAPI_DC_CONNECTION_CTR_01=0xFFFFFFFF, */
10412 /* IDL: } */
10413
10414 int
10415 drsuapi_dissect_enum_DsGetDCInfoCtrLevels(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
10416 {
10417         guint32 parameter=0;
10418         if(param){
10419                 parameter=(guint32)*param;
10420         }
10421         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
10422         if(param){
10423                 *param=(guint32)parameter;
10424         }
10425         return offset;
10426 }
10427
10428
10429 /* IDL: struct { */
10430 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *domain_name; */
10431 /* IDL:         drsuapi_DsGetDCInfoCtrLevels level; */
10432 /* IDL: } */
10433
10434 static int
10435 drsuapi_dissect_element_DsGetDCInfoRequest1_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10436 {
10437         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfoRequest1_domain_name_, NDR_POINTER_UNIQUE, "Pointer to Domain Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfoRequest1_domain_name);
10438
10439         return offset;
10440 }
10441
10442 static int
10443 drsuapi_dissect_element_DsGetDCInfoRequest1_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10444 {
10445         char *data;
10446
10447         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfoRequest1_domain_name, FALSE, &data);
10448         proto_item_append_text(tree, ": %s", data);
10449
10450         return offset;
10451 }
10452
10453 static int
10454 drsuapi_dissect_element_DsGetDCInfoRequest1_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10455 {
10456         offset = drsuapi_dissect_enum_DsGetDCInfoCtrLevels(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfoRequest1_level, 0);
10457
10458         return offset;
10459 }
10460
10461 int
10462 drsuapi_dissect_struct_DsGetDCInfoRequest1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
10463 {
10464         proto_item *item = NULL;
10465         proto_tree *tree = NULL;
10466         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
10467         int old_offset;
10468
10469         ALIGN_TO_5_BYTES;
10470
10471         old_offset = offset;
10472
10473         if (parent_tree) {
10474                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10475                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfoRequest1);
10476         }
10477         
10478         offset = drsuapi_dissect_element_DsGetDCInfoRequest1_domain_name(tvb, offset, pinfo, tree, drep);
10479
10480         offset = drsuapi_dissect_element_DsGetDCInfoRequest1_level(tvb, offset, pinfo, tree, drep);
10481
10482
10483         proto_item_set_len(item, offset-old_offset);
10484
10485
10486         if (di->call_data->flags & DCERPC_IS_NDR64) {
10487                 ALIGN_TO_5_BYTES;
10488         }
10489
10490         return offset;
10491 }
10492
10493
10494 /* IDL: [switch_type(uint32)] union { */
10495 /* IDL: [case(1)] [case(1)] drsuapi_DsGetDCInfoRequest1 req1; */
10496 /* IDL: } */
10497
10498 static int
10499 drsuapi_dissect_element_DsGetDCInfoRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10500 {
10501         offset = drsuapi_dissect_struct_DsGetDCInfoRequest1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetDCInfoRequest_req1,0);
10502
10503         return offset;
10504 }
10505
10506 static int
10507 drsuapi_dissect_DsGetDCInfoRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
10508 {
10509         proto_item *item = NULL;
10510         proto_tree *tree = NULL;
10511         int old_offset;
10512         guint32 level;
10513
10514         old_offset = offset;
10515         if (parent_tree) {
10516                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsGetDCInfoRequest");
10517                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfoRequest);
10518         }
10519
10520         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
10521         ALIGN_TO_5_BYTES;
10522
10523         switch(level) {
10524                 case 1:
10525                         offset = drsuapi_dissect_element_DsGetDCInfoRequest_req1(tvb, offset, pinfo, tree, drep);
10526                 break;
10527         }
10528         proto_item_set_len(item, offset-old_offset);
10529
10530
10531         return offset;
10532 }
10533
10534 /* IDL: struct { */
10535 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *netbios_name; */
10536 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *dns_name; */
10537 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *site_name; */
10538 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *computer_dn; */
10539 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *server_dn; */
10540 /* IDL:         uint32 is_pdc; */
10541 /* IDL:         uint32 is_enabled; */
10542 /* IDL: } */
10543
10544 static int
10545 drsuapi_dissect_element_DsGetDCInfo1_netbios_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10546 {
10547         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo1_netbios_name_, NDR_POINTER_UNIQUE, "Pointer to Netbios Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo1_netbios_name);
10548
10549         return offset;
10550 }
10551
10552 static int
10553 drsuapi_dissect_element_DsGetDCInfo1_netbios_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10554 {
10555         char *data;
10556
10557         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo1_netbios_name, FALSE, &data);
10558         proto_item_append_text(tree, ": %s", data);
10559
10560         return offset;
10561 }
10562
10563 static int
10564 drsuapi_dissect_element_DsGetDCInfo1_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10565 {
10566         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo1_dns_name_, NDR_POINTER_UNIQUE, "Pointer to Dns Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo1_dns_name);
10567
10568         return offset;
10569 }
10570
10571 static int
10572 drsuapi_dissect_element_DsGetDCInfo1_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10573 {
10574         char *data;
10575
10576         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo1_dns_name, FALSE, &data);
10577         proto_item_append_text(tree, ": %s", data);
10578
10579         return offset;
10580 }
10581
10582 static int
10583 drsuapi_dissect_element_DsGetDCInfo1_site_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10584 {
10585         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo1_site_name_, NDR_POINTER_UNIQUE, "Pointer to Site Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo1_site_name);
10586
10587         return offset;
10588 }
10589
10590 static int
10591 drsuapi_dissect_element_DsGetDCInfo1_site_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10592 {
10593         char *data;
10594
10595         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo1_site_name, FALSE, &data);
10596         proto_item_append_text(tree, ": %s", data);
10597
10598         return offset;
10599 }
10600
10601 static int
10602 drsuapi_dissect_element_DsGetDCInfo1_computer_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10603 {
10604         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo1_computer_dn_, NDR_POINTER_UNIQUE, "Pointer to Computer Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo1_computer_dn);
10605
10606         return offset;
10607 }
10608
10609 static int
10610 drsuapi_dissect_element_DsGetDCInfo1_computer_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10611 {
10612         char *data;
10613
10614         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo1_computer_dn, FALSE, &data);
10615         proto_item_append_text(tree, ": %s", data);
10616
10617         return offset;
10618 }
10619
10620 static int
10621 drsuapi_dissect_element_DsGetDCInfo1_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10622 {
10623         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo1_server_dn_, NDR_POINTER_UNIQUE, "Pointer to Server Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo1_server_dn);
10624
10625         return offset;
10626 }
10627
10628 static int
10629 drsuapi_dissect_element_DsGetDCInfo1_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10630 {
10631         char *data;
10632
10633         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo1_server_dn, FALSE, &data);
10634         proto_item_append_text(tree, ": %s", data);
10635
10636         return offset;
10637 }
10638
10639 static int
10640 drsuapi_dissect_element_DsGetDCInfo1_is_pdc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10641 {
10642         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo1_is_pdc, 0);
10643
10644         return offset;
10645 }
10646
10647 static int
10648 drsuapi_dissect_element_DsGetDCInfo1_is_enabled(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10649 {
10650         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo1_is_enabled, 0);
10651
10652         return offset;
10653 }
10654
10655 int
10656 drsuapi_dissect_struct_DsGetDCInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
10657 {
10658         proto_item *item = NULL;
10659         proto_tree *tree = NULL;
10660         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
10661         int old_offset;
10662
10663         ALIGN_TO_5_BYTES;
10664
10665         old_offset = offset;
10666
10667         if (parent_tree) {
10668                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10669                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfo1);
10670         }
10671         
10672         offset = drsuapi_dissect_element_DsGetDCInfo1_netbios_name(tvb, offset, pinfo, tree, drep);
10673
10674         offset = drsuapi_dissect_element_DsGetDCInfo1_dns_name(tvb, offset, pinfo, tree, drep);
10675
10676         offset = drsuapi_dissect_element_DsGetDCInfo1_site_name(tvb, offset, pinfo, tree, drep);
10677
10678         offset = drsuapi_dissect_element_DsGetDCInfo1_computer_dn(tvb, offset, pinfo, tree, drep);
10679
10680         offset = drsuapi_dissect_element_DsGetDCInfo1_server_dn(tvb, offset, pinfo, tree, drep);
10681
10682         offset = drsuapi_dissect_element_DsGetDCInfo1_is_pdc(tvb, offset, pinfo, tree, drep);
10683
10684         offset = drsuapi_dissect_element_DsGetDCInfo1_is_enabled(tvb, offset, pinfo, tree, drep);
10685
10686
10687         proto_item_set_len(item, offset-old_offset);
10688
10689
10690         if (di->call_data->flags & DCERPC_IS_NDR64) {
10691                 ALIGN_TO_5_BYTES;
10692         }
10693
10694         return offset;
10695 }
10696
10697
10698 /* IDL: struct { */
10699 /* IDL:         [range(0,10000)] uint32 count; */
10700 /* IDL:         [unique(1)] [size_is(count)] drsuapi_DsGetDCInfo1 *array; */
10701 /* IDL: } */
10702
10703 static int
10704 drsuapi_dissect_element_DsGetDCInfoCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10705 {
10706         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfoCtr1_count, 0);
10707
10708         return offset;
10709 }
10710
10711 static int
10712 drsuapi_dissect_element_DsGetDCInfoCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10713 {
10714         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfoCtr1_array_, NDR_POINTER_UNIQUE, "Pointer to Array (drsuapi_DsGetDCInfo1)",hf_drsuapi_drsuapi_DsGetDCInfoCtr1_array);
10715
10716         return offset;
10717 }
10718
10719 static int
10720 drsuapi_dissect_element_DsGetDCInfoCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10721 {
10722         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfoCtr1_array__);
10723
10724         return offset;
10725 }
10726
10727 static int
10728 drsuapi_dissect_element_DsGetDCInfoCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10729 {
10730         offset = drsuapi_dissect_struct_DsGetDCInfo1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetDCInfoCtr1_array,0);
10731
10732         return offset;
10733 }
10734
10735 int
10736 drsuapi_dissect_struct_DsGetDCInfoCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
10737 {
10738         proto_item *item = NULL;
10739         proto_tree *tree = NULL;
10740         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
10741         int old_offset;
10742
10743         ALIGN_TO_5_BYTES;
10744
10745         old_offset = offset;
10746
10747         if (parent_tree) {
10748                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10749                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfoCtr1);
10750         }
10751         
10752         offset = drsuapi_dissect_element_DsGetDCInfoCtr1_count(tvb, offset, pinfo, tree, drep);
10753
10754         offset = drsuapi_dissect_element_DsGetDCInfoCtr1_array(tvb, offset, pinfo, tree, drep);
10755
10756
10757         proto_item_set_len(item, offset-old_offset);
10758
10759
10760         if (di->call_data->flags & DCERPC_IS_NDR64) {
10761                 ALIGN_TO_5_BYTES;
10762         }
10763
10764         return offset;
10765 }
10766
10767
10768 /* IDL: struct { */
10769 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *netbios_name; */
10770 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *dns_name; */
10771 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *site_name; */
10772 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *site_dn; */
10773 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *computer_dn; */
10774 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *server_dn; */
10775 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *ntds_dn; */
10776 /* IDL:         uint32 is_pdc; */
10777 /* IDL:         uint32 is_enabled; */
10778 /* IDL:         uint32 is_gc; */
10779 /* IDL:         GUID site_guid; */
10780 /* IDL:         GUID computer_guid; */
10781 /* IDL:         GUID server_guid; */
10782 /* IDL:         GUID ntds_guid; */
10783 /* IDL: } */
10784
10785 static int
10786 drsuapi_dissect_element_DsGetDCInfo2_netbios_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10787 {
10788         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo2_netbios_name_, NDR_POINTER_UNIQUE, "Pointer to Netbios Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo2_netbios_name);
10789
10790         return offset;
10791 }
10792
10793 static int
10794 drsuapi_dissect_element_DsGetDCInfo2_netbios_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10795 {
10796         char *data;
10797
10798         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo2_netbios_name, FALSE, &data);
10799         proto_item_append_text(tree, ": %s", data);
10800
10801         return offset;
10802 }
10803
10804 static int
10805 drsuapi_dissect_element_DsGetDCInfo2_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10806 {
10807         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo2_dns_name_, NDR_POINTER_UNIQUE, "Pointer to Dns Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo2_dns_name);
10808
10809         return offset;
10810 }
10811
10812 static int
10813 drsuapi_dissect_element_DsGetDCInfo2_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10814 {
10815         char *data;
10816
10817         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo2_dns_name, FALSE, &data);
10818         proto_item_append_text(tree, ": %s", data);
10819
10820         return offset;
10821 }
10822
10823 static int
10824 drsuapi_dissect_element_DsGetDCInfo2_site_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10825 {
10826         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo2_site_name_, NDR_POINTER_UNIQUE, "Pointer to Site Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo2_site_name);
10827
10828         return offset;
10829 }
10830
10831 static int
10832 drsuapi_dissect_element_DsGetDCInfo2_site_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10833 {
10834         char *data;
10835
10836         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo2_site_name, FALSE, &data);
10837         proto_item_append_text(tree, ": %s", data);
10838
10839         return offset;
10840 }
10841
10842 static int
10843 drsuapi_dissect_element_DsGetDCInfo2_site_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10844 {
10845         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo2_site_dn_, NDR_POINTER_UNIQUE, "Pointer to Site Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo2_site_dn);
10846
10847         return offset;
10848 }
10849
10850 static int
10851 drsuapi_dissect_element_DsGetDCInfo2_site_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10852 {
10853         char *data;
10854
10855         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo2_site_dn, FALSE, &data);
10856         proto_item_append_text(tree, ": %s", data);
10857
10858         return offset;
10859 }
10860
10861 static int
10862 drsuapi_dissect_element_DsGetDCInfo2_computer_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10863 {
10864         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo2_computer_dn_, NDR_POINTER_UNIQUE, "Pointer to Computer Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo2_computer_dn);
10865
10866         return offset;
10867 }
10868
10869 static int
10870 drsuapi_dissect_element_DsGetDCInfo2_computer_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10871 {
10872         char *data;
10873
10874         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo2_computer_dn, FALSE, &data);
10875         proto_item_append_text(tree, ": %s", data);
10876
10877         return offset;
10878 }
10879
10880 static int
10881 drsuapi_dissect_element_DsGetDCInfo2_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10882 {
10883         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo2_server_dn_, NDR_POINTER_UNIQUE, "Pointer to Server Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo2_server_dn);
10884
10885         return offset;
10886 }
10887
10888 static int
10889 drsuapi_dissect_element_DsGetDCInfo2_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10890 {
10891         char *data;
10892
10893         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo2_server_dn, FALSE, &data);
10894         proto_item_append_text(tree, ": %s", data);
10895
10896         return offset;
10897 }
10898
10899 static int
10900 drsuapi_dissect_element_DsGetDCInfo2_ntds_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10901 {
10902         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo2_ntds_dn_, NDR_POINTER_UNIQUE, "Pointer to Ntds Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo2_ntds_dn);
10903
10904         return offset;
10905 }
10906
10907 static int
10908 drsuapi_dissect_element_DsGetDCInfo2_ntds_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10909 {
10910         char *data;
10911
10912         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo2_ntds_dn, FALSE, &data);
10913         proto_item_append_text(tree, ": %s", data);
10914
10915         return offset;
10916 }
10917
10918 static int
10919 drsuapi_dissect_element_DsGetDCInfo2_is_pdc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10920 {
10921         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo2_is_pdc, 0);
10922
10923         return offset;
10924 }
10925
10926 static int
10927 drsuapi_dissect_element_DsGetDCInfo2_is_enabled(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10928 {
10929         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo2_is_enabled, 0);
10930
10931         return offset;
10932 }
10933
10934 static int
10935 drsuapi_dissect_element_DsGetDCInfo2_is_gc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10936 {
10937         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo2_is_gc, 0);
10938
10939         return offset;
10940 }
10941
10942 static int
10943 drsuapi_dissect_element_DsGetDCInfo2_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10944 {
10945         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo2_site_guid, NULL);
10946
10947         return offset;
10948 }
10949
10950 static int
10951 drsuapi_dissect_element_DsGetDCInfo2_computer_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10952 {
10953         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo2_computer_guid, NULL);
10954
10955         return offset;
10956 }
10957
10958 static int
10959 drsuapi_dissect_element_DsGetDCInfo2_server_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10960 {
10961         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo2_server_guid, NULL);
10962
10963         return offset;
10964 }
10965
10966 static int
10967 drsuapi_dissect_element_DsGetDCInfo2_ntds_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10968 {
10969         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo2_ntds_guid, NULL);
10970
10971         return offset;
10972 }
10973
10974 int
10975 drsuapi_dissect_struct_DsGetDCInfo2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
10976 {
10977         proto_item *item = NULL;
10978         proto_tree *tree = NULL;
10979         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
10980         int old_offset;
10981
10982         ALIGN_TO_5_BYTES;
10983
10984         old_offset = offset;
10985
10986         if (parent_tree) {
10987                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10988                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfo2);
10989         }
10990         
10991         offset = drsuapi_dissect_element_DsGetDCInfo2_netbios_name(tvb, offset, pinfo, tree, drep);
10992
10993         offset = drsuapi_dissect_element_DsGetDCInfo2_dns_name(tvb, offset, pinfo, tree, drep);
10994
10995         offset = drsuapi_dissect_element_DsGetDCInfo2_site_name(tvb, offset, pinfo, tree, drep);
10996
10997         offset = drsuapi_dissect_element_DsGetDCInfo2_site_dn(tvb, offset, pinfo, tree, drep);
10998
10999         offset = drsuapi_dissect_element_DsGetDCInfo2_computer_dn(tvb, offset, pinfo, tree, drep);
11000
11001         offset = drsuapi_dissect_element_DsGetDCInfo2_server_dn(tvb, offset, pinfo, tree, drep);
11002
11003         offset = drsuapi_dissect_element_DsGetDCInfo2_ntds_dn(tvb, offset, pinfo, tree, drep);
11004
11005         offset = drsuapi_dissect_element_DsGetDCInfo2_is_pdc(tvb, offset, pinfo, tree, drep);
11006
11007         offset = drsuapi_dissect_element_DsGetDCInfo2_is_enabled(tvb, offset, pinfo, tree, drep);
11008
11009         offset = drsuapi_dissect_element_DsGetDCInfo2_is_gc(tvb, offset, pinfo, tree, drep);
11010
11011         offset = drsuapi_dissect_element_DsGetDCInfo2_site_guid(tvb, offset, pinfo, tree, drep);
11012
11013         offset = drsuapi_dissect_element_DsGetDCInfo2_computer_guid(tvb, offset, pinfo, tree, drep);
11014
11015         offset = drsuapi_dissect_element_DsGetDCInfo2_server_guid(tvb, offset, pinfo, tree, drep);
11016
11017         offset = drsuapi_dissect_element_DsGetDCInfo2_ntds_guid(tvb, offset, pinfo, tree, drep);
11018
11019
11020         proto_item_set_len(item, offset-old_offset);
11021
11022
11023         if (di->call_data->flags & DCERPC_IS_NDR64) {
11024                 ALIGN_TO_5_BYTES;
11025         }
11026
11027         return offset;
11028 }
11029
11030
11031 /* IDL: struct { */
11032 /* IDL:         [range(0,10000)] uint32 count; */
11033 /* IDL:         [unique(1)] [size_is(count)] drsuapi_DsGetDCInfo2 *array; */
11034 /* IDL: } */
11035
11036 static int
11037 drsuapi_dissect_element_DsGetDCInfoCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11038 {
11039         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfoCtr2_count, 0);
11040
11041         return offset;
11042 }
11043
11044 static int
11045 drsuapi_dissect_element_DsGetDCInfoCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11046 {
11047         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfoCtr2_array_, NDR_POINTER_UNIQUE, "Pointer to Array (drsuapi_DsGetDCInfo2)",hf_drsuapi_drsuapi_DsGetDCInfoCtr2_array);
11048
11049         return offset;
11050 }
11051
11052 static int
11053 drsuapi_dissect_element_DsGetDCInfoCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11054 {
11055         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfoCtr2_array__);
11056
11057         return offset;
11058 }
11059
11060 static int
11061 drsuapi_dissect_element_DsGetDCInfoCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11062 {
11063         offset = drsuapi_dissect_struct_DsGetDCInfo2(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetDCInfoCtr2_array,0);
11064
11065         return offset;
11066 }
11067
11068 int
11069 drsuapi_dissect_struct_DsGetDCInfoCtr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
11070 {
11071         proto_item *item = NULL;
11072         proto_tree *tree = NULL;
11073         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
11074         int old_offset;
11075
11076         ALIGN_TO_5_BYTES;
11077
11078         old_offset = offset;
11079
11080         if (parent_tree) {
11081                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11082                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfoCtr2);
11083         }
11084         
11085         offset = drsuapi_dissect_element_DsGetDCInfoCtr2_count(tvb, offset, pinfo, tree, drep);
11086
11087         offset = drsuapi_dissect_element_DsGetDCInfoCtr2_array(tvb, offset, pinfo, tree, drep);
11088
11089
11090         proto_item_set_len(item, offset-old_offset);
11091
11092
11093         if (di->call_data->flags & DCERPC_IS_NDR64) {
11094                 ALIGN_TO_5_BYTES;
11095         }
11096
11097         return offset;
11098 }
11099
11100
11101 /* IDL: struct { */
11102 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *netbios_name; */
11103 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *dns_name; */
11104 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *site_name; */
11105 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *site_dn; */
11106 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *computer_dn; */
11107 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *server_dn; */
11108 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *ntds_dn; */
11109 /* IDL:         uint32 is_pdc; */
11110 /* IDL:         uint32 is_enabled; */
11111 /* IDL:         uint32 is_gc; */
11112 /* IDL:         uint32 is_rodc; */
11113 /* IDL:         GUID site_guid; */
11114 /* IDL:         GUID computer_guid; */
11115 /* IDL:         GUID server_guid; */
11116 /* IDL:         GUID ntds_guid; */
11117 /* IDL: } */
11118
11119 static int
11120 drsuapi_dissect_element_DsGetDCInfo3_netbios_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11121 {
11122         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo3_netbios_name_, NDR_POINTER_UNIQUE, "Pointer to Netbios Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo3_netbios_name);
11123
11124         return offset;
11125 }
11126
11127 static int
11128 drsuapi_dissect_element_DsGetDCInfo3_netbios_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11129 {
11130         char *data;
11131
11132         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo3_netbios_name, FALSE, &data);
11133         proto_item_append_text(tree, ": %s", data);
11134
11135         return offset;
11136 }
11137
11138 static int
11139 drsuapi_dissect_element_DsGetDCInfo3_dns_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11140 {
11141         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo3_dns_name_, NDR_POINTER_UNIQUE, "Pointer to Dns Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo3_dns_name);
11142
11143         return offset;
11144 }
11145
11146 static int
11147 drsuapi_dissect_element_DsGetDCInfo3_dns_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11148 {
11149         char *data;
11150
11151         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo3_dns_name, FALSE, &data);
11152         proto_item_append_text(tree, ": %s", data);
11153
11154         return offset;
11155 }
11156
11157 static int
11158 drsuapi_dissect_element_DsGetDCInfo3_site_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11159 {
11160         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo3_site_name_, NDR_POINTER_UNIQUE, "Pointer to Site Name (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo3_site_name);
11161
11162         return offset;
11163 }
11164
11165 static int
11166 drsuapi_dissect_element_DsGetDCInfo3_site_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11167 {
11168         char *data;
11169
11170         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo3_site_name, FALSE, &data);
11171         proto_item_append_text(tree, ": %s", data);
11172
11173         return offset;
11174 }
11175
11176 static int
11177 drsuapi_dissect_element_DsGetDCInfo3_site_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11178 {
11179         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo3_site_dn_, NDR_POINTER_UNIQUE, "Pointer to Site Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo3_site_dn);
11180
11181         return offset;
11182 }
11183
11184 static int
11185 drsuapi_dissect_element_DsGetDCInfo3_site_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11186 {
11187         char *data;
11188
11189         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo3_site_dn, FALSE, &data);
11190         proto_item_append_text(tree, ": %s", data);
11191
11192         return offset;
11193 }
11194
11195 static int
11196 drsuapi_dissect_element_DsGetDCInfo3_computer_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11197 {
11198         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo3_computer_dn_, NDR_POINTER_UNIQUE, "Pointer to Computer Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo3_computer_dn);
11199
11200         return offset;
11201 }
11202
11203 static int
11204 drsuapi_dissect_element_DsGetDCInfo3_computer_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11205 {
11206         char *data;
11207
11208         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo3_computer_dn, FALSE, &data);
11209         proto_item_append_text(tree, ": %s", data);
11210
11211         return offset;
11212 }
11213
11214 static int
11215 drsuapi_dissect_element_DsGetDCInfo3_server_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11216 {
11217         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo3_server_dn_, NDR_POINTER_UNIQUE, "Pointer to Server Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo3_server_dn);
11218
11219         return offset;
11220 }
11221
11222 static int
11223 drsuapi_dissect_element_DsGetDCInfo3_server_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11224 {
11225         char *data;
11226
11227         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo3_server_dn, FALSE, &data);
11228         proto_item_append_text(tree, ": %s", data);
11229
11230         return offset;
11231 }
11232
11233 static int
11234 drsuapi_dissect_element_DsGetDCInfo3_ntds_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11235 {
11236         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfo3_ntds_dn_, NDR_POINTER_UNIQUE, "Pointer to Ntds Dn (uint16)",hf_drsuapi_drsuapi_DsGetDCInfo3_ntds_dn);
11237
11238         return offset;
11239 }
11240
11241 static int
11242 drsuapi_dissect_element_DsGetDCInfo3_ntds_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11243 {
11244         char *data;
11245
11246         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCInfo3_ntds_dn, FALSE, &data);
11247         proto_item_append_text(tree, ": %s", data);
11248
11249         return offset;
11250 }
11251
11252 static int
11253 drsuapi_dissect_element_DsGetDCInfo3_is_pdc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11254 {
11255         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_is_pdc, 0);
11256
11257         return offset;
11258 }
11259
11260 static int
11261 drsuapi_dissect_element_DsGetDCInfo3_is_enabled(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11262 {
11263         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_is_enabled, 0);
11264
11265         return offset;
11266 }
11267
11268 static int
11269 drsuapi_dissect_element_DsGetDCInfo3_is_gc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11270 {
11271         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_is_gc, 0);
11272
11273         return offset;
11274 }
11275
11276 static int
11277 drsuapi_dissect_element_DsGetDCInfo3_is_rodc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11278 {
11279         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_is_rodc, 0);
11280
11281         return offset;
11282 }
11283
11284 static int
11285 drsuapi_dissect_element_DsGetDCInfo3_site_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11286 {
11287         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_site_guid, NULL);
11288
11289         return offset;
11290 }
11291
11292 static int
11293 drsuapi_dissect_element_DsGetDCInfo3_computer_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11294 {
11295         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_computer_guid, NULL);
11296
11297         return offset;
11298 }
11299
11300 static int
11301 drsuapi_dissect_element_DsGetDCInfo3_server_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11302 {
11303         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_server_guid, NULL);
11304
11305         return offset;
11306 }
11307
11308 static int
11309 drsuapi_dissect_element_DsGetDCInfo3_ntds_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11310 {
11311         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfo3_ntds_guid, NULL);
11312
11313         return offset;
11314 }
11315
11316 int
11317 drsuapi_dissect_struct_DsGetDCInfo3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
11318 {
11319         proto_item *item = NULL;
11320         proto_tree *tree = NULL;
11321         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
11322         int old_offset;
11323
11324         ALIGN_TO_5_BYTES;
11325
11326         old_offset = offset;
11327
11328         if (parent_tree) {
11329                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11330                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfo3);
11331         }
11332         
11333         offset = drsuapi_dissect_element_DsGetDCInfo3_netbios_name(tvb, offset, pinfo, tree, drep);
11334
11335         offset = drsuapi_dissect_element_DsGetDCInfo3_dns_name(tvb, offset, pinfo, tree, drep);
11336
11337         offset = drsuapi_dissect_element_DsGetDCInfo3_site_name(tvb, offset, pinfo, tree, drep);
11338
11339         offset = drsuapi_dissect_element_DsGetDCInfo3_site_dn(tvb, offset, pinfo, tree, drep);
11340
11341         offset = drsuapi_dissect_element_DsGetDCInfo3_computer_dn(tvb, offset, pinfo, tree, drep);
11342
11343         offset = drsuapi_dissect_element_DsGetDCInfo3_server_dn(tvb, offset, pinfo, tree, drep);
11344
11345         offset = drsuapi_dissect_element_DsGetDCInfo3_ntds_dn(tvb, offset, pinfo, tree, drep);
11346
11347         offset = drsuapi_dissect_element_DsGetDCInfo3_is_pdc(tvb, offset, pinfo, tree, drep);
11348
11349         offset = drsuapi_dissect_element_DsGetDCInfo3_is_enabled(tvb, offset, pinfo, tree, drep);
11350
11351         offset = drsuapi_dissect_element_DsGetDCInfo3_is_gc(tvb, offset, pinfo, tree, drep);
11352
11353         offset = drsuapi_dissect_element_DsGetDCInfo3_is_rodc(tvb, offset, pinfo, tree, drep);
11354
11355         offset = drsuapi_dissect_element_DsGetDCInfo3_site_guid(tvb, offset, pinfo, tree, drep);
11356
11357         offset = drsuapi_dissect_element_DsGetDCInfo3_computer_guid(tvb, offset, pinfo, tree, drep);
11358
11359         offset = drsuapi_dissect_element_DsGetDCInfo3_server_guid(tvb, offset, pinfo, tree, drep);
11360
11361         offset = drsuapi_dissect_element_DsGetDCInfo3_ntds_guid(tvb, offset, pinfo, tree, drep);
11362
11363
11364         proto_item_set_len(item, offset-old_offset);
11365
11366
11367         if (di->call_data->flags & DCERPC_IS_NDR64) {
11368                 ALIGN_TO_5_BYTES;
11369         }
11370
11371         return offset;
11372 }
11373
11374
11375 /* IDL: struct { */
11376 /* IDL:         [range(0,10000)] uint32 count; */
11377 /* IDL:         [unique(1)] [size_is(count)] drsuapi_DsGetDCInfo3 *array; */
11378 /* IDL: } */
11379
11380 static int
11381 drsuapi_dissect_element_DsGetDCInfoCtr3_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11382 {
11383         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCInfoCtr3_count, 0);
11384
11385         return offset;
11386 }
11387
11388 static int
11389 drsuapi_dissect_element_DsGetDCInfoCtr3_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11390 {
11391         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfoCtr3_array_, NDR_POINTER_UNIQUE, "Pointer to Array (drsuapi_DsGetDCInfo3)",hf_drsuapi_drsuapi_DsGetDCInfoCtr3_array);
11392
11393         return offset;
11394 }
11395
11396 static int
11397 drsuapi_dissect_element_DsGetDCInfoCtr3_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11398 {
11399         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCInfoCtr3_array__);
11400
11401         return offset;
11402 }
11403
11404 static int
11405 drsuapi_dissect_element_DsGetDCInfoCtr3_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11406 {
11407         offset = drsuapi_dissect_struct_DsGetDCInfo3(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetDCInfoCtr3_array,0);
11408
11409         return offset;
11410 }
11411
11412 int
11413 drsuapi_dissect_struct_DsGetDCInfoCtr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
11414 {
11415         proto_item *item = NULL;
11416         proto_tree *tree = NULL;
11417         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
11418         int old_offset;
11419
11420         ALIGN_TO_5_BYTES;
11421
11422         old_offset = offset;
11423
11424         if (parent_tree) {
11425                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11426                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfoCtr3);
11427         }
11428         
11429         offset = drsuapi_dissect_element_DsGetDCInfoCtr3_count(tvb, offset, pinfo, tree, drep);
11430
11431         offset = drsuapi_dissect_element_DsGetDCInfoCtr3_array(tvb, offset, pinfo, tree, drep);
11432
11433
11434         proto_item_set_len(item, offset-old_offset);
11435
11436
11437         if (di->call_data->flags & DCERPC_IS_NDR64) {
11438                 ALIGN_TO_5_BYTES;
11439         }
11440
11441         return offset;
11442 }
11443
11444
11445 /* IDL: struct { */
11446 /* IDL:         [flag(LIBNDR_FLAG_BIGENDIAN)] ipv4address client_ip_address; */
11447 /* IDL:         uint32 unknown2; */
11448 /* IDL:         uint32 connection_time; */
11449 /* IDL:         uint32 unknown4; */
11450 /* IDL:         uint32 unknown5; */
11451 /* IDL:         uint32 unknown6; */
11452 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *client_account; */
11453 /* IDL: } */
11454
11455 static int
11456 drsuapi_dissect_element_DsGetDCConnection01_client_ip_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11457 {
11458         offset = drsuapi_dissect_struct_ipv4address(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetDCConnection01_client_ip_address,0);
11459
11460         return offset;
11461 }
11462
11463 static int
11464 drsuapi_dissect_element_DsGetDCConnection01_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11465 {
11466         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCConnection01_unknown2, 0);
11467
11468         return offset;
11469 }
11470
11471 static int
11472 drsuapi_dissect_element_DsGetDCConnection01_connection_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11473 {
11474         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCConnection01_connection_time, 0);
11475
11476         return offset;
11477 }
11478
11479 static int
11480 drsuapi_dissect_element_DsGetDCConnection01_unknown4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11481 {
11482         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCConnection01_unknown4, 0);
11483
11484         return offset;
11485 }
11486
11487 static int
11488 drsuapi_dissect_element_DsGetDCConnection01_unknown5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11489 {
11490         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCConnection01_unknown5, 0);
11491
11492         return offset;
11493 }
11494
11495 static int
11496 drsuapi_dissect_element_DsGetDCConnection01_unknown6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11497 {
11498         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCConnection01_unknown6, 0);
11499
11500         return offset;
11501 }
11502
11503 static int
11504 drsuapi_dissect_element_DsGetDCConnection01_client_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11505 {
11506         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCConnection01_client_account_, NDR_POINTER_UNIQUE, "Pointer to Client Account (uint16)",hf_drsuapi_drsuapi_DsGetDCConnection01_client_account);
11507
11508         return offset;
11509 }
11510
11511 static int
11512 drsuapi_dissect_element_DsGetDCConnection01_client_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11513 {
11514         char *data;
11515
11516         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsGetDCConnection01_client_account, FALSE, &data);
11517         proto_item_append_text(tree, ": %s", data);
11518
11519         return offset;
11520 }
11521
11522 int
11523 drsuapi_dissect_struct_DsGetDCConnection01(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
11524 {
11525         proto_item *item = NULL;
11526         proto_tree *tree = NULL;
11527         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
11528         int old_offset;
11529
11530         ALIGN_TO_5_BYTES;
11531
11532         old_offset = offset;
11533
11534         if (parent_tree) {
11535                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11536                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCConnection01);
11537         }
11538         
11539         offset = drsuapi_dissect_element_DsGetDCConnection01_client_ip_address(tvb, offset, pinfo, tree, drep);
11540
11541         offset = drsuapi_dissect_element_DsGetDCConnection01_unknown2(tvb, offset, pinfo, tree, drep);
11542
11543         offset = drsuapi_dissect_element_DsGetDCConnection01_connection_time(tvb, offset, pinfo, tree, drep);
11544
11545         offset = drsuapi_dissect_element_DsGetDCConnection01_unknown4(tvb, offset, pinfo, tree, drep);
11546
11547         offset = drsuapi_dissect_element_DsGetDCConnection01_unknown5(tvb, offset, pinfo, tree, drep);
11548
11549         offset = drsuapi_dissect_element_DsGetDCConnection01_unknown6(tvb, offset, pinfo, tree, drep);
11550
11551         offset = drsuapi_dissect_element_DsGetDCConnection01_client_account(tvb, offset, pinfo, tree, drep);
11552
11553
11554         proto_item_set_len(item, offset-old_offset);
11555
11556
11557         if (di->call_data->flags & DCERPC_IS_NDR64) {
11558                 ALIGN_TO_5_BYTES;
11559         }
11560
11561         return offset;
11562 }
11563
11564
11565 /* IDL: struct { */
11566 /* IDL:         [range(0,10000)] uint32 count; */
11567 /* IDL:         [unique(1)] [size_is(count)] drsuapi_DsGetDCConnection01 *array; */
11568 /* IDL: } */
11569
11570 static int
11571 drsuapi_dissect_element_DsGetDCConnectionCtr01_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11572 {
11573         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDCConnectionCtr01_count, 0);
11574
11575         return offset;
11576 }
11577
11578 static int
11579 drsuapi_dissect_element_DsGetDCConnectionCtr01_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11580 {
11581         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCConnectionCtr01_array_, NDR_POINTER_UNIQUE, "Pointer to Array (drsuapi_DsGetDCConnection01)",hf_drsuapi_drsuapi_DsGetDCConnectionCtr01_array);
11582
11583         return offset;
11584 }
11585
11586 static int
11587 drsuapi_dissect_element_DsGetDCConnectionCtr01_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11588 {
11589         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDCConnectionCtr01_array__);
11590
11591         return offset;
11592 }
11593
11594 static int
11595 drsuapi_dissect_element_DsGetDCConnectionCtr01_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11596 {
11597         offset = drsuapi_dissect_struct_DsGetDCConnection01(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetDCConnectionCtr01_array,0);
11598
11599         return offset;
11600 }
11601
11602 int
11603 drsuapi_dissect_struct_DsGetDCConnectionCtr01(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
11604 {
11605         proto_item *item = NULL;
11606         proto_tree *tree = NULL;
11607         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
11608         int old_offset;
11609
11610         ALIGN_TO_5_BYTES;
11611
11612         old_offset = offset;
11613
11614         if (parent_tree) {
11615                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11616                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCConnectionCtr01);
11617         }
11618         
11619         offset = drsuapi_dissect_element_DsGetDCConnectionCtr01_count(tvb, offset, pinfo, tree, drep);
11620
11621         offset = drsuapi_dissect_element_DsGetDCConnectionCtr01_array(tvb, offset, pinfo, tree, drep);
11622
11623
11624         proto_item_set_len(item, offset-old_offset);
11625
11626
11627         if (di->call_data->flags & DCERPC_IS_NDR64) {
11628                 ALIGN_TO_5_BYTES;
11629         }
11630
11631         return offset;
11632 }
11633
11634
11635 /* IDL: [switch_type(drsuapi_DsGetDCInfoCtrLevels)] union { */
11636 /* IDL: [case(DRSUAPI_DC_INFO_CTR_1)] [case(DRSUAPI_DC_INFO_CTR_1)] drsuapi_DsGetDCInfoCtr1 ctr1; */
11637 /* IDL: [case(DRSUAPI_DC_INFO_CTR_2)] [case(DRSUAPI_DC_INFO_CTR_2)] drsuapi_DsGetDCInfoCtr2 ctr2; */
11638 /* IDL: [case(DRSUAPI_DC_INFO_CTR_3)] [case(DRSUAPI_DC_INFO_CTR_3)] drsuapi_DsGetDCInfoCtr3 ctr3; */
11639 /* IDL: [case(DRSUAPI_DC_CONNECTION_CTR_01)] [case(DRSUAPI_DC_CONNECTION_CTR_01)] drsuapi_DsGetDCConnectionCtr01 ctr01; */
11640 /* IDL: } */
11641
11642 static int
11643 drsuapi_dissect_element_DsGetDCInfoCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11644 {
11645         offset = drsuapi_dissect_struct_DsGetDCInfoCtr1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr1,0);
11646
11647         return offset;
11648 }
11649
11650 static int
11651 drsuapi_dissect_element_DsGetDCInfoCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11652 {
11653         offset = drsuapi_dissect_struct_DsGetDCInfoCtr2(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr2,0);
11654
11655         return offset;
11656 }
11657
11658 static int
11659 drsuapi_dissect_element_DsGetDCInfoCtr_ctr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11660 {
11661         offset = drsuapi_dissect_struct_DsGetDCInfoCtr3(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr3,0);
11662
11663         return offset;
11664 }
11665
11666 static int
11667 drsuapi_dissect_element_DsGetDCInfoCtr_ctr01(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11668 {
11669         offset = drsuapi_dissect_struct_DsGetDCConnectionCtr01(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr01,0);
11670
11671         return offset;
11672 }
11673
11674 static int
11675 drsuapi_dissect_DsGetDCInfoCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
11676 {
11677         proto_item *item = NULL;
11678         proto_tree *tree = NULL;
11679         int old_offset;
11680         guint32 level;
11681
11682         old_offset = offset;
11683         if (parent_tree) {
11684                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsGetDCInfoCtr");
11685                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetDCInfoCtr);
11686         }
11687
11688         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
11689         ALIGN_TO_5_BYTES;
11690
11691         switch(level) {
11692                 case DRSUAPI_DC_INFO_CTR_1:
11693                         offset = drsuapi_dissect_element_DsGetDCInfoCtr_ctr1(tvb, offset, pinfo, tree, drep);
11694                 break;
11695
11696                 case DRSUAPI_DC_INFO_CTR_2:
11697                         offset = drsuapi_dissect_element_DsGetDCInfoCtr_ctr2(tvb, offset, pinfo, tree, drep);
11698                 break;
11699
11700                 case DRSUAPI_DC_INFO_CTR_3:
11701                         offset = drsuapi_dissect_element_DsGetDCInfoCtr_ctr3(tvb, offset, pinfo, tree, drep);
11702                 break;
11703
11704                 case DRSUAPI_DC_CONNECTION_CTR_01:
11705                         offset = drsuapi_dissect_element_DsGetDCInfoCtr_ctr01(tvb, offset, pinfo, tree, drep);
11706                 break;
11707         }
11708         proto_item_set_len(item, offset-old_offset);
11709
11710
11711         return offset;
11712 }
11713
11714 /* IDL: struct { */
11715 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectListItem *next_object; */
11716 /* IDL:         drsuapi_DsReplicaObject object; */
11717 /* IDL: } */
11718
11719 static int
11720 drsuapi_dissect_element_DsReplicaObjectListItem_next_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11721 {
11722         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaObjectListItem_next_object_, NDR_POINTER_UNIQUE, "Pointer to Next Object (drsuapi_DsReplicaObjectListItem)",hf_drsuapi_drsuapi_DsReplicaObjectListItem_next_object);
11723
11724         return offset;
11725 }
11726
11727 static int
11728 drsuapi_dissect_element_DsReplicaObjectListItem_next_object_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11729 {
11730         offset = drsuapi_dissect_struct_drsuapi_DsReplicaObjectListItem(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaObjectListItem_next_object,0);
11731
11732         return offset;
11733 }
11734
11735 static int
11736 drsuapi_dissect_element_DsReplicaObjectListItem_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11737 {
11738         offset = drsuapi_dissect_struct_DsReplicaObject(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaObjectListItem_object,0);
11739
11740         return offset;
11741 }
11742
11743 int
11744 drsuapi_dissect_struct_DsReplicaObjectListItem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
11745 {
11746         proto_item *item = NULL;
11747         proto_tree *tree = NULL;
11748         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
11749         int old_offset;
11750
11751         ALIGN_TO_5_BYTES;
11752
11753         old_offset = offset;
11754
11755         if (parent_tree) {
11756                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11757                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjectListItem);
11758         }
11759         
11760         offset = drsuapi_dissect_element_DsReplicaObjectListItem_next_object(tvb, offset, pinfo, tree, drep);
11761
11762         offset = drsuapi_dissect_element_DsReplicaObjectListItem_object(tvb, offset, pinfo, tree, drep);
11763
11764
11765         proto_item_set_len(item, offset-old_offset);
11766
11767
11768         if (di->call_data->flags & DCERPC_IS_NDR64) {
11769                 ALIGN_TO_5_BYTES;
11770         }
11771
11772         return offset;
11773 }
11774
11775
11776 /* IDL: enum { */
11777 /* IDL:         DRSUAPI_DIRERR_OK=0, */
11778 /* IDL:         DRSUAPI_DIRERR_ATTRIBUTE=1, */
11779 /* IDL:         DRSUAPI_DIRERR_NAME=2, */
11780 /* IDL:         DRSUAPI_DIRERR_REFERRAL=3, */
11781 /* IDL:         DRSUAPI_DIRERR_SECURITY=4, */
11782 /* IDL:         DRSUAPI_DIRERR_SERVICE=5, */
11783 /* IDL:         DRSUAPI_DIRERR_UPDATE=6, */
11784 /* IDL:         DRSUAPI_DIRERR_SYSTEM=7, */
11785 /* IDL: } */
11786
11787 int
11788 drsuapi_dissect_enum_DsAddEntry_DirErr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
11789 {
11790         guint32 parameter=0;
11791         if(param){
11792                 parameter=(guint32)*param;
11793         }
11794         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
11795         if(param){
11796                 *param=(guint32)parameter;
11797         }
11798         return offset;
11799 }
11800
11801
11802 /* IDL: struct { */
11803 /* IDL:         drsuapi_DsReplicaObjectListItem first_object; */
11804 /* IDL: } */
11805
11806 static int
11807 drsuapi_dissect_element_DsAddEntryRequest2_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11808 {
11809         offset = drsuapi_dissect_struct_DsReplicaObjectListItem(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryRequest2_first_object,0);
11810
11811         return offset;
11812 }
11813
11814 int
11815 drsuapi_dissect_struct_DsAddEntryRequest2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
11816 {
11817         proto_item *item = NULL;
11818         proto_tree *tree = NULL;
11819         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
11820         int old_offset;
11821
11822         ALIGN_TO_5_BYTES;
11823
11824         old_offset = offset;
11825
11826         if (parent_tree) {
11827                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11828                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryRequest2);
11829         }
11830         
11831         offset = drsuapi_dissect_element_DsAddEntryRequest2_first_object(tvb, offset, pinfo, tree, drep);
11832
11833
11834         proto_item_set_len(item, offset-old_offset);
11835
11836
11837         if (di->call_data->flags & DCERPC_IS_NDR64) {
11838                 ALIGN_TO_5_BYTES;
11839         }
11840
11841         return offset;
11842 }
11843
11844
11845 /* IDL: enum { */
11846 /* IDL:         DRSUAPI_SECBUFFER_EMPTY=0x00000000, */
11847 /* IDL:         DRSUAPI_SECBUFFER_DATA=0x00000001, */
11848 /* IDL:         DRSUAPI_SECBUFFER_TOKEN=0x00000002, */
11849 /* IDL:         DRSUAPI_SECBUFFER_PKG_PARAMS=0x00000003, */
11850 /* IDL:         DRSUAPI_SECBUFFER_MISSING=0x00000004, */
11851 /* IDL:         DRSUAPI_SECBUFFER_EXTRA=0x00000005, */
11852 /* IDL:         DRSUAPI_SECBUFFER_STREAM_TRAILER=0x00000006, */
11853 /* IDL:         DRSUAPI_SECBUFFER_STREAM_HEADER=0x00000007, */
11854 /* IDL:         DRSUAPI_SECBUFFER_READONLY=0x80000000, */
11855 /* IDL: } */
11856
11857 int
11858 drsuapi_dissect_enum_SecBufferType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
11859 {
11860         guint32 parameter=0;
11861         if(param){
11862                 parameter=(guint32)*param;
11863         }
11864         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
11865         if(param){
11866                 *param=(guint32)parameter;
11867         }
11868         return offset;
11869 }
11870
11871
11872 /* IDL: struct { */
11873 /* IDL:         [range(0,10000)] uint32 buf_size; */
11874 /* IDL:         drsuapi_SecBufferType buf_type; */
11875 /* IDL:         [unique(1)] [size_is(buf_size)] uint8 *buffer; */
11876 /* IDL: } */
11877
11878 static int
11879 drsuapi_dissect_element_SecBuffer_buf_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11880 {
11881         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_SecBuffer_buf_size, 0);
11882
11883         return offset;
11884 }
11885
11886 static int
11887 drsuapi_dissect_element_SecBuffer_buf_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11888 {
11889         offset = drsuapi_dissect_enum_SecBufferType(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_SecBuffer_buf_type, 0);
11890
11891         return offset;
11892 }
11893
11894 static int
11895 drsuapi_dissect_element_SecBuffer_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11896 {
11897         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_SecBuffer_buffer_, NDR_POINTER_UNIQUE, "Pointer to Buffer (uint8)",hf_drsuapi_drsuapi_SecBuffer_buffer);
11898
11899         return offset;
11900 }
11901
11902 static int
11903 drsuapi_dissect_element_SecBuffer_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11904 {
11905         offset = dissect_ndr_ucarray_block(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_SecBuffer_buffer__);
11906
11907         return offset;
11908 }
11909
11910 static int
11911 drsuapi_dissect_element_SecBuffer_buffer__(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11912 {
11913         proto_tree_add_bytes(tree, hf_drsuapi_drsuapi_SecBuffer_buffer, tvb, offset, length, tvb_get_ptr(tvb, offset,length)); offset += length;
11914
11915         return offset;
11916 }
11917
11918 int
11919 drsuapi_dissect_struct_SecBuffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
11920 {
11921         proto_item *item = NULL;
11922         proto_tree *tree = NULL;
11923         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
11924         int old_offset;
11925
11926         ALIGN_TO_5_BYTES;
11927
11928         old_offset = offset;
11929
11930         if (parent_tree) {
11931                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11932                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_SecBuffer);
11933         }
11934         
11935         offset = drsuapi_dissect_element_SecBuffer_buf_size(tvb, offset, pinfo, tree, drep);
11936
11937         offset = drsuapi_dissect_element_SecBuffer_buf_type(tvb, offset, pinfo, tree, drep);
11938
11939         offset = drsuapi_dissect_element_SecBuffer_buffer(tvb, offset, pinfo, tree, drep);
11940
11941
11942         proto_item_set_len(item, offset-old_offset);
11943
11944
11945         if (di->call_data->flags & DCERPC_IS_NDR64) {
11946                 ALIGN_TO_5_BYTES;
11947         }
11948
11949         return offset;
11950 }
11951
11952
11953 /* IDL: struct { */
11954 /* IDL:         [value(0)] uint32 version; */
11955 /* IDL:         [range(0,10000)] uint32 buff_count; */
11956 /* IDL:         [unique(1)] [size_is(buff_count)] drsuapi_SecBuffer *buffers; */
11957 /* IDL: } */
11958
11959 static int
11960 drsuapi_dissect_element_SecBufferDesc_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11961 {
11962         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_SecBufferDesc_version, 0);
11963
11964         return offset;
11965 }
11966
11967 static int
11968 drsuapi_dissect_element_SecBufferDesc_buff_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11969 {
11970         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_SecBufferDesc_buff_count, 0);
11971
11972         return offset;
11973 }
11974
11975 static int
11976 drsuapi_dissect_element_SecBufferDesc_buffers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11977 {
11978         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_SecBufferDesc_buffers_, NDR_POINTER_UNIQUE, "Pointer to Buffers (drsuapi_SecBuffer)",hf_drsuapi_drsuapi_SecBufferDesc_buffers);
11979
11980         return offset;
11981 }
11982
11983 static int
11984 drsuapi_dissect_element_SecBufferDesc_buffers_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11985 {
11986         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_SecBufferDesc_buffers__);
11987
11988         return offset;
11989 }
11990
11991 static int
11992 drsuapi_dissect_element_SecBufferDesc_buffers__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
11993 {
11994         offset = drsuapi_dissect_struct_SecBuffer(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_SecBufferDesc_buffers,0);
11995
11996         return offset;
11997 }
11998
11999 int
12000 drsuapi_dissect_struct_SecBufferDesc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
12001 {
12002         proto_item *item = NULL;
12003         proto_tree *tree = NULL;
12004         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
12005         int old_offset;
12006
12007         ALIGN_TO_5_BYTES;
12008
12009         old_offset = offset;
12010
12011         if (parent_tree) {
12012                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12013                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_SecBufferDesc);
12014         }
12015         
12016         offset = drsuapi_dissect_element_SecBufferDesc_version(tvb, offset, pinfo, tree, drep);
12017
12018         offset = drsuapi_dissect_element_SecBufferDesc_buff_count(tvb, offset, pinfo, tree, drep);
12019
12020         offset = drsuapi_dissect_element_SecBufferDesc_buffers(tvb, offset, pinfo, tree, drep);
12021
12022
12023         proto_item_set_len(item, offset-old_offset);
12024
12025
12026         if (di->call_data->flags & DCERPC_IS_NDR64) {
12027                 ALIGN_TO_5_BYTES;
12028         }
12029
12030         return offset;
12031 }
12032
12033
12034 /* IDL: struct { */
12035 /* IDL:         drsuapi_DsReplicaObjectListItem first_object; */
12036 /* IDL:         [unique(1)] drsuapi_SecBufferDesc *client_creds; */
12037 /* IDL: } */
12038
12039 static int
12040 drsuapi_dissect_element_DsAddEntryRequest3_first_object(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12041 {
12042         offset = drsuapi_dissect_struct_DsReplicaObjectListItem(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryRequest3_first_object,0);
12043
12044         return offset;
12045 }
12046
12047 static int
12048 drsuapi_dissect_element_DsAddEntryRequest3_client_creds(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12049 {
12050         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAddEntryRequest3_client_creds_, NDR_POINTER_UNIQUE, "Pointer to Client Creds (drsuapi_SecBufferDesc)",hf_drsuapi_drsuapi_DsAddEntryRequest3_client_creds);
12051
12052         return offset;
12053 }
12054
12055 static int
12056 drsuapi_dissect_element_DsAddEntryRequest3_client_creds_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12057 {
12058         offset = drsuapi_dissect_struct_SecBufferDesc(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryRequest3_client_creds,0);
12059
12060         return offset;
12061 }
12062
12063 int
12064 drsuapi_dissect_struct_DsAddEntryRequest3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
12065 {
12066         proto_item *item = NULL;
12067         proto_tree *tree = NULL;
12068         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
12069         int old_offset;
12070
12071         ALIGN_TO_5_BYTES;
12072
12073         old_offset = offset;
12074
12075         if (parent_tree) {
12076                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12077                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryRequest3);
12078         }
12079         
12080         offset = drsuapi_dissect_element_DsAddEntryRequest3_first_object(tvb, offset, pinfo, tree, drep);
12081
12082         offset = drsuapi_dissect_element_DsAddEntryRequest3_client_creds(tvb, offset, pinfo, tree, drep);
12083
12084
12085         proto_item_set_len(item, offset-old_offset);
12086
12087
12088         if (di->call_data->flags & DCERPC_IS_NDR64) {
12089                 ALIGN_TO_5_BYTES;
12090         }
12091
12092         return offset;
12093 }
12094
12095
12096 /* IDL: [switch_type(uint32)] union { */
12097 /* IDL: [case(2)] [case(2)] drsuapi_DsAddEntryRequest2 req2; */
12098 /* IDL: [case(3)] [case(3)] drsuapi_DsAddEntryRequest3 req3; */
12099 /* IDL: } */
12100
12101 static int
12102 drsuapi_dissect_element_DsAddEntryRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12103 {
12104         offset = drsuapi_dissect_struct_DsAddEntryRequest2(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryRequest_req2,0);
12105
12106         return offset;
12107 }
12108
12109 static int
12110 drsuapi_dissect_element_DsAddEntryRequest_req3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12111 {
12112         offset = drsuapi_dissect_struct_DsAddEntryRequest3(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryRequest_req3,0);
12113
12114         return offset;
12115 }
12116
12117 static int
12118 drsuapi_dissect_DsAddEntryRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
12119 {
12120         proto_item *item = NULL;
12121         proto_tree *tree = NULL;
12122         int old_offset;
12123         guint32 level;
12124
12125         old_offset = offset;
12126         if (parent_tree) {
12127                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsAddEntryRequest");
12128                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryRequest);
12129         }
12130
12131         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
12132         ALIGN_TO_5_BYTES;
12133
12134         switch(level) {
12135                 case 2:
12136                         offset = drsuapi_dissect_element_DsAddEntryRequest_req2(tvb, offset, pinfo, tree, drep);
12137                 break;
12138
12139                 case 3:
12140                         offset = drsuapi_dissect_element_DsAddEntryRequest_req3(tvb, offset, pinfo, tree, drep);
12141                 break;
12142         }
12143         proto_item_set_len(item, offset-old_offset);
12144
12145
12146         return offset;
12147 }
12148
12149 /* IDL: struct { */
12150 /* IDL:         uint32 dsid; */
12151 /* IDL:         WERROR extended_err; */
12152 /* IDL:         uint32 extended_data; */
12153 /* IDL:         uint16 problem; */
12154 /* IDL: } */
12155
12156 static int
12157 drsuapi_dissect_element_DsAddEntryErrorInfoX_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12158 {
12159         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_dsid, 0);
12160
12161         return offset;
12162 }
12163
12164 static int
12165 drsuapi_dissect_element_DsAddEntryErrorInfoX_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12166 {
12167         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_extended_err, 0);
12168
12169         return offset;
12170 }
12171
12172 static int
12173 drsuapi_dissect_element_DsAddEntryErrorInfoX_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12174 {
12175         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_extended_data, 0);
12176
12177         return offset;
12178 }
12179
12180 static int
12181 drsuapi_dissect_element_DsAddEntryErrorInfoX_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12182 {
12183         offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_problem, 0);
12184
12185         return offset;
12186 }
12187
12188 int
12189 drsuapi_dissect_struct_DsAddEntryErrorInfoX(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
12190 {
12191         proto_item *item = NULL;
12192         proto_tree *tree = NULL;
12193         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
12194         int old_offset;
12195
12196         ALIGN_TO_4_BYTES;
12197
12198         old_offset = offset;
12199
12200         if (parent_tree) {
12201                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12202                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryErrorInfoX);
12203         }
12204         
12205         offset = drsuapi_dissect_element_DsAddEntryErrorInfoX_dsid(tvb, offset, pinfo, tree, drep);
12206
12207         offset = drsuapi_dissect_element_DsAddEntryErrorInfoX_extended_err(tvb, offset, pinfo, tree, drep);
12208
12209         offset = drsuapi_dissect_element_DsAddEntryErrorInfoX_extended_data(tvb, offset, pinfo, tree, drep);
12210
12211         offset = drsuapi_dissect_element_DsAddEntryErrorInfoX_problem(tvb, offset, pinfo, tree, drep);
12212
12213
12214         proto_item_set_len(item, offset-old_offset);
12215
12216
12217         if (di->call_data->flags & DCERPC_IS_NDR64) {
12218                 ALIGN_TO_4_BYTES;
12219         }
12220
12221         return offset;
12222 }
12223
12224
12225 /* IDL: struct { */
12226 /* IDL:         uint32 dsid; */
12227 /* IDL:         WERROR extended_err; */
12228 /* IDL:         uint32 extended_data; */
12229 /* IDL:         uint16 problem; */
12230 /* IDL:         drsuapi_DsAttributeId attid; */
12231 /* IDL:         uint32 is_val_returned; */
12232 /* IDL:         drsuapi_DsAttributeValue attr_val; */
12233 /* IDL: } */
12234
12235 static int
12236 drsuapi_dissect_element_DsAddEntry_AttrErr_V1_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12237 {
12238         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_dsid, 0);
12239
12240         return offset;
12241 }
12242
12243 static int
12244 drsuapi_dissect_element_DsAddEntry_AttrErr_V1_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12245 {
12246         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_extended_err, 0);
12247
12248         return offset;
12249 }
12250
12251 static int
12252 drsuapi_dissect_element_DsAddEntry_AttrErr_V1_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12253 {
12254         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_extended_data, 0);
12255
12256         return offset;
12257 }
12258
12259 static int
12260 drsuapi_dissect_element_DsAddEntry_AttrErr_V1_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12261 {
12262         offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_problem, 0);
12263
12264         return offset;
12265 }
12266
12267 static int
12268 drsuapi_dissect_element_DsAddEntry_AttrErr_V1_attid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12269 {
12270         offset = drsuapi_dissect_enum_DsAttributeId(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_attid, 0);
12271
12272         return offset;
12273 }
12274
12275 static int
12276 drsuapi_dissect_element_DsAddEntry_AttrErr_V1_is_val_returned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12277 {
12278         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_is_val_returned, 0);
12279
12280         return offset;
12281 }
12282
12283 static int
12284 drsuapi_dissect_element_DsAddEntry_AttrErr_V1_attr_val(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12285 {
12286         offset = drsuapi_dissect_struct_DsAttributeValue(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_attr_val,0);
12287
12288         return offset;
12289 }
12290
12291 int
12292 drsuapi_dissect_struct_DsAddEntry_AttrErr_V1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
12293 {
12294         proto_item *item = NULL;
12295         proto_tree *tree = NULL;
12296         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
12297         int old_offset;
12298
12299         ALIGN_TO_5_BYTES;
12300
12301         old_offset = offset;
12302
12303         if (parent_tree) {
12304                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12305                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntry_AttrErr_V1);
12306         }
12307         
12308         offset = drsuapi_dissect_element_DsAddEntry_AttrErr_V1_dsid(tvb, offset, pinfo, tree, drep);
12309
12310         offset = drsuapi_dissect_element_DsAddEntry_AttrErr_V1_extended_err(tvb, offset, pinfo, tree, drep);
12311
12312         offset = drsuapi_dissect_element_DsAddEntry_AttrErr_V1_extended_data(tvb, offset, pinfo, tree, drep);
12313
12314         offset = drsuapi_dissect_element_DsAddEntry_AttrErr_V1_problem(tvb, offset, pinfo, tree, drep);
12315
12316         offset = drsuapi_dissect_element_DsAddEntry_AttrErr_V1_attid(tvb, offset, pinfo, tree, drep);
12317
12318         offset = drsuapi_dissect_element_DsAddEntry_AttrErr_V1_is_val_returned(tvb, offset, pinfo, tree, drep);
12319
12320         offset = drsuapi_dissect_element_DsAddEntry_AttrErr_V1_attr_val(tvb, offset, pinfo, tree, drep);
12321
12322
12323         proto_item_set_len(item, offset-old_offset);
12324
12325
12326         if (di->call_data->flags & DCERPC_IS_NDR64) {
12327                 ALIGN_TO_5_BYTES;
12328         }
12329
12330         return offset;
12331 }
12332
12333
12334 /* IDL: struct { */
12335 /* IDL:         [unique(1)] drsuapi_DsAddEntry_AttrErrListItem_V1 *next; */
12336 /* IDL:         drsuapi_DsAddEntry_AttrErr_V1 err_data; */
12337 /* IDL: } */
12338
12339 static int
12340 drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_next(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12341 {
12342         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
12343
12344         return offset;
12345 }
12346
12347 static int
12348 drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_next_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12349 {
12350         offset = drsuapi_dissect_struct_drsuapi_DsAddEntry_AttrErrListItem_V1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1_next,0);
12351
12352         return offset;
12353 }
12354
12355 static int
12356 drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_err_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12357 {
12358         offset = drsuapi_dissect_struct_DsAddEntry_AttrErr_V1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1_err_data,0);
12359
12360         return offset;
12361 }
12362
12363 int
12364 drsuapi_dissect_struct_DsAddEntry_AttrErrListItem_V1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
12365 {
12366         proto_item *item = NULL;
12367         proto_tree *tree = NULL;
12368         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
12369         int old_offset;
12370
12371         ALIGN_TO_5_BYTES;
12372
12373         old_offset = offset;
12374
12375         if (parent_tree) {
12376                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12377                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1);
12378         }
12379         
12380         offset = drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_next(tvb, offset, pinfo, tree, drep);
12381
12382         offset = drsuapi_dissect_element_DsAddEntry_AttrErrListItem_V1_err_data(tvb, offset, pinfo, tree, drep);
12383
12384
12385         proto_item_set_len(item, offset-old_offset);
12386
12387
12388         if (di->call_data->flags & DCERPC_IS_NDR64) {
12389                 ALIGN_TO_5_BYTES;
12390         }
12391
12392         return offset;
12393 }
12394
12395
12396 /* IDL: struct { */
12397 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectIdentifier *id; */
12398 /* IDL:         uint32 count; */
12399 /* IDL:         drsuapi_DsAddEntry_AttrErrListItem_V1 first; */
12400 /* IDL: } */
12401
12402 static int
12403 drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12404 {
12405         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_id_, NDR_POINTER_UNIQUE, "Pointer to Id (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_id);
12406
12407         return offset;
12408 }
12409
12410 static int
12411 drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_id_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12412 {
12413         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_id,0);
12414
12415         return offset;
12416 }
12417
12418 static int
12419 drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12420 {
12421         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_count, 0);
12422
12423         return offset;
12424 }
12425
12426 static int
12427 drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_first(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12428 {
12429         offset = drsuapi_dissect_struct_DsAddEntry_AttrErrListItem_V1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_first,0);
12430
12431         return offset;
12432 }
12433
12434 int
12435 drsuapi_dissect_struct_DsAddEntryErrorInfo_Attr_V1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
12436 {
12437         proto_item *item = NULL;
12438         proto_tree *tree = NULL;
12439         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
12440         int old_offset;
12441
12442         ALIGN_TO_5_BYTES;
12443
12444         old_offset = offset;
12445
12446         if (parent_tree) {
12447                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12448                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1);
12449         }
12450         
12451         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_id(tvb, offset, pinfo, tree, drep);
12452
12453         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_count(tvb, offset, pinfo, tree, drep);
12454
12455         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Attr_V1_first(tvb, offset, pinfo, tree, drep);
12456
12457
12458         proto_item_set_len(item, offset-old_offset);
12459
12460
12461         if (di->call_data->flags & DCERPC_IS_NDR64) {
12462                 ALIGN_TO_5_BYTES;
12463         }
12464
12465         return offset;
12466 }
12467
12468
12469 /* IDL: struct { */
12470 /* IDL:         uint32 dsid; */
12471 /* IDL:         WERROR extended_err; */
12472 /* IDL:         uint32 extended_data; */
12473 /* IDL:         uint16 problem; */
12474 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectIdentifier *id_matched; */
12475 /* IDL: } */
12476
12477 static int
12478 drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12479 {
12480         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_dsid, 0);
12481
12482         return offset;
12483 }
12484
12485 static int
12486 drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12487 {
12488         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_extended_err, 0);
12489
12490         return offset;
12491 }
12492
12493 static int
12494 drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12495 {
12496         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_extended_data, 0);
12497
12498         return offset;
12499 }
12500
12501 static int
12502 drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12503 {
12504         offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_problem, 0);
12505
12506         return offset;
12507 }
12508
12509 static int
12510 drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_id_matched(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12511 {
12512         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
12513
12514         return offset;
12515 }
12516
12517 static int
12518 drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_id_matched_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12519 {
12520         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_id_matched,0);
12521
12522         return offset;
12523 }
12524
12525 int
12526 drsuapi_dissect_struct_DsAddEntryErrorInfo_Name_V1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
12527 {
12528         proto_item *item = NULL;
12529         proto_tree *tree = NULL;
12530         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
12531         int old_offset;
12532
12533         ALIGN_TO_5_BYTES;
12534
12535         old_offset = offset;
12536
12537         if (parent_tree) {
12538                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12539                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1);
12540         }
12541         
12542         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_dsid(tvb, offset, pinfo, tree, drep);
12543
12544         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_extended_err(tvb, offset, pinfo, tree, drep);
12545
12546         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_extended_data(tvb, offset, pinfo, tree, drep);
12547
12548         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_problem(tvb, offset, pinfo, tree, drep);
12549
12550         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Name_V1_id_matched(tvb, offset, pinfo, tree, drep);
12551
12552
12553         proto_item_set_len(item, offset-old_offset);
12554
12555
12556         if (di->call_data->flags & DCERPC_IS_NDR64) {
12557                 ALIGN_TO_5_BYTES;
12558         }
12559
12560         return offset;
12561 }
12562
12563
12564 /* IDL: struct { */
12565 /* IDL:         [value(83)] uint8 name_res; */
12566 /* IDL:         [value(0)] uint8 unused_pad; */
12567 /* IDL:         [value(0)] uint16 next_rdn; */
12568 /* IDL: } */
12569
12570 static int
12571 drsuapi_dissect_element_NameResOp_V1_name_res(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12572 {
12573         offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_NameResOp_V1_name_res, 0);
12574
12575         return offset;
12576 }
12577
12578 static int
12579 drsuapi_dissect_element_NameResOp_V1_unused_pad(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12580 {
12581         offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_NameResOp_V1_unused_pad, 0);
12582
12583         return offset;
12584 }
12585
12586 static int
12587 drsuapi_dissect_element_NameResOp_V1_next_rdn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12588 {
12589         offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_NameResOp_V1_next_rdn, 0);
12590
12591         return offset;
12592 }
12593
12594 int
12595 drsuapi_dissect_struct_NameResOp_V1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
12596 {
12597         proto_item *item = NULL;
12598         proto_tree *tree = NULL;
12599         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
12600         int old_offset;
12601
12602         ALIGN_TO_2_BYTES;
12603
12604         old_offset = offset;
12605
12606         if (parent_tree) {
12607                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12608                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_NameResOp_V1);
12609         }
12610         
12611         offset = drsuapi_dissect_element_NameResOp_V1_name_res(tvb, offset, pinfo, tree, drep);
12612
12613         offset = drsuapi_dissect_element_NameResOp_V1_unused_pad(tvb, offset, pinfo, tree, drep);
12614
12615         offset = drsuapi_dissect_element_NameResOp_V1_next_rdn(tvb, offset, pinfo, tree, drep);
12616
12617
12618         proto_item_set_len(item, offset-old_offset);
12619
12620
12621         if (di->call_data->flags & DCERPC_IS_NDR64) {
12622                 ALIGN_TO_2_BYTES;
12623         }
12624
12625         return offset;
12626 }
12627
12628
12629 /* IDL: enum { */
12630 /* IDL:         DRSUAPI_CH_REFTYPE_SUPERIOR=0x0000, */
12631 /* IDL:         DRSUAPI_CH_REFTYPE_SUBORDINATE=0x0001, */
12632 /* IDL:         DRSUAPI_CH_REFTYPE_NSSR=0x0002, */
12633 /* IDL:         DRSUAPI_CH_REFTYPE_CROSS=0x0003, */
12634 /* IDL: } */
12635
12636 int
12637 drsuapi_dissect_enum_DsAddEntry_RefType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
12638 {
12639         guint16 parameter=0;
12640         if(param){
12641                 parameter=(guint16)*param;
12642         }
12643         offset = dissect_ndr_uint16(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
12644         if(param){
12645                 *param=(guint32)parameter;
12646         }
12647         return offset;
12648 }
12649
12650
12651 /* IDL: enum { */
12652 /* IDL:         DRSUAPI_SE_CHOICE_BASE_ONLY=0x00, */
12653 /* IDL:         DRSUAPI_SE_CHOICE_IMMED_CHLDRN=0x01, */
12654 /* IDL:         DRSUAPI_SE_CHOICE_WHOLE_SUBTREE=0x02, */
12655 /* IDL: } */
12656
12657 int
12658 drsuapi_dissect_enum_DsAddEntry_ChoiceType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
12659 {
12660         guint8 parameter=0;
12661         if(param){
12662                 parameter=(guint8)*param;
12663         }
12664         offset = dissect_ndr_uint8(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
12665         if(param){
12666                 *param=(guint32)parameter;
12667         }
12668         return offset;
12669 }
12670
12671
12672 /* IDL: struct { */
12673 /* IDL:         [unique(1)] drsuapi_DsaAddressListItem_V1 *next; */
12674 /* IDL:         [unique(1)] lsa_String *address; */
12675 /* IDL: } */
12676
12677 static int
12678 drsuapi_dissect_element_DsaAddressListItem_V1_next(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12679 {
12680         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsaAddressListItem_V1_next_, NDR_POINTER_UNIQUE, "Pointer to Next (drsuapi_DsaAddressListItem_V1)",hf_drsuapi_drsuapi_DsaAddressListItem_V1_next);
12681
12682         return offset;
12683 }
12684
12685 static int
12686 drsuapi_dissect_element_DsaAddressListItem_V1_next_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12687 {
12688         offset = drsuapi_dissect_struct_drsuapi_DsaAddressListItem_V1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsaAddressListItem_V1_next,0);
12689
12690         return offset;
12691 }
12692
12693 static int
12694 drsuapi_dissect_element_DsaAddressListItem_V1_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12695 {
12696         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsaAddressListItem_V1_address_, NDR_POINTER_UNIQUE, "Pointer to Address (lsa_String)",hf_drsuapi_drsuapi_DsaAddressListItem_V1_address);
12697
12698         return offset;
12699 }
12700
12701 static int
12702 drsuapi_dissect_element_DsaAddressListItem_V1_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12703 {
12704         offset = drsuapi_dissect_struct_lsa_String(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsaAddressListItem_V1_address,0);
12705
12706         return offset;
12707 }
12708
12709 int
12710 drsuapi_dissect_struct_DsaAddressListItem_V1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
12711 {
12712         proto_item *item = NULL;
12713         proto_tree *tree = NULL;
12714         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
12715         int old_offset;
12716
12717         ALIGN_TO_5_BYTES;
12718
12719         old_offset = offset;
12720
12721         if (parent_tree) {
12722                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12723                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsaAddressListItem_V1);
12724         }
12725         
12726         offset = drsuapi_dissect_element_DsaAddressListItem_V1_next(tvb, offset, pinfo, tree, drep);
12727
12728         offset = drsuapi_dissect_element_DsaAddressListItem_V1_address(tvb, offset, pinfo, tree, drep);
12729
12730
12731         proto_item_set_len(item, offset-old_offset);
12732
12733
12734         if (di->call_data->flags & DCERPC_IS_NDR64) {
12735                 ALIGN_TO_5_BYTES;
12736         }
12737
12738         return offset;
12739 }
12740
12741
12742 /* IDL: struct { */
12743 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectIdentifier *id_target; */
12744 /* IDL:         drsuapi_NameResOp_V1 op_state; */
12745 /* IDL:         [value(0)] uint16 rdn_alias; */
12746 /* IDL:         [value(0)] uint16 rdn_internal; */
12747 /* IDL:         drsuapi_DsAddEntry_RefType ref_type; */
12748 /* IDL:         uint16 addr_list_count; */
12749 /* IDL:         [unique(1)] drsuapi_DsaAddressListItem_V1 *addr_list; */
12750 /* IDL:         [unique(1)] drsuapi_DsAddEntry_RefErrListItem_V1 *next; */
12751 /* IDL:         uint32 is_choice_set; */
12752 /* IDL:         drsuapi_DsAddEntry_ChoiceType choice; */
12753 /* IDL: } */
12754
12755 static int
12756 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_id_target(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12757 {
12758         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
12759
12760         return offset;
12761 }
12762
12763 static int
12764 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_id_target_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12765 {
12766         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_id_target,0);
12767
12768         return offset;
12769 }
12770
12771 static int
12772 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_op_state(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12773 {
12774         offset = drsuapi_dissect_struct_NameResOp_V1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_op_state,0);
12775
12776         return offset;
12777 }
12778
12779 static int
12780 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_rdn_alias(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12781 {
12782         offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_rdn_alias, 0);
12783
12784         return offset;
12785 }
12786
12787 static int
12788 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_rdn_internal(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12789 {
12790         offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_rdn_internal, 0);
12791
12792         return offset;
12793 }
12794
12795 static int
12796 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_ref_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12797 {
12798         offset = drsuapi_dissect_enum_DsAddEntry_RefType(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_ref_type, 0);
12799
12800         return offset;
12801 }
12802
12803 static int
12804 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_addr_list_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12805 {
12806         offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_addr_list_count, 0);
12807
12808         return offset;
12809 }
12810
12811 static int
12812 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_addr_list(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12813 {
12814         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
12815
12816         return offset;
12817 }
12818
12819 static int
12820 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_addr_list_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12821 {
12822         offset = drsuapi_dissect_struct_DsaAddressListItem_V1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_addr_list,0);
12823
12824         return offset;
12825 }
12826
12827 static int
12828 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_next(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12829 {
12830         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
12831
12832         return offset;
12833 }
12834
12835 static int
12836 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_next_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12837 {
12838         offset = drsuapi_dissect_struct_drsuapi_DsAddEntry_RefErrListItem_V1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_next,0);
12839
12840         return offset;
12841 }
12842
12843 static int
12844 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_is_choice_set(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12845 {
12846         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_is_choice_set, 0);
12847
12848         return offset;
12849 }
12850
12851 static int
12852 drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_choice(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12853 {
12854         offset = drsuapi_dissect_enum_DsAddEntry_ChoiceType(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_choice, 0);
12855
12856         return offset;
12857 }
12858
12859 int
12860 drsuapi_dissect_struct_DsAddEntry_RefErrListItem_V1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
12861 {
12862         proto_item *item = NULL;
12863         proto_tree *tree = NULL;
12864         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
12865         int old_offset;
12866
12867         ALIGN_TO_5_BYTES;
12868
12869         old_offset = offset;
12870
12871         if (parent_tree) {
12872                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12873                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1);
12874         }
12875         
12876         offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_id_target(tvb, offset, pinfo, tree, drep);
12877
12878         offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_op_state(tvb, offset, pinfo, tree, drep);
12879
12880         offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_rdn_alias(tvb, offset, pinfo, tree, drep);
12881
12882         offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_rdn_internal(tvb, offset, pinfo, tree, drep);
12883
12884         offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_ref_type(tvb, offset, pinfo, tree, drep);
12885
12886         offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_addr_list_count(tvb, offset, pinfo, tree, drep);
12887
12888         offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_addr_list(tvb, offset, pinfo, tree, drep);
12889
12890         offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_next(tvb, offset, pinfo, tree, drep);
12891
12892         offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_is_choice_set(tvb, offset, pinfo, tree, drep);
12893
12894         offset = drsuapi_dissect_element_DsAddEntry_RefErrListItem_V1_choice(tvb, offset, pinfo, tree, drep);
12895
12896
12897         proto_item_set_len(item, offset-old_offset);
12898
12899
12900         if (di->call_data->flags & DCERPC_IS_NDR64) {
12901                 ALIGN_TO_5_BYTES;
12902         }
12903
12904         return offset;
12905 }
12906
12907
12908 /* IDL: struct { */
12909 /* IDL:         uint32 dsid; */
12910 /* IDL:         WERROR extended_err; */
12911 /* IDL:         uint32 extended_data; */
12912 /* IDL:         drsuapi_DsAddEntry_RefErrListItem_V1 refer; */
12913 /* IDL: } */
12914
12915 static int
12916 drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12917 {
12918         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_dsid, 0);
12919
12920         return offset;
12921 }
12922
12923 static int
12924 drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12925 {
12926         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_extended_err, 0);
12927
12928         return offset;
12929 }
12930
12931 static int
12932 drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12933 {
12934         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_extended_data, 0);
12935
12936         return offset;
12937 }
12938
12939 static int
12940 drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_refer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12941 {
12942         offset = drsuapi_dissect_struct_DsAddEntry_RefErrListItem_V1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_refer,0);
12943
12944         return offset;
12945 }
12946
12947 int
12948 drsuapi_dissect_struct_DsAddEntryErrorInfo_Referr_V1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
12949 {
12950         proto_item *item = NULL;
12951         proto_tree *tree = NULL;
12952         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
12953         int old_offset;
12954
12955         ALIGN_TO_5_BYTES;
12956
12957         old_offset = offset;
12958
12959         if (parent_tree) {
12960                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12961                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1);
12962         }
12963         
12964         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_dsid(tvb, offset, pinfo, tree, drep);
12965
12966         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_extended_err(tvb, offset, pinfo, tree, drep);
12967
12968         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_extended_data(tvb, offset, pinfo, tree, drep);
12969
12970         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_Referr_V1_refer(tvb, offset, pinfo, tree, drep);
12971
12972
12973         proto_item_set_len(item, offset-old_offset);
12974
12975
12976         if (di->call_data->flags & DCERPC_IS_NDR64) {
12977                 ALIGN_TO_5_BYTES;
12978         }
12979
12980         return offset;
12981 }
12982
12983
12984 /* IDL: [switch_type(uint32)] union { */
12985 /* IDL: [case(1)] [case(1)] drsuapi_DsAddEntryErrorInfo_Attr_V1 attr_err; */
12986 /* IDL: [case(2)] [case(2)] drsuapi_DsAddEntryErrorInfo_Name_V1 name_err; */
12987 /* IDL: [case(3)] [case(3)] drsuapi_DsAddEntryErrorInfo_Referr_V1 referral_err; */
12988 /* IDL: [case(4)] [case(4)] drsuapi_DsAddEntryErrorInfoX security_err; */
12989 /* IDL: [case(5)] [case(5)] drsuapi_DsAddEntryErrorInfoX service_err; */
12990 /* IDL: [case(6)] [case(6)] drsuapi_DsAddEntryErrorInfoX update_err; */
12991 /* IDL: [case(7)] [case(7)] drsuapi_DsAddEntryErrorInfoX system_err; */
12992 /* IDL: } */
12993
12994 static int
12995 drsuapi_dissect_element_DsAddEntryErrorInfo_attr_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
12996 {
12997         offset = drsuapi_dissect_struct_DsAddEntryErrorInfo_Attr_V1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_attr_err,0);
12998
12999         return offset;
13000 }
13001
13002 static int
13003 drsuapi_dissect_element_DsAddEntryErrorInfo_name_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13004 {
13005         offset = drsuapi_dissect_struct_DsAddEntryErrorInfo_Name_V1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_name_err,0);
13006
13007         return offset;
13008 }
13009
13010 static int
13011 drsuapi_dissect_element_DsAddEntryErrorInfo_referral_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13012 {
13013         offset = drsuapi_dissect_struct_DsAddEntryErrorInfo_Referr_V1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_referral_err,0);
13014
13015         return offset;
13016 }
13017
13018 static int
13019 drsuapi_dissect_element_DsAddEntryErrorInfo_security_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13020 {
13021         offset = drsuapi_dissect_struct_DsAddEntryErrorInfoX(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_security_err,0);
13022
13023         return offset;
13024 }
13025
13026 static int
13027 drsuapi_dissect_element_DsAddEntryErrorInfo_service_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13028 {
13029         offset = drsuapi_dissect_struct_DsAddEntryErrorInfoX(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_service_err,0);
13030
13031         return offset;
13032 }
13033
13034 static int
13035 drsuapi_dissect_element_DsAddEntryErrorInfo_update_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13036 {
13037         offset = drsuapi_dissect_struct_DsAddEntryErrorInfoX(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_update_err,0);
13038
13039         return offset;
13040 }
13041
13042 static int
13043 drsuapi_dissect_element_DsAddEntryErrorInfo_system_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13044 {
13045         offset = drsuapi_dissect_struct_DsAddEntryErrorInfoX(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryErrorInfo_system_err,0);
13046
13047         return offset;
13048 }
13049
13050 static int
13051 drsuapi_dissect_DsAddEntryErrorInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
13052 {
13053         proto_item *item = NULL;
13054         proto_tree *tree = NULL;
13055         int old_offset;
13056         guint32 level;
13057
13058         old_offset = offset;
13059         if (parent_tree) {
13060                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsAddEntryErrorInfo");
13061                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryErrorInfo);
13062         }
13063
13064         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
13065         ALIGN_TO_5_BYTES;
13066
13067         switch(level) {
13068                 case 1:
13069                         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_attr_err(tvb, offset, pinfo, tree, drep);
13070                 break;
13071
13072                 case 2:
13073                         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_name_err(tvb, offset, pinfo, tree, drep);
13074                 break;
13075
13076                 case 3:
13077                         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_referral_err(tvb, offset, pinfo, tree, drep);
13078                 break;
13079
13080                 case 4:
13081                         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_security_err(tvb, offset, pinfo, tree, drep);
13082                 break;
13083
13084                 case 5:
13085                         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_service_err(tvb, offset, pinfo, tree, drep);
13086                 break;
13087
13088                 case 6:
13089                         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_update_err(tvb, offset, pinfo, tree, drep);
13090                 break;
13091
13092                 case 7:
13093                         offset = drsuapi_dissect_element_DsAddEntryErrorInfo_system_err(tvb, offset, pinfo, tree, drep);
13094                 break;
13095         }
13096         proto_item_set_len(item, offset-old_offset);
13097
13098
13099         return offset;
13100 }
13101
13102 /* IDL: struct { */
13103 /* IDL:         WERROR status; */
13104 /* IDL:         drsuapi_DsAddEntry_DirErr dir_err; */
13105 /* IDL:         [unique(1)] [switch_is(dir_err)] drsuapi_DsAddEntryErrorInfo *info; */
13106 /* IDL: } */
13107
13108 static int
13109 drsuapi_dissect_element_DsAddEntry_ErrData_V1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13110 {
13111         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_status, 0);
13112
13113         return offset;
13114 }
13115
13116 static int
13117 drsuapi_dissect_element_DsAddEntry_ErrData_V1_dir_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *dir_err)
13118 {
13119         offset = drsuapi_dissect_enum_DsAddEntry_DirErr(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_dir_err, dir_err);
13120
13121         return offset;
13122 }
13123
13124 static int
13125 drsuapi_dissect_element_DsAddEntry_ErrData_V1_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *dir_err)
13126 {
13127         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAddEntry_ErrData_V1_info_, NDR_POINTER_UNIQUE, "Pointer to Info (drsuapi_DsAddEntryErrorInfo)",hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_info);
13128
13129         return offset;
13130 }
13131
13132 static int
13133 drsuapi_dissect_element_DsAddEntry_ErrData_V1_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *dir_err)
13134 {
13135         offset = drsuapi_dissect_DsAddEntryErrorInfo(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_info, *dir_err);
13136
13137         return offset;
13138 }
13139
13140 int
13141 drsuapi_dissect_struct_DsAddEntry_ErrData_V1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
13142 {
13143         guint32 dir_err;
13144         proto_item *item = NULL;
13145         proto_tree *tree = NULL;
13146         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
13147         int old_offset;
13148
13149         ALIGN_TO_5_BYTES;
13150
13151         old_offset = offset;
13152
13153         if (parent_tree) {
13154                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13155                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntry_ErrData_V1);
13156         }
13157         
13158         offset = drsuapi_dissect_element_DsAddEntry_ErrData_V1_status(tvb, offset, pinfo, tree, drep);
13159
13160         offset = drsuapi_dissect_element_DsAddEntry_ErrData_V1_dir_err(tvb, offset, pinfo, tree, drep, &dir_err);
13161
13162         offset = drsuapi_dissect_element_DsAddEntry_ErrData_V1_info(tvb, offset, pinfo, tree, drep, &dir_err);
13163
13164
13165         proto_item_set_len(item, offset-old_offset);
13166
13167
13168         if (di->call_data->flags & DCERPC_IS_NDR64) {
13169                 ALIGN_TO_5_BYTES;
13170         }
13171
13172         return offset;
13173 }
13174
13175
13176 /* IDL: [switch_type(uint32)] union { */
13177 /* IDL: [case(1)] [case(1)] drsuapi_DsAddEntry_ErrData_V1 v1; */
13178 /* IDL: } */
13179
13180 static int
13181 drsuapi_dissect_element_DsAddEntry_ErrData_v1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13182 {
13183         offset = drsuapi_dissect_struct_DsAddEntry_ErrData_V1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntry_ErrData_v1,0);
13184
13185         return offset;
13186 }
13187
13188 static int
13189 drsuapi_dissect_DsAddEntry_ErrData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
13190 {
13191         proto_item *item = NULL;
13192         proto_tree *tree = NULL;
13193         int old_offset;
13194         guint32 level;
13195
13196         old_offset = offset;
13197         if (parent_tree) {
13198                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsAddEntry_ErrData");
13199                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntry_ErrData);
13200         }
13201
13202         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
13203         ALIGN_TO_5_BYTES;
13204
13205         switch(level) {
13206                 case 1:
13207                         offset = drsuapi_dissect_element_DsAddEntry_ErrData_v1(tvb, offset, pinfo, tree, drep);
13208                 break;
13209         }
13210         proto_item_set_len(item, offset-old_offset);
13211
13212
13213         return offset;
13214 }
13215
13216 /* IDL: struct { */
13217 /* IDL:         GUID guid; */
13218 /* IDL:         dom_sid28 sid; */
13219 /* IDL: } */
13220
13221 static int
13222 drsuapi_dissect_element_DsReplicaObjectIdentifier2_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13223 {
13224         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjectIdentifier2_guid, NULL);
13225
13226         return offset;
13227 }
13228
13229 static int
13230 drsuapi_dissect_element_DsReplicaObjectIdentifier2_sid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13231 {
13232         offset = drsuapi_dissect_struct_dom_sid28(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaObjectIdentifier2_sid,0);
13233
13234         return offset;
13235 }
13236
13237 int
13238 drsuapi_dissect_struct_DsReplicaObjectIdentifier2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
13239 {
13240         proto_item *item = NULL;
13241         proto_tree *tree = NULL;
13242         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
13243         int old_offset;
13244
13245         ALIGN_TO_4_BYTES;
13246
13247         old_offset = offset;
13248
13249         if (parent_tree) {
13250                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13251                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjectIdentifier2);
13252         }
13253         
13254         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier2_guid(tvb, offset, pinfo, tree, drep);
13255
13256         offset = drsuapi_dissect_element_DsReplicaObjectIdentifier2_sid(tvb, offset, pinfo, tree, drep);
13257
13258
13259         proto_item_set_len(item, offset-old_offset);
13260
13261
13262         if (di->call_data->flags & DCERPC_IS_NDR64) {
13263                 ALIGN_TO_4_BYTES;
13264         }
13265
13266         return offset;
13267 }
13268
13269
13270 /* IDL: struct { */
13271 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectIdentifier *id; */
13272 /* IDL:         drsuapi_DsAddEntry_DirErr dir_err; */
13273 /* IDL:         uint32 dsid; */
13274 /* IDL:         WERROR extended_err; */
13275 /* IDL:         uint32 extended_data; */
13276 /* IDL:         uint16 problem; */
13277 /* IDL:         [range(0,10000)] uint32 count; */
13278 /* IDL:         [unique(1)] [size_is(count)] drsuapi_DsReplicaObjectIdentifier2 *objects; */
13279 /* IDL: } */
13280
13281 static int
13282 drsuapi_dissect_element_DsAddEntryCtr2_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13283 {
13284         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAddEntryCtr2_id_, NDR_POINTER_UNIQUE, "Pointer to Id (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsAddEntryCtr2_id);
13285
13286         return offset;
13287 }
13288
13289 static int
13290 drsuapi_dissect_element_DsAddEntryCtr2_id_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13291 {
13292         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryCtr2_id,0);
13293
13294         return offset;
13295 }
13296
13297 static int
13298 drsuapi_dissect_element_DsAddEntryCtr2_dir_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13299 {
13300         offset = drsuapi_dissect_enum_DsAddEntry_DirErr(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryCtr2_dir_err, 0);
13301
13302         return offset;
13303 }
13304
13305 static int
13306 drsuapi_dissect_element_DsAddEntryCtr2_dsid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13307 {
13308         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryCtr2_dsid, 0);
13309
13310         return offset;
13311 }
13312
13313 static int
13314 drsuapi_dissect_element_DsAddEntryCtr2_extended_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13315 {
13316         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryCtr2_extended_err, 0);
13317
13318         return offset;
13319 }
13320
13321 static int
13322 drsuapi_dissect_element_DsAddEntryCtr2_extended_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13323 {
13324         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryCtr2_extended_data, 0);
13325
13326         return offset;
13327 }
13328
13329 static int
13330 drsuapi_dissect_element_DsAddEntryCtr2_problem(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13331 {
13332         offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryCtr2_problem, 0);
13333
13334         return offset;
13335 }
13336
13337 static int
13338 drsuapi_dissect_element_DsAddEntryCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13339 {
13340         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryCtr2_count, 0);
13341
13342         return offset;
13343 }
13344
13345 static int
13346 drsuapi_dissect_element_DsAddEntryCtr2_objects(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13347 {
13348         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAddEntryCtr2_objects_, NDR_POINTER_UNIQUE, "Pointer to Objects (drsuapi_DsReplicaObjectIdentifier2)",hf_drsuapi_drsuapi_DsAddEntryCtr2_objects);
13349
13350         return offset;
13351 }
13352
13353 static int
13354 drsuapi_dissect_element_DsAddEntryCtr2_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13355 {
13356         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAddEntryCtr2_objects__);
13357
13358         return offset;
13359 }
13360
13361 static int
13362 drsuapi_dissect_element_DsAddEntryCtr2_objects__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13363 {
13364         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier2(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryCtr2_objects,0);
13365
13366         return offset;
13367 }
13368
13369 int
13370 drsuapi_dissect_struct_DsAddEntryCtr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
13371 {
13372         proto_item *item = NULL;
13373         proto_tree *tree = NULL;
13374         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
13375         int old_offset;
13376
13377         ALIGN_TO_5_BYTES;
13378
13379         old_offset = offset;
13380
13381         if (parent_tree) {
13382                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13383                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryCtr2);
13384         }
13385         
13386         offset = drsuapi_dissect_element_DsAddEntryCtr2_id(tvb, offset, pinfo, tree, drep);
13387
13388         offset = drsuapi_dissect_element_DsAddEntryCtr2_dir_err(tvb, offset, pinfo, tree, drep);
13389
13390         offset = drsuapi_dissect_element_DsAddEntryCtr2_dsid(tvb, offset, pinfo, tree, drep);
13391
13392         offset = drsuapi_dissect_element_DsAddEntryCtr2_extended_err(tvb, offset, pinfo, tree, drep);
13393
13394         offset = drsuapi_dissect_element_DsAddEntryCtr2_extended_data(tvb, offset, pinfo, tree, drep);
13395
13396         offset = drsuapi_dissect_element_DsAddEntryCtr2_problem(tvb, offset, pinfo, tree, drep);
13397
13398         offset = drsuapi_dissect_element_DsAddEntryCtr2_count(tvb, offset, pinfo, tree, drep);
13399
13400         offset = drsuapi_dissect_element_DsAddEntryCtr2_objects(tvb, offset, pinfo, tree, drep);
13401
13402
13403         proto_item_set_len(item, offset-old_offset);
13404
13405
13406         if (di->call_data->flags & DCERPC_IS_NDR64) {
13407                 ALIGN_TO_5_BYTES;
13408         }
13409
13410         return offset;
13411 }
13412
13413
13414 /* IDL: struct { */
13415 /* IDL:         [unique(1)] drsuapi_DsReplicaObjectIdentifier *id; */
13416 /* IDL:         uint32 err_ver; */
13417 /* IDL:         [unique(1)] [switch_is(err_ver)] drsuapi_DsAddEntry_ErrData *err_data; */
13418 /* IDL:         [range(0,10000)] uint32 count; */
13419 /* IDL:         [unique(1)] [size_is(count)] drsuapi_DsReplicaObjectIdentifier2 *objects; */
13420 /* IDL: } */
13421
13422 static int
13423 drsuapi_dissect_element_DsAddEntryCtr3_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13424 {
13425         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAddEntryCtr3_id_, NDR_POINTER_UNIQUE, "Pointer to Id (drsuapi_DsReplicaObjectIdentifier)",hf_drsuapi_drsuapi_DsAddEntryCtr3_id);
13426
13427         return offset;
13428 }
13429
13430 static int
13431 drsuapi_dissect_element_DsAddEntryCtr3_id_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13432 {
13433         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryCtr3_id,0);
13434
13435         return offset;
13436 }
13437
13438 static int
13439 drsuapi_dissect_element_DsAddEntryCtr3_err_ver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *err_ver)
13440 {
13441         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryCtr3_err_ver, err_ver);
13442
13443         return offset;
13444 }
13445
13446 static int
13447 drsuapi_dissect_element_DsAddEntryCtr3_err_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *err_ver)
13448 {
13449         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAddEntryCtr3_err_data_, NDR_POINTER_UNIQUE, "Pointer to Err Data (drsuapi_DsAddEntry_ErrData)",hf_drsuapi_drsuapi_DsAddEntryCtr3_err_data);
13450
13451         return offset;
13452 }
13453
13454 static int
13455 drsuapi_dissect_element_DsAddEntryCtr3_err_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *err_ver)
13456 {
13457         offset = drsuapi_dissect_DsAddEntry_ErrData(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryCtr3_err_data, *err_ver);
13458
13459         return offset;
13460 }
13461
13462 static int
13463 drsuapi_dissect_element_DsAddEntryCtr3_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13464 {
13465         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntryCtr3_count, 0);
13466
13467         return offset;
13468 }
13469
13470 static int
13471 drsuapi_dissect_element_DsAddEntryCtr3_objects(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13472 {
13473         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAddEntryCtr3_objects_, NDR_POINTER_UNIQUE, "Pointer to Objects (drsuapi_DsReplicaObjectIdentifier2)",hf_drsuapi_drsuapi_DsAddEntryCtr3_objects);
13474
13475         return offset;
13476 }
13477
13478 static int
13479 drsuapi_dissect_element_DsAddEntryCtr3_objects_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13480 {
13481         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAddEntryCtr3_objects__);
13482
13483         return offset;
13484 }
13485
13486 static int
13487 drsuapi_dissect_element_DsAddEntryCtr3_objects__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13488 {
13489         offset = drsuapi_dissect_struct_DsReplicaObjectIdentifier2(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryCtr3_objects,0);
13490
13491         return offset;
13492 }
13493
13494 int
13495 drsuapi_dissect_struct_DsAddEntryCtr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
13496 {
13497         g err_ver;
13498         proto_item *item = NULL;
13499         proto_tree *tree = NULL;
13500         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
13501         int old_offset;
13502
13503         ALIGN_TO_5_BYTES;
13504
13505         old_offset = offset;
13506
13507         if (parent_tree) {
13508                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13509                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryCtr3);
13510         }
13511         
13512         offset = drsuapi_dissect_element_DsAddEntryCtr3_id(tvb, offset, pinfo, tree, drep);
13513
13514         offset = drsuapi_dissect_element_DsAddEntryCtr3_err_ver(tvb, offset, pinfo, tree, drep, &err_ver);
13515
13516         offset = drsuapi_dissect_element_DsAddEntryCtr3_err_data(tvb, offset, pinfo, tree, drep, &err_ver);
13517
13518         offset = drsuapi_dissect_element_DsAddEntryCtr3_count(tvb, offset, pinfo, tree, drep);
13519
13520         offset = drsuapi_dissect_element_DsAddEntryCtr3_objects(tvb, offset, pinfo, tree, drep);
13521
13522
13523         proto_item_set_len(item, offset-old_offset);
13524
13525
13526         if (di->call_data->flags & DCERPC_IS_NDR64) {
13527                 ALIGN_TO_5_BYTES;
13528         }
13529
13530         return offset;
13531 }
13532
13533
13534 /* IDL: [switch_type(uint32)] union { */
13535 /* IDL: [case(2)] [case(2)] drsuapi_DsAddEntryCtr2 ctr2; */
13536 /* IDL: [case(3)] [case(3)] drsuapi_DsAddEntryCtr3 ctr3; */
13537 /* IDL: } */
13538
13539 static int
13540 drsuapi_dissect_element_DsAddEntryCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13541 {
13542         offset = drsuapi_dissect_struct_DsAddEntryCtr2(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryCtr_ctr2,0);
13543
13544         return offset;
13545 }
13546
13547 static int
13548 drsuapi_dissect_element_DsAddEntryCtr_ctr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13549 {
13550         offset = drsuapi_dissect_struct_DsAddEntryCtr3(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsAddEntryCtr_ctr3,0);
13551
13552         return offset;
13553 }
13554
13555 static int
13556 drsuapi_dissect_DsAddEntryCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
13557 {
13558         proto_item *item = NULL;
13559         proto_tree *tree = NULL;
13560         int old_offset;
13561         guint32 level;
13562
13563         old_offset = offset;
13564         if (parent_tree) {
13565                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsAddEntryCtr");
13566                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsAddEntryCtr);
13567         }
13568
13569         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
13570         ALIGN_TO_5_BYTES;
13571
13572         switch(level) {
13573                 case 2:
13574                         offset = drsuapi_dissect_element_DsAddEntryCtr_ctr2(tvb, offset, pinfo, tree, drep);
13575                 break;
13576
13577                 case 3:
13578                         offset = drsuapi_dissect_element_DsAddEntryCtr_ctr3(tvb, offset, pinfo, tree, drep);
13579                 break;
13580         }
13581         proto_item_set_len(item, offset-old_offset);
13582
13583
13584         return offset;
13585 }
13586
13587 /* IDL: bitmap { */
13588 /* IDL:         DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION =  0x00000001 , */
13589 /* IDL:         DRSUAPI_DS_EXECUTE_KCC_DAMPED =  0x00000002 , */
13590 /* IDL: } */
13591
13592 int
13593 drsuapi_dissect_bitmap_DsExecuteKCCFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
13594 {
13595         proto_item *item = NULL;
13596         proto_tree *tree = NULL;
13597
13598         guint32 flags;
13599         ALIGN_TO_4_BYTES;
13600
13601         if (parent_tree) {
13602                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, DREP_ENC_INTEGER(drep));
13603                 tree = proto_item_add_subtree(item,ett_drsuapi_drsuapi_DsExecuteKCCFlags);
13604         }
13605
13606         offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
13607         proto_item_append_text(item, ": ");
13608
13609         if (!flags)
13610                 proto_item_append_text(item, "(No values set)");
13611
13612         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
13613         if (flags&( 0x00000001 )){
13614                 proto_item_append_text(item, "DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION");
13615                 if (flags & (~( 0x00000001 )))
13616                         proto_item_append_text(item, ", ");
13617         }
13618         flags&=(~( 0x00000001 ));
13619
13620         proto_tree_add_boolean(tree, hf_drsuapi_drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_DAMPED, tvb, offset-4, 4, flags);
13621         if (flags&( 0x00000002 )){
13622                 proto_item_append_text(item, "DRSUAPI_DS_EXECUTE_KCC_DAMPED");
13623                 if (flags & (~( 0x00000002 )))
13624                         proto_item_append_text(item, ", ");
13625         }
13626         flags&=(~( 0x00000002 ));
13627
13628         if (flags) {
13629                 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
13630         }
13631
13632         return offset;
13633 }
13634
13635
13636 /* IDL: struct { */
13637 /* IDL:         uint32 taskID; */
13638 /* IDL:         drsuapi_DsExecuteKCCFlags flags; */
13639 /* IDL: } */
13640
13641 static int
13642 drsuapi_dissect_element_DsExecuteKCC1_taskID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13643 {
13644         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsExecuteKCC1_taskID, 0);
13645
13646         return offset;
13647 }
13648
13649 static int
13650 drsuapi_dissect_element_DsExecuteKCC1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13651 {
13652         offset = drsuapi_dissect_bitmap_DsExecuteKCCFlags(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsExecuteKCC1_flags, 0);
13653
13654         return offset;
13655 }
13656
13657 int
13658 drsuapi_dissect_struct_DsExecuteKCC1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
13659 {
13660         proto_item *item = NULL;
13661         proto_tree *tree = NULL;
13662         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
13663         int old_offset;
13664
13665         ALIGN_TO_4_BYTES;
13666
13667         old_offset = offset;
13668
13669         if (parent_tree) {
13670                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13671                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsExecuteKCC1);
13672         }
13673         
13674         offset = drsuapi_dissect_element_DsExecuteKCC1_taskID(tvb, offset, pinfo, tree, drep);
13675
13676         offset = drsuapi_dissect_element_DsExecuteKCC1_flags(tvb, offset, pinfo, tree, drep);
13677
13678
13679         proto_item_set_len(item, offset-old_offset);
13680
13681
13682         if (di->call_data->flags & DCERPC_IS_NDR64) {
13683                 ALIGN_TO_4_BYTES;
13684         }
13685
13686         return offset;
13687 }
13688
13689
13690 /* IDL: [switch_type(uint32)] union { */
13691 /* IDL: [case(1)] [case(1)] drsuapi_DsExecuteKCC1 ctr1; */
13692 /* IDL: } */
13693
13694 static int
13695 drsuapi_dissect_element_DsExecuteKCCRequest_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13696 {
13697         offset = drsuapi_dissect_struct_DsExecuteKCC1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsExecuteKCCRequest_ctr1,0);
13698
13699         return offset;
13700 }
13701
13702 static int
13703 drsuapi_dissect_DsExecuteKCCRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
13704 {
13705         proto_item *item = NULL;
13706         proto_tree *tree = NULL;
13707         int old_offset;
13708         guint32 level;
13709
13710         old_offset = offset;
13711         if (parent_tree) {
13712                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsExecuteKCCRequest");
13713                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsExecuteKCCRequest);
13714         }
13715
13716         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
13717         ALIGN_TO_4_BYTES;
13718
13719         switch(level) {
13720                 case 1:
13721                         offset = drsuapi_dissect_element_DsExecuteKCCRequest_ctr1(tvb, offset, pinfo, tree, drep);
13722                 break;
13723         }
13724         proto_item_set_len(item, offset-old_offset);
13725
13726
13727         return offset;
13728 }
13729
13730 /* IDL: enum { */
13731 /* IDL:         DRSUAPI_DS_REPLICA_GET_INFO=1, */
13732 /* IDL:         DRSUAPI_DS_REPLICA_GET_INFO2=2, */
13733 /* IDL: } */
13734
13735 int
13736 drsuapi_dissect_enum_DsReplicaGetInfoLevel(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
13737 {
13738         guint32 parameter=0;
13739         if(param){
13740                 parameter=(guint32)*param;
13741         }
13742         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
13743         if(param){
13744                 *param=(guint32)parameter;
13745         }
13746         return offset;
13747 }
13748
13749
13750 /* IDL: enum { */
13751 /* IDL:         DRSUAPI_DS_REPLICA_INFO_NEIGHBORS=0, */
13752 /* IDL:         DRSUAPI_DS_REPLICA_INFO_CURSORS=1, */
13753 /* IDL:         DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA=2, */
13754 /* IDL:         DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES=3, */
13755 /* IDL:         DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES=4, */
13756 /* IDL:         DRSUAPI_DS_REPLICA_INFO_PENDING_OPS=5, */
13757 /* IDL:         DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA=6, */
13758 /* IDL:         DRSUAPI_DS_REPLICA_INFO_CURSORS2=7, */
13759 /* IDL:         DRSUAPI_DS_REPLICA_INFO_CURSORS3=8, */
13760 /* IDL:         DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2=9, */
13761 /* IDL:         DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2=10, */
13762 /* IDL:         DRSUAPI_DS_REPLICA_INFO_REPSTO=-2, */
13763 /* IDL:         DRSUAPI_DS_REPLICA_INFO_CLIENT_CONTEXTS=-4, */
13764 /* IDL:         DRSUAPI_DS_REPLICA_INFO_UPTODATE_VECTOR_V1=-5, */
13765 /* IDL:         DRSUAPI_DS_REPLICA_INFO_SERVER_OUTGOING_CALLS=-6, */
13766 /* IDL: } */
13767
13768 int
13769 drsuapi_dissect_enum_DsReplicaInfoType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
13770 {
13771         guint32 parameter=0;
13772         if(param){
13773                 parameter=(guint32)*param;
13774         }
13775         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
13776         if(param){
13777                 *param=(guint32)parameter;
13778         }
13779         return offset;
13780 }
13781
13782
13783 /* IDL: struct { */
13784 /* IDL:         drsuapi_DsReplicaInfoType info_type; */
13785 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *object_dn; */
13786 /* IDL:         GUID source_dsa_guid; */
13787 /* IDL: } */
13788
13789 static int
13790 drsuapi_dissect_element_DsReplicaGetInfoRequest1_info_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13791 {
13792         offset = drsuapi_dissect_enum_DsReplicaInfoType(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_info_type, 0);
13793
13794         return offset;
13795 }
13796
13797 static int
13798 drsuapi_dissect_element_DsReplicaGetInfoRequest1_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13799 {
13800         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaGetInfoRequest1_object_dn_, NDR_POINTER_UNIQUE, "Pointer to Object Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_object_dn);
13801
13802         return offset;
13803 }
13804
13805 static int
13806 drsuapi_dissect_element_DsReplicaGetInfoRequest1_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13807 {
13808         char *data;
13809
13810         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_object_dn, FALSE, &data);
13811         proto_item_append_text(tree, ": %s", data);
13812
13813         return offset;
13814 }
13815
13816 static int
13817 drsuapi_dissect_element_DsReplicaGetInfoRequest1_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13818 {
13819         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_source_dsa_guid, NULL);
13820
13821         return offset;
13822 }
13823
13824 int
13825 drsuapi_dissect_struct_DsReplicaGetInfoRequest1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
13826 {
13827         proto_item *item = NULL;
13828         proto_tree *tree = NULL;
13829         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
13830         int old_offset;
13831
13832         ALIGN_TO_5_BYTES;
13833
13834         old_offset = offset;
13835
13836         if (parent_tree) {
13837                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13838                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaGetInfoRequest1);
13839         }
13840         
13841         offset = drsuapi_dissect_element_DsReplicaGetInfoRequest1_info_type(tvb, offset, pinfo, tree, drep);
13842
13843         offset = drsuapi_dissect_element_DsReplicaGetInfoRequest1_object_dn(tvb, offset, pinfo, tree, drep);
13844
13845         offset = drsuapi_dissect_element_DsReplicaGetInfoRequest1_source_dsa_guid(tvb, offset, pinfo, tree, drep);
13846
13847
13848         proto_item_set_len(item, offset-old_offset);
13849
13850
13851         if (di->call_data->flags & DCERPC_IS_NDR64) {
13852                 ALIGN_TO_5_BYTES;
13853         }
13854
13855         return offset;
13856 }
13857
13858
13859 /* IDL: struct { */
13860 /* IDL:         drsuapi_DsReplicaInfoType info_type; */
13861 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *object_dn; */
13862 /* IDL:         GUID source_dsa_guid; */
13863 /* IDL:         uint32 flags; */
13864 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *attribute_name; */
13865 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *value_dn_str; */
13866 /* IDL:         uint32 enumeration_context; */
13867 /* IDL: } */
13868
13869 static int
13870 drsuapi_dissect_element_DsReplicaGetInfoRequest2_info_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13871 {
13872         offset = drsuapi_dissect_enum_DsReplicaInfoType(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_info_type, 0);
13873
13874         return offset;
13875 }
13876
13877 static int
13878 drsuapi_dissect_element_DsReplicaGetInfoRequest2_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13879 {
13880         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaGetInfoRequest2_object_dn_, NDR_POINTER_UNIQUE, "Pointer to Object Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_object_dn);
13881
13882         return offset;
13883 }
13884
13885 static int
13886 drsuapi_dissect_element_DsReplicaGetInfoRequest2_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13887 {
13888         char *data;
13889
13890         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_object_dn, FALSE, &data);
13891         proto_item_append_text(tree, ": %s", data);
13892
13893         return offset;
13894 }
13895
13896 static int
13897 drsuapi_dissect_element_DsReplicaGetInfoRequest2_source_dsa_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13898 {
13899         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_source_dsa_guid, NULL);
13900
13901         return offset;
13902 }
13903
13904 static int
13905 drsuapi_dissect_element_DsReplicaGetInfoRequest2_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13906 {
13907         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_flags, 0);
13908
13909         return offset;
13910 }
13911
13912 static int
13913 drsuapi_dissect_element_DsReplicaGetInfoRequest2_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13914 {
13915         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaGetInfoRequest2_attribute_name_, NDR_POINTER_UNIQUE, "Pointer to Attribute Name (uint16)",hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_attribute_name);
13916
13917         return offset;
13918 }
13919
13920 static int
13921 drsuapi_dissect_element_DsReplicaGetInfoRequest2_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13922 {
13923         char *data;
13924
13925         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_attribute_name, FALSE, &data);
13926         proto_item_append_text(tree, ": %s", data);
13927
13928         return offset;
13929 }
13930
13931 static int
13932 drsuapi_dissect_element_DsReplicaGetInfoRequest2_value_dn_str(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13933 {
13934         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaGetInfoRequest2_value_dn_str_, NDR_POINTER_UNIQUE, "Pointer to Value Dn Str (uint16)",hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_value_dn_str);
13935
13936         return offset;
13937 }
13938
13939 static int
13940 drsuapi_dissect_element_DsReplicaGetInfoRequest2_value_dn_str_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13941 {
13942         char *data;
13943
13944         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_value_dn_str, FALSE, &data);
13945         proto_item_append_text(tree, ": %s", data);
13946
13947         return offset;
13948 }
13949
13950 static int
13951 drsuapi_dissect_element_DsReplicaGetInfoRequest2_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
13952 {
13953         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_enumeration_context, 0);
13954
13955         return offset;
13956 }
13957
13958 int
13959 drsuapi_dissect_struct_DsReplicaGetInfoRequest2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
13960 {
13961         proto_item *item = NULL;
13962         proto_tree *tree = NULL;
13963         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
13964         int old_offset;
13965
13966         ALIGN_TO_5_BYTES;
13967
13968         old_offset = offset;
13969
13970         if (parent_tree) {
13971                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13972                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaGetInfoRequest2);
13973         }
13974         
13975         offset = drsuapi_dissect_element_DsReplicaGetInfoRequest2_info_type(tvb, offset, pinfo, tree, drep);
13976
13977         offset = drsuapi_dissect_element_DsReplicaGetInfoRequest2_object_dn(tvb, offset, pinfo, tree, drep);
13978
13979         offset = drsuapi_dissect_element_DsReplicaGetInfoRequest2_source_dsa_guid(tvb, offset, pinfo, tree, drep);
13980
13981         offset = drsuapi_dissect_element_DsReplicaGetInfoRequest2_flags(tvb, offset, pinfo, tree, drep);
13982
13983         offset = drsuapi_dissect_element_DsReplicaGetInfoRequest2_attribute_name(tvb, offset, pinfo, tree, drep);
13984
13985         offset = drsuapi_dissect_element_DsReplicaGetInfoRequest2_value_dn_str(tvb, offset, pinfo, tree, drep);
13986
13987         offset = drsuapi_dissect_element_DsReplicaGetInfoRequest2_enumeration_context(tvb, offset, pinfo, tree, drep);
13988
13989
13990         proto_item_set_len(item, offset-old_offset);
13991
13992
13993         if (di->call_data->flags & DCERPC_IS_NDR64) {
13994                 ALIGN_TO_5_BYTES;
13995         }
13996
13997         return offset;
13998 }
13999
14000
14001 /* IDL: [switch_type(drsuapi_DsReplicaGetInfoLevel)] union { */
14002 /* IDL: [case(DRSUAPI_DS_REPLICA_GET_INFO)] [case(DRSUAPI_DS_REPLICA_GET_INFO)] drsuapi_DsReplicaGetInfoRequest1 req1; */
14003 /* IDL: [case(DRSUAPI_DS_REPLICA_GET_INFO2)] [case(DRSUAPI_DS_REPLICA_GET_INFO2)] drsuapi_DsReplicaGetInfoRequest2 req2; */
14004 /* IDL: } */
14005
14006 static int
14007 drsuapi_dissect_element_DsReplicaGetInfoRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14008 {
14009         offset = drsuapi_dissect_struct_DsReplicaGetInfoRequest1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaGetInfoRequest_req1,0);
14010
14011         return offset;
14012 }
14013
14014 static int
14015 drsuapi_dissect_element_DsReplicaGetInfoRequest_req2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14016 {
14017         offset = drsuapi_dissect_struct_DsReplicaGetInfoRequest2(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaGetInfoRequest_req2,0);
14018
14019         return offset;
14020 }
14021
14022 static int
14023 drsuapi_dissect_DsReplicaGetInfoRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
14024 {
14025         proto_item *item = NULL;
14026         proto_tree *tree = NULL;
14027         int old_offset;
14028         guint32 level;
14029
14030         old_offset = offset;
14031         if (parent_tree) {
14032                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsReplicaGetInfoRequest");
14033                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaGetInfoRequest);
14034         }
14035
14036         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
14037         ALIGN_TO_5_BYTES;
14038
14039         switch(level) {
14040                 case DRSUAPI_DS_REPLICA_GET_INFO:
14041                         offset = drsuapi_dissect_element_DsReplicaGetInfoRequest_req1(tvb, offset, pinfo, tree, drep);
14042                 break;
14043
14044                 case DRSUAPI_DS_REPLICA_GET_INFO2:
14045                         offset = drsuapi_dissect_element_DsReplicaGetInfoRequest_req2(tvb, offset, pinfo, tree, drep);
14046                 break;
14047         }
14048         proto_item_set_len(item, offset-old_offset);
14049
14050
14051         return offset;
14052 }
14053
14054 /* IDL: struct { */
14055 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *naming_context_dn; */
14056 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *source_dsa_obj_dn; */
14057 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *source_dsa_address; */
14058 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *transport_obj_dn; */
14059 /* IDL:         drsuapi_DrsOptions replica_flags; */
14060 /* IDL:         uint32 reserved; */
14061 /* IDL:         GUID naming_context_obj_guid; */
14062 /* IDL:         GUID source_dsa_obj_guid; */
14063 /* IDL:         GUID source_dsa_invocation_id; */
14064 /* IDL:         GUID transport_obj_guid; */
14065 /* IDL:         hyper tmp_highest_usn; */
14066 /* IDL:         hyper highest_usn; */
14067 /* IDL:         NTTIME last_success; */
14068 /* IDL:         NTTIME last_attempt; */
14069 /* IDL:         WERROR result_last_attempt; */
14070 /* IDL:         uint32 consecutive_sync_failures; */
14071 /* IDL: } */
14072
14073 static int
14074 drsuapi_dissect_element_DsReplicaNeighbour_naming_context_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14075 {
14076         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaNeighbour_naming_context_dn_, NDR_POINTER_UNIQUE, "Pointer to Naming Context Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaNeighbour_naming_context_dn);
14077
14078         return offset;
14079 }
14080
14081 static int
14082 drsuapi_dissect_element_DsReplicaNeighbour_naming_context_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14083 {
14084         char *data;
14085
14086         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaNeighbour_naming_context_dn, FALSE, &data);
14087         proto_item_append_text(tree, ": %s", data);
14088
14089         return offset;
14090 }
14091
14092 static int
14093 drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14094 {
14095         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
14096
14097         return offset;
14098 }
14099
14100 static int
14101 drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14102 {
14103         char *data;
14104
14105         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn, FALSE, &data);
14106         proto_item_append_text(tree, ": %s", data);
14107
14108         return offset;
14109 }
14110
14111 static int
14112 drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14113 {
14114         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_address_, NDR_POINTER_UNIQUE, "Pointer to Source Dsa Address (uint16)",hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_address);
14115
14116         return offset;
14117 }
14118
14119 static int
14120 drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14121 {
14122         char *data;
14123
14124         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_address, FALSE, &data);
14125         proto_item_append_text(tree, ": %s", data);
14126
14127         return offset;
14128 }
14129
14130 static int
14131 drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14132 {
14133         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_dn_, NDR_POINTER_UNIQUE, "Pointer to Transport Obj Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaNeighbour_transport_obj_dn);
14134
14135         return offset;
14136 }
14137
14138 static int
14139 drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14140 {
14141         char *data;
14142
14143         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaNeighbour_transport_obj_dn, FALSE, &data);
14144         proto_item_append_text(tree, ": %s", data);
14145
14146         return offset;
14147 }
14148
14149 static int
14150 drsuapi_dissect_element_DsReplicaNeighbour_replica_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14151 {
14152         offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_replica_flags, 0);
14153
14154         return offset;
14155 }
14156
14157 static int
14158 drsuapi_dissect_element_DsReplicaNeighbour_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14159 {
14160         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_reserved, 0);
14161
14162         return offset;
14163 }
14164
14165 static int
14166 drsuapi_dissect_element_DsReplicaNeighbour_naming_context_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14167 {
14168         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_naming_context_obj_guid, NULL);
14169
14170         return offset;
14171 }
14172
14173 static int
14174 drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14175 {
14176         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid, NULL);
14177
14178         return offset;
14179 }
14180
14181 static int
14182 drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14183 {
14184         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id, NULL);
14185
14186         return offset;
14187 }
14188
14189 static int
14190 drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14191 {
14192         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_transport_obj_guid, NULL);
14193
14194         return offset;
14195 }
14196
14197 static int
14198 drsuapi_dissect_element_DsReplicaNeighbour_tmp_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14199 {
14200         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_tmp_highest_usn, NULL);
14201
14202         return offset;
14203 }
14204
14205 static int
14206 drsuapi_dissect_element_DsReplicaNeighbour_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14207 {
14208         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_highest_usn, NULL);
14209
14210         return offset;
14211 }
14212
14213 static int
14214 drsuapi_dissect_element_DsReplicaNeighbour_last_success(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14215 {
14216         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_last_success);
14217
14218         return offset;
14219 }
14220
14221 static int
14222 drsuapi_dissect_element_DsReplicaNeighbour_last_attempt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14223 {
14224         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_last_attempt);
14225
14226         return offset;
14227 }
14228
14229 static int
14230 drsuapi_dissect_element_DsReplicaNeighbour_result_last_attempt(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14231 {
14232         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_result_last_attempt, 0);
14233
14234         return offset;
14235 }
14236
14237 static int
14238 drsuapi_dissect_element_DsReplicaNeighbour_consecutive_sync_failures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14239 {
14240         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaNeighbour_consecutive_sync_failures, 0);
14241
14242         return offset;
14243 }
14244
14245 int
14246 drsuapi_dissect_struct_DsReplicaNeighbour(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
14247 {
14248         proto_item *item = NULL;
14249         proto_tree *tree = NULL;
14250         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
14251         int old_offset;
14252
14253         ALIGN_TO_8_BYTES;
14254
14255         old_offset = offset;
14256
14257         if (parent_tree) {
14258                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14259                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaNeighbour);
14260         }
14261         
14262         offset = drsuapi_dissect_element_DsReplicaNeighbour_naming_context_dn(tvb, offset, pinfo, tree, drep);
14263
14264         offset = drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
14265
14266         offset = drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_address(tvb, offset, pinfo, tree, drep);
14267
14268         offset = drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_dn(tvb, offset, pinfo, tree, drep);
14269
14270         offset = drsuapi_dissect_element_DsReplicaNeighbour_replica_flags(tvb, offset, pinfo, tree, drep);
14271
14272         offset = drsuapi_dissect_element_DsReplicaNeighbour_reserved(tvb, offset, pinfo, tree, drep);
14273
14274         offset = drsuapi_dissect_element_DsReplicaNeighbour_naming_context_obj_guid(tvb, offset, pinfo, tree, drep);
14275
14276         offset = drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_obj_guid(tvb, offset, pinfo, tree, drep);
14277
14278         offset = drsuapi_dissect_element_DsReplicaNeighbour_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
14279
14280         offset = drsuapi_dissect_element_DsReplicaNeighbour_transport_obj_guid(tvb, offset, pinfo, tree, drep);
14281
14282         offset = drsuapi_dissect_element_DsReplicaNeighbour_tmp_highest_usn(tvb, offset, pinfo, tree, drep);
14283
14284         offset = drsuapi_dissect_element_DsReplicaNeighbour_highest_usn(tvb, offset, pinfo, tree, drep);
14285
14286         offset = drsuapi_dissect_element_DsReplicaNeighbour_last_success(tvb, offset, pinfo, tree, drep);
14287
14288         offset = drsuapi_dissect_element_DsReplicaNeighbour_last_attempt(tvb, offset, pinfo, tree, drep);
14289
14290         offset = drsuapi_dissect_element_DsReplicaNeighbour_result_last_attempt(tvb, offset, pinfo, tree, drep);
14291
14292         offset = drsuapi_dissect_element_DsReplicaNeighbour_consecutive_sync_failures(tvb, offset, pinfo, tree, drep);
14293
14294
14295         proto_item_set_len(item, offset-old_offset);
14296
14297
14298         if (di->call_data->flags & DCERPC_IS_NDR64) {
14299                 ALIGN_TO_8_BYTES;
14300         }
14301
14302         return offset;
14303 }
14304
14305
14306 /* IDL: struct { */
14307 /* IDL:         uint32 count; */
14308 /* IDL:         uint32 reserved; */
14309 /* IDL:         [size_is(count)] drsuapi_DsReplicaNeighbour array[*]; */
14310 /* IDL: } */
14311
14312 static int
14313 drsuapi_dissect_element_DsReplicaNeighbourCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14314 {
14315         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_count, 0);
14316
14317         return offset;
14318 }
14319
14320 static int
14321 drsuapi_dissect_element_DsReplicaNeighbourCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14322 {
14323         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_reserved, 0);
14324
14325         return offset;
14326 }
14327
14328 static int
14329 drsuapi_dissect_element_DsReplicaNeighbourCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14330 {
14331         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaNeighbourCtr_array_);
14332
14333         return offset;
14334 }
14335
14336 static int
14337 drsuapi_dissect_element_DsReplicaNeighbourCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14338 {
14339         offset = drsuapi_dissect_struct_DsReplicaNeighbour(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_array,0);
14340
14341         return offset;
14342 }
14343
14344 int
14345 drsuapi_dissect_struct_DsReplicaNeighbourCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
14346 {
14347         proto_item *item = NULL;
14348         proto_tree *tree = NULL;
14349         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
14350         int old_offset;
14351
14352         ALIGN_TO_8_BYTES;
14353
14354         old_offset = offset;
14355
14356         if (parent_tree) {
14357                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14358                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaNeighbourCtr);
14359         }
14360         
14361         offset = drsuapi_dissect_element_DsReplicaNeighbourCtr_count(tvb, offset, pinfo, tree, drep);
14362
14363         offset = drsuapi_dissect_element_DsReplicaNeighbourCtr_reserved(tvb, offset, pinfo, tree, drep);
14364
14365         offset = drsuapi_dissect_element_DsReplicaNeighbourCtr_array(tvb, offset, pinfo, tree, drep);
14366
14367
14368         proto_item_set_len(item, offset-old_offset);
14369
14370
14371         if (di->call_data->flags & DCERPC_IS_NDR64) {
14372                 ALIGN_TO_8_BYTES;
14373         }
14374
14375         return offset;
14376 }
14377
14378
14379 /* IDL: struct { */
14380 /* IDL:         uint32 count; */
14381 /* IDL:         uint32 reserved; */
14382 /* IDL:         [size_is(count)] drsuapi_DsReplicaCursor array[*]; */
14383 /* IDL: } */
14384
14385 static int
14386 drsuapi_dissect_element_DsReplicaCursorCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14387 {
14388         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursorCtr_count, 0);
14389
14390         return offset;
14391 }
14392
14393 static int
14394 drsuapi_dissect_element_DsReplicaCursorCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14395 {
14396         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursorCtr_reserved, 0);
14397
14398         return offset;
14399 }
14400
14401 static int
14402 drsuapi_dissect_element_DsReplicaCursorCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14403 {
14404         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaCursorCtr_array_);
14405
14406         return offset;
14407 }
14408
14409 static int
14410 drsuapi_dissect_element_DsReplicaCursorCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14411 {
14412         offset = drsuapi_dissect_struct_DsReplicaCursor(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaCursorCtr_array,0);
14413
14414         return offset;
14415 }
14416
14417 int
14418 drsuapi_dissect_struct_DsReplicaCursorCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
14419 {
14420         proto_item *item = NULL;
14421         proto_tree *tree = NULL;
14422         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
14423         int old_offset;
14424
14425         ALIGN_TO_8_BYTES;
14426
14427         old_offset = offset;
14428
14429         if (parent_tree) {
14430                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14431                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursorCtr);
14432         }
14433         
14434         offset = drsuapi_dissect_element_DsReplicaCursorCtr_count(tvb, offset, pinfo, tree, drep);
14435
14436         offset = drsuapi_dissect_element_DsReplicaCursorCtr_reserved(tvb, offset, pinfo, tree, drep);
14437
14438         offset = drsuapi_dissect_element_DsReplicaCursorCtr_array(tvb, offset, pinfo, tree, drep);
14439
14440
14441         proto_item_set_len(item, offset-old_offset);
14442
14443
14444         if (di->call_data->flags & DCERPC_IS_NDR64) {
14445                 ALIGN_TO_8_BYTES;
14446         }
14447
14448         return offset;
14449 }
14450
14451
14452 /* IDL: struct { */
14453 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *attribute_name; */
14454 /* IDL:         uint32 version; */
14455 /* IDL:         NTTIME originating_change_time; */
14456 /* IDL:         GUID originating_invocation_id; */
14457 /* IDL:         hyper originating_usn; */
14458 /* IDL:         hyper local_usn; */
14459 /* IDL: } */
14460
14461 static int
14462 drsuapi_dissect_element_DsReplicaObjMetaData_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14463 {
14464         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaObjMetaData_attribute_name_, NDR_POINTER_UNIQUE, "Pointer to Attribute Name (uint16)",hf_drsuapi_drsuapi_DsReplicaObjMetaData_attribute_name);
14465
14466         return offset;
14467 }
14468
14469 static int
14470 drsuapi_dissect_element_DsReplicaObjMetaData_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14471 {
14472         char *data;
14473
14474         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaObjMetaData_attribute_name, FALSE, &data);
14475         proto_item_append_text(tree, ": %s", data);
14476
14477         return offset;
14478 }
14479
14480 static int
14481 drsuapi_dissect_element_DsReplicaObjMetaData_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14482 {
14483         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData_version, 0);
14484
14485         return offset;
14486 }
14487
14488 static int
14489 drsuapi_dissect_element_DsReplicaObjMetaData_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14490 {
14491         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_change_time);
14492
14493         return offset;
14494 }
14495
14496 static int
14497 drsuapi_dissect_element_DsReplicaObjMetaData_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14498 {
14499         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_invocation_id, NULL);
14500
14501         return offset;
14502 }
14503
14504 static int
14505 drsuapi_dissect_element_DsReplicaObjMetaData_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14506 {
14507         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_usn, NULL);
14508
14509         return offset;
14510 }
14511
14512 static int
14513 drsuapi_dissect_element_DsReplicaObjMetaData_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14514 {
14515         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData_local_usn, NULL);
14516
14517         return offset;
14518 }
14519
14520 int
14521 drsuapi_dissect_struct_DsReplicaObjMetaData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
14522 {
14523         proto_item *item = NULL;
14524         proto_tree *tree = NULL;
14525         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
14526         int old_offset;
14527
14528         ALIGN_TO_8_BYTES;
14529
14530         old_offset = offset;
14531
14532         if (parent_tree) {
14533                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14534                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjMetaData);
14535         }
14536         
14537         offset = drsuapi_dissect_element_DsReplicaObjMetaData_attribute_name(tvb, offset, pinfo, tree, drep);
14538
14539         offset = drsuapi_dissect_element_DsReplicaObjMetaData_version(tvb, offset, pinfo, tree, drep);
14540
14541         offset = drsuapi_dissect_element_DsReplicaObjMetaData_originating_change_time(tvb, offset, pinfo, tree, drep);
14542
14543         offset = drsuapi_dissect_element_DsReplicaObjMetaData_originating_invocation_id(tvb, offset, pinfo, tree, drep);
14544
14545         offset = drsuapi_dissect_element_DsReplicaObjMetaData_originating_usn(tvb, offset, pinfo, tree, drep);
14546
14547         offset = drsuapi_dissect_element_DsReplicaObjMetaData_local_usn(tvb, offset, pinfo, tree, drep);
14548
14549
14550         proto_item_set_len(item, offset-old_offset);
14551
14552
14553         if (di->call_data->flags & DCERPC_IS_NDR64) {
14554                 ALIGN_TO_8_BYTES;
14555         }
14556
14557         return offset;
14558 }
14559
14560
14561 /* IDL: struct { */
14562 /* IDL:         uint32 count; */
14563 /* IDL:         uint32 reserved; */
14564 /* IDL:         [size_is(count)] drsuapi_DsReplicaObjMetaData array[*]; */
14565 /* IDL: } */
14566
14567 static int
14568 drsuapi_dissect_element_DsReplicaObjMetaDataCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14569 {
14570         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_count, 0);
14571
14572         return offset;
14573 }
14574
14575 static int
14576 drsuapi_dissect_element_DsReplicaObjMetaDataCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14577 {
14578         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_reserved, 0);
14579
14580         return offset;
14581 }
14582
14583 static int
14584 drsuapi_dissect_element_DsReplicaObjMetaDataCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14585 {
14586         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaObjMetaDataCtr_array_);
14587
14588         return offset;
14589 }
14590
14591 static int
14592 drsuapi_dissect_element_DsReplicaObjMetaDataCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14593 {
14594         offset = drsuapi_dissect_struct_DsReplicaObjMetaData(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_array,0);
14595
14596         return offset;
14597 }
14598
14599 int
14600 drsuapi_dissect_struct_DsReplicaObjMetaDataCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
14601 {
14602         proto_item *item = NULL;
14603         proto_tree *tree = NULL;
14604         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
14605         int old_offset;
14606
14607         ALIGN_TO_8_BYTES;
14608
14609         old_offset = offset;
14610
14611         if (parent_tree) {
14612                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14613                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjMetaDataCtr);
14614         }
14615         
14616         offset = drsuapi_dissect_element_DsReplicaObjMetaDataCtr_count(tvb, offset, pinfo, tree, drep);
14617
14618         offset = drsuapi_dissect_element_DsReplicaObjMetaDataCtr_reserved(tvb, offset, pinfo, tree, drep);
14619
14620         offset = drsuapi_dissect_element_DsReplicaObjMetaDataCtr_array(tvb, offset, pinfo, tree, drep);
14621
14622
14623         proto_item_set_len(item, offset-old_offset);
14624
14625
14626         if (di->call_data->flags & DCERPC_IS_NDR64) {
14627                 ALIGN_TO_8_BYTES;
14628         }
14629
14630         return offset;
14631 }
14632
14633
14634 /* IDL: struct { */
14635 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *dsa_obj_dn; */
14636 /* IDL:         GUID dsa_obj_guid; */
14637 /* IDL:         NTTIME first_failure; */
14638 /* IDL:         uint32 num_failures; */
14639 /* IDL:         WERROR last_result; */
14640 /* IDL: } */
14641
14642 static int
14643 drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14644 {
14645         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_dn_, NDR_POINTER_UNIQUE, "Pointer to Dsa Obj Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn);
14646
14647         return offset;
14648 }
14649
14650 static int
14651 drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14652 {
14653         char *data;
14654
14655         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn, FALSE, &data);
14656         proto_item_append_text(tree, ": %s", data);
14657
14658         return offset;
14659 }
14660
14661 static int
14662 drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14663 {
14664         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid, NULL);
14665
14666         return offset;
14667 }
14668
14669 static int
14670 drsuapi_dissect_element_DsReplicaKccDsaFailure_first_failure(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14671 {
14672         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_first_failure);
14673
14674         return offset;
14675 }
14676
14677 static int
14678 drsuapi_dissect_element_DsReplicaKccDsaFailure_num_failures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14679 {
14680         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_num_failures, 0);
14681
14682         return offset;
14683 }
14684
14685 static int
14686 drsuapi_dissect_element_DsReplicaKccDsaFailure_last_result(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14687 {
14688         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_last_result, 0);
14689
14690         return offset;
14691 }
14692
14693 int
14694 drsuapi_dissect_struct_DsReplicaKccDsaFailure(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
14695 {
14696         proto_item *item = NULL;
14697         proto_tree *tree = NULL;
14698         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
14699         int old_offset;
14700
14701         ALIGN_TO_5_BYTES;
14702
14703         old_offset = offset;
14704
14705         if (parent_tree) {
14706                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14707                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaKccDsaFailure);
14708         }
14709         
14710         offset = drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
14711
14712         offset = drsuapi_dissect_element_DsReplicaKccDsaFailure_dsa_obj_guid(tvb, offset, pinfo, tree, drep);
14713
14714         offset = drsuapi_dissect_element_DsReplicaKccDsaFailure_first_failure(tvb, offset, pinfo, tree, drep);
14715
14716         offset = drsuapi_dissect_element_DsReplicaKccDsaFailure_num_failures(tvb, offset, pinfo, tree, drep);
14717
14718         offset = drsuapi_dissect_element_DsReplicaKccDsaFailure_last_result(tvb, offset, pinfo, tree, drep);
14719
14720
14721         proto_item_set_len(item, offset-old_offset);
14722
14723
14724         if (di->call_data->flags & DCERPC_IS_NDR64) {
14725                 ALIGN_TO_5_BYTES;
14726         }
14727
14728         return offset;
14729 }
14730
14731
14732 /* IDL: struct { */
14733 /* IDL:         uint32 count; */
14734 /* IDL:         uint32 reserved; */
14735 /* IDL:         [size_is(count)] drsuapi_DsReplicaKccDsaFailure array[*]; */
14736 /* IDL: } */
14737
14738 static int
14739 drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14740 {
14741         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_count, 0);
14742
14743         return offset;
14744 }
14745
14746 static int
14747 drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14748 {
14749         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_reserved, 0);
14750
14751         return offset;
14752 }
14753
14754 static int
14755 drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14756 {
14757         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_array_);
14758
14759         return offset;
14760 }
14761
14762 static int
14763 drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14764 {
14765         offset = drsuapi_dissect_struct_DsReplicaKccDsaFailure(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_array,0);
14766
14767         return offset;
14768 }
14769
14770 int
14771 drsuapi_dissect_struct_DsReplicaKccDsaFailuresCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
14772 {
14773         proto_item *item = NULL;
14774         proto_tree *tree = NULL;
14775         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
14776         int old_offset;
14777
14778         ALIGN_TO_5_BYTES;
14779
14780         old_offset = offset;
14781
14782         if (parent_tree) {
14783                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14784                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr);
14785         }
14786         
14787         offset = drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_count(tvb, offset, pinfo, tree, drep);
14788
14789         offset = drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_reserved(tvb, offset, pinfo, tree, drep);
14790
14791         offset = drsuapi_dissect_element_DsReplicaKccDsaFailuresCtr_array(tvb, offset, pinfo, tree, drep);
14792
14793
14794         proto_item_set_len(item, offset-old_offset);
14795
14796
14797         if (di->call_data->flags & DCERPC_IS_NDR64) {
14798                 ALIGN_TO_5_BYTES;
14799         }
14800
14801         return offset;
14802 }
14803
14804
14805 /* IDL: enum { */
14806 /* IDL:         DRSUAPI_DS_REPLICA_OP_TYPE_SYNC=0, */
14807 /* IDL:         DRSUAPI_DS_REPLICA_OP_TYPE_ADD=1, */
14808 /* IDL:         DRSUAPI_DS_REPLICA_OP_TYPE_DELETE=2, */
14809 /* IDL:         DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY=3, */
14810 /* IDL:         DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS=4, */
14811 /* IDL: } */
14812
14813 int
14814 drsuapi_dissect_enum_DsReplicaOpType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
14815 {
14816         guint1632 parameter=0;
14817         if(param){
14818                 parameter=(guint1632)*param;
14819         }
14820         offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
14821         if(param){
14822                 *param=(guint32)parameter;
14823         }
14824         return offset;
14825 }
14826
14827
14828 /* IDL: struct { */
14829 /* IDL:         NTTIME operation_start; */
14830 /* IDL:         uint32 serial_num; */
14831 /* IDL:         uint32 priority; */
14832 /* IDL:         drsuapi_DsReplicaOpType operation_type; */
14833 /* IDL:         drsuapi_DrsOptions options; */
14834 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *nc_dn; */
14835 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *remote_dsa_obj_dn; */
14836 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *remote_dsa_address; */
14837 /* IDL:         GUID nc_obj_guid; */
14838 /* IDL:         GUID remote_dsa_obj_guid; */
14839 /* IDL: } */
14840
14841 static int
14842 drsuapi_dissect_element_DsReplicaOp_operation_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14843 {
14844         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaOp_operation_start);
14845
14846         return offset;
14847 }
14848
14849 static int
14850 drsuapi_dissect_element_DsReplicaOp_serial_num(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14851 {
14852         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaOp_serial_num, 0);
14853
14854         return offset;
14855 }
14856
14857 static int
14858 drsuapi_dissect_element_DsReplicaOp_priority(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14859 {
14860         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaOp_priority, 0);
14861
14862         return offset;
14863 }
14864
14865 static int
14866 drsuapi_dissect_element_DsReplicaOp_operation_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14867 {
14868         offset = drsuapi_dissect_enum_DsReplicaOpType(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaOp_operation_type, 0);
14869
14870         return offset;
14871 }
14872
14873 static int
14874 drsuapi_dissect_element_DsReplicaOp_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14875 {
14876         offset = drsuapi_dissect_bitmap_DrsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaOp_options, 0);
14877
14878         return offset;
14879 }
14880
14881 static int
14882 drsuapi_dissect_element_DsReplicaOp_nc_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14883 {
14884         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaOp_nc_dn_, NDR_POINTER_UNIQUE, "Pointer to Nc Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaOp_nc_dn);
14885
14886         return offset;
14887 }
14888
14889 static int
14890 drsuapi_dissect_element_DsReplicaOp_nc_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14891 {
14892         char *data;
14893
14894         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaOp_nc_dn, FALSE, &data);
14895         proto_item_append_text(tree, ": %s", data);
14896
14897         return offset;
14898 }
14899
14900 static int
14901 drsuapi_dissect_element_DsReplicaOp_remote_dsa_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14902 {
14903         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
14904
14905         return offset;
14906 }
14907
14908 static int
14909 drsuapi_dissect_element_DsReplicaOp_remote_dsa_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14910 {
14911         char *data;
14912
14913         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_obj_dn, FALSE, &data);
14914         proto_item_append_text(tree, ": %s", data);
14915
14916         return offset;
14917 }
14918
14919 static int
14920 drsuapi_dissect_element_DsReplicaOp_remote_dsa_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14921 {
14922         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaOp_remote_dsa_address_, NDR_POINTER_UNIQUE, "Pointer to Remote Dsa Address (uint16)",hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_address);
14923
14924         return offset;
14925 }
14926
14927 static int
14928 drsuapi_dissect_element_DsReplicaOp_remote_dsa_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14929 {
14930         char *data;
14931
14932         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_address, FALSE, &data);
14933         proto_item_append_text(tree, ": %s", data);
14934
14935         return offset;
14936 }
14937
14938 static int
14939 drsuapi_dissect_element_DsReplicaOp_nc_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14940 {
14941         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaOp_nc_obj_guid, NULL);
14942
14943         return offset;
14944 }
14945
14946 static int
14947 drsuapi_dissect_element_DsReplicaOp_remote_dsa_obj_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
14948 {
14949         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_obj_guid, NULL);
14950
14951         return offset;
14952 }
14953
14954 int
14955 drsuapi_dissect_struct_DsReplicaOp(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
14956 {
14957         proto_item *item = NULL;
14958         proto_tree *tree = NULL;
14959         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
14960         int old_offset;
14961
14962         ALIGN_TO_5_BYTES;
14963
14964         old_offset = offset;
14965
14966         if (parent_tree) {
14967                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14968                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaOp);
14969         }
14970         
14971         offset = drsuapi_dissect_element_DsReplicaOp_operation_start(tvb, offset, pinfo, tree, drep);
14972
14973         offset = drsuapi_dissect_element_DsReplicaOp_serial_num(tvb, offset, pinfo, tree, drep);
14974
14975         offset = drsuapi_dissect_element_DsReplicaOp_priority(tvb, offset, pinfo, tree, drep);
14976
14977         offset = drsuapi_dissect_element_DsReplicaOp_operation_type(tvb, offset, pinfo, tree, drep);
14978
14979         offset = drsuapi_dissect_element_DsReplicaOp_options(tvb, offset, pinfo, tree, drep);
14980
14981         offset = drsuapi_dissect_element_DsReplicaOp_nc_dn(tvb, offset, pinfo, tree, drep);
14982
14983         offset = drsuapi_dissect_element_DsReplicaOp_remote_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
14984
14985         offset = drsuapi_dissect_element_DsReplicaOp_remote_dsa_address(tvb, offset, pinfo, tree, drep);
14986
14987         offset = drsuapi_dissect_element_DsReplicaOp_nc_obj_guid(tvb, offset, pinfo, tree, drep);
14988
14989         offset = drsuapi_dissect_element_DsReplicaOp_remote_dsa_obj_guid(tvb, offset, pinfo, tree, drep);
14990
14991
14992         proto_item_set_len(item, offset-old_offset);
14993
14994
14995         if (di->call_data->flags & DCERPC_IS_NDR64) {
14996                 ALIGN_TO_5_BYTES;
14997         }
14998
14999         return offset;
15000 }
15001
15002
15003 /* IDL: struct { */
15004 /* IDL:         NTTIME time; */
15005 /* IDL:         uint32 count; */
15006 /* IDL:         [size_is(count)] drsuapi_DsReplicaOp array[*]; */
15007 /* IDL: } */
15008
15009 static int
15010 drsuapi_dissect_element_DsReplicaOpCtr_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15011 {
15012         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaOpCtr_time);
15013
15014         return offset;
15015 }
15016
15017 static int
15018 drsuapi_dissect_element_DsReplicaOpCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15019 {
15020         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaOpCtr_count, 0);
15021
15022         return offset;
15023 }
15024
15025 static int
15026 drsuapi_dissect_element_DsReplicaOpCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15027 {
15028         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaOpCtr_array_);
15029
15030         return offset;
15031 }
15032
15033 static int
15034 drsuapi_dissect_element_DsReplicaOpCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15035 {
15036         offset = drsuapi_dissect_struct_DsReplicaOp(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaOpCtr_array,0);
15037
15038         return offset;
15039 }
15040
15041 int
15042 drsuapi_dissect_struct_DsReplicaOpCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
15043 {
15044         proto_item *item = NULL;
15045         proto_tree *tree = NULL;
15046         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
15047         int old_offset;
15048
15049         ALIGN_TO_5_BYTES;
15050
15051         old_offset = offset;
15052
15053         if (parent_tree) {
15054                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15055                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaOpCtr);
15056         }
15057         
15058         offset = drsuapi_dissect_element_DsReplicaOpCtr_time(tvb, offset, pinfo, tree, drep);
15059
15060         offset = drsuapi_dissect_element_DsReplicaOpCtr_count(tvb, offset, pinfo, tree, drep);
15061
15062         offset = drsuapi_dissect_element_DsReplicaOpCtr_array(tvb, offset, pinfo, tree, drep);
15063
15064
15065         proto_item_set_len(item, offset-old_offset);
15066
15067
15068         if (di->call_data->flags & DCERPC_IS_NDR64) {
15069                 ALIGN_TO_5_BYTES;
15070         }
15071
15072         return offset;
15073 }
15074
15075
15076 /* IDL: struct { */
15077 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *attribute_name; */
15078 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *object_dn; */
15079 /* IDL:         [value(ndr_size_DATA_BLOB(0,binary,0))] uint32 __ndr_size_binary; */
15080 /* IDL:         [unique(1)] DATA_BLOB *binary; */
15081 /* IDL:         NTTIME deleted; */
15082 /* IDL:         NTTIME created; */
15083 /* IDL:         uint32 version; */
15084 /* IDL:         NTTIME originating_change_time; */
15085 /* IDL:         GUID originating_invocation_id; */
15086 /* IDL:         hyper originating_usn; */
15087 /* IDL:         hyper local_usn; */
15088 /* IDL: } */
15089
15090 static int
15091 drsuapi_dissect_element_DsReplicaAttrValMetaData_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15092 {
15093         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData_attribute_name_, NDR_POINTER_UNIQUE, "Pointer to Attribute Name (uint16)",hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_attribute_name);
15094
15095         return offset;
15096 }
15097
15098 static int
15099 drsuapi_dissect_element_DsReplicaAttrValMetaData_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15100 {
15101         char *data;
15102
15103         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_attribute_name, FALSE, &data);
15104         proto_item_append_text(tree, ": %s", data);
15105
15106         return offset;
15107 }
15108
15109 static int
15110 drsuapi_dissect_element_DsReplicaAttrValMetaData_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15111 {
15112         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData_object_dn_, NDR_POINTER_UNIQUE, "Pointer to Object Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_object_dn);
15113
15114         return offset;
15115 }
15116
15117 static int
15118 drsuapi_dissect_element_DsReplicaAttrValMetaData_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15119 {
15120         char *data;
15121
15122         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_object_dn, FALSE, &data);
15123         proto_item_append_text(tree, ": %s", data);
15124
15125         return offset;
15126 }
15127
15128 static int
15129 drsuapi_dissect_element_DsReplicaAttrValMetaData___ndr_size_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15130 {
15131         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData___ndr_size_binary, 0);
15132
15133         return offset;
15134 }
15135
15136 static int
15137 drsuapi_dissect_element_DsReplicaAttrValMetaData_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15138 {
15139         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData_binary_, NDR_POINTER_UNIQUE, "Pointer to Binary (DATA_BLOB)",hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_binary);
15140
15141         return offset;
15142 }
15143
15144 static int
15145 drsuapi_dissect_element_DsReplicaAttrValMetaData_binary_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15146 {
15147         offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_binary, 0);
15148
15149         return offset;
15150 }
15151
15152 static int
15153 drsuapi_dissect_element_DsReplicaAttrValMetaData_deleted(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15154 {
15155         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_deleted);
15156
15157         return offset;
15158 }
15159
15160 static int
15161 drsuapi_dissect_element_DsReplicaAttrValMetaData_created(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15162 {
15163         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_created);
15164
15165         return offset;
15166 }
15167
15168 static int
15169 drsuapi_dissect_element_DsReplicaAttrValMetaData_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15170 {
15171         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_version, 0);
15172
15173         return offset;
15174 }
15175
15176 static int
15177 drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15178 {
15179         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_change_time);
15180
15181         return offset;
15182 }
15183
15184 static int
15185 drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15186 {
15187         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_invocation_id, NULL);
15188
15189         return offset;
15190 }
15191
15192 static int
15193 drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15194 {
15195         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_usn, NULL);
15196
15197         return offset;
15198 }
15199
15200 static int
15201 drsuapi_dissect_element_DsReplicaAttrValMetaData_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15202 {
15203         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_local_usn, NULL);
15204
15205         return offset;
15206 }
15207
15208 int
15209 drsuapi_dissect_struct_DsReplicaAttrValMetaData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
15210 {
15211         proto_item *item = NULL;
15212         proto_tree *tree = NULL;
15213         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
15214         int old_offset;
15215
15216         ALIGN_TO_8_BYTES;
15217
15218         old_offset = offset;
15219
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_DsReplicaAttrValMetaData);
15223         }
15224         
15225         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_attribute_name(tvb, offset, pinfo, tree, drep);
15226
15227         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_object_dn(tvb, offset, pinfo, tree, drep);
15228
15229         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData___ndr_size_binary(tvb, offset, pinfo, tree, drep);
15230
15231         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_binary(tvb, offset, pinfo, tree, drep);
15232
15233         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_deleted(tvb, offset, pinfo, tree, drep);
15234
15235         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_created(tvb, offset, pinfo, tree, drep);
15236
15237         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_version(tvb, offset, pinfo, tree, drep);
15238
15239         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_change_time(tvb, offset, pinfo, tree, drep);
15240
15241         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_invocation_id(tvb, offset, pinfo, tree, drep);
15242
15243         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_originating_usn(tvb, offset, pinfo, tree, drep);
15244
15245         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData_local_usn(tvb, offset, pinfo, tree, drep);
15246
15247
15248         proto_item_set_len(item, offset-old_offset);
15249
15250
15251         if (di->call_data->flags & DCERPC_IS_NDR64) {
15252                 ALIGN_TO_8_BYTES;
15253         }
15254
15255         return offset;
15256 }
15257
15258
15259 /* IDL: struct { */
15260 /* IDL:         uint32 count; */
15261 /* IDL:         uint32 enumeration_context; */
15262 /* IDL:         [size_is(count)] drsuapi_DsReplicaAttrValMetaData array[*]; */
15263 /* IDL: } */
15264
15265 static int
15266 drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15267 {
15268         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_count, 0);
15269
15270         return offset;
15271 }
15272
15273 static int
15274 drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15275 {
15276         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context, 0);
15277
15278         return offset;
15279 }
15280
15281 static int
15282 drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15283 {
15284         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_array_);
15285
15286         return offset;
15287 }
15288
15289 static int
15290 drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15291 {
15292         offset = drsuapi_dissect_struct_DsReplicaAttrValMetaData(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_array,0);
15293
15294         return offset;
15295 }
15296
15297 int
15298 drsuapi_dissect_struct_DsReplicaAttrValMetaDataCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
15299 {
15300         proto_item *item = NULL;
15301         proto_tree *tree = NULL;
15302         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
15303         int old_offset;
15304
15305         ALIGN_TO_8_BYTES;
15306
15307         old_offset = offset;
15308
15309         if (parent_tree) {
15310                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15311                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr);
15312         }
15313         
15314         offset = drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_count(tvb, offset, pinfo, tree, drep);
15315
15316         offset = drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_enumeration_context(tvb, offset, pinfo, tree, drep);
15317
15318         offset = drsuapi_dissect_element_DsReplicaAttrValMetaDataCtr_array(tvb, offset, pinfo, tree, drep);
15319
15320
15321         proto_item_set_len(item, offset-old_offset);
15322
15323
15324         if (di->call_data->flags & DCERPC_IS_NDR64) {
15325                 ALIGN_TO_8_BYTES;
15326         }
15327
15328         return offset;
15329 }
15330
15331
15332 /* IDL: struct { */
15333 /* IDL:         uint32 count; */
15334 /* IDL:         uint32 enumeration_context; */
15335 /* IDL:         [size_is(count)] drsuapi_DsReplicaCursor2 array[*]; */
15336 /* IDL: } */
15337
15338 static int
15339 drsuapi_dissect_element_DsReplicaCursor2Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15340 {
15341         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_count, 0);
15342
15343         return offset;
15344 }
15345
15346 static int
15347 drsuapi_dissect_element_DsReplicaCursor2Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15348 {
15349         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_enumeration_context, 0);
15350
15351         return offset;
15352 }
15353
15354 static int
15355 drsuapi_dissect_element_DsReplicaCursor2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15356 {
15357         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaCursor2Ctr_array_);
15358
15359         return offset;
15360 }
15361
15362 static int
15363 drsuapi_dissect_element_DsReplicaCursor2Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15364 {
15365         offset = drsuapi_dissect_struct_DsReplicaCursor2(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_array,0);
15366
15367         return offset;
15368 }
15369
15370 int
15371 drsuapi_dissect_struct_DsReplicaCursor2Ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
15372 {
15373         proto_item *item = NULL;
15374         proto_tree *tree = NULL;
15375         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
15376         int old_offset;
15377
15378         ALIGN_TO_8_BYTES;
15379
15380         old_offset = offset;
15381
15382         if (parent_tree) {
15383                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15384                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursor2Ctr);
15385         }
15386         
15387         offset = drsuapi_dissect_element_DsReplicaCursor2Ctr_count(tvb, offset, pinfo, tree, drep);
15388
15389         offset = drsuapi_dissect_element_DsReplicaCursor2Ctr_enumeration_context(tvb, offset, pinfo, tree, drep);
15390
15391         offset = drsuapi_dissect_element_DsReplicaCursor2Ctr_array(tvb, offset, pinfo, tree, drep);
15392
15393
15394         proto_item_set_len(item, offset-old_offset);
15395
15396
15397         if (di->call_data->flags & DCERPC_IS_NDR64) {
15398                 ALIGN_TO_8_BYTES;
15399         }
15400
15401         return offset;
15402 }
15403
15404
15405 /* IDL: struct { */
15406 /* IDL:         GUID source_dsa_invocation_id; */
15407 /* IDL:         hyper highest_usn; */
15408 /* IDL:         NTTIME last_sync_success; */
15409 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *source_dsa_obj_dn; */
15410 /* IDL: } */
15411
15412 static int
15413 drsuapi_dissect_element_DsReplicaCursor3_source_dsa_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15414 {
15415         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor3_source_dsa_invocation_id, NULL);
15416
15417         return offset;
15418 }
15419
15420 static int
15421 drsuapi_dissect_element_DsReplicaCursor3_highest_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15422 {
15423         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor3_highest_usn, NULL);
15424
15425         return offset;
15426 }
15427
15428 static int
15429 drsuapi_dissect_element_DsReplicaCursor3_last_sync_success(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15430 {
15431         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor3_last_sync_success);
15432
15433         return offset;
15434 }
15435
15436 static int
15437 drsuapi_dissect_element_DsReplicaCursor3_source_dsa_obj_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15438 {
15439         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, 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);
15440
15441         return offset;
15442 }
15443
15444 static int
15445 drsuapi_dissect_element_DsReplicaCursor3_source_dsa_obj_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15446 {
15447         char *data;
15448
15449         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaCursor3_source_dsa_obj_dn, FALSE, &data);
15450         proto_item_append_text(tree, ": %s", data);
15451
15452         return offset;
15453 }
15454
15455 int
15456 drsuapi_dissect_struct_DsReplicaCursor3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
15457 {
15458         proto_item *item = NULL;
15459         proto_tree *tree = NULL;
15460         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
15461         int old_offset;
15462
15463         ALIGN_TO_8_BYTES;
15464
15465         old_offset = offset;
15466
15467         if (parent_tree) {
15468                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15469                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursor3);
15470         }
15471         
15472         offset = drsuapi_dissect_element_DsReplicaCursor3_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
15473
15474         offset = drsuapi_dissect_element_DsReplicaCursor3_highest_usn(tvb, offset, pinfo, tree, drep);
15475
15476         offset = drsuapi_dissect_element_DsReplicaCursor3_last_sync_success(tvb, offset, pinfo, tree, drep);
15477
15478         offset = drsuapi_dissect_element_DsReplicaCursor3_source_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
15479
15480
15481         proto_item_set_len(item, offset-old_offset);
15482
15483
15484         if (di->call_data->flags & DCERPC_IS_NDR64) {
15485                 ALIGN_TO_8_BYTES;
15486         }
15487
15488         return offset;
15489 }
15490
15491
15492 /* IDL: struct { */
15493 /* IDL:         uint32 count; */
15494 /* IDL:         uint32 enumeration_context; */
15495 /* IDL:         [size_is(count)] drsuapi_DsReplicaCursor3 array[*]; */
15496 /* IDL: } */
15497
15498 static int
15499 drsuapi_dissect_element_DsReplicaCursor3Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15500 {
15501         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_count, 0);
15502
15503         return offset;
15504 }
15505
15506 static int
15507 drsuapi_dissect_element_DsReplicaCursor3Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15508 {
15509         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_enumeration_context, 0);
15510
15511         return offset;
15512 }
15513
15514 static int
15515 drsuapi_dissect_element_DsReplicaCursor3Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15516 {
15517         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaCursor3Ctr_array_);
15518
15519         return offset;
15520 }
15521
15522 static int
15523 drsuapi_dissect_element_DsReplicaCursor3Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15524 {
15525         offset = drsuapi_dissect_struct_DsReplicaCursor3(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_array,0);
15526
15527         return offset;
15528 }
15529
15530 int
15531 drsuapi_dissect_struct_DsReplicaCursor3Ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
15532 {
15533         proto_item *item = NULL;
15534         proto_tree *tree = NULL;
15535         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
15536         int old_offset;
15537
15538         ALIGN_TO_8_BYTES;
15539
15540         old_offset = offset;
15541
15542         if (parent_tree) {
15543                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15544                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaCursor3Ctr);
15545         }
15546         
15547         offset = drsuapi_dissect_element_DsReplicaCursor3Ctr_count(tvb, offset, pinfo, tree, drep);
15548
15549         offset = drsuapi_dissect_element_DsReplicaCursor3Ctr_enumeration_context(tvb, offset, pinfo, tree, drep);
15550
15551         offset = drsuapi_dissect_element_DsReplicaCursor3Ctr_array(tvb, offset, pinfo, tree, drep);
15552
15553
15554         proto_item_set_len(item, offset-old_offset);
15555
15556
15557         if (di->call_data->flags & DCERPC_IS_NDR64) {
15558                 ALIGN_TO_8_BYTES;
15559         }
15560
15561         return offset;
15562 }
15563
15564
15565 /* IDL: struct { */
15566 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *attribute_name; */
15567 /* IDL:         uint32 version; */
15568 /* IDL:         NTTIME originating_change_time; */
15569 /* IDL:         GUID originating_invocation_id; */
15570 /* IDL:         hyper originating_usn; */
15571 /* IDL:         hyper local_usn; */
15572 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *originating_dsa_dn; */
15573 /* IDL: } */
15574
15575 static int
15576 drsuapi_dissect_element_DsReplicaObjMetaData2_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15577 {
15578         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaObjMetaData2_attribute_name_, NDR_POINTER_UNIQUE, "Pointer to Attribute Name (uint16)",hf_drsuapi_drsuapi_DsReplicaObjMetaData2_attribute_name);
15579
15580         return offset;
15581 }
15582
15583 static int
15584 drsuapi_dissect_element_DsReplicaObjMetaData2_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15585 {
15586         char *data;
15587
15588         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaObjMetaData2_attribute_name, FALSE, &data);
15589         proto_item_append_text(tree, ": %s", data);
15590
15591         return offset;
15592 }
15593
15594 static int
15595 drsuapi_dissect_element_DsReplicaObjMetaData2_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15596 {
15597         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData2_version, 0);
15598
15599         return offset;
15600 }
15601
15602 static int
15603 drsuapi_dissect_element_DsReplicaObjMetaData2_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15604 {
15605         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_change_time);
15606
15607         return offset;
15608 }
15609
15610 static int
15611 drsuapi_dissect_element_DsReplicaObjMetaData2_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15612 {
15613         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_invocation_id, NULL);
15614
15615         return offset;
15616 }
15617
15618 static int
15619 drsuapi_dissect_element_DsReplicaObjMetaData2_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15620 {
15621         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_usn, NULL);
15622
15623         return offset;
15624 }
15625
15626 static int
15627 drsuapi_dissect_element_DsReplicaObjMetaData2_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15628 {
15629         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData2_local_usn, NULL);
15630
15631         return offset;
15632 }
15633
15634 static int
15635 drsuapi_dissect_element_DsReplicaObjMetaData2_originating_dsa_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15636 {
15637         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaObjMetaData2_originating_dsa_dn_, NDR_POINTER_UNIQUE, "Pointer to Originating Dsa Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_dsa_dn);
15638
15639         return offset;
15640 }
15641
15642 static int
15643 drsuapi_dissect_element_DsReplicaObjMetaData2_originating_dsa_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15644 {
15645         char *data;
15646
15647         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_dsa_dn, FALSE, &data);
15648         proto_item_append_text(tree, ": %s", data);
15649
15650         return offset;
15651 }
15652
15653 int
15654 drsuapi_dissect_struct_DsReplicaObjMetaData2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
15655 {
15656         proto_item *item = NULL;
15657         proto_tree *tree = NULL;
15658         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
15659         int old_offset;
15660
15661         ALIGN_TO_8_BYTES;
15662
15663         old_offset = offset;
15664
15665         if (parent_tree) {
15666                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15667                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjMetaData2);
15668         }
15669         
15670         offset = drsuapi_dissect_element_DsReplicaObjMetaData2_attribute_name(tvb, offset, pinfo, tree, drep);
15671
15672         offset = drsuapi_dissect_element_DsReplicaObjMetaData2_version(tvb, offset, pinfo, tree, drep);
15673
15674         offset = drsuapi_dissect_element_DsReplicaObjMetaData2_originating_change_time(tvb, offset, pinfo, tree, drep);
15675
15676         offset = drsuapi_dissect_element_DsReplicaObjMetaData2_originating_invocation_id(tvb, offset, pinfo, tree, drep);
15677
15678         offset = drsuapi_dissect_element_DsReplicaObjMetaData2_originating_usn(tvb, offset, pinfo, tree, drep);
15679
15680         offset = drsuapi_dissect_element_DsReplicaObjMetaData2_local_usn(tvb, offset, pinfo, tree, drep);
15681
15682         offset = drsuapi_dissect_element_DsReplicaObjMetaData2_originating_dsa_dn(tvb, offset, pinfo, tree, drep);
15683
15684
15685         proto_item_set_len(item, offset-old_offset);
15686
15687
15688         if (di->call_data->flags & DCERPC_IS_NDR64) {
15689                 ALIGN_TO_8_BYTES;
15690         }
15691
15692         return offset;
15693 }
15694
15695
15696 /* IDL: struct { */
15697 /* IDL:         uint32 count; */
15698 /* IDL:         uint32 enumeration_context; */
15699 /* IDL:         [size_is(count)] drsuapi_DsReplicaObjMetaData2 array[*]; */
15700 /* IDL: } */
15701
15702 static int
15703 drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15704 {
15705         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_count, 0);
15706
15707         return offset;
15708 }
15709
15710 static int
15711 drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15712 {
15713         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context, 0);
15714
15715         return offset;
15716 }
15717
15718 static int
15719 drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15720 {
15721         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_array_);
15722
15723         return offset;
15724 }
15725
15726 static int
15727 drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15728 {
15729         offset = drsuapi_dissect_struct_DsReplicaObjMetaData2(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_array,0);
15730
15731         return offset;
15732 }
15733
15734 int
15735 drsuapi_dissect_struct_DsReplicaObjMetaData2Ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
15736 {
15737         proto_item *item = NULL;
15738         proto_tree *tree = NULL;
15739         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
15740         int old_offset;
15741
15742         ALIGN_TO_8_BYTES;
15743
15744         old_offset = offset;
15745
15746         if (parent_tree) {
15747                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15748                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr);
15749         }
15750         
15751         offset = drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_count(tvb, offset, pinfo, tree, drep);
15752
15753         offset = drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_enumeration_context(tvb, offset, pinfo, tree, drep);
15754
15755         offset = drsuapi_dissect_element_DsReplicaObjMetaData2Ctr_array(tvb, offset, pinfo, tree, drep);
15756
15757
15758         proto_item_set_len(item, offset-old_offset);
15759
15760
15761         if (di->call_data->flags & DCERPC_IS_NDR64) {
15762                 ALIGN_TO_8_BYTES;
15763         }
15764
15765         return offset;
15766 }
15767
15768
15769 /* IDL: struct { */
15770 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *attribute_name; */
15771 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *object_dn; */
15772 /* IDL:         [value(ndr_size_DATA_BLOB(0,binary,0))] uint32 __ndr_size_binary; */
15773 /* IDL:         [unique(1)] DATA_BLOB *binary; */
15774 /* IDL:         NTTIME deleted; */
15775 /* IDL:         NTTIME created; */
15776 /* IDL:         uint32 version; */
15777 /* IDL:         NTTIME originating_change_time; */
15778 /* IDL:         GUID originating_invocation_id; */
15779 /* IDL:         hyper originating_usn; */
15780 /* IDL:         hyper local_usn; */
15781 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *originating_dsa_dn; */
15782 /* IDL: } */
15783
15784 static int
15785 drsuapi_dissect_element_DsReplicaAttrValMetaData2_attribute_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15786 {
15787         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData2_attribute_name_, NDR_POINTER_UNIQUE, "Pointer to Attribute Name (uint16)",hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_attribute_name);
15788
15789         return offset;
15790 }
15791
15792 static int
15793 drsuapi_dissect_element_DsReplicaAttrValMetaData2_attribute_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15794 {
15795         char *data;
15796
15797         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_attribute_name, FALSE, &data);
15798         proto_item_append_text(tree, ": %s", data);
15799
15800         return offset;
15801 }
15802
15803 static int
15804 drsuapi_dissect_element_DsReplicaAttrValMetaData2_object_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15805 {
15806         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData2_object_dn_, NDR_POINTER_UNIQUE, "Pointer to Object Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_object_dn);
15807
15808         return offset;
15809 }
15810
15811 static int
15812 drsuapi_dissect_element_DsReplicaAttrValMetaData2_object_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15813 {
15814         char *data;
15815
15816         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_object_dn, FALSE, &data);
15817         proto_item_append_text(tree, ": %s", data);
15818
15819         return offset;
15820 }
15821
15822 static int
15823 drsuapi_dissect_element_DsReplicaAttrValMetaData2___ndr_size_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15824 {
15825         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2___ndr_size_binary, 0);
15826
15827         return offset;
15828 }
15829
15830 static int
15831 drsuapi_dissect_element_DsReplicaAttrValMetaData2_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15832 {
15833         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData2_binary_, NDR_POINTER_UNIQUE, "Pointer to Binary (DATA_BLOB)",hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_binary);
15834
15835         return offset;
15836 }
15837
15838 static int
15839 drsuapi_dissect_element_DsReplicaAttrValMetaData2_binary_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15840 {
15841         offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_binary, 0);
15842
15843         return offset;
15844 }
15845
15846 static int
15847 drsuapi_dissect_element_DsReplicaAttrValMetaData2_deleted(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15848 {
15849         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_deleted);
15850
15851         return offset;
15852 }
15853
15854 static int
15855 drsuapi_dissect_element_DsReplicaAttrValMetaData2_created(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15856 {
15857         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_created);
15858
15859         return offset;
15860 }
15861
15862 static int
15863 drsuapi_dissect_element_DsReplicaAttrValMetaData2_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15864 {
15865         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_version, 0);
15866
15867         return offset;
15868 }
15869
15870 static int
15871 drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_change_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15872 {
15873         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_change_time);
15874
15875         return offset;
15876 }
15877
15878 static int
15879 drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_invocation_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15880 {
15881         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_invocation_id, NULL);
15882
15883         return offset;
15884 }
15885
15886 static int
15887 drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15888 {
15889         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_usn, NULL);
15890
15891         return offset;
15892 }
15893
15894 static int
15895 drsuapi_dissect_element_DsReplicaAttrValMetaData2_local_usn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15896 {
15897         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_local_usn, NULL);
15898
15899         return offset;
15900 }
15901
15902 static int
15903 drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_dsa_dn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15904 {
15905         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_dsa_dn_, NDR_POINTER_UNIQUE, "Pointer to Originating Dsa Dn (uint16)",hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_dn);
15906
15907         return offset;
15908 }
15909
15910 static int
15911 drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_dsa_dn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15912 {
15913         char *data;
15914
15915         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_dn, FALSE, &data);
15916         proto_item_append_text(tree, ": %s", data);
15917
15918         return offset;
15919 }
15920
15921 int
15922 drsuapi_dissect_struct_DsReplicaAttrValMetaData2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
15923 {
15924         proto_item *item = NULL;
15925         proto_tree *tree = NULL;
15926         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
15927         int old_offset;
15928
15929         ALIGN_TO_8_BYTES;
15930
15931         old_offset = offset;
15932
15933         if (parent_tree) {
15934                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15935                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAttrValMetaData2);
15936         }
15937         
15938         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_attribute_name(tvb, offset, pinfo, tree, drep);
15939
15940         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_object_dn(tvb, offset, pinfo, tree, drep);
15941
15942         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2___ndr_size_binary(tvb, offset, pinfo, tree, drep);
15943
15944         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_binary(tvb, offset, pinfo, tree, drep);
15945
15946         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_deleted(tvb, offset, pinfo, tree, drep);
15947
15948         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_created(tvb, offset, pinfo, tree, drep);
15949
15950         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_version(tvb, offset, pinfo, tree, drep);
15951
15952         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_change_time(tvb, offset, pinfo, tree, drep);
15953
15954         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_invocation_id(tvb, offset, pinfo, tree, drep);
15955
15956         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_usn(tvb, offset, pinfo, tree, drep);
15957
15958         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_local_usn(tvb, offset, pinfo, tree, drep);
15959
15960         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2_originating_dsa_dn(tvb, offset, pinfo, tree, drep);
15961
15962
15963         proto_item_set_len(item, offset-old_offset);
15964
15965
15966         if (di->call_data->flags & DCERPC_IS_NDR64) {
15967                 ALIGN_TO_8_BYTES;
15968         }
15969
15970         return offset;
15971 }
15972
15973
15974 /* IDL: struct { */
15975 /* IDL:         uint32 count; */
15976 /* IDL:         uint32 enumeration_context; */
15977 /* IDL:         [size_is(count)] drsuapi_DsReplicaAttrValMetaData2 array[*]; */
15978 /* IDL: } */
15979
15980 static int
15981 drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15982 {
15983         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_count, 0);
15984
15985         return offset;
15986 }
15987
15988 static int
15989 drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_enumeration_context(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15990 {
15991         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context, 0);
15992
15993         return offset;
15994 }
15995
15996 static int
15997 drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
15998 {
15999         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_array_);
16000
16001         return offset;
16002 }
16003
16004 static int
16005 drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16006 {
16007         offset = drsuapi_dissect_struct_DsReplicaAttrValMetaData2(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_array,0);
16008
16009         return offset;
16010 }
16011
16012 int
16013 drsuapi_dissect_struct_DsReplicaAttrValMetaData2Ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
16014 {
16015         proto_item *item = NULL;
16016         proto_tree *tree = NULL;
16017         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
16018         int old_offset;
16019
16020         ALIGN_TO_8_BYTES;
16021
16022         old_offset = offset;
16023
16024         if (parent_tree) {
16025                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
16026                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr);
16027         }
16028         
16029         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_count(tvb, offset, pinfo, tree, drep);
16030
16031         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_enumeration_context(tvb, offset, pinfo, tree, drep);
16032
16033         offset = drsuapi_dissect_element_DsReplicaAttrValMetaData2Ctr_array(tvb, offset, pinfo, tree, drep);
16034
16035
16036         proto_item_set_len(item, offset-old_offset);
16037
16038
16039         if (di->call_data->flags & DCERPC_IS_NDR64) {
16040                 ALIGN_TO_8_BYTES;
16041         }
16042
16043         return offset;
16044 }
16045
16046
16047 /* IDL: struct { */
16048 /* IDL:         hyper u1; */
16049 /* IDL:         uint32 u2; */
16050 /* IDL:         uint32 u3; */
16051 /* IDL:         GUID bind_guid; */
16052 /* IDL:         NTTIME_1sec bind_time; */
16053 /* IDL:         [flag(LIBNDR_FLAG_BIGENDIAN)] ipv4address client_ip_address; */
16054 /* IDL:         uint32 u5; */
16055 /* IDL: } */
16056
16057 static int
16058 drsuapi_dissect_element_DsReplicaConnection04_u1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16059 {
16060         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaConnection04_u1, NULL);
16061
16062         return offset;
16063 }
16064
16065 static int
16066 drsuapi_dissect_element_DsReplicaConnection04_u2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16067 {
16068         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaConnection04_u2, 0);
16069
16070         return offset;
16071 }
16072
16073 static int
16074 drsuapi_dissect_element_DsReplicaConnection04_u3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16075 {
16076         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaConnection04_u3, 0);
16077
16078         return offset;
16079 }
16080
16081 static int
16082 drsuapi_dissect_element_DsReplicaConnection04_bind_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16083 {
16084         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaConnection04_bind_guid, NULL);
16085
16086         return offset;
16087 }
16088
16089 static int
16090 drsuapi_dissect_element_DsReplicaConnection04_bind_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16091 {
16092         offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaConnection04_bind_time);
16093
16094         return offset;
16095 }
16096
16097 static int
16098 drsuapi_dissect_element_DsReplicaConnection04_client_ip_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16099 {
16100         offset = drsuapi_dissect_struct_ipv4address(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaConnection04_client_ip_address,0);
16101
16102         return offset;
16103 }
16104
16105 static int
16106 drsuapi_dissect_element_DsReplicaConnection04_u5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16107 {
16108         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaConnection04_u5, 0);
16109
16110         return offset;
16111 }
16112
16113 int
16114 drsuapi_dissect_struct_DsReplicaConnection04(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
16115 {
16116         proto_item *item = NULL;
16117         proto_tree *tree = NULL;
16118         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
16119         int old_offset;
16120
16121         ALIGN_TO_8_BYTES;
16122
16123         old_offset = offset;
16124
16125         if (parent_tree) {
16126                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
16127                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaConnection04);
16128         }
16129         
16130         offset = drsuapi_dissect_element_DsReplicaConnection04_u1(tvb, offset, pinfo, tree, drep);
16131
16132         offset = drsuapi_dissect_element_DsReplicaConnection04_u2(tvb, offset, pinfo, tree, drep);
16133
16134         offset = drsuapi_dissect_element_DsReplicaConnection04_u3(tvb, offset, pinfo, tree, drep);
16135
16136         offset = drsuapi_dissect_element_DsReplicaConnection04_bind_guid(tvb, offset, pinfo, tree, drep);
16137
16138         offset = drsuapi_dissect_element_DsReplicaConnection04_bind_time(tvb, offset, pinfo, tree, drep);
16139
16140         offset = drsuapi_dissect_element_DsReplicaConnection04_client_ip_address(tvb, offset, pinfo, tree, drep);
16141
16142         offset = drsuapi_dissect_element_DsReplicaConnection04_u5(tvb, offset, pinfo, tree, drep);
16143
16144
16145         proto_item_set_len(item, offset-old_offset);
16146
16147
16148         if (di->call_data->flags & DCERPC_IS_NDR64) {
16149                 ALIGN_TO_8_BYTES;
16150         }
16151
16152         return offset;
16153 }
16154
16155
16156 /* IDL: struct { */
16157 /* IDL:         [range(0,10000)] uint32 count; */
16158 /* IDL:         uint32 reserved; */
16159 /* IDL:         [size_is(count)] drsuapi_DsReplicaConnection04 array[*]; */
16160 /* IDL: } */
16161
16162 static int
16163 drsuapi_dissect_element_DsReplicaConnection04Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16164 {
16165         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_count, 0);
16166
16167         return offset;
16168 }
16169
16170 static int
16171 drsuapi_dissect_element_DsReplicaConnection04Ctr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16172 {
16173         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_reserved, 0);
16174
16175         return offset;
16176 }
16177
16178 static int
16179 drsuapi_dissect_element_DsReplicaConnection04Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16180 {
16181         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaConnection04Ctr_array_);
16182
16183         return offset;
16184 }
16185
16186 static int
16187 drsuapi_dissect_element_DsReplicaConnection04Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16188 {
16189         offset = drsuapi_dissect_struct_DsReplicaConnection04(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_array,0);
16190
16191         return offset;
16192 }
16193
16194 int
16195 drsuapi_dissect_struct_DsReplicaConnection04Ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
16196 {
16197         proto_item *item = NULL;
16198         proto_tree *tree = NULL;
16199         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
16200         int old_offset;
16201
16202         ALIGN_TO_8_BYTES;
16203
16204         old_offset = offset;
16205
16206         if (parent_tree) {
16207                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
16208                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaConnection04Ctr);
16209         }
16210         
16211         offset = drsuapi_dissect_element_DsReplicaConnection04Ctr_count(tvb, offset, pinfo, tree, drep);
16212
16213         offset = drsuapi_dissect_element_DsReplicaConnection04Ctr_reserved(tvb, offset, pinfo, tree, drep);
16214
16215         offset = drsuapi_dissect_element_DsReplicaConnection04Ctr_array(tvb, offset, pinfo, tree, drep);
16216
16217
16218         proto_item_set_len(item, offset-old_offset);
16219
16220
16221         if (di->call_data->flags & DCERPC_IS_NDR64) {
16222                 ALIGN_TO_8_BYTES;
16223         }
16224
16225         return offset;
16226 }
16227
16228
16229 /* IDL: struct { */
16230 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *str1; */
16231 /* IDL:         uint32 u1; */
16232 /* IDL:         uint32 u2; */
16233 /* IDL:         uint32 u3; */
16234 /* IDL:         uint32 u4; */
16235 /* IDL:         uint32 u5; */
16236 /* IDL:         hyper u6; */
16237 /* IDL:         uint32 u7; */
16238 /* IDL: } */
16239
16240 static int
16241 drsuapi_dissect_element_DsReplica06_str1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16242 {
16243         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplica06_str1_, NDR_POINTER_UNIQUE, "Pointer to Str1 (uint16)",hf_drsuapi_drsuapi_DsReplica06_str1);
16244
16245         return offset;
16246 }
16247
16248 static int
16249 drsuapi_dissect_element_DsReplica06_str1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16250 {
16251         char *data;
16252
16253         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_DsReplica06_str1, FALSE, &data);
16254         proto_item_append_text(tree, ": %s", data);
16255
16256         return offset;
16257 }
16258
16259 static int
16260 drsuapi_dissect_element_DsReplica06_u1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16261 {
16262         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplica06_u1, 0);
16263
16264         return offset;
16265 }
16266
16267 static int
16268 drsuapi_dissect_element_DsReplica06_u2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16269 {
16270         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplica06_u2, 0);
16271
16272         return offset;
16273 }
16274
16275 static int
16276 drsuapi_dissect_element_DsReplica06_u3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16277 {
16278         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplica06_u3, 0);
16279
16280         return offset;
16281 }
16282
16283 static int
16284 drsuapi_dissect_element_DsReplica06_u4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16285 {
16286         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplica06_u4, 0);
16287
16288         return offset;
16289 }
16290
16291 static int
16292 drsuapi_dissect_element_DsReplica06_u5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16293 {
16294         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplica06_u5, 0);
16295
16296         return offset;
16297 }
16298
16299 static int
16300 drsuapi_dissect_element_DsReplica06_u6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16301 {
16302         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplica06_u6, NULL);
16303
16304         return offset;
16305 }
16306
16307 static int
16308 drsuapi_dissect_element_DsReplica06_u7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16309 {
16310         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplica06_u7, 0);
16311
16312         return offset;
16313 }
16314
16315 int
16316 drsuapi_dissect_struct_DsReplica06(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
16317 {
16318         proto_item *item = NULL;
16319         proto_tree *tree = NULL;
16320         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
16321         int old_offset;
16322
16323         ALIGN_TO_8_BYTES;
16324
16325         old_offset = offset;
16326
16327         if (parent_tree) {
16328                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
16329                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplica06);
16330         }
16331         
16332         offset = drsuapi_dissect_element_DsReplica06_str1(tvb, offset, pinfo, tree, drep);
16333
16334         offset = drsuapi_dissect_element_DsReplica06_u1(tvb, offset, pinfo, tree, drep);
16335
16336         offset = drsuapi_dissect_element_DsReplica06_u2(tvb, offset, pinfo, tree, drep);
16337
16338         offset = drsuapi_dissect_element_DsReplica06_u3(tvb, offset, pinfo, tree, drep);
16339
16340         offset = drsuapi_dissect_element_DsReplica06_u4(tvb, offset, pinfo, tree, drep);
16341
16342         offset = drsuapi_dissect_element_DsReplica06_u5(tvb, offset, pinfo, tree, drep);
16343
16344         offset = drsuapi_dissect_element_DsReplica06_u6(tvb, offset, pinfo, tree, drep);
16345
16346         offset = drsuapi_dissect_element_DsReplica06_u7(tvb, offset, pinfo, tree, drep);
16347
16348
16349         proto_item_set_len(item, offset-old_offset);
16350
16351
16352         if (di->call_data->flags & DCERPC_IS_NDR64) {
16353                 ALIGN_TO_8_BYTES;
16354         }
16355
16356         return offset;
16357 }
16358
16359
16360 /* IDL: struct { */
16361 /* IDL:         [range(0,256)] uint32 count; */
16362 /* IDL:         uint32 reserved; */
16363 /* IDL:         [size_is(count)] drsuapi_DsReplica06 array[*]; */
16364 /* IDL: } */
16365
16366 static int
16367 drsuapi_dissect_element_DsReplica06Ctr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16368 {
16369         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplica06Ctr_count, 0);
16370
16371         return offset;
16372 }
16373
16374 static int
16375 drsuapi_dissect_element_DsReplica06Ctr_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16376 {
16377         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplica06Ctr_reserved, 0);
16378
16379         return offset;
16380 }
16381
16382 static int
16383 drsuapi_dissect_element_DsReplica06Ctr_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16384 {
16385         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplica06Ctr_array_);
16386
16387         return offset;
16388 }
16389
16390 static int
16391 drsuapi_dissect_element_DsReplica06Ctr_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16392 {
16393         offset = drsuapi_dissect_struct_DsReplica06(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplica06Ctr_array,0);
16394
16395         return offset;
16396 }
16397
16398 int
16399 drsuapi_dissect_struct_DsReplica06Ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
16400 {
16401         proto_item *item = NULL;
16402         proto_tree *tree = NULL;
16403         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
16404         int old_offset;
16405
16406         ALIGN_TO_8_BYTES;
16407
16408         old_offset = offset;
16409
16410         if (parent_tree) {
16411                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
16412                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplica06Ctr);
16413         }
16414         
16415         offset = drsuapi_dissect_element_DsReplica06Ctr_count(tvb, offset, pinfo, tree, drep);
16416
16417         offset = drsuapi_dissect_element_DsReplica06Ctr_reserved(tvb, offset, pinfo, tree, drep);
16418
16419         offset = drsuapi_dissect_element_DsReplica06Ctr_array(tvb, offset, pinfo, tree, drep);
16420
16421
16422         proto_item_set_len(item, offset-old_offset);
16423
16424
16425         if (di->call_data->flags & DCERPC_IS_NDR64) {
16426                 ALIGN_TO_8_BYTES;
16427         }
16428
16429         return offset;
16430 }
16431
16432
16433 /* IDL: [switch_type(drsuapi_DsReplicaInfoType)] union { */
16434 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_NEIGHBORS)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_NEIGHBORS)] drsuapi_DsReplicaNeighbourCtr *neighbours; */
16435 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_CURSORS)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_CURSORS)] drsuapi_DsReplicaCursorCtr *cursors; */
16436 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA)] drsuapi_DsReplicaObjMetaDataCtr *objmetadata; */
16437 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES)] drsuapi_DsReplicaKccDsaFailuresCtr *connectfailures; */
16438 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES)] drsuapi_DsReplicaKccDsaFailuresCtr *linkfailures; */
16439 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_PENDING_OPS)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_PENDING_OPS)] drsuapi_DsReplicaOpCtr *pendingops; */
16440 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA)] drsuapi_DsReplicaAttrValMetaDataCtr *attrvalmetadata; */
16441 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_CURSORS2)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_CURSORS2)] drsuapi_DsReplicaCursor2Ctr *cursors2; */
16442 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_CURSORS3)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_CURSORS3)] drsuapi_DsReplicaCursor3Ctr *cursors3; */
16443 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2)] drsuapi_DsReplicaObjMetaData2Ctr *objmetadata2; */
16444 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2)] drsuapi_DsReplicaAttrValMetaData2Ctr *attrvalmetadata2; */
16445 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_REPSTO)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_REPSTO)] drsuapi_DsReplicaNeighbourCtr *repsto; */
16446 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_CLIENT_CONTEXTS)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_CLIENT_CONTEXTS)] drsuapi_DsReplicaConnection04Ctr *clientctx; */
16447 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_UPTODATE_VECTOR_V1)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_UPTODATE_VECTOR_V1)] drsuapi_DsReplicaCursorCtrEx *udv1; */
16448 /* IDL: [case(DRSUAPI_DS_REPLICA_INFO_SERVER_OUTGOING_CALLS)] [unique(1)] [case(DRSUAPI_DS_REPLICA_INFO_SERVER_OUTGOING_CALLS)] drsuapi_DsReplica06Ctr *srvoutgoingcalls; */
16449 /* IDL: } */
16450
16451 static int
16452 drsuapi_dissect_element_DsReplicaInfo_neighbours(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16453 {
16454         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_neighbours_, NDR_POINTER_UNIQUE, "Pointer to Neighbours (drsuapi_DsReplicaNeighbourCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_neighbours);
16455
16456         return offset;
16457 }
16458
16459 static int
16460 drsuapi_dissect_element_DsReplicaInfo_neighbours_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16461 {
16462         offset = drsuapi_dissect_struct_DsReplicaNeighbourCtr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_neighbours,0);
16463
16464         return offset;
16465 }
16466
16467 static int
16468 drsuapi_dissect_element_DsReplicaInfo_cursors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16469 {
16470         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_cursors_, NDR_POINTER_UNIQUE, "Pointer to Cursors (drsuapi_DsReplicaCursorCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_cursors);
16471
16472         return offset;
16473 }
16474
16475 static int
16476 drsuapi_dissect_element_DsReplicaInfo_cursors_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16477 {
16478         offset = drsuapi_dissect_struct_DsReplicaCursorCtr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_cursors,0);
16479
16480         return offset;
16481 }
16482
16483 static int
16484 drsuapi_dissect_element_DsReplicaInfo_objmetadata(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16485 {
16486         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_objmetadata_, NDR_POINTER_UNIQUE, "Pointer to Objmetadata (drsuapi_DsReplicaObjMetaDataCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata);
16487
16488         return offset;
16489 }
16490
16491 static int
16492 drsuapi_dissect_element_DsReplicaInfo_objmetadata_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16493 {
16494         offset = drsuapi_dissect_struct_DsReplicaObjMetaDataCtr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata,0);
16495
16496         return offset;
16497 }
16498
16499 static int
16500 drsuapi_dissect_element_DsReplicaInfo_connectfailures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16501 {
16502         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_connectfailures_, NDR_POINTER_UNIQUE, "Pointer to Connectfailures (drsuapi_DsReplicaKccDsaFailuresCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_connectfailures);
16503
16504         return offset;
16505 }
16506
16507 static int
16508 drsuapi_dissect_element_DsReplicaInfo_connectfailures_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16509 {
16510         offset = drsuapi_dissect_struct_DsReplicaKccDsaFailuresCtr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_connectfailures,0);
16511
16512         return offset;
16513 }
16514
16515 static int
16516 drsuapi_dissect_element_DsReplicaInfo_linkfailures(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16517 {
16518         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_linkfailures_, NDR_POINTER_UNIQUE, "Pointer to Linkfailures (drsuapi_DsReplicaKccDsaFailuresCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_linkfailures);
16519
16520         return offset;
16521 }
16522
16523 static int
16524 drsuapi_dissect_element_DsReplicaInfo_linkfailures_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16525 {
16526         offset = drsuapi_dissect_struct_DsReplicaKccDsaFailuresCtr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_linkfailures,0);
16527
16528         return offset;
16529 }
16530
16531 static int
16532 drsuapi_dissect_element_DsReplicaInfo_pendingops(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16533 {
16534         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_pendingops_, NDR_POINTER_UNIQUE, "Pointer to Pendingops (drsuapi_DsReplicaOpCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_pendingops);
16535
16536         return offset;
16537 }
16538
16539 static int
16540 drsuapi_dissect_element_DsReplicaInfo_pendingops_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16541 {
16542         offset = drsuapi_dissect_struct_DsReplicaOpCtr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_pendingops,0);
16543
16544         return offset;
16545 }
16546
16547 static int
16548 drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16549 {
16550         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata_, NDR_POINTER_UNIQUE, "Pointer to Attrvalmetadata (drsuapi_DsReplicaAttrValMetaDataCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata);
16551
16552         return offset;
16553 }
16554
16555 static int
16556 drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16557 {
16558         offset = drsuapi_dissect_struct_DsReplicaAttrValMetaDataCtr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata,0);
16559
16560         return offset;
16561 }
16562
16563 static int
16564 drsuapi_dissect_element_DsReplicaInfo_cursors2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16565 {
16566         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_cursors2_, NDR_POINTER_UNIQUE, "Pointer to Cursors2 (drsuapi_DsReplicaCursor2Ctr)",hf_drsuapi_drsuapi_DsReplicaInfo_cursors2);
16567
16568         return offset;
16569 }
16570
16571 static int
16572 drsuapi_dissect_element_DsReplicaInfo_cursors2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16573 {
16574         offset = drsuapi_dissect_struct_DsReplicaCursor2Ctr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_cursors2,0);
16575
16576         return offset;
16577 }
16578
16579 static int
16580 drsuapi_dissect_element_DsReplicaInfo_cursors3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16581 {
16582         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_cursors3_, NDR_POINTER_UNIQUE, "Pointer to Cursors3 (drsuapi_DsReplicaCursor3Ctr)",hf_drsuapi_drsuapi_DsReplicaInfo_cursors3);
16583
16584         return offset;
16585 }
16586
16587 static int
16588 drsuapi_dissect_element_DsReplicaInfo_cursors3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16589 {
16590         offset = drsuapi_dissect_struct_DsReplicaCursor3Ctr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_cursors3,0);
16591
16592         return offset;
16593 }
16594
16595 static int
16596 drsuapi_dissect_element_DsReplicaInfo_objmetadata2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16597 {
16598         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_objmetadata2_, NDR_POINTER_UNIQUE, "Pointer to Objmetadata2 (drsuapi_DsReplicaObjMetaData2Ctr)",hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata2);
16599
16600         return offset;
16601 }
16602
16603 static int
16604 drsuapi_dissect_element_DsReplicaInfo_objmetadata2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16605 {
16606         offset = drsuapi_dissect_struct_DsReplicaObjMetaData2Ctr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata2,0);
16607
16608         return offset;
16609 }
16610
16611 static int
16612 drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16613 {
16614         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata2_, NDR_POINTER_UNIQUE, "Pointer to Attrvalmetadata2 (drsuapi_DsReplicaAttrValMetaData2Ctr)",hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata2);
16615
16616         return offset;
16617 }
16618
16619 static int
16620 drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16621 {
16622         offset = drsuapi_dissect_struct_DsReplicaAttrValMetaData2Ctr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata2,0);
16623
16624         return offset;
16625 }
16626
16627 static int
16628 drsuapi_dissect_element_DsReplicaInfo_repsto(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16629 {
16630         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_repsto_, NDR_POINTER_UNIQUE, "Pointer to Repsto (drsuapi_DsReplicaNeighbourCtr)",hf_drsuapi_drsuapi_DsReplicaInfo_repsto);
16631
16632         return offset;
16633 }
16634
16635 static int
16636 drsuapi_dissect_element_DsReplicaInfo_repsto_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16637 {
16638         offset = drsuapi_dissect_struct_DsReplicaNeighbourCtr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_repsto,0);
16639
16640         return offset;
16641 }
16642
16643 static int
16644 drsuapi_dissect_element_DsReplicaInfo_clientctx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16645 {
16646         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_clientctx_, NDR_POINTER_UNIQUE, "Pointer to Clientctx (drsuapi_DsReplicaConnection04Ctr)",hf_drsuapi_drsuapi_DsReplicaInfo_clientctx);
16647
16648         return offset;
16649 }
16650
16651 static int
16652 drsuapi_dissect_element_DsReplicaInfo_clientctx_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16653 {
16654         offset = drsuapi_dissect_struct_DsReplicaConnection04Ctr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_clientctx,0);
16655
16656         return offset;
16657 }
16658
16659 static int
16660 drsuapi_dissect_element_DsReplicaInfo_udv1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16661 {
16662         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_udv1_, NDR_POINTER_UNIQUE, "Pointer to Udv1 (drsuapi_DsReplicaCursorCtrEx)",hf_drsuapi_drsuapi_DsReplicaInfo_udv1);
16663
16664         return offset;
16665 }
16666
16667 static int
16668 drsuapi_dissect_element_DsReplicaInfo_udv1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16669 {
16670         offset = drsuapi_dissect_struct_DsReplicaCursorCtrEx(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_udv1,0);
16671
16672         return offset;
16673 }
16674
16675 static int
16676 drsuapi_dissect_element_DsReplicaInfo_srvoutgoingcalls(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16677 {
16678         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaInfo_srvoutgoingcalls_, NDR_POINTER_UNIQUE, "Pointer to Srvoutgoingcalls (drsuapi_DsReplica06Ctr)",hf_drsuapi_drsuapi_DsReplicaInfo_srvoutgoingcalls);
16679
16680         return offset;
16681 }
16682
16683 static int
16684 drsuapi_dissect_element_DsReplicaInfo_srvoutgoingcalls_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16685 {
16686         offset = drsuapi_dissect_struct_DsReplica06Ctr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsReplicaInfo_srvoutgoingcalls,0);
16687
16688         return offset;
16689 }
16690
16691 static int
16692 drsuapi_dissect_DsReplicaInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
16693 {
16694         proto_item *item = NULL;
16695         proto_tree *tree = NULL;
16696         int old_offset;
16697         guint32 level;
16698
16699         old_offset = offset;
16700         if (parent_tree) {
16701                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsReplicaInfo");
16702                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsReplicaInfo);
16703         }
16704
16705         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
16706         ALIGN_TO_5_BYTES;
16707
16708         switch(level) {
16709                 case DRSUAPI_DS_REPLICA_INFO_NEIGHBORS:
16710                         offset = drsuapi_dissect_element_DsReplicaInfo_neighbours(tvb, offset, pinfo, tree, drep);
16711                 break;
16712
16713                 case DRSUAPI_DS_REPLICA_INFO_CURSORS:
16714                         offset = drsuapi_dissect_element_DsReplicaInfo_cursors(tvb, offset, pinfo, tree, drep);
16715                 break;
16716
16717                 case DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA:
16718                         offset = drsuapi_dissect_element_DsReplicaInfo_objmetadata(tvb, offset, pinfo, tree, drep);
16719                 break;
16720
16721                 case DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES:
16722                         offset = drsuapi_dissect_element_DsReplicaInfo_connectfailures(tvb, offset, pinfo, tree, drep);
16723                 break;
16724
16725                 case DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES:
16726                         offset = drsuapi_dissect_element_DsReplicaInfo_linkfailures(tvb, offset, pinfo, tree, drep);
16727                 break;
16728
16729                 case DRSUAPI_DS_REPLICA_INFO_PENDING_OPS:
16730                         offset = drsuapi_dissect_element_DsReplicaInfo_pendingops(tvb, offset, pinfo, tree, drep);
16731                 break;
16732
16733                 case DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA:
16734                         offset = drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata(tvb, offset, pinfo, tree, drep);
16735                 break;
16736
16737                 case DRSUAPI_DS_REPLICA_INFO_CURSORS2:
16738                         offset = drsuapi_dissect_element_DsReplicaInfo_cursors2(tvb, offset, pinfo, tree, drep);
16739                 break;
16740
16741                 case DRSUAPI_DS_REPLICA_INFO_CURSORS3:
16742                         offset = drsuapi_dissect_element_DsReplicaInfo_cursors3(tvb, offset, pinfo, tree, drep);
16743                 break;
16744
16745                 case DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2:
16746                         offset = drsuapi_dissect_element_DsReplicaInfo_objmetadata2(tvb, offset, pinfo, tree, drep);
16747                 break;
16748
16749                 case DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2:
16750                         offset = drsuapi_dissect_element_DsReplicaInfo_attrvalmetadata2(tvb, offset, pinfo, tree, drep);
16751                 break;
16752
16753                 case DRSUAPI_DS_REPLICA_INFO_REPSTO:
16754                         offset = drsuapi_dissect_element_DsReplicaInfo_repsto(tvb, offset, pinfo, tree, drep);
16755                 break;
16756
16757                 case DRSUAPI_DS_REPLICA_INFO_CLIENT_CONTEXTS:
16758                         offset = drsuapi_dissect_element_DsReplicaInfo_clientctx(tvb, offset, pinfo, tree, drep);
16759                 break;
16760
16761                 case DRSUAPI_DS_REPLICA_INFO_UPTODATE_VECTOR_V1:
16762                         offset = drsuapi_dissect_element_DsReplicaInfo_udv1(tvb, offset, pinfo, tree, drep);
16763                 break;
16764
16765                 case DRSUAPI_DS_REPLICA_INFO_SERVER_OUTGOING_CALLS:
16766                         offset = drsuapi_dissect_element_DsReplicaInfo_srvoutgoingcalls(tvb, offset, pinfo, tree, drep);
16767                 break;
16768         }
16769         proto_item_set_len(item, offset-old_offset);
16770
16771
16772         return offset;
16773 }
16774
16775 /* IDL: struct { */
16776 /* IDL:         [range(0,10000)] uint32 num_entries; */
16777 /* IDL:         [unique(1)] [size_is(num_entries)] drsuapi_DsGetMembershipsCtr1 **ctrl_array; */
16778 /* IDL: } */
16779
16780 static int
16781 drsuapi_dissect_element_DsGetMemberships2Ctr1_num_entries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16782 {
16783         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_num_entries, 0);
16784
16785         return offset;
16786 }
16787
16788 static int
16789 drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16790 {
16791         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array_, NDR_POINTER_UNIQUE, "Pointer to Ctrl Array (drsuapi_DsGetMembershipsCtr1)",hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_ctrl_array);
16792
16793         return offset;
16794 }
16795
16796 static int
16797 drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16798 {
16799         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array__);
16800
16801         return offset;
16802 }
16803
16804 static int
16805 drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16806 {
16807         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array___, NDR_POINTER_UNIQUE, "Pointer to Ctrl Array (drsuapi_DsGetMembershipsCtr1)",hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_ctrl_array);
16808
16809         return offset;
16810 }
16811
16812 static int
16813 drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16814 {
16815         offset = drsuapi_dissect_struct_DsGetMembershipsCtr1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_ctrl_array,0);
16816
16817         return offset;
16818 }
16819
16820 int
16821 drsuapi_dissect_struct_DsGetMemberships2Ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
16822 {
16823         proto_item *item = NULL;
16824         proto_tree *tree = NULL;
16825         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
16826         int old_offset;
16827
16828         ALIGN_TO_5_BYTES;
16829
16830         old_offset = offset;
16831
16832         if (parent_tree) {
16833                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
16834                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetMemberships2Ctr1);
16835         }
16836         
16837         offset = drsuapi_dissect_element_DsGetMemberships2Ctr1_num_entries(tvb, offset, pinfo, tree, drep);
16838
16839         offset = drsuapi_dissect_element_DsGetMemberships2Ctr1_ctrl_array(tvb, offset, pinfo, tree, drep);
16840
16841
16842         proto_item_set_len(item, offset-old_offset);
16843
16844
16845         if (di->call_data->flags & DCERPC_IS_NDR64) {
16846                 ALIGN_TO_5_BYTES;
16847         }
16848
16849         return offset;
16850 }
16851
16852
16853 /* IDL: [switch_type(uint32)] union { */
16854 /* IDL: [case(1)] [case(1)] drsuapi_DsGetMembershipsCtr1 ctr1; */
16855 /* IDL: } */
16856
16857 static int
16858 drsuapi_dissect_element_DsGetMemberships2Ctr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16859 {
16860         offset = drsuapi_dissect_struct_DsGetMembershipsCtr1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetMemberships2Ctr_ctr1,0);
16861
16862         return offset;
16863 }
16864
16865 static int
16866 drsuapi_dissect_DsGetMemberships2Ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
16867 {
16868         proto_item *item = NULL;
16869         proto_tree *tree = NULL;
16870         int old_offset;
16871         guint32 level;
16872
16873         old_offset = offset;
16874         if (parent_tree) {
16875                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsGetMemberships2Ctr");
16876                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetMemberships2Ctr);
16877         }
16878
16879         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
16880         ALIGN_TO_5_BYTES;
16881
16882         switch(level) {
16883                 case 1:
16884                         offset = drsuapi_dissect_element_DsGetMemberships2Ctr_ctr1(tvb, offset, pinfo, tree, drep);
16885                 break;
16886         }
16887         proto_item_set_len(item, offset-old_offset);
16888
16889
16890         return offset;
16891 }
16892
16893 /* IDL: struct { */
16894 /* IDL:         [range(1,10000)] uint32 num_req; */
16895 /* IDL:         [unique(1)] [size_is(num_req)] drsuapi_DsGetMembershipsRequest1 **req_array; */
16896 /* IDL: } */
16897
16898 static int
16899 drsuapi_dissect_element_DsGetMemberships2Request1_num_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16900 {
16901         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMemberships2Request1_num_req, 0);
16902
16903         return offset;
16904 }
16905
16906 static int
16907 drsuapi_dissect_element_DsGetMemberships2Request1_req_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16908 {
16909         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMemberships2Request1_req_array_, NDR_POINTER_UNIQUE, "Pointer to Req Array (drsuapi_DsGetMembershipsRequest1)",hf_drsuapi_drsuapi_DsGetMemberships2Request1_req_array);
16910
16911         return offset;
16912 }
16913
16914 static int
16915 drsuapi_dissect_element_DsGetMemberships2Request1_req_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16916 {
16917         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMemberships2Request1_req_array__);
16918
16919         return offset;
16920 }
16921
16922 static int
16923 drsuapi_dissect_element_DsGetMemberships2Request1_req_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16924 {
16925         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMemberships2Request1_req_array___, NDR_POINTER_UNIQUE, "Pointer to Req Array (drsuapi_DsGetMembershipsRequest1)",hf_drsuapi_drsuapi_DsGetMemberships2Request1_req_array);
16926
16927         return offset;
16928 }
16929
16930 static int
16931 drsuapi_dissect_element_DsGetMemberships2Request1_req_array___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16932 {
16933         offset = drsuapi_dissect_struct_DsGetMembershipsRequest1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetMemberships2Request1_req_array,0);
16934
16935         return offset;
16936 }
16937
16938 int
16939 drsuapi_dissect_struct_DsGetMemberships2Request1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
16940 {
16941         proto_item *item = NULL;
16942         proto_tree *tree = NULL;
16943         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
16944         int old_offset;
16945
16946         ALIGN_TO_5_BYTES;
16947
16948         old_offset = offset;
16949
16950         if (parent_tree) {
16951                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
16952                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetMemberships2Request1);
16953         }
16954         
16955         offset = drsuapi_dissect_element_DsGetMemberships2Request1_num_req(tvb, offset, pinfo, tree, drep);
16956
16957         offset = drsuapi_dissect_element_DsGetMemberships2Request1_req_array(tvb, offset, pinfo, tree, drep);
16958
16959
16960         proto_item_set_len(item, offset-old_offset);
16961
16962
16963         if (di->call_data->flags & DCERPC_IS_NDR64) {
16964                 ALIGN_TO_5_BYTES;
16965         }
16966
16967         return offset;
16968 }
16969
16970
16971 /* IDL: [switch_type(uint32)] union { */
16972 /* IDL: [case(1)] [case(1)] drsuapi_DsGetMemberships2Request1 req1; */
16973 /* IDL: } */
16974
16975 static int
16976 drsuapi_dissect_element_DsGetMemberships2Request_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
16977 {
16978         offset = drsuapi_dissect_struct_DsGetMemberships2Request1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsGetMemberships2Request_req1,0);
16979
16980         return offset;
16981 }
16982
16983 static int
16984 drsuapi_dissect_DsGetMemberships2Request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
16985 {
16986         proto_item *item = NULL;
16987         proto_tree *tree = NULL;
16988         int old_offset;
16989         guint32 level;
16990
16991         old_offset = offset;
16992         if (parent_tree) {
16993                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_DsGetMemberships2Request");
16994                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsGetMemberships2Request);
16995         }
16996
16997         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
16998         ALIGN_TO_5_BYTES;
16999
17000         switch(level) {
17001                 case 1:
17002                         offset = drsuapi_dissect_element_DsGetMemberships2Request_req1(tvb, offset, pinfo, tree, drep);
17003                 break;
17004         }
17005         proto_item_set_len(item, offset-old_offset);
17006
17007
17008         return offset;
17009 }
17010
17011 /* IDL: struct { */
17012 /* IDL:         WERROR error_code; */
17013 /* IDL:         uint32 site_cost; */
17014 /* IDL: } */
17015
17016 static int
17017 drsuapi_dissect_element_DsSiteCostInfo_error_code(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17018 {
17019         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsSiteCostInfo_error_code, 0);
17020
17021         return offset;
17022 }
17023
17024 static int
17025 drsuapi_dissect_element_DsSiteCostInfo_site_cost(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17026 {
17027         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsSiteCostInfo_site_cost, 0);
17028
17029         return offset;
17030 }
17031
17032 int
17033 drsuapi_dissect_struct_DsSiteCostInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
17034 {
17035         proto_item *item = NULL;
17036         proto_tree *tree = NULL;
17037         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
17038         int old_offset;
17039
17040         ALIGN_TO_4_BYTES;
17041
17042         old_offset = offset;
17043
17044         if (parent_tree) {
17045                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
17046                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_DsSiteCostInfo);
17047         }
17048         
17049         offset = drsuapi_dissect_element_DsSiteCostInfo_error_code(tvb, offset, pinfo, tree, drep);
17050
17051         offset = drsuapi_dissect_element_DsSiteCostInfo_site_cost(tvb, offset, pinfo, tree, drep);
17052
17053
17054         proto_item_set_len(item, offset-old_offset);
17055
17056
17057         if (di->call_data->flags & DCERPC_IS_NDR64) {
17058                 ALIGN_TO_4_BYTES;
17059         }
17060
17061         return offset;
17062 }
17063
17064
17065 /* IDL: struct { */
17066 /* IDL:         [range(0,10000)] uint32 num_info; */
17067 /* IDL:         [unique(1)] [size_is(num_info)] drsuapi_DsSiteCostInfo *info; */
17068 /* IDL:         [value(0)] uint32 flags_reserved; */
17069 /* IDL: } */
17070
17071 static int
17072 drsuapi_dissect_element_QuerySitesByCostCtr1_num_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17073 {
17074         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_QuerySitesByCostCtr1_num_info, 0);
17075
17076         return offset;
17077 }
17078
17079 static int
17080 drsuapi_dissect_element_QuerySitesByCostCtr1_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17081 {
17082         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_QuerySitesByCostCtr1_info_, NDR_POINTER_UNIQUE, "Pointer to Info (drsuapi_DsSiteCostInfo)",hf_drsuapi_drsuapi_QuerySitesByCostCtr1_info);
17083
17084         return offset;
17085 }
17086
17087 static int
17088 drsuapi_dissect_element_QuerySitesByCostCtr1_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17089 {
17090         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_QuerySitesByCostCtr1_info__);
17091
17092         return offset;
17093 }
17094
17095 static int
17096 drsuapi_dissect_element_QuerySitesByCostCtr1_info__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17097 {
17098         offset = drsuapi_dissect_struct_DsSiteCostInfo(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_QuerySitesByCostCtr1_info,0);
17099
17100         return offset;
17101 }
17102
17103 static int
17104 drsuapi_dissect_element_QuerySitesByCostCtr1_flags_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17105 {
17106         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_QuerySitesByCostCtr1_flags_reserved, 0);
17107
17108         return offset;
17109 }
17110
17111 int
17112 drsuapi_dissect_struct_QuerySitesByCostCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
17113 {
17114         proto_item *item = NULL;
17115         proto_tree *tree = NULL;
17116         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
17117         int old_offset;
17118
17119         ALIGN_TO_5_BYTES;
17120
17121         old_offset = offset;
17122
17123         if (parent_tree) {
17124                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
17125                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_QuerySitesByCostCtr1);
17126         }
17127         
17128         offset = drsuapi_dissect_element_QuerySitesByCostCtr1_num_info(tvb, offset, pinfo, tree, drep);
17129
17130         offset = drsuapi_dissect_element_QuerySitesByCostCtr1_info(tvb, offset, pinfo, tree, drep);
17131
17132         offset = drsuapi_dissect_element_QuerySitesByCostCtr1_flags_reserved(tvb, offset, pinfo, tree, drep);
17133
17134
17135         proto_item_set_len(item, offset-old_offset);
17136
17137
17138         if (di->call_data->flags & DCERPC_IS_NDR64) {
17139                 ALIGN_TO_5_BYTES;
17140         }
17141
17142         return offset;
17143 }
17144
17145
17146 /* IDL: [switch_type(uint32)] union { */
17147 /* IDL: [case(1)] [case(1)] drsuapi_QuerySitesByCostCtr1 ctr1; */
17148 /* IDL: } */
17149
17150 static int
17151 drsuapi_dissect_element_QuerySitesByCostCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17152 {
17153         offset = drsuapi_dissect_struct_QuerySitesByCostCtr1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_QuerySitesByCostCtr_ctr1,0);
17154
17155         return offset;
17156 }
17157
17158 static int
17159 drsuapi_dissect_QuerySitesByCostCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
17160 {
17161         proto_item *item = NULL;
17162         proto_tree *tree = NULL;
17163         int old_offset;
17164         guint32 level;
17165
17166         old_offset = offset;
17167         if (parent_tree) {
17168                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_QuerySitesByCostCtr");
17169                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_QuerySitesByCostCtr);
17170         }
17171
17172         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
17173         ALIGN_TO_5_BYTES;
17174
17175         switch(level) {
17176                 case 1:
17177                         offset = drsuapi_dissect_element_QuerySitesByCostCtr_ctr1(tvb, offset, pinfo, tree, drep);
17178                 break;
17179         }
17180         proto_item_set_len(item, offset-old_offset);
17181
17182
17183         return offset;
17184 }
17185
17186 /* IDL: struct { */
17187 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *site_from; */
17188 /* IDL:         [range(1,10000)] uint32 num_req; */
17189 /* IDL:         [unique(1)] [charset(UTF16)] [size_is(num_req)] uint16 **site_to; */
17190 /* IDL:         uint32 flags; */
17191 /* IDL: } */
17192
17193 static int
17194 drsuapi_dissect_element_QuerySitesByCostRequest1_site_from(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17195 {
17196         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_QuerySitesByCostRequest1_site_from_, NDR_POINTER_UNIQUE, "Pointer to Site From (uint16)",hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_from);
17197
17198         return offset;
17199 }
17200
17201 static int
17202 drsuapi_dissect_element_QuerySitesByCostRequest1_site_from_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17203 {
17204         char *data;
17205
17206         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_from, FALSE, &data);
17207         proto_item_append_text(tree, ": %s", data);
17208
17209         return offset;
17210 }
17211
17212 static int
17213 drsuapi_dissect_element_QuerySitesByCostRequest1_num_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17214 {
17215         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_QuerySitesByCostRequest1_num_req, 0);
17216
17217         return offset;
17218 }
17219
17220 static int
17221 drsuapi_dissect_element_QuerySitesByCostRequest1_site_to(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17222 {
17223         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_QuerySitesByCostRequest1_site_to_, NDR_POINTER_UNIQUE, "Pointer to Site To (uint16)",hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_to);
17224
17225         return offset;
17226 }
17227
17228 static int
17229 drsuapi_dissect_element_QuerySitesByCostRequest1_site_to_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17230 {
17231         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_QuerySitesByCostRequest1_site_to__);
17232
17233         return offset;
17234 }
17235
17236 static int
17237 drsuapi_dissect_element_QuerySitesByCostRequest1_site_to__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17238 {
17239         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_QuerySitesByCostRequest1_site_to___, NDR_POINTER_UNIQUE, "Pointer to Site To (uint16)",hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_to);
17240
17241         return offset;
17242 }
17243
17244 static int
17245 drsuapi_dissect_element_QuerySitesByCostRequest1_site_to___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17246 {
17247         char *data;
17248
17249         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_to, FALSE, &data);
17250         proto_item_append_text(tree, ": %s", data);
17251
17252         return offset;
17253 }
17254
17255 static int
17256 drsuapi_dissect_element_QuerySitesByCostRequest1_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17257 {
17258         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_QuerySitesByCostRequest1_flags, 0);
17259
17260         return offset;
17261 }
17262
17263 int
17264 drsuapi_dissect_struct_QuerySitesByCostRequest1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
17265 {
17266         proto_item *item = NULL;
17267         proto_tree *tree = NULL;
17268         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
17269         int old_offset;
17270
17271         ALIGN_TO_5_BYTES;
17272
17273         old_offset = offset;
17274
17275         if (parent_tree) {
17276                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
17277                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_QuerySitesByCostRequest1);
17278         }
17279         
17280         offset = drsuapi_dissect_element_QuerySitesByCostRequest1_site_from(tvb, offset, pinfo, tree, drep);
17281
17282         offset = drsuapi_dissect_element_QuerySitesByCostRequest1_num_req(tvb, offset, pinfo, tree, drep);
17283
17284         offset = drsuapi_dissect_element_QuerySitesByCostRequest1_site_to(tvb, offset, pinfo, tree, drep);
17285
17286         offset = drsuapi_dissect_element_QuerySitesByCostRequest1_flags(tvb, offset, pinfo, tree, drep);
17287
17288
17289         proto_item_set_len(item, offset-old_offset);
17290
17291
17292         if (di->call_data->flags & DCERPC_IS_NDR64) {
17293                 ALIGN_TO_5_BYTES;
17294         }
17295
17296         return offset;
17297 }
17298
17299
17300 /* IDL: [switch_type(uint32)] union { */
17301 /* IDL: [case(1)] [case(1)] drsuapi_QuerySitesByCostRequest1 req1; */
17302 /* IDL: } */
17303
17304 static int
17305 drsuapi_dissect_element_QuerySitesByCostRequest_req1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17306 {
17307         offset = drsuapi_dissect_struct_QuerySitesByCostRequest1(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_QuerySitesByCostRequest_req1,0);
17308
17309         return offset;
17310 }
17311
17312 static int
17313 drsuapi_dissect_QuerySitesByCostRequest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
17314 {
17315         proto_item *item = NULL;
17316         proto_tree *tree = NULL;
17317         int old_offset;
17318         guint32 level;
17319
17320         old_offset = offset;
17321         if (parent_tree) {
17322                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "drsuapi_QuerySitesByCostRequest");
17323                 tree = proto_item_add_subtree(item, ett_drsuapi_drsuapi_QuerySitesByCostRequest);
17324         }
17325
17326         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
17327         ALIGN_TO_5_BYTES;
17328
17329         switch(level) {
17330                 case 1:
17331                         offset = drsuapi_dissect_element_QuerySitesByCostRequest_req1(tvb, offset, pinfo, tree, drep);
17332                 break;
17333         }
17334         proto_item_set_len(item, offset-old_offset);
17335
17336
17337         return offset;
17338 }
17339 static int
17340 drsuapi_dissect_element_DsBind_bind_guid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17341 {
17342         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsBind_bind_guid_, NDR_POINTER_UNIQUE, "Pointer to Bind Guid (GUID)",hf_drsuapi_drsuapi_DsBind_bind_guid);
17343
17344         return offset;
17345 }
17346
17347 static int
17348 drsuapi_dissect_element_DsBind_bind_guid_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17349 {
17350         offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBind_bind_guid, NULL);
17351
17352         return offset;
17353 }
17354
17355 static int
17356 drsuapi_dissect_element_DsBind_bind_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17357 {
17358         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsBind_bind_info_, NDR_POINTER_UNIQUE, "Pointer to Bind Info (drsuapi_DsBindInfoCtr)",hf_drsuapi_drsuapi_DsBind_bind_info);
17359
17360         return offset;
17361 }
17362
17363 static int
17364 drsuapi_dissect_element_DsBind_bind_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17365 {
17366         offset = drsuapi_dissect_struct_DsBindInfoCtr(tvb,offset,pinfo,tree,drep,hf_drsuapi_drsuapi_DsBind_bind_info,0);
17367
17368         return offset;
17369 }
17370
17371 static int
17372 drsuapi_dissect_element_DsBind_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17373 {
17374         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsBind_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsBind_bind_handle);
17375
17376         return offset;
17377 }
17378
17379 static int
17380 drsuapi_dissect_element_DsBind_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17381 {
17382         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsBind_bind_handle, 0);
17383
17384         return offset;
17385 }
17386
17387 /* IDL: WERROR drsuapi_DsBind( */
17388 /* IDL: [unique(1)] [in] GUID *bind_guid, */
17389 /* IDL: [out] [unique(1)] [in] drsuapi_DsBindInfoCtr *bind_info, */
17390 /* IDL: [out] [ref] policy_handle *bind_handle */
17391 /* IDL: ); */
17392
17393 static int
17394 drsuapi_dissect_DsBind_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17395 {
17396         guint32 status;
17397
17398         pinfo->dcerpc_procedure_name="DsBind";
17399         offset = drsuapi_dissect_element_DsBind_bind_info(tvb, offset, pinfo, tree, drep);
17400         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17401
17402         offset = drsuapi_dissect_element_DsBind_bind_handle(tvb, offset, pinfo, tree, drep);
17403         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17404
17405         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
17406
17407         if (status != 0)
17408                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
17409
17410         return offset;
17411 }
17412
17413 static int
17414 drsuapi_dissect_DsBind_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17415 {
17416         pinfo->dcerpc_procedure_name="DsBind";
17417         offset = drsuapi_dissect_element_DsBind_bind_guid(tvb, offset, pinfo, tree, drep);
17418         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17419         offset = drsuapi_dissect_element_DsBind_bind_info(tvb, offset, pinfo, tree, drep);
17420         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17421         return offset;
17422 }
17423
17424 static int
17425 drsuapi_dissect_element_DsUnbind_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17426 {
17427         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsUnbind_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsUnbind_bind_handle);
17428
17429         return offset;
17430 }
17431
17432 static int
17433 drsuapi_dissect_element_DsUnbind_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17434 {
17435         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsUnbind_bind_handle, 0);
17436
17437         return offset;
17438 }
17439
17440 /* IDL: WERROR drsuapi_DsUnbind( */
17441 /* IDL: [out] [ref] [in] policy_handle *bind_handle */
17442 /* IDL: ); */
17443
17444 static int
17445 drsuapi_dissect_DsUnbind_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17446 {
17447         guint32 status;
17448
17449         pinfo->dcerpc_procedure_name="DsUnbind";
17450         offset = drsuapi_dissect_element_DsUnbind_bind_handle(tvb, offset, pinfo, tree, drep);
17451         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17452
17453         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
17454
17455         if (status != 0)
17456                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
17457
17458         return offset;
17459 }
17460
17461 static int
17462 drsuapi_dissect_DsUnbind_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17463 {
17464         pinfo->dcerpc_procedure_name="DsUnbind";
17465         offset = drsuapi_dissect_element_DsUnbind_bind_handle(tvb, offset, pinfo, tree, drep);
17466         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17467         return offset;
17468 }
17469
17470 static int
17471 drsuapi_dissect_element_DsReplicaSync_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17472 {
17473         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaSync_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsReplicaSync_bind_handle);
17474
17475         return offset;
17476 }
17477
17478 static int
17479 drsuapi_dissect_element_DsReplicaSync_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17480 {
17481         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaSync_bind_handle, 0);
17482
17483         return offset;
17484 }
17485
17486 static int
17487 drsuapi_dissect_element_DsReplicaSync_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17488 {
17489         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaSync_level, 0);
17490
17491         return offset;
17492 }
17493
17494 static int
17495 drsuapi_dissect_element_DsReplicaSync_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17496 {
17497         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaSync_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsReplicaSyncRequest)",hf_drsuapi_drsuapi_DsReplicaSync_req);
17498
17499         return offset;
17500 }
17501
17502 static int
17503 drsuapi_dissect_element_DsReplicaSync_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17504 {
17505         offset = drsuapi_dissect_DsReplicaSyncRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaSync_req, *0);
17506
17507         return offset;
17508 }
17509
17510 /* IDL: WERROR drsuapi_DsReplicaSync( */
17511 /* IDL: [ref] [in] policy_handle *bind_handle, */
17512 /* IDL: [in] uint32 level, */
17513 /* IDL: [ref] [in] [switch_is(level)] drsuapi_DsReplicaSyncRequest *req */
17514 /* IDL: ); */
17515
17516 static int
17517 drsuapi_dissect_DsReplicaSync_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17518 {
17519         guint32 status;
17520
17521         pinfo->dcerpc_procedure_name="DsReplicaSync";
17522         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
17523
17524         if (status != 0)
17525                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
17526
17527         return offset;
17528 }
17529
17530 static int
17531 drsuapi_dissect_DsReplicaSync_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17532 {
17533         pinfo->dcerpc_procedure_name="DsReplicaSync";
17534         offset = drsuapi_dissect_element_DsReplicaSync_bind_handle(tvb, offset, pinfo, tree, drep);
17535         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17536         offset = drsuapi_dissect_element_DsReplicaSync_level(tvb, offset, pinfo, tree, drep);
17537         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17538         offset = drsuapi_dissect_element_DsReplicaSync_req(tvb, offset, pinfo, tree, drep);
17539         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17540         return offset;
17541 }
17542
17543 static int
17544 drsuapi_dissect_element_DsGetNCChanges_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17545 {
17546         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChanges_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsGetNCChanges_bind_handle);
17547
17548         return offset;
17549 }
17550
17551 static int
17552 drsuapi_dissect_element_DsGetNCChanges_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17553 {
17554         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChanges_bind_handle, 0);
17555
17556         return offset;
17557 }
17558
17559 static int
17560 drsuapi_dissect_element_DsGetNCChanges_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17561 {
17562         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChanges_level, 0);
17563
17564         return offset;
17565 }
17566
17567 static int
17568 drsuapi_dissect_element_DsGetNCChanges_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17569 {
17570         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChanges_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsGetNCChangesRequest)",hf_drsuapi_drsuapi_DsGetNCChanges_req);
17571
17572         return offset;
17573 }
17574
17575 static int
17576 drsuapi_dissect_element_DsGetNCChanges_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17577 {
17578         offset = drsuapi_dissect_DsGetNCChangesRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChanges_req, *0);
17579
17580         return offset;
17581 }
17582
17583 static int
17584 drsuapi_dissect_element_DsGetNCChanges_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17585 {
17586         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChanges_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsGetNCChanges_level_out);
17587
17588         return offset;
17589 }
17590
17591 static int
17592 drsuapi_dissect_element_DsGetNCChanges_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17593 {
17594         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChanges_level_out, 0);
17595
17596         return offset;
17597 }
17598
17599 static int
17600 drsuapi_dissect_element_DsGetNCChanges_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17601 {
17602         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNCChanges_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_DsGetNCChangesCtr)",hf_drsuapi_drsuapi_DsGetNCChanges_ctr);
17603
17604         return offset;
17605 }
17606
17607 static int
17608 drsuapi_dissect_element_DsGetNCChanges_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17609 {
17610         offset = drsuapi_dissect_DsGetNCChangesCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNCChanges_ctr, *0);
17611
17612         return offset;
17613 }
17614
17615 /* IDL: WERROR drsuapi_DsGetNCChanges( */
17616 /* IDL: [ref] [in] policy_handle *bind_handle, */
17617 /* IDL: [in] uint32 level, */
17618 /* IDL: [ref] [in] [switch_is(level)] drsuapi_DsGetNCChangesRequest *req, */
17619 /* IDL: [out] [ref] uint32 *level_out, */
17620 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsGetNCChangesCtr *ctr */
17621 /* IDL: ); */
17622
17623 static int
17624 drsuapi_dissect_DsGetNCChanges_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17625 {
17626         guint32 status;
17627
17628         pinfo->dcerpc_procedure_name="DsGetNCChanges";
17629         offset = drsuapi_dissect_element_DsGetNCChanges_level_out(tvb, offset, pinfo, tree, drep);
17630         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17631
17632         offset = drsuapi_dissect_element_DsGetNCChanges_ctr(tvb, offset, pinfo, tree, drep);
17633         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17634
17635         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
17636
17637         if (status != 0)
17638                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
17639
17640         return offset;
17641 }
17642
17643 static int
17644 drsuapi_dissect_DsGetNCChanges_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17645 {
17646         pinfo->dcerpc_procedure_name="DsGetNCChanges";
17647         offset = drsuapi_dissect_element_DsGetNCChanges_bind_handle(tvb, offset, pinfo, tree, drep);
17648         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17649         offset = drsuapi_dissect_element_DsGetNCChanges_level(tvb, offset, pinfo, tree, drep);
17650         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17651         offset = drsuapi_dissect_element_DsGetNCChanges_req(tvb, offset, pinfo, tree, drep);
17652         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17653         return offset;
17654 }
17655
17656 static int
17657 drsuapi_dissect_element_DsReplicaUpdateRefs_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17658 {
17659         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaUpdateRefs_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsReplicaUpdateRefs_bind_handle);
17660
17661         return offset;
17662 }
17663
17664 static int
17665 drsuapi_dissect_element_DsReplicaUpdateRefs_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17666 {
17667         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaUpdateRefs_bind_handle, 0);
17668
17669         return offset;
17670 }
17671
17672 static int
17673 drsuapi_dissect_element_DsReplicaUpdateRefs_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17674 {
17675         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaUpdateRefs_level, 0);
17676
17677         return offset;
17678 }
17679
17680 static int
17681 drsuapi_dissect_element_DsReplicaUpdateRefs_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17682 {
17683         offset = drsuapi_dissect_DsReplicaUpdateRefsRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaUpdateRefs_req, *0);
17684
17685         return offset;
17686 }
17687
17688 /* IDL: WERROR drsuapi_DsReplicaUpdateRefs( */
17689 /* IDL: [ref] [in] policy_handle *bind_handle, */
17690 /* IDL: [in] uint32 level, */
17691 /* IDL: [in] [switch_is(level)] drsuapi_DsReplicaUpdateRefsRequest req */
17692 /* IDL: ); */
17693
17694 static int
17695 drsuapi_dissect_DsReplicaUpdateRefs_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17696 {
17697         guint32 status;
17698
17699         pinfo->dcerpc_procedure_name="DsReplicaUpdateRefs";
17700         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
17701
17702         if (status != 0)
17703                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
17704
17705         return offset;
17706 }
17707
17708 static int
17709 drsuapi_dissect_DsReplicaUpdateRefs_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17710 {
17711         pinfo->dcerpc_procedure_name="DsReplicaUpdateRefs";
17712         offset = drsuapi_dissect_element_DsReplicaUpdateRefs_bind_handle(tvb, offset, pinfo, tree, drep);
17713         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17714         offset = drsuapi_dissect_element_DsReplicaUpdateRefs_level(tvb, offset, pinfo, tree, drep);
17715         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17716         offset = drsuapi_dissect_element_DsReplicaUpdateRefs_req(tvb, offset, pinfo, tree, drep);
17717         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17718         return offset;
17719 }
17720
17721 static int
17722 drsuapi_dissect_element_DsReplicaAdd_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17723 {
17724         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaAdd_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsReplicaAdd_bind_handle);
17725
17726         return offset;
17727 }
17728
17729 static int
17730 drsuapi_dissect_element_DsReplicaAdd_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17731 {
17732         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAdd_bind_handle, 0);
17733
17734         return offset;
17735 }
17736
17737 static int
17738 drsuapi_dissect_element_DsReplicaAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17739 {
17740         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAdd_level, 0);
17741
17742         return offset;
17743 }
17744
17745 static int
17746 drsuapi_dissect_element_DsReplicaAdd_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17747 {
17748         offset = drsuapi_dissect_DsReplicaAddRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaAdd_req, *0);
17749
17750         return offset;
17751 }
17752
17753 /* IDL: WERROR drsuapi_DsReplicaAdd( */
17754 /* IDL: [ref] [in] policy_handle *bind_handle, */
17755 /* IDL: [in] uint32 level, */
17756 /* IDL: [in] [switch_is(level)] drsuapi_DsReplicaAddRequest req */
17757 /* IDL: ); */
17758
17759 static int
17760 drsuapi_dissect_DsReplicaAdd_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17761 {
17762         guint32 status;
17763
17764         pinfo->dcerpc_procedure_name="DsReplicaAdd";
17765         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
17766
17767         if (status != 0)
17768                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
17769
17770         return offset;
17771 }
17772
17773 static int
17774 drsuapi_dissect_DsReplicaAdd_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17775 {
17776         pinfo->dcerpc_procedure_name="DsReplicaAdd";
17777         offset = drsuapi_dissect_element_DsReplicaAdd_bind_handle(tvb, offset, pinfo, tree, drep);
17778         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17779         offset = drsuapi_dissect_element_DsReplicaAdd_level(tvb, offset, pinfo, tree, drep);
17780         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17781         offset = drsuapi_dissect_element_DsReplicaAdd_req(tvb, offset, pinfo, tree, drep);
17782         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17783         return offset;
17784 }
17785
17786 static int
17787 drsuapi_dissect_element_DsReplicaDel_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17788 {
17789         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaDel_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsReplicaDel_bind_handle);
17790
17791         return offset;
17792 }
17793
17794 static int
17795 drsuapi_dissect_element_DsReplicaDel_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17796 {
17797         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaDel_bind_handle, 0);
17798
17799         return offset;
17800 }
17801
17802 static int
17803 drsuapi_dissect_element_DsReplicaDel_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17804 {
17805         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaDel_level, 0);
17806
17807         return offset;
17808 }
17809
17810 static int
17811 drsuapi_dissect_element_DsReplicaDel_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17812 {
17813         offset = drsuapi_dissect_DsReplicaDelRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaDel_req, *0);
17814
17815         return offset;
17816 }
17817
17818 /* IDL: WERROR drsuapi_DsReplicaDel( */
17819 /* IDL: [ref] [in] policy_handle *bind_handle, */
17820 /* IDL: [in] uint32 level, */
17821 /* IDL: [in] [switch_is(level)] drsuapi_DsReplicaDelRequest req */
17822 /* IDL: ); */
17823
17824 static int
17825 drsuapi_dissect_DsReplicaDel_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17826 {
17827         guint32 status;
17828
17829         pinfo->dcerpc_procedure_name="DsReplicaDel";
17830         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
17831
17832         if (status != 0)
17833                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
17834
17835         return offset;
17836 }
17837
17838 static int
17839 drsuapi_dissect_DsReplicaDel_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17840 {
17841         pinfo->dcerpc_procedure_name="DsReplicaDel";
17842         offset = drsuapi_dissect_element_DsReplicaDel_bind_handle(tvb, offset, pinfo, tree, drep);
17843         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17844         offset = drsuapi_dissect_element_DsReplicaDel_level(tvb, offset, pinfo, tree, drep);
17845         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17846         offset = drsuapi_dissect_element_DsReplicaDel_req(tvb, offset, pinfo, tree, drep);
17847         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17848         return offset;
17849 }
17850
17851 static int
17852 drsuapi_dissect_element_DsReplicaMod_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17853 {
17854         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaMod_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsReplicaMod_bind_handle);
17855
17856         return offset;
17857 }
17858
17859 static int
17860 drsuapi_dissect_element_DsReplicaMod_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17861 {
17862         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaMod_bind_handle, 0);
17863
17864         return offset;
17865 }
17866
17867 static int
17868 drsuapi_dissect_element_DsReplicaMod_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17869 {
17870         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaMod_level, 0);
17871
17872         return offset;
17873 }
17874
17875 static int
17876 drsuapi_dissect_element_DsReplicaMod_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17877 {
17878         offset = drsuapi_dissect_DsReplicaModRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaMod_req, *0);
17879
17880         return offset;
17881 }
17882
17883 /* IDL: WERROR drsuapi_DsReplicaMod( */
17884 /* IDL: [ref] [in] policy_handle *bind_handle, */
17885 /* IDL: [in] uint32 level, */
17886 /* IDL: [in] [switch_is(level)] drsuapi_DsReplicaModRequest req */
17887 /* IDL: ); */
17888
17889 static int
17890 drsuapi_dissect_DsReplicaMod_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17891 {
17892         guint32 status;
17893
17894         pinfo->dcerpc_procedure_name="DsReplicaMod";
17895         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
17896
17897         if (status != 0)
17898                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
17899
17900         return offset;
17901 }
17902
17903 static int
17904 drsuapi_dissect_DsReplicaMod_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17905 {
17906         pinfo->dcerpc_procedure_name="DsReplicaMod";
17907         offset = drsuapi_dissect_element_DsReplicaMod_bind_handle(tvb, offset, pinfo, tree, drep);
17908         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17909         offset = drsuapi_dissect_element_DsReplicaMod_level(tvb, offset, pinfo, tree, drep);
17910         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17911         offset = drsuapi_dissect_element_DsReplicaMod_req(tvb, offset, pinfo, tree, drep);
17912         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
17913         return offset;
17914 }
17915
17916 /* IDL: WERROR DRSUAPI_VERIFY_NAMES( */
17917 /* IDL:  */
17918 /* IDL: ); */
17919
17920 static int
17921 drsuapi_dissect_DRSUAPI_VERIFY_NAMES_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17922 {
17923         guint32 status;
17924
17925         pinfo->dcerpc_procedure_name="DRSUAPI_VERIFY_NAMES";
17926         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
17927
17928         if (status != 0)
17929                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
17930
17931         return offset;
17932 }
17933
17934 static int
17935 drsuapi_dissect_DRSUAPI_VERIFY_NAMES_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17936 {
17937         pinfo->dcerpc_procedure_name="DRSUAPI_VERIFY_NAMES";
17938         return offset;
17939 }
17940
17941 static int
17942 drsuapi_dissect_element_DsGetMemberships_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17943 {
17944         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMemberships_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsGetMemberships_bind_handle);
17945
17946         return offset;
17947 }
17948
17949 static int
17950 drsuapi_dissect_element_DsGetMemberships_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17951 {
17952         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMemberships_bind_handle, 0);
17953
17954         return offset;
17955 }
17956
17957 static int
17958 drsuapi_dissect_element_DsGetMemberships_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17959 {
17960         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMemberships_level, 0);
17961
17962         return offset;
17963 }
17964
17965 static int
17966 drsuapi_dissect_element_DsGetMemberships_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17967 {
17968         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMemberships_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsGetMembershipsRequest)",hf_drsuapi_drsuapi_DsGetMemberships_req);
17969
17970         return offset;
17971 }
17972
17973 static int
17974 drsuapi_dissect_element_DsGetMemberships_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17975 {
17976         offset = drsuapi_dissect_DsGetMembershipsRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMemberships_req, *0);
17977
17978         return offset;
17979 }
17980
17981 static int
17982 drsuapi_dissect_element_DsGetMemberships_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17983 {
17984         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMemberships_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsGetMemberships_level_out);
17985
17986         return offset;
17987 }
17988
17989 static int
17990 drsuapi_dissect_element_DsGetMemberships_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17991 {
17992         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMemberships_level_out, 0);
17993
17994         return offset;
17995 }
17996
17997 static int
17998 drsuapi_dissect_element_DsGetMemberships_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
17999 {
18000         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMemberships_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_DsGetMembershipsCtr)",hf_drsuapi_drsuapi_DsGetMemberships_ctr);
18001
18002         return offset;
18003 }
18004
18005 static int
18006 drsuapi_dissect_element_DsGetMemberships_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18007 {
18008         offset = drsuapi_dissect_DsGetMembershipsCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMemberships_ctr, *0);
18009
18010         return offset;
18011 }
18012
18013 /* IDL: WERROR drsuapi_DsGetMemberships( */
18014 /* IDL: [ref] [in] policy_handle *bind_handle, */
18015 /* IDL: [in] uint32 level, */
18016 /* IDL: [ref] [in] [switch_is(level)] drsuapi_DsGetMembershipsRequest *req, */
18017 /* IDL: [out] [ref] uint32 *level_out, */
18018 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsGetMembershipsCtr *ctr */
18019 /* IDL: ); */
18020
18021 static int
18022 drsuapi_dissect_DsGetMemberships_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18023 {
18024         guint32 status;
18025
18026         pinfo->dcerpc_procedure_name="DsGetMemberships";
18027         offset = drsuapi_dissect_element_DsGetMemberships_level_out(tvb, offset, pinfo, tree, drep);
18028         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18029
18030         offset = drsuapi_dissect_element_DsGetMemberships_ctr(tvb, offset, pinfo, tree, drep);
18031         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18032
18033         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
18034
18035         if (status != 0)
18036                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
18037
18038         return offset;
18039 }
18040
18041 static int
18042 drsuapi_dissect_DsGetMemberships_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18043 {
18044         pinfo->dcerpc_procedure_name="DsGetMemberships";
18045         offset = drsuapi_dissect_element_DsGetMemberships_bind_handle(tvb, offset, pinfo, tree, drep);
18046         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18047         offset = drsuapi_dissect_element_DsGetMemberships_level(tvb, offset, pinfo, tree, drep);
18048         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18049         offset = drsuapi_dissect_element_DsGetMemberships_req(tvb, offset, pinfo, tree, drep);
18050         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18051         return offset;
18052 }
18053
18054 /* IDL: WERROR DRSUAPI_INTER_DOMAIN_MOVE( */
18055 /* IDL:  */
18056 /* IDL: ); */
18057
18058 static int
18059 drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18060 {
18061         guint32 status;
18062
18063         pinfo->dcerpc_procedure_name="DRSUAPI_INTER_DOMAIN_MOVE";
18064         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
18065
18066         if (status != 0)
18067                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
18068
18069         return offset;
18070 }
18071
18072 static int
18073 drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18074 {
18075         pinfo->dcerpc_procedure_name="DRSUAPI_INTER_DOMAIN_MOVE";
18076         return offset;
18077 }
18078
18079 static int
18080 drsuapi_dissect_element_DsGetNT4ChangeLog_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18081 {
18082         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNT4ChangeLog_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsGetNT4ChangeLog_bind_handle);
18083
18084         return offset;
18085 }
18086
18087 static int
18088 drsuapi_dissect_element_DsGetNT4ChangeLog_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18089 {
18090         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLog_bind_handle, 0);
18091
18092         return offset;
18093 }
18094
18095 static int
18096 drsuapi_dissect_element_DsGetNT4ChangeLog_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18097 {
18098         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLog_level, 0);
18099
18100         return offset;
18101 }
18102
18103 static int
18104 drsuapi_dissect_element_DsGetNT4ChangeLog_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18105 {
18106         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNT4ChangeLog_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsGetNT4ChangeLogRequest)",hf_drsuapi_drsuapi_DsGetNT4ChangeLog_req);
18107
18108         return offset;
18109 }
18110
18111 static int
18112 drsuapi_dissect_element_DsGetNT4ChangeLog_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18113 {
18114         offset = drsuapi_dissect_DsGetNT4ChangeLogRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLog_req, *0);
18115
18116         return offset;
18117 }
18118
18119 static int
18120 drsuapi_dissect_element_DsGetNT4ChangeLog_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18121 {
18122         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNT4ChangeLog_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsGetNT4ChangeLog_level_out);
18123
18124         return offset;
18125 }
18126
18127 static int
18128 drsuapi_dissect_element_DsGetNT4ChangeLog_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18129 {
18130         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLog_level_out, 0);
18131
18132         return offset;
18133 }
18134
18135 static int
18136 drsuapi_dissect_element_DsGetNT4ChangeLog_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18137 {
18138         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetNT4ChangeLog_info_, NDR_POINTER_REF, "Pointer to Info (drsuapi_DsGetNT4ChangeLogInfo)",hf_drsuapi_drsuapi_DsGetNT4ChangeLog_info);
18139
18140         return offset;
18141 }
18142
18143 static int
18144 drsuapi_dissect_element_DsGetNT4ChangeLog_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18145 {
18146         offset = drsuapi_dissect_DsGetNT4ChangeLogInfo(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetNT4ChangeLog_info, *0);
18147
18148         return offset;
18149 }
18150
18151 /* IDL: WERROR drsuapi_DsGetNT4ChangeLog( */
18152 /* IDL: [ref] [in] policy_handle *bind_handle, */
18153 /* IDL: [in] uint32 level, */
18154 /* IDL: [ref] [in] [switch_is(level)] drsuapi_DsGetNT4ChangeLogRequest *req, */
18155 /* IDL: [out] [ref] uint32 *level_out, */
18156 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsGetNT4ChangeLogInfo *info */
18157 /* IDL: ); */
18158
18159 static int
18160 drsuapi_dissect_DsGetNT4ChangeLog_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18161 {
18162         guint32 status;
18163
18164         pinfo->dcerpc_procedure_name="DsGetNT4ChangeLog";
18165         offset = drsuapi_dissect_element_DsGetNT4ChangeLog_level_out(tvb, offset, pinfo, tree, drep);
18166         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18167
18168         offset = drsuapi_dissect_element_DsGetNT4ChangeLog_info(tvb, offset, pinfo, tree, drep);
18169         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18170
18171         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
18172
18173         if (status != 0)
18174                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
18175
18176         return offset;
18177 }
18178
18179 static int
18180 drsuapi_dissect_DsGetNT4ChangeLog_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18181 {
18182         pinfo->dcerpc_procedure_name="DsGetNT4ChangeLog";
18183         offset = drsuapi_dissect_element_DsGetNT4ChangeLog_bind_handle(tvb, offset, pinfo, tree, drep);
18184         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18185         offset = drsuapi_dissect_element_DsGetNT4ChangeLog_level(tvb, offset, pinfo, tree, drep);
18186         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18187         offset = drsuapi_dissect_element_DsGetNT4ChangeLog_req(tvb, offset, pinfo, tree, drep);
18188         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18189         return offset;
18190 }
18191
18192 static int
18193 drsuapi_dissect_element_DsCrackNames_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18194 {
18195         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsCrackNames_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsCrackNames_bind_handle);
18196
18197         return offset;
18198 }
18199
18200 static int
18201 drsuapi_dissect_element_DsCrackNames_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18202 {
18203         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsCrackNames_bind_handle, 0);
18204
18205         return offset;
18206 }
18207
18208 static int
18209 drsuapi_dissect_element_DsCrackNames_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18210 {
18211         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsCrackNames_level, 0);
18212
18213         return offset;
18214 }
18215
18216 static int
18217 drsuapi_dissect_element_DsCrackNames_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18218 {
18219         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsCrackNames_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsNameRequest)",hf_drsuapi_drsuapi_DsCrackNames_req);
18220
18221         return offset;
18222 }
18223
18224 static int
18225 drsuapi_dissect_element_DsCrackNames_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18226 {
18227         offset = drsuapi_dissect_DsNameRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsCrackNames_req, *0);
18228
18229         return offset;
18230 }
18231
18232 static int
18233 drsuapi_dissect_element_DsCrackNames_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18234 {
18235         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsCrackNames_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsCrackNames_level_out);
18236
18237         return offset;
18238 }
18239
18240 static int
18241 drsuapi_dissect_element_DsCrackNames_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18242 {
18243         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsCrackNames_level_out, 0);
18244
18245         return offset;
18246 }
18247
18248 static int
18249 drsuapi_dissect_element_DsCrackNames_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18250 {
18251         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsCrackNames_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_DsNameCtr)",hf_drsuapi_drsuapi_DsCrackNames_ctr);
18252
18253         return offset;
18254 }
18255
18256 static int
18257 drsuapi_dissect_element_DsCrackNames_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18258 {
18259         offset = drsuapi_dissect_DsNameCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsCrackNames_ctr, *0);
18260
18261         return offset;
18262 }
18263
18264 /* IDL: WERROR drsuapi_DsCrackNames( */
18265 /* IDL: [ref] [in] policy_handle *bind_handle, */
18266 /* IDL: [in] uint32 level, */
18267 /* IDL: [ref] [in] [switch_is(level)] drsuapi_DsNameRequest *req, */
18268 /* IDL: [out] [ref] uint32 *level_out, */
18269 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsNameCtr *ctr */
18270 /* IDL: ); */
18271
18272 static int
18273 drsuapi_dissect_DsCrackNames_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18274 {
18275         guint32 status;
18276
18277         pinfo->dcerpc_procedure_name="DsCrackNames";
18278         offset = drsuapi_dissect_element_DsCrackNames_level_out(tvb, offset, pinfo, tree, drep);
18279         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18280
18281         offset = drsuapi_dissect_element_DsCrackNames_ctr(tvb, offset, pinfo, tree, drep);
18282         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18283
18284         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
18285
18286         if (status != 0)
18287                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
18288
18289         return offset;
18290 }
18291
18292 static int
18293 drsuapi_dissect_DsCrackNames_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18294 {
18295         pinfo->dcerpc_procedure_name="DsCrackNames";
18296         offset = drsuapi_dissect_element_DsCrackNames_bind_handle(tvb, offset, pinfo, tree, drep);
18297         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18298         offset = drsuapi_dissect_element_DsCrackNames_level(tvb, offset, pinfo, tree, drep);
18299         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18300         offset = drsuapi_dissect_element_DsCrackNames_req(tvb, offset, pinfo, tree, drep);
18301         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18302         return offset;
18303 }
18304
18305 static int
18306 drsuapi_dissect_element_DsWriteAccountSpn_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18307 {
18308         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsWriteAccountSpn_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsWriteAccountSpn_bind_handle);
18309
18310         return offset;
18311 }
18312
18313 static int
18314 drsuapi_dissect_element_DsWriteAccountSpn_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18315 {
18316         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsWriteAccountSpn_bind_handle, 0);
18317
18318         return offset;
18319 }
18320
18321 static int
18322 drsuapi_dissect_element_DsWriteAccountSpn_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18323 {
18324         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsWriteAccountSpn_level, 0);
18325
18326         return offset;
18327 }
18328
18329 static int
18330 drsuapi_dissect_element_DsWriteAccountSpn_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18331 {
18332         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsWriteAccountSpn_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsWriteAccountSpnRequest)",hf_drsuapi_drsuapi_DsWriteAccountSpn_req);
18333
18334         return offset;
18335 }
18336
18337 static int
18338 drsuapi_dissect_element_DsWriteAccountSpn_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18339 {
18340         offset = drsuapi_dissect_DsWriteAccountSpnRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsWriteAccountSpn_req, *0);
18341
18342         return offset;
18343 }
18344
18345 static int
18346 drsuapi_dissect_element_DsWriteAccountSpn_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18347 {
18348         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsWriteAccountSpn_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsWriteAccountSpn_level_out);
18349
18350         return offset;
18351 }
18352
18353 static int
18354 drsuapi_dissect_element_DsWriteAccountSpn_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18355 {
18356         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsWriteAccountSpn_level_out, 0);
18357
18358         return offset;
18359 }
18360
18361 static int
18362 drsuapi_dissect_element_DsWriteAccountSpn_res(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18363 {
18364         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsWriteAccountSpn_res_, NDR_POINTER_REF, "Pointer to Res (drsuapi_DsWriteAccountSpnResult)",hf_drsuapi_drsuapi_DsWriteAccountSpn_res);
18365
18366         return offset;
18367 }
18368
18369 static int
18370 drsuapi_dissect_element_DsWriteAccountSpn_res_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18371 {
18372         offset = drsuapi_dissect_DsWriteAccountSpnResult(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsWriteAccountSpn_res, *0);
18373
18374         return offset;
18375 }
18376
18377 /* IDL: WERROR drsuapi_DsWriteAccountSpn( */
18378 /* IDL: [ref] [in] policy_handle *bind_handle, */
18379 /* IDL: [in] uint32 level, */
18380 /* IDL: [ref] [in] [switch_is(level)] drsuapi_DsWriteAccountSpnRequest *req, */
18381 /* IDL: [out] [ref] uint32 *level_out, */
18382 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsWriteAccountSpnResult *res */
18383 /* IDL: ); */
18384
18385 static int
18386 drsuapi_dissect_DsWriteAccountSpn_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18387 {
18388         guint32 status;
18389
18390         pinfo->dcerpc_procedure_name="DsWriteAccountSpn";
18391         offset = drsuapi_dissect_element_DsWriteAccountSpn_level_out(tvb, offset, pinfo, tree, drep);
18392         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18393
18394         offset = drsuapi_dissect_element_DsWriteAccountSpn_res(tvb, offset, pinfo, tree, drep);
18395         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18396
18397         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
18398
18399         if (status != 0)
18400                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
18401
18402         return offset;
18403 }
18404
18405 static int
18406 drsuapi_dissect_DsWriteAccountSpn_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18407 {
18408         pinfo->dcerpc_procedure_name="DsWriteAccountSpn";
18409         offset = drsuapi_dissect_element_DsWriteAccountSpn_bind_handle(tvb, offset, pinfo, tree, drep);
18410         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18411         offset = drsuapi_dissect_element_DsWriteAccountSpn_level(tvb, offset, pinfo, tree, drep);
18412         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18413         offset = drsuapi_dissect_element_DsWriteAccountSpn_req(tvb, offset, pinfo, tree, drep);
18414         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18415         return offset;
18416 }
18417
18418 static int
18419 drsuapi_dissect_element_DsRemoveDSServer_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18420 {
18421         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsRemoveDSServer_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsRemoveDSServer_bind_handle);
18422
18423         return offset;
18424 }
18425
18426 static int
18427 drsuapi_dissect_element_DsRemoveDSServer_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18428 {
18429         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsRemoveDSServer_bind_handle, 0);
18430
18431         return offset;
18432 }
18433
18434 static int
18435 drsuapi_dissect_element_DsRemoveDSServer_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18436 {
18437         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsRemoveDSServer_level, 0);
18438
18439         return offset;
18440 }
18441
18442 static int
18443 drsuapi_dissect_element_DsRemoveDSServer_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18444 {
18445         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsRemoveDSServer_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsRemoveDSServerRequest)",hf_drsuapi_drsuapi_DsRemoveDSServer_req);
18446
18447         return offset;
18448 }
18449
18450 static int
18451 drsuapi_dissect_element_DsRemoveDSServer_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18452 {
18453         offset = drsuapi_dissect_DsRemoveDSServerRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsRemoveDSServer_req, *0);
18454
18455         return offset;
18456 }
18457
18458 static int
18459 drsuapi_dissect_element_DsRemoveDSServer_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18460 {
18461         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsRemoveDSServer_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsRemoveDSServer_level_out);
18462
18463         return offset;
18464 }
18465
18466 static int
18467 drsuapi_dissect_element_DsRemoveDSServer_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18468 {
18469         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsRemoveDSServer_level_out, 0);
18470
18471         return offset;
18472 }
18473
18474 static int
18475 drsuapi_dissect_element_DsRemoveDSServer_res(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18476 {
18477         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsRemoveDSServer_res_, NDR_POINTER_REF, "Pointer to Res (drsuapi_DsRemoveDSServerResult)",hf_drsuapi_drsuapi_DsRemoveDSServer_res);
18478
18479         return offset;
18480 }
18481
18482 static int
18483 drsuapi_dissect_element_DsRemoveDSServer_res_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18484 {
18485         offset = drsuapi_dissect_DsRemoveDSServerResult(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsRemoveDSServer_res, *0);
18486
18487         return offset;
18488 }
18489
18490 /* IDL: WERROR drsuapi_DsRemoveDSServer( */
18491 /* IDL: [ref] [in] policy_handle *bind_handle, */
18492 /* IDL: [in] uint32 level, */
18493 /* IDL: [ref] [in] [switch_is(level)] drsuapi_DsRemoveDSServerRequest *req, */
18494 /* IDL: [out] [ref] uint32 *level_out, */
18495 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsRemoveDSServerResult *res */
18496 /* IDL: ); */
18497
18498 static int
18499 drsuapi_dissect_DsRemoveDSServer_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18500 {
18501         guint32 status;
18502
18503         pinfo->dcerpc_procedure_name="DsRemoveDSServer";
18504         offset = drsuapi_dissect_element_DsRemoveDSServer_level_out(tvb, offset, pinfo, tree, drep);
18505         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18506
18507         offset = drsuapi_dissect_element_DsRemoveDSServer_res(tvb, offset, pinfo, tree, drep);
18508         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18509
18510         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
18511
18512         if (status != 0)
18513                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
18514
18515         return offset;
18516 }
18517
18518 static int
18519 drsuapi_dissect_DsRemoveDSServer_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18520 {
18521         pinfo->dcerpc_procedure_name="DsRemoveDSServer";
18522         offset = drsuapi_dissect_element_DsRemoveDSServer_bind_handle(tvb, offset, pinfo, tree, drep);
18523         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18524         offset = drsuapi_dissect_element_DsRemoveDSServer_level(tvb, offset, pinfo, tree, drep);
18525         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18526         offset = drsuapi_dissect_element_DsRemoveDSServer_req(tvb, offset, pinfo, tree, drep);
18527         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18528         return offset;
18529 }
18530
18531 /* IDL: WERROR DRSUAPI_REMOVE_DS_DOMAIN( */
18532 /* IDL:  */
18533 /* IDL: ); */
18534
18535 static int
18536 drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18537 {
18538         guint32 status;
18539
18540         pinfo->dcerpc_procedure_name="DRSUAPI_REMOVE_DS_DOMAIN";
18541         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
18542
18543         if (status != 0)
18544                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
18545
18546         return offset;
18547 }
18548
18549 static int
18550 drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18551 {
18552         pinfo->dcerpc_procedure_name="DRSUAPI_REMOVE_DS_DOMAIN";
18553         return offset;
18554 }
18555
18556 static int
18557 drsuapi_dissect_element_DsGetDomainControllerInfo_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18558 {
18559         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDomainControllerInfo_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsGetDomainControllerInfo_bind_handle);
18560
18561         return offset;
18562 }
18563
18564 static int
18565 drsuapi_dissect_element_DsGetDomainControllerInfo_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18566 {
18567         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDomainControllerInfo_bind_handle, 0);
18568
18569         return offset;
18570 }
18571
18572 static int
18573 drsuapi_dissect_element_DsGetDomainControllerInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18574 {
18575         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDomainControllerInfo_level, 0);
18576
18577         return offset;
18578 }
18579
18580 static int
18581 drsuapi_dissect_element_DsGetDomainControllerInfo_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18582 {
18583         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDomainControllerInfo_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsGetDCInfoRequest)",hf_drsuapi_drsuapi_DsGetDomainControllerInfo_req);
18584
18585         return offset;
18586 }
18587
18588 static int
18589 drsuapi_dissect_element_DsGetDomainControllerInfo_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18590 {
18591         offset = drsuapi_dissect_DsGetDCInfoRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDomainControllerInfo_req, *0);
18592
18593         return offset;
18594 }
18595
18596 static int
18597 drsuapi_dissect_element_DsGetDomainControllerInfo_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18598 {
18599         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDomainControllerInfo_level_out_, NDR_POINTER_REF, "Pointer to Level Out (drsuapi_DsGetDCInfoCtrLevels)",hf_drsuapi_drsuapi_DsGetDomainControllerInfo_level_out);
18600
18601         return offset;
18602 }
18603
18604 static int
18605 drsuapi_dissect_element_DsGetDomainControllerInfo_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18606 {
18607         offset = drsuapi_dissect_enum_DsGetDCInfoCtrLevels(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDomainControllerInfo_level_out, 0);
18608
18609         return offset;
18610 }
18611
18612 static int
18613 drsuapi_dissect_element_DsGetDomainControllerInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18614 {
18615         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetDomainControllerInfo_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_DsGetDCInfoCtr)",hf_drsuapi_drsuapi_DsGetDomainControllerInfo_ctr);
18616
18617         return offset;
18618 }
18619
18620 static int
18621 drsuapi_dissect_element_DsGetDomainControllerInfo_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18622 {
18623         offset = drsuapi_dissect_DsGetDCInfoCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetDomainControllerInfo_ctr, *0);
18624
18625         return offset;
18626 }
18627
18628 /* IDL: WERROR drsuapi_DsGetDomainControllerInfo( */
18629 /* IDL: [ref] [in] policy_handle *bind_handle, */
18630 /* IDL: [in] uint32 level, */
18631 /* IDL: [ref] [in] [switch_is(level)] drsuapi_DsGetDCInfoRequest *req, */
18632 /* IDL: [out] [ref] drsuapi_DsGetDCInfoCtrLevels *level_out, */
18633 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsGetDCInfoCtr *ctr */
18634 /* IDL: ); */
18635
18636 static int
18637 drsuapi_dissect_DsGetDomainControllerInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18638 {
18639         guint32 status;
18640
18641         pinfo->dcerpc_procedure_name="DsGetDomainControllerInfo";
18642         offset = drsuapi_dissect_element_DsGetDomainControllerInfo_level_out(tvb, offset, pinfo, tree, drep);
18643         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18644
18645         offset = drsuapi_dissect_element_DsGetDomainControllerInfo_ctr(tvb, offset, pinfo, tree, drep);
18646         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18647
18648         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
18649
18650         if (status != 0)
18651                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
18652
18653         return offset;
18654 }
18655
18656 static int
18657 drsuapi_dissect_DsGetDomainControllerInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18658 {
18659         pinfo->dcerpc_procedure_name="DsGetDomainControllerInfo";
18660         offset = drsuapi_dissect_element_DsGetDomainControllerInfo_bind_handle(tvb, offset, pinfo, tree, drep);
18661         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18662         offset = drsuapi_dissect_element_DsGetDomainControllerInfo_level(tvb, offset, pinfo, tree, drep);
18663         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18664         offset = drsuapi_dissect_element_DsGetDomainControllerInfo_req(tvb, offset, pinfo, tree, drep);
18665         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18666         return offset;
18667 }
18668
18669 static int
18670 drsuapi_dissect_element_DsAddEntry_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18671 {
18672         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAddEntry_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsAddEntry_bind_handle);
18673
18674         return offset;
18675 }
18676
18677 static int
18678 drsuapi_dissect_element_DsAddEntry_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18679 {
18680         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_bind_handle, 0);
18681
18682         return offset;
18683 }
18684
18685 static int
18686 drsuapi_dissect_element_DsAddEntry_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18687 {
18688         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_level, 0);
18689
18690         return offset;
18691 }
18692
18693 static int
18694 drsuapi_dissect_element_DsAddEntry_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18695 {
18696         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAddEntry_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsAddEntryRequest)",hf_drsuapi_drsuapi_DsAddEntry_req);
18697
18698         return offset;
18699 }
18700
18701 static int
18702 drsuapi_dissect_element_DsAddEntry_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18703 {
18704         offset = drsuapi_dissect_DsAddEntryRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_req, *0);
18705
18706         return offset;
18707 }
18708
18709 static int
18710 drsuapi_dissect_element_DsAddEntry_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18711 {
18712         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAddEntry_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsAddEntry_level_out);
18713
18714         return offset;
18715 }
18716
18717 static int
18718 drsuapi_dissect_element_DsAddEntry_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18719 {
18720         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_level_out, 0);
18721
18722         return offset;
18723 }
18724
18725 static int
18726 drsuapi_dissect_element_DsAddEntry_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18727 {
18728         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsAddEntry_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_DsAddEntryCtr)",hf_drsuapi_drsuapi_DsAddEntry_ctr);
18729
18730         return offset;
18731 }
18732
18733 static int
18734 drsuapi_dissect_element_DsAddEntry_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18735 {
18736         offset = drsuapi_dissect_DsAddEntryCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsAddEntry_ctr, *0);
18737
18738         return offset;
18739 }
18740
18741 /* IDL: WERROR drsuapi_DsAddEntry( */
18742 /* IDL: [ref] [in] policy_handle *bind_handle, */
18743 /* IDL: [in] uint32 level, */
18744 /* IDL: [ref] [in] [switch_is(level)] drsuapi_DsAddEntryRequest *req, */
18745 /* IDL: [out] [ref] uint32 *level_out, */
18746 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsAddEntryCtr *ctr */
18747 /* IDL: ); */
18748
18749 static int
18750 drsuapi_dissect_DsAddEntry_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18751 {
18752         guint32 status;
18753
18754         pinfo->dcerpc_procedure_name="DsAddEntry";
18755         offset = drsuapi_dissect_element_DsAddEntry_level_out(tvb, offset, pinfo, tree, drep);
18756         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18757
18758         offset = drsuapi_dissect_element_DsAddEntry_ctr(tvb, offset, pinfo, tree, drep);
18759         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18760
18761         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
18762
18763         if (status != 0)
18764                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
18765
18766         return offset;
18767 }
18768
18769 static int
18770 drsuapi_dissect_DsAddEntry_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18771 {
18772         pinfo->dcerpc_procedure_name="DsAddEntry";
18773         offset = drsuapi_dissect_element_DsAddEntry_bind_handle(tvb, offset, pinfo, tree, drep);
18774         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18775         offset = drsuapi_dissect_element_DsAddEntry_level(tvb, offset, pinfo, tree, drep);
18776         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18777         offset = drsuapi_dissect_element_DsAddEntry_req(tvb, offset, pinfo, tree, drep);
18778         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18779         return offset;
18780 }
18781
18782 static int
18783 drsuapi_dissect_element_DsExecuteKCC_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18784 {
18785         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsExecuteKCC_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsExecuteKCC_bind_handle);
18786
18787         return offset;
18788 }
18789
18790 static int
18791 drsuapi_dissect_element_DsExecuteKCC_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18792 {
18793         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsExecuteKCC_bind_handle, 0);
18794
18795         return offset;
18796 }
18797
18798 static int
18799 drsuapi_dissect_element_DsExecuteKCC_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18800 {
18801         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsExecuteKCC_level, 0);
18802
18803         return offset;
18804 }
18805
18806 static int
18807 drsuapi_dissect_element_DsExecuteKCC_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18808 {
18809         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsExecuteKCC_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsExecuteKCCRequest)",hf_drsuapi_drsuapi_DsExecuteKCC_req);
18810
18811         return offset;
18812 }
18813
18814 static int
18815 drsuapi_dissect_element_DsExecuteKCC_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18816 {
18817         offset = drsuapi_dissect_DsExecuteKCCRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsExecuteKCC_req, *0);
18818
18819         return offset;
18820 }
18821
18822 /* IDL: WERROR drsuapi_DsExecuteKCC( */
18823 /* IDL: [ref] [in] policy_handle *bind_handle, */
18824 /* IDL: [in] uint32 level, */
18825 /* IDL: [ref] [in] [switch_is(level)] drsuapi_DsExecuteKCCRequest *req */
18826 /* IDL: ); */
18827
18828 static int
18829 drsuapi_dissect_DsExecuteKCC_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18830 {
18831         guint32 status;
18832
18833         pinfo->dcerpc_procedure_name="DsExecuteKCC";
18834         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
18835
18836         if (status != 0)
18837                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
18838
18839         return offset;
18840 }
18841
18842 static int
18843 drsuapi_dissect_DsExecuteKCC_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18844 {
18845         pinfo->dcerpc_procedure_name="DsExecuteKCC";
18846         offset = drsuapi_dissect_element_DsExecuteKCC_bind_handle(tvb, offset, pinfo, tree, drep);
18847         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18848         offset = drsuapi_dissect_element_DsExecuteKCC_level(tvb, offset, pinfo, tree, drep);
18849         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18850         offset = drsuapi_dissect_element_DsExecuteKCC_req(tvb, offset, pinfo, tree, drep);
18851         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18852         return offset;
18853 }
18854
18855 static int
18856 drsuapi_dissect_element_DsReplicaGetInfo_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18857 {
18858         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaGetInfo_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsReplicaGetInfo_bind_handle);
18859
18860         return offset;
18861 }
18862
18863 static int
18864 drsuapi_dissect_element_DsReplicaGetInfo_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18865 {
18866         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaGetInfo_bind_handle, 0);
18867
18868         return offset;
18869 }
18870
18871 static int
18872 drsuapi_dissect_element_DsReplicaGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18873 {
18874         offset = drsuapi_dissect_enum_DsReplicaGetInfoLevel(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaGetInfo_level, 0);
18875
18876         return offset;
18877 }
18878
18879 static int
18880 drsuapi_dissect_element_DsReplicaGetInfo_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18881 {
18882         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaGetInfo_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsReplicaGetInfoRequest)",hf_drsuapi_drsuapi_DsReplicaGetInfo_req);
18883
18884         return offset;
18885 }
18886
18887 static int
18888 drsuapi_dissect_element_DsReplicaGetInfo_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18889 {
18890         offset = drsuapi_dissect_DsReplicaGetInfoRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaGetInfo_req, *0);
18891
18892         return offset;
18893 }
18894
18895 static int
18896 drsuapi_dissect_element_DsReplicaGetInfo_info_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18897 {
18898         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaGetInfo_info_type_, NDR_POINTER_REF, "Pointer to Info Type (drsuapi_DsReplicaInfoType)",hf_drsuapi_drsuapi_DsReplicaGetInfo_info_type);
18899
18900         return offset;
18901 }
18902
18903 static int
18904 drsuapi_dissect_element_DsReplicaGetInfo_info_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18905 {
18906         offset = drsuapi_dissect_enum_DsReplicaInfoType(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaGetInfo_info_type, 0);
18907
18908         return offset;
18909 }
18910
18911 static int
18912 drsuapi_dissect_element_DsReplicaGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18913 {
18914         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsReplicaGetInfo_info_, NDR_POINTER_REF, "Pointer to Info (drsuapi_DsReplicaInfo)",hf_drsuapi_drsuapi_DsReplicaGetInfo_info);
18915
18916         return offset;
18917 }
18918
18919 static int
18920 drsuapi_dissect_element_DsReplicaGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18921 {
18922         offset = drsuapi_dissect_DsReplicaInfo(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsReplicaGetInfo_info, *0);
18923
18924         return offset;
18925 }
18926
18927 /* IDL: WERROR drsuapi_DsReplicaGetInfo( */
18928 /* IDL: [ref] [in] policy_handle *bind_handle, */
18929 /* IDL: [in] drsuapi_DsReplicaGetInfoLevel level, */
18930 /* IDL: [ref] [in] [switch_is(level)] drsuapi_DsReplicaGetInfoRequest *req, */
18931 /* IDL: [out] [ref] drsuapi_DsReplicaInfoType *info_type, */
18932 /* IDL: [out] [ref] [switch_is(*info_type)] drsuapi_DsReplicaInfo *info */
18933 /* IDL: ); */
18934
18935 static int
18936 drsuapi_dissect_DsReplicaGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18937 {
18938         guint32 status;
18939
18940         pinfo->dcerpc_procedure_name="DsReplicaGetInfo";
18941         offset = drsuapi_dissect_element_DsReplicaGetInfo_info_type(tvb, offset, pinfo, tree, drep);
18942         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18943
18944         offset = drsuapi_dissect_element_DsReplicaGetInfo_info(tvb, offset, pinfo, tree, drep);
18945         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18946
18947         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
18948
18949         if (status != 0)
18950                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
18951
18952         return offset;
18953 }
18954
18955 static int
18956 drsuapi_dissect_DsReplicaGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18957 {
18958         pinfo->dcerpc_procedure_name="DsReplicaGetInfo";
18959         offset = drsuapi_dissect_element_DsReplicaGetInfo_bind_handle(tvb, offset, pinfo, tree, drep);
18960         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18961         offset = drsuapi_dissect_element_DsReplicaGetInfo_level(tvb, offset, pinfo, tree, drep);
18962         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18963         offset = drsuapi_dissect_element_DsReplicaGetInfo_req(tvb, offset, pinfo, tree, drep);
18964         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
18965         return offset;
18966 }
18967
18968 /* IDL: WERROR DRSUAPI_ADD_SID_HISTORY( */
18969 /* IDL:  */
18970 /* IDL: ); */
18971
18972 static int
18973 drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18974 {
18975         guint32 status;
18976
18977         pinfo->dcerpc_procedure_name="DRSUAPI_ADD_SID_HISTORY";
18978         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
18979
18980         if (status != 0)
18981                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
18982
18983         return offset;
18984 }
18985
18986 static int
18987 drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18988 {
18989         pinfo->dcerpc_procedure_name="DRSUAPI_ADD_SID_HISTORY";
18990         return offset;
18991 }
18992
18993 static int
18994 drsuapi_dissect_element_DsGetMemberships2_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
18995 {
18996         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMemberships2_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_DsGetMemberships2_bind_handle);
18997
18998         return offset;
18999 }
19000
19001 static int
19002 drsuapi_dissect_element_DsGetMemberships2_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19003 {
19004         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMemberships2_bind_handle, 0);
19005
19006         return offset;
19007 }
19008
19009 static int
19010 drsuapi_dissect_element_DsGetMemberships2_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19011 {
19012         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMemberships2_level, 0);
19013
19014         return offset;
19015 }
19016
19017 static int
19018 drsuapi_dissect_element_DsGetMemberships2_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19019 {
19020         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMemberships2_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_DsGetMemberships2Request)",hf_drsuapi_drsuapi_DsGetMemberships2_req);
19021
19022         return offset;
19023 }
19024
19025 static int
19026 drsuapi_dissect_element_DsGetMemberships2_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19027 {
19028         offset = drsuapi_dissect_DsGetMemberships2Request(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMemberships2_req, *0);
19029
19030         return offset;
19031 }
19032
19033 static int
19034 drsuapi_dissect_element_DsGetMemberships2_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19035 {
19036         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMemberships2_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_DsGetMemberships2_level_out);
19037
19038         return offset;
19039 }
19040
19041 static int
19042 drsuapi_dissect_element_DsGetMemberships2_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19043 {
19044         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMemberships2_level_out, 0);
19045
19046         return offset;
19047 }
19048
19049 static int
19050 drsuapi_dissect_element_DsGetMemberships2_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19051 {
19052         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_DsGetMemberships2_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_DsGetMemberships2Ctr)",hf_drsuapi_drsuapi_DsGetMemberships2_ctr);
19053
19054         return offset;
19055 }
19056
19057 static int
19058 drsuapi_dissect_element_DsGetMemberships2_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19059 {
19060         offset = drsuapi_dissect_DsGetMemberships2Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_DsGetMemberships2_ctr, *0);
19061
19062         return offset;
19063 }
19064
19065 /* IDL: WERROR drsuapi_DsGetMemberships2( */
19066 /* IDL: [ref] [in] policy_handle *bind_handle, */
19067 /* IDL: [in] uint32 level, */
19068 /* IDL: [ref] [in] [switch_is(level)] drsuapi_DsGetMemberships2Request *req, */
19069 /* IDL: [out] [ref] uint32 *level_out, */
19070 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_DsGetMemberships2Ctr *ctr */
19071 /* IDL: ); */
19072
19073 static int
19074 drsuapi_dissect_DsGetMemberships2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19075 {
19076         guint32 status;
19077
19078         pinfo->dcerpc_procedure_name="DsGetMemberships2";
19079         offset = drsuapi_dissect_element_DsGetMemberships2_level_out(tvb, offset, pinfo, tree, drep);
19080         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
19081
19082         offset = drsuapi_dissect_element_DsGetMemberships2_ctr(tvb, offset, pinfo, tree, drep);
19083         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
19084
19085         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
19086
19087         if (status != 0)
19088                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
19089
19090         return offset;
19091 }
19092
19093 static int
19094 drsuapi_dissect_DsGetMemberships2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19095 {
19096         pinfo->dcerpc_procedure_name="DsGetMemberships2";
19097         offset = drsuapi_dissect_element_DsGetMemberships2_bind_handle(tvb, offset, pinfo, tree, drep);
19098         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
19099         offset = drsuapi_dissect_element_DsGetMemberships2_level(tvb, offset, pinfo, tree, drep);
19100         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
19101         offset = drsuapi_dissect_element_DsGetMemberships2_req(tvb, offset, pinfo, tree, drep);
19102         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
19103         return offset;
19104 }
19105
19106 /* IDL: WERROR DRSUAPI_REPLICA_VERIFY_OBJECTS( */
19107 /* IDL:  */
19108 /* IDL: ); */
19109
19110 static int
19111 drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19112 {
19113         guint32 status;
19114
19115         pinfo->dcerpc_procedure_name="DRSUAPI_REPLICA_VERIFY_OBJECTS";
19116         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
19117
19118         if (status != 0)
19119                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
19120
19121         return offset;
19122 }
19123
19124 static int
19125 drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19126 {
19127         pinfo->dcerpc_procedure_name="DRSUAPI_REPLICA_VERIFY_OBJECTS";
19128         return offset;
19129 }
19130
19131 /* IDL: WERROR DRSUAPI_GET_OBJECT_EXISTENCE( */
19132 /* IDL:  */
19133 /* IDL: ); */
19134
19135 static int
19136 drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19137 {
19138         guint32 status;
19139
19140         pinfo->dcerpc_procedure_name="DRSUAPI_GET_OBJECT_EXISTENCE";
19141         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
19142
19143         if (status != 0)
19144                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
19145
19146         return offset;
19147 }
19148
19149 static int
19150 drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19151 {
19152         pinfo->dcerpc_procedure_name="DRSUAPI_GET_OBJECT_EXISTENCE";
19153         return offset;
19154 }
19155
19156 static int
19157 drsuapi_dissect_element_QuerySitesByCost_bind_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19158 {
19159         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_QuerySitesByCost_bind_handle_, NDR_POINTER_REF, "Pointer to Bind Handle (policy_handle)",hf_drsuapi_drsuapi_QuerySitesByCost_bind_handle);
19160
19161         return offset;
19162 }
19163
19164 static int
19165 drsuapi_dissect_element_QuerySitesByCost_bind_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19166 {
19167         offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_QuerySitesByCost_bind_handle, 0);
19168
19169         return offset;
19170 }
19171
19172 static int
19173 drsuapi_dissect_element_QuerySitesByCost_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19174 {
19175         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_QuerySitesByCost_level, 0);
19176
19177         return offset;
19178 }
19179
19180 static int
19181 drsuapi_dissect_element_QuerySitesByCost_req(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19182 {
19183         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_QuerySitesByCost_req_, NDR_POINTER_REF, "Pointer to Req (drsuapi_QuerySitesByCostRequest)",hf_drsuapi_drsuapi_QuerySitesByCost_req);
19184
19185         return offset;
19186 }
19187
19188 static int
19189 drsuapi_dissect_element_QuerySitesByCost_req_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19190 {
19191         offset = drsuapi_dissect_QuerySitesByCostRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_QuerySitesByCost_req, *0);
19192
19193         return offset;
19194 }
19195
19196 static int
19197 drsuapi_dissect_element_QuerySitesByCost_level_out(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19198 {
19199         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_QuerySitesByCost_level_out_, NDR_POINTER_REF, "Pointer to Level Out (uint32)",hf_drsuapi_drsuapi_QuerySitesByCost_level_out);
19200
19201         return offset;
19202 }
19203
19204 static int
19205 drsuapi_dissect_element_QuerySitesByCost_level_out_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19206 {
19207         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_QuerySitesByCost_level_out, 0);
19208
19209         return offset;
19210 }
19211
19212 static int
19213 drsuapi_dissect_element_QuerySitesByCost_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19214 {
19215         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_element_QuerySitesByCost_ctr_, NDR_POINTER_REF, "Pointer to Ctr (drsuapi_QuerySitesByCostCtr)",hf_drsuapi_drsuapi_QuerySitesByCost_ctr);
19216
19217         return offset;
19218 }
19219
19220 static int
19221 drsuapi_dissect_element_QuerySitesByCost_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19222 {
19223         offset = drsuapi_dissect_QuerySitesByCostCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_drsuapi_QuerySitesByCost_ctr, *0);
19224
19225         return offset;
19226 }
19227
19228 /* IDL: WERROR drsuapi_QuerySitesByCost( */
19229 /* IDL: [ref] [in] policy_handle *bind_handle, */
19230 /* IDL: [in] uint32 level, */
19231 /* IDL: [ref] [in] [switch_is(level)] drsuapi_QuerySitesByCostRequest *req, */
19232 /* IDL: [out] [ref] uint32 *level_out, */
19233 /* IDL: [out] [ref] [switch_is(*level_out)] drsuapi_QuerySitesByCostCtr *ctr */
19234 /* IDL: ); */
19235
19236 static int
19237 drsuapi_dissect_QuerySitesByCost_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19238 {
19239         guint32 status;
19240
19241         pinfo->dcerpc_procedure_name="QuerySitesByCost";
19242         offset = drsuapi_dissect_element_QuerySitesByCost_level_out(tvb, offset, pinfo, tree, drep);
19243         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
19244
19245         offset = drsuapi_dissect_element_QuerySitesByCost_ctr(tvb, offset, pinfo, tree, drep);
19246         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
19247
19248         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_werror, &status);
19249
19250         if (status != 0)
19251                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
19252
19253         return offset;
19254 }
19255
19256 static int
19257 drsuapi_dissect_QuerySitesByCost_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
19258 {
19259         pinfo->dcerpc_procedure_name="QuerySitesByCost";
19260         offset = drsuapi_dissect_element_QuerySitesByCost_bind_handle(tvb, offset, pinfo, tree, drep);
19261         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
19262         offset = drsuapi_dissect_element_QuerySitesByCost_level(tvb, offset, pinfo, tree, drep);
19263         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
19264         offset = drsuapi_dissect_element_QuerySitesByCost_req(tvb, offset, pinfo, tree, drep);
19265         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
19266         return offset;
19267 }
19268
19269
19270 static dcerpc_sub_dissector drsuapi_dissectors[] = {
19271         { 0, "DsBind",
19272            drsuapi_dissect_DsBind_request, drsuapi_dissect_DsBind_response},
19273         { 1, "DsUnbind",
19274            drsuapi_dissect_DsUnbind_request, drsuapi_dissect_DsUnbind_response},
19275         { 2, "DsReplicaSync",
19276            drsuapi_dissect_DsReplicaSync_request, drsuapi_dissect_DsReplicaSync_response},
19277         { 3, "DsGetNCChanges",
19278            drsuapi_dissect_DsGetNCChanges_request, drsuapi_dissect_DsGetNCChanges_response},
19279         { 4, "DsReplicaUpdateRefs",
19280            drsuapi_dissect_DsReplicaUpdateRefs_request, drsuapi_dissect_DsReplicaUpdateRefs_response},
19281         { 5, "DsReplicaAdd",
19282            drsuapi_dissect_DsReplicaAdd_request, drsuapi_dissect_DsReplicaAdd_response},
19283         { 6, "DsReplicaDel",
19284            drsuapi_dissect_DsReplicaDel_request, drsuapi_dissect_DsReplicaDel_response},
19285         { 7, "DsReplicaMod",
19286            drsuapi_dissect_DsReplicaMod_request, drsuapi_dissect_DsReplicaMod_response},
19287         { 8, "DRSUAPI_VERIFY_NAMES",
19288            drsuapi_dissect_DRSUAPI_VERIFY_NAMES_request, drsuapi_dissect_DRSUAPI_VERIFY_NAMES_response},
19289         { 9, "DsGetMemberships",
19290            drsuapi_dissect_DsGetMemberships_request, drsuapi_dissect_DsGetMemberships_response},
19291         { 10, "DRSUAPI_INTER_DOMAIN_MOVE",
19292            drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_request, drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_response},
19293         { 11, "DsGetNT4ChangeLog",
19294            drsuapi_dissect_DsGetNT4ChangeLog_request, drsuapi_dissect_DsGetNT4ChangeLog_response},
19295         { 12, "DsCrackNames",
19296            drsuapi_dissect_DsCrackNames_request, drsuapi_dissect_DsCrackNames_response},
19297         { 13, "DsWriteAccountSpn",
19298            drsuapi_dissect_DsWriteAccountSpn_request, drsuapi_dissect_DsWriteAccountSpn_response},
19299         { 14, "DsRemoveDSServer",
19300            drsuapi_dissect_DsRemoveDSServer_request, drsuapi_dissect_DsRemoveDSServer_response},
19301         { 15, "DRSUAPI_REMOVE_DS_DOMAIN",
19302            drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_request, drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_response},
19303         { 16, "DsGetDomainControllerInfo",
19304            drsuapi_dissect_DsGetDomainControllerInfo_request, drsuapi_dissect_DsGetDomainControllerInfo_response},
19305         { 17, "DsAddEntry",
19306            drsuapi_dissect_DsAddEntry_request, drsuapi_dissect_DsAddEntry_response},
19307         { 18, "DsExecuteKCC",
19308            drsuapi_dissect_DsExecuteKCC_request, drsuapi_dissect_DsExecuteKCC_response},
19309         { 19, "DsReplicaGetInfo",
19310            drsuapi_dissect_DsReplicaGetInfo_request, drsuapi_dissect_DsReplicaGetInfo_response},
19311         { 20, "DRSUAPI_ADD_SID_HISTORY",
19312            drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_request, drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_response},
19313         { 21, "DsGetMemberships2",
19314            drsuapi_dissect_DsGetMemberships2_request, drsuapi_dissect_DsGetMemberships2_response},
19315         { 22, "DRSUAPI_REPLICA_VERIFY_OBJECTS",
19316            drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_request, drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_response},
19317         { 23, "DRSUAPI_GET_OBJECT_EXISTENCE",
19318            drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_request, drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_response},
19319         { 24, "QuerySitesByCost",
19320            drsuapi_dissect_QuerySitesByCost_request, drsuapi_dissect_QuerySitesByCost_response},
19321         { 0, NULL, NULL, NULL }
19322 };
19323
19324 void proto_register_dcerpc_drsuapi(void)
19325 {
19326         static hf_register_info hf[] = {
19327         { &hf_drsuapi_drsuapi_DsReplica06_u7,
19328           { "U7", "drsuapi.drsuapi_DsReplica06.u7", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19329         { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid,
19330           { "Dest Dsa Guid", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest1.dest_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19331         { &hf_drsuapi_drsuapi_DsGetDCInfoCtr3_count,
19332           { "Count", "drsuapi.drsuapi_DsGetDCInfoCtr3.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19333         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO,
19334           { "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 }},
19335         { &hf_drsuapi_drsuapi_DsReplicaOp_serial_num,
19336           { "Serial Num", "drsuapi.drsuapi_DsReplicaOp.serial_num", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19337         { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_object_dn,
19338           { "Object Dn", "drsuapi.drsuapi_DsReplicaGetInfoRequest1.object_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19339         { &hf_drsuapi_drsuapi_DsReplicaInfo_neighbours,
19340           { "Neighbours", "drsuapi.drsuapi_DsReplicaInfo.neighbours", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19341         { &hf_drsuapi_drsuapi_DsBindInfoCtr___ndr_length,
19342           { "  Ndr Length", "drsuapi.drsuapi_DsBindInfoCtr.__ndr_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19343         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context,
19344           { "Enumeration Context", "drsuapi.drsuapi_DsReplicaObjMetaData2Ctr.enumeration_context", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19345         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_URGENT,
19346           { "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 }},
19347         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_AUTO_SYNC,
19348           { "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 }},
19349         { &hf_drsuapi_drsuapi_DsReplicaGetInfo_info_type,
19350           { "Info Type", "drsuapi.drsuapi_DsReplicaGetInfo.info_type", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsReplicaInfoType_vals), 0, NULL, HFILL }},
19351         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_transport_obj_guid,
19352           { "Transport Obj Guid", "drsuapi.drsuapi_DsReplicaNeighbour.transport_obj_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19353         { &hf_drsuapi_drsuapi_DsAddEntryCtr2_problem,
19354           { "Problem", "drsuapi.drsuapi_DsAddEntryCtr2.problem", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
19355         { &hf_drsuapi_drsuapi_DsReplicaAddRequest2_transport_dn,
19356           { "Transport Dn", "drsuapi.drsuapi_DsReplicaAddRequest2.transport_dn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19357         { &hf_drsuapi_drsuapi_DsNameCtr1_array,
19358           { "Array", "drsuapi.drsuapi_DsNameCtr1.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19359         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_binary,
19360           { "Binary", "drsuapi.drsuapi_DsReplicaAttrValMetaData.binary", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19361         { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_ts_,
19362           { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr6.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
19363         { &hf_drsuapi_drsuapi_DsAddEntry_bind_handle,
19364           { "Bind Handle", "drsuapi.drsuapi_DsAddEntry.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
19365         { &hf_drsuapi_drsuapi_DsReplicaCursor2_highest_usn,
19366           { "Highest Usn", "drsuapi.drsuapi_DsReplicaCursor2.highest_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19367         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_old_highwatermark,
19368           { "Old Highwatermark", "drsuapi.drsuapi_DsGetNCChangesCtr1.old_highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19369         { &hf_drsuapi_drsuapi_DsReplicaDel_req,
19370           { "Req", "drsuapi.drsuapi_DsReplicaDel.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19371         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_extended_op,
19372           { "Extended Op", "drsuapi.drsuapi_DsGetNCChangesRequest10.extended_op", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsExtendedOperation_vals), 0, NULL, HFILL }},
19373         { &hf_drsuapi_drsuapi_DsReplicaAddRequest1_naming_context,
19374           { "Naming Context", "drsuapi.drsuapi_DsReplicaAddRequest1.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19375         { &hf_drsuapi_drsuapi_DsReplica06_u4,
19376           { "U4", "drsuapi.drsuapi_DsReplica06.u4", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19377         { &hf_drsuapi_drsuapi_DsGetMembershipsRequest1_flags,
19378           { "Flags", "drsuapi.drsuapi_DsGetMembershipsRequest1.flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19379         { &hf_drsuapi_drsuapi_DsReplicaOIDMapping_oid,
19380           { "Oid", "drsuapi.drsuapi_DsReplicaOIDMapping.oid", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19381         { &hf_drsuapi_werror,
19382           { "Windows Error", "drsuapi.werror", FT_UINT32, BASE_HEX, VALS(WERR_errors), 0, NULL, HFILL }},
19383         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_naming_context,
19384           { "Naming Context", "drsuapi.drsuapi_DsGetNCChangesCtr1.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19385         { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_ts,
19386           { "Ts", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr1.ts", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19387         { &hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_meta_data_ctr,
19388           { "Meta Data Ctr", "drsuapi.drsuapi_DsReplicaObjectListItemEx.meta_data_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19389         { &hf_drsuapi_drsuapi_DsExecuteKCC_bind_handle,
19390           { "Bind Handle", "drsuapi.drsuapi_DsExecuteKCC.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
19391         { &hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_count,
19392           { "Count", "drsuapi.drsuapi_DsReplicaCursor2Ctr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19393         { &hf_drsuapi_drsuapi_DsReplicaOpCtr_count,
19394           { "Count", "drsuapi.drsuapi_DsReplicaOpCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19395         { &hf_drsuapi_drsuapi_DsGetDCInfo3_is_enabled,
19396           { "Is Enabled", "drsuapi.drsuapi_DsGetDCInfo3.is_enabled", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19397         { &hf_drsuapi_drsuapi_DsGetDCInfo1_site_name,
19398           { "Site Name", "drsuapi.drsuapi_DsGetDCInfo1.site_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19399         { &hf_drsuapi_drsuapi_DsReplicaConnection04_u2,
19400           { "U2", "drsuapi.drsuapi_DsReplicaConnection04.u2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19401         { &hf_drsuapi_drsuapi_DsGetMembershipsRequest1_info_array,
19402           { "Info Array", "drsuapi.drsuapi_DsGetMembershipsRequest1.info_array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19403         { &hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_reserved,
19404           { "Reserved", "drsuapi.drsuapi_DsReplicaObjMetaDataCtr.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19405         { &hf_drsuapi_drsuapi_DsReplicaObjectListItem_next_object,
19406           { "Next Object", "drsuapi.drsuapi_DsReplicaObjectListItem.next_object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19407         { &hf_drsuapi_drsuapi_DsReplicaOpCtr_array,
19408           { "Array", "drsuapi.drsuapi_DsReplicaOpCtr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19409         { &hf_drsuapi_drsuapi_DsReplicaSyncRequest1_source_dsa_dns,
19410           { "Source Dsa Dns", "drsuapi.drsuapi_DsReplicaSyncRequest1.source_dsa_dns", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19411         { &hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_reserved2,
19412           { "Reserved2", "drsuapi.drsuapi_DsReplicaCursorCtrEx.reserved2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19413         { &hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_reserved1,
19414           { "Reserved1", "drsuapi.drsuapi_DsReplicaCursor2CtrEx.reserved1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19415         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_max_object_count,
19416           { "Max Object Count", "drsuapi.drsuapi_DsGetNCChangesRequest5.max_object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19417         { &hf_drsuapi_drsuapi_DsReplicaUpdateRefs_level,
19418           { "Level", "drsuapi.drsuapi_DsReplicaUpdateRefs.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19419         { &hf_drsuapi_drsuapi_DsUnbind_bind_handle,
19420           { "Bind Handle", "drsuapi.drsuapi_DsUnbind.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
19421         { &hf_drsuapi_drsuapi_DsBindInfo48_repl_epoch,
19422           { "Repl Epoch", "drsuapi.drsuapi_DsBindInfo48.repl_epoch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19423         { &hf_drsuapi_drsuapi_DsReplicaDelRequest1_source_dsa_address,
19424           { "Source Dsa Address", "drsuapi.drsuapi_DsReplicaDelRequest1.source_dsa_address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19425         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6,
19426           { "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 }},
19427         { &hf_drsuapi_drsuapi_DsReplicaCursor3_highest_usn,
19428           { "Highest Usn", "drsuapi.drsuapi_DsReplicaCursor3.highest_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19429         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_array,
19430           { "Array", "drsuapi.drsuapi_DsReplicaAttrValMetaDataCtr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19431         { &hf_drsuapi_drsuapi_DsGetDCInfo2_server_dn,
19432           { "Server Dn", "drsuapi.drsuapi_DsGetDCInfo2.server_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19433         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_naming_context_obj_guid,
19434           { "Naming Context Obj Guid", "drsuapi.drsuapi_DsReplicaNeighbour.naming_context_obj_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19435         { &hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_enumeration_context,
19436           { "Enumeration Context", "drsuapi.drsuapi_DsReplicaCursor3Ctr.enumeration_context", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19437         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_refer,
19438           { "Refer", "drsuapi.drsuapi_DsAddEntryErrorInfo_Referr_V1.refer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19439         { &hf_drsuapi_drsuapi_DsAddEntry_req,
19440           { "Req", "drsuapi.drsuapi_DsAddEntry.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19441         { &hf_drsuapi_drsuapi_DsBindInfoCtr_length,
19442           { "Length", "drsuapi.drsuapi_DsBindInfoCtr.length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19443         { &hf_drsuapi_drsuapi_DsBindInfo_info24,
19444           { "Info24", "drsuapi.drsuapi_DsBindInfo.info24", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19445         { &hf_drsuapi_drsuapi_DsExecuteKCC1_taskID,
19446           { "Taskid", "drsuapi.drsuapi_DsExecuteKCC1.taskID", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19447         { &hf_drsuapi_drsuapi_DsAddEntry_level,
19448           { "Level", "drsuapi.drsuapi_DsAddEntry.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19449         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_first,
19450           { "First", "drsuapi.drsuapi_DsAddEntryErrorInfo_Attr_V1.first", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19451         { &hf_drsuapi_drsuapi_DsWriteAccountSpn_level,
19452           { "Level", "drsuapi.drsuapi_DsWriteAccountSpn.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19453         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART2,
19454           { "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 }},
19455         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_mapping_ctr,
19456           { "Mapping Ctr", "drsuapi.drsuapi_DsGetNCChangesRequest8.mapping_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19457         { &hf_drsuapi_drsuapi_DsGetMemberships_ctr,
19458           { "Ctr", "drsuapi.drsuapi_DsGetMemberships.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19459         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5,
19460           { "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 }},
19461         { &hf_drsuapi_drsuapi_DsReplicaOpCtr_time,
19462           { "Time", "drsuapi.drsuapi_DsReplicaOpCtr.time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
19463         { &hf_drsuapi_drsuapi_DsReplicaHighWaterMark_reserved_usn,
19464           { "Reserved Usn", "drsuapi.drsuapi_DsReplicaHighWaterMark.reserved_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19465         { &hf_drsuapi_drsuapi_DsGetMemberships2Request1_num_req,
19466           { "Num Req", "drsuapi.drsuapi_DsGetMemberships2Request1.num_req", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19467         { &hf_drsuapi_drsuapi_DsGetMembershipsRequest1_domain,
19468           { "Domain", "drsuapi.drsuapi_DsGetMembershipsRequest1.domain", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19469         { &hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_count,
19470           { "Count", "drsuapi.drsuapi_DsReplicaObjMetaDataCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19471         { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_ts_,
19472           { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr1.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
19473         { &hf_drsuapi_drsuapi_DsGetMemberships2_req,
19474           { "Req", "drsuapi.drsuapi_DsGetMemberships2.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19475         { &hf_drsuapi_drsuapi_DsGetDCInfoCtr2_count,
19476           { "Count", "drsuapi.drsuapi_DsGetDCInfoCtr2.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19477         { &hf_drsuapi_drsuapi_DsReplicaModRequest_req1,
19478           { "Req1", "drsuapi.drsuapi_DsReplicaModRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19479         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_dn,
19480           { "Dn", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.dn", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
19481         { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest_req1,
19482           { "Req1", "drsuapi.drsuapi_DsReplicaGetInfoRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19483         { &hf_drsuapi_drsuapi_DsBindInfo28_site_guid,
19484           { "Site Guid", "drsuapi.drsuapi_DsBindInfo28.site_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19485         { &hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY,
19486           { "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 }},
19487         { &hf_drsuapi_drsuapi_DsGetMembershipsCtr1_sids,
19488           { "Sids", "drsuapi.drsuapi_DsGetMembershipsCtr1.sids", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19489         { &hf_drsuapi_drsuapi_DsGetMembershipsCtr1_group_attrs,
19490           { "Group Attrs", "drsuapi.drsuapi_DsGetMembershipsCtr1.group_attrs", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
19491         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_partial_attribute_set_ex,
19492           { "Partial Attribute Set Ex", "drsuapi.drsuapi_DsGetNCChangesRequest8.partial_attribute_set_ex", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19493         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_CRITICAL_ONLY,
19494           { "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 }},
19495         { &hf_drsuapi_drsuapi_SecBufferDesc_buffers,
19496           { "Buffers", "drsuapi.drsuapi_SecBufferDesc.buffers", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19497         { &hf_drsuapi_drsuapi_DsCrackNames_ctr,
19498           { "Ctr", "drsuapi.drsuapi_DsCrackNames.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19499         { &hf_drsuapi_drsuapi_DsGetDCConnectionCtr01_array,
19500           { "Array", "drsuapi.drsuapi_DsGetDCConnectionCtr01.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19501         { &hf_drsuapi_drsuapi_DsCrackNames_req,
19502           { "Req", "drsuapi.drsuapi_DsCrackNames.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19503         { &hf_drsuapi_drsuapi_DsGetDCConnection01_unknown4,
19504           { "Unknown4", "drsuapi.drsuapi_DsGetDCConnection01.unknown4", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19505         { &hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER,
19506           { "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 }},
19507         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_guid,
19508           { "Guid", "drsuapi.drsuapi_DsReplicaObjectIdentifier3.guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19509         { &hf_drsuapi_drsuapi_DsGetDCInfo2_server_guid,
19510           { "Server Guid", "drsuapi.drsuapi_DsGetDCInfo2.server_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19511         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_dsid,
19512           { "Dsid", "drsuapi.drsuapi_DsAddEntryErrorInfoX.dsid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19513         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo_info1,
19514           { "Info1", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo.info1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19515         { &hf_drsuapi_drsuapi_DsWriteAccountSpnResult1_status,
19516           { "Status", "drsuapi.drsuapi_DsWriteAccountSpnResult1.status", FT_UINT32, BASE_DEC, VALS(WERR_errors), 0, NULL, HFILL }},
19517         { &hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_array,
19518           { "Array", "drsuapi.drsuapi_DsReplicaCursor3Ctr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19519         { &hf_drsuapi_drsuapi_DsGetNCChanges_ctr,
19520           { "Ctr", "drsuapi.drsuapi_DsGetNCChanges.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19521         { &hf_drsuapi_drsuapi_DsReplicaConnection04_u1,
19522           { "U1", "drsuapi.drsuapi_DsReplicaConnection04.u1", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19523         { &hf_drsuapi_drsuapi_DsReplica06Ctr_array,
19524           { "Array", "drsuapi.drsuapi_DsReplica06Ctr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19525         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier2_sid,
19526           { "Sid", "drsuapi.drsuapi_DsReplicaObjectIdentifier2.sid", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19527         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE,
19528           { "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 }},
19529         { &hf_drsuapi_drsuapi_DsNameRequest1_format_flags,
19530           { "Format Flags", "drsuapi.drsuapi_DsNameRequest1.format_flags", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsNameFlags_vals), 0, NULL, HFILL }},
19531         { &hf_drsuapi_drsuapi_DsBindInfo28_supported_extensions,
19532           { "Supported Extensions", "drsuapi.drsuapi_DsBindInfo28.supported_extensions", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
19533         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_destination_dsa_guid,
19534           { "Destination Dsa Guid", "drsuapi.drsuapi_DsGetNCChangesRequest5.destination_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19535         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_LOCAL_ONLY,
19536           { "Drsuapi Drs Local Only", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_LOCAL_ONLY", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_LOCAL_ONLY_tfs), ( 0x00001000 ), NULL, HFILL }},
19537         { &hf_drsuapi_drsuapi_DsReplicaCursor3_source_dsa_obj_dn,
19538           { "Source Dsa Obj Dn", "drsuapi.drsuapi_DsReplicaCursor3.source_dsa_obj_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19539         { &hf_drsuapi_drsuapi_DsReplicaAddRequest1_source_dsa_address,
19540           { "Source Dsa Address", "drsuapi.drsuapi_DsReplicaAddRequest1.source_dsa_address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19541         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_sid,
19542           { "Sid", "drsuapi.drsuapi_DsReplicaObjectIdentifier3.sid", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19543         { &hf_drsuapi_drsuapi_DsReplicaCursor_source_dsa_invocation_id,
19544           { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsReplicaCursor.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19545         { &hf_drsuapi_drsuapi_DsReplicaModRequest1_modify_fields,
19546           { "Modify Fields", "drsuapi.drsuapi_DsReplicaModRequest1.modify_fields", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19547         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_max_ndr_size,
19548           { "Max Ndr Size", "drsuapi.drsuapi_DsGetNCChangesRequest8.max_ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19549         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_partial_attribute_set,
19550           { "Partial Attribute Set", "drsuapi.drsuapi_DsGetNCChangesRequest8.partial_attribute_set", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19551         { &hf_drsuapi_drsuapi_DsGetMemberships2Request_req1,
19552           { "Req1", "drsuapi.drsuapi_DsGetMemberships2Request.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19553         { &hf_drsuapi_drsuapi_DsGetDCInfo3_site_name,
19554           { "Site Name", "drsuapi.drsuapi_DsGetDCInfo3.site_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19555         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2_local_usn,
19556           { "Local Usn", "drsuapi.drsuapi_DsReplicaObjMetaData2.local_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19557         { &hf_drsuapi_drsuapi_DsReplica06_u6,
19558           { "U6", "drsuapi.drsuapi_DsReplica06.u6", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19559         { &hf_drsuapi_drsuapi_DsNameInfo1_status,
19560           { "Status", "drsuapi.drsuapi_DsNameInfo1.status", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsNameStatus_vals), 0, NULL, HFILL }},
19561         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_consecutive_sync_failures,
19562           { "Consecutive Sync Failures", "drsuapi.drsuapi_DsReplicaNeighbour.consecutive_sync_failures", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19563         { &hf_drsuapi_drsuapi_DsLinkedAttributeFlags_DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE,
19564           { "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 }},
19565         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_uptodateness_vector,
19566           { "Uptodateness Vector", "drsuapi.drsuapi_DsGetNCChangesRequest5.uptodateness_vector", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19567         { &hf_drsuapi_drsuapi_QuerySitesByCostCtr1_flags_reserved,
19568           { "Flags Reserved", "drsuapi.drsuapi_QuerySitesByCostCtr1.flags_reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19569         { &hf_drsuapi_drsuapi_SecBuffer_buf_type,
19570           { "Buf Type", "drsuapi.drsuapi_SecBuffer.buf_type", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_SecBufferType_vals), 0, NULL, HFILL }},
19571         { &hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_ADDRESS,
19572           { "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 }},
19573         { &hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_count,
19574           { "Count", "drsuapi.drsuapi_DsReplicaConnection04Ctr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19575         { &hf_drsuapi_drsuapi_DsGetDomainControllerInfo_level_out,
19576           { "Level Out", "drsuapi.drsuapi_DsGetDomainControllerInfo.level_out", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsGetDCInfoCtrLevels_vals), 0, NULL, HFILL }},
19577         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_uptodateness_vector,
19578           { "Uptodateness Vector", "drsuapi.drsuapi_DsGetNCChangesCtr1.uptodateness_vector", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19579         { &hf_drsuapi_drsuapi_DsReplicaCursor2_last_sync_success,
19580           { "Last Sync Success", "drsuapi.drsuapi_DsReplicaCursor2.last_sync_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
19581         { &hf_drsuapi_drsuapi_DsReplicaInfo_cursors2,
19582           { "Cursors2", "drsuapi.drsuapi_DsReplicaInfo.cursors2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19583         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_tmp_highest_usn,
19584           { "Tmp Highest Usn", "drsuapi.drsuapi_DsReplicaNeighbour.tmp_highest_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19585         { &hf_drsuapi_drsuapi_DsReplicaMod_req,
19586           { "Req", "drsuapi.drsuapi_DsReplicaMod.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19587         { &hf_drsuapi_drsuapi_DsReplicaSync_level,
19588           { "Level", "drsuapi.drsuapi_DsReplicaSync.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19589         { &hf_drsuapi_drsuapi_DsReplicaAdd_req,
19590           { "Req", "drsuapi.drsuapi_DsReplicaAdd.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19591         { &hf_drsuapi_drsuapi_DsCrackNames_bind_handle,
19592           { "Bind Handle", "drsuapi.drsuapi_DsCrackNames.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
19593         { &hf_drsuapi_drsuapi_DsRemoveDSServer_level,
19594           { "Level", "drsuapi.drsuapi_DsRemoveDSServer.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19595         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData_local_usn,
19596           { "Local Usn", "drsuapi.drsuapi_DsReplicaObjMetaData.local_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19597         { &hf_drsuapi_drsuapi_QuerySitesByCost_req,
19598           { "Req", "drsuapi.drsuapi_QuerySitesByCost.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19599         { &hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_address,
19600           { "Remote Dsa Address", "drsuapi.drsuapi_DsReplicaOp.remote_dsa_address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19601         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_REF_GCSPN,
19602           { "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 }},
19603         { &hf_drsuapi_drsuapi_DsGetDCInfo3_site_guid,
19604           { "Site Guid", "drsuapi.drsuapi_DsGetDCInfo3.site_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19605         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_extended_ret,
19606           { "Extended Ret", "drsuapi.drsuapi_DsGetNCChangesCtr1.extended_ret", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsExtendedError_vals), 0, NULL, HFILL }},
19607         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData___ndr_size_binary,
19608           { "  Ndr Size Binary", "drsuapi.drsuapi_DsReplicaAttrValMetaData.__ndr_size_binary", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19609         { &hf_drsuapi_drsuapi_DsAddEntryCtr3_id,
19610           { "Id", "drsuapi.drsuapi_DsAddEntryCtr3.id", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19611         { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_compressed_length,
19612           { "Compressed Length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr6.compressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19613         { &hf_drsuapi_drsuapi_DsRemoveDSServer_req,
19614           { "Req", "drsuapi.drsuapi_DsRemoveDSServer.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19615         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2_attribute_name,
19616           { "Attribute Name", "drsuapi.drsuapi_DsReplicaObjMetaData2.attribute_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19617         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_binary,
19618           { "Binary", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.binary", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19619         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest_req10,
19620           { "Req10", "drsuapi.drsuapi_DsGetNCChangesRequest.req10", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19621         { &hf_drsuapi_drsuapi_DsGetDCInfo2_is_enabled,
19622           { "Is Enabled", "drsuapi.drsuapi_DsGetDCInfo2.is_enabled", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19623         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_source_dsa_guid,
19624           { "Source Dsa Guid", "drsuapi.drsuapi_DsGetNCChangesCtr6.source_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19625         { &hf_drsuapi_drsuapi_DsReplicaOID_length,
19626           { "Length", "drsuapi.drsuapi_DsReplicaOID.length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19627         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size_dn,
19628           { "  Ndr Size Dn", "drsuapi.drsuapi_DsReplicaObjectIdentifier.__ndr_size_dn", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19629         { &hf_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1_err_data,
19630           { "Err Data", "drsuapi.drsuapi_DsAddEntry_AttrErrListItem_V1.err_data", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19631         { &hf_drsuapi_drsuapi_DsSiteCostInfo_error_code,
19632           { "Error Code", "drsuapi.drsuapi_DsSiteCostInfo.error_code", FT_UINT32, BASE_DEC, VALS(WERR_errors), 0, NULL, HFILL }},
19633         { &hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_extended_err,
19634           { "Extended Err", "drsuapi.drsuapi_DsAddEntry_AttrErr_V1.extended_err", FT_UINT32, BASE_DEC, VALS(WERR_errors), 0, NULL, HFILL }},
19635         { &hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_array,
19636           { "Array", "drsuapi.drsuapi_DsReplicaNeighbourCtr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19637         { &hf_drsuapi_drsuapi_DsAddEntryCtr3_objects,
19638           { "Objects", "drsuapi.drsuapi_DsAddEntryCtr3.objects", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19639         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_builtin_serial_number,
19640           { "Builtin Serial Number", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.builtin_serial_number", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19641         { &hf_drsuapi_drsuapi_DsGetDCInfo1_is_enabled,
19642           { "Is Enabled", "drsuapi.drsuapi_DsGetDCInfo1.is_enabled", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19643         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_referral_err,
19644           { "Referral Err", "drsuapi.drsuapi_DsAddEntryErrorInfo.referral_err", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19645         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_highwatermark,
19646           { "Highwatermark", "drsuapi.drsuapi_DsGetNCChangesRequest10.highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19647         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_ALL,
19648           { "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 }},
19649         { &hf_drsuapi_drsuapi_DsReplicaModRequest1_replica_flags,
19650           { "Replica Flags", "drsuapi.drsuapi_DsReplicaModRequest1.replica_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
19651         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_highwatermark,
19652           { "Highwatermark", "drsuapi.drsuapi_DsGetNCChangesRequest5.highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19653         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_array,
19654           { "Array", "drsuapi.drsuapi_DsReplicaAttrValMetaData2Ctr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19655         { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_last_result,
19656           { "Last Result", "drsuapi.drsuapi_DsReplicaKccDsaFailure.last_result", FT_UINT32, BASE_DEC, VALS(WERR_errors), 0, NULL, HFILL }},
19657         { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_id_target,
19658           { "Id Target", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.id_target", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19659         { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_ts_,
19660           { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr6.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
19661         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_builtin_creation_time,
19662           { "Builtin Creation Time", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.builtin_creation_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
19663         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_sam_creation_time,
19664           { "Sam Creation Time", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.sam_creation_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
19665         { &hf_drsuapi_drsuapi_DsNameRequest1_format_offered,
19666           { "Format Offered", "drsuapi.drsuapi_DsNameRequest1.format_offered", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsNameFormat_vals), 0, NULL, HFILL }},
19667         { &hf_drsuapi_drsuapi_DsReplicaModRequest1_schedule,
19668           { "Schedule", "drsuapi.drsuapi_DsReplicaModRequest1.schedule", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
19669         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_source_dsa_invocation_id,
19670           { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsGetNCChangesRequest8.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19671         { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_value,
19672           { "Value", "drsuapi.drsuapi_DsReplicaLinkedAttribute.value", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19673         { &hf_drsuapi_drsuapi_DsAddEntry_level_out,
19674           { "Level Out", "drsuapi.drsuapi_DsAddEntry.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19675         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLog_level_out,
19676           { "Level Out", "drsuapi.drsuapi_DsGetNT4ChangeLog.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19677         { &hf_drsuapi_opnum,
19678           { "Operation", "drsuapi.opnum", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
19679         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_deleted,
19680           { "Deleted", "drsuapi.drsuapi_DsReplicaAttrValMetaData.deleted", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
19681         { &hf_drsuapi_drsuapi_DsGetMemberships2_level,
19682           { "Level", "drsuapi.drsuapi_DsGetMemberships2.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19683         { &hf_drsuapi_drsuapi_DsReplicaAttributeCtr_attributes,
19684           { "Attributes", "drsuapi.drsuapi_DsReplicaAttributeCtr.attributes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19685         { &hf_drsuapi_drsuapi_DsReplicaInfo_repsto,
19686           { "Repsto", "drsuapi.drsuapi_DsReplicaInfo.repsto", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19687         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_extended_err,
19688           { "Extended Err", "drsuapi.drsuapi_DsAddEntryErrorInfoX.extended_err", FT_UINT32, BASE_DEC, VALS(WERR_errors), 0, NULL, HFILL }},
19689         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_object_dn,
19690           { "Object Dn", "drsuapi.drsuapi_DsReplicaAttrValMetaData.object_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19691         { &hf_drsuapi_drsuapi_DsGetDCInfo3_computer_guid,
19692           { "Computer Guid", "drsuapi.drsuapi_DsGetDCInfo3.computer_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19693         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLog_info,
19694           { "Info", "drsuapi.drsuapi_DsGetNT4ChangeLog.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19695         { &hf_drsuapi_drsuapi_DsGetDCConnection01_unknown5,
19696           { "Unknown5", "drsuapi.drsuapi_DsGetDCConnection01.unknown5", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19697         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_PER_SYNC,
19698           { "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 }},
19699         { &hf_drsuapi_drsuapi_DsReplicaHighWaterMark_highest_usn,
19700           { "Highest Usn", "drsuapi.drsuapi_DsReplicaHighWaterMark.highest_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19701         { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_num_failures,
19702           { "Num Failures", "drsuapi.drsuapi_DsReplicaKccDsaFailure.num_failures", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19703         { &hf_drsuapi_drsuapi_DsCrackNames_level,
19704           { "Level", "drsuapi.drsuapi_DsCrackNames.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19705         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_usn,
19706           { "Originating Usn", "drsuapi.drsuapi_DsReplicaObjMetaData2.originating_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19707         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3,
19708           { "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 }},
19709         { &hf_drsuapi_drsuapi_DsGetDCInfo3_server_dn,
19710           { "Server Dn", "drsuapi.drsuapi_DsGetDCInfo3.server_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19711         { &hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_count,
19712           { "Count", "drsuapi.drsuapi_DsReplicaNeighbourCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19713         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NONGC_RO_REP,
19714           { "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 }},
19715         { &hf_drsuapi_drsuapi_DsGetDCInfoRequest1_level,
19716           { "Level", "drsuapi.drsuapi_DsGetDCInfoRequest1.level", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsGetDCInfoCtrLevels_vals), 0, NULL, HFILL }},
19717         { &hf_drsuapi_drsuapi_DsReplicaInfo_connectfailures,
19718           { "Connectfailures", "drsuapi.drsuapi_DsReplicaInfo.connectfailures", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19719         { &hf_drsuapi_drsuapi_DsBindInfo_info24_,
19720           { "Subcontext length", "drsuapi.drsuapi_DsBindInfo.subcontext", FT_UINT0, BASE_HEX, NULL, 0, NULL, HFILL }},
19721         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_WRIT_REP,
19722           { "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 }},
19723         { &hf_drsuapi_drsuapi_DsReplicaDelRequest1_options,
19724           { "Options", "drsuapi.drsuapi_DsReplicaDelRequest1.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
19725         { &hf_drsuapi_drsuapi_DsReplicaAdd_level,
19726           { "Level", "drsuapi.drsuapi_DsReplicaAdd.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19727         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND,
19728           { "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 }},
19729         { &hf_drsuapi_drsuapi_DsGetDCInfo2_computer_guid,
19730           { "Computer Guid", "drsuapi.drsuapi_DsGetDCInfo2.computer_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19731         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr6,
19732           { "Ctr6", "drsuapi.drsuapi_DsGetNCChangesCtr.ctr6", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19733         { &hf_drsuapi_drsuapi_DsGetDCInfo1_server_dn,
19734           { "Server Dn", "drsuapi.drsuapi_DsGetDCInfo1.server_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19735         { &hf_drsuapi_drsuapi_DsReplicaModRequest1_source_dra,
19736           { "Source Dra", "drsuapi.drsuapi_DsReplicaModRequest1.source_dra", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19737         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_service_err,
19738           { "Service Err", "drsuapi.drsuapi_DsAddEntryErrorInfo.service_err", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19739         { &hf_drsuapi_drsuapi_QuerySitesByCostCtr1_num_info,
19740           { "Num Info", "drsuapi.drsuapi_QuerySitesByCostCtr1.num_info", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19741         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_sid,
19742           { "Sid", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.sid", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19743         { &hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_obj_dn,
19744           { "Remote Dsa Obj Dn", "drsuapi.drsuapi_DsReplicaOp.remote_dsa_obj_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19745         { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_addr_list,
19746           { "Addr List", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.addr_list", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19747         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_transport_obj_dn,
19748           { "Transport Obj Dn", "drsuapi.drsuapi_DsReplicaNeighbour.transport_obj_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19749         { &hf_drsuapi_drsuapi_DsGetDCInfo2_ntds_guid,
19750           { "Ntds Guid", "drsuapi.drsuapi_DsGetDCInfo2.ntds_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19751         { &hf_drsuapi_drsuapi_DsNameRequest1_names,
19752           { "Names", "drsuapi.drsuapi_DsNameRequest1.names", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19753         { &hf_drsuapi_drsuapi_DsReplicaDel_level,
19754           { "Level", "drsuapi.drsuapi_DsReplicaDel.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19755         { &hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_count,
19756           { "Count", "drsuapi.drsuapi_DsReplicaCursor2CtrEx.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19757         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context,
19758           { "Enumeration Context", "drsuapi.drsuapi_DsReplicaAttrValMetaDataCtr.enumeration_context", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19759         { &hf_drsuapi_drsuapi_DsAddEntryRequest2_first_object,
19760           { "First Object", "drsuapi.drsuapi_DsAddEntryRequest2.first_object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19761         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier2_guid,
19762           { "Guid", "drsuapi.drsuapi_DsReplicaObjectIdentifier2.guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19763         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData_attribute_name,
19764           { "Attribute Name", "drsuapi.drsuapi_DsReplicaObjMetaData.attribute_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19765         { &hf_drsuapi_drsuapi_DsPartialAttributeSet_attids,
19766           { "Attids", "drsuapi.drsuapi_DsPartialAttributeSet.attids", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsAttributeId_vals), 0, NULL, HFILL }},
19767         { &hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_FLAGS,
19768           { "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 }},
19769         { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_originating_add_time,
19770           { "Originating Add Time", "drsuapi.drsuapi_DsReplicaLinkedAttribute.originating_add_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
19771         { &hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_dsid,
19772           { "Dsid", "drsuapi.drsuapi_DsAddEntry_AttrErr_V1.dsid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19773         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_old_highwatermark,
19774           { "Old Highwatermark", "drsuapi.drsuapi_DsGetNCChangesCtr6.old_highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19775         { &hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr2,
19776           { "Ctr2", "drsuapi.drsuapi_DsGetDCInfoCtr.ctr2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19777         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_PAS,
19778           { "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 }},
19779         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_extended_ret,
19780           { "Extended Ret", "drsuapi.drsuapi_DsGetNCChangesCtr6.extended_ret", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsExtendedError_vals), 0, NULL, HFILL }},
19781         { &hf_drsuapi_drsuapi_DsReplicaInfo_pendingops,
19782           { "Pendingops", "drsuapi.drsuapi_DsReplicaInfo.pendingops", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19783         { &hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_version,
19784           { "Version", "drsuapi.drsuapi_DsReplicaCursor2CtrEx.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19785         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2,
19786           { "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 }},
19787         { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_compressed_length,
19788           { "Compressed Length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr1.compressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19789         { &hf_drsuapi_drsuapi_DsBind_bind_guid,
19790           { "Bind Guid", "drsuapi.drsuapi_DsBind.bind_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19791         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_source_dsa_invocation_id,
19792           { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsGetNCChangesCtr6.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19793         { &hf_drsuapi_drsuapi_DsGetDCInfoCtr3_array,
19794           { "Array", "drsuapi.drsuapi_DsGetDCInfoCtr3.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19795         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr2_mszip1,
19796           { "Mszip1", "drsuapi.drsuapi_DsGetNCChangesCtr2.mszip1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19797         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_REF_OK,
19798           { "Drsuapi Drs Ref Ok", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_REF_OK", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_REF_OK_tfs), ( 0x00004000 ), NULL, HFILL }},
19799         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_max_ndr_size,
19800           { "Max Ndr Size", "drsuapi.drsuapi_DsGetNCChangesRequest10.max_ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19801         { &hf_drsuapi_drsuapi_DsReplicaGetInfo_req,
19802           { "Req", "drsuapi.drsuapi_DsReplicaGetInfo.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19803         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_count,
19804           { "Count", "drsuapi.drsuapi_DsReplicaAttrValMetaData2Ctr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19805         { &hf_drsuapi_drsuapi_DsGetMembershipsCtr1_num_memberships,
19806           { "Num Memberships", "drsuapi.drsuapi_DsGetMembershipsCtr1.num_memberships", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19807         { &hf_drsuapi_drsuapi_DsBindInfo24_site_guid,
19808           { "Site Guid", "drsuapi.drsuapi_DsBindInfo24.site_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19809         { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_meta_data,
19810           { "Meta Data", "drsuapi.drsuapi_DsReplicaLinkedAttribute.meta_data", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19811         { &hf_drsuapi_drsuapi_DsReplicaObjMetaDataCtr_array,
19812           { "Array", "drsuapi.drsuapi_DsReplicaObjMetaDataCtr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19813         { &hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_count,
19814           { "Count", "drsuapi.drsuapi_DsReplicaCursorCtrEx.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19815         { &hf_drsuapi_drsuapi_DsAddEntryCtr2_dir_err,
19816           { "Dir Err", "drsuapi.drsuapi_DsAddEntryCtr2.dir_err", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsAddEntry_DirErr_vals), 0, NULL, HFILL }},
19817         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr1,
19818           { "Ctr1", "drsuapi.drsuapi_DsGetNCChangesCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19819         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_security_err,
19820           { "Security Err", "drsuapi.drsuapi_DsAddEntryErrorInfo.security_err", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19821         { &hf_drsuapi_drsuapi_QuerySitesByCost_level_out,
19822           { "Level Out", "drsuapi.drsuapi_QuerySitesByCost.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19823         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DEL_REF,
19824           { "Drsuapi Drs Del Ref", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_DEL_REF", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_DEL_REF_tfs), ( 0x00000008 ), NULL, HFILL }},
19825         { &hf_drsuapi_drsuapi_DsGetDCInfo3_is_pdc,
19826           { "Is Pdc", "drsuapi.drsuapi_DsGetDCInfo3.is_pdc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19827         { &hf_drsuapi_drsuapi_DsRemoveDSServer_res,
19828           { "Res", "drsuapi.drsuapi_DsRemoveDSServer.res", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19829         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_PREEMPTED,
19830           { "Drsuapi Drs Preempted", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_PREEMPTED", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_PREEMPTED_tfs), ( 0x01000000 ), NULL, HFILL }},
19831         { &hf_drsuapi_drsuapi_DsBindInfo24_pid,
19832           { "Pid", "drsuapi.drsuapi_DsBindInfo24.pid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19833         { &hf_drsuapi_drsuapi_DsGetDCInfoCtr2_array,
19834           { "Array", "drsuapi.drsuapi_DsGetDCInfoCtr2.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19835         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_binary,
19836           { "  Ndr Size Binary", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.__ndr_size_binary", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19837         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_update_err,
19838           { "Update Err", "drsuapi.drsuapi_DsAddEntryErrorInfo.update_err", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19839         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_DISABLE_PERIODIC_SYNC,
19840           { "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 }},
19841         { &hf_drsuapi_drsuapi_DsGetDCInfo2_ntds_dn,
19842           { "Ntds Dn", "drsuapi.drsuapi_DsGetDCInfo2.ntds_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19843         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData_version,
19844           { "Version", "drsuapi.drsuapi_DsReplicaObjMetaData.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19845         { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_ref_type,
19846           { "Ref Type", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.ref_type", FT_UINT16, BASE_DEC, VALS(drsuapi_drsuapi_DsAddEntry_RefType_vals), 0, NULL, HFILL }},
19847         { &hf_drsuapi_drsuapi_DsReplica06_u2,
19848           { "U2", "drsuapi.drsuapi_DsReplica06.u2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19849         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_change_time,
19850           { "Originating Change Time", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.originating_change_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
19851         { &hf_drsuapi_drsuapi_DsNameCtr1_count,
19852           { "Count", "drsuapi.drsuapi_DsNameCtr1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19853         { &hf_drsuapi_drsuapi_DsSiteCostInfo_site_cost,
19854           { "Site Cost", "drsuapi.drsuapi_DsSiteCostInfo.site_cost", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19855         { &hf_drsuapi_drsuapi_DsRemoveDSServerResult1_last_dc_in_domain,
19856           { "Last Dc In Domain", "drsuapi.drsuapi_DsRemoveDSServerResult1.last_dc_in_domain", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19857         { &hf_drsuapi_drsuapi_DsReplicaCursorCtr_reserved,
19858           { "Reserved", "drsuapi.drsuapi_DsReplicaCursorCtr.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19859         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING,
19860           { "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 }},
19861         { &hf_drsuapi_drsuapi_DsReplicaDelRequest1_naming_context,
19862           { "Naming Context", "drsuapi.drsuapi_DsReplicaDelRequest1.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19863         { &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_ADAM,
19864           { "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 }},
19865         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_highwatermark,
19866           { "Highwatermark", "drsuapi.drsuapi_DsGetNCChangesRequest8.highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19867         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_first_object,
19868           { "First Object", "drsuapi.drsuapi_DsGetNCChangesCtr1.first_object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19869         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_uptodateness_vector,
19870           { "Uptodateness Vector", "drsuapi.drsuapi_DsGetNCChangesCtr6.uptodateness_vector", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19871         { &hf_drsuapi_drsuapi_DsGetDCInfo2_site_name,
19872           { "Site Name", "drsuapi.drsuapi_DsGetDCInfo2.site_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19873         { &hf_drsuapi_drsuapi_DsGetDCInfoRequest_req1,
19874           { "Req1", "drsuapi.drsuapi_DsGetDCInfoRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19875         { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_naming_context,
19876           { "Naming Context", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest1.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19877         { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_decompressed_length,
19878           { "Decompressed Length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr6.decompressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19879         { &hf_drsuapi_drsuapi_DsReplica06_u5,
19880           { "U5", "drsuapi.drsuapi_DsReplica06.u5", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19881         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_fsmo_info,
19882           { "Fsmo Info", "drsuapi.drsuapi_DsGetNCChangesRequest8.fsmo_info", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19883         { &hf_drsuapi_drsuapi_SecBuffer_buffer,
19884           { "Buffer", "drsuapi.drsuapi_SecBuffer.buffer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
19885         { &hf_drsuapi_drsuapi_DsGetDCConnection01_unknown2,
19886           { "Unknown2", "drsuapi.drsuapi_DsGetDCConnection01.unknown2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19887         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_ANC,
19888           { "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 }},
19889         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_extended_op,
19890           { "Extended Op", "drsuapi.drsuapi_DsGetNCChangesRequest8.extended_op", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsExtendedOperation_vals), 0, NULL, HFILL }},
19891         { &hf_drsuapi_drsuapi_DsReplicaSyncRequest1_source_dsa_guid,
19892           { "Source Dsa Guid", "drsuapi.drsuapi_DsReplicaSyncRequest1.source_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19893         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2___ndr_size_binary,
19894           { "  Ndr Size Binary", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.__ndr_size_binary", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19895         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_problem,
19896           { "Problem", "drsuapi.drsuapi_DsAddEntryErrorInfoX.problem", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
19897         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GETCHG_CHECK,
19898           { "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 }},
19899         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_count,
19900           { "Count", "drsuapi.drsuapi_DsAddEntryErrorInfo_Attr_V1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19901         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_first_object,
19902           { "First Object", "drsuapi.drsuapi_DsGetNCChangesCtr6.first_object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19903         { &hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_cursors,
19904           { "Cursors", "drsuapi.drsuapi_DsReplicaCursor2CtrEx.cursors", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19905         { &hf_drsuapi_drsuapi_DsReplicaAddRequest_req1,
19906           { "Req1", "drsuapi.drsuapi_DsReplicaAddRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19907         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01,
19908           { "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 }},
19909         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_object_dn,
19910           { "Object Dn", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.object_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19911         { &hf_drsuapi_drsuapi_DsGetDomainControllerInfo_level,
19912           { "Level", "drsuapi.drsuapi_DsGetDomainControllerInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19913         { &hf_drsuapi_drsuapi_DsBindInfo_info28_,
19914           { "Subcontext length", "drsuapi.drsuapi_DsBindInfo.subcontext", FT_UINT0, BASE_HEX, NULL, 0, NULL, HFILL }},
19915         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_usn,
19916           { "Originating Usn", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.originating_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19917         { &hf_drsuapi_drsuapi_DsAddEntryCtr2_extended_err,
19918           { "Extended Err", "drsuapi.drsuapi_DsAddEntryCtr2.extended_err", FT_UINT32, BASE_DEC, VALS(WERR_errors), 0, NULL, HFILL }},
19919         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size_sid,
19920           { "  Ndr Size Sid", "drsuapi.drsuapi_DsReplicaObjectIdentifier3.__ndr_size_sid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19921         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_local_usn,
19922           { "Local Usn", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.local_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19923         { &hf_drsuapi_drsuapi_DsReplicaConnection04_bind_guid,
19924           { "Bind Guid", "drsuapi.drsuapi_DsReplicaConnection04.bind_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19925         { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_reserved,
19926           { "Reserved", "drsuapi.drsuapi_DsReplicaKccDsaFailuresCtr.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19927         { &hf_drsuapi_drsuapi_DsAddEntryCtr2_count,
19928           { "Count", "drsuapi.drsuapi_DsAddEntryCtr2.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19929         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_id_matched,
19930           { "Id Matched", "drsuapi.drsuapi_DsAddEntryErrorInfo_Name_V1.id_matched", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19931         { &hf_drsuapi_drsuapi_DsReplicaAddRequest2_naming_context,
19932           { "Naming Context", "drsuapi.drsuapi_DsReplicaAddRequest2.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19933         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION,
19934           { "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 }},
19935         { &hf_drsuapi_drsuapi_DsBind_bind_handle,
19936           { "Bind Handle", "drsuapi.drsuapi_DsBind.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
19937         { &hf_drsuapi_drsuapi_DsReplica06Ctr_count,
19938           { "Count", "drsuapi.drsuapi_DsReplica06Ctr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19939         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_deleted,
19940           { "Deleted", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.deleted", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
19941         { &hf_drsuapi_drsuapi_DsBindInfo_info48_,
19942           { "Subcontext length", "drsuapi.drsuapi_DsBindInfo.subcontext", FT_UINT0, BASE_HEX, NULL, 0, NULL, HFILL }},
19943         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr_count,
19944           { "Count", "drsuapi.drsuapi_DsReplicaAttrValMetaDataCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19945         { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_value_dn_str,
19946           { "Value Dn Str", "drsuapi.drsuapi_DsReplicaGetInfoRequest2.value_dn_str", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19947         { &hf_drsuapi_drsuapi_DsReplicaObject_identifier,
19948           { "Identifier", "drsuapi.drsuapi_DsReplicaObject.identifier", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19949         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6___ndr_size,
19950           { "  Ndr Size", "drsuapi.drsuapi_DsGetNCChangesCtr6.__ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19951         { &hf_drsuapi_drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION,
19952           { "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 }},
19953         { &hf_drsuapi_drsuapi_DsGetDCInfo2_computer_dn,
19954           { "Computer Dn", "drsuapi.drsuapi_DsGetDCInfo2.computer_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19955         { &hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_address,
19956           { "Source Dsa Address", "drsuapi.drsuapi_DsReplicaAddRequest2.source_dsa_address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19957         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_usn,
19958           { "Originating Usn", "drsuapi.drsuapi_DsReplicaObjMetaData.originating_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
19959         { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_ts_,
19960           { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr1.subcontext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
19961         { &hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress1,
19962           { "Xpress1", "drsuapi.drsuapi_DsGetNCChangesCompressedCtr.xpress1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19963         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6TS_ctr6_,
19964           { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesCtr6TS.subcontext", FT_UINT0, BASE_HEX, NULL, 0, NULL, HFILL }},
19965         { &hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata2,
19966           { "Attrvalmetadata2", "drsuapi.drsuapi_DsReplicaInfo.attrvalmetadata2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19967         { &hf_drsuapi_drsuapi_DsBindInfoCtr_info,
19968           { "Info", "drsuapi.drsuapi_DsBindInfoCtr.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19969         { &hf_drsuapi_drsuapi_DsaAddressListItem_V1_address,
19970           { "Address", "drsuapi.drsuapi_DsaAddressListItem_V1.address", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19971         { &hf_drsuapi_drsuapi_DsReplicaDel_bind_handle,
19972           { "Bind Handle", "drsuapi.drsuapi_DsReplicaDel.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
19973         { &hf_drsuapi_drsuapi_DsGetDCInfo3_is_gc,
19974           { "Is Gc", "drsuapi.drsuapi_DsGetDCInfo3.is_gc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19975         { &hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip1,
19976           { "Mszip1", "drsuapi.drsuapi_DsGetNCChangesCompressedCtr.mszip1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19977         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_linked_attributes,
19978           { "Linked Attributes", "drsuapi.drsuapi_DsGetNCChangesCtr6.linked_attributes", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19979         { &hf_drsuapi_drsuapi_DsReplica06_str1,
19980           { "Str1", "drsuapi.drsuapi_DsReplica06.str1", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
19981         { &hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_array,
19982           { "Array", "drsuapi.drsuapi_DsReplicaConnection04Ctr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
19983         { &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2,
19984           { "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 }},
19985         { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_enumeration_context,
19986           { "Enumeration Context", "drsuapi.drsuapi_DsReplicaGetInfoRequest2.enumeration_context", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19987         { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_info_type,
19988           { "Info Type", "drsuapi.drsuapi_DsReplicaGetInfoRequest1.info_type", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsReplicaInfoType_vals), 0, NULL, HFILL }},
19989         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_invocation_id,
19990           { "Originating Invocation Id", "drsuapi.drsuapi_DsReplicaObjMetaData2.originating_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
19991         { &hf_drsuapi_drsuapi_DsGetDCInfo2_is_gc,
19992           { "Is Gc", "drsuapi.drsuapi_DsGetDCInfo2.is_gc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19993         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_USE_COMPRESSION,
19994           { "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 }},
19995         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_NC_SIZE,
19996           { "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 }},
19997         { &hf_drsuapi_drsuapi_DsReplicaConnection04_u5,
19998           { "U5", "drsuapi.drsuapi_DsReplicaConnection04.u5", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
19999         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_restart_data,
20000           { "Restart Data", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.restart_data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20001         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC,
20002           { "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 }},
20003         { &hf_drsuapi_drsuapi_DsExecuteKCCRequest_ctr1,
20004           { "Ctr1", "drsuapi.drsuapi_DsExecuteKCCRequest.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20005         { &hf_drsuapi_drsuapi_DsGetMembershipsRequest_req1,
20006           { "Req1", "drsuapi.drsuapi_DsGetMembershipsRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20007         { &hf_drsuapi_drsuapi_DsWriteAccountSpn_bind_handle,
20008           { "Bind Handle", "drsuapi.drsuapi_DsWriteAccountSpn.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20009         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_partial_attribute_set,
20010           { "Partial Attribute Set", "drsuapi.drsuapi_DsGetNCChangesRequest10.partial_attribute_set", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20011         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_flags,
20012           { "Flags", "drsuapi.drsuapi_DsGetNT4ChangeLogRequest1.flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20013         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_REQUEUE,
20014           { "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 }},
20015         { &hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr1,
20016           { "Ctr1", "drsuapi.drsuapi_DsGetDCInfoCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20017         { &hf_drsuapi_drsuapi_DsBindInfo28_repl_epoch,
20018           { "Repl Epoch", "drsuapi.drsuapi_DsBindInfo28.repl_epoch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20019         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_version,
20020           { "Version", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20021         { &hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_problem,
20022           { "Problem", "drsuapi.drsuapi_DsAddEntry_AttrErr_V1.problem", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
20023         { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_decompressed_length,
20024           { "Decompressed Length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr6.decompressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20025         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_partial_attribute_set_ex,
20026           { "Partial Attribute Set Ex", "drsuapi.drsuapi_DsGetNCChangesRequest10.partial_attribute_set_ex", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20027         { &hf_drsuapi_drsuapi_DsNameRequest1_count,
20028           { "Count", "drsuapi.drsuapi_DsNameRequest1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20029         { &hf_drsuapi_drsuapi_SupportedExtensionsExt_DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN,
20030           { "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 }},
20031         { &hf_drsuapi_drsuapi_DsReplicaOp_operation_start,
20032           { "Operation Start", "drsuapi.drsuapi_DsReplicaOp.operation_start", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
20033         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_TWOWAY_SYNC,
20034           { "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 }},
20035         { &hf_drsuapi_drsuapi_DsReplicaSync_bind_handle,
20036           { "Bind Handle", "drsuapi.drsuapi_DsReplicaSync.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20037         { &hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_object,
20038           { "Object", "drsuapi.drsuapi_DsReplicaObjectListItemEx.object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20039         { &hf_drsuapi_drsuapi_DsReplicaModRequest1_options,
20040           { "Options", "drsuapi.drsuapi_DsReplicaModRequest1.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20041         { &hf_drsuapi_drsuapi_QuerySitesByCostCtr1_info,
20042           { "Info", "drsuapi.drsuapi_QuerySitesByCostCtr1.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20043         { &hf_drsuapi_drsuapi_DsReplicaNeighbourCtr_reserved,
20044           { "Reserved", "drsuapi.drsuapi_DsReplicaNeighbourCtr.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20045         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8,
20046           { "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 }},
20047         { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn,
20048           { "Dsa Obj Dn", "drsuapi.drsuapi_DsReplicaKccDsaFailure.dsa_obj_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20049         { &hf_drsuapi_drsuapi_DsExecuteKCC1_flags,
20050           { "Flags", "drsuapi.drsuapi_DsExecuteKCC1.flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20051         { &hf_drsuapi_drsuapi_DsAddEntry_ctr,
20052           { "Ctr", "drsuapi.drsuapi_DsAddEntry.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20053         { &hf_drsuapi_drsuapi_DsGetMemberships_level,
20054           { "Level", "drsuapi.drsuapi_DsGetMemberships.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20055         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_reserved,
20056           { "Reserved", "drsuapi.drsuapi_DsReplicaNeighbour.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20057         { &hf_drsuapi_drsuapi_DsReplicaOp_nc_obj_guid,
20058           { "Nc Obj Guid", "drsuapi.drsuapi_DsReplicaOp.nc_obj_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20059         { &hf_drsuapi_drsuapi_DsNameRequest1_language,
20060           { "Language", "drsuapi.drsuapi_DsNameRequest1.language", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20061         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_more_data,
20062           { "More Data", "drsuapi.drsuapi_DsGetNCChangesCtr1.more_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20063         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn,
20064           { "Source Dsa Obj Dn", "drsuapi.drsuapi_DsReplicaNeighbour.source_dsa_obj_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20065         { &hf_drsuapi_drsuapi_DsGetDomainControllerInfo_req,
20066           { "Req", "drsuapi.drsuapi_DsGetDomainControllerInfo.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20067         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_PACKET,
20068           { "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 }},
20069         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_NOW,
20070           { "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 }},
20071         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS,
20072           { "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 }},
20073         { &hf_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr_mappings,
20074           { "Mappings", "drsuapi.drsuapi_DsReplicaOIDMapping_Ctr.mappings", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20075         { &hf_drsuapi_drsuapi_DsReplicaModRequest1_naming_context,
20076           { "Naming Context", "drsuapi.drsuapi_DsReplicaModRequest1.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20077         { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_next,
20078           { "Next", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.next", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20079         { &hf_drsuapi_drsuapi_DsReplicaAdd_bind_handle,
20080           { "Bind Handle", "drsuapi.drsuapi_DsReplicaAdd.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20081         { &hf_drsuapi_drsuapi_DsReplicaInfo_clientctx,
20082           { "Clientctx", "drsuapi.drsuapi_DsReplicaInfo.clientctx", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20083         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2_version,
20084           { "Version", "drsuapi.drsuapi_DsReplicaObjMetaData2.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20085         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS,
20086           { "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 }},
20087         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESERVED_PART3,
20088           { "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 }},
20089         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_count,
20090           { "Count", "drsuapi.drsuapi_DsReplicaObjMetaData2Ctr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20091         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_mapping_ctr,
20092           { "Mapping Ctr", "drsuapi.drsuapi_DsGetNCChangesCtr1.mapping_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20093         { &hf_drsuapi_drsuapi_DsNameString_str,
20094           { "Str", "drsuapi.drsuapi_DsNameString.str", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20095         { &hf_drsuapi_drsuapi_DsGetMemberships_req,
20096           { "Req", "drsuapi.drsuapi_DsGetMemberships.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20097         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_log_data,
20098           { "Log Data", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.log_data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20099         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_extended_data,
20100           { "Extended Data", "drsuapi.drsuapi_DsAddEntryErrorInfo_Referr_V1.extended_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20101         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1___ndr_size,
20102           { "  Ndr Size", "drsuapi.drsuapi_DsGetNCChangesCtr1.__ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20103         { &hf_drsuapi_drsuapi_DsWriteAccountSpn_level_out,
20104           { "Level Out", "drsuapi.drsuapi_DsWriteAccountSpn.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20105         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_invocation_id,
20106           { "Originating Invocation Id", "drsuapi.drsuapi_DsReplicaAttrValMetaData.originating_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20107         { &hf_drsuapi_drsuapi_DsReplicaOp_priority,
20108           { "Priority", "drsuapi.drsuapi_DsReplicaOp.priority", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20109         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2,
20110           { "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 }},
20111         { &hf_drsuapi_drsuapi_DsBindInfo_Fallback,
20112           { "Fallback", "drsuapi.drsuapi_DsBindInfo.Fallback", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20113         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_source_dsa_invocation_id,
20114           { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsGetNCChangesRequest10.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20115         { &hf_drsuapi_drsuapi_DsReplicaInfo_cursors3,
20116           { "Cursors3", "drsuapi.drsuapi_DsReplicaInfo.cursors3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20117         { &hf_drsuapi_drsuapi_DsGetDCInfo1_computer_dn,
20118           { "Computer Dn", "drsuapi.drsuapi_DsGetDCInfo1.computer_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20119         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_naming_context,
20120           { "Naming Context", "drsuapi.drsuapi_DsGetNCChangesRequest8.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20121         { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_ts,
20122           { "Ts", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr6.ts", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20123         { &hf_drsuapi_drsuapi_DsReplicaCursor2CtrEx_reserved2,
20124           { "Reserved2", "drsuapi.drsuapi_DsReplicaCursor2CtrEx.reserved2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20125         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_system_err,
20126           { "System Err", "drsuapi.drsuapi_DsAddEntryErrorInfo.system_err", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20127         { &hf_drsuapi_drsuapi_DsReplicaObject_flags,
20128           { "Flags", "drsuapi.drsuapi_DsReplicaObject.flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20129         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_preferred_maximum_length,
20130           { "Preferred Maximum Length", "drsuapi.drsuapi_DsGetNT4ChangeLogRequest1.preferred_maximum_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20131         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_restart_length,
20132           { "Restart Length", "drsuapi.drsuapi_DsGetNT4ChangeLogRequest1.restart_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20133         { &hf_drsuapi_drsuapi_DsGetDCInfo3_dns_name,
20134           { "Dns Name", "drsuapi.drsuapi_DsGetDCInfo3.dns_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20135         { &hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr3,
20136           { "Ctr3", "drsuapi.drsuapi_DsGetDCInfoCtr.ctr3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20137         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr_array,
20138           { "Array", "drsuapi.drsuapi_DsReplicaObjMetaData2Ctr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20139         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1,
20140           { "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 }},
20141         { &hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_count,
20142           { "Count", "drsuapi.drsuapi_DsWriteAccountSpnRequest1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20143         { &hf_drsuapi_drsuapi_DrsUpdate_DRSUAPI_DRS_UPDATE_SCHEDULE,
20144           { "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 }},
20145         { &hf_drsuapi_drsuapi_DsReplicaInfo_udv1,
20146           { "Udv1", "drsuapi.drsuapi_DsReplicaInfo.udv1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20147         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_sam_serial_number,
20148           { "Sam Serial Number", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.sam_serial_number", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
20149         { &hf_drsuapi_drsuapi_DsReplicaConnection04Ctr_reserved,
20150           { "Reserved", "drsuapi.drsuapi_DsReplicaConnection04Ctr.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20151         { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_identifier,
20152           { "Identifier", "drsuapi.drsuapi_DsReplicaLinkedAttribute.identifier", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20153         { &hf_drsuapi_drsuapi_DsGetMembershipsCtr1_info_array,
20154           { "Info Array", "drsuapi.drsuapi_DsGetMembershipsCtr1.info_array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20155         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_attribute_name,
20156           { "Attribute Name", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.attribute_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20157         { &hf_drsuapi_drsuapi_DsReplicaCursor3_last_sync_success,
20158           { "Last Sync Success", "drsuapi.drsuapi_DsReplicaCursor3.last_sync_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
20159         { &hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_server_dn,
20160           { "Server Dn", "drsuapi.drsuapi_DsRemoveDSServerRequest1.server_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20161         { &hf_drsuapi_drsuapi_DsNameCtr_ctr1,
20162           { "Ctr1", "drsuapi.drsuapi_DsNameCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20163         { &hf_drsuapi_drsuapi_DsGetDCConnectionCtr01_count,
20164           { "Count", "drsuapi.drsuapi_DsGetDCConnectionCtr01.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20165         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest_req5,
20166           { "Req5", "drsuapi.drsuapi_DsGetNCChangesRequest.req5", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20167         { &hf_drsuapi_drsuapi_DsGetDCInfo2_is_pdc,
20168           { "Is Pdc", "drsuapi.drsuapi_DsGetDCInfo2.is_pdc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20169         { &hf_drsuapi_drsuapi_DsReplicaMetaData_version,
20170           { "Version", "drsuapi.drsuapi_DsReplicaMetaData.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20171         { &hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_is_nc_prefix,
20172           { "Is Nc Prefix", "drsuapi.drsuapi_DsReplicaObjectListItemEx.is_nc_prefix", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20173         { &hf_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr_num_mappings,
20174           { "Num Mappings", "drsuapi.drsuapi_DsReplicaOIDMapping_Ctr.num_mappings", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20175         { &hf_drsuapi_drsuapi_DsAddEntryCtr_ctr2,
20176           { "Ctr2", "drsuapi.drsuapi_DsAddEntryCtr.ctr2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20177         { &hf_drsuapi_drsuapi_DsAttributeValue___ndr_size,
20178           { "  Ndr Size", "drsuapi.drsuapi_DsAttributeValue.__ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20179         { &hf_drsuapi_drsuapi_DsReplicaMod_level,
20180           { "Level", "drsuapi.drsuapi_DsReplicaMod.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20181         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_UPDATE_NOTIFICATION,
20182           { "Drsuapi Drs Update Notification", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_UPDATE_NOTIFICATION", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_UPDATE_NOTIFICATION_tfs), ( 0x00000002 ), NULL, HFILL }},
20183         { &hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata2,
20184           { "Objmetadata2", "drsuapi.drsuapi_DsReplicaInfo.objmetadata2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20185         { &hf_drsuapi_drsuapi_DsGetMembershipsRequest1_type,
20186           { "Type", "drsuapi.drsuapi_DsGetMembershipsRequest1.type", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsMembershipType_vals), 0, NULL, HFILL }},
20187         { &hf_drsuapi_drsuapi_DsBindInfo48_supported_extensions_ext,
20188           { "Supported Extensions Ext", "drsuapi.drsuapi_DsBindInfo48.supported_extensions_ext", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20189         { &hf_drsuapi_drsuapi_DsReplicaInfo_srvoutgoingcalls,
20190           { "Srvoutgoingcalls", "drsuapi.drsuapi_DsReplicaInfo.srvoutgoingcalls", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20191         { &hf_drsuapi_drsuapi_DsReplicaGetInfo_bind_handle,
20192           { "Bind Handle", "drsuapi.drsuapi_DsReplicaGetInfo.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20193         { &hf_drsuapi_drsuapi_DsAttributeValue_blob,
20194           { "Blob", "drsuapi.drsuapi_DsAttributeValue.blob", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20195         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_name_err,
20196           { "Name Err", "drsuapi.drsuapi_DsAddEntryErrorInfo.name_err", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20197         { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_count,
20198           { "Count", "drsuapi.drsuapi_DsReplicaKccDsaFailuresCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20199         { &hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_next_object,
20200           { "Next Object", "drsuapi.drsuapi_DsReplicaObjectListItemEx.next_object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20201         { &hf_drsuapi_drsuapi_DsAddEntryCtr_ctr3,
20202           { "Ctr3", "drsuapi.drsuapi_DsAddEntryCtr.ctr3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20203         { &hf_drsuapi_drsuapi_DsNameInfo1_dns_domain_name,
20204           { "Dns Domain Name", "drsuapi.drsuapi_DsNameInfo1.dns_domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20205         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_invocation_id,
20206           { "Originating Invocation Id", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.originating_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20207         { &hf_drsuapi_drsuapi_DsReplicaAddRequest_req2,
20208           { "Req2", "drsuapi.drsuapi_DsReplicaAddRequest.req2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20209         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context,
20210           { "Enumeration Context", "drsuapi.drsuapi_DsReplicaAttrValMetaData2Ctr.enumeration_context", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20211         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_BYNAME,
20212           { "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 }},
20213         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_object_count,
20214           { "Object Count", "drsuapi.drsuapi_DsGetNCChangesCtr1.object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20215         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_source_dsa_guid,
20216           { "Source Dsa Guid", "drsuapi.drsuapi_DsGetNCChangesCtr1.source_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20217         { &hf_drsuapi_drsuapi_DsReplicaCursor3Ctr_count,
20218           { "Count", "drsuapi.drsuapi_DsReplicaCursor3Ctr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20219         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_max_object_count,
20220           { "Max Object Count", "drsuapi.drsuapi_DsGetNCChangesRequest10.max_object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20221         { &hf_drsuapi_drsuapi_DsReplicaUpdateRefs_bind_handle,
20222           { "Bind Handle", "drsuapi.drsuapi_DsReplicaUpdateRefs.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20223         { &hf_drsuapi_drsuapi_DsReplica06_u1,
20224           { "U1", "drsuapi.drsuapi_DsReplica06.u1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20225         { &hf_drsuapi_drsuapi_DsGetDCInfo3_netbios_name,
20226           { "Netbios Name", "drsuapi.drsuapi_DsGetDCInfo3.netbios_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20227         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_replica_flags,
20228           { "Replica Flags", "drsuapi.drsuapi_DsReplicaNeighbour.replica_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20229         { &hf_drsuapi_drsuapi_DsReplicaCursorCtr_array,
20230           { "Array", "drsuapi.drsuapi_DsReplicaCursorCtr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20231         { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name,
20232           { "Dest Dsa Dns Name", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest1.dest_dsa_dns_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20233         { &hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_domain_dn,
20234           { "Domain Dn", "drsuapi.drsuapi_DsRemoveDSServerRequest1.domain_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20235         { &hf_drsuapi_drsuapi_DsGetDCInfo2_dns_name,
20236           { "Dns Name", "drsuapi.drsuapi_DsGetDCInfo2.dns_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20237         { &hf_drsuapi_drsuapi_DsGetDCInfo3_ntds_dn,
20238           { "Ntds Dn", "drsuapi.drsuapi_DsGetDCInfo3.ntds_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20239         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD,
20240           { "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 }},
20241         { &hf_drsuapi_drsuapi_DsWriteAccountSpnResult_res1,
20242           { "Res1", "drsuapi.drsuapi_DsWriteAccountSpnResult.res1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20243         { &hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_cursors,
20244           { "Cursors", "drsuapi.drsuapi_DsReplicaCursorCtrEx.cursors", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20245         { &hf_drsuapi_drsuapi_QuerySitesByCost_ctr,
20246           { "Ctr", "drsuapi.drsuapi_QuerySitesByCost.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20247         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_usn,
20248           { "Originating Usn", "drsuapi.drsuapi_DsReplicaAttrValMetaData.originating_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
20249         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size,
20250           { "  Ndr Size", "drsuapi.drsuapi_DsReplicaObjectIdentifier3.__ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20251         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY,
20252           { "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 }},
20253         { &hf_drsuapi_drsuapi_DsGetMemberships_level_out,
20254           { "Level Out", "drsuapi.drsuapi_DsGetMemberships.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20255         { &hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_attid,
20256           { "Attid", "drsuapi.drsuapi_DsAddEntry_AttrErr_V1.attid", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsAttributeId_vals), 0, NULL, HFILL }},
20257         { &hf_drsuapi_drsuapi_DsReplicaObjectFlags_DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC,
20258           { "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 }},
20259         { &hf_drsuapi_drsuapi_DsGetMemberships2Request1_req_array,
20260           { "Req Array", "drsuapi.drsuapi_DsGetMemberships2Request1.req_array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20261         { &hf_drsuapi_drsuapi_DsGetMemberships2_level_out,
20262           { "Level Out", "drsuapi.drsuapi_DsGetMemberships2.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20263         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_last_attempt,
20264           { "Last Attempt", "drsuapi.drsuapi_DsReplicaNeighbour.last_attempt", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
20265         { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_attid,
20266           { "Attid", "drsuapi.drsuapi_DsReplicaLinkedAttribute.attid", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsAttributeId_vals), 0, NULL, HFILL }},
20267         { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6_ts,
20268           { "Ts", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr6.ts", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20269         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10,
20270           { "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 }},
20271         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI,
20272           { "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 }},
20273         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_source_dsa_invocation_id,
20274           { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsGetNCChangesCtr1.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20275         { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_ts,
20276           { "Ts", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr1.ts", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20277         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr7_ctr,
20278           { "Ctr", "drsuapi.drsuapi_DsGetNCChangesCtr7.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20279         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1TS_ctr1,
20280           { "Ctr1", "drsuapi.drsuapi_DsGetNCChangesCtr1TS.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20281         { &hf_drsuapi_drsuapi_DsGetDCInfo3_computer_dn,
20282           { "Computer Dn", "drsuapi.drsuapi_DsGetDCInfo3.computer_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20283         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLog_level,
20284           { "Level", "drsuapi.drsuapi_DsGetNT4ChangeLog.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20285         { &hf_drsuapi_drsuapi_DsGetMemberships2_bind_handle,
20286           { "Bind Handle", "drsuapi.drsuapi_DsGetMemberships2.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20287         { &hf_drsuapi_drsuapi_DsGetDCInfo3_is_rodc,
20288           { "Is Rodc", "drsuapi.drsuapi_DsGetDCInfo3.is_rodc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20289         { &hf_drsuapi_drsuapi_DsAddEntryRequest3_first_object,
20290           { "First Object", "drsuapi.drsuapi_DsAddEntryRequest3.first_object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20291         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid,
20292           { "Source Dsa Obj Guid", "drsuapi.drsuapi_DsReplicaNeighbour.source_dsa_obj_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20293         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr7,
20294           { "Ctr7", "drsuapi.drsuapi_DsGetNCChangesCtr.ctr7", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20295         { &hf_drsuapi_drsuapi_DsaAddressListItem_V1_next,
20296           { "Next", "drsuapi.drsuapi_DsaAddressListItem_V1.next", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20297         { &hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_array,
20298           { "Array", "drsuapi.drsuapi_DsReplicaCursor2Ctr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20299         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_extended_err,
20300           { "Extended Err", "drsuapi.drsuapi_DsAddEntryErrorInfo_Referr_V1.extended_err", FT_UINT32, BASE_DEC, VALS(WERR_errors), 0, NULL, HFILL }},
20301         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_MAIL_REP,
20302           { "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 }},
20303         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_source_dsa_invocation_id,
20304           { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsGetNCChangesRequest5.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20305         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_highest_usn,
20306           { "Highest Usn", "drsuapi.drsuapi_DsReplicaNeighbour.highest_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
20307         { &hf_drsuapi_drsuapi_DsPartialAttributeSet_num_attids,
20308           { "Num Attids", "drsuapi.drsuapi_DsPartialAttributeSet.num_attids", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20309         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_change_time,
20310           { "Originating Change Time", "drsuapi.drsuapi_DsReplicaObjMetaData.originating_change_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
20311         { &hf_drsuapi_drsuapi_DsReplicaInfo_attrvalmetadata,
20312           { "Attrvalmetadata", "drsuapi.drsuapi_DsReplicaInfo.attrvalmetadata", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20313         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_sid,
20314           { "  Ndr Size Sid", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.__ndr_size_sid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20315         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_uptodateness_vector,
20316           { "Uptodateness Vector", "drsuapi.drsuapi_DsGetNCChangesRequest10.uptodateness_vector", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20317         { &hf_drsuapi_drsuapi_DsWriteAccountSpnRequest_req1,
20318           { "Req1", "drsuapi.drsuapi_DsWriteAccountSpnRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20319         { &hf_drsuapi_drsuapi_DsRemoveDSServerRequest_req1,
20320           { "Req1", "drsuapi.drsuapi_DsRemoveDSServerRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20321         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_destination_dsa_guid,
20322           { "Destination Dsa Guid", "drsuapi.drsuapi_DsGetNCChangesRequest10.destination_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20323         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3,
20324           { "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 }},
20325         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_extended_op,
20326           { "Extended Op", "drsuapi.drsuapi_DsGetNCChangesRequest5.extended_op", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsExtendedOperation_vals), 0, NULL, HFILL }},
20327         { &hf_drsuapi_drsuapi_DsAddEntryCtr2_objects,
20328           { "Objects", "drsuapi.drsuapi_DsAddEntryCtr2.objects", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20329         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_originating_change_time,
20330           { "Originating Change Time", "drsuapi.drsuapi_DsReplicaAttrValMetaData.originating_change_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
20331         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3___ndr_size_dn,
20332           { "  Ndr Size Dn", "drsuapi.drsuapi_DsReplicaObjectIdentifier3.__ndr_size_dn", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20333         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_drs_error,
20334           { "Drs Error", "drsuapi.drsuapi_DsGetNCChangesCtr6.drs_error", FT_UINT32, BASE_DEC, VALS(WERR_errors), 0, NULL, HFILL }},
20335         { &hf_drsuapi_drsuapi_DsExecuteKCCFlags_DRSUAPI_DS_EXECUTE_KCC_DAMPED,
20336           { "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 }},
20337         { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest_req2,
20338           { "Req2", "drsuapi.drsuapi_DsReplicaGetInfoRequest.req2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20339         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_extended_err,
20340           { "Extended Err", "drsuapi.drsuapi_DsAddEntryErrorInfo_Name_V1.extended_err", FT_UINT32, BASE_DEC, VALS(WERR_errors), 0, NULL, HFILL }},
20341         { &hf_drsuapi_drsuapi_DsBindInfo48_supported_extensions,
20342           { "Supported Extensions", "drsuapi.drsuapi_DsBindInfo48.supported_extensions", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20343         { &hf_drsuapi_drsuapi_DsGetNCChanges_bind_handle,
20344           { "Bind Handle", "drsuapi.drsuapi_DsGetNCChanges.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20345         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_attribute_name,
20346           { "Attribute Name", "drsuapi.drsuapi_DsReplicaAttrValMetaData.attribute_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20347         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_extended_data,
20348           { "Extended Data", "drsuapi.drsuapi_DsAddEntryErrorInfo_Name_V1.extended_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20349         { &hf_drsuapi_drsuapi_DsReplicaCursor3_source_dsa_invocation_id,
20350           { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsReplicaCursor3.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20351         { &hf_drsuapi_drsuapi_DsReplicaOp_operation_type,
20352           { "Operation Type", "drsuapi.drsuapi_DsReplicaOp.operation_type", FT_UINT1632, BASE_DEC, VALS(drsuapi_drsuapi_DsReplicaOpType_vals), 0, NULL, HFILL }},
20353         { &hf_drsuapi_drsuapi_DsGetDCInfoRequest1_domain_name,
20354           { "Domain Name", "drsuapi.drsuapi_DsGetDCInfoRequest1.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20355         { &hf_drsuapi_drsuapi_DsReplicaAddRequest1_schedule,
20356           { "Schedule", "drsuapi.drsuapi_DsReplicaAddRequest1.schedule", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20357         { &hf_drsuapi_drsuapi_DsAddEntryRequest3_client_creds,
20358           { "Client Creds", "drsuapi.drsuapi_DsAddEntryRequest3.client_creds", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20359         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLog_bind_handle,
20360           { "Bind Handle", "drsuapi.drsuapi_DsGetNT4ChangeLog.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20361         { &hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_operation,
20362           { "Operation", "drsuapi.drsuapi_DsWriteAccountSpnRequest1.operation", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsSpnOperation_vals), 0, NULL, HFILL }},
20363         { &hf_drsuapi_drsuapi_DsGetDCInfo3_server_guid,
20364           { "Server Guid", "drsuapi.drsuapi_DsGetDCInfo3.server_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20365         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_local_usn,
20366           { "Local Usn", "drsuapi.drsuapi_DsReplicaAttrValMetaData.local_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
20367         { &hf_drsuapi_drsuapi_DsAddEntryCtr3_err_ver,
20368           { "Err Ver", "drsuapi.drsuapi_DsAddEntryCtr3.err_ver", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20369         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_IGNORE_ERROR,
20370           { "Drsuapi Drs Ignore Error", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_IGNORE_ERROR", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_IGNORE_ERROR_tfs), ( 0x00000100 ), NULL, HFILL }},
20371         { &hf_drsuapi_drsuapi_DsReplicaInfo_linkfailures,
20372           { "Linkfailures", "drsuapi.drsuapi_DsReplicaInfo.linkfailures", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20373         { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_info_type,
20374           { "Info Type", "drsuapi.drsuapi_DsReplicaGetInfoRequest2.info_type", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsReplicaInfoType_vals), 0, NULL, HFILL }},
20375         { &hf_drsuapi_drsuapi_DsReplicaHighWaterMark_tmp_highest_usn,
20376           { "Tmp Highest Usn", "drsuapi.drsuapi_DsReplicaHighWaterMark.tmp_highest_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
20377         { &hf_drsuapi_drsuapi_DsBindInfo_info48,
20378           { "Info48", "drsuapi.drsuapi_DsBindInfo.info48", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20379         { &hf_drsuapi_drsuapi_DsGetDCInfo1_is_pdc,
20380           { "Is Pdc", "drsuapi.drsuapi_DsGetDCInfo1.is_pdc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20381         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_dsid,
20382           { "Dsid", "drsuapi.drsuapi_DsAddEntryErrorInfo_Name_V1.dsid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20383         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_dsa_dn,
20384           { "Originating Dsa Dn", "drsuapi.drsuapi_DsReplicaObjMetaData2.originating_dsa_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20385         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_created,
20386           { "Created", "drsuapi.drsuapi_DsReplicaAttrValMetaData.created", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
20387         { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_flags,
20388           { "Flags", "drsuapi.drsuapi_DsReplicaGetInfoRequest2.flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20389         { &hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_unknown1,
20390           { "Unknown1", "drsuapi.drsuapi_DsWriteAccountSpnRequest1.unknown1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20391         { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid,
20392           { "Dsa Obj Guid", "drsuapi.drsuapi_DsReplicaKccDsaFailure.dsa_obj_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20393         { &hf_drsuapi_drsuapi_DsBindInfo_info28,
20394           { "Info28", "drsuapi.drsuapi_DsBindInfo.info28", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20395         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_CHANGELOG,
20396           { "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 }},
20397         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfoX_extended_data,
20398           { "Extended Data", "drsuapi.drsuapi_DsAddEntryErrorInfoX.extended_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20399         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2,
20400           { "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 }},
20401         { &hf_drsuapi_drsuapi_DsExecuteKCC_req,
20402           { "Req", "drsuapi.drsuapi_DsExecuteKCC.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20403         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_naming_context_dn,
20404           { "Naming Context Dn", "drsuapi.drsuapi_DsReplicaNeighbour.naming_context_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20405         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2,
20406           { "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 }},
20407         { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1_decompressed_length,
20408           { "Decompressed Length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr1.decompressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20409         { &hf_drsuapi_drsuapi_DsReplicaInfo_cursors,
20410           { "Cursors", "drsuapi.drsuapi_DsReplicaInfo.cursors", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20411         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest_req1,
20412           { "Req1", "drsuapi.drsuapi_DsGetNT4ChangeLogRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20413         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION,
20414           { "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 }},
20415         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_mapping_ctr,
20416           { "Mapping Ctr", "drsuapi.drsuapi_DsGetNCChangesRequest10.mapping_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20417         { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailure_first_failure,
20418           { "First Failure", "drsuapi.drsuapi_DsReplicaKccDsaFailure.first_failure", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
20419         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_fsmo_info,
20420           { "Fsmo Info", "drsuapi.drsuapi_DsGetNCChangesRequest10.fsmo_info", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
20421         { &hf_drsuapi_drsuapi_DsBindInfo_Fallback_,
20422           { "Subcontext length", "drsuapi.drsuapi_DsBindInfo.subcontext", FT_UINT0, BASE_HEX, NULL, 0, NULL, HFILL }},
20423         { &hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_status,
20424           { "Status", "drsuapi.drsuapi_DsAddEntry_ErrData_V1.status", FT_UINT32, BASE_DEC, VALS(WERR_errors), 0, NULL, HFILL }},
20425         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLog_req,
20426           { "Req", "drsuapi.drsuapi_DsGetNT4ChangeLog.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20427         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_address,
20428           { "Source Dsa Address", "drsuapi.drsuapi_DsReplicaNeighbour.source_dsa_address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20429         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_created,
20430           { "Created", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.created", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
20431         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_NOTIFY,
20432           { "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 }},
20433         { &hf_drsuapi_drsuapi_DsBindInfo24_supported_extensions,
20434           { "Supported Extensions", "drsuapi.drsuapi_DsBindInfo24.supported_extensions", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20435         { &hf_drsuapi_drsuapi_DsReplicaCursorCtr_count,
20436           { "Count", "drsuapi.drsuapi_DsReplicaCursorCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20437         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_replica_flags,
20438           { "Replica Flags", "drsuapi.drsuapi_DsGetNCChangesRequest5.replica_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20439         { &hf_drsuapi_drsuapi_DsNameRequest1_format_desired,
20440           { "Format Desired", "drsuapi.drsuapi_DsNameRequest1.format_desired", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsNameFormat_vals), 0, NULL, HFILL }},
20441         { &hf_drsuapi_drsuapi_DsBindInfoFallBack_info,
20442           { "Info", "drsuapi.drsuapi_DsBindInfoFallBack.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20443         { &hf_drsuapi_drsuapi_DsAttributeValueCtr_values,
20444           { "Values", "drsuapi.drsuapi_DsAttributeValueCtr.values", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20445         { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_object_dn,
20446           { "Object Dn", "drsuapi.drsuapi_DsReplicaGetInfoRequest2.object_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20447         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_sid,
20448           { "Sid", "drsuapi.drsuapi_DsReplicaObjectIdentifier.sid", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20449         { &hf_drsuapi_drsuapi_DsAddEntryCtr2_extended_data,
20450           { "Extended Data", "drsuapi.drsuapi_DsAddEntryCtr2.extended_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20451         { &hf_drsuapi_drsuapi_DsReplicaGetInfo_level,
20452           { "Level", "drsuapi.drsuapi_DsReplicaGetInfo.level", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsReplicaGetInfoLevel_vals), 0, NULL, HFILL }},
20453         { &hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_xpress6,
20454           { "Xpress6", "drsuapi.drsuapi_DsGetNCChangesCompressedCtr.xpress6", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20455         { &hf_drsuapi_drsuapi_DsReplicaSyncRequest1_naming_context,
20456           { "Naming Context", "drsuapi.drsuapi_DsReplicaSyncRequest1.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20457         { &hf_drsuapi_drsuapi_DsGetDCInfo2_netbios_name,
20458           { "Netbios Name", "drsuapi.drsuapi_DsGetDCInfo2.netbios_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20459         { &hf_drsuapi_drsuapi_DsReplica06_u3,
20460           { "U3", "drsuapi.drsuapi_DsReplica06.u3", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20461         { &hf_drsuapi_drsuapi_DsReplicaLinkedAttribute_flags,
20462           { "Flags", "drsuapi.drsuapi_DsReplicaLinkedAttribute.flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20463         { &hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_spn_names,
20464           { "Spn Names", "drsuapi.drsuapi_DsWriteAccountSpnRequest1.spn_names", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20465         { &hf_drsuapi_drsuapi_QuerySitesByCostRequest_req1,
20466           { "Req1", "drsuapi.drsuapi_QuerySitesByCostRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20467         { &hf_drsuapi_drsuapi_DsAttributeValueCtr_num_values,
20468           { "Num Values", "drsuapi.drsuapi_DsAttributeValueCtr.num_values", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20469         { &hf_drsuapi_drsuapi_DsRemoveDSServerRequest1_commit,
20470           { "Commit", "drsuapi.drsuapi_DsRemoveDSServerRequest1.commit", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20471         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_SYNC_FORCED,
20472           { "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 }},
20473         { &hf_drsuapi_drsuapi_DsReplicaObjectListItemEx_parent_object_guid,
20474           { "Parent Object Guid", "drsuapi.drsuapi_DsReplicaObjectListItemEx.parent_object_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20475         { &hf_drsuapi_drsuapi_DsReplicaDelRequest_req1,
20476           { "Req1", "drsuapi.drsuapi_DsReplicaDelRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20477         { &hf_drsuapi_drsuapi_DsGetDomainControllerInfo_ctr,
20478           { "Ctr", "drsuapi.drsuapi_DsGetDomainControllerInfo.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20479         { &hf_drsuapi_drsuapi_DsBindInfo48_site_guid,
20480           { "Site Guid", "drsuapi.drsuapi_DsBindInfo48.site_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20481         { &hf_drsuapi_drsuapi_DsReplicaAttribute_value_ctr,
20482           { "Value Ctr", "drsuapi.drsuapi_DsReplicaAttribute.value_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20483         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr7_level,
20484           { "Level", "drsuapi.drsuapi_DsGetNCChangesCtr7.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20485         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NEVER_SYNCED,
20486           { "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 }},
20487         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size_sid,
20488           { "  Ndr Size Sid", "drsuapi.drsuapi_DsReplicaObjectIdentifier.__ndr_size_sid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20489         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_more_data,
20490           { "More Data", "drsuapi.drsuapi_DsGetNCChangesCtr6.more_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20491         { &hf_drsuapi_drsuapi_NameResOp_V1_name_res,
20492           { "Name Res", "drsuapi.drsuapi_NameResOp_V1.name_res", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
20493         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY,
20494           { "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 }},
20495         { &hf_drsuapi_drsuapi_DsGetDCInfo3_ntds_guid,
20496           { "Ntds Guid", "drsuapi.drsuapi_DsGetDCInfo3.ntds_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20497         { &hf_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr_array,
20498           { "Array", "drsuapi.drsuapi_DsReplicaKccDsaFailuresCtr.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20499         { &hf_drsuapi_drsuapi_DsReplicaMetaDataCtr_meta_data,
20500           { "Meta Data", "drsuapi.drsuapi_DsReplicaMetaDataCtr.meta_data", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20501         { &hf_drsuapi_drsuapi_DsReplicaAddRequest2_schedule,
20502           { "Schedule", "drsuapi.drsuapi_DsReplicaAddRequest2.schedule", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20503         { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1_options,
20504           { "Options", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest1.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20505         { &hf_drsuapi_drsuapi_DsExecuteKCC_level,
20506           { "Level", "drsuapi.drsuapi_DsExecuteKCC.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20507         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr_ctr2,
20508           { "Ctr2", "drsuapi.drsuapi_DsGetNCChangesCtr.ctr2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20509         { &hf_drsuapi_drsuapi_DsGetDCConnection01_client_account,
20510           { "Client Account", "drsuapi.drsuapi_DsGetDCConnection01.client_account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20511         { &hf_drsuapi_drsuapi_DsCrackNames_level_out,
20512           { "Level Out", "drsuapi.drsuapi_DsCrackNames.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20513         { &hf_drsuapi_drsuapi_SecBufferDesc_buff_count,
20514           { "Buff Count", "drsuapi.drsuapi_SecBufferDesc.buff_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20515         { &hf_drsuapi_drsuapi_DsReplicaSync_req,
20516           { "Req", "drsuapi.drsuapi_DsReplicaSync.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20517         { &hf_drsuapi_drsuapi_DsReplica06Ctr_reserved,
20518           { "Reserved", "drsuapi.drsuapi_DsReplica06Ctr.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20519         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1_problem,
20520           { "Problem", "drsuapi.drsuapi_DsAddEntryErrorInfo_Name_V1.problem", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
20521         { &hf_drsuapi_drsuapi_DsReplicaCursor2_source_dsa_invocation_id,
20522           { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsReplicaCursor2.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20523         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION,
20524           { "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 }},
20525         { &hf_drsuapi_drsuapi_DsGetDCInfo2_site_guid,
20526           { "Site Guid", "drsuapi.drsuapi_DsGetDCInfo2.site_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20527         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_nc_linked_attributes_count,
20528           { "Nc Linked Attributes Count", "drsuapi.drsuapi_DsGetNCChangesCtr6.nc_linked_attributes_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20529         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size_dn,
20530           { "  Ndr Size Dn", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.__ndr_size_dn", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20531         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1_id,
20532           { "Id", "drsuapi.drsuapi_DsAddEntryErrorInfo_Attr_V1.id", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20533         { &hf_drsuapi_drsuapi_DsWriteAccountSpn_req,
20534           { "Req", "drsuapi.drsuapi_DsWriteAccountSpn.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20535         { &hf_drsuapi_drsuapi_DsPartialAttributeSet_reserved1,
20536           { "Reserved1", "drsuapi.drsuapi_DsPartialAttributeSet.reserved1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20537         { &hf_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1_next,
20538           { "Next", "drsuapi.drsuapi_DsAddEntry_AttrErrListItem_V1.next", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20539         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_restart_length,
20540           { "Restart Length", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.restart_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20541         { &hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_dir_err,
20542           { "Dir Err", "drsuapi.drsuapi_DsAddEntry_ErrData_V1.dir_err", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsAddEntry_DirErr_vals), 0, NULL, HFILL }},
20543         { &hf_drsuapi_drsuapi_DsReplicaGetInfo_info,
20544           { "Info", "drsuapi.drsuapi_DsReplicaGetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20545         { &hf_drsuapi_drsuapi_DsAddEntryCtr3_err_data,
20546           { "Err Data", "drsuapi.drsuapi_DsAddEntryCtr3.err_data", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20547         { &hf_drsuapi_drsuapi_DsGetDCConnection01_connection_time,
20548           { "Connection Time", "drsuapi.drsuapi_DsGetDCConnection01.connection_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20549         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_attr_err,
20550           { "Attr Err", "drsuapi.drsuapi_DsAddEntryErrorInfo.attr_err", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20551         { &hf_drsuapi_drsuapi_NameResOp_V1_next_rdn,
20552           { "Next Rdn", "drsuapi.drsuapi_NameResOp_V1.next_rdn", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
20553         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_naming_context,
20554           { "Naming Context", "drsuapi.drsuapi_DsGetNCChangesRequest5.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20555         { &hf_drsuapi_drsuapi_DsGetMemberships2_ctr,
20556           { "Ctr", "drsuapi.drsuapi_DsGetMemberships2.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20557         { &hf_drsuapi_drsuapi_DsGetMembershipsRequest1_count,
20558           { "Count", "drsuapi.drsuapi_DsGetMembershipsRequest1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20559         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NO_SOURCE,
20560           { "Drsuapi Drs No Source", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_NO_SOURCE", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_NO_SOURCE_tfs), ( 0x00008000 ), NULL, HFILL }},
20561         { &hf_drsuapi_drsuapi_DsGetDCInfo1_netbios_name,
20562           { "Netbios Name", "drsuapi.drsuapi_DsGetDCInfo1.netbios_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20563         { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_rdn_internal,
20564           { "Rdn Internal", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.rdn_internal", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
20565         { &hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_ctrl_array,
20566           { "Ctrl Array", "drsuapi.drsuapi_DsGetMemberships2Ctr1.ctrl_array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20567         { &hf_drsuapi_drsuapi_DsReplicaSyncRequest1_options,
20568           { "Options", "drsuapi.drsuapi_DsReplicaSyncRequest1.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20569         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_guid,
20570           { "Guid", "drsuapi.drsuapi_DsReplicaObjectIdentifier.guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20571         { &hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_attr_val,
20572           { "Attr Val", "drsuapi.drsuapi_DsAddEntry_AttrErr_V1.attr_val", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20573         { &hf_drsuapi_drsuapi_DsReplicaInfo_objmetadata,
20574           { "Objmetadata", "drsuapi.drsuapi_DsReplicaInfo.objmetadata", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20575         { &hf_drsuapi_drsuapi_DsReplicaConnection04_bind_time,
20576           { "Bind Time", "drsuapi.drsuapi_DsReplicaConnection04.bind_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
20577         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1_restart_data,
20578           { "Restart Data", "drsuapi.drsuapi_DsGetNT4ChangeLogRequest1.restart_data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20579         { &hf_drsuapi_drsuapi_DsGetDCInfo1_dns_name,
20580           { "Dns Name", "drsuapi.drsuapi_DsGetDCInfo1.dns_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20581         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_new_highwatermark,
20582           { "New Highwatermark", "drsuapi.drsuapi_DsGetNCChangesCtr6.new_highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20583         { &hf_drsuapi_drsuapi_DsReplicaMetaData_originating_invocation_id,
20584           { "Originating Invocation Id", "drsuapi.drsuapi_DsReplicaMetaData.originating_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20585         { &hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_version,
20586           { "Version", "drsuapi.drsuapi_DsReplicaCursorCtrEx.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20587         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_NO_DISCARD,
20588           { "Drsuapi Drs No Discard", "drsuapi.drsuapi_DrsOptions.DRSUAPI_DRS_NO_DISCARD", FT_BOOLEAN, 32, TFS(&drsuapi_DrsOptions_DRSUAPI_DRS_NO_DISCARD_tfs), ( 0x00100000 ), NULL, HFILL }},
20589         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_binary,
20590           { "Binary", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.binary", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20591         { &hf_drsuapi_drsuapi_DsReplicaCursor_highest_usn,
20592           { "Highest Usn", "drsuapi.drsuapi_DsReplicaCursor.highest_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
20593         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE,
20594           { "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 }},
20595         { &hf_drsuapi_drsuapi_DsReplicaConnection04_u3,
20596           { "U3", "drsuapi.drsuapi_DsReplicaConnection04.u3", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20597         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData_originating_invocation_id,
20598           { "Originating Invocation Id", "drsuapi.drsuapi_DsReplicaObjMetaData.originating_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20599         { &hf_drsuapi_drsuapi_DsGetNCChanges_req,
20600           { "Req", "drsuapi.drsuapi_DsGetNCChanges.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20601         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_lsa_creation_time,
20602           { "Lsa Creation Time", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.lsa_creation_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
20603         { &hf_drsuapi_drsuapi_DsReplicaUpdateRefs_req,
20604           { "Req", "drsuapi.drsuapi_DsReplicaUpdateRefs.req", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20605         { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_is_choice_set,
20606           { "Is Choice Set", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.is_choice_set", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20607         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_linked_attributes_count,
20608           { "Linked Attributes Count", "drsuapi.drsuapi_DsGetNCChangesCtr6.linked_attributes_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20609         { &hf_drsuapi_drsuapi_DsRemoveDSServerResult_res1,
20610           { "Res1", "drsuapi.drsuapi_DsRemoveDSServerResult.res1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20611         { &hf_drsuapi_drsuapi_DsReplicaSyncRequest_req1,
20612           { "Req1", "drsuapi.drsuapi_DsReplicaSyncRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20613         { &hf_drsuapi_drsuapi_DsBindInfo48_config_dn_guid,
20614           { "Config Dn Guid", "drsuapi.drsuapi_DsBindInfo48.config_dn_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20615         { &hf_drsuapi_drsuapi_DsAddEntryRequest_req2,
20616           { "Req2", "drsuapi.drsuapi_DsAddEntryRequest.req2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20617         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_naming_context,
20618           { "Naming Context", "drsuapi.drsuapi_DsGetNCChangesRequest10.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20619         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_max_ndr_size,
20620           { "Max Ndr Size", "drsuapi.drsuapi_DsGetNCChangesRequest5.max_ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20621         { &hf_drsuapi_drsuapi_DsReplicaAttributeCtr_num_attributes,
20622           { "Num Attributes", "drsuapi.drsuapi_DsReplicaAttributeCtr.num_attributes", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20623         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_mapping_ctr,
20624           { "Mapping Ctr", "drsuapi.drsuapi_DsGetNCChangesCtr6.mapping_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20625         { &hf_drsuapi_drsuapi_DsWriteAccountSpnRequest1_object_dn,
20626           { "Object Dn", "drsuapi.drsuapi_DsWriteAccountSpnRequest1.object_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20627         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS,
20628           { "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 }},
20629         { &hf_drsuapi_drsuapi_DsGetMembershipsCtr1_num_sids,
20630           { "Num Sids", "drsuapi.drsuapi_DsGetMembershipsCtr1.num_sids", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20631         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr7_type,
20632           { "Type", "drsuapi.drsuapi_DsGetNCChangesCtr7.type", FT_UINT1632, BASE_DEC, VALS(drsuapi_drsuapi_DsGetNCChangesCompressionType_vals), 0, NULL, HFILL }},
20633         { &hf_drsuapi_drsuapi_DsAddEntry_ErrData_v1,
20634           { "V1", "drsuapi.drsuapi_DsAddEntry_ErrData.v1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20635         { &hf_drsuapi_drsuapi_DsReplicaConnection04_client_ip_address,
20636           { "Client Ip Address", "drsuapi.drsuapi_DsReplicaConnection04.client_ip_address", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20637         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS,
20638           { "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 }},
20639         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION,
20640           { "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 }},
20641         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP,
20642           { "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 }},
20643         { &hf_drsuapi_drsuapi_DsGetNCChanges_level_out,
20644           { "Level Out", "drsuapi.drsuapi_DsGetNCChanges.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20645         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP,
20646           { "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 }},
20647         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_object_count,
20648           { "Object Count", "drsuapi.drsuapi_DsGetNCChangesCtr6.object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20649         { &hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_to,
20650           { "Site To", "drsuapi.drsuapi_QuerySitesByCostRequest1.site_to", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20651         { &hf_drsuapi_drsuapi_DsGetDCInfoCtr1_count,
20652           { "Count", "drsuapi.drsuapi_DsGetDCInfoCtr1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20653         { &hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_extended_data,
20654           { "Extended Data", "drsuapi.drsuapi_DsAddEntry_AttrErr_V1.extended_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20655         { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_choice,
20656           { "Choice", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.choice", FT_UINT8, BASE_DEC, VALS(drsuapi_drsuapi_DsAddEntry_ChoiceType_vals), 0, NULL, HFILL }},
20657         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest5_fsmo_info,
20658           { "Fsmo Info", "drsuapi.drsuapi_DsGetNCChangesRequest5.fsmo_info", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
20659         { &hf_drsuapi_drsuapi_DsReplicaMetaData_originating_usn,
20660           { "Originating Usn", "drsuapi.drsuapi_DsReplicaMetaData.originating_usn", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
20661         { &hf_drsuapi_drsuapi_DsReplicaModRequest1_source_dra_address,
20662           { "Source Dra Address", "drsuapi.drsuapi_DsReplicaModRequest1.source_dra_address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20663         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_lsa_serial_number,
20664           { "Lsa Serial Number", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.lsa_serial_number", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
20665         { &hf_drsuapi_drsuapi_SecBufferDesc_version,
20666           { "Version", "drsuapi.drsuapi_SecBufferDesc.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20667         { &hf_drsuapi_drsuapi_DsPartialAttributeSet_version,
20668           { "Version", "drsuapi.drsuapi_DsPartialAttributeSet.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20669         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary_guid,
20670           { "Guid", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20671         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_uptodateness_vector,
20672           { "Uptodateness Vector", "drsuapi.drsuapi_DsGetNCChangesRequest8.uptodateness_vector", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20673         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier___ndr_size,
20674           { "  Ndr Size", "drsuapi.drsuapi_DsReplicaObjectIdentifier.__ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20675         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6TS_ctr6,
20676           { "Ctr6", "drsuapi.drsuapi_DsGetNCChangesCtr6TS.ctr6", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20677         { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_addr_list_count,
20678           { "Addr List Count", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.addr_list_count", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
20679         { &hf_drsuapi_drsuapi_DsReplicaMetaDataCtr_count,
20680           { "Count", "drsuapi.drsuapi_DsReplicaMetaDataCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20681         { &hf_drsuapi_drsuapi_DsReplicaOp_options,
20682           { "Options", "drsuapi.drsuapi_DsReplicaOp.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20683         { &hf_drsuapi_drsuapi_DsReplicaObjectListItem_object,
20684           { "Object", "drsuapi.drsuapi_DsReplicaObjectListItem.object", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20685         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3_dn,
20686           { "Dn", "drsuapi.drsuapi_DsReplicaObjectIdentifier3.dn", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
20687         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_replica_flags,
20688           { "Replica Flags", "drsuapi.drsuapi_DsGetNCChangesRequest8.replica_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20689         { &hf_drsuapi_drsuapi_DsGetDCConnection01_client_ip_address,
20690           { "Client Ip Address", "drsuapi.drsuapi_DsGetDCConnection01.client_ip_address", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20691         { &hf_drsuapi_drsuapi_QuerySitesByCost_level,
20692           { "Level", "drsuapi.drsuapi_QuerySitesByCost.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20693         { &hf_drsuapi_drsuapi_DsReplicaObjMetaData2_originating_change_time,
20694           { "Originating Change Time", "drsuapi.drsuapi_DsReplicaObjMetaData2.originating_change_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
20695         { &hf_drsuapi_drsuapi_DsWriteAccountSpn_res,
20696           { "Res", "drsuapi.drsuapi_DsWriteAccountSpn.res", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20697         { &hf_drsuapi_drsuapi_DsReplicaAddRequest1_options,
20698           { "Options", "drsuapi.drsuapi_DsReplicaAddRequest1.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20699         { &hf_drsuapi_drsuapi_DsAddEntry_AttrErr_V1_is_val_returned,
20700           { "Is Val Returned", "drsuapi.drsuapi_DsAddEntry_AttrErr_V1.is_val_returned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20701         { &hf_drsuapi_drsuapi_DsReplicaObject_attribute_ctr,
20702           { "Attribute Ctr", "drsuapi.drsuapi_DsReplicaObject.attribute_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20703         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_naming_context,
20704           { "Naming Context", "drsuapi.drsuapi_DsGetNCChangesCtr6.naming_context", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20705         { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_attribute_name,
20706           { "Attribute Name", "drsuapi.drsuapi_DsReplicaGetInfoRequest2.attribute_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20707         { &hf_drsuapi_drsuapi_QuerySitesByCostRequest1_num_req,
20708           { "Num Req", "drsuapi.drsuapi_QuerySitesByCostRequest1.num_req", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20709         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id,
20710           { "Source Dsa Invocation Id", "drsuapi.drsuapi_DsReplicaNeighbour.source_dsa_invocation_id", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20711         { &hf_drsuapi_drsuapi_DsReplicaAddRequest2_options,
20712           { "Options", "drsuapi.drsuapi_DsReplicaAddRequest2.options", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20713         { &hf_drsuapi_drsuapi_DsReplicaOID_binary_oid,
20714           { "Binary Oid", "drsuapi.drsuapi_DsReplicaOID.binary_oid", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20715         { &hf_drsuapi_drsuapi_DsGetMembershipsCtr1_status,
20716           { "Status", "drsuapi.drsuapi_DsGetMembershipsCtr1.status", FT_UINT32, BASE_DEC, VALS(NT_errors), 0, NULL, HFILL }},
20717         { &hf_drsuapi_drsuapi_DsReplicaOIDMapping_id_prefix,
20718           { "Id Prefix", "drsuapi.drsuapi_DsReplicaOIDMapping.id_prefix", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20719         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_REP,
20720           { "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 }},
20721         { &hf_drsuapi_drsuapi_QuerySitesByCostRequest1_flags,
20722           { "Flags", "drsuapi.drsuapi_QuerySitesByCostRequest1.flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20723         { &hf_drsuapi_drsuapi_DsNameRequest1_codepage,
20724           { "Codepage", "drsuapi.drsuapi_DsNameRequest1.codepage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20725         { &hf_drsuapi_drsuapi_DsRemoveDSServer_level_out,
20726           { "Level Out", "drsuapi.drsuapi_DsRemoveDSServer.level_out", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20727         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData_version,
20728           { "Version", "drsuapi.drsuapi_DsReplicaAttrValMetaData.version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20729         { &hf_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6_compressed_length,
20730           { "Compressed Length", "drsuapi.drsuapi_DsGetNCChangesXPRESSCtr6.compressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20731         { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_op_state,
20732           { "Op State", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.op_state", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20733         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6,
20734           { "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 }},
20735         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary___ndr_size,
20736           { "  Ndr Size", "drsuapi.drsuapi_DsReplicaObjectIdentifier3Binary.__ndr_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20737         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_INIT_SYNC_NOW,
20738           { "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 }},
20739         { &hf_drsuapi_drsuapi_DsBindInfo28_pid,
20740           { "Pid", "drsuapi.drsuapi_DsBindInfo28.pid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20741         { &hf_drsuapi_drsuapi_SecBuffer_buf_size,
20742           { "Buf Size", "drsuapi.drsuapi_SecBuffer.buf_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20743         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_destination_dsa_guid,
20744           { "Destination Dsa Guid", "drsuapi.drsuapi_DsGetNCChangesRequest8.destination_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20745         { &hf_drsuapi_drsuapi_DsReplicaOp_remote_dsa_obj_guid,
20746           { "Remote Dsa Obj Guid", "drsuapi.drsuapi_DsReplicaOp.remote_dsa_obj_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20747         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr6_nc_object_count,
20748           { "Nc Object Count", "drsuapi.drsuapi_DsGetNCChangesCtr6.nc_object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20749         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest_req8,
20750           { "Req8", "drsuapi.drsuapi_DsGetNCChangesRequest.req8", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20751         { &hf_drsuapi_drsuapi_DsAddEntry_ErrData_V1_info,
20752           { "Info", "drsuapi.drsuapi_DsAddEntry_ErrData_V1.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20753         { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest1_source_dsa_guid,
20754           { "Source Dsa Guid", "drsuapi.drsuapi_DsReplicaGetInfoRequest1.source_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20755         { &hf_drsuapi_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_dn,
20756           { "Originating Dsa Dn", "drsuapi.drsuapi_DsReplicaAttrValMetaData2.originating_dsa_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20757         { &hf_drsuapi_drsuapi_DsNameInfo1_result_name,
20758           { "Result Name", "drsuapi.drsuapi_DsNameInfo1.result_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20759         { &hf_drsuapi_drsuapi_DsBindInfo48_pid,
20760           { "Pid", "drsuapi.drsuapi_DsBindInfo48.pid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20761         { &hf_drsuapi_drsuapi_DsRemoveDSServer_bind_handle,
20762           { "Bind Handle", "drsuapi.drsuapi_DsRemoveDSServer.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20763         { &hf_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1_rdn_alias,
20764           { "Rdn Alias", "drsuapi.drsuapi_DsAddEntry_RefErrListItem_V1.rdn_alias", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
20765         { &hf_drsuapi_drsuapi_DsGetMemberships2Ctr_ctr1,
20766           { "Ctr1", "drsuapi.drsuapi_DsGetMemberships2Ctr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20767         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogFlags_DRSUAPI_NT4_CHANGELOG_GET_SERIAL_NUMBERS,
20768           { "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 }},
20769         { &hf_drsuapi_drsuapi_DsReplicaObjectIdentifier_dn,
20770           { "Dn", "drsuapi.drsuapi_DsReplicaObjectIdentifier.dn", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
20771         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5,
20772           { "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 }},
20773         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_result_last_attempt,
20774           { "Result Last Attempt", "drsuapi.drsuapi_DsReplicaNeighbour.result_last_attempt", FT_UINT32, BASE_DEC, VALS(WERR_errors), 0, NULL, HFILL }},
20775         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1_new_highwatermark,
20776           { "New Highwatermark", "drsuapi.drsuapi_DsGetNCChangesCtr1.new_highwatermark", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20777         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_log_length,
20778           { "Log Length", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.log_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20779         { &hf_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1_status,
20780           { "Status", "drsuapi.drsuapi_DsGetNT4ChangeLogInfo1.status", FT_UINT32, BASE_DEC, VALS(NT_errors), 0, NULL, HFILL }},
20781         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ASYNC_OP,
20782           { "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 }},
20783         { &hf_drsuapi_drsuapi_DsAddEntryRequest_req3,
20784           { "Req3", "drsuapi.drsuapi_DsAddEntryRequest.req3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20785         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest8_max_object_count,
20786           { "Max Object Count", "drsuapi.drsuapi_DsGetNCChangesRequest8.max_object_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20787         { &hf_drsuapi_drsuapi_DsGetDCInfo2_site_dn,
20788           { "Site Dn", "drsuapi.drsuapi_DsGetDCInfo2.site_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20789         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_more_flags,
20790           { "More Flags", "drsuapi.drsuapi_DsGetNCChangesRequest10.more_flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20791         { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_compressed_length,
20792           { "Compressed Length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr1.compressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20793         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT,
20794           { "Drsuapi Supported Extension Verify Object", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT_tfs), ( 0x08000000 ), NULL, HFILL }},
20795         { &hf_drsuapi_drsuapi_DsGetNCChangesCompressedCtr_mszip6,
20796           { "Mszip6", "drsuapi.drsuapi_DsGetNCChangesCompressedCtr.mszip6", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20797         { &hf_drsuapi_drsuapi_DsReplicaCursorCtrEx_reserved1,
20798           { "Reserved1", "drsuapi.drsuapi_DsReplicaCursorCtrEx.reserved1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20799         { &hf_drsuapi_drsuapi_DsGetDCInfoCtr1_array,
20800           { "Array", "drsuapi.drsuapi_DsGetDCInfoCtr1.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20801         { &hf_drsuapi_drsuapi_DsNameRequest_req1,
20802           { "Req1", "drsuapi.drsuapi_DsNameRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20803         { &hf_drsuapi_drsuapi_DsGetNCChangesCtr1TS_ctr1_,
20804           { "Subcontext length", "drsuapi.drsuapi_DsGetNCChangesCtr1TS.subcontext", FT_UINT0, BASE_HEX, NULL, 0, NULL, HFILL }},
20805         { &hf_drsuapi_drsuapi_DsGetDCInfoCtr_ctr01,
20806           { "Ctr01", "drsuapi.drsuapi_DsGetDCInfoCtr.ctr01", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20807         { &hf_drsuapi_drsuapi_DsReplicaMod_bind_handle,
20808           { "Bind Handle", "drsuapi.drsuapi_DsReplicaMod.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20809         { &hf_drsuapi_drsuapi_DsReplicaGetInfoRequest2_source_dsa_guid,
20810           { "Source Dsa Guid", "drsuapi.drsuapi_DsReplicaGetInfoRequest2.source_dsa_guid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
20811         { &hf_drsuapi_drsuapi_QuerySitesByCostCtr_ctr1,
20812           { "Ctr1", "drsuapi.drsuapi_QuerySitesByCostCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20813         { &hf_drsuapi_drsuapi_DsGetMemberships2Ctr1_num_entries,
20814           { "Num Entries", "drsuapi.drsuapi_DsGetMemberships2Ctr1.num_entries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20815         { &hf_drsuapi_drsuapi_DsReplicaUpdateRefsRequest_req1,
20816           { "Req1", "drsuapi.drsuapi_DsReplicaUpdateRefsRequest.req1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20817         { &hf_drsuapi_drsuapi_DsGetDCInfo3_site_dn,
20818           { "Site Dn", "drsuapi.drsuapi_DsGetDCInfo3.site_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20819         { &hf_drsuapi_drsuapi_NameResOp_V1_unused_pad,
20820           { "Unused Pad", "drsuapi.drsuapi_NameResOp_V1.unused_pad", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
20821         { &hf_drsuapi_drsuapi_DsGetMemberships_bind_handle,
20822           { "Bind Handle", "drsuapi.drsuapi_DsGetMemberships.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20823         { &hf_drsuapi_drsuapi_DsAddEntryCtr3_count,
20824           { "Count", "drsuapi.drsuapi_DsAddEntryCtr3.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20825         { &hf_drsuapi_drsuapi_DsGetNCChangesRequest10_replica_flags,
20826           { "Replica Flags", "drsuapi.drsuapi_DsGetNCChangesRequest10.replica_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20827         { &hf_drsuapi_drsuapi_DsReplicaAddRequest2_source_dsa_dn,
20828           { "Source Dsa Dn", "drsuapi.drsuapi_DsReplicaAddRequest2.source_dsa_dn", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20829         { &hf_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1_dsid,
20830           { "Dsid", "drsuapi.drsuapi_DsAddEntryErrorInfo_Referr_V1.dsid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20831         { &hf_drsuapi_drsuapi_DsAddEntryCtr2_id,
20832           { "Id", "drsuapi.drsuapi_DsAddEntryCtr2.id", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20833         { &hf_drsuapi_drsuapi_DsGetDCConnection01_unknown6,
20834           { "Unknown6", "drsuapi.drsuapi_DsGetDCConnection01.unknown6", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20835         { &hf_drsuapi_drsuapi_QuerySitesByCost_bind_handle,
20836           { "Bind Handle", "drsuapi.drsuapi_QuerySitesByCost.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20837         { &hf_drsuapi_drsuapi_DsReplicaOp_nc_dn,
20838           { "Nc Dn", "drsuapi.drsuapi_DsReplicaOp.nc_dn", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20839         { &hf_drsuapi_drsuapi_QuerySitesByCostRequest1_site_from,
20840           { "Site From", "drsuapi.drsuapi_QuerySitesByCostRequest1.site_from", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20841         { &hf_drsuapi_drsuapi_DsReplicaMetaData_originating_change_time,
20842           { "Originating Change Time", "drsuapi.drsuapi_DsReplicaMetaData.originating_change_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
20843         { &hf_drsuapi_drsuapi_DsGetMembershipsCtr_ctr1,
20844           { "Ctr1", "drsuapi.drsuapi_DsGetMembershipsCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20845         { &hf_drsuapi_drsuapi_DrsOptions_DRSUAPI_DRS_ADD_REF,
20846           { "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 }},
20847         { &hf_drsuapi_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7,
20848           { "Drsuapi Supported Extension Getchgreply V7", "drsuapi.drsuapi_SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7", FT_BOOLEAN, 32, TFS(&drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7_tfs), ( 0x08000000 ), NULL, HFILL }},
20849         { &hf_drsuapi_drsuapi_DsReplicaNeighbour_last_success,
20850           { "Last Success", "drsuapi.drsuapi_DsReplicaNeighbour.last_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
20851         { &hf_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1_decompressed_length,
20852           { "Decompressed Length", "drsuapi.drsuapi_DsGetNCChangesMSZIPCtr1.decompressed_length", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20853         { &hf_drsuapi_drsuapi_DsAddEntryCtr2_dsid,
20854           { "Dsid", "drsuapi.drsuapi_DsAddEntryCtr2.dsid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20855         { &hf_drsuapi_drsuapi_DsGetNCChanges_level,
20856           { "Level", "drsuapi.drsuapi_DsGetNCChanges.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20857         { &hf_drsuapi_drsuapi_DsReplicaAttribute_attid,
20858           { "Attid", "drsuapi.drsuapi_DsReplicaAttribute.attid", FT_UINT32, BASE_DEC, VALS(drsuapi_drsuapi_DsAttributeId_vals), 0, NULL, HFILL }},
20859         { &hf_drsuapi_drsuapi_DsGetDomainControllerInfo_bind_handle,
20860           { "Bind Handle", "drsuapi.drsuapi_DsGetDomainControllerInfo.bind_handle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20861         { &hf_drsuapi_drsuapi_DsBind_bind_info,
20862           { "Bind Info", "drsuapi.drsuapi_DsBind.bind_info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20863         { &hf_drsuapi_drsuapi_DsReplicaCursor2Ctr_enumeration_context,
20864           { "Enumeration Context", "drsuapi.drsuapi_DsReplicaCursor2Ctr.enumeration_context", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20865         };
20866
20867
20868         static gint *ett[] = {
20869                 &ett_dcerpc_drsuapi,
20870                 &ett_drsuapi_samr_GroupAttrs,
20871                 &ett_drsuapi_drsuapi_DrsOptions,
20872                 &ett_drsuapi_drsuapi_DrsUpdate,
20873                 &ett_drsuapi_drsuapi_SupportedExtensions,
20874                 &ett_drsuapi_drsuapi_SupportedExtensionsExt,
20875                 &ett_drsuapi_drsuapi_DsBindInfo24,
20876                 &ett_drsuapi_drsuapi_DsBindInfo28,
20877                 &ett_drsuapi_drsuapi_DsBindInfo48,
20878                 &ett_drsuapi_drsuapi_DsBindInfoFallBack,
20879                 &ett_drsuapi_drsuapi_DsBindInfo,
20880                 &ett_drsuapi_drsuapi_DsBindInfoCtr,
20881                 &ett_drsuapi_drsuapi_DsReplicaObjectIdentifier,
20882                 &ett_drsuapi_drsuapi_DsReplicaSyncRequest1,
20883                 &ett_drsuapi_drsuapi_DsReplicaSyncRequest,
20884                 &ett_drsuapi_drsuapi_DsReplicaHighWaterMark,
20885                 &ett_drsuapi_drsuapi_DsReplicaCursor,
20886                 &ett_drsuapi_drsuapi_DsReplicaCursorCtrEx,
20887                 &ett_drsuapi_drsuapi_DsGetNCChangesRequest5,
20888                 &ett_drsuapi_drsuapi_DsReplicaOID,
20889                 &ett_drsuapi_drsuapi_DsReplicaOIDMapping,
20890                 &ett_drsuapi_drsuapi_DsReplicaOIDMapping_Ctr,
20891                 &ett_drsuapi_drsuapi_DsPartialAttributeSet,
20892                 &ett_drsuapi_drsuapi_DsGetNCChangesRequest8,
20893                 &ett_drsuapi_drsuapi_DsGetNCChangesRequest10,
20894                 &ett_drsuapi_drsuapi_DsGetNCChangesRequest,
20895                 &ett_drsuapi_drsuapi_DsReplicaCursor2,
20896                 &ett_drsuapi_drsuapi_DsReplicaCursor2CtrEx,
20897                 &ett_drsuapi_drsuapi_DsAttributeValue,
20898                 &ett_drsuapi_drsuapi_DsAttributeValueCtr,
20899                 &ett_drsuapi_drsuapi_DsReplicaObjectIdentifier3,
20900                 &ett_drsuapi_drsuapi_DsReplicaObjectIdentifier3Binary,
20901                 &ett_drsuapi_drsuapi_DsReplicaAttribute,
20902                 &ett_drsuapi_drsuapi_DsReplicaAttributeCtr,
20903                 &ett_drsuapi_drsuapi_DsReplicaObjectFlags,
20904                 &ett_drsuapi_drsuapi_DsReplicaObject,
20905                 &ett_drsuapi_drsuapi_DsReplicaMetaData,
20906                 &ett_drsuapi_drsuapi_DsReplicaMetaDataCtr,
20907                 &ett_drsuapi_drsuapi_DsReplicaObjectListItemEx,
20908                 &ett_drsuapi_drsuapi_DsGetNCChangesCtr1,
20909                 &ett_drsuapi_drsuapi_DsLinkedAttributeFlags,
20910                 &ett_drsuapi_drsuapi_DsReplicaLinkedAttribute,
20911                 &ett_drsuapi_drsuapi_DsGetNCChangesCtr6,
20912                 &ett_drsuapi_drsuapi_DsGetNCChangesCtr1TS,
20913                 &ett_drsuapi_drsuapi_DsGetNCChangesCtr6TS,
20914                 &ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr1,
20915                 &ett_drsuapi_drsuapi_DsGetNCChangesMSZIPCtr6,
20916                 &ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr1,
20917                 &ett_drsuapi_drsuapi_DsGetNCChangesXPRESSCtr6,
20918                 &ett_drsuapi_drsuapi_DsGetNCChangesCompressedCtr,
20919                 &ett_drsuapi_drsuapi_DsGetNCChangesCtr2,
20920                 &ett_drsuapi_drsuapi_DsGetNCChangesCtr7,
20921                 &ett_drsuapi_drsuapi_DsGetNCChangesCtr,
20922                 &ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest1,
20923                 &ett_drsuapi_drsuapi_DsReplicaUpdateRefsRequest,
20924                 &ett_drsuapi_drsuapi_DsReplicaAddRequest1,
20925                 &ett_drsuapi_drsuapi_DsReplicaAddRequest2,
20926                 &ett_drsuapi_drsuapi_DsReplicaAddRequest,
20927                 &ett_drsuapi_drsuapi_DsReplicaDelRequest1,
20928                 &ett_drsuapi_drsuapi_DsReplicaDelRequest,
20929                 &ett_drsuapi_drsuapi_DsReplicaModRequest1,
20930                 &ett_drsuapi_drsuapi_DsReplicaModRequest,
20931                 &ett_drsuapi_drsuapi_DsGetMembershipsCtr1,
20932                 &ett_drsuapi_drsuapi_DsGetMembershipsCtr,
20933                 &ett_drsuapi_drsuapi_DsGetMembershipsRequest1,
20934                 &ett_drsuapi_drsuapi_DsGetMembershipsRequest,
20935                 &ett_drsuapi_drsuapi_DsGetNT4ChangeLogFlags,
20936                 &ett_drsuapi_drsuapi_DsGetNT4ChangeLogRequest1,
20937                 &ett_drsuapi_drsuapi_DsGetNT4ChangeLogRequest,
20938                 &ett_drsuapi_drsuapi_DsGetNT4ChangeLogInfo1,
20939                 &ett_drsuapi_drsuapi_DsGetNT4ChangeLogInfo,
20940                 &ett_drsuapi_drsuapi_DsNameString,
20941                 &ett_drsuapi_drsuapi_DsNameRequest1,
20942                 &ett_drsuapi_drsuapi_DsNameRequest,
20943                 &ett_drsuapi_drsuapi_DsNameInfo1,
20944                 &ett_drsuapi_drsuapi_DsNameCtr1,
20945                 &ett_drsuapi_drsuapi_DsNameCtr,
20946                 &ett_drsuapi_drsuapi_DsWriteAccountSpnRequest1,
20947                 &ett_drsuapi_drsuapi_DsWriteAccountSpnRequest,
20948                 &ett_drsuapi_drsuapi_DsWriteAccountSpnResult1,
20949                 &ett_drsuapi_drsuapi_DsWriteAccountSpnResult,
20950                 &ett_drsuapi_drsuapi_DsRemoveDSServerRequest1,
20951                 &ett_drsuapi_drsuapi_DsRemoveDSServerRequest,
20952                 &ett_drsuapi_drsuapi_DsRemoveDSServerResult1,
20953                 &ett_drsuapi_drsuapi_DsRemoveDSServerResult,
20954                 &ett_drsuapi_drsuapi_DsGetDCInfoRequest1,
20955                 &ett_drsuapi_drsuapi_DsGetDCInfoRequest,
20956                 &ett_drsuapi_drsuapi_DsGetDCInfo1,
20957                 &ett_drsuapi_drsuapi_DsGetDCInfoCtr1,
20958                 &ett_drsuapi_drsuapi_DsGetDCInfo2,
20959                 &ett_drsuapi_drsuapi_DsGetDCInfoCtr2,
20960                 &ett_drsuapi_drsuapi_DsGetDCInfo3,
20961                 &ett_drsuapi_drsuapi_DsGetDCInfoCtr3,
20962                 &ett_drsuapi_drsuapi_DsGetDCConnection01,
20963                 &ett_drsuapi_drsuapi_DsGetDCConnectionCtr01,
20964                 &ett_drsuapi_drsuapi_DsGetDCInfoCtr,
20965                 &ett_drsuapi_drsuapi_DsReplicaObjectListItem,
20966                 &ett_drsuapi_drsuapi_DsAddEntryRequest2,
20967                 &ett_drsuapi_drsuapi_SecBuffer,
20968                 &ett_drsuapi_drsuapi_SecBufferDesc,
20969                 &ett_drsuapi_drsuapi_DsAddEntryRequest3,
20970                 &ett_drsuapi_drsuapi_DsAddEntryRequest,
20971                 &ett_drsuapi_drsuapi_DsAddEntryErrorInfoX,
20972                 &ett_drsuapi_drsuapi_DsAddEntry_AttrErr_V1,
20973                 &ett_drsuapi_drsuapi_DsAddEntry_AttrErrListItem_V1,
20974                 &ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Attr_V1,
20975                 &ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Name_V1,
20976                 &ett_drsuapi_drsuapi_NameResOp_V1,
20977                 &ett_drsuapi_drsuapi_DsaAddressListItem_V1,
20978                 &ett_drsuapi_drsuapi_DsAddEntry_RefErrListItem_V1,
20979                 &ett_drsuapi_drsuapi_DsAddEntryErrorInfo_Referr_V1,
20980                 &ett_drsuapi_drsuapi_DsAddEntryErrorInfo,
20981                 &ett_drsuapi_drsuapi_DsAddEntry_ErrData_V1,
20982                 &ett_drsuapi_drsuapi_DsAddEntry_ErrData,
20983                 &ett_drsuapi_drsuapi_DsReplicaObjectIdentifier2,
20984                 &ett_drsuapi_drsuapi_DsAddEntryCtr2,
20985                 &ett_drsuapi_drsuapi_DsAddEntryCtr3,
20986                 &ett_drsuapi_drsuapi_DsAddEntryCtr,
20987                 &ett_drsuapi_drsuapi_DsExecuteKCCFlags,
20988                 &ett_drsuapi_drsuapi_DsExecuteKCC1,
20989                 &ett_drsuapi_drsuapi_DsExecuteKCCRequest,
20990                 &ett_drsuapi_drsuapi_DsReplicaGetInfoRequest1,
20991                 &ett_drsuapi_drsuapi_DsReplicaGetInfoRequest2,
20992                 &ett_drsuapi_drsuapi_DsReplicaGetInfoRequest,
20993                 &ett_drsuapi_drsuapi_DsReplicaNeighbour,
20994                 &ett_drsuapi_drsuapi_DsReplicaNeighbourCtr,
20995                 &ett_drsuapi_drsuapi_DsReplicaCursorCtr,
20996                 &ett_drsuapi_drsuapi_DsReplicaObjMetaData,
20997                 &ett_drsuapi_drsuapi_DsReplicaObjMetaDataCtr,
20998                 &ett_drsuapi_drsuapi_DsReplicaKccDsaFailure,
20999                 &ett_drsuapi_drsuapi_DsReplicaKccDsaFailuresCtr,
21000                 &ett_drsuapi_drsuapi_DsReplicaOp,
21001                 &ett_drsuapi_drsuapi_DsReplicaOpCtr,
21002                 &ett_drsuapi_drsuapi_DsReplicaAttrValMetaData,
21003                 &ett_drsuapi_drsuapi_DsReplicaAttrValMetaDataCtr,
21004                 &ett_drsuapi_drsuapi_DsReplicaCursor2Ctr,
21005                 &ett_drsuapi_drsuapi_DsReplicaCursor3,
21006                 &ett_drsuapi_drsuapi_DsReplicaCursor3Ctr,
21007                 &ett_drsuapi_drsuapi_DsReplicaObjMetaData2,
21008                 &ett_drsuapi_drsuapi_DsReplicaObjMetaData2Ctr,
21009                 &ett_drsuapi_drsuapi_DsReplicaAttrValMetaData2,
21010                 &ett_drsuapi_drsuapi_DsReplicaAttrValMetaData2Ctr,
21011                 &ett_drsuapi_drsuapi_DsReplicaConnection04,
21012                 &ett_drsuapi_drsuapi_DsReplicaConnection04Ctr,
21013                 &ett_drsuapi_drsuapi_DsReplica06,
21014                 &ett_drsuapi_drsuapi_DsReplica06Ctr,
21015                 &ett_drsuapi_drsuapi_DsReplicaInfo,
21016                 &ett_drsuapi_drsuapi_DsGetMemberships2Ctr1,
21017                 &ett_drsuapi_drsuapi_DsGetMemberships2Ctr,
21018                 &ett_drsuapi_drsuapi_DsGetMemberships2Request1,
21019                 &ett_drsuapi_drsuapi_DsGetMemberships2Request,
21020                 &ett_drsuapi_drsuapi_DsSiteCostInfo,
21021                 &ett_drsuapi_drsuapi_QuerySitesByCostCtr1,
21022                 &ett_drsuapi_drsuapi_QuerySitesByCostCtr,
21023                 &ett_drsuapi_drsuapi_QuerySitesByCostRequest1,
21024                 &ett_drsuapi_drsuapi_QuerySitesByCostRequest,
21025         };
21026
21027         proto_dcerpc_drsuapi = proto_register_protocol("Active Directory Replication", "DRSUAPI", "drsuapi");
21028         proto_register_field_array(proto_dcerpc_drsuapi, hf, array_length (hf));
21029         proto_register_subtree_array(ett, array_length(ett));
21030 }
21031
21032 void proto_reg_handoff_dcerpc_drsuapi(void)
21033 {
21034         dcerpc_init_uuid(proto_dcerpc_drsuapi, ett_dcerpc_drsuapi,
21035                 &uuid_dcerpc_drsuapi, ver_dcerpc_drsuapi,
21036                 drsuapi_dissectors, hf_drsuapi_opnum);
21037 }