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