Document the new Copy Profile button.
[obnox/wireshark/wip.git] / epan / dissectors / packet-dcerpc-drsuapi.c
1 /* DO NOT EDIT
2  * This dissector is autogenerated
3  */
4
5 /* packet-dcerpc-drsuapi.c
6  * Routines for DRSUAPI packet disassembly
7  *   ronnie sahlberg 2005
8  *
9  * $Id$
10  *
11  * Wireshark - Network traffic analyzer
12  * By Gerald Combs <gerald@wireshark.org>
13  * Copyright 1998 Gerald Combs
14  *
15  * This program is free software; you can redistribute it and/or
16  * modify it under the terms of the GNU General Public License
17  * as published by the Free Software Foundation; either version 2
18  * of the License, or (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23  * GNU General Public License for more details.
24  *
25  * You should have received a copy of the GNU General Public License
26  * along with this program; if not, write to the Free Software
27  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
28  */
29
30 #ifdef HAVE_CONFIG_H
31 #include "config.h"
32 #endif
33
34 #include <glib.h>
35 #include <string.h>
36
37 #include <epan/packet.h>
38 #include "packet-dcerpc.h"
39 #include "packet-dcerpc-nt.h"
40 #include "packet-windows-common.h"
41 #include "packet-dcerpc-drsuapi.h"
42
43 static int proto_drsuapi = -1;
44 static int hf_drsuapi_DsReplicaSyncRequest1Info_nc_dn = -1;
45
46
47 /* INCLUDED FILE : ETH_HF */
48 static int hf_drsuapi_opnum = -1;
49 static int hf_drsuapi_rc = -1;
50 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE = -1;
51 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION = -1;
52 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI = -1;
53 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 = -1;
54 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS = -1;
55 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 = -1;
56 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION = -1;
57 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00000080 = -1;
58 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE = -1;
59 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 = -1;
60 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION = -1;
61 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 = -1;
62 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD = -1;
63 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND = -1;
64 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO = -1;
65 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION = -1;
66 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 = -1;
67 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP = -1;
68 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY = -1;
69 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 = -1;
70 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00100000 = -1;
71 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 = -1;
72 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 = -1;
73 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS = -1;
74 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 = -1;
75 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 = -1;
76 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 = -1;
77 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 = -1;
78 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7 = -1;
79 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT = -1;
80 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS = -1;
81 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_20000000 = -1;
82 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_40000000 = -1;
83 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_80000000 = -1;
84 static int hf_drsuapi_DsBindInfo24_supported_extensions = -1;
85 static int hf_drsuapi_DsBindInfo24_site_guid = -1;
86 static int hf_drsuapi_DsBindInfo24_u1 = -1;
87 static int hf_drsuapi_DsBindInfo28_supported_extensions = -1;
88 static int hf_drsuapi_DsBindInfo28_site_guid = -1;
89 static int hf_drsuapi_DsBindInfo28_u1 = -1;
90 static int hf_drsuapi_DsBindInfo28_repl_epoch = -1;
91 static int hf_drsuapi_DsBindInfo_24_info24 = -1;
92 static int hf_drsuapi_DsBindInfo_28_info28 = -1;
93 static int hf_drsuapi_DsBindInfoCtr_length = -1;
94 static int hf_drsuapi_DsBindInfoCtr_info = -1;
95 static int hf_drsuapi_DsBind_bind_guid = -1;
96 static int hf_drsuapi_DsBind_bind_info = -1;
97 static int hf_drsuapi_DsBind_bind_handle = -1;
98 static int hf_drsuapi_DsUnbind_bind_handle = -1;
99 static int hf_drsuapi_DsReplicaSyncRequest1Info_unknown1 = -1;
100 static int hf_drsuapi_DsReplicaSyncRequest1Info_unknown2 = -1;
101 static int hf_drsuapi_DsReplicaSyncRequest1Info_guid1 = -1;
102 static int hf_drsuapi_DsReplicaSyncRequest1Info_byte_array = -1;
103 static int hf_drsuapi_DsReplicaSyncRequest1Info_str_len = -1;
104 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION = -1;
105 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_WRITEABLE = -1;
106 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PERIODIC = -1;
107 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING = -1;
108 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES = -1;
109 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL = -1;
110 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_URGENT = -1;
111 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD = -1;
112 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FORCE = -1;
113 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE = -1;
114 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED = -1;
115 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_TWO_WAY = -1;
116 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY = -1;
117 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL = -1;
118 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION = -1;
119 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ABANDONED = -1;
120 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS = -1;
121 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET = -1;
122 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_REQUEUE = -1;
123 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION = -1;
124 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA = -1;
125 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_CRITICAL = -1;
126 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS = -1;
127 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PREEMPTED = -1;
128 static int hf_drsuapi_DsReplicaSyncRequest1_info = -1;
129 static int hf_drsuapi_DsReplicaSyncRequest1_guid1 = -1;
130 static int hf_drsuapi_DsReplicaSyncRequest1_string1 = -1;
131 static int hf_drsuapi_DsReplicaSyncRequest1_options = -1;
132 static int hf_drsuapi_DsReplicaSyncRequest_1_req1 = -1;
133 static int hf_drsuapi_DsReplicaSync_bind_handle = -1;
134 static int hf_drsuapi_DsReplicaSync_level = -1;
135 static int hf_drsuapi_DsReplicaSync_req = -1;
136 static int hf_drsuapi_DsGetNCChangesUsnTriple_usn1 = -1;
137 static int hf_drsuapi_DsGetNCChangesUsnTriple_usn2 = -1;
138 static int hf_drsuapi_DsGetNCChangesUsnTriple_usn3 = -1;
139 static int hf_drsuapi_DsReplicaCoursor_source_dsa_invocation_id = -1;
140 static int hf_drsuapi_DsReplicaCoursor_highest_usn = -1;
141 static int hf_drsuapi_DsReplicaCoursor05Ctr_u1 = -1;
142 static int hf_drsuapi_DsReplicaCoursor05Ctr_u2 = -1;
143 static int hf_drsuapi_DsReplicaCoursor05Ctr_count = -1;
144 static int hf_drsuapi_DsReplicaCoursor05Ctr_u3 = -1;
145 static int hf_drsuapi_DsReplicaCoursor05Ctr_array = -1;
146 static int hf_drsuapi_DsGetNCChangesRequest5_guid1 = -1;
147 static int hf_drsuapi_DsGetNCChangesRequest5_guid2 = -1;
148 static int hf_drsuapi_DsGetNCChangesRequest5_sync_req_info1 = -1;
149 static int hf_drsuapi_DsGetNCChangesRequest5_usn1 = -1;
150 static int hf_drsuapi_DsGetNCChangesRequest5_coursor = -1;
151 static int hf_drsuapi_DsGetNCChangesRequest5_unknown1 = -1;
152 static int hf_drsuapi_DsGetNCChangesRequest5_unknown2 = -1;
153 static int hf_drsuapi_DsGetNCChangesRequest5_unknown3 = -1;
154 static int hf_drsuapi_DsGetNCChangesRequest5_unknown4 = -1;
155 static int hf_drsuapi_DsGetNCChangesRequest5_h1 = -1;
156 static int hf_drsuapi_DsGetNCChangesRequest_Ctr14_length = -1;
157 static int hf_drsuapi_DsGetNCChangesRequest_Ctr14_byte_array = -1;
158 static int hf_drsuapi_DsGetNCChangesRequest_Ctr13_unknown1 = -1;
159 static int hf_drsuapi_DsGetNCChangesRequest_Ctr13_data = -1;
160 static int hf_drsuapi_DsGetNCChangesRequest_Ctr12_count = -1;
161 static int hf_drsuapi_DsGetNCChangesRequest_Ctr12_array = -1;
162 static int hf_drsuapi_DsGetNCChangesRequest8_guid1 = -1;
163 static int hf_drsuapi_DsGetNCChangesRequest8_guid2 = -1;
164 static int hf_drsuapi_DsGetNCChangesRequest8_sync_req_info1 = -1;
165 static int hf_drsuapi_DsGetNCChangesRequest8_usn1 = -1;
166 static int hf_drsuapi_DsGetNCChangesRequest8_coursor = -1;
167 static int hf_drsuapi_DsGetNCChangesRequest8_unknown1 = -1;
168 static int hf_drsuapi_DsGetNCChangesRequest8_unknown2 = -1;
169 static int hf_drsuapi_DsGetNCChangesRequest8_unknown3 = -1;
170 static int hf_drsuapi_DsGetNCChangesRequest8_unknown4 = -1;
171 static int hf_drsuapi_DsGetNCChangesRequest8_h1 = -1;
172 static int hf_drsuapi_DsGetNCChangesRequest8_unique_ptr1 = -1;
173 static int hf_drsuapi_DsGetNCChangesRequest8_unique_ptr2 = -1;
174 static int hf_drsuapi_DsGetNCChangesRequest8_ctr12 = -1;
175 static int hf_drsuapi_DsGetNCChangesRequest_5_req5 = -1;
176 static int hf_drsuapi_DsGetNCChangesRequest_8_req8 = -1;
177 static int hf_drsuapi_DsReplicaCoursorEx_coursor = -1;
178 static int hf_drsuapi_DsReplicaCoursorEx_time1 = -1;
179 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_u1 = -1;
180 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_u2 = -1;
181 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_count = -1;
182 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_u3 = -1;
183 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_array = -1;
184 static int hf_drsuapi_DsGetNCChangesCtr6_guid1 = -1;
185 static int hf_drsuapi_DsGetNCChangesCtr6_guid2 = -1;
186 static int hf_drsuapi_DsGetNCChangesCtr6_sync_req_info1 = -1;
187 static int hf_drsuapi_DsGetNCChangesCtr6_usn1 = -1;
188 static int hf_drsuapi_DsGetNCChangesCtr6_usn2 = -1;
189 static int hf_drsuapi_DsGetNCChangesCtr6_coursor_ex = -1;
190 static int hf_drsuapi_DsGetNCChangesCtr6_ctr12 = -1;
191 static int hf_drsuapi_DsGetNCChangesCtr6_u1 = -1;
192 static int hf_drsuapi_DsGetNCChangesCtr6_ptr1 = -1;
193 static int hf_drsuapi_DsGetNCChangesCtr6_u2 = -1;
194 static int hf_drsuapi_DsGetNCChangesCtr6_len1 = -1;
195 static int hf_drsuapi_DsGetNCChangesCtr6_array_ptr1 = -1;
196 static int hf_drsuapi_DsGetNCChangesCtr6_u3 = -1;
197 static int hf_drsuapi_DsGetNCChangesCtr_6_ctr6 = -1;
198 static int hf_drsuapi_DsGetNCChangesCtr_7_ctr7 = -1;
199 static int hf_drsuapi_DsGetNCChanges_bind_handle = -1;
200 static int hf_drsuapi_DsGetNCChanges_level = -1;
201 static int hf_drsuapi_DsGetNCChanges_req = -1;
202 static int hf_drsuapi_DsGetNCChanges_ctr = -1;
203 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION = -1;
204 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE = -1;
205 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE = -1;
206 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE = -1;
207 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_0x00000010 = -1;
208 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown1 = -1;
209 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown2 = -1;
210 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid = -1;
211 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_options = -1;
212 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_sync_req_info1 = -1;
213 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name = -1;
214 static int hf_drsuapi_DsReplicaUpdateRefsRequest_1_req1 = -1;
215 static int hf_drsuapi_DsReplicaUpdateRefs_bind_handle = -1;
216 static int hf_drsuapi_DsReplicaUpdateRefs_level = -1;
217 static int hf_drsuapi_DsReplicaUpdateRefs_req = -1;
218 static int hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION = -1;
219 static int hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_WRITEABLE = -1;
220 static int hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION = -1;
221 static int hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_WRITEABLE = -1;
222 static int hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION = -1;
223 static int hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE = -1;
224 static int hf_drsuapi_DsNameString_str = -1;
225 static int hf_drsuapi_DsNameRequest1_unknown1 = -1;
226 static int hf_drsuapi_DsNameRequest1_unknown2 = -1;
227 static int hf_drsuapi_DsNameRequest1_format_flags = -1;
228 static int hf_drsuapi_DsNameRequest1_format_offered = -1;
229 static int hf_drsuapi_DsNameRequest1_format_desired = -1;
230 static int hf_drsuapi_DsNameRequest1_count = -1;
231 static int hf_drsuapi_DsNameRequest1_names = -1;
232 static int hf_drsuapi_DsNameRequest_1_req1 = -1;
233 static int hf_drsuapi_DsNameInfo1_status = -1;
234 static int hf_drsuapi_DsNameInfo1_dns_domain_name = -1;
235 static int hf_drsuapi_DsNameInfo1_result_name = -1;
236 static int hf_drsuapi_DsNameCtr1_count = -1;
237 static int hf_drsuapi_DsNameCtr1_array = -1;
238 static int hf_drsuapi_DsNameCtr_1_ctr1 = -1;
239 static int hf_drsuapi_DsCrackNames_bind_handle = -1;
240 static int hf_drsuapi_DsCrackNames_level = -1;
241 static int hf_drsuapi_DsCrackNames_req = -1;
242 static int hf_drsuapi_DsCrackNames_ctr = -1;
243 static int hf_drsuapi_DsWriteAccountSpnRequest1_operation = -1;
244 static int hf_drsuapi_DsWriteAccountSpnRequest1_unknown1 = -1;
245 static int hf_drsuapi_DsWriteAccountSpnRequest1_object_dn = -1;
246 static int hf_drsuapi_DsWriteAccountSpnRequest1_count = -1;
247 static int hf_drsuapi_DsWriteAccountSpnRequest1_spn_names = -1;
248 static int hf_drsuapi_DsWriteAccountSpnRequest_1_req1 = -1;
249 static int hf_drsuapi_DsWriteAccountSpnResult1_status = -1;
250 static int hf_drsuapi_DsWriteAccountSpnResult_1_res1 = -1;
251 static int hf_drsuapi_DsWriteAccountSpn_bind_handle = -1;
252 static int hf_drsuapi_DsWriteAccountSpn_level = -1;
253 static int hf_drsuapi_DsWriteAccountSpn_req = -1;
254 static int hf_drsuapi_DsWriteAccountSpn_res = -1;
255 static int hf_drsuapi_DsGetDCInfoRequest1_domain_name = -1;
256 static int hf_drsuapi_DsGetDCInfoRequest1_level = -1;
257 static int hf_drsuapi_DsGetDCInfoRequest_1_req1 = -1;
258 static int hf_drsuapi_DsGetDCInfo1_netbios_name = -1;
259 static int hf_drsuapi_DsGetDCInfo1_dns_name = -1;
260 static int hf_drsuapi_DsGetDCInfo1_site_name = -1;
261 static int hf_drsuapi_DsGetDCInfo1_computer_dn = -1;
262 static int hf_drsuapi_DsGetDCInfo1_server_dn = -1;
263 static int hf_drsuapi_DsGetDCInfo1_is_pdc = -1;
264 static int hf_drsuapi_DsGetDCInfo1_is_enabled = -1;
265 static int hf_drsuapi_DsGetDCInfoCtr1_count = -1;
266 static int hf_drsuapi_DsGetDCInfoCtr1_array = -1;
267 static int hf_drsuapi_DsGetDCInfo2_netbios_name = -1;
268 static int hf_drsuapi_DsGetDCInfo2_dns_name = -1;
269 static int hf_drsuapi_DsGetDCInfo2_site_name = -1;
270 static int hf_drsuapi_DsGetDCInfo2_site_dn = -1;
271 static int hf_drsuapi_DsGetDCInfo2_computer_dn = -1;
272 static int hf_drsuapi_DsGetDCInfo2_server_dn = -1;
273 static int hf_drsuapi_DsGetDCInfo2_ntds_dn = -1;
274 static int hf_drsuapi_DsGetDCInfo2_is_pdc = -1;
275 static int hf_drsuapi_DsGetDCInfo2_is_enabled = -1;
276 static int hf_drsuapi_DsGetDCInfo2_is_gc = -1;
277 static int hf_drsuapi_DsGetDCInfo2_site_guid = -1;
278 static int hf_drsuapi_DsGetDCInfo2_computer_guid = -1;
279 static int hf_drsuapi_DsGetDCInfo2_server_guid = -1;
280 static int hf_drsuapi_DsGetDCInfo2_ntds_guid = -1;
281 static int hf_drsuapi_DsGetDCInfoCtr2_count = -1;
282 static int hf_drsuapi_DsGetDCInfoCtr2_array = -1;
283 static int hf_drsuapi_DsGetDCInfo01_unknown1 = -1;
284 static int hf_drsuapi_DsGetDCInfo01_unknown2 = -1;
285 static int hf_drsuapi_DsGetDCInfo01_unknown3 = -1;
286 static int hf_drsuapi_DsGetDCInfo01_unknown4 = -1;
287 static int hf_drsuapi_DsGetDCInfo01_unknown5 = -1;
288 static int hf_drsuapi_DsGetDCInfo01_unknown6 = -1;
289 static int hf_drsuapi_DsGetDCInfo01_server_nt4_account = -1;
290 static int hf_drsuapi_DsGetDCInfoCtr01_count = -1;
291 static int hf_drsuapi_DsGetDCInfoCtr01_array = -1;
292 static int hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1 = -1;
293 static int hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2 = -1;
294 static int hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01 = -1;
295 static int hf_drsuapi_DsGetDomainControllerInfo_bind_handle = -1;
296 static int hf_drsuapi_DsGetDomainControllerInfo_level = -1;
297 static int hf_drsuapi_DsGetDomainControllerInfo_req = -1;
298 static int hf_drsuapi_DsGetDomainControllerInfo_ctr = -1;
299 static int hf_drsuapi_DsReplicaGetInfoRequest1_info_type = -1;
300 static int hf_drsuapi_DsReplicaGetInfoRequest1_object_dn = -1;
301 static int hf_drsuapi_DsReplicaGetInfoRequest1_guid1 = -1;
302 static int hf_drsuapi_DsReplicaGetInfoRequest2_info_type = -1;
303 static int hf_drsuapi_DsReplicaGetInfoRequest2_object_dn = -1;
304 static int hf_drsuapi_DsReplicaGetInfoRequest2_guid1 = -1;
305 static int hf_drsuapi_DsReplicaGetInfoRequest2_unknown1 = -1;
306 static int hf_drsuapi_DsReplicaGetInfoRequest2_string1 = -1;
307 static int hf_drsuapi_DsReplicaGetInfoRequest2_string2 = -1;
308 static int hf_drsuapi_DsReplicaGetInfoRequest2_unknown2 = -1;
309 static int hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1 = -1;
310 static int hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2 = -1;
311 static int hf_drsuapi_DsReplicaNeighbour_naming_context_dn = -1;
312 static int hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn = -1;
313 static int hf_drsuapi_DsReplicaNeighbour_source_dsa_address = -1;
314 static int hf_drsuapi_DsReplicaNeighbour_transport_obj_dn = -1;
315 static int hf_drsuapi_DsReplicaNeighbour_replica_flags = -1;
316 static int hf_drsuapi_DsReplicaNeighbour_reserved = -1;
317 static int hf_drsuapi_DsReplicaNeighbour_naming_context_obj_guid = -1;
318 static int hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid = -1;
319 static int hf_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id = -1;
320 static int hf_drsuapi_DsReplicaNeighbour_transport_obj_guid = -1;
321 static int hf_drsuapi_DsReplicaNeighbour_tmp_highest_usn = -1;
322 static int hf_drsuapi_DsReplicaNeighbour_highest_usn = -1;
323 static int hf_drsuapi_DsReplicaNeighbour_last_success = -1;
324 static int hf_drsuapi_DsReplicaNeighbour_last_attempt = -1;
325 static int hf_drsuapi_DsReplicaNeighbour_result_last_attempt = -1;
326 static int hf_drsuapi_DsReplicaNeighbour_consecutive_sync_failures = -1;
327 static int hf_drsuapi_DsReplicaNeighbourCtr_count = -1;
328 static int hf_drsuapi_DsReplicaNeighbourCtr_reserved = -1;
329 static int hf_drsuapi_DsReplicaNeighbourCtr_array = -1;
330 static int hf_drsuapi_DsReplicaCoursorCtr_count = -1;
331 static int hf_drsuapi_DsReplicaCoursorCtr_reserved = -1;
332 static int hf_drsuapi_DsReplicaCoursorCtr_array = -1;
333 static int hf_drsuapi_DsReplicaObjMetaData_attribute_name = -1;
334 static int hf_drsuapi_DsReplicaObjMetaData_version = -1;
335 static int hf_drsuapi_DsReplicaObjMetaData_originating_last_changed = -1;
336 static int hf_drsuapi_DsReplicaObjMetaData_originating_dsa_invocation_id = -1;
337 static int hf_drsuapi_DsReplicaObjMetaData_originating_usn = -1;
338 static int hf_drsuapi_DsReplicaObjMetaData_local_usn = -1;
339 static int hf_drsuapi_DsReplicaObjMetaDataCtr_count = -1;
340 static int hf_drsuapi_DsReplicaObjMetaDataCtr_reserved = -1;
341 static int hf_drsuapi_DsReplicaObjMetaDataCtr_array = -1;
342 static int hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn = -1;
343 static int hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid = -1;
344 static int hf_drsuapi_DsReplicaKccDsaFailure_first_failure = -1;
345 static int hf_drsuapi_DsReplicaKccDsaFailure_num_failures = -1;
346 static int hf_drsuapi_DsReplicaKccDsaFailure_last_result = -1;
347 static int hf_drsuapi_DsReplicaKccDsaFailuresCtr_count = -1;
348 static int hf_drsuapi_DsReplicaKccDsaFailuresCtr_reserved = -1;
349 static int hf_drsuapi_DsReplicaKccDsaFailuresCtr_array = -1;
350 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync = -1;
351 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add = -1;
352 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete = -1;
353 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify = -1;
354 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs = -1;
355 static int hf_drsuapi_DsRplicaOpOptions_default_unknown = -1;
356 static int hf_drsuapi_DsReplicaOp_operation_start = -1;
357 static int hf_drsuapi_DsReplicaOp_serial_num = -1;
358 static int hf_drsuapi_DsReplicaOp_priority = -1;
359 static int hf_drsuapi_DsReplicaOp_operation_type = -1;
360 static int hf_drsuapi_DsReplicaOp_options = -1;
361 static int hf_drsuapi_DsReplicaOp_nc_dn = -1;
362 static int hf_drsuapi_DsReplicaOp_remote_dsa_obj_dn = -1;
363 static int hf_drsuapi_DsReplicaOp_remote_dsa_address = -1;
364 static int hf_drsuapi_DsReplicaOp_nc_obj_guid = -1;
365 static int hf_drsuapi_DsReplicaOp_remote_dsa_obj_guid = -1;
366 static int hf_drsuapi_DsReplicaOpCtr_time = -1;
367 static int hf_drsuapi_DsReplicaOpCtr_count = -1;
368 static int hf_drsuapi_DsReplicaOpCtr_array = -1;
369 static int hf_drsuapi_DsReplicaAttrValMetaData_attribute_name = -1;
370 static int hf_drsuapi_DsReplicaAttrValMetaData_object_dn = -1;
371 static int hf_drsuapi_DsReplicaAttrValMetaData_value_length = -1;
372 static int hf_drsuapi_DsReplicaAttrValMetaData_value = -1;
373 static int hf_drsuapi_DsReplicaAttrValMetaData_deleted = -1;
374 static int hf_drsuapi_DsReplicaAttrValMetaData_created = -1;
375 static int hf_drsuapi_DsReplicaAttrValMetaData_version = -1;
376 static int hf_drsuapi_DsReplicaAttrValMetaData_originating_last_changed = -1;
377 static int hf_drsuapi_DsReplicaAttrValMetaData_originating_dsa_invocation_id = -1;
378 static int hf_drsuapi_DsReplicaAttrValMetaData_originating_usn = -1;
379 static int hf_drsuapi_DsReplicaAttrValMetaData_local_usn = -1;
380 static int hf_drsuapi_DsReplicaAttrValMetaDataCtr_count = -1;
381 static int hf_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context = -1;
382 static int hf_drsuapi_DsReplicaAttrValMetaDataCtr_array = -1;
383 static int hf_drsuapi_DsReplicaCoursor2_source_dsa_invocation_id = -1;
384 static int hf_drsuapi_DsReplicaCoursor2_highest_usn = -1;
385 static int hf_drsuapi_DsReplicaCoursor2_last_sync_success = -1;
386 static int hf_drsuapi_DsReplicaCoursor2Ctr_count = -1;
387 static int hf_drsuapi_DsReplicaCoursor2Ctr_enumeration_context = -1;
388 static int hf_drsuapi_DsReplicaCoursor2Ctr_array = -1;
389 static int hf_drsuapi_DsReplicaCoursor3_source_dsa_invocation_id = -1;
390 static int hf_drsuapi_DsReplicaCoursor3_highest_usn = -1;
391 static int hf_drsuapi_DsReplicaCoursor3_last_sync_success = -1;
392 static int hf_drsuapi_DsReplicaCoursor3_source_dsa_obj_dn = -1;
393 static int hf_drsuapi_DsReplicaCoursor3Ctr_count = -1;
394 static int hf_drsuapi_DsReplicaCoursor3Ctr_enumeration_context = -1;
395 static int hf_drsuapi_DsReplicaCoursor3Ctr_array = -1;
396 static int hf_drsuapi_DsReplicaObjMetaData2_attribute_name = -1;
397 static int hf_drsuapi_DsReplicaObjMetaData2_version = -1;
398 static int hf_drsuapi_DsReplicaObjMetaData2_originating_last_changed = -1;
399 static int hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_invocation_id = -1;
400 static int hf_drsuapi_DsReplicaObjMetaData2_originating_usn = -1;
401 static int hf_drsuapi_DsReplicaObjMetaData2_local_usn = -1;
402 static int hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_obj_dn = -1;
403 static int hf_drsuapi_DsReplicaObjMetaData2Ctr_count = -1;
404 static int hf_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context = -1;
405 static int hf_drsuapi_DsReplicaObjMetaData2Ctr_array = -1;
406 static int hf_drsuapi_DsReplicaAttrValMetaData2_attribute_name = -1;
407 static int hf_drsuapi_DsReplicaAttrValMetaData2_object_dn = -1;
408 static int hf_drsuapi_DsReplicaAttrValMetaData2_value_length = -1;
409 static int hf_drsuapi_DsReplicaAttrValMetaData2_value = -1;
410 static int hf_drsuapi_DsReplicaAttrValMetaData2_deleted = -1;
411 static int hf_drsuapi_DsReplicaAttrValMetaData2_created = -1;
412 static int hf_drsuapi_DsReplicaAttrValMetaData2_version = -1;
413 static int hf_drsuapi_DsReplicaAttrValMetaData2_originating_last_changed = -1;
414 static int hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_invocation_id = -1;
415 static int hf_drsuapi_DsReplicaAttrValMetaData2_originating_usn = -1;
416 static int hf_drsuapi_DsReplicaAttrValMetaData2_local_usn = -1;
417 static int hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_obj_dn = -1;
418 static int hf_drsuapi_DsReplicaAttrValMetaData2Ctr_count = -1;
419 static int hf_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context = -1;
420 static int hf_drsuapi_DsReplicaAttrValMetaData2Ctr_array = -1;
421 static int hf_drsuapi_DsReplicaConnection04_u1 = -1;
422 static int hf_drsuapi_DsReplicaConnection04_u2 = -1;
423 static int hf_drsuapi_DsReplicaConnection04_u3 = -1;
424 static int hf_drsuapi_DsReplicaConnection04_bind_guid = -1;
425 static int hf_drsuapi_DsReplicaConnection04_bind_time = -1;
426 static int hf_drsuapi_DsReplicaConnection04_u4 = -1;
427 static int hf_drsuapi_DsReplicaConnection04_u5 = -1;
428 static int hf_drsuapi_DsReplicaConnection04Ctr_count = -1;
429 static int hf_drsuapi_DsReplicaConnection04Ctr_reserved = -1;
430 static int hf_drsuapi_DsReplicaConnection04Ctr_array = -1;
431 static int hf_drsuapi_DsReplica06_str1 = -1;
432 static int hf_drsuapi_DsReplica06_u1 = -1;
433 static int hf_drsuapi_DsReplica06_u2 = -1;
434 static int hf_drsuapi_DsReplica06_u3 = -1;
435 static int hf_drsuapi_DsReplica06_u4 = -1;
436 static int hf_drsuapi_DsReplica06_u5 = -1;
437 static int hf_drsuapi_DsReplica06_u6 = -1;
438 static int hf_drsuapi_DsReplica06_u7 = -1;
439 static int hf_drsuapi_DsReplica06Ctr_count = -1;
440 static int hf_drsuapi_DsReplica06Ctr_reserved = -1;
441 static int hf_drsuapi_DsReplica06Ctr_array = -1;
442 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours = -1;
443 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors = -1;
444 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata = -1;
445 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures = -1;
446 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures = -1;
447 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops = -1;
448 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata = -1;
449 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2 = -1;
450 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3 = -1;
451 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2 = -1;
452 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2 = -1;
453 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02 = -1;
454 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04 = -1;
455 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05 = -1;
456 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06 = -1;
457 static int hf_drsuapi_DsReplicaGetInfo_bind_handle = -1;
458 static int hf_drsuapi_DsReplicaGetInfo_level = -1;
459 static int hf_drsuapi_DsReplicaGetInfo_req = -1;
460 static int hf_drsuapi_DsReplicaGetInfo_info_type = -1;
461 static int hf_drsuapi_DsReplicaGetInfo_info = -1;
462 /* END OF INCLUDED FILE : ETH_HF */
463
464
465
466
467
468 /* INCLUDED FILE : ETH_ETT */
469 static gint ett_drsuapi = -1;
470 static gint ett_drsuapi_SupportedExtensions = -1;
471 static gint ett_drsuapi_DsBindInfo24 = -1;
472 static gint ett_drsuapi_DsBindInfo28 = -1;
473 static gint ett_drsuapi_DsBindInfo = -1;
474 static gint ett_drsuapi_DsBindInfoCtr = -1;
475 static gint ett_drsuapi_DsReplicaSyncRequest1Info = -1;
476 static gint ett_drsuapi_DsReplicaSyncOptions = -1;
477 static gint ett_drsuapi_DsReplicaSyncRequest1 = -1;
478 static gint ett_drsuapi_DsReplicaSyncRequest = -1;
479 static gint ett_drsuapi_DsGetNCChangesUsnTriple = -1;
480 static gint ett_drsuapi_DsReplicaCoursor = -1;
481 static gint ett_drsuapi_DsReplicaCoursor05Ctr = -1;
482 static gint ett_drsuapi_DsGetNCChangesRequest5 = -1;
483 static gint ett_drsuapi_DsGetNCChangesRequest_Ctr14 = -1;
484 static gint ett_drsuapi_DsGetNCChangesRequest_Ctr13 = -1;
485 static gint ett_drsuapi_DsGetNCChangesRequest_Ctr12 = -1;
486 static gint ett_drsuapi_DsGetNCChangesRequest8 = -1;
487 static gint ett_drsuapi_DsGetNCChangesRequest = -1;
488 static gint ett_drsuapi_DsReplicaCoursorEx = -1;
489 static gint ett_drsuapi_DsReplicaCoursorEx05Ctr = -1;
490 static gint ett_drsuapi_DsGetNCChangesCtr6 = -1;
491 static gint ett_drsuapi_DsGetNCChangesCtr7 = -1;
492 static gint ett_drsuapi_DsGetNCChangesCtr = -1;
493 static gint ett_drsuapi_DsReplicaUpdateRefsOptions = -1;
494 static gint ett_drsuapi_DsReplicaUpdateRefsRequest1 = -1;
495 static gint ett_drsuapi_DsReplicaUpdateRefsRequest = -1;
496 static gint ett_drsuapi_DsReplicaAddOptions = -1;
497 static gint ett_drsuapi_DsReplicaDeleteOptions = -1;
498 static gint ett_drsuapi_DsReplicaModifyOptions = -1;
499 static gint ett_drsuapi_DsNameString = -1;
500 static gint ett_drsuapi_DsNameRequest1 = -1;
501 static gint ett_drsuapi_DsNameRequest = -1;
502 static gint ett_drsuapi_DsNameInfo1 = -1;
503 static gint ett_drsuapi_DsNameCtr1 = -1;
504 static gint ett_drsuapi_DsNameCtr = -1;
505 static gint ett_drsuapi_DsWriteAccountSpnRequest1 = -1;
506 static gint ett_drsuapi_DsWriteAccountSpnRequest = -1;
507 static gint ett_drsuapi_DsWriteAccountSpnResult1 = -1;
508 static gint ett_drsuapi_DsWriteAccountSpnResult = -1;
509 static gint ett_drsuapi_DsGetDCInfoRequest1 = -1;
510 static gint ett_drsuapi_DsGetDCInfoRequest = -1;
511 static gint ett_drsuapi_DsGetDCInfo1 = -1;
512 static gint ett_drsuapi_DsGetDCInfoCtr1 = -1;
513 static gint ett_drsuapi_DsGetDCInfo2 = -1;
514 static gint ett_drsuapi_DsGetDCInfoCtr2 = -1;
515 static gint ett_drsuapi_DsGetDCInfo01 = -1;
516 static gint ett_drsuapi_DsGetDCInfoCtr01 = -1;
517 static gint ett_drsuapi_DsGetDCInfoCtr = -1;
518 static gint ett_drsuapi_DsReplicaGetInfoRequest1 = -1;
519 static gint ett_drsuapi_DsReplicaGetInfoRequest2 = -1;
520 static gint ett_drsuapi_DsReplicaGetInfoRequest = -1;
521 static gint ett_drsuapi_DsReplicaNeighbour = -1;
522 static gint ett_drsuapi_DsReplicaNeighbourCtr = -1;
523 static gint ett_drsuapi_DsReplicaCoursorCtr = -1;
524 static gint ett_drsuapi_DsReplicaObjMetaData = -1;
525 static gint ett_drsuapi_DsReplicaObjMetaDataCtr = -1;
526 static gint ett_drsuapi_DsReplicaKccDsaFailure = -1;
527 static gint ett_drsuapi_DsReplicaKccDsaFailuresCtr = -1;
528 static gint ett_drsuapi_DsRplicaOpOptions = -1;
529 static gint ett_drsuapi_DsReplicaOp = -1;
530 static gint ett_drsuapi_DsReplicaOpCtr = -1;
531 static gint ett_drsuapi_DsReplicaAttrValMetaData = -1;
532 static gint ett_drsuapi_DsReplicaAttrValMetaDataCtr = -1;
533 static gint ett_drsuapi_DsReplicaCoursor2 = -1;
534 static gint ett_drsuapi_DsReplicaCoursor2Ctr = -1;
535 static gint ett_drsuapi_DsReplicaCoursor3 = -1;
536 static gint ett_drsuapi_DsReplicaCoursor3Ctr = -1;
537 static gint ett_drsuapi_DsReplicaObjMetaData2 = -1;
538 static gint ett_drsuapi_DsReplicaObjMetaData2Ctr = -1;
539 static gint ett_drsuapi_DsReplicaAttrValMetaData2 = -1;
540 static gint ett_drsuapi_DsReplicaAttrValMetaData2Ctr = -1;
541 static gint ett_drsuapi_DsReplicaConnection04 = -1;
542 static gint ett_drsuapi_DsReplicaConnection04Ctr = -1;
543 static gint ett_drsuapi_DsReplica06 = -1;
544 static gint ett_drsuapi_DsReplica06Ctr = -1;
545 static gint ett_drsuapi_DsReplicaInfo = -1;
546 /* END OF INCLUDED FILE : ETH_ETT */
547
548
549
550 static int
551 ucarray_drsuapi_dissect_DsReplicaSyncRequest1Info_nc_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
552 {
553         header_field_info *hfinfo;
554         static guint32 len;
555         dcerpc_info *di;
556         char *s;
557         int old_offset;
558
559         di=pinfo->private_data;
560         if(di->conformant_run){
561                 /*just a run to handle conformant arrays, nothing to dissect 
562                   but we need to remember how long this array was.
563                   see packet-dcerpc.c for examples of conformant_run
564                   and what it is.
565                 */
566                 old_offset=offset;
567                 offset=dissect_dcerpc_uint32(tvb, offset, pinfo, NULL, drep, -1, &len);
568                 di->array_max_count_offset=offset-4;
569                 di->conformant_run=1;
570                 di->conformant_eaten=offset-old_offset;
571                 return offset;
572         }
573
574         ALIGN_TO_2_BYTES;
575
576         s = tvb_fake_unicode(tvb, offset, len, TRUE);
577         if (tree && len) {
578             hfinfo = proto_registrar_get_nth(hf_drsuapi_DsReplicaSyncRequest1Info_nc_dn);
579             if (hfinfo->type == FT_STRING) {
580                 proto_tree_add_string(tree, hf_drsuapi_DsReplicaSyncRequest1Info_nc_dn, tvb, offset,
581                                       len, s);
582             } else {
583                 proto_tree_add_item(tree, hf_drsuapi_DsReplicaSyncRequest1Info_nc_dn, tvb, offset,
584                                     len, drep[0] & 0x10);
585             }
586         }
587
588         offset+=2*len;
589         return offset;
590 }
591
592 static int
593 drsuapi_dissect_a_string(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
594 {
595     offset=dissect_ndr_vstring(tvb, offset, pinfo, tree, drep, 1, hf_index, FALSE, NULL);
596     return offset;
597 }
598
599
600
601 /* INCLUDED FILE : ETH_CODE */
602 static e_uuid_t uuid_dcerpc_drsuapi = {
603     0xe3514235, 0x4b06, 0x11d1,
604     { 0xab, 0x04, 0x00, 0xc0, 0x4f, 0xc2, 0xdc, 0xd2}
605 };
606
607 static guint16 ver_drsuapi = 4;
608
609 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_BASE_tfs = {
610     "DRSUAPI_SUPPORTED_EXTENSION_BASE is SET",
611     "DRSUAPI_SUPPORTED_EXTENSION_BASE is NOT set"
612 };
613
614 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION_tfs = {
615     "DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION is SET",
616     "DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION is NOT set"
617 };
618
619 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI_tfs = {
620     "DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI is SET",
621     "DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI is NOT set"
622 };
623
624 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2_tfs = {
625     "DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 is SET",
626     "DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 is NOT set"
627 };
628
629 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS_tfs = {
630     "DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS is SET",
631     "DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS is NOT set"
632 };
633
634 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1_tfs = {
635     "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 is SET",
636     "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 is NOT set"
637 };
638
639 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION_tfs = {
640     "DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION is SET",
641     "DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION is NOT set"
642 };
643
644 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_00000080_tfs = {
645     "DRSUAPI_SUPPORTED_EXTENSION_00000080 is SET",
646     "DRSUAPI_SUPPORTED_EXTENSION_00000080 is NOT set"
647 };
648
649 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE_tfs = {
650     "DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE is SET",
651     "DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE is NOT set"
652 };
653
654 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2_tfs = {
655     "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 is SET",
656     "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 is NOT set"
657 };
658
659 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION_tfs = {
660     "DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION is SET",
661     "DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION is NOT set"
662 };
663
664 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2_tfs = {
665     "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 is SET",
666     "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 is NOT set"
667 };
668
669 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD_tfs = {
670     "DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD is SET",
671     "DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD is NOT set"
672 };
673
674 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND_tfs = {
675     "DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND is SET",
676     "DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND is NOT set"
677 };
678
679 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO_tfs = {
680     "DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO is SET",
681     "DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO is NOT set"
682 };
683
684 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION_tfs = {
685     "DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION is SET",
686     "DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION is NOT set"
687 };
688
689 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01_tfs = {
690     "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 is SET",
691     "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 is NOT set"
692 };
693
694 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP_tfs = {
695     "DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP is SET",
696     "DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP is NOT set"
697 };
698
699 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY_tfs = {
700     "DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY is SET",
701     "DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY is NOT set"
702 };
703
704 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3_tfs = {
705     "DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 is SET",
706     "DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 is NOT set"
707 };
708
709 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_00100000_tfs = {
710     "DRSUAPI_SUPPORTED_EXTENSION_00100000 is SET",
711     "DRSUAPI_SUPPORTED_EXTENSION_00100000 is NOT set"
712 };
713
714 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2_tfs = {
715     "DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 is SET",
716     "DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 is NOT set"
717 };
718
719 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6_tfs = {
720     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 is SET",
721     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 is NOT set"
722 };
723
724 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS_tfs = {
725     "DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS is SET",
726     "DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS is NOT set"
727 };
728
729 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8_tfs = {
730     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 is SET",
731     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 is NOT set"
732 };
733
734 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5_tfs = {
735     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 is SET",
736     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 is NOT set"
737 };
738
739 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6_tfs = {
740     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 is SET",
741     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 is NOT set"
742 };
743
744 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3_tfs = {
745     "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 is SET",
746     "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 is NOT set"
747 };
748
749 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7_tfs = {
750     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7 is SET",
751     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7 is NOT set"
752 };
753
754 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT_tfs = {
755     "DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT is SET",
756     "DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT is NOT set"
757 };
758
759 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS_tfs = {
760     "DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS is SET",
761     "DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS is NOT set"
762 };
763
764 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_20000000_tfs = {
765     "DRSUAPI_SUPPORTED_EXTENSION_20000000 is SET",
766     "DRSUAPI_SUPPORTED_EXTENSION_20000000 is NOT set"
767 };
768
769 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_40000000_tfs = {
770     "DRSUAPI_SUPPORTED_EXTENSION_40000000 is SET",
771     "DRSUAPI_SUPPORTED_EXTENSION_40000000 is NOT set"
772 };
773
774 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_80000000_tfs = {
775     "DRSUAPI_SUPPORTED_EXTENSION_80000000 is SET",
776     "DRSUAPI_SUPPORTED_EXTENSION_80000000 is NOT set"
777 };
778
779
780 int
781 drsuapi_dissect_SupportedExtensions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
782 {
783     proto_item *item=NULL;
784     proto_tree *tree=NULL;
785     guint32 flags;
786
787     ALIGN_TO_4_BYTES;
788
789     if(parent_tree){
790         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
791         tree=proto_item_add_subtree(item, ett_drsuapi_SupportedExtensions);
792     }
793
794     offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
795
796
797     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE, tvb, offset-4, 4, flags);
798     if(flags&0x00000001){
799         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_BASE");
800     }
801     flags&=(~0x00000001);
802
803     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION, tvb, offset-4, 4, flags);
804     if(flags&0x00000002){
805         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION");
806     }
807     flags&=(~0x00000002);
808
809     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI, tvb, offset-4, 4, flags);
810     if(flags&0x00000004){
811         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI");
812     }
813     flags&=(~0x00000004);
814
815     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2, tvb, offset-4, 4, flags);
816     if(flags&0x00000008){
817         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2");
818     }
819     flags&=(~0x00000008);
820
821     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS, tvb, offset-4, 4, flags);
822     if(flags&0x00000010){
823         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS");
824     }
825     flags&=(~0x00000010);
826
827     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1, tvb, offset-4, 4, flags);
828     if(flags&0x00000020){
829         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1");
830     }
831     flags&=(~0x00000020);
832
833     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION, tvb, offset-4, 4, flags);
834     if(flags&0x00000040){
835         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION");
836     }
837     flags&=(~0x00000040);
838
839     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00000080, tvb, offset-4, 4, flags);
840     if(flags&0x00000080){
841         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_00000080");
842     }
843     flags&=(~0x00000080);
844
845     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE, tvb, offset-4, 4, flags);
846     if(flags&0x00000100){
847         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE");
848     }
849     flags&=(~0x00000100);
850
851     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2, tvb, offset-4, 4, flags);
852     if(flags&0x00000200){
853         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2");
854     }
855     flags&=(~0x00000200);
856
857     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION, tvb, offset-4, 4, flags);
858     if(flags&0x00000400){
859         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION");
860     }
861     flags&=(~0x00000400);
862
863     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2, tvb, offset-4, 4, flags);
864     if(flags&0x00000800){
865         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2");
866     }
867     flags&=(~0x00000800);
868
869     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD, tvb, offset-4, 4, flags);
870     if(flags&0x00001000){
871         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD");
872     }
873     flags&=(~0x00001000);
874
875     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND, tvb, offset-4, 4, flags);
876     if(flags&0x00002000){
877         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND");
878     }
879     flags&=(~0x00002000);
880
881     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO, tvb, offset-4, 4, flags);
882     if(flags&0x00004000){
883         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO");
884     }
885     flags&=(~0x00004000);
886
887     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION, tvb, offset-4, 4, flags);
888     if(flags&0x00008000){
889         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION");
890     }
891     flags&=(~0x00008000);
892
893     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01, tvb, offset-4, 4, flags);
894     if(flags&0x00010000){
895         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01");
896     }
897     flags&=(~0x00010000);
898
899     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP, tvb, offset-4, 4, flags);
900     if(flags&0x00020000){
901         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP");
902     }
903     flags&=(~0x00020000);
904
905     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY, tvb, offset-4, 4, flags);
906     if(flags&0x00040000){
907         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY");
908     }
909     flags&=(~0x00040000);
910
911     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3, tvb, offset-4, 4, flags);
912     if(flags&0x00080000){
913         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3");
914     }
915     flags&=(~0x00080000);
916
917     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00100000, tvb, offset-4, 4, flags);
918     if(flags&0x00100000){
919         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_00100000");
920     }
921     flags&=(~0x00100000);
922
923     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2, tvb, offset-4, 4, flags);
924     if(flags&0x00200000){
925         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2");
926     }
927     flags&=(~0x00200000);
928
929     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6, tvb, offset-4, 4, flags);
930     if(flags&0x00400000){
931         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6");
932     }
933     flags&=(~0x00400000);
934
935     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS, tvb, offset-4, 4, flags);
936     if(flags&0x00800000){
937         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS");
938     }
939     flags&=(~0x00800000);
940
941     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8, tvb, offset-4, 4, flags);
942     if(flags&0x01000000){
943         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8");
944     }
945     flags&=(~0x01000000);
946
947     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5, tvb, offset-4, 4, flags);
948     if(flags&0x02000000){
949         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5");
950     }
951     flags&=(~0x02000000);
952
953     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6, tvb, offset-4, 4, flags);
954     if(flags&0x04000000){
955         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6");
956     }
957     flags&=(~0x04000000);
958
959     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3, tvb, offset-4, 4, flags);
960     if(flags&0x08000000){
961         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3");
962     }
963     flags&=(~0x08000000);
964
965     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7, tvb, offset-4, 4, flags);
966     if(flags&0x08000000){
967         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7");
968     }
969     flags&=(~0x08000000);
970
971     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT, tvb, offset-4, 4, flags);
972     if(flags&0x08000000){
973         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT");
974     }
975     flags&=(~0x08000000);
976
977     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS, tvb, offset-4, 4, flags);
978     if(flags&0x10000000){
979         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS");
980     }
981     flags&=(~0x10000000);
982
983     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_20000000, tvb, offset-4, 4, flags);
984     if(flags&0x20000000){
985         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_20000000");
986     }
987     flags&=(~0x20000000);
988
989     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_40000000, tvb, offset-4, 4, flags);
990     if(flags&0x40000000){
991         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_40000000");
992     }
993     flags&=(~0x40000000);
994
995     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_80000000, tvb, offset-4, 4, flags);
996     if(flags&0x80000000){
997         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_80000000");
998     }
999     flags&=(~0x80000000);
1000
1001     if(flags){
1002         proto_item_append_text(item, "UNKNOWN-FLAGS");
1003     }
1004
1005     return offset;
1006 }
1007 static int
1008 drsuapi_dissect_DsBindInfo24_supported_extensions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1009 {
1010     guint32 param=0;
1011     offset=drsuapi_dissect_SupportedExtensions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo24_supported_extensions, param);
1012     return offset;
1013 }
1014
1015
1016 static int
1017 drsuapi_dissect_GUID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
1018 {
1019     offset=dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_index, NULL);
1020     return offset;
1021 }
1022
1023 static int
1024 drsuapi_dissect_DsBindInfo24_site_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1025 {
1026     guint32 param=0;
1027     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo24_site_guid, param);
1028     return offset;
1029 }
1030
1031
1032 static int
1033 drsuapi_dissect_uint32(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
1034 {
1035     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
1036     return offset;
1037 }
1038
1039 static int
1040 drsuapi_dissect_DsBindInfo24_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1041 {
1042     guint32 param=0;
1043     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo24_u1, param);
1044     return offset;
1045 }
1046
1047
1048 int
1049 drsuapi_dissect_DsBindInfo24(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1050 {
1051     proto_item *item=NULL;
1052     proto_tree *tree=NULL;
1053     int old_offset;
1054
1055     ALIGN_TO_4_BYTES;
1056
1057     old_offset=offset;
1058     if(parent_tree){
1059         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1060         tree=proto_item_add_subtree(item, ett_drsuapi_DsBindInfo24);
1061     }
1062
1063     offset=drsuapi_dissect_DsBindInfo24_supported_extensions(tvb, offset, pinfo, tree, drep);
1064
1065     offset=drsuapi_dissect_DsBindInfo24_site_guid(tvb, offset, pinfo, tree, drep);
1066
1067     offset=drsuapi_dissect_DsBindInfo24_u1(tvb, offset, pinfo, tree, drep);
1068
1069     proto_item_set_len(item, offset-old_offset);
1070
1071     return offset;
1072 }
1073 static int
1074 drsuapi_dissect_DsBindInfo28_supported_extensions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1075 {
1076     guint32 param=0;
1077     offset=drsuapi_dissect_SupportedExtensions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo28_supported_extensions, param);
1078     return offset;
1079 }
1080
1081 static int
1082 drsuapi_dissect_DsBindInfo28_site_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1083 {
1084     guint32 param=0;
1085     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo28_site_guid, param);
1086     return offset;
1087 }
1088
1089 static int
1090 drsuapi_dissect_DsBindInfo28_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1091 {
1092     guint32 param=0;
1093     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo28_u1, param);
1094     return offset;
1095 }
1096
1097 static int
1098 drsuapi_dissect_DsBindInfo28_repl_epoch(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1099 {
1100     guint32 param=0;
1101     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo28_repl_epoch, param);
1102     return offset;
1103 }
1104
1105
1106 int
1107 drsuapi_dissect_DsBindInfo28(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1108 {
1109     proto_item *item=NULL;
1110     proto_tree *tree=NULL;
1111     int old_offset;
1112
1113     ALIGN_TO_4_BYTES;
1114
1115     old_offset=offset;
1116     if(parent_tree){
1117         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1118         tree=proto_item_add_subtree(item, ett_drsuapi_DsBindInfo28);
1119     }
1120
1121     offset=drsuapi_dissect_DsBindInfo28_supported_extensions(tvb, offset, pinfo, tree, drep);
1122
1123     offset=drsuapi_dissect_DsBindInfo28_site_guid(tvb, offset, pinfo, tree, drep);
1124
1125     offset=drsuapi_dissect_DsBindInfo28_u1(tvb, offset, pinfo, tree, drep);
1126
1127     offset=drsuapi_dissect_DsBindInfo28_repl_epoch(tvb, offset, pinfo, tree, drep);
1128
1129     proto_item_set_len(item, offset-old_offset);
1130
1131     return offset;
1132 }
1133 static int
1134 drsuapi_dissect_union_DsBindInfo_24_info24(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1135 {
1136     guint32 param=0;
1137     offset=drsuapi_dissect_DsBindInfo24(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo_24_info24, param);
1138     return offset;
1139 }
1140
1141 static int
1142 drsuapi_dissect_union_DsBindInfo_28_info28(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1143 {
1144     guint32 param=0;
1145     offset=drsuapi_dissect_DsBindInfo28(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo_28_info28, param);
1146     return offset;
1147 }
1148
1149
1150 static int
1151 drsuapi_dissect_union_DsBindInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1152 {
1153     proto_item *item=NULL;
1154     proto_tree *tree=NULL;
1155     int old_offset;
1156     guint32 level;
1157
1158     ALIGN_TO_4_BYTES;
1159
1160     old_offset=offset;
1161     if(parent_tree){
1162         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsBindInfo");
1163         tree=proto_item_add_subtree(item, ett_drsuapi_DsBindInfo);
1164     }
1165
1166     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
1167                               drep, hf_index, &level);
1168
1169     switch(level){
1170     case 24:
1171         ALIGN_TO_4_BYTES;
1172         offset=drsuapi_dissect_union_DsBindInfo_24_info24(tvb, offset, pinfo, tree, drep);
1173         break;
1174
1175     case 28:
1176         ALIGN_TO_4_BYTES;
1177         offset=drsuapi_dissect_union_DsBindInfo_28_info28(tvb, offset, pinfo, tree, drep);
1178         break;
1179
1180     }
1181
1182     proto_item_set_len(item, offset-old_offset);
1183
1184    return offset;
1185 }
1186 static int
1187 drsuapi_dissect_DsBindInfoCtr_length(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1188 {
1189     guint32 param=0;
1190     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfoCtr_length, param);
1191     return offset;
1192 }
1193
1194 static int
1195 drsuapi_dissect_DsBindInfoCtr_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1196 {
1197     guint32 param=0;
1198     offset=drsuapi_dissect_union_DsBindInfo(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfoCtr_info, param);
1199     return offset;
1200 }
1201
1202
1203 int
1204 drsuapi_dissect_DsBindInfoCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1205 {
1206     proto_item *item=NULL;
1207     proto_tree *tree=NULL;
1208     int old_offset;
1209
1210     ALIGN_TO_4_BYTES;
1211
1212     old_offset=offset;
1213     if(parent_tree){
1214         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1215         tree=proto_item_add_subtree(item, ett_drsuapi_DsBindInfoCtr);
1216     }
1217
1218     offset=drsuapi_dissect_DsBindInfoCtr_length(tvb, offset, pinfo, tree, drep);
1219
1220     offset=drsuapi_dissect_DsBindInfoCtr_info(tvb, offset, pinfo, tree, drep);
1221
1222     proto_item_set_len(item, offset-old_offset);
1223
1224     return offset;
1225 }
1226 static int
1227 drsuapi_dissect_DsBind_bind_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1228 {
1229     guint32 param=0;
1230     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBind_bind_guid, param);
1231     return offset;
1232 }
1233
1234 static int
1235 unique_drsuapi_dissect_DsBind_bind_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1236 {
1237     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsBind_bind_guid, NDR_POINTER_UNIQUE, "bind_guid", -1);
1238     return offset;
1239 }
1240
1241 static int
1242 drsuapi_dissect_DsBind_bind_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1243 {
1244     guint32 param=0;
1245     offset=drsuapi_dissect_DsBindInfoCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBind_bind_info, param);
1246     return offset;
1247 }
1248
1249 static int
1250 unique_drsuapi_dissect_DsBind_bind_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1251 {
1252     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsBind_bind_info, NDR_POINTER_UNIQUE, "bind_info", -1);
1253     return offset;
1254 }
1255
1256
1257 static e_ctx_hnd policy_hnd;
1258 static proto_item *hnd_item;
1259
1260 static int
1261 drsuapi_dissect_policy_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param)
1262 {
1263     offset = dissect_nt_policy_hnd(tvb, offset, pinfo, tree, drep,
1264                    hf_index, &policy_hnd, &hnd_item,
1265                    param&0x01, param&0x02);
1266     return offset;
1267 }
1268
1269 static int
1270 drsuapi_dissect_DsBind_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1271 {
1272     guint32 param=0;
1273     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBind_bind_handle, param);
1274     return offset;
1275 }
1276
1277 static int
1278 ref_drsuapi_dissect_DsBind_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1279 {
1280     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsBind_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
1281     return offset;
1282 }
1283
1284
1285 static int
1286 drsuapi_dissect_DsBind_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1287 {
1288         offset=unique_drsuapi_dissect_DsBind_bind_guid(tvb, offset, pinfo, tree, drep);
1289         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1290
1291         offset=unique_drsuapi_dissect_DsBind_bind_info(tvb, offset, pinfo, tree, drep);
1292         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1293
1294
1295    return offset;
1296 }
1297
1298 static int
1299 drsuapi_dissect_DsBind_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1300 {
1301         offset=unique_drsuapi_dissect_DsBind_bind_info(tvb, offset, pinfo, tree, drep);
1302         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1303
1304         offset=ref_drsuapi_dissect_DsBind_bind_handle(tvb, offset, pinfo, tree, drep);
1305         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1306
1307    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
1308
1309
1310    return offset;
1311 }
1312 static int
1313 drsuapi_dissect_DsUnbind_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1314 {
1315     guint32 param=0;
1316     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsUnbind_bind_handle, param);
1317     return offset;
1318 }
1319
1320 static int
1321 ref_drsuapi_dissect_DsUnbind_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1322 {
1323     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsUnbind_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
1324     return offset;
1325 }
1326
1327
1328 static int
1329 drsuapi_dissect_DsUnbind_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1330 {
1331         offset=ref_drsuapi_dissect_DsUnbind_bind_handle(tvb, offset, pinfo, tree, drep);
1332         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1333
1334
1335    return offset;
1336 }
1337
1338 static int
1339 drsuapi_dissect_DsUnbind_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1340 {
1341         offset=ref_drsuapi_dissect_DsUnbind_bind_handle(tvb, offset, pinfo, tree, drep);
1342         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1343
1344    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
1345
1346
1347    return offset;
1348 }
1349 static int
1350 drsuapi_dissect_DsReplicaSyncRequest1Info_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1351 {
1352     guint32 param=0;
1353     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1Info_unknown1, param);
1354     return offset;
1355 }
1356
1357 static int
1358 drsuapi_dissect_DsReplicaSyncRequest1Info_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1359 {
1360     guint32 param=0;
1361     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1Info_unknown2, param);
1362     return offset;
1363 }
1364
1365 static int
1366 drsuapi_dissect_DsReplicaSyncRequest1Info_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1367 {
1368     guint32 param=0;
1369     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1Info_guid1, param);
1370     return offset;
1371 }
1372
1373
1374 static int
1375 drsuapi_dissect_uint8(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
1376 {
1377     offset=dissect_ndr_uint8(tvb, offset, pinfo, tree, drep, hf_index, NULL);
1378     return offset;
1379 }
1380
1381 static int
1382 drsuapi_dissect_DsReplicaSyncRequest1Info_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1383 {
1384     guint32 param=0;
1385     offset=drsuapi_dissect_uint8(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1Info_byte_array, param);
1386     return offset;
1387 }
1388
1389 static int
1390 fixedarray_drsuapi_dissect_DsReplicaSyncRequest1Info_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1391 {
1392     int count=28;
1393     while(count--){
1394         offset=drsuapi_dissect_DsReplicaSyncRequest1Info_byte_array(tvb, offset, pinfo, tree, drep);
1395     }
1396
1397     return offset;
1398 }
1399
1400 static int
1401 drsuapi_dissect_DsReplicaSyncRequest1Info_str_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1402 {
1403     guint32 param=0;
1404     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1Info_str_len, param);
1405     return offset;
1406 }
1407
1408
1409 #if 0
1410 static int
1411 drsuapi_dissect_uint16(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
1412 {
1413     offset=dissect_ndr_uint16(tvb, offset, pinfo, tree, drep, hf_index, NULL);
1414     return offset;
1415 }
1416 #endif
1417
1418
1419 int
1420 drsuapi_dissect_DsReplicaSyncRequest1Info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1421 {
1422     proto_item *item=NULL;
1423     proto_tree *tree=NULL;
1424     int old_offset;
1425
1426     ALIGN_TO_4_BYTES;
1427
1428     old_offset=offset;
1429     if(parent_tree){
1430         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1431         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaSyncRequest1Info);
1432     }
1433
1434     offset=drsuapi_dissect_DsReplicaSyncRequest1Info_unknown1(tvb, offset, pinfo, tree, drep);
1435
1436     offset=drsuapi_dissect_DsReplicaSyncRequest1Info_unknown2(tvb, offset, pinfo, tree, drep);
1437
1438     offset=drsuapi_dissect_DsReplicaSyncRequest1Info_guid1(tvb, offset, pinfo, tree, drep);
1439
1440     offset=fixedarray_drsuapi_dissect_DsReplicaSyncRequest1Info_byte_array(tvb, offset, pinfo, tree, drep);
1441
1442     offset=drsuapi_dissect_DsReplicaSyncRequest1Info_str_len(tvb, offset, pinfo, tree, drep);
1443
1444     offset=ucarray_drsuapi_dissect_DsReplicaSyncRequest1Info_nc_dn(tvb, offset, pinfo, tree, drep);
1445
1446     proto_item_set_len(item, offset-old_offset);
1447
1448     return offset;
1449 }
1450 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION_tfs = {
1451     "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION is SET",
1452     "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION is NOT set"
1453 };
1454
1455 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_WRITEABLE_tfs = {
1456     "DRSUAPI_DS_REPLICA_SYNC_WRITEABLE is SET",
1457     "DRSUAPI_DS_REPLICA_SYNC_WRITEABLE is NOT set"
1458 };
1459
1460 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_PERIODIC_tfs = {
1461     "DRSUAPI_DS_REPLICA_SYNC_PERIODIC is SET",
1462     "DRSUAPI_DS_REPLICA_SYNC_PERIODIC is NOT set"
1463 };
1464
1465 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING_tfs = {
1466     "DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING is SET",
1467     "DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING is NOT set"
1468 };
1469
1470 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES_tfs = {
1471     "DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES is SET",
1472     "DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES is NOT set"
1473 };
1474
1475 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_FULL_tfs = {
1476     "DRSUAPI_DS_REPLICA_SYNC_FULL is SET",
1477     "DRSUAPI_DS_REPLICA_SYNC_FULL is NOT set"
1478 };
1479
1480 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_URGENT_tfs = {
1481     "DRSUAPI_DS_REPLICA_SYNC_URGENT is SET",
1482     "DRSUAPI_DS_REPLICA_SYNC_URGENT is NOT set"
1483 };
1484
1485 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD_tfs = {
1486     "DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD is SET",
1487     "DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD is NOT set"
1488 };
1489
1490 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_FORCE_tfs = {
1491     "DRSUAPI_DS_REPLICA_SYNC_FORCE is SET",
1492     "DRSUAPI_DS_REPLICA_SYNC_FORCE is NOT set"
1493 };
1494
1495 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE_tfs = {
1496     "DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE is SET",
1497     "DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE is NOT set"
1498 };
1499
1500 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED_tfs = {
1501     "DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED is SET",
1502     "DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED is NOT set"
1503 };
1504
1505 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_TWO_WAY_tfs = {
1506     "DRSUAPI_DS_REPLICA_SYNC_TWO_WAY is SET",
1507     "DRSUAPI_DS_REPLICA_SYNC_TWO_WAY is NOT set"
1508 };
1509
1510 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY_tfs = {
1511     "DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY is SET",
1512     "DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY is NOT set"
1513 };
1514
1515 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_INITIAL_tfs = {
1516     "DRSUAPI_DS_REPLICA_SYNC_INITIAL is SET",
1517     "DRSUAPI_DS_REPLICA_SYNC_INITIAL is NOT set"
1518 };
1519
1520 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION_tfs = {
1521     "DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION is SET",
1522     "DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION is NOT set"
1523 };
1524
1525 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ABANDONED_tfs = {
1526     "DRSUAPI_DS_REPLICA_SYNC_ABANDONED is SET",
1527     "DRSUAPI_DS_REPLICA_SYNC_ABANDONED is NOT set"
1528 };
1529
1530 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS_tfs = {
1531     "DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS is SET",
1532     "DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS is NOT set"
1533 };
1534
1535 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET_tfs = {
1536     "DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET is SET",
1537     "DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET is NOT set"
1538 };
1539
1540 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_REQUEUE_tfs = {
1541     "DRSUAPI_DS_REPLICA_SYNC_REQUEUE is SET",
1542     "DRSUAPI_DS_REPLICA_SYNC_REQUEUE is NOT set"
1543 };
1544
1545 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION_tfs = {
1546     "DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION is SET",
1547     "DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION is NOT set"
1548 };
1549
1550 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA_tfs = {
1551     "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA is SET",
1552     "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA is NOT set"
1553 };
1554
1555 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_CRITICAL_tfs = {
1556     "DRSUAPI_DS_REPLICA_SYNC_CRITICAL is SET",
1557     "DRSUAPI_DS_REPLICA_SYNC_CRITICAL is NOT set"
1558 };
1559
1560 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS_tfs = {
1561     "DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS is SET",
1562     "DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS is NOT set"
1563 };
1564
1565 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_PREEMPTED_tfs = {
1566     "DRSUAPI_DS_REPLICA_SYNC_PREEMPTED is SET",
1567     "DRSUAPI_DS_REPLICA_SYNC_PREEMPTED is NOT set"
1568 };
1569
1570
1571 int
1572 drsuapi_dissect_DsReplicaSyncOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1573 {
1574     proto_item *item=NULL;
1575     proto_tree *tree=NULL;
1576     guint32 flags;
1577
1578     ALIGN_TO_4_BYTES;
1579
1580     if(parent_tree){
1581         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
1582         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaSyncOptions);
1583     }
1584
1585     offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
1586
1587
1588     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
1589     if(flags&0x00000001){
1590         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION");
1591     }
1592     flags&=(~0x00000001);
1593
1594     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_WRITEABLE, tvb, offset-4, 4, flags);
1595     if(flags&0x00000002){
1596         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_WRITEABLE");
1597     }
1598     flags&=(~0x00000002);
1599
1600     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PERIODIC, tvb, offset-4, 4, flags);
1601     if(flags&0x00000004){
1602         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_PERIODIC");
1603     }
1604     flags&=(~0x00000004);
1605
1606     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING, tvb, offset-4, 4, flags);
1607     if(flags&0x00000008){
1608         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING");
1609     }
1610     flags&=(~0x00000008);
1611
1612     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES, tvb, offset-4, 4, flags);
1613     if(flags&0x00000010){
1614         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES");
1615     }
1616     flags&=(~0x00000010);
1617
1618     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL, tvb, offset-4, 4, flags);
1619     if(flags&0x00000020){
1620         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_FULL");
1621     }
1622     flags&=(~0x00000020);
1623
1624     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_URGENT, tvb, offset-4, 4, flags);
1625     if(flags&0x00000040){
1626         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_URGENT");
1627     }
1628     flags&=(~0x00000040);
1629
1630     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD, tvb, offset-4, 4, flags);
1631     if(flags&0x00000080){
1632         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD");
1633     }
1634     flags&=(~0x00000080);
1635
1636     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FORCE, tvb, offset-4, 4, flags);
1637     if(flags&0x00000100){
1638         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_FORCE");
1639     }
1640     flags&=(~0x00000100);
1641
1642     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE, tvb, offset-4, 4, flags);
1643     if(flags&0x00000200){
1644         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE");
1645     }
1646     flags&=(~0x00000200);
1647
1648     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED, tvb, offset-4, 4, flags);
1649     if(flags&0x00000400){
1650         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED");
1651     }
1652     flags&=(~0x00000400);
1653
1654     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_TWO_WAY, tvb, offset-4, 4, flags);
1655     if(flags&0x00000800){
1656         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_TWO_WAY");
1657     }
1658     flags&=(~0x00000800);
1659
1660     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY, tvb, offset-4, 4, flags);
1661     if(flags&0x00001000){
1662         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY");
1663     }
1664     flags&=(~0x00001000);
1665
1666     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL, tvb, offset-4, 4, flags);
1667     if(flags&0x00002000){
1668         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_INITIAL");
1669     }
1670     flags&=(~0x00002000);
1671
1672     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION, tvb, offset-4, 4, flags);
1673     if(flags&0x00004000){
1674         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION");
1675     }
1676     flags&=(~0x00004000);
1677
1678     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ABANDONED, tvb, offset-4, 4, flags);
1679     if(flags&0x00008000){
1680         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ABANDONED");
1681     }
1682     flags&=(~0x00008000);
1683
1684     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS, tvb, offset-4, 4, flags);
1685     if(flags&0x00010000){
1686         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS");
1687     }
1688     flags&=(~0x00010000);
1689
1690     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET, tvb, offset-4, 4, flags);
1691     if(flags&0x00020000){
1692         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET");
1693     }
1694     flags&=(~0x00020000);
1695
1696     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_REQUEUE, tvb, offset-4, 4, flags);
1697     if(flags&0x00040000){
1698         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_REQUEUE");
1699     }
1700     flags&=(~0x00040000);
1701
1702     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION, tvb, offset-4, 4, flags);
1703     if(flags&0x00080000){
1704         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION");
1705     }
1706     flags&=(~0x00080000);
1707
1708     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA, tvb, offset-4, 4, flags);
1709     if(flags&0x00100000){
1710         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA");
1711     }
1712     flags&=(~0x00100000);
1713
1714     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_CRITICAL, tvb, offset-4, 4, flags);
1715     if(flags&0x00200000){
1716         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_CRITICAL");
1717     }
1718     flags&=(~0x00200000);
1719
1720     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS, tvb, offset-4, 4, flags);
1721     if(flags&0x00400000){
1722         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS");
1723     }
1724     flags&=(~0x00400000);
1725
1726     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PREEMPTED, tvb, offset-4, 4, flags);
1727     if(flags&0x00800000){
1728         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_PREEMPTED");
1729     }
1730     flags&=(~0x00800000);
1731
1732     if(flags){
1733         proto_item_append_text(item, "UNKNOWN-FLAGS");
1734     }
1735
1736     return offset;
1737 }
1738 static int
1739 drsuapi_dissect_DsReplicaSyncRequest1_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1740 {
1741     guint32 param=0;
1742     offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1_info, param);
1743     return offset;
1744 }
1745
1746 static int
1747 ref_drsuapi_dissect_DsReplicaSyncRequest1_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1748 {
1749     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaSyncRequest1_info, NDR_POINTER_REF, "info", -1);
1750     return offset;
1751 }
1752
1753 static int
1754 drsuapi_dissect_DsReplicaSyncRequest1_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1755 {
1756     guint32 param=0;
1757     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1_guid1, param);
1758     return offset;
1759 }
1760
1761 static int
1762 drsuapi_dissect_DsReplicaSyncRequest1_string1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1763 {
1764     guint32 param=0;
1765     offset=drsuapi_dissect_a_string(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1_string1, param);
1766     return offset;
1767 }
1768
1769 static int
1770 unique_drsuapi_dissect_DsReplicaSyncRequest1_string1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1771 {
1772     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaSyncRequest1_string1, NDR_POINTER_UNIQUE, "string1", -1);
1773     return offset;
1774 }
1775
1776 static int
1777 drsuapi_dissect_DsReplicaSyncRequest1_options(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1778 {
1779     guint32 param=0;
1780     offset=drsuapi_dissect_DsReplicaSyncOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1_options, param);
1781     return offset;
1782 }
1783
1784
1785 int
1786 drsuapi_dissect_DsReplicaSyncRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1787 {
1788     proto_item *item=NULL;
1789     proto_tree *tree=NULL;
1790     int old_offset;
1791
1792     ALIGN_TO_4_BYTES;
1793
1794     old_offset=offset;
1795     if(parent_tree){
1796         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1797         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaSyncRequest1);
1798     }
1799
1800     offset=ref_drsuapi_dissect_DsReplicaSyncRequest1_info(tvb, offset, pinfo, tree, drep);
1801
1802     offset=drsuapi_dissect_DsReplicaSyncRequest1_guid1(tvb, offset, pinfo, tree, drep);
1803
1804     offset=unique_drsuapi_dissect_DsReplicaSyncRequest1_string1(tvb, offset, pinfo, tree, drep);
1805
1806     offset=drsuapi_dissect_DsReplicaSyncRequest1_options(tvb, offset, pinfo, tree, drep);
1807
1808     proto_item_set_len(item, offset-old_offset);
1809
1810     return offset;
1811 }
1812
1813 static int
1814 drsuapi_dissect_int32(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
1815 {
1816     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
1817     return offset;
1818 }
1819
1820 static int
1821 drsuapi_dissect_union_DsReplicaSyncRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1822 {
1823     guint32 param=0;
1824     offset=drsuapi_dissect_DsReplicaSyncRequest1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest_1_req1, param);
1825     return offset;
1826 }
1827
1828
1829 static int
1830 drsuapi_dissect_union_DsReplicaSyncRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1831 {
1832     proto_item *item=NULL;
1833     proto_tree *tree=NULL;
1834     int old_offset;
1835     guint32 level;
1836
1837     ALIGN_TO_4_BYTES;
1838
1839     old_offset=offset;
1840     if(parent_tree){
1841         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsReplicaSyncRequest");
1842         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaSyncRequest);
1843     }
1844
1845     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
1846                               drep, hf_index, &level);
1847
1848     switch(level){
1849     case 1:
1850         ALIGN_TO_4_BYTES;
1851         offset=drsuapi_dissect_union_DsReplicaSyncRequest_1_req1(tvb, offset, pinfo, tree, drep);
1852         break;
1853
1854     }
1855
1856     proto_item_set_len(item, offset-old_offset);
1857
1858    return offset;
1859 }
1860 static int
1861 drsuapi_dissect_DsReplicaSync_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1862 {
1863     guint32 param=0;
1864     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSync_bind_handle, param);
1865     return offset;
1866 }
1867
1868 static int
1869 ref_drsuapi_dissect_DsReplicaSync_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1870 {
1871     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaSync_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
1872     return offset;
1873 }
1874
1875 static int
1876 drsuapi_dissect_DsReplicaSync_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1877 {
1878     guint32 param=0;
1879     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSync_level, param);
1880     return offset;
1881 }
1882
1883 static int
1884 drsuapi_dissect_DsReplicaSync_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1885 {
1886     guint32 param=0;
1887     offset=drsuapi_dissect_union_DsReplicaSyncRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSync_req, param);
1888     return offset;
1889 }
1890
1891 static int
1892 ref_drsuapi_dissect_DsReplicaSync_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1893 {
1894     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaSync_req, NDR_POINTER_REF, "req", -1);
1895     return offset;
1896 }
1897
1898
1899 static int
1900 drsuapi_dissect_DsReplicaSync_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1901 {
1902         offset=ref_drsuapi_dissect_DsReplicaSync_bind_handle(tvb, offset, pinfo, tree, drep);
1903         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1904
1905         offset=drsuapi_dissect_DsReplicaSync_level(tvb, offset, pinfo, tree, drep);
1906         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1907
1908         offset=ref_drsuapi_dissect_DsReplicaSync_req(tvb, offset, pinfo, tree, drep);
1909         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1910
1911
1912    return offset;
1913 }
1914
1915 static int
1916 drsuapi_dissect_DsReplicaSync_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1917 {
1918    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
1919
1920
1921    return offset;
1922 }
1923
1924 static int
1925 drsuapi_dissect_uint64(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
1926 {
1927     
1928     ALIGN_TO_8_BYTES;
1929     offset=dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_index, NULL);
1930
1931     return offset;
1932 }
1933
1934 static int
1935 drsuapi_dissect_DsGetNCChangesUsnTriple_usn1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1936 {
1937     guint32 param=0;
1938     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesUsnTriple_usn1, param);
1939     return offset;
1940 }
1941
1942 static int
1943 drsuapi_dissect_DsGetNCChangesUsnTriple_usn2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1944 {
1945     guint32 param=0;
1946     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesUsnTriple_usn2, param);
1947     return offset;
1948 }
1949
1950 static int
1951 drsuapi_dissect_DsGetNCChangesUsnTriple_usn3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1952 {
1953     guint32 param=0;
1954     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesUsnTriple_usn3, param);
1955     return offset;
1956 }
1957
1958
1959 int
1960 drsuapi_dissect_DsGetNCChangesUsnTriple(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1961 {
1962     proto_item *item=NULL;
1963     proto_tree *tree=NULL;
1964     int old_offset;
1965
1966     ALIGN_TO_8_BYTES;
1967
1968     old_offset=offset;
1969     if(parent_tree){
1970         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1971         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesUsnTriple);
1972     }
1973
1974     offset=drsuapi_dissect_DsGetNCChangesUsnTriple_usn1(tvb, offset, pinfo, tree, drep);
1975
1976     offset=drsuapi_dissect_DsGetNCChangesUsnTriple_usn2(tvb, offset, pinfo, tree, drep);
1977
1978     offset=drsuapi_dissect_DsGetNCChangesUsnTriple_usn3(tvb, offset, pinfo, tree, drep);
1979
1980     proto_item_set_len(item, offset-old_offset);
1981
1982     return offset;
1983 }
1984 static int
1985 drsuapi_dissect_DsReplicaCoursor_source_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1986 {
1987     guint32 param=0;
1988     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor_source_dsa_invocation_id, param);
1989     return offset;
1990 }
1991
1992 static int
1993 drsuapi_dissect_DsReplicaCoursor_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1994 {
1995     guint32 param=0;
1996     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor_highest_usn, param);
1997     return offset;
1998 }
1999
2000
2001 int
2002 drsuapi_dissect_DsReplicaCoursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2003 {
2004     proto_item *item=NULL;
2005     proto_tree *tree=NULL;
2006     int old_offset;
2007
2008     ALIGN_TO_8_BYTES;
2009
2010     old_offset=offset;
2011     if(parent_tree){
2012         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2013         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor);
2014     }
2015
2016     offset=drsuapi_dissect_DsReplicaCoursor_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
2017
2018     offset=drsuapi_dissect_DsReplicaCoursor_highest_usn(tvb, offset, pinfo, tree, drep);
2019
2020     proto_item_set_len(item, offset-old_offset);
2021
2022     return offset;
2023 }
2024 static int
2025 drsuapi_dissect_DsReplicaCoursor05Ctr_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2026 {
2027     guint32 param=0;
2028     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor05Ctr_u1, param);
2029     return offset;
2030 }
2031
2032 static int
2033 drsuapi_dissect_DsReplicaCoursor05Ctr_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2034 {
2035     guint32 param=0;
2036     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor05Ctr_u2, param);
2037     return offset;
2038 }
2039
2040 static int
2041 drsuapi_dissect_DsReplicaCoursor05Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2042 {
2043     guint32 param=0;
2044     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor05Ctr_count, param);
2045     return offset;
2046 }
2047
2048 static int
2049 drsuapi_dissect_DsReplicaCoursor05Ctr_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2050 {
2051     guint32 param=0;
2052     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor05Ctr_u3, param);
2053     return offset;
2054 }
2055
2056 static int
2057 drsuapi_dissect_DsReplicaCoursor05Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2058 {
2059     guint32 param=0;
2060     offset=drsuapi_dissect_DsReplicaCoursor(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor05Ctr_array, param);
2061     return offset;
2062 }
2063
2064 static int
2065 ucarray_drsuapi_dissect_DsReplicaCoursor05Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2066 {
2067     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaCoursor05Ctr_array);
2068     return offset;
2069 }
2070
2071
2072 int
2073 drsuapi_dissect_DsReplicaCoursor05Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2074 {
2075     proto_item *item=NULL;
2076     proto_tree *tree=NULL;
2077     int old_offset;
2078
2079     ALIGN_TO_8_BYTES;
2080
2081     old_offset=offset;
2082     if(parent_tree){
2083         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2084         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor05Ctr);
2085     }
2086
2087     offset=drsuapi_dissect_DsReplicaCoursor05Ctr_u1(tvb, offset, pinfo, tree, drep);
2088
2089     offset=drsuapi_dissect_DsReplicaCoursor05Ctr_u2(tvb, offset, pinfo, tree, drep);
2090
2091     offset=drsuapi_dissect_DsReplicaCoursor05Ctr_count(tvb, offset, pinfo, tree, drep);
2092
2093     offset=drsuapi_dissect_DsReplicaCoursor05Ctr_u3(tvb, offset, pinfo, tree, drep);
2094
2095     offset=ucarray_drsuapi_dissect_DsReplicaCoursor05Ctr_array(tvb, offset, pinfo, tree, drep);
2096
2097     proto_item_set_len(item, offset-old_offset);
2098
2099     return offset;
2100 }
2101 static int
2102 drsuapi_dissect_DsGetNCChangesRequest5_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2103 {
2104     guint32 param=0;
2105     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_guid1, param);
2106     return offset;
2107 }
2108
2109 static int
2110 drsuapi_dissect_DsGetNCChangesRequest5_guid2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2111 {
2112     guint32 param=0;
2113     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_guid2, param);
2114     return offset;
2115 }
2116
2117 static int
2118 drsuapi_dissect_DsGetNCChangesRequest5_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2119 {
2120     guint32 param=0;
2121     offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_sync_req_info1, param);
2122     return offset;
2123 }
2124
2125 static int
2126 ref_drsuapi_dissect_DsGetNCChangesRequest5_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2127 {
2128     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesRequest5_sync_req_info1, NDR_POINTER_REF, "sync_req_info1", -1);
2129     return offset;
2130 }
2131
2132 static int
2133 drsuapi_dissect_DsGetNCChangesRequest5_usn1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2134 {
2135     guint32 param=0;
2136     offset=drsuapi_dissect_DsGetNCChangesUsnTriple(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_usn1, param);
2137     return offset;
2138 }
2139
2140 static int
2141 drsuapi_dissect_DsGetNCChangesRequest5_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2142 {
2143     guint32 param=0;
2144     offset=drsuapi_dissect_DsReplicaCoursor05Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_coursor, param);
2145     return offset;
2146 }
2147
2148 static int
2149 unique_drsuapi_dissect_DsGetNCChangesRequest5_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2150 {
2151     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesRequest5_coursor, NDR_POINTER_UNIQUE, "coursor", -1);
2152     return offset;
2153 }
2154
2155 static int
2156 drsuapi_dissect_DsGetNCChangesRequest5_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2157 {
2158     guint32 param=0;
2159     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_unknown1, param);
2160     return offset;
2161 }
2162
2163 static int
2164 drsuapi_dissect_DsGetNCChangesRequest5_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2165 {
2166     guint32 param=0;
2167     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_unknown2, param);
2168     return offset;
2169 }
2170
2171 static int
2172 drsuapi_dissect_DsGetNCChangesRequest5_unknown3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2173 {
2174     guint32 param=0;
2175     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_unknown3, param);
2176     return offset;
2177 }
2178
2179 static int
2180 drsuapi_dissect_DsGetNCChangesRequest5_unknown4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2181 {
2182     guint32 param=0;
2183     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_unknown4, param);
2184     return offset;
2185 }
2186
2187 static int
2188 drsuapi_dissect_DsGetNCChangesRequest5_h1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2189 {
2190     guint32 param=0;
2191     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_h1, param);
2192     return offset;
2193 }
2194
2195
2196 int
2197 drsuapi_dissect_DsGetNCChangesRequest5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2198 {
2199     proto_item *item=NULL;
2200     proto_tree *tree=NULL;
2201     int old_offset;
2202
2203     ALIGN_TO_8_BYTES;
2204
2205     old_offset=offset;
2206     if(parent_tree){
2207         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2208         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest5);
2209     }
2210
2211     offset=drsuapi_dissect_DsGetNCChangesRequest5_guid1(tvb, offset, pinfo, tree, drep);
2212
2213     offset=drsuapi_dissect_DsGetNCChangesRequest5_guid2(tvb, offset, pinfo, tree, drep);
2214
2215     offset=ref_drsuapi_dissect_DsGetNCChangesRequest5_sync_req_info1(tvb, offset, pinfo, tree, drep);
2216
2217     offset=drsuapi_dissect_DsGetNCChangesRequest5_usn1(tvb, offset, pinfo, tree, drep);
2218
2219     offset=unique_drsuapi_dissect_DsGetNCChangesRequest5_coursor(tvb, offset, pinfo, tree, drep);
2220
2221     offset=drsuapi_dissect_DsGetNCChangesRequest5_unknown1(tvb, offset, pinfo, tree, drep);
2222
2223     offset=drsuapi_dissect_DsGetNCChangesRequest5_unknown2(tvb, offset, pinfo, tree, drep);
2224
2225     offset=drsuapi_dissect_DsGetNCChangesRequest5_unknown3(tvb, offset, pinfo, tree, drep);
2226
2227     offset=drsuapi_dissect_DsGetNCChangesRequest5_unknown4(tvb, offset, pinfo, tree, drep);
2228
2229     offset=drsuapi_dissect_DsGetNCChangesRequest5_h1(tvb, offset, pinfo, tree, drep);
2230
2231     proto_item_set_len(item, offset-old_offset);
2232
2233     return offset;
2234 }
2235 static int
2236 drsuapi_dissect_DsGetNCChangesRequest_Ctr14_length(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2237 {
2238     guint32 param=0;
2239     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr14_length, param);
2240     return offset;
2241 }
2242
2243 static int
2244 drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2245 {
2246     guint32 param=0;
2247     offset=drsuapi_dissect_uint8(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr14_byte_array, param);
2248     return offset;
2249 }
2250
2251 static int
2252 ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2253 {
2254     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array);
2255     return offset;
2256 }
2257
2258 static int
2259 unique_ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2260 {
2261     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array, NDR_POINTER_UNIQUE, "byte_array", -1);
2262     return offset;
2263 }
2264
2265
2266 int
2267 drsuapi_dissect_DsGetNCChangesRequest_Ctr14(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2268 {
2269     proto_item *item=NULL;
2270     proto_tree *tree=NULL;
2271     int old_offset;
2272
2273     ALIGN_TO_4_BYTES;
2274
2275     old_offset=offset;
2276     if(parent_tree){
2277         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2278         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest_Ctr14);
2279     }
2280
2281     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr14_length(tvb, offset, pinfo, tree, drep);
2282
2283     offset=unique_ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array(tvb, offset, pinfo, tree, drep);
2284
2285     proto_item_set_len(item, offset-old_offset);
2286
2287     return offset;
2288 }
2289 static int
2290 drsuapi_dissect_DsGetNCChangesRequest_Ctr13_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2291 {
2292     guint32 param=0;
2293     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr13_unknown1, param);
2294     return offset;
2295 }
2296
2297 static int
2298 drsuapi_dissect_DsGetNCChangesRequest_Ctr13_data(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2299 {
2300     guint32 param=0;
2301     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr14(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr13_data, param);
2302     return offset;
2303 }
2304
2305
2306 int
2307 drsuapi_dissect_DsGetNCChangesRequest_Ctr13(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2308 {
2309     proto_item *item=NULL;
2310     proto_tree *tree=NULL;
2311     int old_offset;
2312
2313     ALIGN_TO_4_BYTES;
2314
2315     old_offset=offset;
2316     if(parent_tree){
2317         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2318         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest_Ctr13);
2319     }
2320
2321     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr13_unknown1(tvb, offset, pinfo, tree, drep);
2322
2323     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr13_data(tvb, offset, pinfo, tree, drep);
2324
2325     proto_item_set_len(item, offset-old_offset);
2326
2327     return offset;
2328 }
2329 static int
2330 drsuapi_dissect_DsGetNCChangesRequest_Ctr12_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2331 {
2332     guint32 param=0;
2333     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr12_count, param);
2334     return offset;
2335 }
2336
2337 static int
2338 drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2339 {
2340     guint32 param=0;
2341     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr13(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr12_array, param);
2342     return offset;
2343 }
2344
2345 static int
2346 ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2347 {
2348     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array);
2349     return offset;
2350 }
2351
2352 static int
2353 unique_ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2354 {
2355     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array, NDR_POINTER_UNIQUE, "array", -1);
2356     return offset;
2357 }
2358
2359
2360 int
2361 drsuapi_dissect_DsGetNCChangesRequest_Ctr12(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2362 {
2363     proto_item *item=NULL;
2364     proto_tree *tree=NULL;
2365     int old_offset;
2366
2367     ALIGN_TO_4_BYTES;
2368
2369     old_offset=offset;
2370     if(parent_tree){
2371         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2372         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest_Ctr12);
2373     }
2374
2375     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr12_count(tvb, offset, pinfo, tree, drep);
2376
2377     offset=unique_ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array(tvb, offset, pinfo, tree, drep);
2378
2379     proto_item_set_len(item, offset-old_offset);
2380
2381     return offset;
2382 }
2383 static int
2384 drsuapi_dissect_DsGetNCChangesRequest8_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2385 {
2386     guint32 param=0;
2387     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_guid1, param);
2388     return offset;
2389 }
2390
2391 static int
2392 drsuapi_dissect_DsGetNCChangesRequest8_guid2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2393 {
2394     guint32 param=0;
2395     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_guid2, param);
2396     return offset;
2397 }
2398
2399 static int
2400 drsuapi_dissect_DsGetNCChangesRequest8_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2401 {
2402     guint32 param=0;
2403     offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_sync_req_info1, param);
2404     return offset;
2405 }
2406
2407 static int
2408 ref_drsuapi_dissect_DsGetNCChangesRequest8_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2409 {
2410     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesRequest8_sync_req_info1, NDR_POINTER_REF, "sync_req_info1", -1);
2411     return offset;
2412 }
2413
2414 static int
2415 drsuapi_dissect_DsGetNCChangesRequest8_usn1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2416 {
2417     guint32 param=0;
2418     offset=drsuapi_dissect_DsGetNCChangesUsnTriple(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_usn1, param);
2419     return offset;
2420 }
2421
2422 static int
2423 drsuapi_dissect_DsGetNCChangesRequest8_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2424 {
2425     guint32 param=0;
2426     offset=drsuapi_dissect_DsReplicaCoursor05Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_coursor, param);
2427     return offset;
2428 }
2429
2430 static int
2431 unique_drsuapi_dissect_DsGetNCChangesRequest8_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2432 {
2433     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesRequest8_coursor, NDR_POINTER_UNIQUE, "coursor", -1);
2434     return offset;
2435 }
2436
2437 static int
2438 drsuapi_dissect_DsGetNCChangesRequest8_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2439 {
2440     guint32 param=0;
2441     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_unknown1, param);
2442     return offset;
2443 }
2444
2445 static int
2446 drsuapi_dissect_DsGetNCChangesRequest8_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2447 {
2448     guint32 param=0;
2449     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_unknown2, param);
2450     return offset;
2451 }
2452
2453 static int
2454 drsuapi_dissect_DsGetNCChangesRequest8_unknown3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2455 {
2456     guint32 param=0;
2457     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_unknown3, param);
2458     return offset;
2459 }
2460
2461 static int
2462 drsuapi_dissect_DsGetNCChangesRequest8_unknown4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2463 {
2464     guint32 param=0;
2465     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_unknown4, param);
2466     return offset;
2467 }
2468
2469 static int
2470 drsuapi_dissect_DsGetNCChangesRequest8_h1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2471 {
2472     guint32 param=0;
2473     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_h1, param);
2474     return offset;
2475 }
2476
2477 static int
2478 drsuapi_dissect_DsGetNCChangesRequest8_unique_ptr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2479 {
2480     guint32 param=0;
2481     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_unique_ptr1, param);
2482     return offset;
2483 }
2484
2485 static int
2486 drsuapi_dissect_DsGetNCChangesRequest8_unique_ptr2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2487 {
2488     guint32 param=0;
2489     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_unique_ptr2, param);
2490     return offset;
2491 }
2492
2493 static int
2494 drsuapi_dissect_DsGetNCChangesRequest8_ctr12(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2495 {
2496     guint32 param=0;
2497     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr12(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_ctr12, param);
2498     return offset;
2499 }
2500
2501
2502 int
2503 drsuapi_dissect_DsGetNCChangesRequest8(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2504 {
2505     proto_item *item=NULL;
2506     proto_tree *tree=NULL;
2507     int old_offset;
2508
2509     ALIGN_TO_8_BYTES;
2510
2511     old_offset=offset;
2512     if(parent_tree){
2513         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2514         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest8);
2515     }
2516
2517     offset=drsuapi_dissect_DsGetNCChangesRequest8_guid1(tvb, offset, pinfo, tree, drep);
2518
2519     offset=drsuapi_dissect_DsGetNCChangesRequest8_guid2(tvb, offset, pinfo, tree, drep);
2520
2521     offset=ref_drsuapi_dissect_DsGetNCChangesRequest8_sync_req_info1(tvb, offset, pinfo, tree, drep);
2522
2523     offset=drsuapi_dissect_DsGetNCChangesRequest8_usn1(tvb, offset, pinfo, tree, drep);
2524
2525     offset=unique_drsuapi_dissect_DsGetNCChangesRequest8_coursor(tvb, offset, pinfo, tree, drep);
2526
2527     offset=drsuapi_dissect_DsGetNCChangesRequest8_unknown1(tvb, offset, pinfo, tree, drep);
2528
2529     offset=drsuapi_dissect_DsGetNCChangesRequest8_unknown2(tvb, offset, pinfo, tree, drep);
2530
2531     offset=drsuapi_dissect_DsGetNCChangesRequest8_unknown3(tvb, offset, pinfo, tree, drep);
2532
2533     offset=drsuapi_dissect_DsGetNCChangesRequest8_unknown4(tvb, offset, pinfo, tree, drep);
2534
2535     offset=drsuapi_dissect_DsGetNCChangesRequest8_h1(tvb, offset, pinfo, tree, drep);
2536
2537     offset=drsuapi_dissect_DsGetNCChangesRequest8_unique_ptr1(tvb, offset, pinfo, tree, drep);
2538
2539     offset=drsuapi_dissect_DsGetNCChangesRequest8_unique_ptr2(tvb, offset, pinfo, tree, drep);
2540
2541     offset=drsuapi_dissect_DsGetNCChangesRequest8_ctr12(tvb, offset, pinfo, tree, drep);
2542
2543     proto_item_set_len(item, offset-old_offset);
2544
2545     return offset;
2546 }
2547 static int
2548 drsuapi_dissect_union_DsGetNCChangesRequest_5_req5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2549 {
2550     guint32 param=0;
2551     offset=drsuapi_dissect_DsGetNCChangesRequest5(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_5_req5, param);
2552     return offset;
2553 }
2554
2555 static int
2556 drsuapi_dissect_union_DsGetNCChangesRequest_8_req8(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2557 {
2558     guint32 param=0;
2559     offset=drsuapi_dissect_DsGetNCChangesRequest8(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_8_req8, param);
2560     return offset;
2561 }
2562
2563
2564 static int
2565 drsuapi_dissect_union_DsGetNCChangesRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2566 {
2567     proto_item *item=NULL;
2568     proto_tree *tree=NULL;
2569     int old_offset;
2570     guint32 level;
2571
2572     ALIGN_TO_4_BYTES;
2573
2574     old_offset=offset;
2575     if(parent_tree){
2576         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsGetNCChangesRequest");
2577         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest);
2578     }
2579
2580     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
2581                               drep, hf_index, &level);
2582
2583     switch(level){
2584     case 5:
2585         ALIGN_TO_8_BYTES;
2586         offset=drsuapi_dissect_union_DsGetNCChangesRequest_5_req5(tvb, offset, pinfo, tree, drep);
2587         break;
2588
2589     case 8:
2590         ALIGN_TO_8_BYTES;
2591         offset=drsuapi_dissect_union_DsGetNCChangesRequest_8_req8(tvb, offset, pinfo, tree, drep);
2592         break;
2593
2594     }
2595
2596     proto_item_set_len(item, offset-old_offset);
2597
2598    return offset;
2599 }
2600 static int
2601 drsuapi_dissect_DsReplicaCoursorEx_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2602 {
2603     guint32 param=0;
2604     offset=drsuapi_dissect_DsReplicaCoursor(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorEx_coursor, param);
2605     return offset;
2606 }
2607
2608
2609 static int
2610 drsuapi_dissect_NTTIME_1sec(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
2611 {
2612     ALIGN_TO_8_BYTES;
2613     offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_index);
2614
2615     return offset;
2616 }
2617
2618 static int
2619 drsuapi_dissect_DsReplicaCoursorEx_time1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2620 {
2621     guint32 param=0;
2622     offset=drsuapi_dissect_NTTIME_1sec(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorEx_time1, param);
2623     return offset;
2624 }
2625
2626
2627 int
2628 drsuapi_dissect_DsReplicaCoursorEx(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2629 {
2630     proto_item *item=NULL;
2631     proto_tree *tree=NULL;
2632     int old_offset;
2633
2634     ALIGN_TO_8_BYTES;
2635
2636     old_offset=offset;
2637     if(parent_tree){
2638         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2639         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursorEx);
2640     }
2641
2642     offset=drsuapi_dissect_DsReplicaCoursorEx_coursor(tvb, offset, pinfo, tree, drep);
2643
2644     offset=drsuapi_dissect_DsReplicaCoursorEx_time1(tvb, offset, pinfo, tree, drep);
2645
2646     proto_item_set_len(item, offset-old_offset);
2647
2648     return offset;
2649 }
2650 static int
2651 drsuapi_dissect_DsReplicaCoursorEx05Ctr_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2652 {
2653     guint32 param=0;
2654     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_u1, param);
2655     return offset;
2656 }
2657
2658 static int
2659 drsuapi_dissect_DsReplicaCoursorEx05Ctr_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2660 {
2661     guint32 param=0;
2662     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_u2, param);
2663     return offset;
2664 }
2665
2666 static int
2667 drsuapi_dissect_DsReplicaCoursorEx05Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2668 {
2669     guint32 param=0;
2670     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_count, param);
2671     return offset;
2672 }
2673
2674 static int
2675 drsuapi_dissect_DsReplicaCoursorEx05Ctr_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2676 {
2677     guint32 param=0;
2678     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_u3, param);
2679     return offset;
2680 }
2681
2682 static int
2683 drsuapi_dissect_DsReplicaCoursorEx05Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2684 {
2685     guint32 param=0;
2686     offset=drsuapi_dissect_DsReplicaCoursorEx(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_array, param);
2687     return offset;
2688 }
2689
2690 static int
2691 ucarray_drsuapi_dissect_DsReplicaCoursorEx05Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2692 {
2693     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaCoursorEx05Ctr_array);
2694     return offset;
2695 }
2696
2697
2698 int
2699 drsuapi_dissect_DsReplicaCoursorEx05Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2700 {
2701     proto_item *item=NULL;
2702     proto_tree *tree=NULL;
2703     int old_offset;
2704
2705     ALIGN_TO_8_BYTES;
2706
2707     old_offset=offset;
2708     if(parent_tree){
2709         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2710         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursorEx05Ctr);
2711     }
2712
2713     offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr_u1(tvb, offset, pinfo, tree, drep);
2714
2715     offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr_u2(tvb, offset, pinfo, tree, drep);
2716
2717     offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr_count(tvb, offset, pinfo, tree, drep);
2718
2719     offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr_u3(tvb, offset, pinfo, tree, drep);
2720
2721     offset=ucarray_drsuapi_dissect_DsReplicaCoursorEx05Ctr_array(tvb, offset, pinfo, tree, drep);
2722
2723     proto_item_set_len(item, offset-old_offset);
2724
2725     return offset;
2726 }
2727 static int
2728 drsuapi_dissect_DsGetNCChangesCtr6_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2729 {
2730     guint32 param=0;
2731     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_guid1, param);
2732     return offset;
2733 }
2734
2735 static int
2736 drsuapi_dissect_DsGetNCChangesCtr6_guid2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2737 {
2738     guint32 param=0;
2739     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_guid2, param);
2740     return offset;
2741 }
2742
2743 static int
2744 drsuapi_dissect_DsGetNCChangesCtr6_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2745 {
2746     guint32 param=0;
2747     offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_sync_req_info1, param);
2748     return offset;
2749 }
2750
2751 static int
2752 unique_drsuapi_dissect_DsGetNCChangesCtr6_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2753 {
2754     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesCtr6_sync_req_info1, NDR_POINTER_UNIQUE, "sync_req_info1", -1);
2755     return offset;
2756 }
2757
2758 static int
2759 drsuapi_dissect_DsGetNCChangesCtr6_usn1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2760 {
2761     guint32 param=0;
2762     offset=drsuapi_dissect_DsGetNCChangesUsnTriple(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_usn1, param);
2763     return offset;
2764 }
2765
2766 static int
2767 drsuapi_dissect_DsGetNCChangesCtr6_usn2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2768 {
2769     guint32 param=0;
2770     offset=drsuapi_dissect_DsGetNCChangesUsnTriple(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_usn2, param);
2771     return offset;
2772 }
2773
2774 static int
2775 drsuapi_dissect_DsGetNCChangesCtr6_coursor_ex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2776 {
2777     guint32 param=0;
2778     offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_coursor_ex, param);
2779     return offset;
2780 }
2781
2782 static int
2783 unique_drsuapi_dissect_DsGetNCChangesCtr6_coursor_ex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2784 {
2785     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesCtr6_coursor_ex, NDR_POINTER_UNIQUE, "coursor_ex", -1);
2786     return offset;
2787 }
2788
2789 static int
2790 drsuapi_dissect_DsGetNCChangesCtr6_ctr12(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2791 {
2792     guint32 param=0;
2793     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr12(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_ctr12, param);
2794     return offset;
2795 }
2796
2797 static int
2798 drsuapi_dissect_DsGetNCChangesCtr6_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2799 {
2800     guint32 param=0;
2801     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_u1, param);
2802     return offset;
2803 }
2804
2805 static int
2806 fixedarray_drsuapi_dissect_DsGetNCChangesCtr6_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2807 {
2808     int count=3;
2809     while(count--){
2810         offset=drsuapi_dissect_DsGetNCChangesCtr6_u1(tvb, offset, pinfo, tree, drep);
2811     }
2812
2813     return offset;
2814 }
2815
2816 static int
2817 drsuapi_dissect_DsGetNCChangesCtr6_ptr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2818 {
2819     guint32 param=0;
2820     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_ptr1, param);
2821     return offset;
2822 }
2823
2824 static int
2825 drsuapi_dissect_DsGetNCChangesCtr6_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2826 {
2827     guint32 param=0;
2828     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_u2, param);
2829     return offset;
2830 }
2831
2832 static int
2833 fixedarray_drsuapi_dissect_DsGetNCChangesCtr6_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2834 {
2835     int count=3;
2836     while(count--){
2837         offset=drsuapi_dissect_DsGetNCChangesCtr6_u2(tvb, offset, pinfo, tree, drep);
2838     }
2839
2840     return offset;
2841 }
2842
2843 static int
2844 drsuapi_dissect_DsGetNCChangesCtr6_len1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2845 {
2846     guint32 param=0;
2847     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_len1, param);
2848     return offset;
2849 }
2850
2851 static int
2852 drsuapi_dissect_DsGetNCChangesCtr6_array_ptr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2853 {
2854     guint32 param=0;
2855     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_array_ptr1, param);
2856     return offset;
2857 }
2858
2859 static int
2860 drsuapi_dissect_DsGetNCChangesCtr6_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2861 {
2862     guint32 param=0;
2863     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_u3, param);
2864     return offset;
2865 }
2866
2867
2868 int
2869 drsuapi_dissect_DsGetNCChangesCtr6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2870 {
2871     proto_item *item=NULL;
2872     proto_tree *tree=NULL;
2873     int old_offset;
2874
2875     ALIGN_TO_8_BYTES;
2876
2877     old_offset=offset;
2878     if(parent_tree){
2879         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2880         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesCtr6);
2881     }
2882
2883     offset=drsuapi_dissect_DsGetNCChangesCtr6_guid1(tvb, offset, pinfo, tree, drep);
2884
2885     offset=drsuapi_dissect_DsGetNCChangesCtr6_guid2(tvb, offset, pinfo, tree, drep);
2886
2887     offset=unique_drsuapi_dissect_DsGetNCChangesCtr6_sync_req_info1(tvb, offset, pinfo, tree, drep);
2888
2889     offset=drsuapi_dissect_DsGetNCChangesCtr6_usn1(tvb, offset, pinfo, tree, drep);
2890
2891     offset=drsuapi_dissect_DsGetNCChangesCtr6_usn2(tvb, offset, pinfo, tree, drep);
2892
2893     offset=unique_drsuapi_dissect_DsGetNCChangesCtr6_coursor_ex(tvb, offset, pinfo, tree, drep);
2894
2895     offset=drsuapi_dissect_DsGetNCChangesCtr6_ctr12(tvb, offset, pinfo, tree, drep);
2896
2897     offset=fixedarray_drsuapi_dissect_DsGetNCChangesCtr6_u1(tvb, offset, pinfo, tree, drep);
2898
2899     offset=drsuapi_dissect_DsGetNCChangesCtr6_ptr1(tvb, offset, pinfo, tree, drep);
2900
2901     offset=fixedarray_drsuapi_dissect_DsGetNCChangesCtr6_u2(tvb, offset, pinfo, tree, drep);
2902
2903     offset=drsuapi_dissect_DsGetNCChangesCtr6_len1(tvb, offset, pinfo, tree, drep);
2904
2905     offset=drsuapi_dissect_DsGetNCChangesCtr6_array_ptr1(tvb, offset, pinfo, tree, drep);
2906
2907     offset=drsuapi_dissect_DsGetNCChangesCtr6_u3(tvb, offset, pinfo, tree, drep);
2908
2909     proto_item_set_len(item, offset-old_offset);
2910
2911     return offset;
2912 }
2913
2914 int
2915 drsuapi_dissect_DsGetNCChangesCtr7(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, guint8 *drep _U_, int hf_index, guint32 param _U_)
2916 {
2917     proto_item *item=NULL;
2918     proto_tree *tree=NULL;
2919     int old_offset;
2920
2921     old_offset=offset;
2922     if(parent_tree){
2923         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2924         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesCtr7);
2925     }
2926
2927     proto_item_set_len(item, offset-old_offset);
2928
2929     return offset;
2930 }
2931 static int
2932 drsuapi_dissect_union_DsGetNCChangesCtr_6_ctr6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2933 {
2934     guint32 param=0;
2935     offset=drsuapi_dissect_DsGetNCChangesCtr6(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr_6_ctr6, param);
2936     return offset;
2937 }
2938
2939 static int
2940 drsuapi_dissect_union_DsGetNCChangesCtr_7_ctr7(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2941 {
2942     guint32 param=0;
2943     offset=drsuapi_dissect_DsGetNCChangesCtr7(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr_7_ctr7, param);
2944     return offset;
2945 }
2946
2947
2948 static int
2949 drsuapi_dissect_union_DsGetNCChangesCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2950 {
2951     proto_item *item=NULL;
2952     proto_tree *tree=NULL;
2953     int old_offset;
2954     guint32 level;
2955
2956     ALIGN_TO_4_BYTES;
2957
2958     old_offset=offset;
2959     if(parent_tree){
2960         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsGetNCChangesCtr");
2961         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesCtr);
2962     }
2963
2964     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
2965                               drep, hf_index, &level);
2966
2967     switch(level){
2968     case 6:
2969         ALIGN_TO_8_BYTES;
2970         offset=drsuapi_dissect_union_DsGetNCChangesCtr_6_ctr6(tvb, offset, pinfo, tree, drep);
2971         break;
2972
2973     case 7:
2974         offset=drsuapi_dissect_union_DsGetNCChangesCtr_7_ctr7(tvb, offset, pinfo, tree, drep);
2975         break;
2976
2977     }
2978
2979     proto_item_set_len(item, offset-old_offset);
2980
2981    return offset;
2982 }
2983 static int
2984 drsuapi_dissect_DsGetNCChanges_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2985 {
2986     guint32 param=0;
2987     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChanges_bind_handle, param);
2988     return offset;
2989 }
2990
2991 static int
2992 ref_drsuapi_dissect_DsGetNCChanges_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2993 {
2994     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChanges_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
2995     return offset;
2996 }
2997
2998 static int
2999 drsuapi_dissect_DsGetNCChanges_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3000 {
3001     guint32 param=0;
3002     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChanges_level, param);
3003     return offset;
3004 }
3005
3006 static int
3007 drsuapi_dissect_DsGetNCChanges_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3008 {
3009     guint32 param=0;
3010     offset=drsuapi_dissect_union_DsGetNCChangesRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChanges_req, param);
3011     return offset;
3012 }
3013
3014 static int
3015 drsuapi_dissect_DsGetNCChanges_ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3016 {
3017     guint32 param=0;
3018     offset=drsuapi_dissect_union_DsGetNCChangesCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChanges_ctr, param);
3019     return offset;
3020 }
3021
3022
3023 static int
3024 drsuapi_dissect_DsGetNCChanges_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3025 {
3026         offset=ref_drsuapi_dissect_DsGetNCChanges_bind_handle(tvb, offset, pinfo, tree, drep);
3027         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3028
3029         offset=drsuapi_dissect_DsGetNCChanges_level(tvb, offset, pinfo, tree, drep);
3030         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3031
3032         offset=drsuapi_dissect_DsGetNCChanges_req(tvb, offset, pinfo, tree, drep);
3033         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3034
3035
3036    return offset;
3037 }
3038
3039 static int
3040 drsuapi_dissect_DsGetNCChanges_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3041 {
3042         offset=drsuapi_dissect_DsGetNCChanges_level(tvb, offset, pinfo, tree, drep);
3043         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3044
3045         offset=drsuapi_dissect_DsGetNCChanges_ctr(tvb, offset, pinfo, tree, drep);
3046         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3047
3048    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3049
3050
3051    return offset;
3052 }
3053 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION_tfs = {
3054     "DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION is SET",
3055     "DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION is NOT set"
3056 };
3057
3058 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE_tfs = {
3059     "DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE is SET",
3060     "DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE is NOT set"
3061 };
3062
3063 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE_tfs = {
3064     "DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE is SET",
3065     "DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE is NOT set"
3066 };
3067
3068 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE_tfs = {
3069     "DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE is SET",
3070     "DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE is NOT set"
3071 };
3072
3073 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_0x00000010_tfs = {
3074     "DRSUAPI_DS_REPLICA_UPDATE_0x00000010 is SET",
3075     "DRSUAPI_DS_REPLICA_UPDATE_0x00000010 is NOT set"
3076 };
3077
3078
3079 int
3080 drsuapi_dissect_DsReplicaUpdateRefsOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3081 {
3082     proto_item *item=NULL;
3083     proto_tree *tree=NULL;
3084     guint32 flags;
3085
3086     ALIGN_TO_4_BYTES;
3087
3088     if(parent_tree){
3089         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
3090         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaUpdateRefsOptions);
3091     }
3092
3093     offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
3094
3095
3096     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
3097     if(flags&0x00000001){
3098         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION");
3099     }
3100     flags&=(~0x00000001);
3101
3102     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE, tvb, offset-4, 4, flags);
3103     if(flags&0x00000002){
3104         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE");
3105     }
3106     flags&=(~0x00000002);
3107
3108     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE, tvb, offset-4, 4, flags);
3109     if(flags&0x00000004){
3110         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE");
3111     }
3112     flags&=(~0x00000004);
3113
3114     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE, tvb, offset-4, 4, flags);
3115     if(flags&0x00000008){
3116         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE");
3117     }
3118     flags&=(~0x00000008);
3119
3120     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_0x00000010, tvb, offset-4, 4, flags);
3121     if(flags&0x00000010){
3122         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_0x00000010");
3123     }
3124     flags&=(~0x00000010);
3125
3126     if(flags){
3127         proto_item_append_text(item, "UNKNOWN-FLAGS");
3128     }
3129
3130     return offset;
3131 }
3132 static int
3133 drsuapi_dissect_DsReplicaUpdateRefsRequest1_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3134 {
3135     guint32 param=0;
3136     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown1, param);
3137     return offset;
3138 }
3139
3140 static int
3141 drsuapi_dissect_DsReplicaUpdateRefsRequest1_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3142 {
3143     guint32 param=0;
3144     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown2, param);
3145     return offset;
3146 }
3147
3148 static int
3149 drsuapi_dissect_DsReplicaUpdateRefsRequest1_dest_dsa_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3150 {
3151     guint32 param=0;
3152     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid, param);
3153     return offset;
3154 }
3155
3156 static int
3157 drsuapi_dissect_DsReplicaUpdateRefsRequest1_options(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3158 {
3159     guint32 param=0;
3160     offset=drsuapi_dissect_DsReplicaUpdateRefsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_options, param);
3161     return offset;
3162 }
3163
3164 static int
3165 drsuapi_dissect_DsReplicaUpdateRefsRequest1_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3166 {
3167     guint32 param=0;
3168     offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_sync_req_info1, param);
3169     return offset;
3170 }
3171
3172
3173 static int
3174 drsuapi_dissect_ascstr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
3175 {
3176     offset=dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, 1, hf_index, FALSE, NULL);
3177     return offset;
3178 }
3179
3180 static int
3181 drsuapi_dissect_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3182 {
3183     guint32 param=0;
3184     offset=drsuapi_dissect_ascstr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name, param);
3185     return offset;
3186 }
3187
3188
3189 int
3190 drsuapi_dissect_DsReplicaUpdateRefsRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3191 {
3192     proto_item *item=NULL;
3193     proto_tree *tree=NULL;
3194     int old_offset;
3195
3196     ALIGN_TO_4_BYTES;
3197
3198     old_offset=offset;
3199     if(parent_tree){
3200         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3201         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaUpdateRefsRequest1);
3202     }
3203
3204     offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_unknown1(tvb, offset, pinfo, tree, drep);
3205
3206     offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_unknown2(tvb, offset, pinfo, tree, drep);
3207
3208     offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_dest_dsa_guid(tvb, offset, pinfo, tree, drep);
3209
3210     offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_options(tvb, offset, pinfo, tree, drep);
3211
3212     offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_sync_req_info1(tvb, offset, pinfo, tree, drep);
3213
3214     offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name(tvb, offset, pinfo, tree, drep);
3215
3216     proto_item_set_len(item, offset-old_offset);
3217
3218     return offset;
3219 }
3220 static int
3221 drsuapi_dissect_union_DsReplicaUpdateRefsRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3222 {
3223     guint32 param=0;
3224     offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefsRequest_1_req1, param);
3225     return offset;
3226 }
3227
3228
3229 static int
3230 drsuapi_dissect_union_DsReplicaUpdateRefsRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3231 {
3232     proto_item *item=NULL;
3233     proto_tree *tree=NULL;
3234     int old_offset;
3235     guint32 level;
3236
3237     ALIGN_TO_4_BYTES;
3238
3239     old_offset=offset;
3240     if(parent_tree){
3241         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsReplicaUpdateRefsRequest");
3242         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaUpdateRefsRequest);
3243     }
3244
3245     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
3246                               drep, hf_index, &level);
3247
3248     switch(level){
3249     case 1:
3250         ALIGN_TO_4_BYTES;
3251         offset=drsuapi_dissect_union_DsReplicaUpdateRefsRequest_1_req1(tvb, offset, pinfo, tree, drep);
3252         break;
3253
3254     }
3255
3256     proto_item_set_len(item, offset-old_offset);
3257
3258    return offset;
3259 }
3260 static int
3261 drsuapi_dissect_DsReplicaUpdateRefs_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3262 {
3263     guint32 param=0;
3264     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefs_bind_handle, param);
3265     return offset;
3266 }
3267
3268 static int
3269 ref_drsuapi_dissect_DsReplicaUpdateRefs_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3270 {
3271     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaUpdateRefs_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
3272     return offset;
3273 }
3274
3275 static int
3276 drsuapi_dissect_DsReplicaUpdateRefs_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3277 {
3278     guint32 param=0;
3279     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefs_level, param);
3280     return offset;
3281 }
3282
3283 static int
3284 drsuapi_dissect_DsReplicaUpdateRefs_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3285 {
3286     guint32 param=0;
3287     offset=drsuapi_dissect_union_DsReplicaUpdateRefsRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefs_req, param);
3288     return offset;
3289 }
3290
3291
3292 static int
3293 drsuapi_dissect_DsReplicaUpdateRefs_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3294 {
3295         offset=ref_drsuapi_dissect_DsReplicaUpdateRefs_bind_handle(tvb, offset, pinfo, tree, drep);
3296         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3297
3298         offset=drsuapi_dissect_DsReplicaUpdateRefs_level(tvb, offset, pinfo, tree, drep);
3299         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3300
3301         offset=drsuapi_dissect_DsReplicaUpdateRefs_req(tvb, offset, pinfo, tree, drep);
3302         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3303
3304
3305    return offset;
3306 }
3307
3308 static int
3309 drsuapi_dissect_DsReplicaUpdateRefs_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3310 {
3311    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3312
3313
3314    return offset;
3315 }
3316 static const true_false_string DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION_tfs = {
3317     "DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION is SET",
3318     "DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION is NOT set"
3319 };
3320
3321 static const true_false_string DRSUAPI_DS_REPLICA_ADD_WRITEABLE_tfs = {
3322     "DRSUAPI_DS_REPLICA_ADD_WRITEABLE is SET",
3323     "DRSUAPI_DS_REPLICA_ADD_WRITEABLE is NOT set"
3324 };
3325
3326
3327 int
3328 drsuapi_dissect_DsReplicaAddOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3329 {
3330     proto_item *item=NULL;
3331     proto_tree *tree=NULL;
3332     guint32 flags;
3333
3334     ALIGN_TO_4_BYTES;
3335
3336     if(parent_tree){
3337         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
3338         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAddOptions);
3339     }
3340
3341     offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
3342
3343
3344     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
3345     if(flags&0x00000001){
3346         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION");
3347     }
3348     flags&=(~0x00000001);
3349
3350     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_WRITEABLE, tvb, offset-4, 4, flags);
3351     if(flags&0x00000002){
3352         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_ADD_WRITEABLE");
3353     }
3354     flags&=(~0x00000002);
3355
3356     if(flags){
3357         proto_item_append_text(item, "UNKNOWN-FLAGS");
3358     }
3359
3360     return offset;
3361 }
3362
3363 static int
3364 drsuapi_dissect_DRSUAPI_REPLICA_ADD_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3365 {
3366
3367    return offset;
3368 }
3369
3370 static int
3371 drsuapi_dissect_DRSUAPI_REPLICA_ADD_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3372 {
3373    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3374
3375
3376    return offset;
3377 }
3378 static const true_false_string DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION_tfs = {
3379     "DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION is SET",
3380     "DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION is NOT set"
3381 };
3382
3383 static const true_false_string DRSUAPI_DS_REPLICA_DELETE_WRITEABLE_tfs = {
3384     "DRSUAPI_DS_REPLICA_DELETE_WRITEABLE is SET",
3385     "DRSUAPI_DS_REPLICA_DELETE_WRITEABLE is NOT set"
3386 };
3387
3388
3389 int
3390 drsuapi_dissect_DsReplicaDeleteOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3391 {
3392     proto_item *item=NULL;
3393     proto_tree *tree=NULL;
3394     guint32 flags;
3395
3396     ALIGN_TO_4_BYTES;
3397
3398     if(parent_tree){
3399         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
3400         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaDeleteOptions);
3401     }
3402
3403     offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
3404
3405
3406     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
3407     if(flags&0x00000001){
3408         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION");
3409     }
3410     flags&=(~0x00000001);
3411
3412     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_WRITEABLE, tvb, offset-4, 4, flags);
3413     if(flags&0x00000002){
3414         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_DELETE_WRITEABLE");
3415     }
3416     flags&=(~0x00000002);
3417
3418     if(flags){
3419         proto_item_append_text(item, "UNKNOWN-FLAGS");
3420     }
3421
3422     return offset;
3423 }
3424
3425 static int
3426 drsuapi_dissect_DRSUAPI_REPLICA_DEL_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3427 {
3428
3429    return offset;
3430 }
3431
3432 static int
3433 drsuapi_dissect_DRSUAPI_REPLICA_DEL_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3434 {
3435    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3436
3437
3438    return offset;
3439 }
3440 static const true_false_string DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION_tfs = {
3441     "DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION is SET",
3442     "DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION is NOT set"
3443 };
3444
3445 static const true_false_string DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE_tfs = {
3446     "DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE is SET",
3447     "DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE is NOT set"
3448 };
3449
3450
3451 int
3452 drsuapi_dissect_DsReplicaModifyOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3453 {
3454     proto_item *item=NULL;
3455     proto_tree *tree=NULL;
3456     guint32 flags;
3457
3458     ALIGN_TO_4_BYTES;
3459
3460     if(parent_tree){
3461         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
3462         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaModifyOptions);
3463     }
3464
3465     offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
3466
3467
3468     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
3469     if(flags&0x00000001){
3470         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION");
3471     }
3472     flags&=(~0x00000001);
3473
3474     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE, tvb, offset-4, 4, flags);
3475     if(flags&0x00000002){
3476         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE");
3477     }
3478     flags&=(~0x00000002);
3479
3480     if(flags){
3481         proto_item_append_text(item, "UNKNOWN-FLAGS");
3482     }
3483
3484     return offset;
3485 }
3486
3487 static int
3488 drsuapi_dissect_DRSUAPI_REPLICA_MODIFY_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3489 {
3490
3491    return offset;
3492 }
3493
3494 static int
3495 drsuapi_dissect_DRSUAPI_REPLICA_MODIFY_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3496 {
3497    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3498
3499
3500    return offset;
3501 }
3502
3503 static int
3504 drsuapi_dissect_DRSUAPI_VERIFY_NAMES_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3505 {
3506
3507    return offset;
3508 }
3509
3510 static int
3511 drsuapi_dissect_DRSUAPI_VERIFY_NAMES_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3512 {
3513    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3514
3515
3516    return offset;
3517 }
3518
3519 static int
3520 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3521 {
3522
3523    return offset;
3524 }
3525
3526 static int
3527 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3528 {
3529    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3530
3531
3532    return offset;
3533 }
3534
3535 static int
3536 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_)
3537 {
3538
3539    return offset;
3540 }
3541
3542 static int
3543 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_)
3544 {
3545    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3546
3547
3548    return offset;
3549 }
3550
3551 static int
3552 drsuapi_dissect_DRSUAPI_GET_NT4_CHANGELOG_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3553 {
3554
3555    return offset;
3556 }
3557
3558 static int
3559 drsuapi_dissect_DRSUAPI_GET_NT4_CHANGELOG_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3560 {
3561    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3562
3563
3564    return offset;
3565 }
3566
3567 const value_string drsuapi_DsNameStatus_vals[] = {
3568     { 0 , "DRSUAPI_DS_NAME_STATUS_OK" },
3569     { 1 , "DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR" },
3570     { 2 , "DRSUAPI_DS_NAME_STATUS_NOT_FOUND" },
3571     { 3 , "DRSUAPI_DS_NAME_STATUS_NOT_UNIQUE" },
3572     { 4 , "DRSUAPI_DS_NAME_STATUS_NO_MAPPING" },
3573     { 5 , "DRSUAPI_DS_NAME_STATUS_DOMAIN_ONLY" },
3574     { 6 , "DRSUAPI_DS_NAME_STATUS_NO_SYNTACTICAL_MAPPING" },
3575     { 7 , "DRSUAPI_DS_NAME_STATUS_TRUST_REFERRAL" },
3576     { 0 , NULL }
3577 };
3578
3579 int
3580 drsuapi_dissect_DsNameStatus(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
3581 {
3582     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
3583     return offset;
3584 }
3585
3586
3587 const value_string drsuapi_DsNameFlags_vals[] = {
3588     { 0 , "DRSUAPI_DS_NAME_FLAG_NO_FLAGS" },
3589     { 0 , "DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY" },
3590     { 0 , "DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC" },
3591     { 0 , "DRSUAPI_DS_NAME_FLAG_GCVERIFY" },
3592     { 0 , "DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL" },
3593     { 0 , NULL }
3594 };
3595
3596 int
3597 drsuapi_dissect_DsNameFlags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
3598 {
3599     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
3600     return offset;
3601 }
3602
3603
3604 const value_string drsuapi_DsNameFormat_vals[] = {
3605     { 0 , "DRSUAPI_DS_NAME_FORMAT_UKNOWN" },
3606     { 1 , "DRSUAPI_DS_NAME_FORMAT_FQDN_1779" },
3607     { 2 , "DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT" },
3608     { 3 , "DRSUAPI_DS_NAME_FORMAT_DISPLAY" },
3609     { 6 , "DRSUAPI_DS_NAME_FORMAT_GUID" },
3610     { 7 , "DRSUAPI_DS_NAME_FORMAT_CANONICAL" },
3611     { 8 , "DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL" },
3612     { 9 , "DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX" },
3613     { 10        , "DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL" },
3614     { 11        , "DRSUAPI_DS_NAME_FORMAT_SID_OR_SID_HISTORY" },
3615     { 12        , "DRSUAPI_DS_NAME_FORMAT_DNS_DOMAIN" },
3616     { 0 , NULL }
3617 };
3618
3619 int
3620 drsuapi_dissect_DsNameFormat(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
3621 {
3622     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
3623     return offset;
3624 }
3625
3626
3627 static int
3628 drsuapi_dissect_unistr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
3629 {
3630     offset=dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, 2, hf_index, FALSE, NULL);
3631     return offset;
3632 }
3633
3634 static int
3635 drsuapi_dissect_DsNameString_str(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3636 {
3637     guint32 param=0;
3638     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameString_str, param);
3639     return offset;
3640 }
3641
3642 static int
3643 unique_drsuapi_dissect_DsNameString_str(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3644 {
3645     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsNameString_str, NDR_POINTER_UNIQUE, "str", -1);
3646     return offset;
3647 }
3648
3649
3650 int
3651 drsuapi_dissect_DsNameString(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3652 {
3653     proto_item *item=NULL;
3654     proto_tree *tree=NULL;
3655     int old_offset;
3656
3657     ALIGN_TO_4_BYTES;
3658
3659     old_offset=offset;
3660     if(parent_tree){
3661         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3662         tree=proto_item_add_subtree(item, ett_drsuapi_DsNameString);
3663     }
3664
3665     offset=unique_drsuapi_dissect_DsNameString_str(tvb, offset, pinfo, tree, drep);
3666
3667     proto_item_set_len(item, offset-old_offset);
3668
3669     return offset;
3670 }
3671 static int
3672 drsuapi_dissect_DsNameRequest1_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3673 {
3674     guint32 param=0;
3675     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest1_unknown1, param);
3676     return offset;
3677 }
3678
3679 static int
3680 drsuapi_dissect_DsNameRequest1_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3681 {
3682     guint32 param=0;
3683     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest1_unknown2, param);
3684     return offset;
3685 }
3686
3687 static int
3688 drsuapi_dissect_DsNameRequest1_format_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3689 {
3690     guint32 param=0;
3691     offset=drsuapi_dissect_DsNameFlags(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest1_format_flags, param);
3692     return offset;
3693 }
3694
3695 static int
3696 drsuapi_dissect_DsNameRequest1_format_offered(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3697 {
3698     guint32 param=0;
3699     offset=drsuapi_dissect_DsNameFormat(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest1_format_offered, param);
3700     return offset;
3701 }
3702
3703 static int
3704 drsuapi_dissect_DsNameRequest1_format_desired(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3705 {
3706     guint32 param=0;
3707     offset=drsuapi_dissect_DsNameFormat(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest1_format_desired, param);
3708     return offset;
3709 }
3710
3711 static int
3712 drsuapi_dissect_DsNameRequest1_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3713 {
3714     guint32 param=0;
3715     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest1_count, param);
3716     return offset;
3717 }
3718
3719 static int
3720 drsuapi_dissect_DsNameRequest1_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3721 {
3722     guint32 param=0;
3723     offset=drsuapi_dissect_DsNameString(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest1_names, param);
3724     return offset;
3725 }
3726
3727 static int
3728 ucarray_drsuapi_dissect_DsNameRequest1_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3729 {
3730     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsNameRequest1_names);
3731     return offset;
3732 }
3733
3734 static int
3735 unique_ucarray_drsuapi_dissect_DsNameRequest1_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3736 {
3737     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsNameRequest1_names, NDR_POINTER_UNIQUE, "names", -1);
3738     return offset;
3739 }
3740
3741
3742 int
3743 drsuapi_dissect_DsNameRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3744 {
3745     proto_item *item=NULL;
3746     proto_tree *tree=NULL;
3747     int old_offset;
3748
3749     ALIGN_TO_4_BYTES;
3750
3751     old_offset=offset;
3752     if(parent_tree){
3753         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3754         tree=proto_item_add_subtree(item, ett_drsuapi_DsNameRequest1);
3755     }
3756
3757     offset=drsuapi_dissect_DsNameRequest1_unknown1(tvb, offset, pinfo, tree, drep);
3758
3759     offset=drsuapi_dissect_DsNameRequest1_unknown2(tvb, offset, pinfo, tree, drep);
3760
3761     offset=drsuapi_dissect_DsNameRequest1_format_flags(tvb, offset, pinfo, tree, drep);
3762
3763     offset=drsuapi_dissect_DsNameRequest1_format_offered(tvb, offset, pinfo, tree, drep);
3764
3765     offset=drsuapi_dissect_DsNameRequest1_format_desired(tvb, offset, pinfo, tree, drep);
3766
3767     offset=drsuapi_dissect_DsNameRequest1_count(tvb, offset, pinfo, tree, drep);
3768
3769     offset=unique_ucarray_drsuapi_dissect_DsNameRequest1_names(tvb, offset, pinfo, tree, drep);
3770
3771     proto_item_set_len(item, offset-old_offset);
3772
3773     return offset;
3774 }
3775 static int
3776 drsuapi_dissect_union_DsNameRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3777 {
3778     guint32 param=0;
3779     offset=drsuapi_dissect_DsNameRequest1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest_1_req1, param);
3780     return offset;
3781 }
3782
3783
3784 static int
3785 drsuapi_dissect_union_DsNameRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3786 {
3787     proto_item *item=NULL;
3788     proto_tree *tree=NULL;
3789     int old_offset;
3790     guint32 level;
3791
3792     ALIGN_TO_4_BYTES;
3793
3794     old_offset=offset;
3795     if(parent_tree){
3796         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsNameRequest");
3797         tree=proto_item_add_subtree(item, ett_drsuapi_DsNameRequest);
3798     }
3799
3800     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
3801                               drep, hf_index, &level);
3802
3803     switch(level){
3804     case 1:
3805         ALIGN_TO_4_BYTES;
3806         offset=drsuapi_dissect_union_DsNameRequest_1_req1(tvb, offset, pinfo, tree, drep);
3807         break;
3808
3809     }
3810
3811     proto_item_set_len(item, offset-old_offset);
3812
3813    return offset;
3814 }
3815 static int
3816 drsuapi_dissect_DsNameInfo1_status(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3817 {
3818     guint32 param=0;
3819     offset=drsuapi_dissect_DsNameStatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameInfo1_status, param);
3820     return offset;
3821 }
3822
3823 static int
3824 drsuapi_dissect_DsNameInfo1_dns_domain_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3825 {
3826     guint32 param=0;
3827     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameInfo1_dns_domain_name, param);
3828     return offset;
3829 }
3830
3831 static int
3832 unique_drsuapi_dissect_DsNameInfo1_dns_domain_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3833 {
3834     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsNameInfo1_dns_domain_name, NDR_POINTER_UNIQUE, "dns_domain_name", -1);
3835     return offset;
3836 }
3837
3838 static int
3839 drsuapi_dissect_DsNameInfo1_result_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3840 {
3841     guint32 param=0;
3842     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameInfo1_result_name, param);
3843     return offset;
3844 }
3845
3846 static int
3847 unique_drsuapi_dissect_DsNameInfo1_result_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3848 {
3849     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsNameInfo1_result_name, NDR_POINTER_UNIQUE, "result_name", -1);
3850     return offset;
3851 }
3852
3853
3854 int
3855 drsuapi_dissect_DsNameInfo1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3856 {
3857     proto_item *item=NULL;
3858     proto_tree *tree=NULL;
3859     int old_offset;
3860
3861     ALIGN_TO_4_BYTES;
3862
3863     old_offset=offset;
3864     if(parent_tree){
3865         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3866         tree=proto_item_add_subtree(item, ett_drsuapi_DsNameInfo1);
3867     }
3868
3869     offset=drsuapi_dissect_DsNameInfo1_status(tvb, offset, pinfo, tree, drep);
3870
3871     offset=unique_drsuapi_dissect_DsNameInfo1_dns_domain_name(tvb, offset, pinfo, tree, drep);
3872
3873     offset=unique_drsuapi_dissect_DsNameInfo1_result_name(tvb, offset, pinfo, tree, drep);
3874
3875     proto_item_set_len(item, offset-old_offset);
3876
3877     return offset;
3878 }
3879 static int
3880 drsuapi_dissect_DsNameCtr1_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3881 {
3882     guint32 param=0;
3883     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameCtr1_count, param);
3884     return offset;
3885 }
3886
3887 static int
3888 drsuapi_dissect_DsNameCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3889 {
3890     guint32 param=0;
3891     offset=drsuapi_dissect_DsNameInfo1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameCtr1_array, param);
3892     return offset;
3893 }
3894
3895 static int
3896 ucarray_drsuapi_dissect_DsNameCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3897 {
3898     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsNameCtr1_array);
3899     return offset;
3900 }
3901
3902 static int
3903 unique_ucarray_drsuapi_dissect_DsNameCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3904 {
3905     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsNameCtr1_array, NDR_POINTER_UNIQUE, "array", -1);
3906     return offset;
3907 }
3908
3909
3910 int
3911 drsuapi_dissect_DsNameCtr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3912 {
3913     proto_item *item=NULL;
3914     proto_tree *tree=NULL;
3915     int old_offset;
3916
3917     ALIGN_TO_4_BYTES;
3918
3919     old_offset=offset;
3920     if(parent_tree){
3921         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3922         tree=proto_item_add_subtree(item, ett_drsuapi_DsNameCtr1);
3923     }
3924
3925     offset=drsuapi_dissect_DsNameCtr1_count(tvb, offset, pinfo, tree, drep);
3926
3927     offset=unique_ucarray_drsuapi_dissect_DsNameCtr1_array(tvb, offset, pinfo, tree, drep);
3928
3929     proto_item_set_len(item, offset-old_offset);
3930
3931     return offset;
3932 }
3933 static int
3934 drsuapi_dissect_union_DsNameCtr_1_ctr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3935 {
3936     guint32 param=0;
3937     offset=drsuapi_dissect_DsNameCtr1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameCtr_1_ctr1, param);
3938     return offset;
3939 }
3940
3941 static int
3942 drsuapi_dissect_union_DsNameCtr_1_ctr1_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3943 {
3944     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsNameCtr_1_ctr1, NDR_POINTER_UNIQUE, "ctr1", -1);
3945     return offset;
3946 }
3947
3948
3949 static int
3950 drsuapi_dissect_union_DsNameCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3951 {
3952     proto_item *item=NULL;
3953     proto_tree *tree=NULL;
3954     int old_offset;
3955     guint32 level;
3956
3957     ALIGN_TO_4_BYTES;
3958
3959     old_offset=offset;
3960     if(parent_tree){
3961         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsNameCtr");
3962         tree=proto_item_add_subtree(item, ett_drsuapi_DsNameCtr);
3963     }
3964
3965     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
3966                               drep, hf_index, &level);
3967
3968     switch(level){
3969     case 1:
3970         ALIGN_TO_4_BYTES;
3971         offset=drsuapi_dissect_union_DsNameCtr_1_ctr1_unique(tvb, offset, pinfo, tree, drep);
3972         break;
3973
3974     }
3975
3976     proto_item_set_len(item, offset-old_offset);
3977
3978    return offset;
3979 }
3980 static int
3981 drsuapi_dissect_DsCrackNames_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3982 {
3983     guint32 param=0;
3984     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsCrackNames_bind_handle, param);
3985     return offset;
3986 }
3987
3988 static int
3989 ref_drsuapi_dissect_DsCrackNames_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3990 {
3991     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsCrackNames_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
3992     return offset;
3993 }
3994
3995 static int
3996 drsuapi_dissect_DsCrackNames_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3997 {
3998     guint32 param=0;
3999     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsCrackNames_level, param);
4000     return offset;
4001 }
4002
4003 static int
4004 drsuapi_dissect_DsCrackNames_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4005 {
4006     guint32 param=0;
4007     offset=drsuapi_dissect_union_DsNameRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsCrackNames_req, param);
4008     return offset;
4009 }
4010
4011 static int
4012 drsuapi_dissect_DsCrackNames_ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4013 {
4014     guint32 param=0;
4015     offset=drsuapi_dissect_union_DsNameCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsCrackNames_ctr, param);
4016     return offset;
4017 }
4018
4019
4020 static int
4021 drsuapi_dissect_DsCrackNames_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4022 {
4023         offset=ref_drsuapi_dissect_DsCrackNames_bind_handle(tvb, offset, pinfo, tree, drep);
4024         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4025
4026         offset=drsuapi_dissect_DsCrackNames_level(tvb, offset, pinfo, tree, drep);
4027         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4028
4029         offset=drsuapi_dissect_DsCrackNames_req(tvb, offset, pinfo, tree, drep);
4030         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4031
4032
4033    return offset;
4034 }
4035
4036 static int
4037 drsuapi_dissect_DsCrackNames_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4038 {
4039         offset=drsuapi_dissect_DsCrackNames_level(tvb, offset, pinfo, tree, drep);
4040         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4041
4042         offset=drsuapi_dissect_DsCrackNames_ctr(tvb, offset, pinfo, tree, drep);
4043         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4044
4045    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
4046
4047
4048    return offset;
4049 }
4050
4051 const value_string drsuapi_DsSpnOperation_vals[] = {
4052     { 0 , "DRSUAPI_DS_SPN_OPERATION_ADD" },
4053     { 1 , "DRSUAPI_DS_SPN_OPERATION_REPLACE" },
4054     { 2 , "DRSUAPI_DS_SPN_OPERATION_DELETE" },
4055     { 0 , NULL }
4056 };
4057
4058 int
4059 drsuapi_dissect_DsSpnOperation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
4060 {
4061     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
4062     return offset;
4063 }
4064
4065 static int
4066 drsuapi_dissect_DsWriteAccountSpnRequest1_operation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4067 {
4068     guint32 param=0;
4069     offset=drsuapi_dissect_DsSpnOperation(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnRequest1_operation, param);
4070     return offset;
4071 }
4072
4073 static int
4074 drsuapi_dissect_DsWriteAccountSpnRequest1_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4075 {
4076     guint32 param=0;
4077     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnRequest1_unknown1, param);
4078     return offset;
4079 }
4080
4081 static int
4082 drsuapi_dissect_DsWriteAccountSpnRequest1_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4083 {
4084     guint32 param=0;
4085     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnRequest1_object_dn, param);
4086     return offset;
4087 }
4088
4089 static int
4090 unique_drsuapi_dissect_DsWriteAccountSpnRequest1_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4091 {
4092     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsWriteAccountSpnRequest1_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
4093     return offset;
4094 }
4095
4096 static int
4097 drsuapi_dissect_DsWriteAccountSpnRequest1_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4098 {
4099     guint32 param=0;
4100     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnRequest1_count, param);
4101     return offset;
4102 }
4103
4104 static int
4105 drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4106 {
4107     guint32 param=0;
4108     offset=drsuapi_dissect_DsNameString(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnRequest1_spn_names, param);
4109     return offset;
4110 }
4111
4112 static int
4113 ucarray_drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4114 {
4115     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names);
4116     return offset;
4117 }
4118
4119 static int
4120 unique_ucarray_drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4121 {
4122     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names, NDR_POINTER_UNIQUE, "spn_names", -1);
4123     return offset;
4124 }
4125
4126
4127 int
4128 drsuapi_dissect_DsWriteAccountSpnRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4129 {
4130     proto_item *item=NULL;
4131     proto_tree *tree=NULL;
4132     int old_offset;
4133
4134     ALIGN_TO_4_BYTES;
4135
4136     old_offset=offset;
4137     if(parent_tree){
4138         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4139         tree=proto_item_add_subtree(item, ett_drsuapi_DsWriteAccountSpnRequest1);
4140     }
4141
4142     offset=drsuapi_dissect_DsWriteAccountSpnRequest1_operation(tvb, offset, pinfo, tree, drep);
4143
4144     offset=drsuapi_dissect_DsWriteAccountSpnRequest1_unknown1(tvb, offset, pinfo, tree, drep);
4145
4146     offset=unique_drsuapi_dissect_DsWriteAccountSpnRequest1_object_dn(tvb, offset, pinfo, tree, drep);
4147
4148     offset=drsuapi_dissect_DsWriteAccountSpnRequest1_count(tvb, offset, pinfo, tree, drep);
4149
4150     offset=unique_ucarray_drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names(tvb, offset, pinfo, tree, drep);
4151
4152     proto_item_set_len(item, offset-old_offset);
4153
4154     return offset;
4155 }
4156 static int
4157 drsuapi_dissect_union_DsWriteAccountSpnRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4158 {
4159     guint32 param=0;
4160     offset=drsuapi_dissect_DsWriteAccountSpnRequest1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnRequest_1_req1, param);
4161     return offset;
4162 }
4163
4164
4165 static int
4166 drsuapi_dissect_union_DsWriteAccountSpnRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4167 {
4168     proto_item *item=NULL;
4169     proto_tree *tree=NULL;
4170     int old_offset;
4171     guint32 level;
4172
4173     ALIGN_TO_4_BYTES;
4174
4175     old_offset=offset;
4176     if(parent_tree){
4177         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsWriteAccountSpnRequest");
4178         tree=proto_item_add_subtree(item, ett_drsuapi_DsWriteAccountSpnRequest);
4179     }
4180
4181     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
4182                               drep, hf_index, &level);
4183
4184     switch(level){
4185     case 1:
4186         ALIGN_TO_4_BYTES;
4187         offset=drsuapi_dissect_union_DsWriteAccountSpnRequest_1_req1(tvb, offset, pinfo, tree, drep);
4188         break;
4189
4190     }
4191
4192     proto_item_set_len(item, offset-old_offset);
4193
4194    return offset;
4195 }
4196
4197 static int
4198 drsuapi_dissect_WERROR(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
4199 {
4200     
4201     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
4202
4203     return offset;
4204 }
4205
4206 static int
4207 drsuapi_dissect_DsWriteAccountSpnResult1_status(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4208 {
4209     guint32 param=0;
4210     offset=drsuapi_dissect_WERROR(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnResult1_status, param);
4211     return offset;
4212 }
4213
4214
4215 int
4216 drsuapi_dissect_DsWriteAccountSpnResult1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4217 {
4218     proto_item *item=NULL;
4219     proto_tree *tree=NULL;
4220     int old_offset;
4221
4222     ALIGN_TO_4_BYTES;
4223
4224     old_offset=offset;
4225     if(parent_tree){
4226         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4227         tree=proto_item_add_subtree(item, ett_drsuapi_DsWriteAccountSpnResult1);
4228     }
4229
4230     offset=drsuapi_dissect_DsWriteAccountSpnResult1_status(tvb, offset, pinfo, tree, drep);
4231
4232     proto_item_set_len(item, offset-old_offset);
4233
4234     return offset;
4235 }
4236 static int
4237 drsuapi_dissect_union_DsWriteAccountSpnResult_1_res1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4238 {
4239     guint32 param=0;
4240     offset=drsuapi_dissect_DsWriteAccountSpnResult1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnResult_1_res1, param);
4241     return offset;
4242 }
4243
4244
4245 static int
4246 drsuapi_dissect_union_DsWriteAccountSpnResult(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4247 {
4248     proto_item *item=NULL;
4249     proto_tree *tree=NULL;
4250     int old_offset;
4251     guint32 level;
4252
4253     ALIGN_TO_4_BYTES;
4254
4255     old_offset=offset;
4256     if(parent_tree){
4257         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsWriteAccountSpnResult");
4258         tree=proto_item_add_subtree(item, ett_drsuapi_DsWriteAccountSpnResult);
4259     }
4260
4261     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
4262                               drep, hf_index, &level);
4263
4264     switch(level){
4265     case 1:
4266         ALIGN_TO_4_BYTES;
4267         offset=drsuapi_dissect_union_DsWriteAccountSpnResult_1_res1(tvb, offset, pinfo, tree, drep);
4268         break;
4269
4270     }
4271
4272     proto_item_set_len(item, offset-old_offset);
4273
4274    return offset;
4275 }
4276 static int
4277 drsuapi_dissect_DsWriteAccountSpn_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4278 {
4279     guint32 param=0;
4280     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpn_bind_handle, param);
4281     return offset;
4282 }
4283
4284 static int
4285 ref_drsuapi_dissect_DsWriteAccountSpn_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4286 {
4287     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsWriteAccountSpn_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
4288     return offset;
4289 }
4290
4291 static int
4292 drsuapi_dissect_DsWriteAccountSpn_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4293 {
4294     guint32 param=0;
4295     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpn_level, param);
4296     return offset;
4297 }
4298
4299 static int
4300 drsuapi_dissect_DsWriteAccountSpn_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4301 {
4302     guint32 param=0;
4303     offset=drsuapi_dissect_union_DsWriteAccountSpnRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpn_req, param);
4304     return offset;
4305 }
4306
4307 static int
4308 drsuapi_dissect_DsWriteAccountSpn_res(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4309 {
4310     guint32 param=0;
4311     offset=drsuapi_dissect_union_DsWriteAccountSpnResult(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpn_res, param);
4312     return offset;
4313 }
4314
4315
4316 static int
4317 drsuapi_dissect_DsWriteAccountSpn_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4318 {
4319         offset=ref_drsuapi_dissect_DsWriteAccountSpn_bind_handle(tvb, offset, pinfo, tree, drep);
4320         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4321
4322         offset=drsuapi_dissect_DsWriteAccountSpn_level(tvb, offset, pinfo, tree, drep);
4323         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4324
4325         offset=drsuapi_dissect_DsWriteAccountSpn_req(tvb, offset, pinfo, tree, drep);
4326         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4327
4328
4329    return offset;
4330 }
4331
4332 static int
4333 drsuapi_dissect_DsWriteAccountSpn_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4334 {
4335         offset=drsuapi_dissect_DsWriteAccountSpn_level(tvb, offset, pinfo, tree, drep);
4336         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4337
4338         offset=drsuapi_dissect_DsWriteAccountSpn_res(tvb, offset, pinfo, tree, drep);
4339         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4340
4341    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
4342
4343
4344    return offset;
4345 }
4346
4347 static int
4348 drsuapi_dissect_DRSUAPI_REMOVE_DS_SERVER_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4349 {
4350
4351    return offset;
4352 }
4353
4354 static int
4355 drsuapi_dissect_DRSUAPI_REMOVE_DS_SERVER_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4356 {
4357    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
4358
4359
4360    return offset;
4361 }
4362
4363 static int
4364 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_)
4365 {
4366
4367    return offset;
4368 }
4369
4370 static int
4371 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_)
4372 {
4373    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
4374
4375
4376    return offset;
4377 }
4378 static int
4379 drsuapi_dissect_DsGetDCInfoRequest1_domain_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4380 {
4381     guint32 param=0;
4382     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoRequest1_domain_name, param);
4383     return offset;
4384 }
4385
4386 static int
4387 unique_drsuapi_dissect_DsGetDCInfoRequest1_domain_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4388 {
4389     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfoRequest1_domain_name, NDR_POINTER_UNIQUE, "domain_name", -1);
4390     return offset;
4391 }
4392
4393 static int
4394 drsuapi_dissect_DsGetDCInfoRequest1_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4395 {
4396     guint32 param=0;
4397     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoRequest1_level, param);
4398     return offset;
4399 }
4400
4401
4402 int
4403 drsuapi_dissect_DsGetDCInfoRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4404 {
4405     proto_item *item=NULL;
4406     proto_tree *tree=NULL;
4407     int old_offset;
4408
4409     ALIGN_TO_4_BYTES;
4410
4411     old_offset=offset;
4412     if(parent_tree){
4413         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4414         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoRequest1);
4415     }
4416
4417     offset=unique_drsuapi_dissect_DsGetDCInfoRequest1_domain_name(tvb, offset, pinfo, tree, drep);
4418
4419     offset=drsuapi_dissect_DsGetDCInfoRequest1_level(tvb, offset, pinfo, tree, drep);
4420
4421     proto_item_set_len(item, offset-old_offset);
4422
4423     return offset;
4424 }
4425 static int
4426 drsuapi_dissect_union_DsGetDCInfoRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4427 {
4428     guint32 param=0;
4429     offset=drsuapi_dissect_DsGetDCInfoRequest1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoRequest_1_req1, param);
4430     return offset;
4431 }
4432
4433
4434 static int
4435 drsuapi_dissect_union_DsGetDCInfoRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4436 {
4437     proto_item *item=NULL;
4438     proto_tree *tree=NULL;
4439     int old_offset;
4440     guint32 level;
4441
4442     ALIGN_TO_4_BYTES;
4443
4444     old_offset=offset;
4445     if(parent_tree){
4446         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsGetDCInfoRequest");
4447         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoRequest);
4448     }
4449
4450     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
4451                               drep, hf_index, &level);
4452
4453     switch(level){
4454     case 1:
4455         ALIGN_TO_4_BYTES;
4456         offset=drsuapi_dissect_union_DsGetDCInfoRequest_1_req1(tvb, offset, pinfo, tree, drep);
4457         break;
4458
4459     }
4460
4461     proto_item_set_len(item, offset-old_offset);
4462
4463    return offset;
4464 }
4465 static int
4466 drsuapi_dissect_DsGetDCInfo1_netbios_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4467 {
4468     guint32 param=0;
4469     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo1_netbios_name, param);
4470     return offset;
4471 }
4472
4473 static int
4474 unique_drsuapi_dissect_DsGetDCInfo1_netbios_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4475 {
4476     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo1_netbios_name, NDR_POINTER_UNIQUE, "netbios_name", -1);
4477     return offset;
4478 }
4479
4480 static int
4481 drsuapi_dissect_DsGetDCInfo1_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4482 {
4483     guint32 param=0;
4484     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo1_dns_name, param);
4485     return offset;
4486 }
4487
4488 static int
4489 unique_drsuapi_dissect_DsGetDCInfo1_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4490 {
4491     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo1_dns_name, NDR_POINTER_UNIQUE, "dns_name", -1);
4492     return offset;
4493 }
4494
4495 static int
4496 drsuapi_dissect_DsGetDCInfo1_site_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4497 {
4498     guint32 param=0;
4499     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo1_site_name, param);
4500     return offset;
4501 }
4502
4503 static int
4504 unique_drsuapi_dissect_DsGetDCInfo1_site_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4505 {
4506     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo1_site_name, NDR_POINTER_UNIQUE, "site_name", -1);
4507     return offset;
4508 }
4509
4510 static int
4511 drsuapi_dissect_DsGetDCInfo1_computer_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4512 {
4513     guint32 param=0;
4514     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo1_computer_dn, param);
4515     return offset;
4516 }
4517
4518 static int
4519 unique_drsuapi_dissect_DsGetDCInfo1_computer_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4520 {
4521     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo1_computer_dn, NDR_POINTER_UNIQUE, "computer_dn", -1);
4522     return offset;
4523 }
4524
4525 static int
4526 drsuapi_dissect_DsGetDCInfo1_server_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4527 {
4528     guint32 param=0;
4529     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo1_server_dn, param);
4530     return offset;
4531 }
4532
4533 static int
4534 unique_drsuapi_dissect_DsGetDCInfo1_server_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4535 {
4536     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo1_server_dn, NDR_POINTER_UNIQUE, "server_dn", -1);
4537     return offset;
4538 }
4539
4540 static int
4541 drsuapi_dissect_DsGetDCInfo1_is_pdc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4542 {
4543     guint32 param=0;
4544     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo1_is_pdc, param);
4545     return offset;
4546 }
4547
4548 static int
4549 drsuapi_dissect_DsGetDCInfo1_is_enabled(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4550 {
4551     guint32 param=0;
4552     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo1_is_enabled, param);
4553     return offset;
4554 }
4555
4556
4557 int
4558 drsuapi_dissect_DsGetDCInfo1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4559 {
4560     proto_item *item=NULL;
4561     proto_tree *tree=NULL;
4562     int old_offset;
4563
4564     ALIGN_TO_4_BYTES;
4565
4566     old_offset=offset;
4567     if(parent_tree){
4568         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4569         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfo1);
4570     }
4571
4572     offset=unique_drsuapi_dissect_DsGetDCInfo1_netbios_name(tvb, offset, pinfo, tree, drep);
4573
4574     offset=unique_drsuapi_dissect_DsGetDCInfo1_dns_name(tvb, offset, pinfo, tree, drep);
4575
4576     offset=unique_drsuapi_dissect_DsGetDCInfo1_site_name(tvb, offset, pinfo, tree, drep);
4577
4578     offset=unique_drsuapi_dissect_DsGetDCInfo1_computer_dn(tvb, offset, pinfo, tree, drep);
4579
4580     offset=unique_drsuapi_dissect_DsGetDCInfo1_server_dn(tvb, offset, pinfo, tree, drep);
4581
4582     offset=drsuapi_dissect_DsGetDCInfo1_is_pdc(tvb, offset, pinfo, tree, drep);
4583
4584     offset=drsuapi_dissect_DsGetDCInfo1_is_enabled(tvb, offset, pinfo, tree, drep);
4585
4586     proto_item_set_len(item, offset-old_offset);
4587
4588     return offset;
4589 }
4590 static int
4591 drsuapi_dissect_DsGetDCInfoCtr1_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4592 {
4593     guint32 param=0;
4594     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr1_count, param);
4595     return offset;
4596 }
4597
4598 static int
4599 drsuapi_dissect_DsGetDCInfoCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4600 {
4601     guint32 param=0;
4602     offset=drsuapi_dissect_DsGetDCInfo1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr1_array, param);
4603     return offset;
4604 }
4605
4606 static int
4607 ucarray_drsuapi_dissect_DsGetDCInfoCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4608 {
4609     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfoCtr1_array);
4610     return offset;
4611 }
4612
4613 static int
4614 unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4615 {
4616     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsGetDCInfoCtr1_array, NDR_POINTER_UNIQUE, "array", -1);
4617     return offset;
4618 }
4619
4620
4621 int
4622 drsuapi_dissect_DsGetDCInfoCtr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4623 {
4624     proto_item *item=NULL;
4625     proto_tree *tree=NULL;
4626     int old_offset;
4627
4628     ALIGN_TO_4_BYTES;
4629
4630     old_offset=offset;
4631     if(parent_tree){
4632         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4633         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoCtr1);
4634     }
4635
4636     offset=drsuapi_dissect_DsGetDCInfoCtr1_count(tvb, offset, pinfo, tree, drep);
4637
4638     offset=unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr1_array(tvb, offset, pinfo, tree, drep);
4639
4640     proto_item_set_len(item, offset-old_offset);
4641
4642     return offset;
4643 }
4644 static int
4645 drsuapi_dissect_DsGetDCInfo2_netbios_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4646 {
4647     guint32 param=0;
4648     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_netbios_name, param);
4649     return offset;
4650 }
4651
4652 static int
4653 unique_drsuapi_dissect_DsGetDCInfo2_netbios_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4654 {
4655     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo2_netbios_name, NDR_POINTER_UNIQUE, "netbios_name", -1);
4656     return offset;
4657 }
4658
4659 static int
4660 drsuapi_dissect_DsGetDCInfo2_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4661 {
4662     guint32 param=0;
4663     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_dns_name, param);
4664     return offset;
4665 }
4666
4667 static int
4668 unique_drsuapi_dissect_DsGetDCInfo2_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4669 {
4670     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo2_dns_name, NDR_POINTER_UNIQUE, "dns_name", -1);
4671     return offset;
4672 }
4673
4674 static int
4675 drsuapi_dissect_DsGetDCInfo2_site_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4676 {
4677     guint32 param=0;
4678     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_site_name, param);
4679     return offset;
4680 }
4681
4682 static int
4683 unique_drsuapi_dissect_DsGetDCInfo2_site_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4684 {
4685     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo2_site_name, NDR_POINTER_UNIQUE, "site_name", -1);
4686     return offset;
4687 }
4688
4689 static int
4690 drsuapi_dissect_DsGetDCInfo2_site_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4691 {
4692     guint32 param=0;
4693     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_site_dn, param);
4694     return offset;
4695 }
4696
4697 static int
4698 unique_drsuapi_dissect_DsGetDCInfo2_site_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4699 {
4700     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo2_site_dn, NDR_POINTER_UNIQUE, "site_dn", -1);
4701     return offset;
4702 }
4703
4704 static int
4705 drsuapi_dissect_DsGetDCInfo2_computer_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4706 {
4707     guint32 param=0;
4708     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_computer_dn, param);
4709     return offset;
4710 }
4711
4712 static int
4713 unique_drsuapi_dissect_DsGetDCInfo2_computer_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4714 {
4715     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo2_computer_dn, NDR_POINTER_UNIQUE, "computer_dn", -1);
4716     return offset;
4717 }
4718
4719 static int
4720 drsuapi_dissect_DsGetDCInfo2_server_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4721 {
4722     guint32 param=0;
4723     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_server_dn, param);
4724     return offset;
4725 }
4726
4727 static int
4728 unique_drsuapi_dissect_DsGetDCInfo2_server_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4729 {
4730     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo2_server_dn, NDR_POINTER_UNIQUE, "server_dn", -1);
4731     return offset;
4732 }
4733
4734 static int
4735 drsuapi_dissect_DsGetDCInfo2_ntds_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4736 {
4737     guint32 param=0;
4738     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_ntds_dn, param);
4739     return offset;
4740 }
4741
4742 static int
4743 unique_drsuapi_dissect_DsGetDCInfo2_ntds_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4744 {
4745     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo2_ntds_dn, NDR_POINTER_UNIQUE, "ntds_dn", -1);
4746     return offset;
4747 }
4748
4749 static int
4750 drsuapi_dissect_DsGetDCInfo2_is_pdc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4751 {
4752     guint32 param=0;
4753     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_is_pdc, param);
4754     return offset;
4755 }
4756
4757 static int
4758 drsuapi_dissect_DsGetDCInfo2_is_enabled(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4759 {
4760     guint32 param=0;
4761     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_is_enabled, param);
4762     return offset;
4763 }
4764
4765 static int
4766 drsuapi_dissect_DsGetDCInfo2_is_gc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4767 {
4768     guint32 param=0;
4769     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_is_gc, param);
4770     return offset;
4771 }
4772
4773 static int
4774 drsuapi_dissect_DsGetDCInfo2_site_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4775 {
4776     guint32 param=0;
4777     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_site_guid, param);
4778     return offset;
4779 }
4780
4781 static int
4782 drsuapi_dissect_DsGetDCInfo2_computer_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4783 {
4784     guint32 param=0;
4785     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_computer_guid, param);
4786     return offset;
4787 }
4788
4789 static int
4790 drsuapi_dissect_DsGetDCInfo2_server_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4791 {
4792     guint32 param=0;
4793     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_server_guid, param);
4794     return offset;
4795 }
4796
4797 static int
4798 drsuapi_dissect_DsGetDCInfo2_ntds_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4799 {
4800     guint32 param=0;
4801     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_ntds_guid, param);
4802     return offset;
4803 }
4804
4805
4806 int
4807 drsuapi_dissect_DsGetDCInfo2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4808 {
4809     proto_item *item=NULL;
4810     proto_tree *tree=NULL;
4811     int old_offset;
4812
4813     ALIGN_TO_4_BYTES;
4814
4815     old_offset=offset;
4816     if(parent_tree){
4817         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4818         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfo2);
4819     }
4820
4821     offset=unique_drsuapi_dissect_DsGetDCInfo2_netbios_name(tvb, offset, pinfo, tree, drep);
4822
4823     offset=unique_drsuapi_dissect_DsGetDCInfo2_dns_name(tvb, offset, pinfo, tree, drep);
4824
4825     offset=unique_drsuapi_dissect_DsGetDCInfo2_site_name(tvb, offset, pinfo, tree, drep);
4826
4827     offset=unique_drsuapi_dissect_DsGetDCInfo2_site_dn(tvb, offset, pinfo, tree, drep);
4828
4829     offset=unique_drsuapi_dissect_DsGetDCInfo2_computer_dn(tvb, offset, pinfo, tree, drep);
4830
4831     offset=unique_drsuapi_dissect_DsGetDCInfo2_server_dn(tvb, offset, pinfo, tree, drep);
4832
4833     offset=unique_drsuapi_dissect_DsGetDCInfo2_ntds_dn(tvb, offset, pinfo, tree, drep);
4834
4835     offset=drsuapi_dissect_DsGetDCInfo2_is_pdc(tvb, offset, pinfo, tree, drep);
4836
4837     offset=drsuapi_dissect_DsGetDCInfo2_is_enabled(tvb, offset, pinfo, tree, drep);
4838
4839     offset=drsuapi_dissect_DsGetDCInfo2_is_gc(tvb, offset, pinfo, tree, drep);
4840
4841     offset=drsuapi_dissect_DsGetDCInfo2_site_guid(tvb, offset, pinfo, tree, drep);
4842
4843     offset=drsuapi_dissect_DsGetDCInfo2_computer_guid(tvb, offset, pinfo, tree, drep);
4844
4845     offset=drsuapi_dissect_DsGetDCInfo2_server_guid(tvb, offset, pinfo, tree, drep);
4846
4847     offset=drsuapi_dissect_DsGetDCInfo2_ntds_guid(tvb, offset, pinfo, tree, drep);
4848
4849     proto_item_set_len(item, offset-old_offset);
4850
4851     return offset;
4852 }
4853 static int
4854 drsuapi_dissect_DsGetDCInfoCtr2_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4855 {
4856     guint32 param=0;
4857     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr2_count, param);
4858     return offset;
4859 }
4860
4861 static int
4862 drsuapi_dissect_DsGetDCInfoCtr2_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4863 {
4864     guint32 param=0;
4865     offset=drsuapi_dissect_DsGetDCInfo2(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr2_array, param);
4866     return offset;
4867 }
4868
4869 static int
4870 ucarray_drsuapi_dissect_DsGetDCInfoCtr2_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4871 {
4872     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfoCtr2_array);
4873     return offset;
4874 }
4875
4876 static int
4877 unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr2_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4878 {
4879     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsGetDCInfoCtr2_array, NDR_POINTER_UNIQUE, "array", -1);
4880     return offset;
4881 }
4882
4883
4884 int
4885 drsuapi_dissect_DsGetDCInfoCtr2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4886 {
4887     proto_item *item=NULL;
4888     proto_tree *tree=NULL;
4889     int old_offset;
4890
4891     ALIGN_TO_4_BYTES;
4892
4893     old_offset=offset;
4894     if(parent_tree){
4895         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4896         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoCtr2);
4897     }
4898
4899     offset=drsuapi_dissect_DsGetDCInfoCtr2_count(tvb, offset, pinfo, tree, drep);
4900
4901     offset=unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr2_array(tvb, offset, pinfo, tree, drep);
4902
4903     proto_item_set_len(item, offset-old_offset);
4904
4905     return offset;
4906 }
4907 static int
4908 drsuapi_dissect_DsGetDCInfo01_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4909 {
4910     guint32 param=0;
4911     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo01_unknown1, param);
4912     return offset;
4913 }
4914
4915 static int
4916 drsuapi_dissect_DsGetDCInfo01_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4917 {
4918     guint32 param=0;
4919     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo01_unknown2, param);
4920     return offset;
4921 }
4922
4923 static int
4924 drsuapi_dissect_DsGetDCInfo01_unknown3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4925 {
4926     guint32 param=0;
4927     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo01_unknown3, param);
4928     return offset;
4929 }
4930
4931 static int
4932 drsuapi_dissect_DsGetDCInfo01_unknown4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4933 {
4934     guint32 param=0;
4935     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo01_unknown4, param);
4936     return offset;
4937 }
4938
4939 static int
4940 drsuapi_dissect_DsGetDCInfo01_unknown5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4941 {
4942     guint32 param=0;
4943     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo01_unknown5, param);
4944     return offset;
4945 }
4946
4947 static int
4948 drsuapi_dissect_DsGetDCInfo01_unknown6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4949 {
4950     guint32 param=0;
4951     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo01_unknown6, param);
4952     return offset;
4953 }
4954
4955 static int
4956 drsuapi_dissect_DsGetDCInfo01_server_nt4_account(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4957 {
4958     guint32 param=0;
4959     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo01_server_nt4_account, param);
4960     return offset;
4961 }
4962
4963 static int
4964 unique_drsuapi_dissect_DsGetDCInfo01_server_nt4_account(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4965 {
4966     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo01_server_nt4_account, NDR_POINTER_UNIQUE, "server_nt4_account", -1);
4967     return offset;
4968 }
4969
4970
4971 int
4972 drsuapi_dissect_DsGetDCInfo01(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4973 {
4974     proto_item *item=NULL;
4975     proto_tree *tree=NULL;
4976     int old_offset;
4977
4978     ALIGN_TO_4_BYTES;
4979
4980     old_offset=offset;
4981     if(parent_tree){
4982         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4983         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfo01);
4984     }
4985
4986     offset=drsuapi_dissect_DsGetDCInfo01_unknown1(tvb, offset, pinfo, tree, drep);
4987
4988     offset=drsuapi_dissect_DsGetDCInfo01_unknown2(tvb, offset, pinfo, tree, drep);
4989
4990     offset=drsuapi_dissect_DsGetDCInfo01_unknown3(tvb, offset, pinfo, tree, drep);
4991
4992     offset=drsuapi_dissect_DsGetDCInfo01_unknown4(tvb, offset, pinfo, tree, drep);
4993
4994     offset=drsuapi_dissect_DsGetDCInfo01_unknown5(tvb, offset, pinfo, tree, drep);
4995
4996     offset=drsuapi_dissect_DsGetDCInfo01_unknown6(tvb, offset, pinfo, tree, drep);
4997
4998     offset=unique_drsuapi_dissect_DsGetDCInfo01_server_nt4_account(tvb, offset, pinfo, tree, drep);
4999
5000     proto_item_set_len(item, offset-old_offset);
5001
5002     return offset;
5003 }
5004 static int
5005 drsuapi_dissect_DsGetDCInfoCtr01_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5006 {
5007     guint32 param=0;
5008     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr01_count, param);
5009     return offset;
5010 }
5011
5012 static int
5013 drsuapi_dissect_DsGetDCInfoCtr01_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5014 {
5015     guint32 param=0;
5016     offset=drsuapi_dissect_DsGetDCInfo01(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr01_array, param);
5017     return offset;
5018 }
5019
5020 static int
5021 ucarray_drsuapi_dissect_DsGetDCInfoCtr01_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5022 {
5023     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfoCtr01_array);
5024     return offset;
5025 }
5026
5027 static int
5028 unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr01_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5029 {
5030     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsGetDCInfoCtr01_array, NDR_POINTER_UNIQUE, "array", -1);
5031     return offset;
5032 }
5033
5034
5035 int
5036 drsuapi_dissect_DsGetDCInfoCtr01(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5037 {
5038     proto_item *item=NULL;
5039     proto_tree *tree=NULL;
5040     int old_offset;
5041
5042     ALIGN_TO_4_BYTES;
5043
5044     old_offset=offset;
5045     if(parent_tree){
5046         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5047         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoCtr01);
5048     }
5049
5050     offset=drsuapi_dissect_DsGetDCInfoCtr01_count(tvb, offset, pinfo, tree, drep);
5051
5052     offset=unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr01_array(tvb, offset, pinfo, tree, drep);
5053
5054     proto_item_set_len(item, offset-old_offset);
5055
5056     return offset;
5057 }
5058
5059 const value_string drsuapi_DsGetDCInfoCtrLevels_vals[] = {
5060     { 1 , "DRSUAPI_DC_INFO_CTR_1" },
5061     { 2 , "DRSUAPI_DC_INFO_CTR_2" },
5062     { -1        , "DRSUAPI_DC_INFO_CTR_01" },
5063     { 0 , NULL }
5064 };
5065
5066 int
5067 drsuapi_dissect_DsGetDCInfoCtrLevels(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
5068 {
5069     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
5070     return offset;
5071 }
5072
5073 static int
5074 drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5075 {
5076     guint32 param=0;
5077     offset=drsuapi_dissect_DsGetDCInfoCtr1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1, param);
5078     return offset;
5079 }
5080
5081 static int
5082 drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5083 {
5084     guint32 param=0;
5085     offset=drsuapi_dissect_DsGetDCInfoCtr2(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2, param);
5086     return offset;
5087 }
5088
5089 static int
5090 drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5091 {
5092     guint32 param=0;
5093     offset=drsuapi_dissect_DsGetDCInfoCtr01(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01, param);
5094     return offset;
5095 }
5096
5097
5098 static int
5099 drsuapi_dissect_union_DsGetDCInfoCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5100 {
5101     proto_item *item=NULL;
5102     proto_tree *tree=NULL;
5103     int old_offset;
5104     guint32 level;
5105
5106     ALIGN_TO_4_BYTES;
5107
5108     old_offset=offset;
5109     if(parent_tree){
5110         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsGetDCInfoCtr");
5111         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoCtr);
5112     }
5113
5114     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
5115                               drep, hf_index, &level);
5116
5117     switch(level){
5118     case DRSUAPI_DC_INFO_CTR_1:
5119         ALIGN_TO_4_BYTES;
5120         offset=drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1(tvb, offset, pinfo, tree, drep);
5121         break;
5122
5123     case DRSUAPI_DC_INFO_CTR_2:
5124         ALIGN_TO_4_BYTES;
5125         offset=drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2(tvb, offset, pinfo, tree, drep);
5126         break;
5127
5128     case DRSUAPI_DC_INFO_CTR_01:
5129         ALIGN_TO_4_BYTES;
5130         offset=drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01(tvb, offset, pinfo, tree, drep);
5131         break;
5132
5133     }
5134
5135     proto_item_set_len(item, offset-old_offset);
5136
5137    return offset;
5138 }
5139 static int
5140 drsuapi_dissect_DsGetDomainControllerInfo_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5141 {
5142     guint32 param=0;
5143     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDomainControllerInfo_bind_handle, param);
5144     return offset;
5145 }
5146
5147 static int
5148 ref_drsuapi_dissect_DsGetDomainControllerInfo_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5149 {
5150     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDomainControllerInfo_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
5151     return offset;
5152 }
5153
5154 static int
5155 drsuapi_dissect_DsGetDomainControllerInfo_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5156 {
5157     guint32 param=0;
5158     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDomainControllerInfo_level, param);
5159     return offset;
5160 }
5161
5162 static int
5163 drsuapi_dissect_DsGetDomainControllerInfo_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5164 {
5165     guint32 param=0;
5166     offset=drsuapi_dissect_union_DsGetDCInfoRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDomainControllerInfo_req, param);
5167     return offset;
5168 }
5169
5170 static int
5171 drsuapi_dissect_DsGetDomainControllerInfo_ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5172 {
5173     guint32 param=0;
5174     offset=drsuapi_dissect_union_DsGetDCInfoCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDomainControllerInfo_ctr, param);
5175     return offset;
5176 }
5177
5178
5179 static int
5180 drsuapi_dissect_DsGetDomainControllerInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5181 {
5182         offset=ref_drsuapi_dissect_DsGetDomainControllerInfo_bind_handle(tvb, offset, pinfo, tree, drep);
5183         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
5184
5185         offset=drsuapi_dissect_DsGetDomainControllerInfo_level(tvb, offset, pinfo, tree, drep);
5186         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
5187
5188         offset=drsuapi_dissect_DsGetDomainControllerInfo_req(tvb, offset, pinfo, tree, drep);
5189         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
5190
5191
5192    return offset;
5193 }
5194
5195 static int
5196 drsuapi_dissect_DsGetDomainControllerInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5197 {
5198         offset=drsuapi_dissect_DsGetDomainControllerInfo_level(tvb, offset, pinfo, tree, drep);
5199         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
5200
5201         offset=drsuapi_dissect_DsGetDomainControllerInfo_ctr(tvb, offset, pinfo, tree, drep);
5202         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
5203
5204    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
5205
5206
5207    return offset;
5208 }
5209
5210 static int
5211 drsuapi_dissect_DsAddEntry_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5212 {
5213
5214    return offset;
5215 }
5216
5217 static int
5218 drsuapi_dissect_DsAddEntry_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5219 {
5220    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
5221
5222
5223    return offset;
5224 }
5225
5226 static int
5227 drsuapi_dissect_DRSUAPI_EXECUTE_KCC_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5228 {
5229
5230    return offset;
5231 }
5232
5233 static int
5234 drsuapi_dissect_DRSUAPI_EXECUTE_KCC_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5235 {
5236    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
5237
5238
5239    return offset;
5240 }
5241
5242 const value_string drsuapi_DsReplicaGetInfoLevel_vals[] = {
5243     { 1 , "DRSUAPI_DS_REPLICA_GET_INFO" },
5244     { 2 , "DRSUAPI_DS_REPLICA_GET_INFO2" },
5245     { 0 , NULL }
5246 };
5247
5248 int
5249 drsuapi_dissect_DsReplicaGetInfoLevel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
5250 {
5251     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
5252     return offset;
5253 }
5254
5255
5256 const value_string drsuapi_DsReplicaInfoType_vals[] = {
5257     { 0 , "DRSUAPI_DS_REPLICA_INFO_NEIGHBORS" },
5258     { 1 , "DRSUAPI_DS_REPLICA_INFO_CURSORS" },
5259     { 2 , "DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA" },
5260     { 3 , "DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES" },
5261     { 4 , "DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES" },
5262     { 5 , "DRSUAPI_DS_REPLICA_INFO_PENDING_OPS" },
5263     { 6 , "DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA" },
5264     { 7 , "DRSUAPI_DS_REPLICA_INFO_CURSORS2" },
5265     { 8 , "DRSUAPI_DS_REPLICA_INFO_CURSORS3" },
5266     { 9 , "DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2" },
5267     { 10        , "DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2" },
5268     { -2        , "DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02" },
5269     { -4        , "DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04" },
5270     { -5        , "DRSUAPI_DS_REPLICA_INFO_CURSURS05" },
5271     { -6        , "DRSUAPI_DS_REPLICA_INFO_06" },
5272     { 0 , NULL }
5273 };
5274
5275 int
5276 drsuapi_dissect_DsReplicaInfoType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
5277 {
5278     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
5279     return offset;
5280 }
5281
5282 static int
5283 drsuapi_dissect_DsReplicaGetInfoRequest1_info_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5284 {
5285     guint32 param=0;
5286     offset=drsuapi_dissect_DsReplicaInfoType(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest1_info_type, param);
5287     return offset;
5288 }
5289
5290 static int
5291 drsuapi_dissect_DsReplicaGetInfoRequest1_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5292 {
5293     guint32 param=0;
5294     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest1_object_dn, param);
5295     return offset;
5296 }
5297
5298 static int
5299 unique_drsuapi_dissect_DsReplicaGetInfoRequest1_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5300 {
5301     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaGetInfoRequest1_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
5302     return offset;
5303 }
5304
5305 static int
5306 drsuapi_dissect_DsReplicaGetInfoRequest1_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5307 {
5308     guint32 param=0;
5309     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest1_guid1, param);
5310     return offset;
5311 }
5312
5313
5314 int
5315 drsuapi_dissect_DsReplicaGetInfoRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5316 {
5317     proto_item *item=NULL;
5318     proto_tree *tree=NULL;
5319     int old_offset;
5320
5321     ALIGN_TO_4_BYTES;
5322
5323     old_offset=offset;
5324     if(parent_tree){
5325         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5326         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaGetInfoRequest1);
5327     }
5328
5329     offset=drsuapi_dissect_DsReplicaGetInfoRequest1_info_type(tvb, offset, pinfo, tree, drep);
5330
5331     offset=unique_drsuapi_dissect_DsReplicaGetInfoRequest1_object_dn(tvb, offset, pinfo, tree, drep);
5332
5333     offset=drsuapi_dissect_DsReplicaGetInfoRequest1_guid1(tvb, offset, pinfo, tree, drep);
5334
5335     proto_item_set_len(item, offset-old_offset);
5336
5337     return offset;
5338 }
5339 static int
5340 drsuapi_dissect_DsReplicaGetInfoRequest2_info_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5341 {
5342     guint32 param=0;
5343     offset=drsuapi_dissect_DsReplicaInfoType(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest2_info_type, param);
5344     return offset;
5345 }
5346
5347 static int
5348 drsuapi_dissect_DsReplicaGetInfoRequest2_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5349 {
5350     guint32 param=0;
5351     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest2_object_dn, param);
5352     return offset;
5353 }
5354
5355 static int
5356 unique_drsuapi_dissect_DsReplicaGetInfoRequest2_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5357 {
5358     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaGetInfoRequest2_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
5359     return offset;
5360 }
5361
5362 static int
5363 drsuapi_dissect_DsReplicaGetInfoRequest2_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5364 {
5365     guint32 param=0;
5366     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest2_guid1, param);
5367     return offset;
5368 }
5369
5370 static int
5371 drsuapi_dissect_DsReplicaGetInfoRequest2_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5372 {
5373     guint32 param=0;
5374     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest2_unknown1, param);
5375     return offset;
5376 }
5377
5378 static int
5379 drsuapi_dissect_DsReplicaGetInfoRequest2_string1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5380 {
5381     guint32 param=0;
5382     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest2_string1, param);
5383     return offset;
5384 }
5385
5386 static int
5387 unique_drsuapi_dissect_DsReplicaGetInfoRequest2_string1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5388 {
5389     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaGetInfoRequest2_string1, NDR_POINTER_UNIQUE, "string1", -1);
5390     return offset;
5391 }
5392
5393 static int
5394 drsuapi_dissect_DsReplicaGetInfoRequest2_string2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5395 {
5396     guint32 param=0;
5397     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest2_string2, param);
5398     return offset;
5399 }
5400
5401 static int
5402 unique_drsuapi_dissect_DsReplicaGetInfoRequest2_string2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5403 {
5404     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaGetInfoRequest2_string2, NDR_POINTER_UNIQUE, "string2", -1);
5405     return offset;
5406 }
5407
5408 static int
5409 drsuapi_dissect_DsReplicaGetInfoRequest2_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5410 {
5411     guint32 param=0;
5412     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest2_unknown2, param);
5413     return offset;
5414 }
5415
5416
5417 int
5418 drsuapi_dissect_DsReplicaGetInfoRequest2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5419 {
5420     proto_item *item=NULL;
5421     proto_tree *tree=NULL;
5422     int old_offset;
5423
5424     ALIGN_TO_4_BYTES;
5425
5426     old_offset=offset;
5427     if(parent_tree){
5428         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5429         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaGetInfoRequest2);
5430     }
5431
5432     offset=drsuapi_dissect_DsReplicaGetInfoRequest2_info_type(tvb, offset, pinfo, tree, drep);
5433
5434     offset=unique_drsuapi_dissect_DsReplicaGetInfoRequest2_object_dn(tvb, offset, pinfo, tree, drep);
5435
5436     offset=drsuapi_dissect_DsReplicaGetInfoRequest2_guid1(tvb, offset, pinfo, tree, drep);
5437
5438     offset=drsuapi_dissect_DsReplicaGetInfoRequest2_unknown1(tvb, offset, pinfo, tree, drep);
5439
5440     offset=unique_drsuapi_dissect_DsReplicaGetInfoRequest2_string1(tvb, offset, pinfo, tree, drep);
5441
5442     offset=unique_drsuapi_dissect_DsReplicaGetInfoRequest2_string2(tvb, offset, pinfo, tree, drep);
5443
5444     offset=drsuapi_dissect_DsReplicaGetInfoRequest2_unknown2(tvb, offset, pinfo, tree, drep);
5445
5446     proto_item_set_len(item, offset-old_offset);
5447
5448     return offset;
5449 }
5450 static int
5451 drsuapi_dissect_union_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5452 {
5453     guint32 param=0;
5454     offset=drsuapi_dissect_DsReplicaGetInfoRequest1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1, param);
5455     return offset;
5456 }
5457
5458 static int
5459 drsuapi_dissect_union_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5460 {
5461     guint32 param=0;
5462     offset=drsuapi_dissect_DsReplicaGetInfoRequest2(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2, param);
5463     return offset;
5464 }
5465
5466
5467 static int
5468 drsuapi_dissect_union_DsReplicaGetInfoRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5469 {
5470     proto_item *item=NULL;
5471     proto_tree *tree=NULL;
5472     int old_offset;
5473     guint32 level;
5474
5475     ALIGN_TO_4_BYTES;
5476
5477     old_offset=offset;
5478     if(parent_tree){
5479         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsReplicaGetInfoRequest");
5480         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaGetInfoRequest);
5481     }
5482
5483     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
5484                               drep, hf_index, &level);
5485
5486     switch(level){
5487     case DRSUAPI_DS_REPLICA_GET_INFO:
5488         ALIGN_TO_4_BYTES;
5489         offset=drsuapi_dissect_union_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1(tvb, offset, pinfo, tree, drep);
5490         break;
5491
5492     case DRSUAPI_DS_REPLICA_GET_INFO2:
5493         ALIGN_TO_4_BYTES;
5494         offset=drsuapi_dissect_union_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2(tvb, offset, pinfo, tree, drep);
5495         break;
5496
5497     }
5498
5499     proto_item_set_len(item, offset-old_offset);
5500
5501    return offset;
5502 }
5503 static int
5504 drsuapi_dissect_DsReplicaNeighbour_naming_context_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5505 {
5506     guint32 param=0;
5507     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_naming_context_dn, param);
5508     return offset;
5509 }
5510
5511 static int
5512 unique_drsuapi_dissect_DsReplicaNeighbour_naming_context_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5513 {
5514     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaNeighbour_naming_context_dn, NDR_POINTER_UNIQUE, "naming_context_dn", -1);
5515     return offset;
5516 }
5517
5518 static int
5519 drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5520 {
5521     guint32 param=0;
5522     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn, param);
5523     return offset;
5524 }
5525
5526 static int
5527 unique_drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5528 {
5529     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_dn, NDR_POINTER_UNIQUE, "source_dsa_obj_dn", -1);
5530     return offset;
5531 }
5532
5533 static int
5534 drsuapi_dissect_DsReplicaNeighbour_source_dsa_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5535 {
5536     guint32 param=0;
5537     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_source_dsa_address, param);
5538     return offset;
5539 }
5540
5541 static int
5542 unique_drsuapi_dissect_DsReplicaNeighbour_source_dsa_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5543 {
5544     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaNeighbour_source_dsa_address, NDR_POINTER_UNIQUE, "source_dsa_address", -1);
5545     return offset;
5546 }
5547
5548 static int
5549 drsuapi_dissect_DsReplicaNeighbour_transport_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5550 {
5551     guint32 param=0;
5552     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_transport_obj_dn, param);
5553     return offset;
5554 }
5555
5556 static int
5557 unique_drsuapi_dissect_DsReplicaNeighbour_transport_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5558 {
5559     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaNeighbour_transport_obj_dn, NDR_POINTER_UNIQUE, "transport_obj_dn", -1);
5560     return offset;
5561 }
5562
5563 static int
5564 drsuapi_dissect_DsReplicaNeighbour_replica_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5565 {
5566     guint32 param=0;
5567     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_replica_flags, param);
5568     return offset;
5569 }
5570
5571 static int
5572 drsuapi_dissect_DsReplicaNeighbour_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5573 {
5574     guint32 param=0;
5575     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_reserved, param);
5576     return offset;
5577 }
5578
5579 static int
5580 drsuapi_dissect_DsReplicaNeighbour_naming_context_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5581 {
5582     guint32 param=0;
5583     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_naming_context_obj_guid, param);
5584     return offset;
5585 }
5586
5587 static int
5588 drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5589 {
5590     guint32 param=0;
5591     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid, param);
5592     return offset;
5593 }
5594
5595 static int
5596 drsuapi_dissect_DsReplicaNeighbour_source_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5597 {
5598     guint32 param=0;
5599     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id, param);
5600     return offset;
5601 }
5602
5603 static int
5604 drsuapi_dissect_DsReplicaNeighbour_transport_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5605 {
5606     guint32 param=0;
5607     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_transport_obj_guid, param);
5608     return offset;
5609 }
5610
5611 static int
5612 drsuapi_dissect_DsReplicaNeighbour_tmp_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5613 {
5614     guint32 param=0;
5615     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_tmp_highest_usn, param);
5616     return offset;
5617 }
5618
5619 static int
5620 drsuapi_dissect_DsReplicaNeighbour_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5621 {
5622     guint32 param=0;
5623     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_highest_usn, param);
5624     return offset;
5625 }
5626
5627
5628 static int
5629 drsuapi_dissect_NTTIME(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
5630 {
5631     offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_index);
5632
5633     return offset;
5634 }
5635
5636 static int
5637 drsuapi_dissect_DsReplicaNeighbour_last_success(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5638 {
5639     guint32 param=0;
5640     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_last_success, param);
5641     return offset;
5642 }
5643
5644 static int
5645 drsuapi_dissect_DsReplicaNeighbour_last_attempt(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5646 {
5647     guint32 param=0;
5648     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_last_attempt, param);
5649     return offset;
5650 }
5651
5652 static int
5653 drsuapi_dissect_DsReplicaNeighbour_result_last_attempt(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5654 {
5655     guint32 param=0;
5656     offset=drsuapi_dissect_WERROR(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_result_last_attempt, param);
5657     return offset;
5658 }
5659
5660 static int
5661 drsuapi_dissect_DsReplicaNeighbour_consecutive_sync_failures(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5662 {
5663     guint32 param=0;
5664     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_consecutive_sync_failures, param);
5665     return offset;
5666 }
5667
5668
5669 int
5670 drsuapi_dissect_DsReplicaNeighbour(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5671 {
5672     proto_item *item=NULL;
5673     proto_tree *tree=NULL;
5674     int old_offset;
5675
5676     ALIGN_TO_8_BYTES;
5677
5678     old_offset=offset;
5679     if(parent_tree){
5680         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5681         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaNeighbour);
5682     }
5683
5684     offset=unique_drsuapi_dissect_DsReplicaNeighbour_naming_context_dn(tvb, offset, pinfo, tree, drep);
5685
5686     offset=unique_drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
5687
5688     offset=unique_drsuapi_dissect_DsReplicaNeighbour_source_dsa_address(tvb, offset, pinfo, tree, drep);
5689
5690     offset=unique_drsuapi_dissect_DsReplicaNeighbour_transport_obj_dn(tvb, offset, pinfo, tree, drep);
5691
5692     offset=drsuapi_dissect_DsReplicaNeighbour_replica_flags(tvb, offset, pinfo, tree, drep);
5693
5694     offset=drsuapi_dissect_DsReplicaNeighbour_reserved(tvb, offset, pinfo, tree, drep);
5695
5696     offset=drsuapi_dissect_DsReplicaNeighbour_naming_context_obj_guid(tvb, offset, pinfo, tree, drep);
5697
5698     offset=drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_guid(tvb, offset, pinfo, tree, drep);
5699
5700     offset=drsuapi_dissect_DsReplicaNeighbour_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
5701
5702     offset=drsuapi_dissect_DsReplicaNeighbour_transport_obj_guid(tvb, offset, pinfo, tree, drep);
5703
5704     offset=drsuapi_dissect_DsReplicaNeighbour_tmp_highest_usn(tvb, offset, pinfo, tree, drep);
5705
5706     offset=drsuapi_dissect_DsReplicaNeighbour_highest_usn(tvb, offset, pinfo, tree, drep);
5707
5708     offset=drsuapi_dissect_DsReplicaNeighbour_last_success(tvb, offset, pinfo, tree, drep);
5709
5710     offset=drsuapi_dissect_DsReplicaNeighbour_last_attempt(tvb, offset, pinfo, tree, drep);
5711
5712     offset=drsuapi_dissect_DsReplicaNeighbour_result_last_attempt(tvb, offset, pinfo, tree, drep);
5713
5714     offset=drsuapi_dissect_DsReplicaNeighbour_consecutive_sync_failures(tvb, offset, pinfo, tree, drep);
5715
5716     proto_item_set_len(item, offset-old_offset);
5717
5718     return offset;
5719 }
5720 static int
5721 drsuapi_dissect_DsReplicaNeighbourCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5722 {
5723     guint32 param=0;
5724     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbourCtr_count, param);
5725     return offset;
5726 }
5727
5728 static int
5729 drsuapi_dissect_DsReplicaNeighbourCtr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5730 {
5731     guint32 param=0;
5732     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbourCtr_reserved, param);
5733     return offset;
5734 }
5735
5736 static int
5737 drsuapi_dissect_DsReplicaNeighbourCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5738 {
5739     guint32 param=0;
5740     offset=drsuapi_dissect_DsReplicaNeighbour(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbourCtr_array, param);
5741     return offset;
5742 }
5743
5744 static int
5745 ucarray_drsuapi_dissect_DsReplicaNeighbourCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5746 {
5747     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaNeighbourCtr_array);
5748     return offset;
5749 }
5750
5751
5752 int
5753 drsuapi_dissect_DsReplicaNeighbourCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5754 {
5755     proto_item *item=NULL;
5756     proto_tree *tree=NULL;
5757     int old_offset;
5758
5759     ALIGN_TO_8_BYTES;
5760
5761     old_offset=offset;
5762     if(parent_tree){
5763         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5764         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaNeighbourCtr);
5765     }
5766
5767     offset=drsuapi_dissect_DsReplicaNeighbourCtr_count(tvb, offset, pinfo, tree, drep);
5768
5769     offset=drsuapi_dissect_DsReplicaNeighbourCtr_reserved(tvb, offset, pinfo, tree, drep);
5770
5771     offset=ucarray_drsuapi_dissect_DsReplicaNeighbourCtr_array(tvb, offset, pinfo, tree, drep);
5772
5773     proto_item_set_len(item, offset-old_offset);
5774
5775     return offset;
5776 }
5777 static int
5778 drsuapi_dissect_DsReplicaCoursorCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5779 {
5780     guint32 param=0;
5781     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorCtr_count, param);
5782     return offset;
5783 }
5784
5785 static int
5786 drsuapi_dissect_DsReplicaCoursorCtr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5787 {
5788     guint32 param=0;
5789     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorCtr_reserved, param);
5790     return offset;
5791 }
5792
5793 static int
5794 drsuapi_dissect_DsReplicaCoursorCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5795 {
5796     guint32 param=0;
5797     offset=drsuapi_dissect_DsReplicaCoursor(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorCtr_array, param);
5798     return offset;
5799 }
5800
5801 static int
5802 ucarray_drsuapi_dissect_DsReplicaCoursorCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5803 {
5804     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaCoursorCtr_array);
5805     return offset;
5806 }
5807
5808
5809 int
5810 drsuapi_dissect_DsReplicaCoursorCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5811 {
5812     proto_item *item=NULL;
5813     proto_tree *tree=NULL;
5814     int old_offset;
5815
5816     ALIGN_TO_8_BYTES;
5817
5818     old_offset=offset;
5819     if(parent_tree){
5820         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5821         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursorCtr);
5822     }
5823
5824     offset=drsuapi_dissect_DsReplicaCoursorCtr_count(tvb, offset, pinfo, tree, drep);
5825
5826     offset=drsuapi_dissect_DsReplicaCoursorCtr_reserved(tvb, offset, pinfo, tree, drep);
5827
5828     offset=ucarray_drsuapi_dissect_DsReplicaCoursorCtr_array(tvb, offset, pinfo, tree, drep);
5829
5830     proto_item_set_len(item, offset-old_offset);
5831
5832     return offset;
5833 }
5834 static int
5835 drsuapi_dissect_DsReplicaObjMetaData_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5836 {
5837     guint32 param=0;
5838     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData_attribute_name, param);
5839     return offset;
5840 }
5841
5842 static int
5843 unique_drsuapi_dissect_DsReplicaObjMetaData_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5844 {
5845     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaObjMetaData_attribute_name, NDR_POINTER_UNIQUE, "attribute_name", -1);
5846     return offset;
5847 }
5848
5849 static int
5850 drsuapi_dissect_DsReplicaObjMetaData_version(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5851 {
5852     guint32 param=0;
5853     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData_version, param);
5854     return offset;
5855 }
5856
5857 static int
5858 drsuapi_dissect_DsReplicaObjMetaData_originating_last_changed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5859 {
5860     guint32 param=0;
5861     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData_originating_last_changed, param);
5862     return offset;
5863 }
5864
5865 static int
5866 drsuapi_dissect_DsReplicaObjMetaData_originating_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5867 {
5868     guint32 param=0;
5869     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData_originating_dsa_invocation_id, param);
5870     return offset;
5871 }
5872
5873 static int
5874 drsuapi_dissect_DsReplicaObjMetaData_originating_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5875 {
5876     guint32 param=0;
5877     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData_originating_usn, param);
5878     return offset;
5879 }
5880
5881 static int
5882 drsuapi_dissect_DsReplicaObjMetaData_local_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5883 {
5884     guint32 param=0;
5885     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData_local_usn, param);
5886     return offset;
5887 }
5888
5889
5890 int
5891 drsuapi_dissect_DsReplicaObjMetaData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5892 {
5893     proto_item *item=NULL;
5894     proto_tree *tree=NULL;
5895     int old_offset;
5896
5897     ALIGN_TO_8_BYTES;
5898
5899     old_offset=offset;
5900     if(parent_tree){
5901         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5902         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaObjMetaData);
5903     }
5904
5905     offset=unique_drsuapi_dissect_DsReplicaObjMetaData_attribute_name(tvb, offset, pinfo, tree, drep);
5906
5907     offset=drsuapi_dissect_DsReplicaObjMetaData_version(tvb, offset, pinfo, tree, drep);
5908
5909     offset=drsuapi_dissect_DsReplicaObjMetaData_originating_last_changed(tvb, offset, pinfo, tree, drep);
5910
5911     offset=drsuapi_dissect_DsReplicaObjMetaData_originating_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
5912
5913     offset=drsuapi_dissect_DsReplicaObjMetaData_originating_usn(tvb, offset, pinfo, tree, drep);
5914
5915     offset=drsuapi_dissect_DsReplicaObjMetaData_local_usn(tvb, offset, pinfo, tree, drep);
5916
5917     proto_item_set_len(item, offset-old_offset);
5918
5919     return offset;
5920 }
5921 static int
5922 drsuapi_dissect_DsReplicaObjMetaDataCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5923 {
5924     guint32 param=0;
5925     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaDataCtr_count, param);
5926     return offset;
5927 }
5928
5929 static int
5930 drsuapi_dissect_DsReplicaObjMetaDataCtr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5931 {
5932     guint32 param=0;
5933     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaDataCtr_reserved, param);
5934     return offset;
5935 }
5936
5937 static int
5938 drsuapi_dissect_DsReplicaObjMetaDataCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5939 {
5940     guint32 param=0;
5941     offset=drsuapi_dissect_DsReplicaObjMetaData(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaDataCtr_array, param);
5942     return offset;
5943 }
5944
5945 static int
5946 ucarray_drsuapi_dissect_DsReplicaObjMetaDataCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5947 {
5948     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaObjMetaDataCtr_array);
5949     return offset;
5950 }
5951
5952
5953 int
5954 drsuapi_dissect_DsReplicaObjMetaDataCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5955 {
5956     proto_item *item=NULL;
5957     proto_tree *tree=NULL;
5958     int old_offset;
5959
5960     ALIGN_TO_8_BYTES;
5961
5962     old_offset=offset;
5963     if(parent_tree){
5964         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5965         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaObjMetaDataCtr);
5966     }
5967
5968     offset=drsuapi_dissect_DsReplicaObjMetaDataCtr_count(tvb, offset, pinfo, tree, drep);
5969
5970     offset=drsuapi_dissect_DsReplicaObjMetaDataCtr_reserved(tvb, offset, pinfo, tree, drep);
5971
5972     offset=ucarray_drsuapi_dissect_DsReplicaObjMetaDataCtr_array(tvb, offset, pinfo, tree, drep);
5973
5974     proto_item_set_len(item, offset-old_offset);
5975
5976     return offset;
5977 }
5978 static int
5979 drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5980 {
5981     guint32 param=0;
5982     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn, param);
5983     return offset;
5984 }
5985
5986 static int
5987 unique_drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5988 {
5989     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_dn, NDR_POINTER_UNIQUE, "dsa_obj_dn", -1);
5990     return offset;
5991 }
5992
5993 static int
5994 drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5995 {
5996     guint32 param=0;
5997     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid, param);
5998     return offset;
5999 }
6000
6001 static int
6002 drsuapi_dissect_DsReplicaKccDsaFailure_first_failure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6003 {
6004     guint32 param=0;
6005     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailure_first_failure, param);
6006     return offset;
6007 }
6008
6009 static int
6010 drsuapi_dissect_DsReplicaKccDsaFailure_num_failures(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6011 {
6012     guint32 param=0;
6013     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailure_num_failures, param);
6014     return offset;
6015 }
6016
6017 static int
6018 drsuapi_dissect_DsReplicaKccDsaFailure_last_result(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6019 {
6020     guint32 param=0;
6021     offset=drsuapi_dissect_WERROR(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailure_last_result, param);
6022     return offset;
6023 }
6024
6025
6026 int
6027 drsuapi_dissect_DsReplicaKccDsaFailure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6028 {
6029     proto_item *item=NULL;
6030     proto_tree *tree=NULL;
6031     int old_offset;
6032
6033     ALIGN_TO_4_BYTES;
6034
6035     old_offset=offset;
6036     if(parent_tree){
6037         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6038         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaKccDsaFailure);
6039     }
6040
6041     offset=unique_drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
6042
6043     offset=drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_guid(tvb, offset, pinfo, tree, drep);
6044
6045     offset=drsuapi_dissect_DsReplicaKccDsaFailure_first_failure(tvb, offset, pinfo, tree, drep);
6046
6047     offset=drsuapi_dissect_DsReplicaKccDsaFailure_num_failures(tvb, offset, pinfo, tree, drep);
6048
6049     offset=drsuapi_dissect_DsReplicaKccDsaFailure_last_result(tvb, offset, pinfo, tree, drep);
6050
6051     proto_item_set_len(item, offset-old_offset);
6052
6053     return offset;
6054 }
6055 static int
6056 drsuapi_dissect_DsReplicaKccDsaFailuresCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6057 {
6058     guint32 param=0;
6059     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailuresCtr_count, param);
6060     return offset;
6061 }
6062
6063 static int
6064 drsuapi_dissect_DsReplicaKccDsaFailuresCtr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6065 {
6066     guint32 param=0;
6067     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailuresCtr_reserved, param);
6068     return offset;
6069 }
6070
6071 static int
6072 drsuapi_dissect_DsReplicaKccDsaFailuresCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6073 {
6074     guint32 param=0;
6075     offset=drsuapi_dissect_DsReplicaKccDsaFailure(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailuresCtr_array, param);
6076     return offset;
6077 }
6078
6079 static int
6080 ucarray_drsuapi_dissect_DsReplicaKccDsaFailuresCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6081 {
6082     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaKccDsaFailuresCtr_array);
6083     return offset;
6084 }
6085
6086
6087 int
6088 drsuapi_dissect_DsReplicaKccDsaFailuresCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6089 {
6090     proto_item *item=NULL;
6091     proto_tree *tree=NULL;
6092     int old_offset;
6093
6094     ALIGN_TO_4_BYTES;
6095
6096     old_offset=offset;
6097     if(parent_tree){
6098         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6099         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaKccDsaFailuresCtr);
6100     }
6101
6102     offset=drsuapi_dissect_DsReplicaKccDsaFailuresCtr_count(tvb, offset, pinfo, tree, drep);
6103
6104     offset=drsuapi_dissect_DsReplicaKccDsaFailuresCtr_reserved(tvb, offset, pinfo, tree, drep);
6105
6106     offset=ucarray_drsuapi_dissect_DsReplicaKccDsaFailuresCtr_array(tvb, offset, pinfo, tree, drep);
6107
6108     proto_item_set_len(item, offset-old_offset);
6109
6110     return offset;
6111 }
6112
6113 const value_string drsuapi_DsReplicaOpType_vals[] = {
6114     { 0 , "DRSUAPI_DS_REPLICA_OP_TYPE_SYNC" },
6115     { 1 , "DRSUAPI_DS_REPLICA_OP_TYPE_ADD" },
6116     { 2 , "DRSUAPI_DS_REPLICA_OP_TYPE_DELETE" },
6117     { 3 , "DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY" },
6118     { 4 , "DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS" },
6119     { 0 , NULL }
6120 };
6121
6122 int
6123 drsuapi_dissect_DsReplicaOpType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
6124 {
6125     offset=dissect_ndr_uint16(tvb, offset, pinfo, tree, drep, hf_index, NULL);
6126     return offset;
6127 }
6128
6129 static int
6130 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6131 {
6132     guint32 param=0;
6133     offset=drsuapi_dissect_DsReplicaSyncOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync, param);
6134     return offset;
6135 }
6136
6137 static int
6138 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6139 {
6140     guint32 param=0;
6141     offset=drsuapi_dissect_DsReplicaAddOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add, param);
6142     return offset;
6143 }
6144
6145 static int
6146 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6147 {
6148     guint32 param=0;
6149     offset=drsuapi_dissect_DsReplicaDeleteOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete, param);
6150     return offset;
6151 }
6152
6153 static int
6154 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6155 {
6156     guint32 param=0;
6157     offset=drsuapi_dissect_DsReplicaModifyOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify, param);
6158     return offset;
6159 }
6160
6161 static int
6162 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6163 {
6164     guint32 param=0;
6165     offset=drsuapi_dissect_DsReplicaUpdateRefsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs, param);
6166     return offset;
6167 }
6168
6169 static int
6170 drsuapi_dissect_union_DsRplicaOpOptions_default_unknown(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6171 {
6172     guint32 param=0;
6173     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsRplicaOpOptions_default_unknown, param);
6174     return offset;
6175 }
6176
6177
6178 static int
6179 drsuapi_dissect_union_DsRplicaOpOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6180 {
6181     proto_item *item=NULL;
6182     proto_tree *tree=NULL;
6183     int old_offset;
6184     guint16 level;
6185
6186     ALIGN_TO_2_BYTES;
6187
6188     old_offset=offset;
6189     if(parent_tree){
6190         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsRplicaOpOptions");
6191         tree=proto_item_add_subtree(item, ett_drsuapi_DsRplicaOpOptions);
6192     }
6193
6194     offset=dissect_ndr_uint16(tvb, offset, pinfo, tree,
6195                               drep, hf_index, &level);
6196
6197     switch(level){
6198     case DRSUAPI_DS_REPLICA_OP_TYPE_SYNC:
6199         ALIGN_TO_4_BYTES;
6200         offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync(tvb, offset, pinfo, tree, drep);
6201         break;
6202
6203     case DRSUAPI_DS_REPLICA_OP_TYPE_ADD:
6204         ALIGN_TO_4_BYTES;
6205         offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add(tvb, offset, pinfo, tree, drep);
6206         break;
6207
6208     case DRSUAPI_DS_REPLICA_OP_TYPE_DELETE:
6209         ALIGN_TO_4_BYTES;
6210         offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete(tvb, offset, pinfo, tree, drep);
6211         break;
6212
6213     case DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY:
6214         ALIGN_TO_4_BYTES;
6215         offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify(tvb, offset, pinfo, tree, drep);
6216         break;
6217
6218     case DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS:
6219         ALIGN_TO_4_BYTES;
6220         offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs(tvb, offset, pinfo, tree, drep);
6221         break;
6222
6223     default:
6224         ALIGN_TO_4_BYTES;
6225         offset=drsuapi_dissect_union_DsRplicaOpOptions_default_unknown(tvb, offset, pinfo, tree, drep);
6226         break;
6227
6228     }
6229
6230     proto_item_set_len(item, offset-old_offset);
6231
6232    return offset;
6233 }
6234 static int
6235 drsuapi_dissect_DsReplicaOp_operation_start(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6236 {
6237     guint32 param=0;
6238     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_operation_start, param);
6239     return offset;
6240 }
6241
6242 static int
6243 drsuapi_dissect_DsReplicaOp_serial_num(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6244 {
6245     guint32 param=0;
6246     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_serial_num, param);
6247     return offset;
6248 }
6249
6250 static int
6251 drsuapi_dissect_DsReplicaOp_priority(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6252 {
6253     guint32 param=0;
6254     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_priority, param);
6255     return offset;
6256 }
6257
6258 static int
6259 drsuapi_dissect_DsReplicaOp_operation_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6260 {
6261     guint32 param=0;
6262     offset=drsuapi_dissect_DsReplicaOpType(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_operation_type, param);
6263     return offset;
6264 }
6265
6266 static int
6267 drsuapi_dissect_DsReplicaOp_options(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6268 {
6269     guint32 param=0;
6270     offset=drsuapi_dissect_union_DsRplicaOpOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_options, param);
6271     return offset;
6272 }
6273
6274 static int
6275 drsuapi_dissect_DsReplicaOp_nc_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6276 {
6277     guint32 param=0;
6278     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_nc_dn, param);
6279     return offset;
6280 }
6281
6282 static int
6283 unique_drsuapi_dissect_DsReplicaOp_nc_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6284 {
6285     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaOp_nc_dn, NDR_POINTER_UNIQUE, "nc_dn", -1);
6286     return offset;
6287 }
6288
6289 static int
6290 drsuapi_dissect_DsReplicaOp_remote_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6291 {
6292     guint32 param=0;
6293     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_remote_dsa_obj_dn, param);
6294     return offset;
6295 }
6296
6297 static int
6298 unique_drsuapi_dissect_DsReplicaOp_remote_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6299 {
6300     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaOp_remote_dsa_obj_dn, NDR_POINTER_UNIQUE, "remote_dsa_obj_dn", -1);
6301     return offset;
6302 }
6303
6304 static int
6305 drsuapi_dissect_DsReplicaOp_remote_dsa_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6306 {
6307     guint32 param=0;
6308     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_remote_dsa_address, param);
6309     return offset;
6310 }
6311
6312 static int
6313 unique_drsuapi_dissect_DsReplicaOp_remote_dsa_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6314 {
6315     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaOp_remote_dsa_address, NDR_POINTER_UNIQUE, "remote_dsa_address", -1);
6316     return offset;
6317 }
6318
6319 static int
6320 drsuapi_dissect_DsReplicaOp_nc_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6321 {
6322     guint32 param=0;
6323     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_nc_obj_guid, param);
6324     return offset;
6325 }
6326
6327 static int
6328 drsuapi_dissect_DsReplicaOp_remote_dsa_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6329 {
6330     guint32 param=0;
6331     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_remote_dsa_obj_guid, param);
6332     return offset;
6333 }
6334
6335
6336 int
6337 drsuapi_dissect_DsReplicaOp(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6338 {
6339     proto_item *item=NULL;
6340     proto_tree *tree=NULL;
6341     int old_offset;
6342
6343     ALIGN_TO_4_BYTES;
6344
6345     old_offset=offset;
6346     if(parent_tree){
6347         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6348         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaOp);
6349     }
6350
6351     offset=drsuapi_dissect_DsReplicaOp_operation_start(tvb, offset, pinfo, tree, drep);
6352
6353     offset=drsuapi_dissect_DsReplicaOp_serial_num(tvb, offset, pinfo, tree, drep);
6354
6355     offset=drsuapi_dissect_DsReplicaOp_priority(tvb, offset, pinfo, tree, drep);
6356
6357     offset=drsuapi_dissect_DsReplicaOp_operation_type(tvb, offset, pinfo, tree, drep);
6358
6359     offset=drsuapi_dissect_DsReplicaOp_options(tvb, offset, pinfo, tree, drep);
6360
6361     offset=unique_drsuapi_dissect_DsReplicaOp_nc_dn(tvb, offset, pinfo, tree, drep);
6362
6363     offset=unique_drsuapi_dissect_DsReplicaOp_remote_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
6364
6365     offset=unique_drsuapi_dissect_DsReplicaOp_remote_dsa_address(tvb, offset, pinfo, tree, drep);
6366
6367     offset=drsuapi_dissect_DsReplicaOp_nc_obj_guid(tvb, offset, pinfo, tree, drep);
6368
6369     offset=drsuapi_dissect_DsReplicaOp_remote_dsa_obj_guid(tvb, offset, pinfo, tree, drep);
6370
6371     proto_item_set_len(item, offset-old_offset);
6372
6373     return offset;
6374 }
6375 static int
6376 drsuapi_dissect_DsReplicaOpCtr_time(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6377 {
6378     guint32 param=0;
6379     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOpCtr_time, param);
6380     return offset;
6381 }
6382
6383 static int
6384 drsuapi_dissect_DsReplicaOpCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6385 {
6386     guint32 param=0;
6387     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOpCtr_count, param);
6388     return offset;
6389 }
6390
6391 static int
6392 drsuapi_dissect_DsReplicaOpCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6393 {
6394     guint32 param=0;
6395     offset=drsuapi_dissect_DsReplicaOp(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOpCtr_array, param);
6396     return offset;
6397 }
6398
6399 static int
6400 ucarray_drsuapi_dissect_DsReplicaOpCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6401 {
6402     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaOpCtr_array);
6403     return offset;
6404 }
6405
6406
6407 int
6408 drsuapi_dissect_DsReplicaOpCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6409 {
6410     proto_item *item=NULL;
6411     proto_tree *tree=NULL;
6412     int old_offset;
6413
6414     ALIGN_TO_4_BYTES;
6415
6416     old_offset=offset;
6417     if(parent_tree){
6418         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6419         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaOpCtr);
6420     }
6421
6422     offset=drsuapi_dissect_DsReplicaOpCtr_time(tvb, offset, pinfo, tree, drep);
6423
6424     offset=drsuapi_dissect_DsReplicaOpCtr_count(tvb, offset, pinfo, tree, drep);
6425
6426     offset=ucarray_drsuapi_dissect_DsReplicaOpCtr_array(tvb, offset, pinfo, tree, drep);
6427
6428     proto_item_set_len(item, offset-old_offset);
6429
6430     return offset;
6431 }
6432 static int
6433 drsuapi_dissect_DsReplicaAttrValMetaData_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6434 {
6435     guint32 param=0;
6436     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_attribute_name, param);
6437     return offset;
6438 }
6439
6440 static int
6441 unique_drsuapi_dissect_DsReplicaAttrValMetaData_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6442 {
6443     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData_attribute_name, NDR_POINTER_UNIQUE, "attribute_name", -1);
6444     return offset;
6445 }
6446
6447 static int
6448 drsuapi_dissect_DsReplicaAttrValMetaData_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6449 {
6450     guint32 param=0;
6451     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_object_dn, param);
6452     return offset;
6453 }
6454
6455 static int
6456 unique_drsuapi_dissect_DsReplicaAttrValMetaData_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6457 {
6458     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
6459     return offset;
6460 }
6461
6462 static int
6463 drsuapi_dissect_DsReplicaAttrValMetaData_value_length(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6464 {
6465     guint32 param=0;
6466     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_value_length, param);
6467     return offset;
6468 }
6469
6470 static int
6471 drsuapi_dissect_DsReplicaAttrValMetaData_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6472 {
6473     guint32 param=0;
6474     offset=drsuapi_dissect_uint8(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_value, param);
6475     return offset;
6476 }
6477
6478 static int
6479 ucarray_drsuapi_dissect_DsReplicaAttrValMetaData_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6480 {
6481     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData_value);
6482     return offset;
6483 }
6484
6485 static int
6486 unique_ucarray_drsuapi_dissect_DsReplicaAttrValMetaData_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6487 {
6488     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsReplicaAttrValMetaData_value, NDR_POINTER_UNIQUE, "value", -1);
6489     return offset;
6490 }
6491
6492 static int
6493 drsuapi_dissect_DsReplicaAttrValMetaData_deleted(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6494 {
6495     guint32 param=0;
6496     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_deleted, param);
6497     return offset;
6498 }
6499
6500 static int
6501 drsuapi_dissect_DsReplicaAttrValMetaData_created(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6502 {
6503     guint32 param=0;
6504     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_created, param);
6505     return offset;
6506 }
6507
6508 static int
6509 drsuapi_dissect_DsReplicaAttrValMetaData_version(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6510 {
6511     guint32 param=0;
6512     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_version, param);
6513     return offset;
6514 }
6515
6516 static int
6517 drsuapi_dissect_DsReplicaAttrValMetaData_originating_last_changed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6518 {
6519     guint32 param=0;
6520     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_originating_last_changed, param);
6521     return offset;
6522 }
6523
6524 static int
6525 drsuapi_dissect_DsReplicaAttrValMetaData_originating_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6526 {
6527     guint32 param=0;
6528     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_originating_dsa_invocation_id, param);
6529     return offset;
6530 }
6531
6532 static int
6533 drsuapi_dissect_DsReplicaAttrValMetaData_originating_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6534 {
6535     guint32 param=0;
6536     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_originating_usn, param);
6537     return offset;
6538 }
6539
6540 static int
6541 drsuapi_dissect_DsReplicaAttrValMetaData_local_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6542 {
6543     guint32 param=0;
6544     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_local_usn, param);
6545     return offset;
6546 }
6547
6548
6549 int
6550 drsuapi_dissect_DsReplicaAttrValMetaData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6551 {
6552     proto_item *item=NULL;
6553     proto_tree *tree=NULL;
6554     int old_offset;
6555
6556     ALIGN_TO_8_BYTES;
6557
6558     old_offset=offset;
6559     if(parent_tree){
6560         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6561         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAttrValMetaData);
6562     }
6563
6564     offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData_attribute_name(tvb, offset, pinfo, tree, drep);
6565
6566     offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData_object_dn(tvb, offset, pinfo, tree, drep);
6567
6568     offset=drsuapi_dissect_DsReplicaAttrValMetaData_value_length(tvb, offset, pinfo, tree, drep);
6569
6570     offset=unique_ucarray_drsuapi_dissect_DsReplicaAttrValMetaData_value(tvb, offset, pinfo, tree, drep);
6571
6572     offset=drsuapi_dissect_DsReplicaAttrValMetaData_deleted(tvb, offset, pinfo, tree, drep);
6573
6574     offset=drsuapi_dissect_DsReplicaAttrValMetaData_created(tvb, offset, pinfo, tree, drep);
6575
6576     offset=drsuapi_dissect_DsReplicaAttrValMetaData_version(tvb, offset, pinfo, tree, drep);
6577
6578     offset=drsuapi_dissect_DsReplicaAttrValMetaData_originating_last_changed(tvb, offset, pinfo, tree, drep);
6579
6580     offset=drsuapi_dissect_DsReplicaAttrValMetaData_originating_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
6581
6582     offset=drsuapi_dissect_DsReplicaAttrValMetaData_originating_usn(tvb, offset, pinfo, tree, drep);
6583
6584     offset=drsuapi_dissect_DsReplicaAttrValMetaData_local_usn(tvb, offset, pinfo, tree, drep);
6585
6586     proto_item_set_len(item, offset-old_offset);
6587
6588     return offset;
6589 }
6590 static int
6591 drsuapi_dissect_DsReplicaAttrValMetaDataCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6592 {
6593     guint32 param=0;
6594     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaDataCtr_count, param);
6595     return offset;
6596 }
6597
6598 static int
6599 drsuapi_dissect_DsReplicaAttrValMetaDataCtr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6600 {
6601     guint32 param=0;
6602     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context, param);
6603     return offset;
6604 }
6605
6606 static int
6607 drsuapi_dissect_DsReplicaAttrValMetaDataCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6608 {
6609     guint32 param=0;
6610     offset=drsuapi_dissect_DsReplicaAttrValMetaData(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaDataCtr_array, param);
6611     return offset;
6612 }
6613
6614 static int
6615 ucarray_drsuapi_dissect_DsReplicaAttrValMetaDataCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6616 {
6617     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaDataCtr_array);
6618     return offset;
6619 }
6620
6621
6622 int
6623 drsuapi_dissect_DsReplicaAttrValMetaDataCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6624 {
6625     proto_item *item=NULL;
6626     proto_tree *tree=NULL;
6627     int old_offset;
6628
6629     ALIGN_TO_8_BYTES;
6630
6631     old_offset=offset;
6632     if(parent_tree){
6633         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6634         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAttrValMetaDataCtr);
6635     }
6636
6637     offset=drsuapi_dissect_DsReplicaAttrValMetaDataCtr_count(tvb, offset, pinfo, tree, drep);
6638
6639     offset=drsuapi_dissect_DsReplicaAttrValMetaDataCtr_enumeration_context(tvb, offset, pinfo, tree, drep);
6640
6641     offset=ucarray_drsuapi_dissect_DsReplicaAttrValMetaDataCtr_array(tvb, offset, pinfo, tree, drep);
6642
6643     proto_item_set_len(item, offset-old_offset);
6644
6645     return offset;
6646 }
6647 static int
6648 drsuapi_dissect_DsReplicaCoursor2_source_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6649 {
6650     guint32 param=0;
6651     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor2_source_dsa_invocation_id, param);
6652     return offset;
6653 }
6654
6655 static int
6656 drsuapi_dissect_DsReplicaCoursor2_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6657 {
6658     guint32 param=0;
6659     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor2_highest_usn, param);
6660     return offset;
6661 }
6662
6663 static int
6664 drsuapi_dissect_DsReplicaCoursor2_last_sync_success(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6665 {
6666     guint32 param=0;
6667     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor2_last_sync_success, param);
6668     return offset;
6669 }
6670
6671
6672 int
6673 drsuapi_dissect_DsReplicaCoursor2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6674 {
6675     proto_item *item=NULL;
6676     proto_tree *tree=NULL;
6677     int old_offset;
6678
6679     ALIGN_TO_8_BYTES;
6680
6681     old_offset=offset;
6682     if(parent_tree){
6683         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6684         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor2);
6685     }
6686
6687     offset=drsuapi_dissect_DsReplicaCoursor2_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
6688
6689     offset=drsuapi_dissect_DsReplicaCoursor2_highest_usn(tvb, offset, pinfo, tree, drep);
6690
6691     offset=drsuapi_dissect_DsReplicaCoursor2_last_sync_success(tvb, offset, pinfo, tree, drep);
6692
6693     proto_item_set_len(item, offset-old_offset);
6694
6695     return offset;
6696 }
6697 static int
6698 drsuapi_dissect_DsReplicaCoursor2Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6699 {
6700     guint32 param=0;
6701     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor2Ctr_count, param);
6702     return offset;
6703 }
6704
6705 static int
6706 drsuapi_dissect_DsReplicaCoursor2Ctr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6707 {
6708     guint32 param=0;
6709     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor2Ctr_enumeration_context, param);
6710     return offset;
6711 }
6712
6713 static int
6714 drsuapi_dissect_DsReplicaCoursor2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6715 {
6716     guint32 param=0;
6717     offset=drsuapi_dissect_DsReplicaCoursor2(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor2Ctr_array, param);
6718     return offset;
6719 }
6720
6721 static int
6722 ucarray_drsuapi_dissect_DsReplicaCoursor2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6723 {
6724     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaCoursor2Ctr_array);
6725     return offset;
6726 }
6727
6728
6729 int
6730 drsuapi_dissect_DsReplicaCoursor2Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6731 {
6732     proto_item *item=NULL;
6733     proto_tree *tree=NULL;
6734     int old_offset;
6735
6736     ALIGN_TO_8_BYTES;
6737
6738     old_offset=offset;
6739     if(parent_tree){
6740         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6741         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor2Ctr);
6742     }
6743
6744     offset=drsuapi_dissect_DsReplicaCoursor2Ctr_count(tvb, offset, pinfo, tree, drep);
6745
6746     offset=drsuapi_dissect_DsReplicaCoursor2Ctr_enumeration_context(tvb, offset, pinfo, tree, drep);
6747
6748     offset=ucarray_drsuapi_dissect_DsReplicaCoursor2Ctr_array(tvb, offset, pinfo, tree, drep);
6749
6750     proto_item_set_len(item, offset-old_offset);
6751
6752     return offset;
6753 }
6754 static int
6755 drsuapi_dissect_DsReplicaCoursor3_source_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6756 {
6757     guint32 param=0;
6758     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor3_source_dsa_invocation_id, param);
6759     return offset;
6760 }
6761
6762 static int
6763 drsuapi_dissect_DsReplicaCoursor3_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6764 {
6765     guint32 param=0;
6766     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor3_highest_usn, param);
6767     return offset;
6768 }
6769
6770 static int
6771 drsuapi_dissect_DsReplicaCoursor3_last_sync_success(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6772 {
6773     guint32 param=0;
6774     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor3_last_sync_success, param);
6775     return offset;
6776 }
6777
6778 static int
6779 drsuapi_dissect_DsReplicaCoursor3_source_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6780 {
6781     guint32 param=0;
6782     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor3_source_dsa_obj_dn, param);
6783     return offset;
6784 }
6785
6786 static int
6787 unique_drsuapi_dissect_DsReplicaCoursor3_source_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6788 {
6789     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaCoursor3_source_dsa_obj_dn, NDR_POINTER_UNIQUE, "source_dsa_obj_dn", -1);
6790     return offset;
6791 }
6792
6793
6794 int
6795 drsuapi_dissect_DsReplicaCoursor3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6796 {
6797     proto_item *item=NULL;
6798     proto_tree *tree=NULL;
6799     int old_offset;
6800
6801     ALIGN_TO_8_BYTES;
6802
6803     old_offset=offset;
6804     if(parent_tree){
6805         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6806         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor3);
6807     }
6808
6809     offset=drsuapi_dissect_DsReplicaCoursor3_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
6810
6811     offset=drsuapi_dissect_DsReplicaCoursor3_highest_usn(tvb, offset, pinfo, tree, drep);
6812
6813     offset=drsuapi_dissect_DsReplicaCoursor3_last_sync_success(tvb, offset, pinfo, tree, drep);
6814
6815     offset=unique_drsuapi_dissect_DsReplicaCoursor3_source_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
6816
6817     proto_item_set_len(item, offset-old_offset);
6818
6819     return offset;
6820 }
6821 static int
6822 drsuapi_dissect_DsReplicaCoursor3Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6823 {
6824     guint32 param=0;
6825     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor3Ctr_count, param);
6826     return offset;
6827 }
6828
6829 static int
6830 drsuapi_dissect_DsReplicaCoursor3Ctr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6831 {
6832     guint32 param=0;
6833     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor3Ctr_enumeration_context, param);
6834     return offset;
6835 }
6836
6837 static int
6838 drsuapi_dissect_DsReplicaCoursor3Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6839 {
6840     guint32 param=0;
6841     offset=drsuapi_dissect_DsReplicaCoursor3(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor3Ctr_array, param);
6842     return offset;
6843 }
6844
6845 static int
6846 ucarray_drsuapi_dissect_DsReplicaCoursor3Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6847 {
6848     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaCoursor3Ctr_array);
6849     return offset;
6850 }
6851
6852
6853 int
6854 drsuapi_dissect_DsReplicaCoursor3Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6855 {
6856     proto_item *item=NULL;
6857     proto_tree *tree=NULL;
6858     int old_offset;
6859
6860     ALIGN_TO_8_BYTES;
6861
6862     old_offset=offset;
6863     if(parent_tree){
6864         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6865         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor3Ctr);
6866     }
6867
6868     offset=drsuapi_dissect_DsReplicaCoursor3Ctr_count(tvb, offset, pinfo, tree, drep);
6869
6870     offset=drsuapi_dissect_DsReplicaCoursor3Ctr_enumeration_context(tvb, offset, pinfo, tree, drep);
6871
6872     offset=ucarray_drsuapi_dissect_DsReplicaCoursor3Ctr_array(tvb, offset, pinfo, tree, drep);
6873
6874     proto_item_set_len(item, offset-old_offset);
6875
6876     return offset;
6877 }
6878 static int
6879 drsuapi_dissect_DsReplicaObjMetaData2_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6880 {
6881     guint32 param=0;
6882     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2_attribute_name, param);
6883     return offset;
6884 }
6885
6886 static int
6887 unique_drsuapi_dissect_DsReplicaObjMetaData2_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6888 {
6889     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaObjMetaData2_attribute_name, NDR_POINTER_UNIQUE, "attribute_name", -1);
6890     return offset;
6891 }
6892
6893 static int
6894 drsuapi_dissect_DsReplicaObjMetaData2_version(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6895 {
6896     guint32 param=0;
6897     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2_version, param);
6898     return offset;
6899 }
6900
6901 static int
6902 drsuapi_dissect_DsReplicaObjMetaData2_originating_last_changed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6903 {
6904     guint32 param=0;
6905     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2_originating_last_changed, param);
6906     return offset;
6907 }
6908
6909 static int
6910 drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6911 {
6912     guint32 param=0;
6913     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_invocation_id, param);
6914     return offset;
6915 }
6916
6917 static int
6918 drsuapi_dissect_DsReplicaObjMetaData2_originating_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6919 {
6920     guint32 param=0;
6921     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2_originating_usn, param);
6922     return offset;
6923 }
6924
6925 static int
6926 drsuapi_dissect_DsReplicaObjMetaData2_local_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6927 {
6928     guint32 param=0;
6929     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2_local_usn, param);
6930     return offset;
6931 }
6932
6933 static int
6934 drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6935 {
6936     guint32 param=0;
6937     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_obj_dn, param);
6938     return offset;
6939 }
6940
6941 static int
6942 unique_drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6943 {
6944     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_obj_dn, NDR_POINTER_UNIQUE, "originating_dsa_obj_dn", -1);
6945     return offset;
6946 }
6947
6948
6949 int
6950 drsuapi_dissect_DsReplicaObjMetaData2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6951 {
6952     proto_item *item=NULL;
6953     proto_tree *tree=NULL;
6954     int old_offset;
6955
6956     ALIGN_TO_8_BYTES;
6957
6958     old_offset=offset;
6959     if(parent_tree){
6960         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6961         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaObjMetaData2);
6962     }
6963
6964     offset=unique_drsuapi_dissect_DsReplicaObjMetaData2_attribute_name(tvb, offset, pinfo, tree, drep);
6965
6966     offset=drsuapi_dissect_DsReplicaObjMetaData2_version(tvb, offset, pinfo, tree, drep);
6967
6968     offset=drsuapi_dissect_DsReplicaObjMetaData2_originating_last_changed(tvb, offset, pinfo, tree, drep);
6969
6970     offset=drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
6971
6972     offset=drsuapi_dissect_DsReplicaObjMetaData2_originating_usn(tvb, offset, pinfo, tree, drep);
6973
6974     offset=drsuapi_dissect_DsReplicaObjMetaData2_local_usn(tvb, offset, pinfo, tree, drep);
6975
6976     offset=unique_drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
6977
6978     proto_item_set_len(item, offset-old_offset);
6979
6980     return offset;
6981 }
6982 static int
6983 drsuapi_dissect_DsReplicaObjMetaData2Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6984 {
6985     guint32 param=0;
6986     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2Ctr_count, param);
6987     return offset;
6988 }
6989
6990 static int
6991 drsuapi_dissect_DsReplicaObjMetaData2Ctr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6992 {
6993     guint32 param=0;
6994     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context, param);
6995     return offset;
6996 }
6997
6998 static int
6999 drsuapi_dissect_DsReplicaObjMetaData2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7000 {
7001     guint32 param=0;
7002     offset=drsuapi_dissect_DsReplicaObjMetaData2(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2Ctr_array, param);
7003     return offset;
7004 }
7005
7006 static int
7007 ucarray_drsuapi_dissect_DsReplicaObjMetaData2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7008 {
7009     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaObjMetaData2Ctr_array);
7010     return offset;
7011 }
7012
7013
7014 int
7015 drsuapi_dissect_DsReplicaObjMetaData2Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7016 {
7017     proto_item *item=NULL;
7018     proto_tree *tree=NULL;
7019     int old_offset;
7020
7021     ALIGN_TO_8_BYTES;
7022
7023     old_offset=offset;
7024     if(parent_tree){
7025         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7026         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaObjMetaData2Ctr);
7027     }
7028
7029     offset=drsuapi_dissect_DsReplicaObjMetaData2Ctr_count(tvb, offset, pinfo, tree, drep);
7030
7031     offset=drsuapi_dissect_DsReplicaObjMetaData2Ctr_enumeration_context(tvb, offset, pinfo, tree, drep);
7032
7033     offset=ucarray_drsuapi_dissect_DsReplicaObjMetaData2Ctr_array(tvb, offset, pinfo, tree, drep);
7034
7035     proto_item_set_len(item, offset-old_offset);
7036
7037     return offset;
7038 }
7039 static int
7040 drsuapi_dissect_DsReplicaAttrValMetaData2_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7041 {
7042     guint32 param=0;
7043     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_attribute_name, param);
7044     return offset;
7045 }
7046
7047 static int
7048 unique_drsuapi_dissect_DsReplicaAttrValMetaData2_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7049 {
7050     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData2_attribute_name, NDR_POINTER_UNIQUE, "attribute_name", -1);
7051     return offset;
7052 }
7053
7054 static int
7055 drsuapi_dissect_DsReplicaAttrValMetaData2_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7056 {
7057     guint32 param=0;
7058     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_object_dn, param);
7059     return offset;
7060 }
7061
7062 static int
7063 unique_drsuapi_dissect_DsReplicaAttrValMetaData2_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7064 {
7065     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData2_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
7066     return offset;
7067 }
7068
7069 static int
7070 drsuapi_dissect_DsReplicaAttrValMetaData2_value_length(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7071 {
7072     guint32 param=0;
7073     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_value_length, param);
7074     return offset;
7075 }
7076
7077 static int
7078 drsuapi_dissect_DsReplicaAttrValMetaData2_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7079 {
7080     guint32 param=0;
7081     offset=drsuapi_dissect_uint8(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_value, param);
7082     return offset;
7083 }
7084
7085 static int
7086 ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7087 {
7088     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData2_value);
7089     return offset;
7090 }
7091
7092 static int
7093 unique_ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7094 {
7095     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2_value, NDR_POINTER_UNIQUE, "value", -1);
7096     return offset;
7097 }
7098
7099 static int
7100 drsuapi_dissect_DsReplicaAttrValMetaData2_deleted(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7101 {
7102     guint32 param=0;
7103     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_deleted, param);
7104     return offset;
7105 }
7106
7107 static int
7108 drsuapi_dissect_DsReplicaAttrValMetaData2_created(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7109 {
7110     guint32 param=0;
7111     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_created, param);
7112     return offset;
7113 }
7114
7115 static int
7116 drsuapi_dissect_DsReplicaAttrValMetaData2_version(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7117 {
7118     guint32 param=0;
7119     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_version, param);
7120     return offset;
7121 }
7122
7123 static int
7124 drsuapi_dissect_DsReplicaAttrValMetaData2_originating_last_changed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7125 {
7126     guint32 param=0;
7127     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_originating_last_changed, param);
7128     return offset;
7129 }
7130
7131 static int
7132 drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7133 {
7134     guint32 param=0;
7135     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_invocation_id, param);
7136     return offset;
7137 }
7138
7139 static int
7140 drsuapi_dissect_DsReplicaAttrValMetaData2_originating_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7141 {
7142     guint32 param=0;
7143     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_originating_usn, param);
7144     return offset;
7145 }
7146
7147 static int
7148 drsuapi_dissect_DsReplicaAttrValMetaData2_local_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7149 {
7150     guint32 param=0;
7151     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_local_usn, param);
7152     return offset;
7153 }
7154
7155 static int
7156 drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7157 {
7158     guint32 param=0;
7159     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_obj_dn, param);
7160     return offset;
7161 }
7162
7163 static int
7164 unique_drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7165 {
7166     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_obj_dn, NDR_POINTER_UNIQUE, "originating_dsa_obj_dn", -1);
7167     return offset;
7168 }
7169
7170
7171 int
7172 drsuapi_dissect_DsReplicaAttrValMetaData2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7173 {
7174     proto_item *item=NULL;
7175     proto_tree *tree=NULL;
7176     int old_offset;
7177
7178     ALIGN_TO_8_BYTES;
7179
7180     old_offset=offset;
7181     if(parent_tree){
7182         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7183         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAttrValMetaData2);
7184     }
7185
7186     offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData2_attribute_name(tvb, offset, pinfo, tree, drep);
7187
7188     offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData2_object_dn(tvb, offset, pinfo, tree, drep);
7189
7190     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_value_length(tvb, offset, pinfo, tree, drep);
7191
7192     offset=unique_ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2_value(tvb, offset, pinfo, tree, drep);
7193
7194     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_deleted(tvb, offset, pinfo, tree, drep);
7195
7196     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_created(tvb, offset, pinfo, tree, drep);
7197
7198     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_version(tvb, offset, pinfo, tree, drep);
7199
7200     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_originating_last_changed(tvb, offset, pinfo, tree, drep);
7201
7202     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
7203
7204     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_originating_usn(tvb, offset, pinfo, tree, drep);
7205
7206     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_local_usn(tvb, offset, pinfo, tree, drep);
7207
7208     offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
7209
7210     proto_item_set_len(item, offset-old_offset);
7211
7212     return offset;
7213 }
7214 static int
7215 drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7216 {
7217     guint32 param=0;
7218     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2Ctr_count, param);
7219     return offset;
7220 }
7221
7222 static int
7223 drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7224 {
7225     guint32 param=0;
7226     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context, param);
7227     return offset;
7228 }
7229
7230 static int
7231 drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7232 {
7233     guint32 param=0;
7234     offset=drsuapi_dissect_DsReplicaAttrValMetaData2(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2Ctr_array, param);
7235     return offset;
7236 }
7237
7238 static int
7239 ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7240 {
7241     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_array);
7242     return offset;
7243 }
7244
7245
7246 int
7247 drsuapi_dissect_DsReplicaAttrValMetaData2Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7248 {
7249     proto_item *item=NULL;
7250     proto_tree *tree=NULL;
7251     int old_offset;
7252
7253     ALIGN_TO_8_BYTES;
7254
7255     old_offset=offset;
7256     if(parent_tree){
7257         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7258         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAttrValMetaData2Ctr);
7259     }
7260
7261     offset=drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_count(tvb, offset, pinfo, tree, drep);
7262
7263     offset=drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_enumeration_context(tvb, offset, pinfo, tree, drep);
7264
7265     offset=ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_array(tvb, offset, pinfo, tree, drep);
7266
7267     proto_item_set_len(item, offset-old_offset);
7268
7269     return offset;
7270 }
7271 static int
7272 drsuapi_dissect_DsReplicaConnection04_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7273 {
7274     guint32 param=0;
7275     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04_u1, param);
7276     return offset;
7277 }
7278
7279 static int
7280 drsuapi_dissect_DsReplicaConnection04_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7281 {
7282     guint32 param=0;
7283     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04_u2, param);
7284     return offset;
7285 }
7286
7287 static int
7288 drsuapi_dissect_DsReplicaConnection04_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7289 {
7290     guint32 param=0;
7291     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04_u3, param);
7292     return offset;
7293 }
7294
7295 static int
7296 drsuapi_dissect_DsReplicaConnection04_bind_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7297 {
7298     guint32 param=0;
7299     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04_bind_guid, param);
7300     return offset;
7301 }
7302
7303 static int
7304 drsuapi_dissect_DsReplicaConnection04_bind_time(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7305 {
7306     guint32 param=0;
7307     offset=drsuapi_dissect_NTTIME_1sec(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04_bind_time, param);
7308     return offset;
7309 }
7310
7311 static int
7312 drsuapi_dissect_DsReplicaConnection04_u4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7313 {
7314     guint32 param=0;
7315     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04_u4, param);
7316     return offset;
7317 }
7318
7319 static int
7320 drsuapi_dissect_DsReplicaConnection04_u5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7321 {
7322     guint32 param=0;
7323     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04_u5, param);
7324     return offset;
7325 }
7326
7327
7328 int
7329 drsuapi_dissect_DsReplicaConnection04(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7330 {
7331     proto_item *item=NULL;
7332     proto_tree *tree=NULL;
7333     int old_offset;
7334
7335     ALIGN_TO_8_BYTES;
7336
7337     old_offset=offset;
7338     if(parent_tree){
7339         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7340         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaConnection04);
7341     }
7342
7343     offset=drsuapi_dissect_DsReplicaConnection04_u1(tvb, offset, pinfo, tree, drep);
7344
7345     offset=drsuapi_dissect_DsReplicaConnection04_u2(tvb, offset, pinfo, tree, drep);
7346
7347     offset=drsuapi_dissect_DsReplicaConnection04_u3(tvb, offset, pinfo, tree, drep);
7348
7349     offset=drsuapi_dissect_DsReplicaConnection04_bind_guid(tvb, offset, pinfo, tree, drep);
7350
7351     offset=drsuapi_dissect_DsReplicaConnection04_bind_time(tvb, offset, pinfo, tree, drep);
7352
7353     offset=drsuapi_dissect_DsReplicaConnection04_u4(tvb, offset, pinfo, tree, drep);
7354
7355     offset=drsuapi_dissect_DsReplicaConnection04_u5(tvb, offset, pinfo, tree, drep);
7356
7357     proto_item_set_len(item, offset-old_offset);
7358
7359     return offset;
7360 }
7361 static int
7362 drsuapi_dissect_DsReplicaConnection04Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7363 {
7364     guint32 param=0;
7365     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04Ctr_count, param);
7366     return offset;
7367 }
7368
7369 static int
7370 drsuapi_dissect_DsReplicaConnection04Ctr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7371 {
7372     guint32 param=0;
7373     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04Ctr_reserved, param);
7374     return offset;
7375 }
7376
7377 static int
7378 drsuapi_dissect_DsReplicaConnection04Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7379 {
7380     guint32 param=0;
7381     offset=drsuapi_dissect_DsReplicaConnection04(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04Ctr_array, param);
7382     return offset;
7383 }
7384
7385 static int
7386 ucarray_drsuapi_dissect_DsReplicaConnection04Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7387 {
7388     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaConnection04Ctr_array);
7389     return offset;
7390 }
7391
7392
7393 int
7394 drsuapi_dissect_DsReplicaConnection04Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7395 {
7396     proto_item *item=NULL;
7397     proto_tree *tree=NULL;
7398     int old_offset;
7399
7400     ALIGN_TO_8_BYTES;
7401
7402     old_offset=offset;
7403     if(parent_tree){
7404         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7405         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaConnection04Ctr);
7406     }
7407
7408     offset=drsuapi_dissect_DsReplicaConnection04Ctr_count(tvb, offset, pinfo, tree, drep);
7409
7410     offset=drsuapi_dissect_DsReplicaConnection04Ctr_reserved(tvb, offset, pinfo, tree, drep);
7411
7412     offset=ucarray_drsuapi_dissect_DsReplicaConnection04Ctr_array(tvb, offset, pinfo, tree, drep);
7413
7414     proto_item_set_len(item, offset-old_offset);
7415
7416     return offset;
7417 }
7418 static int
7419 drsuapi_dissect_DsReplica06_str1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7420 {
7421     guint32 param=0;
7422     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_str1, param);
7423     return offset;
7424 }
7425
7426 static int
7427 unique_drsuapi_dissect_DsReplica06_str1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7428 {
7429     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplica06_str1, NDR_POINTER_UNIQUE, "str1", -1);
7430     return offset;
7431 }
7432
7433 static int
7434 drsuapi_dissect_DsReplica06_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7435 {
7436     guint32 param=0;
7437     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_u1, param);
7438     return offset;
7439 }
7440
7441 static int
7442 drsuapi_dissect_DsReplica06_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7443 {
7444     guint32 param=0;
7445     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_u2, param);
7446     return offset;
7447 }
7448
7449 static int
7450 drsuapi_dissect_DsReplica06_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7451 {
7452     guint32 param=0;
7453     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_u3, param);
7454     return offset;
7455 }
7456
7457 static int
7458 drsuapi_dissect_DsReplica06_u4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7459 {
7460     guint32 param=0;
7461     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_u4, param);
7462     return offset;
7463 }
7464
7465 static int
7466 drsuapi_dissect_DsReplica06_u5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7467 {
7468     guint32 param=0;
7469     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_u5, param);
7470     return offset;
7471 }
7472
7473 static int
7474 drsuapi_dissect_DsReplica06_u6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7475 {
7476     guint32 param=0;
7477     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_u6, param);
7478     return offset;
7479 }
7480
7481 static int
7482 drsuapi_dissect_DsReplica06_u7(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7483 {
7484     guint32 param=0;
7485     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_u7, param);
7486     return offset;
7487 }
7488
7489
7490 int
7491 drsuapi_dissect_DsReplica06(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7492 {
7493     proto_item *item=NULL;
7494     proto_tree *tree=NULL;
7495     int old_offset;
7496
7497     ALIGN_TO_8_BYTES;
7498
7499     old_offset=offset;
7500     if(parent_tree){
7501         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7502         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplica06);
7503     }
7504
7505     offset=unique_drsuapi_dissect_DsReplica06_str1(tvb, offset, pinfo, tree, drep);
7506
7507     offset=drsuapi_dissect_DsReplica06_u1(tvb, offset, pinfo, tree, drep);
7508
7509     offset=drsuapi_dissect_DsReplica06_u2(tvb, offset, pinfo, tree, drep);
7510
7511     offset=drsuapi_dissect_DsReplica06_u3(tvb, offset, pinfo, tree, drep);
7512
7513     offset=drsuapi_dissect_DsReplica06_u4(tvb, offset, pinfo, tree, drep);
7514
7515     offset=drsuapi_dissect_DsReplica06_u5(tvb, offset, pinfo, tree, drep);
7516
7517     offset=drsuapi_dissect_DsReplica06_u6(tvb, offset, pinfo, tree, drep);
7518
7519     offset=drsuapi_dissect_DsReplica06_u7(tvb, offset, pinfo, tree, drep);
7520
7521     proto_item_set_len(item, offset-old_offset);
7522
7523     return offset;
7524 }
7525 static int
7526 drsuapi_dissect_DsReplica06Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7527 {
7528     guint32 param=0;
7529     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06Ctr_count, param);
7530     return offset;
7531 }
7532
7533 static int
7534 drsuapi_dissect_DsReplica06Ctr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7535 {
7536     guint32 param=0;
7537     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06Ctr_reserved, param);
7538     return offset;
7539 }
7540
7541 static int
7542 drsuapi_dissect_DsReplica06Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7543 {
7544     guint32 param=0;
7545     offset=drsuapi_dissect_DsReplica06(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06Ctr_array, param);
7546     return offset;
7547 }
7548
7549 static int
7550 ucarray_drsuapi_dissect_DsReplica06Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7551 {
7552     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplica06Ctr_array);
7553     return offset;
7554 }
7555
7556
7557 int
7558 drsuapi_dissect_DsReplica06Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7559 {
7560     proto_item *item=NULL;
7561     proto_tree *tree=NULL;
7562     int old_offset;
7563
7564     ALIGN_TO_8_BYTES;
7565
7566     old_offset=offset;
7567     if(parent_tree){
7568         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7569         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplica06Ctr);
7570     }
7571
7572     offset=drsuapi_dissect_DsReplica06Ctr_count(tvb, offset, pinfo, tree, drep);
7573
7574     offset=drsuapi_dissect_DsReplica06Ctr_reserved(tvb, offset, pinfo, tree, drep);
7575
7576     offset=ucarray_drsuapi_dissect_DsReplica06Ctr_array(tvb, offset, pinfo, tree, drep);
7577
7578     proto_item_set_len(item, offset-old_offset);
7579
7580     return offset;
7581 }
7582 static int
7583 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7584 {
7585     guint32 param=0;
7586     offset=drsuapi_dissect_DsReplicaNeighbourCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours, param);
7587     return offset;
7588 }
7589
7590 static int
7591 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7592 {
7593     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours, NDR_POINTER_UNIQUE, "neighbours", -1);
7594     return offset;
7595 }
7596
7597 static int
7598 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7599 {
7600     guint32 param=0;
7601     offset=drsuapi_dissect_DsReplicaCoursorCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors, param);
7602     return offset;
7603 }
7604
7605 static int
7606 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7607 {
7608     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors, NDR_POINTER_UNIQUE, "coursors", -1);
7609     return offset;
7610 }
7611
7612 static int
7613 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7614 {
7615     guint32 param=0;
7616     offset=drsuapi_dissect_DsReplicaObjMetaDataCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata, param);
7617     return offset;
7618 }
7619
7620 static int
7621 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7622 {
7623     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata, NDR_POINTER_UNIQUE, "objmetadata", -1);
7624     return offset;
7625 }
7626
7627 static int
7628 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7629 {
7630     guint32 param=0;
7631     offset=drsuapi_dissect_DsReplicaKccDsaFailuresCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures, param);
7632     return offset;
7633 }
7634
7635 static int
7636 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7637 {
7638     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures, NDR_POINTER_UNIQUE, "connectfailures", -1);
7639     return offset;
7640 }
7641
7642 static int
7643 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7644 {
7645     guint32 param=0;
7646     offset=drsuapi_dissect_DsReplicaKccDsaFailuresCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures, param);
7647     return offset;
7648 }
7649
7650 static int
7651 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7652 {
7653     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures, NDR_POINTER_UNIQUE, "linkfailures", -1);
7654     return offset;
7655 }
7656
7657 static int
7658 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7659 {
7660     guint32 param=0;
7661     offset=drsuapi_dissect_DsReplicaOpCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops, param);
7662     return offset;
7663 }
7664
7665 static int
7666 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7667 {
7668     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops, NDR_POINTER_UNIQUE, "pendingops", -1);
7669     return offset;
7670 }
7671
7672 static int
7673 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7674 {
7675     guint32 param=0;
7676     offset=drsuapi_dissect_DsReplicaAttrValMetaDataCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata, param);
7677     return offset;
7678 }
7679
7680 static int
7681 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7682 {
7683     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata, NDR_POINTER_UNIQUE, "attrvalmetadata", -1);
7684     return offset;
7685 }
7686
7687 static int
7688 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7689 {
7690     guint32 param=0;
7691     offset=drsuapi_dissect_DsReplicaCoursor2Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2, param);
7692     return offset;
7693 }
7694
7695 static int
7696 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7697 {
7698     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2, NDR_POINTER_UNIQUE, "coursors2", -1);
7699     return offset;
7700 }
7701
7702 static int
7703 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7704 {
7705     guint32 param=0;
7706     offset=drsuapi_dissect_DsReplicaCoursor3Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3, param);
7707     return offset;
7708 }
7709
7710 static int
7711 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7712 {
7713     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3, NDR_POINTER_UNIQUE, "coursors3", -1);
7714     return offset;
7715 }
7716
7717 static int
7718 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7719 {
7720     guint32 param=0;
7721     offset=drsuapi_dissect_DsReplicaObjMetaData2Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2, param);
7722     return offset;
7723 }
7724
7725 static int
7726 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7727 {
7728     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2, NDR_POINTER_UNIQUE, "objmetadata2", -1);
7729     return offset;
7730 }
7731
7732 static int
7733 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7734 {
7735     guint32 param=0;
7736     offset=drsuapi_dissect_DsReplicaAttrValMetaData2Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2, param);
7737     return offset;
7738 }
7739
7740 static int
7741 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7742 {
7743     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2, NDR_POINTER_UNIQUE, "attrvalmetadata2", -1);
7744     return offset;
7745 }
7746
7747 static int
7748 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7749 {
7750     guint32 param=0;
7751     offset=drsuapi_dissect_DsReplicaNeighbourCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02, param);
7752     return offset;
7753 }
7754
7755 static int
7756 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7757 {
7758     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02, NDR_POINTER_UNIQUE, "neighbours02", -1);
7759     return offset;
7760 }
7761
7762 static int
7763 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7764 {
7765     guint32 param=0;
7766     offset=drsuapi_dissect_DsReplicaConnection04Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04, param);
7767     return offset;
7768 }
7769
7770 static int
7771 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7772 {
7773     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04, NDR_POINTER_UNIQUE, "connections04", -1);
7774     return offset;
7775 }
7776
7777 static int
7778 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7779 {
7780     guint32 param=0;
7781     offset=drsuapi_dissect_DsReplicaCoursor05Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05, param);
7782     return offset;
7783 }
7784
7785 static int
7786 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7787 {
7788     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05, NDR_POINTER_UNIQUE, "coursors05", -1);
7789     return offset;
7790 }
7791
7792 static int
7793 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7794 {
7795     guint32 param=0;
7796     offset=drsuapi_dissect_DsReplica06Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06, param);
7797     return offset;
7798 }
7799
7800 static int
7801 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7802 {
7803     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06, NDR_POINTER_UNIQUE, "i06", -1);
7804     return offset;
7805 }
7806
7807
7808 static int
7809 drsuapi_dissect_union_DsReplicaInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7810 {
7811     proto_item *item=NULL;
7812     proto_tree *tree=NULL;
7813     int old_offset;
7814     guint32 level;
7815
7816     ALIGN_TO_4_BYTES;
7817
7818     old_offset=offset;
7819     if(parent_tree){
7820         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsReplicaInfo");
7821         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaInfo);
7822     }
7823
7824     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
7825                               drep, hf_index, &level);
7826
7827     switch(level){
7828     case DRSUAPI_DS_REPLICA_INFO_NEIGHBORS:
7829         ALIGN_TO_4_BYTES;
7830         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours_unique(tvb, offset, pinfo, tree, drep);
7831         break;
7832
7833     case DRSUAPI_DS_REPLICA_INFO_CURSORS:
7834         ALIGN_TO_4_BYTES;
7835         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors_unique(tvb, offset, pinfo, tree, drep);
7836         break;
7837
7838     case DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA:
7839         ALIGN_TO_4_BYTES;
7840         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata_unique(tvb, offset, pinfo, tree, drep);
7841         break;
7842
7843     case DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES:
7844         ALIGN_TO_4_BYTES;
7845         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures_unique(tvb, offset, pinfo, tree, drep);
7846         break;
7847
7848     case DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES:
7849         ALIGN_TO_4_BYTES;
7850         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures_unique(tvb, offset, pinfo, tree, drep);
7851         break;
7852
7853     case DRSUAPI_DS_REPLICA_INFO_PENDING_OPS:
7854         ALIGN_TO_4_BYTES;
7855         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops_unique(tvb, offset, pinfo, tree, drep);
7856         break;
7857
7858     case DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA:
7859         ALIGN_TO_4_BYTES;
7860         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata_unique(tvb, offset, pinfo, tree, drep);
7861         break;
7862
7863     case DRSUAPI_DS_REPLICA_INFO_CURSORS2:
7864         ALIGN_TO_4_BYTES;
7865         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2_unique(tvb, offset, pinfo, tree, drep);
7866         break;
7867
7868     case DRSUAPI_DS_REPLICA_INFO_CURSORS3:
7869         ALIGN_TO_4_BYTES;
7870         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3_unique(tvb, offset, pinfo, tree, drep);
7871         break;
7872
7873     case DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2:
7874         ALIGN_TO_4_BYTES;
7875         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2_unique(tvb, offset, pinfo, tree, drep);
7876         break;
7877
7878     case DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2:
7879         ALIGN_TO_4_BYTES;
7880         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2_unique(tvb, offset, pinfo, tree, drep);
7881         break;
7882
7883     case DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02:
7884         ALIGN_TO_4_BYTES;
7885         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02_unique(tvb, offset, pinfo, tree, drep);
7886         break;
7887
7888     case DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04:
7889         ALIGN_TO_4_BYTES;
7890         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04_unique(tvb, offset, pinfo, tree, drep);
7891         break;
7892
7893     case DRSUAPI_DS_REPLICA_INFO_CURSURS05:
7894         ALIGN_TO_4_BYTES;
7895         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05_unique(tvb, offset, pinfo, tree, drep);
7896         break;
7897
7898     case DRSUAPI_DS_REPLICA_INFO_06:
7899         ALIGN_TO_4_BYTES;
7900         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06_unique(tvb, offset, pinfo, tree, drep);
7901         break;
7902
7903     }
7904
7905     proto_item_set_len(item, offset-old_offset);
7906
7907    return offset;
7908 }
7909 static int
7910 drsuapi_dissect_DsReplicaGetInfo_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7911 {
7912     guint32 param=0;
7913     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfo_bind_handle, param);
7914     return offset;
7915 }
7916
7917 static int
7918 ref_drsuapi_dissect_DsReplicaGetInfo_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7919 {
7920     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaGetInfo_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
7921     return offset;
7922 }
7923
7924 static int
7925 drsuapi_dissect_DsReplicaGetInfo_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7926 {
7927     guint32 param=0;
7928     offset=drsuapi_dissect_DsReplicaGetInfoLevel(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfo_level, param);
7929     return offset;
7930 }
7931
7932 static int
7933 drsuapi_dissect_DsReplicaGetInfo_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7934 {
7935     guint32 param=0;
7936     offset=drsuapi_dissect_union_DsReplicaGetInfoRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfo_req, param);
7937     return offset;
7938 }
7939
7940 static int
7941 drsuapi_dissect_DsReplicaGetInfo_info_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7942 {
7943     guint32 param=0;
7944     offset=drsuapi_dissect_DsReplicaInfoType(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfo_info_type, param);
7945     return offset;
7946 }
7947
7948 static int
7949 drsuapi_dissect_DsReplicaGetInfo_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7950 {
7951     guint32 param=0;
7952     offset=drsuapi_dissect_union_DsReplicaInfo(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfo_info, param);
7953     return offset;
7954 }
7955
7956
7957 static int
7958 drsuapi_dissect_DsReplicaGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7959 {
7960         offset=ref_drsuapi_dissect_DsReplicaGetInfo_bind_handle(tvb, offset, pinfo, tree, drep);
7961         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
7962
7963         offset=drsuapi_dissect_DsReplicaGetInfo_level(tvb, offset, pinfo, tree, drep);
7964         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
7965
7966         offset=drsuapi_dissect_DsReplicaGetInfo_req(tvb, offset, pinfo, tree, drep);
7967         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
7968
7969
7970    return offset;
7971 }
7972
7973 static int
7974 drsuapi_dissect_DsReplicaGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7975 {
7976         offset=drsuapi_dissect_DsReplicaGetInfo_info_type(tvb, offset, pinfo, tree, drep);
7977         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
7978
7979         offset=drsuapi_dissect_DsReplicaGetInfo_info(tvb, offset, pinfo, tree, drep);
7980         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
7981
7982    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
7983
7984
7985    return offset;
7986 }
7987
7988 static int
7989 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_)
7990 {
7991
7992    return offset;
7993 }
7994
7995 static int
7996 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_)
7997 {
7998    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
7999
8000
8001    return offset;
8002 }
8003
8004 static int
8005 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8006 {
8007
8008    return offset;
8009 }
8010
8011 static int
8012 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8013 {
8014    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
8015
8016
8017    return offset;
8018 }
8019
8020 static int
8021 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_)
8022 {
8023
8024    return offset;
8025 }
8026
8027 static int
8028 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_)
8029 {
8030    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
8031
8032
8033    return offset;
8034 }
8035
8036 static int
8037 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_)
8038 {
8039
8040    return offset;
8041 }
8042
8043 static int
8044 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_)
8045 {
8046    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
8047
8048
8049    return offset;
8050 }
8051
8052 static int
8053 drsuapi_dissect_DRSUAPI_QUERY_SITES_BY_COST_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8054 {
8055
8056    return offset;
8057 }
8058
8059 static int
8060 drsuapi_dissect_DRSUAPI_QUERY_SITES_BY_COST_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8061 {
8062    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
8063
8064
8065    return offset;
8066 }
8067 /* END OF INCLUDED FILE : ETH_CODE */
8068
8069
8070
8071 void
8072 proto_register_drsuapi(void)
8073 {
8074         static hf_register_info hf[] = {
8075         { &hf_drsuapi_DsReplicaSyncRequest1Info_nc_dn,
8076           { "nc_dn", "drsuapi.DsReplicaSyncRequest1Info.nc_dn", FT_STRING, BASE_NONE,
8077           NULL, 0,
8078          NULL, HFILL }},
8079
8080
8081
8082 /* INCLUDED FILE : ETH_HFARR */
8083         { &hf_drsuapi_opnum,
8084           { "Operation", "drsuapi.opnum", FT_UINT16, BASE_DEC,
8085           NULL, 0,
8086          NULL, HFILL }},
8087
8088         { &hf_drsuapi_rc,
8089           { "Return code", "drsuapi.rc", FT_UINT32, BASE_HEX,
8090           VALS(NT_errors), 0,
8091          NULL, HFILL }},
8092
8093         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE,
8094           { "DRSUAPI_SUPPORTED_EXTENSION_BASE", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_BASE", FT_BOOLEAN, 32,
8095           TFS(&DRSUAPI_SUPPORTED_EXTENSION_BASE_tfs), 0x00000001,
8096          NULL, HFILL }},
8097
8098         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION,
8099           { "DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION", FT_BOOLEAN, 32,
8100           TFS(&DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION_tfs), 0x00000002,
8101          NULL, HFILL }},
8102
8103         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI,
8104           { "DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI", FT_BOOLEAN, 32,
8105           TFS(&DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI_tfs), 0x00000004,
8106          NULL, HFILL }},
8107
8108         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2,
8109           { "DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2", FT_BOOLEAN, 32,
8110           TFS(&DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2_tfs), 0x00000008,
8111          NULL, HFILL }},
8112
8113         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS,
8114           { "DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS", FT_BOOLEAN, 32,
8115           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS_tfs), 0x00000010,
8116          NULL, HFILL }},
8117
8118         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1,
8119           { "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1", FT_BOOLEAN, 32,
8120           TFS(&DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1_tfs), 0x00000020,
8121          NULL, HFILL }},
8122
8123         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION,
8124           { "DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION", FT_BOOLEAN, 32,
8125           TFS(&DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION_tfs), 0x00000040,
8126          NULL, HFILL }},
8127
8128         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00000080,
8129           { "DRSUAPI_SUPPORTED_EXTENSION_00000080", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_00000080", FT_BOOLEAN, 32,
8130           TFS(&DRSUAPI_SUPPORTED_EXTENSION_00000080_tfs), 0x00000080,
8131          NULL, HFILL }},
8132
8133         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE,
8134           { "DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE", FT_BOOLEAN, 32,
8135           TFS(&DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE_tfs), 0x00000100,
8136          NULL, HFILL }},
8137
8138         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2,
8139           { "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2", FT_BOOLEAN, 32,
8140           TFS(&DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2_tfs), 0x00000200,
8141          NULL, HFILL }},
8142
8143         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION,
8144           { "DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION", FT_BOOLEAN, 32,
8145           TFS(&DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION_tfs), 0x00000400,
8146          NULL, HFILL }},
8147
8148         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2,
8149           { "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2", FT_BOOLEAN, 32,
8150           TFS(&DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2_tfs), 0x00000800,
8151          NULL, HFILL }},
8152
8153         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD,
8154           { "DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD", FT_BOOLEAN, 32,
8155           TFS(&DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD_tfs), 0x00001000,
8156          NULL, HFILL }},
8157
8158         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND,
8159           { "DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND", FT_BOOLEAN, 32,
8160           TFS(&DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND_tfs), 0x00002000,
8161          NULL, HFILL }},
8162
8163         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO,
8164           { "DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO", FT_BOOLEAN, 32,
8165           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO_tfs), 0x00004000,
8166          NULL, HFILL }},
8167
8168         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION,
8169           { "DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION", FT_BOOLEAN, 32,
8170           TFS(&DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION_tfs), 0x00008000,
8171          NULL, HFILL }},
8172
8173         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01,
8174           { "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01", FT_BOOLEAN, 32,
8175           TFS(&DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01_tfs), 0x00010000,
8176          NULL, HFILL }},
8177
8178         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP,
8179           { "DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP", FT_BOOLEAN, 32,
8180           TFS(&DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP_tfs), 0x00020000,
8181          NULL, HFILL }},
8182
8183         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY,
8184           { "DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY", FT_BOOLEAN, 32,
8185           TFS(&DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY_tfs), 0x00040000,
8186          NULL, HFILL }},
8187
8188         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3,
8189           { "DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3", FT_BOOLEAN, 32,
8190           TFS(&DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3_tfs), 0x00080000,
8191          NULL, HFILL }},
8192
8193         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00100000,
8194           { "DRSUAPI_SUPPORTED_EXTENSION_00100000", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_00100000", FT_BOOLEAN, 32,
8195           TFS(&DRSUAPI_SUPPORTED_EXTENSION_00100000_tfs), 0x00100000,
8196          NULL, HFILL }},
8197
8198         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2,
8199           { "DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2", FT_BOOLEAN, 32,
8200           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2_tfs), 0x00200000,
8201          NULL, HFILL }},
8202
8203         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6,
8204           { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6", FT_BOOLEAN, 32,
8205           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6_tfs), 0x00400000,
8206          NULL, HFILL }},
8207
8208         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS,
8209           { "DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS", FT_BOOLEAN, 32,
8210           TFS(&DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS_tfs), 0x00800000,
8211          NULL, HFILL }},
8212
8213         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8,
8214           { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8", FT_BOOLEAN, 32,
8215           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8_tfs), 0x01000000,
8216          NULL, HFILL }},
8217
8218         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5,
8219           { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5", FT_BOOLEAN, 32,
8220           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5_tfs), 0x02000000,
8221          NULL, HFILL }},
8222
8223         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6,
8224           { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6", FT_BOOLEAN, 32,
8225           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6_tfs), 0x04000000,
8226          NULL, HFILL }},
8227
8228         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3,
8229           { "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3", FT_BOOLEAN, 32,
8230           TFS(&DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3_tfs), 0x08000000,
8231          NULL, HFILL }},
8232
8233         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7,
8234           { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7", FT_BOOLEAN, 32,
8235           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7_tfs), 0x08000000,
8236          NULL, HFILL }},
8237
8238         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT,
8239           { "DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT", FT_BOOLEAN, 32,
8240           TFS(&DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT_tfs), 0x08000000,
8241          NULL, HFILL }},
8242
8243         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS,
8244           { "DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS", FT_BOOLEAN, 32,
8245           TFS(&DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS_tfs), 0x10000000,
8246          NULL, HFILL }},
8247
8248         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_20000000,
8249           { "DRSUAPI_SUPPORTED_EXTENSION_20000000", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_20000000", FT_BOOLEAN, 32,
8250           TFS(&DRSUAPI_SUPPORTED_EXTENSION_20000000_tfs), 0x20000000,
8251          NULL, HFILL }},
8252
8253         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_40000000,
8254           { "DRSUAPI_SUPPORTED_EXTENSION_40000000", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_40000000", FT_BOOLEAN, 32,
8255           TFS(&DRSUAPI_SUPPORTED_EXTENSION_40000000_tfs), 0x40000000,
8256          NULL, HFILL }},
8257
8258         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_80000000,
8259           { "DRSUAPI_SUPPORTED_EXTENSION_80000000", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_80000000", FT_BOOLEAN, 32,
8260           TFS(&DRSUAPI_SUPPORTED_EXTENSION_80000000_tfs), 0x80000000,
8261          NULL, HFILL }},
8262
8263         { &hf_drsuapi_DsBindInfo24_supported_extensions,
8264           { "supported_extensions", "drsuapi.DsBindInfo24.supported_extensions", FT_UINT32, BASE_HEX,
8265           NULL, 0,
8266          NULL, HFILL }},
8267
8268         { &hf_drsuapi_DsBindInfo24_site_guid,
8269           { "site_guid", "drsuapi.DsBindInfo24.site_guid", FT_GUID, BASE_NONE,
8270           NULL, 0,
8271          NULL, HFILL }},
8272
8273         { &hf_drsuapi_DsBindInfo24_u1,
8274           { "u1", "drsuapi.DsBindInfo24.u1", FT_UINT32, BASE_DEC,
8275           NULL, 0,
8276          NULL, HFILL }},
8277
8278         { &hf_drsuapi_DsBindInfo28_supported_extensions,
8279           { "supported_extensions", "drsuapi.DsBindInfo28.supported_extensions", FT_UINT32, BASE_HEX,
8280           NULL, 0,
8281          NULL, HFILL }},
8282
8283         { &hf_drsuapi_DsBindInfo28_site_guid,
8284           { "site_guid", "drsuapi.DsBindInfo28.site_guid", FT_GUID, BASE_NONE,
8285           NULL, 0,
8286          NULL, HFILL }},
8287
8288         { &hf_drsuapi_DsBindInfo28_u1,
8289           { "u1", "drsuapi.DsBindInfo28.u1", FT_UINT32, BASE_DEC,
8290           NULL, 0,
8291          NULL, HFILL }},
8292
8293         { &hf_drsuapi_DsBindInfo28_repl_epoch,
8294           { "repl_epoch", "drsuapi.DsBindInfo28.repl_epoch", FT_UINT32, BASE_DEC,
8295           NULL, 0,
8296          NULL, HFILL }},
8297
8298         { &hf_drsuapi_DsBindInfo_24_info24,
8299           { "info24", "drsuapi.DsBindInfo.info24", FT_NONE, BASE_NONE,
8300           NULL, 0,
8301          NULL, HFILL }},
8302
8303         { &hf_drsuapi_DsBindInfo_28_info28,
8304           { "info28", "drsuapi.DsBindInfo.info28", FT_NONE, BASE_NONE,
8305           NULL, 0,
8306          NULL, HFILL }},
8307
8308         { &hf_drsuapi_DsBindInfoCtr_length,
8309           { "length", "drsuapi.DsBindInfoCtr.length", FT_UINT32, BASE_DEC,
8310           NULL, 0,
8311          NULL, HFILL }},
8312
8313         { &hf_drsuapi_DsBindInfoCtr_info,
8314           { "info", "drsuapi.DsBindInfoCtr.info", FT_UINT32, BASE_DEC,
8315           NULL, 0,
8316          NULL, HFILL }},
8317
8318         { &hf_drsuapi_DsBind_bind_guid,
8319           { "bind_guid", "drsuapi.DsBind.bind_guid", FT_GUID, BASE_NONE,
8320           NULL, 0,
8321          NULL, HFILL }},
8322
8323         { &hf_drsuapi_DsBind_bind_info,
8324           { "bind_info", "drsuapi.DsBind.bind_info", FT_NONE, BASE_NONE,
8325           NULL, 0,
8326          NULL, HFILL }},
8327
8328         { &hf_drsuapi_DsBind_bind_handle,
8329           { "bind_handle", "drsuapi.DsBind.bind_handle", FT_BYTES, BASE_NONE,
8330           NULL, 0,
8331          NULL, HFILL }},
8332
8333         { &hf_drsuapi_DsUnbind_bind_handle,
8334           { "bind_handle", "drsuapi.DsUnbind.bind_handle", FT_BYTES, BASE_NONE,
8335           NULL, 0,
8336          NULL, HFILL }},
8337
8338         { &hf_drsuapi_DsReplicaSyncRequest1Info_unknown1,
8339           { "unknown1", "drsuapi.DsReplicaSyncRequest1Info.unknown1", FT_UINT32, BASE_DEC,
8340           NULL, 0,
8341          NULL, HFILL }},
8342
8343         { &hf_drsuapi_DsReplicaSyncRequest1Info_unknown2,
8344           { "unknown2", "drsuapi.DsReplicaSyncRequest1Info.unknown2", FT_UINT32, BASE_DEC,
8345           NULL, 0,
8346          NULL, HFILL }},
8347
8348         { &hf_drsuapi_DsReplicaSyncRequest1Info_guid1,
8349           { "guid1", "drsuapi.DsReplicaSyncRequest1Info.guid1", FT_GUID, BASE_NONE,
8350           NULL, 0,
8351          NULL, HFILL }},
8352
8353         { &hf_drsuapi_DsReplicaSyncRequest1Info_byte_array,
8354           { "byte_array", "drsuapi.DsReplicaSyncRequest1Info.byte_array", FT_UINT8, BASE_DEC,
8355           NULL, 0,
8356          NULL, HFILL }},
8357
8358         { &hf_drsuapi_DsReplicaSyncRequest1Info_str_len,
8359           { "str_len", "drsuapi.DsReplicaSyncRequest1Info.str_len", FT_UINT32, BASE_DEC,
8360           NULL, 0,
8361          NULL, HFILL }},
8362
8363         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION,
8364           { "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8365           TFS(&DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8366          NULL, HFILL }},
8367
8368         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_WRITEABLE,
8369           { "DRSUAPI_DS_REPLICA_SYNC_WRITEABLE", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_WRITEABLE", FT_BOOLEAN, 32,
8370           TFS(&DRSUAPI_DS_REPLICA_SYNC_WRITEABLE_tfs), 0x00000002,
8371          NULL, HFILL }},
8372
8373         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PERIODIC,
8374           { "DRSUAPI_DS_REPLICA_SYNC_PERIODIC", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_PERIODIC", FT_BOOLEAN, 32,
8375           TFS(&DRSUAPI_DS_REPLICA_SYNC_PERIODIC_tfs), 0x00000004,
8376          NULL, HFILL }},
8377
8378         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING,
8379           { "DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING", FT_BOOLEAN, 32,
8380           TFS(&DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING_tfs), 0x00000008,
8381          NULL, HFILL }},
8382
8383         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES,
8384           { "DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES", FT_BOOLEAN, 32,
8385           TFS(&DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES_tfs), 0x00000010,
8386          NULL, HFILL }},
8387
8388         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL,
8389           { "DRSUAPI_DS_REPLICA_SYNC_FULL", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_FULL", FT_BOOLEAN, 32,
8390           TFS(&DRSUAPI_DS_REPLICA_SYNC_FULL_tfs), 0x00000020,
8391          NULL, HFILL }},
8392
8393         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_URGENT,
8394           { "DRSUAPI_DS_REPLICA_SYNC_URGENT", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_URGENT", FT_BOOLEAN, 32,
8395           TFS(&DRSUAPI_DS_REPLICA_SYNC_URGENT_tfs), 0x00000040,
8396          NULL, HFILL }},
8397
8398         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD,
8399           { "DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD", FT_BOOLEAN, 32,
8400           TFS(&DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD_tfs), 0x00000080,
8401          NULL, HFILL }},
8402
8403         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FORCE,
8404           { "DRSUAPI_DS_REPLICA_SYNC_FORCE", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_FORCE", FT_BOOLEAN, 32,
8405           TFS(&DRSUAPI_DS_REPLICA_SYNC_FORCE_tfs), 0x00000100,
8406          NULL, HFILL }},
8407
8408         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE,
8409           { "DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE", FT_BOOLEAN, 32,
8410           TFS(&DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE_tfs), 0x00000200,
8411          NULL, HFILL }},
8412
8413         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED,
8414           { "DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED", FT_BOOLEAN, 32,
8415           TFS(&DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED_tfs), 0x00000400,
8416          NULL, HFILL }},
8417
8418         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_TWO_WAY,
8419           { "DRSUAPI_DS_REPLICA_SYNC_TWO_WAY", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_TWO_WAY", FT_BOOLEAN, 32,
8420           TFS(&DRSUAPI_DS_REPLICA_SYNC_TWO_WAY_tfs), 0x00000800,
8421          NULL, HFILL }},
8422
8423         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY,
8424           { "DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY", FT_BOOLEAN, 32,
8425           TFS(&DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY_tfs), 0x00001000,
8426          NULL, HFILL }},
8427
8428         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL,
8429           { "DRSUAPI_DS_REPLICA_SYNC_INITIAL", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_INITIAL", FT_BOOLEAN, 32,
8430           TFS(&DRSUAPI_DS_REPLICA_SYNC_INITIAL_tfs), 0x00002000,
8431          NULL, HFILL }},
8432
8433         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION,
8434           { "DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION", FT_BOOLEAN, 32,
8435           TFS(&DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION_tfs), 0x00004000,
8436          NULL, HFILL }},
8437
8438         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ABANDONED,
8439           { "DRSUAPI_DS_REPLICA_SYNC_ABANDONED", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ABANDONED", FT_BOOLEAN, 32,
8440           TFS(&DRSUAPI_DS_REPLICA_SYNC_ABANDONED_tfs), 0x00008000,
8441          NULL, HFILL }},
8442
8443         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS,
8444           { "DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS", FT_BOOLEAN, 32,
8445           TFS(&DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS_tfs), 0x00010000,
8446          NULL, HFILL }},
8447
8448         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET,
8449           { "DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET", FT_BOOLEAN, 32,
8450           TFS(&DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET_tfs), 0x00020000,
8451          NULL, HFILL }},
8452
8453         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_REQUEUE,
8454           { "DRSUAPI_DS_REPLICA_SYNC_REQUEUE", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_REQUEUE", FT_BOOLEAN, 32,
8455           TFS(&DRSUAPI_DS_REPLICA_SYNC_REQUEUE_tfs), 0x00040000,
8456          NULL, HFILL }},
8457
8458         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION,
8459           { "DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION", FT_BOOLEAN, 32,
8460           TFS(&DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION_tfs), 0x00080000,
8461          NULL, HFILL }},
8462
8463         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA,
8464           { "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA", FT_BOOLEAN, 32,
8465           TFS(&DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA_tfs), 0x00100000,
8466          NULL, HFILL }},
8467
8468         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_CRITICAL,
8469           { "DRSUAPI_DS_REPLICA_SYNC_CRITICAL", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_CRITICAL", FT_BOOLEAN, 32,
8470           TFS(&DRSUAPI_DS_REPLICA_SYNC_CRITICAL_tfs), 0x00200000,
8471          NULL, HFILL }},
8472
8473         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS,
8474           { "DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS", FT_BOOLEAN, 32,
8475           TFS(&DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS_tfs), 0x00400000,
8476          NULL, HFILL }},
8477
8478         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PREEMPTED,
8479           { "DRSUAPI_DS_REPLICA_SYNC_PREEMPTED", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_PREEMPTED", FT_BOOLEAN, 32,
8480           TFS(&DRSUAPI_DS_REPLICA_SYNC_PREEMPTED_tfs), 0x00800000,
8481          NULL, HFILL }},
8482
8483         { &hf_drsuapi_DsReplicaSyncRequest1_info,
8484           { "info", "drsuapi.DsReplicaSyncRequest1.info", FT_NONE, BASE_NONE,
8485           NULL, 0,
8486          NULL, HFILL }},
8487
8488         { &hf_drsuapi_DsReplicaSyncRequest1_guid1,
8489           { "guid1", "drsuapi.DsReplicaSyncRequest1.guid1", FT_GUID, BASE_NONE,
8490           NULL, 0,
8491          NULL, HFILL }},
8492
8493         { &hf_drsuapi_DsReplicaSyncRequest1_string1,
8494           { "string1", "drsuapi.DsReplicaSyncRequest1.string1", FT_STRING, BASE_NONE,
8495           NULL, 0,
8496          NULL, HFILL }},
8497
8498         { &hf_drsuapi_DsReplicaSyncRequest1_options,
8499           { "options", "drsuapi.DsReplicaSyncRequest1.options", FT_UINT32, BASE_HEX,
8500           NULL, 0,
8501          NULL, HFILL }},
8502
8503         { &hf_drsuapi_DsReplicaSyncRequest_1_req1,
8504           { "req1", "drsuapi.DsReplicaSyncRequest.req1", FT_NONE, BASE_NONE,
8505           NULL, 0,
8506          NULL, HFILL }},
8507
8508         { &hf_drsuapi_DsReplicaSync_bind_handle,
8509           { "bind_handle", "drsuapi.DsReplicaSync.bind_handle", FT_BYTES, BASE_NONE,
8510           NULL, 0,
8511          NULL, HFILL }},
8512
8513         { &hf_drsuapi_DsReplicaSync_level,
8514           { "level", "drsuapi.DsReplicaSync.level", FT_INT32, BASE_DEC,
8515           NULL, 0,
8516          NULL, HFILL }},
8517
8518         { &hf_drsuapi_DsReplicaSync_req,
8519           { "req", "drsuapi.DsReplicaSync.req", FT_UINT32, BASE_DEC,
8520           NULL, 0,
8521          NULL, HFILL }},
8522
8523         { &hf_drsuapi_DsGetNCChangesUsnTriple_usn1,
8524           { "usn1", "drsuapi.DsGetNCChangesUsnTriple.usn1", FT_UINT64, BASE_DEC,
8525           NULL, 0,
8526          NULL, HFILL }},
8527
8528         { &hf_drsuapi_DsGetNCChangesUsnTriple_usn2,
8529           { "usn2", "drsuapi.DsGetNCChangesUsnTriple.usn2", FT_UINT64, BASE_DEC,
8530           NULL, 0,
8531          NULL, HFILL }},
8532
8533         { &hf_drsuapi_DsGetNCChangesUsnTriple_usn3,
8534           { "usn3", "drsuapi.DsGetNCChangesUsnTriple.usn3", FT_UINT64, BASE_DEC,
8535           NULL, 0,
8536          NULL, HFILL }},
8537
8538         { &hf_drsuapi_DsReplicaCoursor_source_dsa_invocation_id,
8539           { "source_dsa_invocation_id", "drsuapi.DsReplicaCoursor.source_dsa_invocation_id", FT_GUID, BASE_NONE,
8540           NULL, 0,
8541          NULL, HFILL }},
8542
8543         { &hf_drsuapi_DsReplicaCoursor_highest_usn,
8544           { "highest_usn", "drsuapi.DsReplicaCoursor.highest_usn", FT_UINT64, BASE_DEC,
8545           NULL, 0,
8546          NULL, HFILL }},
8547
8548         { &hf_drsuapi_DsReplicaCoursor05Ctr_u1,
8549           { "u1", "drsuapi.DsReplicaCoursor05Ctr.u1", FT_UINT32, BASE_DEC,
8550           NULL, 0,
8551          NULL, HFILL }},
8552
8553         { &hf_drsuapi_DsReplicaCoursor05Ctr_u2,
8554           { "u2", "drsuapi.DsReplicaCoursor05Ctr.u2", FT_UINT32, BASE_DEC,
8555           NULL, 0,
8556          NULL, HFILL }},
8557
8558         { &hf_drsuapi_DsReplicaCoursor05Ctr_count,
8559           { "count", "drsuapi.DsReplicaCoursor05Ctr.count", FT_UINT32, BASE_DEC,
8560           NULL, 0,
8561          NULL, HFILL }},
8562
8563         { &hf_drsuapi_DsReplicaCoursor05Ctr_u3,
8564           { "u3", "drsuapi.DsReplicaCoursor05Ctr.u3", FT_UINT32, BASE_DEC,
8565           NULL, 0,
8566          NULL, HFILL }},
8567
8568         { &hf_drsuapi_DsReplicaCoursor05Ctr_array,
8569           { "array", "drsuapi.DsReplicaCoursor05Ctr.array", FT_NONE, BASE_NONE,
8570           NULL, 0,
8571          NULL, HFILL }},
8572
8573         { &hf_drsuapi_DsGetNCChangesRequest5_guid1,
8574           { "guid1", "drsuapi.DsGetNCChangesRequest5.guid1", FT_GUID, BASE_NONE,
8575           NULL, 0,
8576          NULL, HFILL }},
8577
8578         { &hf_drsuapi_DsGetNCChangesRequest5_guid2,
8579           { "guid2", "drsuapi.DsGetNCChangesRequest5.guid2", FT_GUID, BASE_NONE,
8580           NULL, 0,
8581          NULL, HFILL }},
8582
8583         { &hf_drsuapi_DsGetNCChangesRequest5_sync_req_info1,
8584           { "sync_req_info1", "drsuapi.DsGetNCChangesRequest5.sync_req_info1", FT_NONE, BASE_NONE,
8585           NULL, 0,
8586          NULL, HFILL }},
8587
8588         { &hf_drsuapi_DsGetNCChangesRequest5_usn1,
8589           { "usn1", "drsuapi.DsGetNCChangesRequest5.usn1", FT_NONE, BASE_NONE,
8590           NULL, 0,
8591          NULL, HFILL }},
8592
8593         { &hf_drsuapi_DsGetNCChangesRequest5_coursor,
8594           { "coursor", "drsuapi.DsGetNCChangesRequest5.coursor", FT_NONE, BASE_NONE,
8595           NULL, 0,
8596          NULL, HFILL }},
8597
8598         { &hf_drsuapi_DsGetNCChangesRequest5_unknown1,
8599           { "unknown1", "drsuapi.DsGetNCChangesRequest5.unknown1", FT_UINT32, BASE_DEC,
8600           NULL, 0,
8601          NULL, HFILL }},
8602
8603         { &hf_drsuapi_DsGetNCChangesRequest5_unknown2,
8604           { "unknown2", "drsuapi.DsGetNCChangesRequest5.unknown2", FT_UINT32, BASE_DEC,
8605           NULL, 0,
8606          NULL, HFILL }},
8607
8608         { &hf_drsuapi_DsGetNCChangesRequest5_unknown3,
8609           { "unknown3", "drsuapi.DsGetNCChangesRequest5.unknown3", FT_UINT32, BASE_DEC,
8610           NULL, 0,
8611          NULL, HFILL }},
8612
8613         { &hf_drsuapi_DsGetNCChangesRequest5_unknown4,
8614           { "unknown4", "drsuapi.DsGetNCChangesRequest5.unknown4", FT_UINT32, BASE_DEC,
8615           NULL, 0,
8616          NULL, HFILL }},
8617
8618         { &hf_drsuapi_DsGetNCChangesRequest5_h1,
8619           { "h1", "drsuapi.DsGetNCChangesRequest5.h1", FT_UINT64, BASE_DEC,
8620           NULL, 0,
8621          NULL, HFILL }},
8622
8623         { &hf_drsuapi_DsGetNCChangesRequest_Ctr14_length,
8624           { "length", "drsuapi.DsGetNCChangesRequest_Ctr14.length", FT_UINT32, BASE_DEC,
8625           NULL, 0,
8626          NULL, HFILL }},
8627
8628         { &hf_drsuapi_DsGetNCChangesRequest_Ctr14_byte_array,
8629           { "byte_array", "drsuapi.DsGetNCChangesRequest_Ctr14.byte_array", FT_UINT8, BASE_DEC,
8630           NULL, 0,
8631          NULL, HFILL }},
8632
8633         { &hf_drsuapi_DsGetNCChangesRequest_Ctr13_unknown1,
8634           { "unknown1", "drsuapi.DsGetNCChangesRequest_Ctr13.unknown1", FT_UINT32, BASE_DEC,
8635           NULL, 0,
8636          NULL, HFILL }},
8637
8638         { &hf_drsuapi_DsGetNCChangesRequest_Ctr13_data,
8639           { "data", "drsuapi.DsGetNCChangesRequest_Ctr13.data", FT_NONE, BASE_NONE,
8640           NULL, 0,
8641          NULL, HFILL }},
8642
8643         { &hf_drsuapi_DsGetNCChangesRequest_Ctr12_count,
8644           { "count", "drsuapi.DsGetNCChangesRequest_Ctr12.count", FT_UINT32, BASE_DEC,
8645           NULL, 0,
8646          NULL, HFILL }},
8647
8648         { &hf_drsuapi_DsGetNCChangesRequest_Ctr12_array,
8649           { "array", "drsuapi.DsGetNCChangesRequest_Ctr12.array", FT_NONE, BASE_NONE,
8650           NULL, 0,
8651          NULL, HFILL }},
8652
8653         { &hf_drsuapi_DsGetNCChangesRequest8_guid1,
8654           { "guid1", "drsuapi.DsGetNCChangesRequest8.guid1", FT_GUID, BASE_NONE,
8655           NULL, 0,
8656          NULL, HFILL }},
8657
8658         { &hf_drsuapi_DsGetNCChangesRequest8_guid2,
8659           { "guid2", "drsuapi.DsGetNCChangesRequest8.guid2", FT_GUID, BASE_NONE,
8660           NULL, 0,
8661          NULL, HFILL }},
8662
8663         { &hf_drsuapi_DsGetNCChangesRequest8_sync_req_info1,
8664           { "sync_req_info1", "drsuapi.DsGetNCChangesRequest8.sync_req_info1", FT_NONE, BASE_NONE,
8665           NULL, 0,
8666          NULL, HFILL }},
8667
8668         { &hf_drsuapi_DsGetNCChangesRequest8_usn1,
8669           { "usn1", "drsuapi.DsGetNCChangesRequest8.usn1", FT_NONE, BASE_NONE,
8670           NULL, 0,
8671          NULL, HFILL }},
8672
8673         { &hf_drsuapi_DsGetNCChangesRequest8_coursor,
8674           { "coursor", "drsuapi.DsGetNCChangesRequest8.coursor", FT_NONE, BASE_NONE,
8675           NULL, 0,
8676          NULL, HFILL }},
8677
8678         { &hf_drsuapi_DsGetNCChangesRequest8_unknown1,
8679           { "unknown1", "drsuapi.DsGetNCChangesRequest8.unknown1", FT_UINT32, BASE_DEC,
8680           NULL, 0,
8681          NULL, HFILL }},
8682
8683         { &hf_drsuapi_DsGetNCChangesRequest8_unknown2,
8684           { "unknown2", "drsuapi.DsGetNCChangesRequest8.unknown2", FT_UINT32, BASE_DEC,
8685           NULL, 0,
8686          NULL, HFILL }},
8687
8688         { &hf_drsuapi_DsGetNCChangesRequest8_unknown3,
8689           { "unknown3", "drsuapi.DsGetNCChangesRequest8.unknown3", FT_UINT32, BASE_DEC,
8690           NULL, 0,
8691          NULL, HFILL }},
8692
8693         { &hf_drsuapi_DsGetNCChangesRequest8_unknown4,
8694           { "unknown4", "drsuapi.DsGetNCChangesRequest8.unknown4", FT_UINT32, BASE_DEC,
8695           NULL, 0,
8696          NULL, HFILL }},
8697
8698         { &hf_drsuapi_DsGetNCChangesRequest8_h1,
8699           { "h1", "drsuapi.DsGetNCChangesRequest8.h1", FT_UINT64, BASE_DEC,
8700           NULL, 0,
8701          NULL, HFILL }},
8702
8703         { &hf_drsuapi_DsGetNCChangesRequest8_unique_ptr1,
8704           { "unique_ptr1", "drsuapi.DsGetNCChangesRequest8.unique_ptr1", FT_UINT32, BASE_DEC,
8705           NULL, 0,
8706          NULL, HFILL }},
8707
8708         { &hf_drsuapi_DsGetNCChangesRequest8_unique_ptr2,
8709           { "unique_ptr2", "drsuapi.DsGetNCChangesRequest8.unique_ptr2", FT_UINT32, BASE_DEC,
8710           NULL, 0,
8711          NULL, HFILL }},
8712
8713         { &hf_drsuapi_DsGetNCChangesRequest8_ctr12,
8714           { "ctr12", "drsuapi.DsGetNCChangesRequest8.ctr12", FT_NONE, BASE_NONE,
8715           NULL, 0,
8716          NULL, HFILL }},
8717
8718         { &hf_drsuapi_DsGetNCChangesRequest_5_req5,
8719           { "req5", "drsuapi.DsGetNCChangesRequest.req5", FT_NONE, BASE_NONE,
8720           NULL, 0,
8721          NULL, HFILL }},
8722
8723         { &hf_drsuapi_DsGetNCChangesRequest_8_req8,
8724           { "req8", "drsuapi.DsGetNCChangesRequest.req8", FT_NONE, BASE_NONE,
8725           NULL, 0,
8726          NULL, HFILL }},
8727
8728         { &hf_drsuapi_DsReplicaCoursorEx_coursor,
8729           { "coursor", "drsuapi.DsReplicaCoursorEx.coursor", FT_NONE, BASE_NONE,
8730           NULL, 0,
8731          NULL, HFILL }},
8732
8733         { &hf_drsuapi_DsReplicaCoursorEx_time1,
8734           { "time1", "drsuapi.DsReplicaCoursorEx.time1", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
8735           NULL, 0,
8736          NULL, HFILL }},
8737
8738         { &hf_drsuapi_DsReplicaCoursorEx05Ctr_u1,
8739           { "u1", "drsuapi.DsReplicaCoursorEx05Ctr.u1", FT_UINT32, BASE_DEC,
8740           NULL, 0,
8741          NULL, HFILL }},
8742
8743         { &hf_drsuapi_DsReplicaCoursorEx05Ctr_u2,
8744           { "u2", "drsuapi.DsReplicaCoursorEx05Ctr.u2", FT_UINT32, BASE_DEC,
8745           NULL, 0,
8746          NULL, HFILL }},
8747
8748         { &hf_drsuapi_DsReplicaCoursorEx05Ctr_count,
8749           { "count", "drsuapi.DsReplicaCoursorEx05Ctr.count", FT_UINT32, BASE_DEC,
8750           NULL, 0,
8751          NULL, HFILL }},
8752
8753         { &hf_drsuapi_DsReplicaCoursorEx05Ctr_u3,
8754           { "u3", "drsuapi.DsReplicaCoursorEx05Ctr.u3", FT_UINT32, BASE_DEC,
8755           NULL, 0,
8756          NULL, HFILL }},
8757
8758         { &hf_drsuapi_DsReplicaCoursorEx05Ctr_array,
8759           { "array", "drsuapi.DsReplicaCoursorEx05Ctr.array", FT_NONE, BASE_NONE,
8760           NULL, 0,
8761          NULL, HFILL }},
8762
8763         { &hf_drsuapi_DsGetNCChangesCtr6_guid1,
8764           { "guid1", "drsuapi.DsGetNCChangesCtr6.guid1", FT_GUID, BASE_NONE,
8765           NULL, 0,
8766          NULL, HFILL }},
8767
8768         { &hf_drsuapi_DsGetNCChangesCtr6_guid2,
8769           { "guid2", "drsuapi.DsGetNCChangesCtr6.guid2", FT_GUID, BASE_NONE,
8770           NULL, 0,
8771          NULL, HFILL }},
8772
8773         { &hf_drsuapi_DsGetNCChangesCtr6_sync_req_info1,
8774           { "sync_req_info1", "drsuapi.DsGetNCChangesCtr6.sync_req_info1", FT_NONE, BASE_NONE,
8775           NULL, 0,
8776          NULL, HFILL }},
8777
8778         { &hf_drsuapi_DsGetNCChangesCtr6_usn1,
8779           { "usn1", "drsuapi.DsGetNCChangesCtr6.usn1", FT_NONE, BASE_NONE,
8780           NULL, 0,
8781          NULL, HFILL }},
8782
8783         { &hf_drsuapi_DsGetNCChangesCtr6_usn2,
8784           { "usn2", "drsuapi.DsGetNCChangesCtr6.usn2", FT_NONE, BASE_NONE,
8785           NULL, 0,
8786          NULL, HFILL }},
8787
8788         { &hf_drsuapi_DsGetNCChangesCtr6_coursor_ex,
8789           { "coursor_ex", "drsuapi.DsGetNCChangesCtr6.coursor_ex", FT_NONE, BASE_NONE,
8790           NULL, 0,
8791          NULL, HFILL }},
8792
8793         { &hf_drsuapi_DsGetNCChangesCtr6_ctr12,
8794           { "ctr12", "drsuapi.DsGetNCChangesCtr6.ctr12", FT_NONE, BASE_NONE,
8795           NULL, 0,
8796          NULL, HFILL }},
8797
8798         { &hf_drsuapi_DsGetNCChangesCtr6_u1,
8799           { "u1", "drsuapi.DsGetNCChangesCtr6.u1", FT_UINT32, BASE_DEC,
8800           NULL, 0,
8801          NULL, HFILL }},
8802
8803         { &hf_drsuapi_DsGetNCChangesCtr6_ptr1,
8804           { "ptr1", "drsuapi.DsGetNCChangesCtr6.ptr1", FT_UINT32, BASE_DEC,
8805           NULL, 0,
8806          NULL, HFILL }},
8807
8808         { &hf_drsuapi_DsGetNCChangesCtr6_u2,
8809           { "u2", "drsuapi.DsGetNCChangesCtr6.u2", FT_UINT32, BASE_DEC,
8810           NULL, 0,
8811          NULL, HFILL }},
8812
8813         { &hf_drsuapi_DsGetNCChangesCtr6_len1,
8814           { "len1", "drsuapi.DsGetNCChangesCtr6.len1", FT_UINT32, BASE_DEC,
8815           NULL, 0,
8816          NULL, HFILL }},
8817
8818         { &hf_drsuapi_DsGetNCChangesCtr6_array_ptr1,
8819           { "array_ptr1", "drsuapi.DsGetNCChangesCtr6.array_ptr1", FT_UINT32, BASE_DEC,
8820           NULL, 0,
8821          NULL, HFILL }},
8822
8823         { &hf_drsuapi_DsGetNCChangesCtr6_u3,
8824           { "u3", "drsuapi.DsGetNCChangesCtr6.u3", FT_UINT32, BASE_DEC,
8825           NULL, 0,
8826          NULL, HFILL }},
8827
8828         { &hf_drsuapi_DsGetNCChangesCtr_6_ctr6,
8829           { "ctr6", "drsuapi.DsGetNCChangesCtr.ctr6", FT_NONE, BASE_NONE,
8830           NULL, 0,
8831          NULL, HFILL }},
8832
8833         { &hf_drsuapi_DsGetNCChangesCtr_7_ctr7,
8834           { "ctr7", "drsuapi.DsGetNCChangesCtr.ctr7", FT_NONE, BASE_NONE,
8835           NULL, 0,
8836          NULL, HFILL }},
8837
8838         { &hf_drsuapi_DsGetNCChanges_bind_handle,
8839           { "bind_handle", "drsuapi.DsGetNCChanges.bind_handle", FT_BYTES, BASE_NONE,
8840           NULL, 0,
8841          NULL, HFILL }},
8842
8843         { &hf_drsuapi_DsGetNCChanges_level,
8844           { "level", "drsuapi.DsGetNCChanges.level", FT_INT32, BASE_DEC,
8845           NULL, 0,
8846          NULL, HFILL }},
8847
8848         { &hf_drsuapi_DsGetNCChanges_req,
8849           { "req", "drsuapi.DsGetNCChanges.req", FT_UINT32, BASE_DEC,
8850           NULL, 0,
8851          NULL, HFILL }},
8852
8853         { &hf_drsuapi_DsGetNCChanges_ctr,
8854           { "ctr", "drsuapi.DsGetNCChanges.ctr", FT_UINT32, BASE_DEC,
8855           NULL, 0,
8856          NULL, HFILL }},
8857
8858         { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION,
8859           { "DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8860           TFS(&DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8861          NULL, HFILL }},
8862
8863         { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE,
8864           { "DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE", FT_BOOLEAN, 32,
8865           TFS(&DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE_tfs), 0x00000002,
8866          NULL, HFILL }},
8867
8868         { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE,
8869           { "DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE", FT_BOOLEAN, 32,
8870           TFS(&DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE_tfs), 0x00000004,
8871          NULL, HFILL }},
8872
8873         { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE,
8874           { "DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE", FT_BOOLEAN, 32,
8875           TFS(&DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE_tfs), 0x00000008,
8876          NULL, HFILL }},
8877
8878         { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_0x00000010,
8879           { "DRSUAPI_DS_REPLICA_UPDATE_0x00000010", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_0x00000010", FT_BOOLEAN, 32,
8880           TFS(&DRSUAPI_DS_REPLICA_UPDATE_0x00000010_tfs), 0x00000010,
8881          NULL, HFILL }},
8882
8883         { &hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown1,
8884           { "unknown1", "drsuapi.DsReplicaUpdateRefsRequest1.unknown1", FT_UINT32, BASE_DEC,
8885           NULL, 0,
8886          NULL, HFILL }},
8887
8888         { &hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown2,
8889           { "unknown2", "drsuapi.DsReplicaUpdateRefsRequest1.unknown2", FT_UINT32, BASE_DEC,
8890           NULL, 0,
8891          NULL, HFILL }},
8892
8893         { &hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid,
8894           { "dest_dsa_guid", "drsuapi.DsReplicaUpdateRefsRequest1.dest_dsa_guid", FT_GUID, BASE_NONE,
8895           NULL, 0,
8896          NULL, HFILL }},
8897
8898         { &hf_drsuapi_DsReplicaUpdateRefsRequest1_options,
8899           { "options", "drsuapi.DsReplicaUpdateRefsRequest1.options", FT_UINT32, BASE_HEX,
8900           NULL, 0,
8901          NULL, HFILL }},
8902
8903         { &hf_drsuapi_DsReplicaUpdateRefsRequest1_sync_req_info1,
8904           { "sync_req_info1", "drsuapi.DsReplicaUpdateRefsRequest1.sync_req_info1", FT_NONE, BASE_NONE,
8905           NULL, 0,
8906          NULL, HFILL }},
8907
8908         { &hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name,
8909           { "dest_dsa_dns_name", "drsuapi.DsReplicaUpdateRefsRequest1.dest_dsa_dns_name", FT_STRING, BASE_NONE,
8910           NULL, 0,
8911          NULL, HFILL }},
8912
8913         { &hf_drsuapi_DsReplicaUpdateRefsRequest_1_req1,
8914           { "req1", "drsuapi.DsReplicaUpdateRefsRequest.req1", FT_NONE, BASE_NONE,
8915           NULL, 0,
8916          NULL, HFILL }},
8917
8918         { &hf_drsuapi_DsReplicaUpdateRefs_bind_handle,
8919           { "bind_handle", "drsuapi.DsReplicaUpdateRefs.bind_handle", FT_BYTES, BASE_NONE,
8920           NULL, 0,
8921          NULL, HFILL }},
8922
8923         { &hf_drsuapi_DsReplicaUpdateRefs_level,
8924           { "level", "drsuapi.DsReplicaUpdateRefs.level", FT_INT32, BASE_DEC,
8925           NULL, 0,
8926          NULL, HFILL }},
8927
8928         { &hf_drsuapi_DsReplicaUpdateRefs_req,
8929           { "req", "drsuapi.DsReplicaUpdateRefs.req", FT_UINT32, BASE_DEC,
8930           NULL, 0,
8931          NULL, HFILL }},
8932
8933         { &hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION,
8934           { "DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaAddOptions.DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8935           TFS(&DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8936          NULL, HFILL }},
8937
8938         { &hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_WRITEABLE,
8939           { "DRSUAPI_DS_REPLICA_ADD_WRITEABLE", "drsuapi.DsReplicaAddOptions.DRSUAPI_DS_REPLICA_ADD_WRITEABLE", FT_BOOLEAN, 32,
8940           TFS(&DRSUAPI_DS_REPLICA_ADD_WRITEABLE_tfs), 0x00000002,
8941          NULL, HFILL }},
8942
8943         { &hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION,
8944           { "DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaDeleteOptions.DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8945           TFS(&DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8946          NULL, HFILL }},
8947
8948         { &hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_WRITEABLE,
8949           { "DRSUAPI_DS_REPLICA_DELETE_WRITEABLE", "drsuapi.DsReplicaDeleteOptions.DRSUAPI_DS_REPLICA_DELETE_WRITEABLE", FT_BOOLEAN, 32,
8950           TFS(&DRSUAPI_DS_REPLICA_DELETE_WRITEABLE_tfs), 0x00000002,
8951          NULL, HFILL }},
8952
8953         { &hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION,
8954           { "DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaModifyOptions.DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8955           TFS(&DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8956          NULL, HFILL }},
8957
8958         { &hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE,
8959           { "DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE", "drsuapi.DsReplicaModifyOptions.DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE", FT_BOOLEAN, 32,
8960           TFS(&DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE_tfs), 0x00000002,
8961          NULL, HFILL }},
8962
8963         { &hf_drsuapi_DsNameString_str,
8964           { "str", "drsuapi.DsNameString.str", FT_STRING, BASE_NONE,
8965           NULL, 0,
8966          NULL, HFILL }},
8967
8968         { &hf_drsuapi_DsNameRequest1_unknown1,
8969           { "unknown1", "drsuapi.DsNameRequest1.unknown1", FT_UINT32, BASE_DEC,
8970           NULL, 0,
8971          NULL, HFILL }},
8972
8973         { &hf_drsuapi_DsNameRequest1_unknown2,
8974           { "unknown2", "drsuapi.DsNameRequest1.unknown2", FT_UINT32, BASE_DEC,
8975           NULL, 0,
8976          NULL, HFILL }},
8977
8978         { &hf_drsuapi_DsNameRequest1_format_flags,
8979           { "format_flags", "drsuapi.DsNameRequest1.format_flags", FT_INT32, BASE_DEC,
8980           VALS(drsuapi_DsNameFlags_vals), 0,
8981          NULL, HFILL }},
8982
8983         { &hf_drsuapi_DsNameRequest1_format_offered,
8984           { "format_offered", "drsuapi.DsNameRequest1.format_offered", FT_INT32, BASE_DEC,
8985           VALS(drsuapi_DsNameFormat_vals), 0,
8986          NULL, HFILL }},
8987
8988         { &hf_drsuapi_DsNameRequest1_format_desired,
8989           { "format_desired", "drsuapi.DsNameRequest1.format_desired", FT_INT32, BASE_DEC,
8990           VALS(drsuapi_DsNameFormat_vals), 0,
8991          NULL, HFILL }},
8992
8993         { &hf_drsuapi_DsNameRequest1_count,
8994           { "count", "drsuapi.DsNameRequest1.count", FT_UINT32, BASE_DEC,
8995           NULL, 0,
8996          NULL, HFILL }},
8997
8998         { &hf_drsuapi_DsNameRequest1_names,
8999           { "names", "drsuapi.DsNameRequest1.names", FT_NONE, BASE_NONE,
9000           NULL, 0,
9001          NULL, HFILL }},
9002
9003         { &hf_drsuapi_DsNameRequest_1_req1,
9004           { "req1", "drsuapi.DsNameRequest.req1", FT_NONE, BASE_NONE,
9005           NULL, 0,
9006          NULL, HFILL }},
9007
9008         { &hf_drsuapi_DsNameInfo1_status,
9009           { "status", "drsuapi.DsNameInfo1.status", FT_INT32, BASE_DEC,
9010           VALS(drsuapi_DsNameStatus_vals), 0,
9011          NULL, HFILL }},
9012
9013         { &hf_drsuapi_DsNameInfo1_dns_domain_name,
9014           { "dns_domain_name", "drsuapi.DsNameInfo1.dns_domain_name", FT_STRING, BASE_NONE,
9015           NULL, 0,
9016          NULL, HFILL }},
9017
9018         { &hf_drsuapi_DsNameInfo1_result_name,
9019           { "result_name", "drsuapi.DsNameInfo1.result_name", FT_STRING, BASE_NONE,
9020           NULL, 0,
9021          NULL, HFILL }},
9022
9023         { &hf_drsuapi_DsNameCtr1_count,
9024           { "count", "drsuapi.DsNameCtr1.count", FT_UINT32, BASE_DEC,
9025           NULL, 0,
9026          NULL, HFILL }},
9027
9028         { &hf_drsuapi_DsNameCtr1_array,
9029           { "array", "drsuapi.DsNameCtr1.array", FT_NONE, BASE_NONE,
9030           NULL, 0,
9031          NULL, HFILL }},
9032
9033         { &hf_drsuapi_DsNameCtr_1_ctr1,
9034           { "ctr1", "drsuapi.DsNameCtr.ctr1", FT_NONE, BASE_NONE,
9035           NULL, 0,
9036          NULL, HFILL }},
9037
9038         { &hf_drsuapi_DsCrackNames_bind_handle,
9039           { "bind_handle", "drsuapi.DsCrackNames.bind_handle", FT_BYTES, BASE_NONE,
9040           NULL, 0,
9041          NULL, HFILL }},
9042
9043         { &hf_drsuapi_DsCrackNames_level,
9044           { "level", "drsuapi.DsCrackNames.level", FT_INT32, BASE_DEC,
9045           NULL, 0,
9046          NULL, HFILL }},
9047
9048         { &hf_drsuapi_DsCrackNames_req,
9049           { "req", "drsuapi.DsCrackNames.req", FT_UINT32, BASE_DEC,
9050           NULL, 0,
9051          NULL, HFILL }},
9052
9053         { &hf_drsuapi_DsCrackNames_ctr,
9054           { "ctr", "drsuapi.DsCrackNames.ctr", FT_UINT32, BASE_DEC,
9055           NULL, 0,
9056          NULL, HFILL }},
9057
9058         { &hf_drsuapi_DsWriteAccountSpnRequest1_operation,
9059           { "operation", "drsuapi.DsWriteAccountSpnRequest1.operation", FT_INT32, BASE_DEC,
9060           VALS(drsuapi_DsSpnOperation_vals), 0,
9061          NULL, HFILL }},
9062
9063         { &hf_drsuapi_DsWriteAccountSpnRequest1_unknown1,
9064           { "unknown1", "drsuapi.DsWriteAccountSpnRequest1.unknown1", FT_UINT32, BASE_DEC,
9065           NULL, 0,
9066          NULL, HFILL }},
9067
9068         { &hf_drsuapi_DsWriteAccountSpnRequest1_object_dn,
9069           { "object_dn", "drsuapi.DsWriteAccountSpnRequest1.object_dn", FT_STRING, BASE_NONE,
9070           NULL, 0,
9071          NULL, HFILL }},
9072
9073         { &hf_drsuapi_DsWriteAccountSpnRequest1_count,
9074           { "count", "drsuapi.DsWriteAccountSpnRequest1.count", FT_UINT32, BASE_DEC,
9075           NULL, 0,
9076          NULL, HFILL }},
9077
9078         { &hf_drsuapi_DsWriteAccountSpnRequest1_spn_names,
9079           { "spn_names", "drsuapi.DsWriteAccountSpnRequest1.spn_names", FT_NONE, BASE_NONE,
9080           NULL, 0,
9081          NULL, HFILL }},
9082
9083         { &hf_drsuapi_DsWriteAccountSpnRequest_1_req1,
9084           { "req1", "drsuapi.DsWriteAccountSpnRequest.req1", FT_NONE, BASE_NONE,
9085           NULL, 0,
9086          NULL, HFILL }},
9087
9088         { &hf_drsuapi_DsWriteAccountSpnResult1_status,
9089           { "status", "drsuapi.DsWriteAccountSpnResult1.status", FT_UINT32, BASE_DEC,
9090           VALS(NT_errors), 0,
9091          NULL, HFILL }},
9092
9093         { &hf_drsuapi_DsWriteAccountSpnResult_1_res1,
9094           { "res1", "drsuapi.DsWriteAccountSpnResult.res1", FT_NONE, BASE_NONE,
9095           NULL, 0,
9096          NULL, HFILL }},
9097
9098         { &hf_drsuapi_DsWriteAccountSpn_bind_handle,
9099           { "bind_handle", "drsuapi.DsWriteAccountSpn.bind_handle", FT_BYTES, BASE_NONE,
9100           NULL, 0,
9101          NULL, HFILL }},
9102
9103         { &hf_drsuapi_DsWriteAccountSpn_level,
9104           { "level", "drsuapi.DsWriteAccountSpn.level", FT_INT32, BASE_DEC,
9105           NULL, 0,
9106          NULL, HFILL }},
9107
9108         { &hf_drsuapi_DsWriteAccountSpn_req,
9109           { "req", "drsuapi.DsWriteAccountSpn.req", FT_UINT32, BASE_DEC,
9110           NULL, 0,
9111          NULL, HFILL }},
9112
9113         { &hf_drsuapi_DsWriteAccountSpn_res,
9114           { "res", "drsuapi.DsWriteAccountSpn.res", FT_UINT32, BASE_DEC,
9115           NULL, 0,
9116          NULL, HFILL }},
9117
9118         { &hf_drsuapi_DsGetDCInfoRequest1_domain_name,
9119           { "domain_name", "drsuapi.DsGetDCInfoRequest1.domain_name", FT_STRING, BASE_NONE,
9120           NULL, 0,
9121          NULL, HFILL }},
9122
9123         { &hf_drsuapi_DsGetDCInfoRequest1_level,
9124           { "level", "drsuapi.DsGetDCInfoRequest1.level", FT_INT32, BASE_DEC,
9125           NULL, 0,
9126          NULL, HFILL }},
9127
9128         { &hf_drsuapi_DsGetDCInfoRequest_1_req1,
9129           { "req1", "drsuapi.DsGetDCInfoRequest.req1", FT_NONE, BASE_NONE,
9130           NULL, 0,
9131          NULL, HFILL }},
9132
9133         { &hf_drsuapi_DsGetDCInfo1_netbios_name,
9134           { "netbios_name", "drsuapi.DsGetDCInfo1.netbios_name", FT_STRING, BASE_NONE,
9135           NULL, 0,
9136          NULL, HFILL }},
9137
9138         { &hf_drsuapi_DsGetDCInfo1_dns_name,
9139           { "dns_name", "drsuapi.DsGetDCInfo1.dns_name", FT_STRING, BASE_NONE,
9140           NULL, 0,
9141          NULL, HFILL }},
9142
9143         { &hf_drsuapi_DsGetDCInfo1_site_name,
9144           { "site_name", "drsuapi.DsGetDCInfo1.site_name", FT_STRING, BASE_NONE,
9145           NULL, 0,
9146          NULL, HFILL }},
9147
9148         { &hf_drsuapi_DsGetDCInfo1_computer_dn,
9149           { "computer_dn", "drsuapi.DsGetDCInfo1.computer_dn", FT_STRING, BASE_NONE,
9150           NULL, 0,
9151          NULL, HFILL }},
9152
9153         { &hf_drsuapi_DsGetDCInfo1_server_dn,
9154           { "server_dn", "drsuapi.DsGetDCInfo1.server_dn", FT_STRING, BASE_NONE,
9155           NULL, 0,
9156          NULL, HFILL }},
9157
9158         { &hf_drsuapi_DsGetDCInfo1_is_pdc,
9159           { "is_pdc", "drsuapi.DsGetDCInfo1.is_pdc", FT_UINT32, BASE_DEC,
9160           NULL, 0,
9161          NULL, HFILL }},
9162
9163         { &hf_drsuapi_DsGetDCInfo1_is_enabled,
9164           { "is_enabled", "drsuapi.DsGetDCInfo1.is_enabled", FT_UINT32, BASE_DEC,
9165           NULL, 0,
9166          NULL, HFILL }},
9167
9168         { &hf_drsuapi_DsGetDCInfoCtr1_count,
9169           { "count", "drsuapi.DsGetDCInfoCtr1.count", FT_UINT32, BASE_DEC,
9170           NULL, 0,
9171          NULL, HFILL }},
9172
9173         { &hf_drsuapi_DsGetDCInfoCtr1_array,
9174           { "array", "drsuapi.DsGetDCInfoCtr1.array", FT_NONE, BASE_NONE,
9175           NULL, 0,
9176          NULL, HFILL }},
9177
9178         { &hf_drsuapi_DsGetDCInfo2_netbios_name,
9179           { "netbios_name", "drsuapi.DsGetDCInfo2.netbios_name", FT_STRING, BASE_NONE,
9180           NULL, 0,
9181          NULL, HFILL }},
9182
9183         { &hf_drsuapi_DsGetDCInfo2_dns_name,
9184           { "dns_name", "drsuapi.DsGetDCInfo2.dns_name", FT_STRING, BASE_NONE,
9185           NULL, 0,
9186          NULL, HFILL }},
9187
9188         { &hf_drsuapi_DsGetDCInfo2_site_name,
9189           { "site_name", "drsuapi.DsGetDCInfo2.site_name", FT_STRING, BASE_NONE,
9190           NULL, 0,
9191          NULL, HFILL }},
9192
9193         { &hf_drsuapi_DsGetDCInfo2_site_dn,
9194           { "site_dn", "drsuapi.DsGetDCInfo2.site_dn", FT_STRING, BASE_NONE,
9195           NULL, 0,
9196          NULL, HFILL }},
9197
9198         { &hf_drsuapi_DsGetDCInfo2_computer_dn,
9199           { "computer_dn", "drsuapi.DsGetDCInfo2.computer_dn", FT_STRING, BASE_NONE,
9200           NULL, 0,
9201          NULL, HFILL }},
9202
9203         { &hf_drsuapi_DsGetDCInfo2_server_dn,
9204           { "server_dn", "drsuapi.DsGetDCInfo2.server_dn", FT_STRING, BASE_NONE,
9205           NULL, 0,
9206          NULL, HFILL }},
9207
9208         { &hf_drsuapi_DsGetDCInfo2_ntds_dn,
9209           { "ntds_dn", "drsuapi.DsGetDCInfo2.ntds_dn", FT_STRING, BASE_NONE,
9210           NULL, 0,
9211          NULL, HFILL }},
9212
9213         { &hf_drsuapi_DsGetDCInfo2_is_pdc,
9214           { "is_pdc", "drsuapi.DsGetDCInfo2.is_pdc", FT_UINT32, BASE_DEC,
9215           NULL, 0,
9216          NULL, HFILL }},
9217
9218         { &hf_drsuapi_DsGetDCInfo2_is_enabled,
9219           { "is_enabled", "drsuapi.DsGetDCInfo2.is_enabled", FT_UINT32, BASE_DEC,
9220           NULL, 0,
9221          NULL, HFILL }},
9222
9223         { &hf_drsuapi_DsGetDCInfo2_is_gc,
9224           { "is_gc", "drsuapi.DsGetDCInfo2.is_gc", FT_UINT32, BASE_DEC,
9225           NULL, 0,
9226          NULL, HFILL }},
9227
9228         { &hf_drsuapi_DsGetDCInfo2_site_guid,
9229           { "site_guid", "drsuapi.DsGetDCInfo2.site_guid", FT_GUID, BASE_NONE,
9230           NULL, 0,
9231          NULL, HFILL }},
9232
9233         { &hf_drsuapi_DsGetDCInfo2_computer_guid,
9234           { "computer_guid", "drsuapi.DsGetDCInfo2.computer_guid", FT_GUID, BASE_NONE,
9235           NULL, 0,
9236          NULL, HFILL }},
9237
9238         { &hf_drsuapi_DsGetDCInfo2_server_guid,
9239           { "server_guid", "drsuapi.DsGetDCInfo2.server_guid", FT_GUID, BASE_NONE,
9240           NULL, 0,
9241          NULL, HFILL }},
9242
9243         { &hf_drsuapi_DsGetDCInfo2_ntds_guid,
9244           { "ntds_guid", "drsuapi.DsGetDCInfo2.ntds_guid", FT_GUID, BASE_NONE,
9245           NULL, 0,
9246          NULL, HFILL }},
9247
9248         { &hf_drsuapi_DsGetDCInfoCtr2_count,
9249           { "count", "drsuapi.DsGetDCInfoCtr2.count", FT_UINT32, BASE_DEC,
9250           NULL, 0,
9251          NULL, HFILL }},
9252
9253         { &hf_drsuapi_DsGetDCInfoCtr2_array,
9254           { "array", "drsuapi.DsGetDCInfoCtr2.array", FT_NONE, BASE_NONE,
9255           NULL, 0,
9256          NULL, HFILL }},
9257
9258         { &hf_drsuapi_DsGetDCInfo01_unknown1,
9259           { "unknown1", "drsuapi.DsGetDCInfo01.unknown1", FT_UINT32, BASE_DEC,
9260           NULL, 0,
9261          NULL, HFILL }},
9262
9263         { &hf_drsuapi_DsGetDCInfo01_unknown2,
9264           { "unknown2", "drsuapi.DsGetDCInfo01.unknown2", FT_UINT32, BASE_DEC,
9265           NULL, 0,
9266          NULL, HFILL }},
9267
9268         { &hf_drsuapi_DsGetDCInfo01_unknown3,
9269           { "unknown3", "drsuapi.DsGetDCInfo01.unknown3", FT_UINT32, BASE_DEC,
9270           NULL, 0,
9271          NULL, HFILL }},
9272
9273         { &hf_drsuapi_DsGetDCInfo01_unknown4,
9274           { "unknown4", "drsuapi.DsGetDCInfo01.unknown4", FT_UINT32, BASE_DEC,
9275           NULL, 0,
9276          NULL, HFILL }},
9277
9278         { &hf_drsuapi_DsGetDCInfo01_unknown5,
9279           { "unknown5", "drsuapi.DsGetDCInfo01.unknown5", FT_UINT32, BASE_DEC,
9280           NULL, 0,
9281          NULL, HFILL }},
9282
9283         { &hf_drsuapi_DsGetDCInfo01_unknown6,
9284           { "unknown6", "drsuapi.DsGetDCInfo01.unknown6", FT_UINT32, BASE_DEC,
9285           NULL, 0,
9286          NULL, HFILL }},
9287
9288         { &hf_drsuapi_DsGetDCInfo01_server_nt4_account,
9289           { "server_nt4_account", "drsuapi.DsGetDCInfo01.server_nt4_account", FT_STRING, BASE_NONE,
9290           NULL, 0,
9291          NULL, HFILL }},
9292
9293         { &hf_drsuapi_DsGetDCInfoCtr01_count,
9294           { "count", "drsuapi.DsGetDCInfoCtr01.count", FT_UINT32, BASE_DEC,
9295           NULL, 0,
9296          NULL, HFILL }},
9297
9298         { &hf_drsuapi_DsGetDCInfoCtr01_array,
9299           { "array", "drsuapi.DsGetDCInfoCtr01.array", FT_NONE, BASE_NONE,
9300           NULL, 0,
9301          NULL, HFILL }},
9302
9303         { &hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1,
9304           { "ctr1", "drsuapi.DsGetDCInfoCtr.ctr1", FT_NONE, BASE_NONE,
9305           NULL, 0,
9306          NULL, HFILL }},
9307
9308         { &hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2,
9309           { "ctr2", "drsuapi.DsGetDCInfoCtr.ctr2", FT_NONE, BASE_NONE,
9310           NULL, 0,
9311          NULL, HFILL }},
9312
9313         { &hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01,
9314           { "ctr01", "drsuapi.DsGetDCInfoCtr.ctr01", FT_NONE, BASE_NONE,
9315           NULL, 0,
9316          NULL, HFILL }},
9317
9318         { &hf_drsuapi_DsGetDomainControllerInfo_bind_handle,
9319           { "bind_handle", "drsuapi.DsGetDomainControllerInfo.bind_handle", FT_BYTES, BASE_NONE,
9320           NULL, 0,
9321          NULL, HFILL }},
9322
9323         { &hf_drsuapi_DsGetDomainControllerInfo_level,
9324           { "level", "drsuapi.DsGetDomainControllerInfo.level", FT_INT32, BASE_DEC,
9325           NULL, 0,
9326          NULL, HFILL }},
9327
9328         { &hf_drsuapi_DsGetDomainControllerInfo_req,
9329           { "req", "drsuapi.DsGetDomainControllerInfo.req", FT_UINT32, BASE_DEC,
9330           NULL, 0,
9331          NULL, HFILL }},
9332
9333         { &hf_drsuapi_DsGetDomainControllerInfo_ctr,
9334           { "ctr", "drsuapi.DsGetDomainControllerInfo.ctr", FT_UINT32, BASE_DEC,
9335           NULL, 0,
9336          NULL, HFILL }},
9337
9338         { &hf_drsuapi_DsReplicaGetInfoRequest1_info_type,
9339           { "info_type", "drsuapi.DsReplicaGetInfoRequest1.info_type", FT_INT32, BASE_DEC,
9340           VALS(drsuapi_DsReplicaInfoType_vals), 0,
9341          NULL, HFILL }},
9342
9343         { &hf_drsuapi_DsReplicaGetInfoRequest1_object_dn,
9344           { "object_dn", "drsuapi.DsReplicaGetInfoRequest1.object_dn", FT_STRING, BASE_NONE,
9345           NULL, 0,
9346          NULL, HFILL }},
9347
9348         { &hf_drsuapi_DsReplicaGetInfoRequest1_guid1,
9349           { "guid1", "drsuapi.DsReplicaGetInfoRequest1.guid1", FT_GUID, BASE_NONE,
9350           NULL, 0,
9351          NULL, HFILL }},
9352
9353         { &hf_drsuapi_DsReplicaGetInfoRequest2_info_type,
9354           { "info_type", "drsuapi.DsReplicaGetInfoRequest2.info_type", FT_INT32, BASE_DEC,
9355           VALS(drsuapi_DsReplicaInfoType_vals), 0,
9356          NULL, HFILL }},
9357
9358         { &hf_drsuapi_DsReplicaGetInfoRequest2_object_dn,
9359           { "object_dn", "drsuapi.DsReplicaGetInfoRequest2.object_dn", FT_STRING, BASE_NONE,
9360           NULL, 0,
9361          NULL, HFILL }},
9362
9363         { &hf_drsuapi_DsReplicaGetInfoRequest2_guid1,
9364           { "guid1", "drsuapi.DsReplicaGetInfoRequest2.guid1", FT_GUID, BASE_NONE,
9365           NULL, 0,
9366          NULL, HFILL }},
9367
9368         { &hf_drsuapi_DsReplicaGetInfoRequest2_unknown1,
9369           { "unknown1", "drsuapi.DsReplicaGetInfoRequest2.unknown1", FT_UINT32, BASE_DEC,
9370           NULL, 0,
9371          NULL, HFILL }},
9372
9373         { &hf_drsuapi_DsReplicaGetInfoRequest2_string1,
9374           { "string1", "drsuapi.DsReplicaGetInfoRequest2.string1", FT_STRING, BASE_NONE,
9375           NULL, 0,
9376          NULL, HFILL }},
9377
9378         { &hf_drsuapi_DsReplicaGetInfoRequest2_string2,
9379           { "string2", "drsuapi.DsReplicaGetInfoRequest2.string2", FT_STRING, BASE_NONE,
9380           NULL, 0,
9381          NULL, HFILL }},
9382
9383         { &hf_drsuapi_DsReplicaGetInfoRequest2_unknown2,
9384           { "unknown2", "drsuapi.DsReplicaGetInfoRequest2.unknown2", FT_UINT32, BASE_DEC,
9385           NULL, 0,
9386          NULL, HFILL }},
9387
9388         { &hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1,
9389           { "req1", "drsuapi.DsReplicaGetInfoRequest.req1", FT_NONE, BASE_NONE,
9390           NULL, 0,
9391          NULL, HFILL }},
9392
9393         { &hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2,
9394           { "req2", "drsuapi.DsReplicaGetInfoRequest.req2", FT_NONE, BASE_NONE,
9395           NULL, 0,
9396          NULL, HFILL }},
9397
9398         { &hf_drsuapi_DsReplicaNeighbour_naming_context_dn,
9399           { "naming_context_dn", "drsuapi.DsReplicaNeighbour.naming_context_dn", FT_STRING, BASE_NONE,
9400           NULL, 0,
9401          NULL, HFILL }},
9402
9403         { &hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn,
9404           { "source_dsa_obj_dn", "drsuapi.DsReplicaNeighbour.source_dsa_obj_dn", FT_STRING, BASE_NONE,
9405           NULL, 0,
9406          NULL, HFILL }},
9407
9408         { &hf_drsuapi_DsReplicaNeighbour_source_dsa_address,
9409           { "source_dsa_address", "drsuapi.DsReplicaNeighbour.source_dsa_address", FT_STRING, BASE_NONE,
9410           NULL, 0,
9411          NULL, HFILL }},
9412
9413         { &hf_drsuapi_DsReplicaNeighbour_transport_obj_dn,
9414           { "transport_obj_dn", "drsuapi.DsReplicaNeighbour.transport_obj_dn", FT_STRING, BASE_NONE,
9415           NULL, 0,
9416          NULL, HFILL }},
9417
9418         { &hf_drsuapi_DsReplicaNeighbour_replica_flags,
9419           { "replica_flags", "drsuapi.DsReplicaNeighbour.replica_flags", FT_UINT32, BASE_DEC,
9420           NULL, 0,
9421          NULL, HFILL }},
9422
9423         { &hf_drsuapi_DsReplicaNeighbour_reserved,
9424           { "reserved", "drsuapi.DsReplicaNeighbour.reserved", FT_UINT32, BASE_DEC,
9425           NULL, 0,
9426          NULL, HFILL }},
9427
9428         { &hf_drsuapi_DsReplicaNeighbour_naming_context_obj_guid,
9429           { "naming_context_obj_guid", "drsuapi.DsReplicaNeighbour.naming_context_obj_guid", FT_GUID, BASE_NONE,
9430           NULL, 0,
9431          NULL, HFILL }},
9432
9433         { &hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid,
9434           { "source_dsa_obj_guid", "drsuapi.DsReplicaNeighbour.source_dsa_obj_guid", FT_GUID, BASE_NONE,
9435           NULL, 0,
9436          NULL, HFILL }},
9437
9438         { &hf_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id,
9439           { "source_dsa_invocation_id", "drsuapi.DsReplicaNeighbour.source_dsa_invocation_id", FT_GUID, BASE_NONE,
9440           NULL, 0,
9441          NULL, HFILL }},
9442
9443         { &hf_drsuapi_DsReplicaNeighbour_transport_obj_guid,
9444           { "transport_obj_guid", "drsuapi.DsReplicaNeighbour.transport_obj_guid", FT_GUID, BASE_NONE,
9445           NULL, 0,
9446          NULL, HFILL }},
9447
9448         { &hf_drsuapi_DsReplicaNeighbour_tmp_highest_usn,
9449           { "tmp_highest_usn", "drsuapi.DsReplicaNeighbour.tmp_highest_usn", FT_UINT64, BASE_DEC,
9450           NULL, 0,
9451          NULL, HFILL }},
9452
9453         { &hf_drsuapi_DsReplicaNeighbour_highest_usn,
9454           { "highest_usn", "drsuapi.DsReplicaNeighbour.highest_usn", FT_UINT64, BASE_DEC,
9455           NULL, 0,
9456          NULL, HFILL }},
9457
9458         { &hf_drsuapi_DsReplicaNeighbour_last_success,
9459           { "last_success", "drsuapi.DsReplicaNeighbour.last_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9460           NULL, 0,
9461          NULL, HFILL }},
9462
9463         { &hf_drsuapi_DsReplicaNeighbour_last_attempt,
9464           { "last_attempt", "drsuapi.DsReplicaNeighbour.last_attempt", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9465           NULL, 0,
9466          NULL, HFILL }},
9467
9468         { &hf_drsuapi_DsReplicaNeighbour_result_last_attempt,
9469           { "result_last_attempt", "drsuapi.DsReplicaNeighbour.result_last_attempt", FT_UINT32, BASE_DEC,
9470           VALS(NT_errors), 0,
9471          NULL, HFILL }},
9472
9473         { &hf_drsuapi_DsReplicaNeighbour_consecutive_sync_failures,
9474           { "consecutive_sync_failures", "drsuapi.DsReplicaNeighbour.consecutive_sync_failures", FT_UINT32, BASE_DEC,
9475           NULL, 0,
9476          NULL, HFILL }},
9477
9478         { &hf_drsuapi_DsReplicaNeighbourCtr_count,
9479           { "count", "drsuapi.DsReplicaNeighbourCtr.count", FT_UINT32, BASE_DEC,
9480           NULL, 0,
9481          NULL, HFILL }},
9482
9483         { &hf_drsuapi_DsReplicaNeighbourCtr_reserved,
9484           { "reserved", "drsuapi.DsReplicaNeighbourCtr.reserved", FT_UINT32, BASE_DEC,
9485           NULL, 0,
9486          NULL, HFILL }},
9487
9488         { &hf_drsuapi_DsReplicaNeighbourCtr_array,
9489           { "array", "drsuapi.DsReplicaNeighbourCtr.array", FT_NONE, BASE_NONE,
9490           NULL, 0,
9491          NULL, HFILL }},
9492
9493         { &hf_drsuapi_DsReplicaCoursorCtr_count,
9494           { "count", "drsuapi.DsReplicaCoursorCtr.count", FT_UINT32, BASE_DEC,
9495           NULL, 0,
9496          NULL, HFILL }},
9497
9498         { &hf_drsuapi_DsReplicaCoursorCtr_reserved,
9499           { "reserved", "drsuapi.DsReplicaCoursorCtr.reserved", FT_UINT32, BASE_DEC,
9500           NULL, 0,
9501          NULL, HFILL }},
9502
9503         { &hf_drsuapi_DsReplicaCoursorCtr_array,
9504           { "array", "drsuapi.DsReplicaCoursorCtr.array", FT_NONE, BASE_NONE,
9505           NULL, 0,
9506          NULL, HFILL }},
9507
9508         { &hf_drsuapi_DsReplicaObjMetaData_attribute_name,
9509           { "attribute_name", "drsuapi.DsReplicaObjMetaData.attribute_name", FT_STRING, BASE_NONE,
9510           NULL, 0,
9511          NULL, HFILL }},
9512
9513         { &hf_drsuapi_DsReplicaObjMetaData_version,
9514           { "version", "drsuapi.DsReplicaObjMetaData.version", FT_UINT32, BASE_DEC,
9515           NULL, 0,
9516          NULL, HFILL }},
9517
9518         { &hf_drsuapi_DsReplicaObjMetaData_originating_last_changed,
9519           { "originating_last_changed", "drsuapi.DsReplicaObjMetaData.originating_last_changed", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9520           NULL, 0,
9521          NULL, HFILL }},
9522
9523         { &hf_drsuapi_DsReplicaObjMetaData_originating_dsa_invocation_id,
9524           { "originating_dsa_invocation_id", "drsuapi.DsReplicaObjMetaData.originating_dsa_invocation_id", FT_GUID, BASE_NONE,
9525           NULL, 0,
9526          NULL, HFILL }},
9527
9528         { &hf_drsuapi_DsReplicaObjMetaData_originating_usn,
9529           { "originating_usn", "drsuapi.DsReplicaObjMetaData.originating_usn", FT_UINT64, BASE_DEC,
9530           NULL, 0,
9531          NULL, HFILL }},
9532
9533         { &hf_drsuapi_DsReplicaObjMetaData_local_usn,
9534           { "local_usn", "drsuapi.DsReplicaObjMetaData.local_usn", FT_UINT64, BASE_DEC,
9535           NULL, 0,
9536          NULL, HFILL }},
9537
9538         { &hf_drsuapi_DsReplicaObjMetaDataCtr_count,
9539           { "count", "drsuapi.DsReplicaObjMetaDataCtr.count", FT_UINT32, BASE_DEC,
9540           NULL, 0,
9541          NULL, HFILL }},
9542
9543         { &hf_drsuapi_DsReplicaObjMetaDataCtr_reserved,
9544           { "reserved", "drsuapi.DsReplicaObjMetaDataCtr.reserved", FT_UINT32, BASE_DEC,
9545           NULL, 0,
9546          NULL, HFILL }},
9547
9548         { &hf_drsuapi_DsReplicaObjMetaDataCtr_array,
9549           { "array", "drsuapi.DsReplicaObjMetaDataCtr.array", FT_NONE, BASE_NONE,
9550           NULL, 0,
9551          NULL, HFILL }},
9552
9553         { &hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn,
9554           { "dsa_obj_dn", "drsuapi.DsReplicaKccDsaFailure.dsa_obj_dn", FT_STRING, BASE_NONE,
9555           NULL, 0,
9556          NULL, HFILL }},
9557
9558         { &hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid,
9559           { "dsa_obj_guid", "drsuapi.DsReplicaKccDsaFailure.dsa_obj_guid", FT_GUID, BASE_NONE,
9560           NULL, 0,
9561          NULL, HFILL }},
9562
9563         { &hf_drsuapi_DsReplicaKccDsaFailure_first_failure,
9564           { "first_failure", "drsuapi.DsReplicaKccDsaFailure.first_failure", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9565           NULL, 0,
9566          NULL, HFILL }},
9567
9568         { &hf_drsuapi_DsReplicaKccDsaFailure_num_failures,
9569           { "num_failures", "drsuapi.DsReplicaKccDsaFailure.num_failures", FT_UINT32, BASE_DEC,
9570           NULL, 0,
9571          NULL, HFILL }},
9572
9573         { &hf_drsuapi_DsReplicaKccDsaFailure_last_result,
9574           { "last_result", "drsuapi.DsReplicaKccDsaFailure.last_result", FT_UINT32, BASE_DEC,
9575           VALS(NT_errors), 0,
9576          NULL, HFILL }},
9577
9578         { &hf_drsuapi_DsReplicaKccDsaFailuresCtr_count,
9579           { "count", "drsuapi.DsReplicaKccDsaFailuresCtr.count", FT_UINT32, BASE_DEC,
9580           NULL, 0,
9581          NULL, HFILL }},
9582
9583         { &hf_drsuapi_DsReplicaKccDsaFailuresCtr_reserved,
9584           { "reserved", "drsuapi.DsReplicaKccDsaFailuresCtr.reserved", FT_UINT32, BASE_DEC,
9585           NULL, 0,
9586          NULL, HFILL }},
9587
9588         { &hf_drsuapi_DsReplicaKccDsaFailuresCtr_array,
9589           { "array", "drsuapi.DsReplicaKccDsaFailuresCtr.array", FT_NONE, BASE_NONE,
9590           NULL, 0,
9591          NULL, HFILL }},
9592
9593         { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync,
9594           { "sync", "drsuapi.DsRplicaOpOptions.sync", FT_UINT32, BASE_HEX,
9595           NULL, 0,
9596          NULL, HFILL }},
9597
9598         { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add,
9599           { "add", "drsuapi.DsRplicaOpOptions.add", FT_UINT32, BASE_HEX,
9600           NULL, 0,
9601          NULL, HFILL }},
9602
9603         { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete,
9604           { "delete", "drsuapi.DsRplicaOpOptions.delete", FT_UINT32, BASE_HEX,
9605           NULL, 0,
9606          NULL, HFILL }},
9607
9608         { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify,
9609           { "modify", "drsuapi.DsRplicaOpOptions.modify", FT_UINT32, BASE_HEX,
9610           NULL, 0,
9611          NULL, HFILL }},
9612
9613         { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs,
9614           { "update_refs", "drsuapi.DsRplicaOpOptions.update_refs", FT_UINT32, BASE_HEX,
9615           NULL, 0,
9616          NULL, HFILL }},
9617
9618         { &hf_drsuapi_DsRplicaOpOptions_default_unknown,
9619           { "unknown", "drsuapi.DsRplicaOpOptions.unknown", FT_UINT32, BASE_DEC,
9620           NULL, 0,
9621          NULL, HFILL }},
9622
9623         { &hf_drsuapi_DsReplicaOp_operation_start,
9624           { "operation_start", "drsuapi.DsReplicaOp.operation_start", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9625           NULL, 0,
9626          NULL, HFILL }},
9627
9628         { &hf_drsuapi_DsReplicaOp_serial_num,
9629           { "serial_num", "drsuapi.DsReplicaOp.serial_num", FT_UINT32, BASE_DEC,
9630           NULL, 0,
9631          NULL, HFILL }},
9632
9633         { &hf_drsuapi_DsReplicaOp_priority,
9634           { "priority", "drsuapi.DsReplicaOp.priority", FT_UINT32, BASE_DEC,
9635           NULL, 0,
9636          NULL, HFILL }},
9637
9638         { &hf_drsuapi_DsReplicaOp_operation_type,
9639           { "operation_type", "drsuapi.DsReplicaOp.operation_type", FT_INT16, BASE_DEC,
9640           VALS(drsuapi_DsReplicaOpType_vals), 0,
9641          NULL, HFILL }},
9642
9643         { &hf_drsuapi_DsReplicaOp_options,
9644           { "options", "drsuapi.DsReplicaOp.options", FT_UINT16, BASE_DEC,
9645           NULL, 0,
9646          NULL, HFILL }},
9647
9648         { &hf_drsuapi_DsReplicaOp_nc_dn,
9649           { "nc_dn", "drsuapi.DsReplicaOp.nc_dn", FT_STRING, BASE_NONE,
9650           NULL, 0,
9651          NULL, HFILL }},
9652
9653         { &hf_drsuapi_DsReplicaOp_remote_dsa_obj_dn,
9654           { "remote_dsa_obj_dn", "drsuapi.DsReplicaOp.remote_dsa_obj_dn", FT_STRING, BASE_NONE,
9655           NULL, 0,
9656          NULL, HFILL }},
9657
9658         { &hf_drsuapi_DsReplicaOp_remote_dsa_address,
9659           { "remote_dsa_address", "drsuapi.DsReplicaOp.remote_dsa_address", FT_STRING, BASE_NONE,
9660           NULL, 0,
9661          NULL, HFILL }},
9662
9663         { &hf_drsuapi_DsReplicaOp_nc_obj_guid,
9664           { "nc_obj_guid", "drsuapi.DsReplicaOp.nc_obj_guid", FT_GUID, BASE_NONE,
9665           NULL, 0,
9666          NULL, HFILL }},
9667
9668         { &hf_drsuapi_DsReplicaOp_remote_dsa_obj_guid,
9669           { "remote_dsa_obj_guid", "drsuapi.DsReplicaOp.remote_dsa_obj_guid", FT_GUID, BASE_NONE,
9670           NULL, 0,
9671          NULL, HFILL }},
9672
9673         { &hf_drsuapi_DsReplicaOpCtr_time,
9674           { "time", "drsuapi.DsReplicaOpCtr.time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9675           NULL, 0,
9676          NULL, HFILL }},
9677
9678         { &hf_drsuapi_DsReplicaOpCtr_count,
9679           { "count", "drsuapi.DsReplicaOpCtr.count", FT_UINT32, BASE_DEC,
9680           NULL, 0,
9681          NULL, HFILL }},
9682
9683         { &hf_drsuapi_DsReplicaOpCtr_array,
9684           { "array", "drsuapi.DsReplicaOpCtr.array", FT_NONE, BASE_NONE,
9685           NULL, 0,
9686          NULL, HFILL }},
9687
9688         { &hf_drsuapi_DsReplicaAttrValMetaData_attribute_name,
9689           { "attribute_name", "drsuapi.DsReplicaAttrValMetaData.attribute_name", FT_STRING, BASE_NONE,
9690           NULL, 0,
9691          NULL, HFILL }},
9692
9693         { &hf_drsuapi_DsReplicaAttrValMetaData_object_dn,
9694           { "object_dn", "drsuapi.DsReplicaAttrValMetaData.object_dn", FT_STRING, BASE_NONE,
9695           NULL, 0,
9696          NULL, HFILL }},
9697
9698         { &hf_drsuapi_DsReplicaAttrValMetaData_value_length,
9699           { "value_length", "drsuapi.DsReplicaAttrValMetaData.value_length", FT_UINT32, BASE_DEC,
9700           NULL, 0,
9701          NULL, HFILL }},
9702
9703         { &hf_drsuapi_DsReplicaAttrValMetaData_value,
9704           { "value", "drsuapi.DsReplicaAttrValMetaData.value", FT_UINT8, BASE_DEC,
9705           NULL, 0,
9706          NULL, HFILL }},
9707
9708         { &hf_drsuapi_DsReplicaAttrValMetaData_deleted,
9709           { "deleted", "drsuapi.DsReplicaAttrValMetaData.deleted", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9710           NULL, 0,
9711          NULL, HFILL }},
9712
9713         { &hf_drsuapi_DsReplicaAttrValMetaData_created,
9714           { "created", "drsuapi.DsReplicaAttrValMetaData.created", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9715           NULL, 0,
9716          NULL, HFILL }},
9717
9718         { &hf_drsuapi_DsReplicaAttrValMetaData_version,
9719           { "version", "drsuapi.DsReplicaAttrValMetaData.version", FT_UINT32, BASE_DEC,
9720           NULL, 0,
9721          NULL, HFILL }},
9722
9723         { &hf_drsuapi_DsReplicaAttrValMetaData_originating_last_changed,
9724           { "originating_last_changed", "drsuapi.DsReplicaAttrValMetaData.originating_last_changed", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9725           NULL, 0,
9726          NULL, HFILL }},
9727
9728         { &hf_drsuapi_DsReplicaAttrValMetaData_originating_dsa_invocation_id,
9729           { "originating_dsa_invocation_id", "drsuapi.DsReplicaAttrValMetaData.originating_dsa_invocation_id", FT_GUID, BASE_NONE,
9730           NULL, 0,
9731          NULL, HFILL }},
9732
9733         { &hf_drsuapi_DsReplicaAttrValMetaData_originating_usn,
9734           { "originating_usn", "drsuapi.DsReplicaAttrValMetaData.originating_usn", FT_UINT64, BASE_DEC,
9735           NULL, 0,
9736          NULL, HFILL }},
9737
9738         { &hf_drsuapi_DsReplicaAttrValMetaData_local_usn,
9739           { "local_usn", "drsuapi.DsReplicaAttrValMetaData.local_usn", FT_UINT64, BASE_DEC,
9740           NULL, 0,
9741          NULL, HFILL }},
9742
9743         { &hf_drsuapi_DsReplicaAttrValMetaDataCtr_count,
9744           { "count", "drsuapi.DsReplicaAttrValMetaDataCtr.count", FT_UINT32, BASE_DEC,
9745           NULL, 0,
9746          NULL, HFILL }},
9747
9748         { &hf_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context,
9749           { "enumeration_context", "drsuapi.DsReplicaAttrValMetaDataCtr.enumeration_context", FT_INT32, BASE_DEC,
9750           NULL, 0,
9751          NULL, HFILL }},
9752
9753         { &hf_drsuapi_DsReplicaAttrValMetaDataCtr_array,
9754           { "array", "drsuapi.DsReplicaAttrValMetaDataCtr.array", FT_NONE, BASE_NONE,
9755           NULL, 0,
9756          NULL, HFILL }},
9757
9758         { &hf_drsuapi_DsReplicaCoursor2_source_dsa_invocation_id,
9759           { "source_dsa_invocation_id", "drsuapi.DsReplicaCoursor2.source_dsa_invocation_id", FT_GUID, BASE_NONE,
9760           NULL, 0,
9761          NULL, HFILL }},
9762
9763         { &hf_drsuapi_DsReplicaCoursor2_highest_usn,
9764           { "highest_usn", "drsuapi.DsReplicaCoursor2.highest_usn", FT_UINT64, BASE_DEC,
9765           NULL, 0,
9766          NULL, HFILL }},
9767
9768         { &hf_drsuapi_DsReplicaCoursor2_last_sync_success,
9769           { "last_sync_success", "drsuapi.DsReplicaCoursor2.last_sync_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9770           NULL, 0,
9771          NULL, HFILL }},
9772
9773         { &hf_drsuapi_DsReplicaCoursor2Ctr_count,
9774           { "count", "drsuapi.DsReplicaCoursor2Ctr.count", FT_UINT32, BASE_DEC,
9775           NULL, 0,
9776          NULL, HFILL }},
9777
9778         { &hf_drsuapi_DsReplicaCoursor2Ctr_enumeration_context,
9779           { "enumeration_context", "drsuapi.DsReplicaCoursor2Ctr.enumeration_context", FT_INT32, BASE_DEC,
9780           NULL, 0,
9781          NULL, HFILL }},
9782
9783         { &hf_drsuapi_DsReplicaCoursor2Ctr_array,
9784           { "array", "drsuapi.DsReplicaCoursor2Ctr.array", FT_NONE, BASE_NONE,
9785           NULL, 0,
9786          NULL, HFILL }},
9787
9788         { &hf_drsuapi_DsReplicaCoursor3_source_dsa_invocation_id,
9789           { "source_dsa_invocation_id", "drsuapi.DsReplicaCoursor3.source_dsa_invocation_id", FT_GUID, BASE_NONE,
9790           NULL, 0,
9791          NULL, HFILL }},
9792
9793         { &hf_drsuapi_DsReplicaCoursor3_highest_usn,
9794           { "highest_usn", "drsuapi.DsReplicaCoursor3.highest_usn", FT_UINT64, BASE_DEC,
9795           NULL, 0,
9796          NULL, HFILL }},
9797
9798         { &hf_drsuapi_DsReplicaCoursor3_last_sync_success,
9799           { "last_sync_success", "drsuapi.DsReplicaCoursor3.last_sync_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9800           NULL, 0,
9801          NULL, HFILL }},
9802
9803         { &hf_drsuapi_DsReplicaCoursor3_source_dsa_obj_dn,
9804           { "source_dsa_obj_dn", "drsuapi.DsReplicaCoursor3.source_dsa_obj_dn", FT_STRING, BASE_NONE,
9805           NULL, 0,
9806          NULL, HFILL }},
9807
9808         { &hf_drsuapi_DsReplicaCoursor3Ctr_count,
9809           { "count", "drsuapi.DsReplicaCoursor3Ctr.count", FT_UINT32, BASE_DEC,
9810           NULL, 0,
9811          NULL, HFILL }},
9812
9813         { &hf_drsuapi_DsReplicaCoursor3Ctr_enumeration_context,
9814           { "enumeration_context", "drsuapi.DsReplicaCoursor3Ctr.enumeration_context", FT_INT32, BASE_DEC,
9815           NULL, 0,
9816          NULL, HFILL }},
9817
9818         { &hf_drsuapi_DsReplicaCoursor3Ctr_array,
9819           { "array", "drsuapi.DsReplicaCoursor3Ctr.array", FT_NONE, BASE_NONE,
9820           NULL, 0,
9821          NULL, HFILL }},
9822
9823         { &hf_drsuapi_DsReplicaObjMetaData2_attribute_name,
9824           { "attribute_name", "drsuapi.DsReplicaObjMetaData2.attribute_name", FT_STRING, BASE_NONE,
9825           NULL, 0,
9826          NULL, HFILL }},
9827
9828         { &hf_drsuapi_DsReplicaObjMetaData2_version,
9829           { "version", "drsuapi.DsReplicaObjMetaData2.version", FT_UINT32, BASE_DEC,
9830           NULL, 0,
9831          NULL, HFILL }},
9832
9833         { &hf_drsuapi_DsReplicaObjMetaData2_originating_last_changed,
9834           { "originating_last_changed", "drsuapi.DsReplicaObjMetaData2.originating_last_changed", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9835           NULL, 0,
9836          NULL, HFILL }},
9837
9838         { &hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_invocation_id,
9839           { "originating_dsa_invocation_id", "drsuapi.DsReplicaObjMetaData2.originating_dsa_invocation_id", FT_GUID, BASE_NONE,
9840           NULL, 0,
9841          NULL, HFILL }},
9842
9843         { &hf_drsuapi_DsReplicaObjMetaData2_originating_usn,
9844           { "originating_usn", "drsuapi.DsReplicaObjMetaData2.originating_usn", FT_UINT64, BASE_DEC,
9845           NULL, 0,
9846          NULL, HFILL }},
9847
9848         { &hf_drsuapi_DsReplicaObjMetaData2_local_usn,
9849           { "local_usn", "drsuapi.DsReplicaObjMetaData2.local_usn", FT_UINT64, BASE_DEC,
9850           NULL, 0,
9851          NULL, HFILL }},
9852
9853         { &hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_obj_dn,
9854           { "originating_dsa_obj_dn", "drsuapi.DsReplicaObjMetaData2.originating_dsa_obj_dn", FT_STRING, BASE_NONE,
9855           NULL, 0,
9856          NULL, HFILL }},
9857
9858         { &hf_drsuapi_DsReplicaObjMetaData2Ctr_count,
9859           { "count", "drsuapi.DsReplicaObjMetaData2Ctr.count", FT_UINT32, BASE_DEC,
9860           NULL, 0,
9861          NULL, HFILL }},
9862
9863         { &hf_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context,
9864           { "enumeration_context", "drsuapi.DsReplicaObjMetaData2Ctr.enumeration_context", FT_INT32, BASE_DEC,
9865           NULL, 0,
9866          NULL, HFILL }},
9867
9868         { &hf_drsuapi_DsReplicaObjMetaData2Ctr_array,
9869           { "array", "drsuapi.DsReplicaObjMetaData2Ctr.array", FT_NONE, BASE_NONE,
9870           NULL, 0,
9871          NULL, HFILL }},
9872
9873         { &hf_drsuapi_DsReplicaAttrValMetaData2_attribute_name,
9874           { "attribute_name", "drsuapi.DsReplicaAttrValMetaData2.attribute_name", FT_STRING, BASE_NONE,
9875           NULL, 0,
9876          NULL, HFILL }},
9877
9878         { &hf_drsuapi_DsReplicaAttrValMetaData2_object_dn,
9879           { "object_dn", "drsuapi.DsReplicaAttrValMetaData2.object_dn", FT_STRING, BASE_NONE,
9880           NULL, 0,
9881          NULL, HFILL }},
9882
9883         { &hf_drsuapi_DsReplicaAttrValMetaData2_value_length,
9884           { "value_length", "drsuapi.DsReplicaAttrValMetaData2.value_length", FT_UINT32, BASE_DEC,
9885           NULL, 0,
9886          NULL, HFILL }},
9887
9888         { &hf_drsuapi_DsReplicaAttrValMetaData2_value,
9889           { "value", "drsuapi.DsReplicaAttrValMetaData2.value", FT_UINT8, BASE_DEC,
9890           NULL, 0,
9891          NULL, HFILL }},
9892
9893         { &hf_drsuapi_DsReplicaAttrValMetaData2_deleted,
9894           { "deleted", "drsuapi.DsReplicaAttrValMetaData2.deleted", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9895           NULL, 0,
9896          NULL, HFILL }},
9897
9898         { &hf_drsuapi_DsReplicaAttrValMetaData2_created,
9899           { "created", "drsuapi.DsReplicaAttrValMetaData2.created", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9900           NULL, 0,
9901          NULL, HFILL }},
9902
9903         { &hf_drsuapi_DsReplicaAttrValMetaData2_version,
9904           { "version", "drsuapi.DsReplicaAttrValMetaData2.version", FT_UINT32, BASE_DEC,
9905           NULL, 0,
9906          NULL, HFILL }},
9907
9908         { &hf_drsuapi_DsReplicaAttrValMetaData2_originating_last_changed,
9909           { "originating_last_changed", "drsuapi.DsReplicaAttrValMetaData2.originating_last_changed", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9910           NULL, 0,
9911          NULL, HFILL }},
9912
9913         { &hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_invocation_id,
9914           { "originating_dsa_invocation_id", "drsuapi.DsReplicaAttrValMetaData2.originating_dsa_invocation_id", FT_GUID, BASE_NONE,
9915           NULL, 0,
9916          NULL, HFILL }},
9917
9918         { &hf_drsuapi_DsReplicaAttrValMetaData2_originating_usn,
9919           { "originating_usn", "drsuapi.DsReplicaAttrValMetaData2.originating_usn", FT_UINT64, BASE_DEC,
9920           NULL, 0,
9921          NULL, HFILL }},
9922
9923         { &hf_drsuapi_DsReplicaAttrValMetaData2_local_usn,
9924           { "local_usn", "drsuapi.DsReplicaAttrValMetaData2.local_usn", FT_UINT64, BASE_DEC,
9925           NULL, 0,
9926          NULL, HFILL }},
9927
9928         { &hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_obj_dn,
9929           { "originating_dsa_obj_dn", "drsuapi.DsReplicaAttrValMetaData2.originating_dsa_obj_dn", FT_STRING, BASE_NONE,
9930           NULL, 0,
9931          NULL, HFILL }},
9932
9933         { &hf_drsuapi_DsReplicaAttrValMetaData2Ctr_count,
9934           { "count", "drsuapi.DsReplicaAttrValMetaData2Ctr.count", FT_UINT32, BASE_DEC,
9935           NULL, 0,
9936          NULL, HFILL }},
9937
9938         { &hf_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context,
9939           { "enumeration_context", "drsuapi.DsReplicaAttrValMetaData2Ctr.enumeration_context", FT_INT32, BASE_DEC,
9940           NULL, 0,
9941          NULL, HFILL }},
9942
9943         { &hf_drsuapi_DsReplicaAttrValMetaData2Ctr_array,
9944           { "array", "drsuapi.DsReplicaAttrValMetaData2Ctr.array", FT_NONE, BASE_NONE,
9945           NULL, 0,
9946          NULL, HFILL }},
9947
9948         { &hf_drsuapi_DsReplicaConnection04_u1,
9949           { "u1", "drsuapi.DsReplicaConnection04.u1", FT_UINT64, BASE_DEC,
9950           NULL, 0,
9951          NULL, HFILL }},
9952
9953         { &hf_drsuapi_DsReplicaConnection04_u2,
9954           { "u2", "drsuapi.DsReplicaConnection04.u2", FT_UINT32, BASE_DEC,
9955           NULL, 0,
9956          NULL, HFILL }},
9957
9958         { &hf_drsuapi_DsReplicaConnection04_u3,
9959           { "u3", "drsuapi.DsReplicaConnection04.u3", FT_UINT32, BASE_DEC,
9960           NULL, 0,
9961          NULL, HFILL }},
9962
9963         { &hf_drsuapi_DsReplicaConnection04_bind_guid,
9964           { "bind_guid", "drsuapi.DsReplicaConnection04.bind_guid", FT_GUID, BASE_NONE,
9965           NULL, 0,
9966          NULL, HFILL }},
9967
9968         { &hf_drsuapi_DsReplicaConnection04_bind_time,
9969           { "bind_time", "drsuapi.DsReplicaConnection04.bind_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9970           NULL, 0,
9971          NULL, HFILL }},
9972
9973         { &hf_drsuapi_DsReplicaConnection04_u4,
9974           { "u4", "drsuapi.DsReplicaConnection04.u4", FT_UINT32, BASE_DEC,
9975           NULL, 0,
9976          NULL, HFILL }},
9977
9978         { &hf_drsuapi_DsReplicaConnection04_u5,
9979           { "u5", "drsuapi.DsReplicaConnection04.u5", FT_UINT32, BASE_DEC,
9980           NULL, 0,
9981          NULL, HFILL }},
9982
9983         { &hf_drsuapi_DsReplicaConnection04Ctr_count,
9984           { "count", "drsuapi.DsReplicaConnection04Ctr.count", FT_UINT32, BASE_DEC,
9985           NULL, 0,
9986          NULL, HFILL }},
9987
9988         { &hf_drsuapi_DsReplicaConnection04Ctr_reserved,
9989           { "reserved", "drsuapi.DsReplicaConnection04Ctr.reserved", FT_UINT32, BASE_DEC,
9990           NULL, 0,
9991          NULL, HFILL }},
9992
9993         { &hf_drsuapi_DsReplicaConnection04Ctr_array,
9994           { "array", "drsuapi.DsReplicaConnection04Ctr.array", FT_NONE, BASE_NONE,
9995           NULL, 0,
9996          NULL, HFILL }},
9997
9998         { &hf_drsuapi_DsReplica06_str1,
9999           { "str1", "drsuapi.DsReplica06.str1", FT_STRING, BASE_NONE,
10000           NULL, 0,
10001          NULL, HFILL }},
10002
10003         { &hf_drsuapi_DsReplica06_u1,
10004           { "u1", "drsuapi.DsReplica06.u1", FT_UINT32, BASE_DEC,
10005           NULL, 0,
10006          NULL, HFILL }},
10007
10008         { &hf_drsuapi_DsReplica06_u2,
10009           { "u2", "drsuapi.DsReplica06.u2", FT_UINT32, BASE_DEC,
10010           NULL, 0,
10011          NULL, HFILL }},
10012
10013         { &hf_drsuapi_DsReplica06_u3,
10014           { "u3", "drsuapi.DsReplica06.u3", FT_UINT32, BASE_DEC,
10015           NULL, 0,
10016          NULL, HFILL }},
10017
10018         { &hf_drsuapi_DsReplica06_u4,
10019           { "u4", "drsuapi.DsReplica06.u4", FT_UINT32, BASE_DEC,
10020           NULL, 0,
10021          NULL, HFILL }},
10022
10023         { &hf_drsuapi_DsReplica06_u5,
10024           { "u5", "drsuapi.DsReplica06.u5", FT_UINT32, BASE_DEC,
10025           NULL, 0,
10026          NULL, HFILL }},
10027
10028         { &hf_drsuapi_DsReplica06_u6,
10029           { "u6", "drsuapi.DsReplica06.u6", FT_UINT64, BASE_DEC,
10030           NULL, 0,
10031          NULL, HFILL }},
10032
10033         { &hf_drsuapi_DsReplica06_u7,
10034           { "u7", "drsuapi.DsReplica06.u7", FT_UINT32, BASE_DEC,
10035           NULL, 0,
10036          NULL, HFILL }},
10037
10038         { &hf_drsuapi_DsReplica06Ctr_count,
10039           { "count", "drsuapi.DsReplica06Ctr.count", FT_UINT32, BASE_DEC,
10040           NULL, 0,
10041          NULL, HFILL }},
10042
10043         { &hf_drsuapi_DsReplica06Ctr_reserved,
10044           { "reserved", "drsuapi.DsReplica06Ctr.reserved", FT_UINT32, BASE_DEC,
10045           NULL, 0,
10046          NULL, HFILL }},
10047
10048         { &hf_drsuapi_DsReplica06Ctr_array,
10049           { "array", "drsuapi.DsReplica06Ctr.array", FT_NONE, BASE_NONE,
10050           NULL, 0,
10051          NULL, HFILL }},
10052
10053         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours,
10054           { "neighbours", "drsuapi.DsReplicaInfo.neighbours", FT_NONE, BASE_NONE,
10055           NULL, 0,
10056          NULL, HFILL }},
10057
10058         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors,
10059           { "coursors", "drsuapi.DsReplicaInfo.coursors", FT_NONE, BASE_NONE,
10060           NULL, 0,
10061          NULL, HFILL }},
10062
10063         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata,
10064           { "objmetadata", "drsuapi.DsReplicaInfo.objmetadata", FT_NONE, BASE_NONE,
10065           NULL, 0,
10066          NULL, HFILL }},
10067
10068         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures,
10069           { "connectfailures", "drsuapi.DsReplicaInfo.connectfailures", FT_NONE, BASE_NONE,
10070           NULL, 0,
10071          NULL, HFILL }},
10072
10073         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures,
10074           { "linkfailures", "drsuapi.DsReplicaInfo.linkfailures", FT_NONE, BASE_NONE,
10075           NULL, 0,
10076          NULL, HFILL }},
10077
10078         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops,
10079           { "pendingops", "drsuapi.DsReplicaInfo.pendingops", FT_NONE, BASE_NONE,
10080           NULL, 0,
10081          NULL, HFILL }},
10082
10083         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata,
10084           { "attrvalmetadata", "drsuapi.DsReplicaInfo.attrvalmetadata", FT_NONE, BASE_NONE,
10085           NULL, 0,
10086          NULL, HFILL }},
10087
10088         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2,
10089           { "coursors2", "drsuapi.DsReplicaInfo.coursors2", FT_NONE, BASE_NONE,
10090           NULL, 0,
10091          NULL, HFILL }},
10092
10093         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3,
10094           { "coursors3", "drsuapi.DsReplicaInfo.coursors3", FT_NONE, BASE_NONE,
10095           NULL, 0,
10096          NULL, HFILL }},
10097
10098         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2,
10099           { "objmetadata2", "drsuapi.DsReplicaInfo.objmetadata2", FT_NONE, BASE_NONE,
10100           NULL, 0,
10101          NULL, HFILL }},
10102
10103         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2,
10104           { "attrvalmetadata2", "drsuapi.DsReplicaInfo.attrvalmetadata2", FT_NONE, BASE_NONE,
10105           NULL, 0,
10106          NULL, HFILL }},
10107
10108         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02,
10109           { "neighbours02", "drsuapi.DsReplicaInfo.neighbours02", FT_NONE, BASE_NONE,
10110           NULL, 0,
10111          NULL, HFILL }},
10112
10113         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04,
10114           { "connections04", "drsuapi.DsReplicaInfo.connections04", FT_NONE, BASE_NONE,
10115           NULL, 0,
10116          NULL, HFILL }},
10117
10118         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05,
10119           { "coursors05", "drsuapi.DsReplicaInfo.coursors05", FT_NONE, BASE_NONE,
10120           NULL, 0,
10121          NULL, HFILL }},
10122
10123         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06,
10124           { "i06", "drsuapi.DsReplicaInfo.i06", FT_NONE, BASE_NONE,
10125           NULL, 0,
10126          NULL, HFILL }},
10127
10128         { &hf_drsuapi_DsReplicaGetInfo_bind_handle,
10129           { "bind_handle", "drsuapi.DsReplicaGetInfo.bind_handle", FT_BYTES, BASE_NONE,
10130           NULL, 0,
10131          NULL, HFILL }},
10132
10133         { &hf_drsuapi_DsReplicaGetInfo_level,
10134           { "level", "drsuapi.DsReplicaGetInfo.level", FT_INT32, BASE_DEC,
10135           VALS(drsuapi_DsReplicaGetInfoLevel_vals), 0,
10136          NULL, HFILL }},
10137
10138         { &hf_drsuapi_DsReplicaGetInfo_req,
10139           { "req", "drsuapi.DsReplicaGetInfo.req", FT_UINT32, BASE_DEC,
10140           NULL, 0,
10141          NULL, HFILL }},
10142
10143         { &hf_drsuapi_DsReplicaGetInfo_info_type,
10144           { "info_type", "drsuapi.DsReplicaGetInfo.info_type", FT_INT32, BASE_DEC,
10145           VALS(drsuapi_DsReplicaInfoType_vals), 0,
10146          NULL, HFILL }},
10147
10148         { &hf_drsuapi_DsReplicaGetInfo_info,
10149           { "info", "drsuapi.DsReplicaGetInfo.info", FT_UINT32, BASE_DEC,
10150           NULL, 0,
10151          NULL, HFILL }},
10152
10153 /* END OF INCLUDED FILE : ETH_HFARR */
10154
10155
10156         };
10157
10158         static gint *ett[] = {
10159
10160
10161 /* INCLUDED FILE : ETH_ETTARR */
10162         &ett_drsuapi,
10163         &ett_drsuapi_SupportedExtensions,
10164         &ett_drsuapi_DsBindInfo24,
10165         &ett_drsuapi_DsBindInfo28,
10166         &ett_drsuapi_DsBindInfo,
10167         &ett_drsuapi_DsBindInfoCtr,
10168         &ett_drsuapi_DsReplicaSyncRequest1Info,
10169         &ett_drsuapi_DsReplicaSyncOptions,
10170         &ett_drsuapi_DsReplicaSyncRequest1,
10171         &ett_drsuapi_DsReplicaSyncRequest,
10172         &ett_drsuapi_DsGetNCChangesUsnTriple,
10173         &ett_drsuapi_DsReplicaCoursor,
10174         &ett_drsuapi_DsReplicaCoursor05Ctr,
10175         &ett_drsuapi_DsGetNCChangesRequest5,
10176         &ett_drsuapi_DsGetNCChangesRequest_Ctr14,
10177         &ett_drsuapi_DsGetNCChangesRequest_Ctr13,
10178         &ett_drsuapi_DsGetNCChangesRequest_Ctr12,
10179         &ett_drsuapi_DsGetNCChangesRequest8,
10180         &ett_drsuapi_DsGetNCChangesRequest,
10181         &ett_drsuapi_DsReplicaCoursorEx,
10182         &ett_drsuapi_DsReplicaCoursorEx05Ctr,
10183         &ett_drsuapi_DsGetNCChangesCtr6,
10184         &ett_drsuapi_DsGetNCChangesCtr7,
10185         &ett_drsuapi_DsGetNCChangesCtr,
10186         &ett_drsuapi_DsReplicaUpdateRefsOptions,
10187         &ett_drsuapi_DsReplicaUpdateRefsRequest1,
10188         &ett_drsuapi_DsReplicaUpdateRefsRequest,
10189         &ett_drsuapi_DsReplicaAddOptions,
10190         &ett_drsuapi_DsReplicaDeleteOptions,
10191         &ett_drsuapi_DsReplicaModifyOptions,
10192         &ett_drsuapi_DsNameString,
10193         &ett_drsuapi_DsNameRequest1,
10194         &ett_drsuapi_DsNameRequest,
10195         &ett_drsuapi_DsNameInfo1,
10196         &ett_drsuapi_DsNameCtr1,
10197         &ett_drsuapi_DsNameCtr,
10198         &ett_drsuapi_DsWriteAccountSpnRequest1,
10199         &ett_drsuapi_DsWriteAccountSpnRequest,
10200         &ett_drsuapi_DsWriteAccountSpnResult1,
10201         &ett_drsuapi_DsWriteAccountSpnResult,
10202         &ett_drsuapi_DsGetDCInfoRequest1,
10203         &ett_drsuapi_DsGetDCInfoRequest,
10204         &ett_drsuapi_DsGetDCInfo1,
10205         &ett_drsuapi_DsGetDCInfoCtr1,
10206         &ett_drsuapi_DsGetDCInfo2,
10207         &ett_drsuapi_DsGetDCInfoCtr2,
10208         &ett_drsuapi_DsGetDCInfo01,
10209         &ett_drsuapi_DsGetDCInfoCtr01,
10210         &ett_drsuapi_DsGetDCInfoCtr,
10211         &ett_drsuapi_DsReplicaGetInfoRequest1,
10212         &ett_drsuapi_DsReplicaGetInfoRequest2,
10213         &ett_drsuapi_DsReplicaGetInfoRequest,
10214         &ett_drsuapi_DsReplicaNeighbour,
10215         &ett_drsuapi_DsReplicaNeighbourCtr,
10216         &ett_drsuapi_DsReplicaCoursorCtr,
10217         &ett_drsuapi_DsReplicaObjMetaData,
10218         &ett_drsuapi_DsReplicaObjMetaDataCtr,
10219         &ett_drsuapi_DsReplicaKccDsaFailure,
10220         &ett_drsuapi_DsReplicaKccDsaFailuresCtr,
10221         &ett_drsuapi_DsRplicaOpOptions,
10222         &ett_drsuapi_DsReplicaOp,
10223         &ett_drsuapi_DsReplicaOpCtr,
10224         &ett_drsuapi_DsReplicaAttrValMetaData,
10225         &ett_drsuapi_DsReplicaAttrValMetaDataCtr,
10226         &ett_drsuapi_DsReplicaCoursor2,
10227         &ett_drsuapi_DsReplicaCoursor2Ctr,
10228         &ett_drsuapi_DsReplicaCoursor3,
10229         &ett_drsuapi_DsReplicaCoursor3Ctr,
10230         &ett_drsuapi_DsReplicaObjMetaData2,
10231         &ett_drsuapi_DsReplicaObjMetaData2Ctr,
10232         &ett_drsuapi_DsReplicaAttrValMetaData2,
10233         &ett_drsuapi_DsReplicaAttrValMetaData2Ctr,
10234         &ett_drsuapi_DsReplicaConnection04,
10235         &ett_drsuapi_DsReplicaConnection04Ctr,
10236         &ett_drsuapi_DsReplica06,
10237         &ett_drsuapi_DsReplica06Ctr,
10238         &ett_drsuapi_DsReplicaInfo,
10239 /* END OF INCLUDED FILE : ETH_ETTARR */
10240
10241
10242         };
10243
10244         proto_drsuapi = proto_register_protocol(
10245                 "DRSUAPI", 
10246                 "DRSUAPI", "drsuapi");
10247         proto_register_field_array(proto_drsuapi, hf, array_length(hf));
10248         proto_register_subtree_array(ett, array_length(ett));
10249 }
10250
10251 static dcerpc_sub_dissector function_dissectors[] = {
10252
10253
10254 /* INCLUDED FILE : ETH_FT */
10255     { 0, "DsBind",
10256         drsuapi_dissect_DsBind_request,
10257         drsuapi_dissect_DsBind_response },
10258     { 1, "DsUnbind",
10259         drsuapi_dissect_DsUnbind_request,
10260         drsuapi_dissect_DsUnbind_response },
10261     { 2, "DsReplicaSync",
10262         drsuapi_dissect_DsReplicaSync_request,
10263         drsuapi_dissect_DsReplicaSync_response },
10264     { 3, "DsGetNCChanges",
10265         drsuapi_dissect_DsGetNCChanges_request,
10266         drsuapi_dissect_DsGetNCChanges_response },
10267     { 4, "DsReplicaUpdateRefs",
10268         drsuapi_dissect_DsReplicaUpdateRefs_request,
10269         drsuapi_dissect_DsReplicaUpdateRefs_response },
10270     { 5, "DRSUAPI_REPLICA_ADD",
10271         drsuapi_dissect_DRSUAPI_REPLICA_ADD_request,
10272         drsuapi_dissect_DRSUAPI_REPLICA_ADD_response },
10273     { 6, "DRSUAPI_REPLICA_DEL",
10274         drsuapi_dissect_DRSUAPI_REPLICA_DEL_request,
10275         drsuapi_dissect_DRSUAPI_REPLICA_DEL_response },
10276     { 7, "DRSUAPI_REPLICA_MODIFY",
10277         drsuapi_dissect_DRSUAPI_REPLICA_MODIFY_request,
10278         drsuapi_dissect_DRSUAPI_REPLICA_MODIFY_response },
10279     { 8, "DRSUAPI_VERIFY_NAMES",
10280         drsuapi_dissect_DRSUAPI_VERIFY_NAMES_request,
10281         drsuapi_dissect_DRSUAPI_VERIFY_NAMES_response },
10282     { 9, "DRSUAPI_GET_MEMBERSHIPS",
10283         drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS_request,
10284         drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS_response },
10285     { 10, "DRSUAPI_INTER_DOMAIN_MOVE",
10286         drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_request,
10287         drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_response },
10288     { 11, "DRSUAPI_GET_NT4_CHANGELOG",
10289         drsuapi_dissect_DRSUAPI_GET_NT4_CHANGELOG_request,
10290         drsuapi_dissect_DRSUAPI_GET_NT4_CHANGELOG_response },
10291     { 12, "DsCrackNames",
10292         drsuapi_dissect_DsCrackNames_request,
10293         drsuapi_dissect_DsCrackNames_response },
10294     { 13, "DsWriteAccountSpn",
10295         drsuapi_dissect_DsWriteAccountSpn_request,
10296         drsuapi_dissect_DsWriteAccountSpn_response },
10297     { 14, "DRSUAPI_REMOVE_DS_SERVER",
10298         drsuapi_dissect_DRSUAPI_REMOVE_DS_SERVER_request,
10299         drsuapi_dissect_DRSUAPI_REMOVE_DS_SERVER_response },
10300     { 15, "DRSUAPI_REMOVE_DS_DOMAIN",
10301         drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_request,
10302         drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_response },
10303     { 16, "DsGetDomainControllerInfo",
10304         drsuapi_dissect_DsGetDomainControllerInfo_request,
10305         drsuapi_dissect_DsGetDomainControllerInfo_response },
10306     { 17, "DsAddEntry",
10307         drsuapi_dissect_DsAddEntry_request,
10308         drsuapi_dissect_DsAddEntry_response },
10309     { 18, "DRSUAPI_EXECUTE_KCC",
10310         drsuapi_dissect_DRSUAPI_EXECUTE_KCC_request,
10311         drsuapi_dissect_DRSUAPI_EXECUTE_KCC_response },
10312     { 19, "DsReplicaGetInfo",
10313         drsuapi_dissect_DsReplicaGetInfo_request,
10314         drsuapi_dissect_DsReplicaGetInfo_response },
10315     { 20, "DRSUAPI_ADD_SID_HISTORY",
10316         drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_request,
10317         drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_response },
10318     { 21, "DRSUAPI_GET_MEMBERSHIPS2",
10319         drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS2_request,
10320         drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS2_response },
10321     { 22, "DRSUAPI_REPLICA_VERIFY_OBJECTS",
10322         drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_request,
10323         drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_response },
10324     { 23, "DRSUAPI_GET_OBJECT_EXISTENCE",
10325         drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_request,
10326         drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_response },
10327     { 24, "DRSUAPI_QUERY_SITES_BY_COST",
10328         drsuapi_dissect_DRSUAPI_QUERY_SITES_BY_COST_request,
10329         drsuapi_dissect_DRSUAPI_QUERY_SITES_BY_COST_response },
10330 /* END OF INCLUDED FILE : ETH_FT */
10331
10332
10333         { 0, NULL, NULL, NULL },
10334 };
10335
10336 void
10337 proto_reg_handoff_drsuapi(void)
10338 {
10339
10340
10341 /* INCLUDED FILE : ETH_HANDOFF */
10342     dcerpc_init_uuid(proto_drsuapi, ett_drsuapi,
10343         &uuid_dcerpc_drsuapi, ver_drsuapi,
10344         function_dissectors, hf_drsuapi_opnum);
10345 /* END OF INCLUDED FILE : ETH_HANDOFF */
10346
10347
10348 }
10349