MSWSP: fix dissect_mswsp_smb()
[wireshark-wip.git] / epan / dissectors / packet-dcerpc-drsuapi.c
blob4631c62a45a430b30516980ceab0828ad4e16398
1 /* DO NOT EDIT
2 * This dissector is autogenerated
3 */
5 /* packet-dcerpc-drsuapi.c
6 * Routines for DRSUAPI packet disassembly
7 * ronnie sahlberg 2005
9 * $Id$
11 * Wireshark - Network traffic analyzer
12 * By Gerald Combs <gerald@wireshark.org>
13 * Copyright 1998 Gerald Combs
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.
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
30 #include "config.h"
32 #include <glib.h>
33 #include <string.h>
35 #include <epan/packet.h>
36 #include "packet-dcerpc.h"
37 #include "packet-dcerpc-nt.h"
38 #include "packet-windows-common.h"
39 #include "packet-dcerpc-drsuapi.h"
41 static int proto_drsuapi = -1;
42 static int hf_drsuapi_DsReplicaSyncRequest1Info_nc_dn = -1;
45 /* INCLUDED FILE : ETH_HF */
46 static int hf_drsuapi_opnum = -1;
47 static int hf_drsuapi_rc = -1;
48 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE = -1;
49 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION = -1;
50 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI = -1;
51 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 = -1;
52 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS = -1;
53 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 = -1;
54 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION = -1;
55 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00000080 = -1;
56 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE = -1;
57 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 = -1;
58 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION = -1;
59 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 = -1;
60 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD = -1;
61 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND = -1;
62 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO = -1;
63 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION = -1;
64 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 = -1;
65 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP = -1;
66 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY = -1;
67 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 = -1;
68 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00100000 = -1;
69 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 = -1;
70 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 = -1;
71 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS = -1;
72 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 = -1;
73 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 = -1;
74 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 = -1;
75 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 = -1;
76 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7 = -1;
77 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT = -1;
78 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS = -1;
79 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_20000000 = -1;
80 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_40000000 = -1;
81 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_80000000 = -1;
82 static int hf_drsuapi_DsBindInfo24_supported_extensions = -1;
83 static int hf_drsuapi_DsBindInfo24_site_guid = -1;
84 static int hf_drsuapi_DsBindInfo24_u1 = -1;
85 static int hf_drsuapi_DsBindInfo28_supported_extensions = -1;
86 static int hf_drsuapi_DsBindInfo28_site_guid = -1;
87 static int hf_drsuapi_DsBindInfo28_u1 = -1;
88 static int hf_drsuapi_DsBindInfo28_repl_epoch = -1;
89 static int hf_drsuapi_DsBindInfo_24_info24 = -1;
90 static int hf_drsuapi_DsBindInfo_28_info28 = -1;
91 static int hf_drsuapi_DsBindInfoCtr_length = -1;
92 static int hf_drsuapi_DsBindInfoCtr_info = -1;
93 static int hf_drsuapi_DsBind_bind_guid = -1;
94 static int hf_drsuapi_DsBind_bind_info = -1;
95 static int hf_drsuapi_DsBind_bind_handle = -1;
96 static int hf_drsuapi_DsUnbind_bind_handle = -1;
97 static int hf_drsuapi_DsReplicaSyncRequest1Info_unknown1 = -1;
98 static int hf_drsuapi_DsReplicaSyncRequest1Info_unknown2 = -1;
99 static int hf_drsuapi_DsReplicaSyncRequest1Info_guid1 = -1;
100 static int hf_drsuapi_DsReplicaSyncRequest1Info_byte_array = -1;
101 static int hf_drsuapi_DsReplicaSyncRequest1Info_str_len = -1;
102 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION = -1;
103 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_WRITEABLE = -1;
104 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PERIODIC = -1;
105 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING = -1;
106 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES = -1;
107 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL = -1;
108 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_URGENT = -1;
109 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD = -1;
110 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FORCE = -1;
111 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE = -1;
112 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED = -1;
113 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_TWO_WAY = -1;
114 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY = -1;
115 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL = -1;
116 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION = -1;
117 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ABANDONED = -1;
118 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS = -1;
119 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET = -1;
120 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_REQUEUE = -1;
121 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION = -1;
122 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA = -1;
123 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_CRITICAL = -1;
124 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS = -1;
125 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PREEMPTED = -1;
126 static int hf_drsuapi_DsReplicaSyncRequest1_info = -1;
127 static int hf_drsuapi_DsReplicaSyncRequest1_guid1 = -1;
128 static int hf_drsuapi_DsReplicaSyncRequest1_string1 = -1;
129 static int hf_drsuapi_DsReplicaSyncRequest1_options = -1;
130 static int hf_drsuapi_DsReplicaSyncRequest_1_req1 = -1;
131 static int hf_drsuapi_DsReplicaSync_bind_handle = -1;
132 static int hf_drsuapi_DsReplicaSync_level = -1;
133 static int hf_drsuapi_DsReplicaSync_req = -1;
134 static int hf_drsuapi_DsGetNCChangesUsnTriple_usn1 = -1;
135 static int hf_drsuapi_DsGetNCChangesUsnTriple_usn2 = -1;
136 static int hf_drsuapi_DsGetNCChangesUsnTriple_usn3 = -1;
137 static int hf_drsuapi_DsReplicaCoursor_source_dsa_invocation_id = -1;
138 static int hf_drsuapi_DsReplicaCoursor_highest_usn = -1;
139 static int hf_drsuapi_DsReplicaCoursor05Ctr_u1 = -1;
140 static int hf_drsuapi_DsReplicaCoursor05Ctr_u2 = -1;
141 static int hf_drsuapi_DsReplicaCoursor05Ctr_count = -1;
142 static int hf_drsuapi_DsReplicaCoursor05Ctr_u3 = -1;
143 static int hf_drsuapi_DsReplicaCoursor05Ctr_array = -1;
144 static int hf_drsuapi_DsGetNCChangesRequest5_guid1 = -1;
145 static int hf_drsuapi_DsGetNCChangesRequest5_guid2 = -1;
146 static int hf_drsuapi_DsGetNCChangesRequest5_sync_req_info1 = -1;
147 static int hf_drsuapi_DsGetNCChangesRequest5_usn1 = -1;
148 static int hf_drsuapi_DsGetNCChangesRequest5_coursor = -1;
149 static int hf_drsuapi_DsGetNCChangesRequest5_unknown1 = -1;
150 static int hf_drsuapi_DsGetNCChangesRequest5_unknown2 = -1;
151 static int hf_drsuapi_DsGetNCChangesRequest5_unknown3 = -1;
152 static int hf_drsuapi_DsGetNCChangesRequest5_unknown4 = -1;
153 static int hf_drsuapi_DsGetNCChangesRequest5_h1 = -1;
154 static int hf_drsuapi_DsGetNCChangesRequest_Ctr14_length = -1;
155 static int hf_drsuapi_DsGetNCChangesRequest_Ctr14_byte_array = -1;
156 static int hf_drsuapi_DsGetNCChangesRequest_Ctr13_unknown1 = -1;
157 static int hf_drsuapi_DsGetNCChangesRequest_Ctr13_data = -1;
158 static int hf_drsuapi_DsGetNCChangesRequest_Ctr12_count = -1;
159 static int hf_drsuapi_DsGetNCChangesRequest_Ctr12_array = -1;
160 static int hf_drsuapi_DsGetNCChangesRequest8_guid1 = -1;
161 static int hf_drsuapi_DsGetNCChangesRequest8_guid2 = -1;
162 static int hf_drsuapi_DsGetNCChangesRequest8_sync_req_info1 = -1;
163 static int hf_drsuapi_DsGetNCChangesRequest8_usn1 = -1;
164 static int hf_drsuapi_DsGetNCChangesRequest8_coursor = -1;
165 static int hf_drsuapi_DsGetNCChangesRequest8_unknown1 = -1;
166 static int hf_drsuapi_DsGetNCChangesRequest8_unknown2 = -1;
167 static int hf_drsuapi_DsGetNCChangesRequest8_unknown3 = -1;
168 static int hf_drsuapi_DsGetNCChangesRequest8_unknown4 = -1;
169 static int hf_drsuapi_DsGetNCChangesRequest8_h1 = -1;
170 static int hf_drsuapi_DsGetNCChangesRequest8_unique_ptr1 = -1;
171 static int hf_drsuapi_DsGetNCChangesRequest8_unique_ptr2 = -1;
172 static int hf_drsuapi_DsGetNCChangesRequest8_ctr12 = -1;
173 static int hf_drsuapi_DsGetNCChangesRequest_5_req5 = -1;
174 static int hf_drsuapi_DsGetNCChangesRequest_8_req8 = -1;
175 static int hf_drsuapi_DsReplicaCoursorEx_coursor = -1;
176 static int hf_drsuapi_DsReplicaCoursorEx_time1 = -1;
177 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_u1 = -1;
178 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_u2 = -1;
179 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_count = -1;
180 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_u3 = -1;
181 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_array = -1;
182 static int hf_drsuapi_DsGetNCChangesCtr6_guid1 = -1;
183 static int hf_drsuapi_DsGetNCChangesCtr6_guid2 = -1;
184 static int hf_drsuapi_DsGetNCChangesCtr6_sync_req_info1 = -1;
185 static int hf_drsuapi_DsGetNCChangesCtr6_usn1 = -1;
186 static int hf_drsuapi_DsGetNCChangesCtr6_usn2 = -1;
187 static int hf_drsuapi_DsGetNCChangesCtr6_coursor_ex = -1;
188 static int hf_drsuapi_DsGetNCChangesCtr6_ctr12 = -1;
189 static int hf_drsuapi_DsGetNCChangesCtr6_u1 = -1;
190 static int hf_drsuapi_DsGetNCChangesCtr6_ptr1 = -1;
191 static int hf_drsuapi_DsGetNCChangesCtr6_u2 = -1;
192 static int hf_drsuapi_DsGetNCChangesCtr6_len1 = -1;
193 static int hf_drsuapi_DsGetNCChangesCtr6_array_ptr1 = -1;
194 static int hf_drsuapi_DsGetNCChangesCtr6_u3 = -1;
195 static int hf_drsuapi_DsGetNCChangesCtr_6_ctr6 = -1;
196 static int hf_drsuapi_DsGetNCChangesCtr_7_ctr7 = -1;
197 static int hf_drsuapi_DsGetNCChanges_bind_handle = -1;
198 static int hf_drsuapi_DsGetNCChanges_level = -1;
199 static int hf_drsuapi_DsGetNCChanges_req = -1;
200 static int hf_drsuapi_DsGetNCChanges_ctr = -1;
201 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION = -1;
202 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE = -1;
203 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE = -1;
204 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE = -1;
205 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_0x00000010 = -1;
206 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown1 = -1;
207 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown2 = -1;
208 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid = -1;
209 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_options = -1;
210 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_sync_req_info1 = -1;
211 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name = -1;
212 static int hf_drsuapi_DsReplicaUpdateRefsRequest_1_req1 = -1;
213 static int hf_drsuapi_DsReplicaUpdateRefs_bind_handle = -1;
214 static int hf_drsuapi_DsReplicaUpdateRefs_level = -1;
215 static int hf_drsuapi_DsReplicaUpdateRefs_req = -1;
216 static int hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION = -1;
217 static int hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_WRITEABLE = -1;
218 static int hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION = -1;
219 static int hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_WRITEABLE = -1;
220 static int hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION = -1;
221 static int hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE = -1;
222 static int hf_drsuapi_DsNameString_str = -1;
223 static int hf_drsuapi_DsNameRequest1_unknown1 = -1;
224 static int hf_drsuapi_DsNameRequest1_unknown2 = -1;
225 static int hf_drsuapi_DsNameRequest1_format_flags = -1;
226 static int hf_drsuapi_DsNameRequest1_format_offered = -1;
227 static int hf_drsuapi_DsNameRequest1_format_desired = -1;
228 static int hf_drsuapi_DsNameRequest1_count = -1;
229 static int hf_drsuapi_DsNameRequest1_names = -1;
230 static int hf_drsuapi_DsNameRequest_1_req1 = -1;
231 static int hf_drsuapi_DsNameInfo1_status = -1;
232 static int hf_drsuapi_DsNameInfo1_dns_domain_name = -1;
233 static int hf_drsuapi_DsNameInfo1_result_name = -1;
234 static int hf_drsuapi_DsNameCtr1_count = -1;
235 static int hf_drsuapi_DsNameCtr1_array = -1;
236 static int hf_drsuapi_DsNameCtr_1_ctr1 = -1;
237 static int hf_drsuapi_DsCrackNames_bind_handle = -1;
238 static int hf_drsuapi_DsCrackNames_level = -1;
239 static int hf_drsuapi_DsCrackNames_req = -1;
240 static int hf_drsuapi_DsCrackNames_ctr = -1;
241 static int hf_drsuapi_DsWriteAccountSpnRequest1_operation = -1;
242 static int hf_drsuapi_DsWriteAccountSpnRequest1_unknown1 = -1;
243 static int hf_drsuapi_DsWriteAccountSpnRequest1_object_dn = -1;
244 static int hf_drsuapi_DsWriteAccountSpnRequest1_count = -1;
245 static int hf_drsuapi_DsWriteAccountSpnRequest1_spn_names = -1;
246 static int hf_drsuapi_DsWriteAccountSpnRequest_1_req1 = -1;
247 static int hf_drsuapi_DsWriteAccountSpnResult1_status = -1;
248 static int hf_drsuapi_DsWriteAccountSpnResult_1_res1 = -1;
249 static int hf_drsuapi_DsWriteAccountSpn_bind_handle = -1;
250 static int hf_drsuapi_DsWriteAccountSpn_level = -1;
251 static int hf_drsuapi_DsWriteAccountSpn_req = -1;
252 static int hf_drsuapi_DsWriteAccountSpn_res = -1;
253 static int hf_drsuapi_DsGetDCInfoRequest1_domain_name = -1;
254 static int hf_drsuapi_DsGetDCInfoRequest1_level = -1;
255 static int hf_drsuapi_DsGetDCInfoRequest_1_req1 = -1;
256 static int hf_drsuapi_DsGetDCInfo1_netbios_name = -1;
257 static int hf_drsuapi_DsGetDCInfo1_dns_name = -1;
258 static int hf_drsuapi_DsGetDCInfo1_site_name = -1;
259 static int hf_drsuapi_DsGetDCInfo1_computer_dn = -1;
260 static int hf_drsuapi_DsGetDCInfo1_server_dn = -1;
261 static int hf_drsuapi_DsGetDCInfo1_is_pdc = -1;
262 static int hf_drsuapi_DsGetDCInfo1_is_enabled = -1;
263 static int hf_drsuapi_DsGetDCInfoCtr1_count = -1;
264 static int hf_drsuapi_DsGetDCInfoCtr1_array = -1;
265 static int hf_drsuapi_DsGetDCInfo2_netbios_name = -1;
266 static int hf_drsuapi_DsGetDCInfo2_dns_name = -1;
267 static int hf_drsuapi_DsGetDCInfo2_site_name = -1;
268 static int hf_drsuapi_DsGetDCInfo2_site_dn = -1;
269 static int hf_drsuapi_DsGetDCInfo2_computer_dn = -1;
270 static int hf_drsuapi_DsGetDCInfo2_server_dn = -1;
271 static int hf_drsuapi_DsGetDCInfo2_ntds_dn = -1;
272 static int hf_drsuapi_DsGetDCInfo2_is_pdc = -1;
273 static int hf_drsuapi_DsGetDCInfo2_is_enabled = -1;
274 static int hf_drsuapi_DsGetDCInfo2_is_gc = -1;
275 static int hf_drsuapi_DsGetDCInfo2_site_guid = -1;
276 static int hf_drsuapi_DsGetDCInfo2_computer_guid = -1;
277 static int hf_drsuapi_DsGetDCInfo2_server_guid = -1;
278 static int hf_drsuapi_DsGetDCInfo2_ntds_guid = -1;
279 static int hf_drsuapi_DsGetDCInfoCtr2_count = -1;
280 static int hf_drsuapi_DsGetDCInfoCtr2_array = -1;
281 static int hf_drsuapi_DsGetDCInfo01_unknown1 = -1;
282 static int hf_drsuapi_DsGetDCInfo01_unknown2 = -1;
283 static int hf_drsuapi_DsGetDCInfo01_unknown3 = -1;
284 static int hf_drsuapi_DsGetDCInfo01_unknown4 = -1;
285 static int hf_drsuapi_DsGetDCInfo01_unknown5 = -1;
286 static int hf_drsuapi_DsGetDCInfo01_unknown6 = -1;
287 static int hf_drsuapi_DsGetDCInfo01_server_nt4_account = -1;
288 static int hf_drsuapi_DsGetDCInfoCtr01_count = -1;
289 static int hf_drsuapi_DsGetDCInfoCtr01_array = -1;
290 static int hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1 = -1;
291 static int hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2 = -1;
292 static int hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01 = -1;
293 static int hf_drsuapi_DsGetDomainControllerInfo_bind_handle = -1;
294 static int hf_drsuapi_DsGetDomainControllerInfo_level = -1;
295 static int hf_drsuapi_DsGetDomainControllerInfo_req = -1;
296 static int hf_drsuapi_DsGetDomainControllerInfo_ctr = -1;
297 static int hf_drsuapi_DsReplicaGetInfoRequest1_info_type = -1;
298 static int hf_drsuapi_DsReplicaGetInfoRequest1_object_dn = -1;
299 static int hf_drsuapi_DsReplicaGetInfoRequest1_guid1 = -1;
300 static int hf_drsuapi_DsReplicaGetInfoRequest2_info_type = -1;
301 static int hf_drsuapi_DsReplicaGetInfoRequest2_object_dn = -1;
302 static int hf_drsuapi_DsReplicaGetInfoRequest2_guid1 = -1;
303 static int hf_drsuapi_DsReplicaGetInfoRequest2_unknown1 = -1;
304 static int hf_drsuapi_DsReplicaGetInfoRequest2_string1 = -1;
305 static int hf_drsuapi_DsReplicaGetInfoRequest2_string2 = -1;
306 static int hf_drsuapi_DsReplicaGetInfoRequest2_unknown2 = -1;
307 static int hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1 = -1;
308 static int hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2 = -1;
309 static int hf_drsuapi_DsReplicaNeighbour_naming_context_dn = -1;
310 static int hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn = -1;
311 static int hf_drsuapi_DsReplicaNeighbour_source_dsa_address = -1;
312 static int hf_drsuapi_DsReplicaNeighbour_transport_obj_dn = -1;
313 static int hf_drsuapi_DsReplicaNeighbour_replica_flags = -1;
314 static int hf_drsuapi_DsReplicaNeighbour_reserved = -1;
315 static int hf_drsuapi_DsReplicaNeighbour_naming_context_obj_guid = -1;
316 static int hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid = -1;
317 static int hf_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id = -1;
318 static int hf_drsuapi_DsReplicaNeighbour_transport_obj_guid = -1;
319 static int hf_drsuapi_DsReplicaNeighbour_tmp_highest_usn = -1;
320 static int hf_drsuapi_DsReplicaNeighbour_highest_usn = -1;
321 static int hf_drsuapi_DsReplicaNeighbour_last_success = -1;
322 static int hf_drsuapi_DsReplicaNeighbour_last_attempt = -1;
323 static int hf_drsuapi_DsReplicaNeighbour_result_last_attempt = -1;
324 static int hf_drsuapi_DsReplicaNeighbour_consecutive_sync_failures = -1;
325 static int hf_drsuapi_DsReplicaNeighbourCtr_count = -1;
326 static int hf_drsuapi_DsReplicaNeighbourCtr_reserved = -1;
327 static int hf_drsuapi_DsReplicaNeighbourCtr_array = -1;
328 static int hf_drsuapi_DsReplicaCoursorCtr_count = -1;
329 static int hf_drsuapi_DsReplicaCoursorCtr_reserved = -1;
330 static int hf_drsuapi_DsReplicaCoursorCtr_array = -1;
331 static int hf_drsuapi_DsReplicaObjMetaData_attribute_name = -1;
332 static int hf_drsuapi_DsReplicaObjMetaData_version = -1;
333 static int hf_drsuapi_DsReplicaObjMetaData_originating_last_changed = -1;
334 static int hf_drsuapi_DsReplicaObjMetaData_originating_dsa_invocation_id = -1;
335 static int hf_drsuapi_DsReplicaObjMetaData_originating_usn = -1;
336 static int hf_drsuapi_DsReplicaObjMetaData_local_usn = -1;
337 static int hf_drsuapi_DsReplicaObjMetaDataCtr_count = -1;
338 static int hf_drsuapi_DsReplicaObjMetaDataCtr_reserved = -1;
339 static int hf_drsuapi_DsReplicaObjMetaDataCtr_array = -1;
340 static int hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn = -1;
341 static int hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid = -1;
342 static int hf_drsuapi_DsReplicaKccDsaFailure_first_failure = -1;
343 static int hf_drsuapi_DsReplicaKccDsaFailure_num_failures = -1;
344 static int hf_drsuapi_DsReplicaKccDsaFailure_last_result = -1;
345 static int hf_drsuapi_DsReplicaKccDsaFailuresCtr_count = -1;
346 static int hf_drsuapi_DsReplicaKccDsaFailuresCtr_reserved = -1;
347 static int hf_drsuapi_DsReplicaKccDsaFailuresCtr_array = -1;
348 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync = -1;
349 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add = -1;
350 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete = -1;
351 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify = -1;
352 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs = -1;
353 static int hf_drsuapi_DsRplicaOpOptions_default_unknown = -1;
354 static int hf_drsuapi_DsReplicaOp_operation_start = -1;
355 static int hf_drsuapi_DsReplicaOp_serial_num = -1;
356 static int hf_drsuapi_DsReplicaOp_priority = -1;
357 static int hf_drsuapi_DsReplicaOp_operation_type = -1;
358 static int hf_drsuapi_DsReplicaOp_options = -1;
359 static int hf_drsuapi_DsReplicaOp_nc_dn = -1;
360 static int hf_drsuapi_DsReplicaOp_remote_dsa_obj_dn = -1;
361 static int hf_drsuapi_DsReplicaOp_remote_dsa_address = -1;
362 static int hf_drsuapi_DsReplicaOp_nc_obj_guid = -1;
363 static int hf_drsuapi_DsReplicaOp_remote_dsa_obj_guid = -1;
364 static int hf_drsuapi_DsReplicaOpCtr_time = -1;
365 static int hf_drsuapi_DsReplicaOpCtr_count = -1;
366 static int hf_drsuapi_DsReplicaOpCtr_array = -1;
367 static int hf_drsuapi_DsReplicaAttrValMetaData_attribute_name = -1;
368 static int hf_drsuapi_DsReplicaAttrValMetaData_object_dn = -1;
369 static int hf_drsuapi_DsReplicaAttrValMetaData_value_length = -1;
370 static int hf_drsuapi_DsReplicaAttrValMetaData_value = -1;
371 static int hf_drsuapi_DsReplicaAttrValMetaData_deleted = -1;
372 static int hf_drsuapi_DsReplicaAttrValMetaData_created = -1;
373 static int hf_drsuapi_DsReplicaAttrValMetaData_version = -1;
374 static int hf_drsuapi_DsReplicaAttrValMetaData_originating_last_changed = -1;
375 static int hf_drsuapi_DsReplicaAttrValMetaData_originating_dsa_invocation_id = -1;
376 static int hf_drsuapi_DsReplicaAttrValMetaData_originating_usn = -1;
377 static int hf_drsuapi_DsReplicaAttrValMetaData_local_usn = -1;
378 static int hf_drsuapi_DsReplicaAttrValMetaDataCtr_count = -1;
379 static int hf_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context = -1;
380 static int hf_drsuapi_DsReplicaAttrValMetaDataCtr_array = -1;
381 static int hf_drsuapi_DsReplicaCoursor2_source_dsa_invocation_id = -1;
382 static int hf_drsuapi_DsReplicaCoursor2_highest_usn = -1;
383 static int hf_drsuapi_DsReplicaCoursor2_last_sync_success = -1;
384 static int hf_drsuapi_DsReplicaCoursor2Ctr_count = -1;
385 static int hf_drsuapi_DsReplicaCoursor2Ctr_enumeration_context = -1;
386 static int hf_drsuapi_DsReplicaCoursor2Ctr_array = -1;
387 static int hf_drsuapi_DsReplicaCoursor3_source_dsa_invocation_id = -1;
388 static int hf_drsuapi_DsReplicaCoursor3_highest_usn = -1;
389 static int hf_drsuapi_DsReplicaCoursor3_last_sync_success = -1;
390 static int hf_drsuapi_DsReplicaCoursor3_source_dsa_obj_dn = -1;
391 static int hf_drsuapi_DsReplicaCoursor3Ctr_count = -1;
392 static int hf_drsuapi_DsReplicaCoursor3Ctr_enumeration_context = -1;
393 static int hf_drsuapi_DsReplicaCoursor3Ctr_array = -1;
394 static int hf_drsuapi_DsReplicaObjMetaData2_attribute_name = -1;
395 static int hf_drsuapi_DsReplicaObjMetaData2_version = -1;
396 static int hf_drsuapi_DsReplicaObjMetaData2_originating_last_changed = -1;
397 static int hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_invocation_id = -1;
398 static int hf_drsuapi_DsReplicaObjMetaData2_originating_usn = -1;
399 static int hf_drsuapi_DsReplicaObjMetaData2_local_usn = -1;
400 static int hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_obj_dn = -1;
401 static int hf_drsuapi_DsReplicaObjMetaData2Ctr_count = -1;
402 static int hf_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context = -1;
403 static int hf_drsuapi_DsReplicaObjMetaData2Ctr_array = -1;
404 static int hf_drsuapi_DsReplicaAttrValMetaData2_attribute_name = -1;
405 static int hf_drsuapi_DsReplicaAttrValMetaData2_object_dn = -1;
406 static int hf_drsuapi_DsReplicaAttrValMetaData2_value_length = -1;
407 static int hf_drsuapi_DsReplicaAttrValMetaData2_value = -1;
408 static int hf_drsuapi_DsReplicaAttrValMetaData2_deleted = -1;
409 static int hf_drsuapi_DsReplicaAttrValMetaData2_created = -1;
410 static int hf_drsuapi_DsReplicaAttrValMetaData2_version = -1;
411 static int hf_drsuapi_DsReplicaAttrValMetaData2_originating_last_changed = -1;
412 static int hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_invocation_id = -1;
413 static int hf_drsuapi_DsReplicaAttrValMetaData2_originating_usn = -1;
414 static int hf_drsuapi_DsReplicaAttrValMetaData2_local_usn = -1;
415 static int hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_obj_dn = -1;
416 static int hf_drsuapi_DsReplicaAttrValMetaData2Ctr_count = -1;
417 static int hf_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context = -1;
418 static int hf_drsuapi_DsReplicaAttrValMetaData2Ctr_array = -1;
419 static int hf_drsuapi_DsReplicaConnection04_u1 = -1;
420 static int hf_drsuapi_DsReplicaConnection04_u2 = -1;
421 static int hf_drsuapi_DsReplicaConnection04_u3 = -1;
422 static int hf_drsuapi_DsReplicaConnection04_bind_guid = -1;
423 static int hf_drsuapi_DsReplicaConnection04_bind_time = -1;
424 static int hf_drsuapi_DsReplicaConnection04_u4 = -1;
425 static int hf_drsuapi_DsReplicaConnection04_u5 = -1;
426 static int hf_drsuapi_DsReplicaConnection04Ctr_count = -1;
427 static int hf_drsuapi_DsReplicaConnection04Ctr_reserved = -1;
428 static int hf_drsuapi_DsReplicaConnection04Ctr_array = -1;
429 static int hf_drsuapi_DsReplica06_str1 = -1;
430 static int hf_drsuapi_DsReplica06_u1 = -1;
431 static int hf_drsuapi_DsReplica06_u2 = -1;
432 static int hf_drsuapi_DsReplica06_u3 = -1;
433 static int hf_drsuapi_DsReplica06_u4 = -1;
434 static int hf_drsuapi_DsReplica06_u5 = -1;
435 static int hf_drsuapi_DsReplica06_u6 = -1;
436 static int hf_drsuapi_DsReplica06_u7 = -1;
437 static int hf_drsuapi_DsReplica06Ctr_count = -1;
438 static int hf_drsuapi_DsReplica06Ctr_reserved = -1;
439 static int hf_drsuapi_DsReplica06Ctr_array = -1;
440 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours = -1;
441 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors = -1;
442 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata = -1;
443 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures = -1;
444 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures = -1;
445 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops = -1;
446 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata = -1;
447 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2 = -1;
448 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3 = -1;
449 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2 = -1;
450 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2 = -1;
451 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02 = -1;
452 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04 = -1;
453 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05 = -1;
454 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06 = -1;
455 static int hf_drsuapi_DsReplicaGetInfo_bind_handle = -1;
456 static int hf_drsuapi_DsReplicaGetInfo_level = -1;
457 static int hf_drsuapi_DsReplicaGetInfo_req = -1;
458 static int hf_drsuapi_DsReplicaGetInfo_info_type = -1;
459 static int hf_drsuapi_DsReplicaGetInfo_info = -1;
460 /* END OF INCLUDED FILE : ETH_HF */
466 /* INCLUDED FILE : ETH_ETT */
467 static gint ett_drsuapi = -1;
468 static gint ett_drsuapi_SupportedExtensions = -1;
469 static gint ett_drsuapi_DsBindInfo24 = -1;
470 static gint ett_drsuapi_DsBindInfo28 = -1;
471 static gint ett_drsuapi_DsBindInfo = -1;
472 static gint ett_drsuapi_DsBindInfoCtr = -1;
473 static gint ett_drsuapi_DsReplicaSyncRequest1Info = -1;
474 static gint ett_drsuapi_DsReplicaSyncOptions = -1;
475 static gint ett_drsuapi_DsReplicaSyncRequest1 = -1;
476 static gint ett_drsuapi_DsReplicaSyncRequest = -1;
477 static gint ett_drsuapi_DsGetNCChangesUsnTriple = -1;
478 static gint ett_drsuapi_DsReplicaCoursor = -1;
479 static gint ett_drsuapi_DsReplicaCoursor05Ctr = -1;
480 static gint ett_drsuapi_DsGetNCChangesRequest5 = -1;
481 static gint ett_drsuapi_DsGetNCChangesRequest_Ctr14 = -1;
482 static gint ett_drsuapi_DsGetNCChangesRequest_Ctr13 = -1;
483 static gint ett_drsuapi_DsGetNCChangesRequest_Ctr12 = -1;
484 static gint ett_drsuapi_DsGetNCChangesRequest8 = -1;
485 static gint ett_drsuapi_DsGetNCChangesRequest = -1;
486 static gint ett_drsuapi_DsReplicaCoursorEx = -1;
487 static gint ett_drsuapi_DsReplicaCoursorEx05Ctr = -1;
488 static gint ett_drsuapi_DsGetNCChangesCtr6 = -1;
489 static gint ett_drsuapi_DsGetNCChangesCtr7 = -1;
490 static gint ett_drsuapi_DsGetNCChangesCtr = -1;
491 static gint ett_drsuapi_DsReplicaUpdateRefsOptions = -1;
492 static gint ett_drsuapi_DsReplicaUpdateRefsRequest1 = -1;
493 static gint ett_drsuapi_DsReplicaUpdateRefsRequest = -1;
494 static gint ett_drsuapi_DsReplicaAddOptions = -1;
495 static gint ett_drsuapi_DsReplicaDeleteOptions = -1;
496 static gint ett_drsuapi_DsReplicaModifyOptions = -1;
497 static gint ett_drsuapi_DsNameString = -1;
498 static gint ett_drsuapi_DsNameRequest1 = -1;
499 static gint ett_drsuapi_DsNameRequest = -1;
500 static gint ett_drsuapi_DsNameInfo1 = -1;
501 static gint ett_drsuapi_DsNameCtr1 = -1;
502 static gint ett_drsuapi_DsNameCtr = -1;
503 static gint ett_drsuapi_DsWriteAccountSpnRequest1 = -1;
504 static gint ett_drsuapi_DsWriteAccountSpnRequest = -1;
505 static gint ett_drsuapi_DsWriteAccountSpnResult1 = -1;
506 static gint ett_drsuapi_DsWriteAccountSpnResult = -1;
507 static gint ett_drsuapi_DsGetDCInfoRequest1 = -1;
508 static gint ett_drsuapi_DsGetDCInfoRequest = -1;
509 static gint ett_drsuapi_DsGetDCInfo1 = -1;
510 static gint ett_drsuapi_DsGetDCInfoCtr1 = -1;
511 static gint ett_drsuapi_DsGetDCInfo2 = -1;
512 static gint ett_drsuapi_DsGetDCInfoCtr2 = -1;
513 static gint ett_drsuapi_DsGetDCInfo01 = -1;
514 static gint ett_drsuapi_DsGetDCInfoCtr01 = -1;
515 static gint ett_drsuapi_DsGetDCInfoCtr = -1;
516 static gint ett_drsuapi_DsReplicaGetInfoRequest1 = -1;
517 static gint ett_drsuapi_DsReplicaGetInfoRequest2 = -1;
518 static gint ett_drsuapi_DsReplicaGetInfoRequest = -1;
519 static gint ett_drsuapi_DsReplicaNeighbour = -1;
520 static gint ett_drsuapi_DsReplicaNeighbourCtr = -1;
521 static gint ett_drsuapi_DsReplicaCoursorCtr = -1;
522 static gint ett_drsuapi_DsReplicaObjMetaData = -1;
523 static gint ett_drsuapi_DsReplicaObjMetaDataCtr = -1;
524 static gint ett_drsuapi_DsReplicaKccDsaFailure = -1;
525 static gint ett_drsuapi_DsReplicaKccDsaFailuresCtr = -1;
526 static gint ett_drsuapi_DsRplicaOpOptions = -1;
527 static gint ett_drsuapi_DsReplicaOp = -1;
528 static gint ett_drsuapi_DsReplicaOpCtr = -1;
529 static gint ett_drsuapi_DsReplicaAttrValMetaData = -1;
530 static gint ett_drsuapi_DsReplicaAttrValMetaDataCtr = -1;
531 static gint ett_drsuapi_DsReplicaCoursor2 = -1;
532 static gint ett_drsuapi_DsReplicaCoursor2Ctr = -1;
533 static gint ett_drsuapi_DsReplicaCoursor3 = -1;
534 static gint ett_drsuapi_DsReplicaCoursor3Ctr = -1;
535 static gint ett_drsuapi_DsReplicaObjMetaData2 = -1;
536 static gint ett_drsuapi_DsReplicaObjMetaData2Ctr = -1;
537 static gint ett_drsuapi_DsReplicaAttrValMetaData2 = -1;
538 static gint ett_drsuapi_DsReplicaAttrValMetaData2Ctr = -1;
539 static gint ett_drsuapi_DsReplicaConnection04 = -1;
540 static gint ett_drsuapi_DsReplicaConnection04Ctr = -1;
541 static gint ett_drsuapi_DsReplica06 = -1;
542 static gint ett_drsuapi_DsReplica06Ctr = -1;
543 static gint ett_drsuapi_DsReplicaInfo = -1;
544 /* END OF INCLUDED FILE : ETH_ETT */
548 static int
549 ucarray_drsuapi_dissect_DsReplicaSyncRequest1Info_nc_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
551 static guint32 len;
552 int old_offset;
554 if(di->conformant_run){
555 /*just a run to handle conformant arrays, nothing to dissect
556 but we need to remember how long this array was.
557 see packet-dcerpc.c for examples of conformant_run
558 and what it is.
560 old_offset=offset;
561 offset=dissect_dcerpc_uint32(tvb, offset, pinfo, NULL, drep, -1, &len);
562 di->array_max_count_offset=offset-4;
563 di->conformant_run=1;
564 di->conformant_eaten=offset-old_offset;
565 return offset;
568 ALIGN_TO_2_BYTES;
570 if (tree && len) {
571 proto_tree_add_item(tree, hf_drsuapi_DsReplicaSyncRequest1Info_nc_dn, tvb, offset,
572 len*2, ENC_UTF_16|ENC_LITTLE_ENDIAN);
575 offset+=2*len;
576 return offset;
579 static int
580 drsuapi_dissect_a_string(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, guint8 *drep, int hf_index, guint32 param _U_)
582 offset=dissect_ndr_vstring(tvb, offset, pinfo, tree, di, drep, 1, hf_index, FALSE, NULL);
583 return offset;
588 /* INCLUDED FILE : ETH_CODE */
589 static e_uuid_t uuid_dcerpc_drsuapi = {
590 0xe3514235, 0x4b06, 0x11d1,
591 { 0xab, 0x04, 0x00, 0xc0, 0x4f, 0xc2, 0xdc, 0xd2}
594 static guint16 ver_drsuapi = 4;
596 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_BASE_tfs = {
597 "DRSUAPI_SUPPORTED_EXTENSION_BASE is SET",
598 "DRSUAPI_SUPPORTED_EXTENSION_BASE is NOT set"
601 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION_tfs = {
602 "DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION is SET",
603 "DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION is NOT set"
606 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI_tfs = {
607 "DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI is SET",
608 "DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI is NOT set"
611 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2_tfs = {
612 "DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 is SET",
613 "DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 is NOT set"
616 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS_tfs = {
617 "DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS is SET",
618 "DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS is NOT set"
621 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1_tfs = {
622 "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 is SET",
623 "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 is NOT set"
626 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION_tfs = {
627 "DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION is SET",
628 "DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION is NOT set"
631 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_00000080_tfs = {
632 "DRSUAPI_SUPPORTED_EXTENSION_00000080 is SET",
633 "DRSUAPI_SUPPORTED_EXTENSION_00000080 is NOT set"
636 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE_tfs = {
637 "DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE is SET",
638 "DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE is NOT set"
641 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2_tfs = {
642 "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 is SET",
643 "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 is NOT set"
646 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION_tfs = {
647 "DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION is SET",
648 "DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION is NOT set"
651 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2_tfs = {
652 "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 is SET",
653 "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 is NOT set"
656 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD_tfs = {
657 "DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD is SET",
658 "DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD is NOT set"
661 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND_tfs = {
662 "DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND is SET",
663 "DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND is NOT set"
666 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO_tfs = {
667 "DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO is SET",
668 "DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO is NOT set"
671 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION_tfs = {
672 "DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION is SET",
673 "DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION is NOT set"
676 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01_tfs = {
677 "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 is SET",
678 "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 is NOT set"
681 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP_tfs = {
682 "DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP is SET",
683 "DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP is NOT set"
686 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY_tfs = {
687 "DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY is SET",
688 "DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY is NOT set"
691 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3_tfs = {
692 "DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 is SET",
693 "DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 is NOT set"
696 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_00100000_tfs = {
697 "DRSUAPI_SUPPORTED_EXTENSION_00100000 is SET",
698 "DRSUAPI_SUPPORTED_EXTENSION_00100000 is NOT set"
701 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2_tfs = {
702 "DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 is SET",
703 "DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 is NOT set"
706 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6_tfs = {
707 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 is SET",
708 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 is NOT set"
711 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS_tfs = {
712 "DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS is SET",
713 "DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS is NOT set"
716 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8_tfs = {
717 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 is SET",
718 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 is NOT set"
721 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5_tfs = {
722 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 is SET",
723 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 is NOT set"
726 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6_tfs = {
727 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 is SET",
728 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 is NOT set"
731 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3_tfs = {
732 "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 is SET",
733 "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 is NOT set"
736 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7_tfs = {
737 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7 is SET",
738 "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7 is NOT set"
741 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT_tfs = {
742 "DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT is SET",
743 "DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT is NOT set"
746 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS_tfs = {
747 "DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS is SET",
748 "DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS is NOT set"
751 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_20000000_tfs = {
752 "DRSUAPI_SUPPORTED_EXTENSION_20000000 is SET",
753 "DRSUAPI_SUPPORTED_EXTENSION_20000000 is NOT set"
756 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_40000000_tfs = {
757 "DRSUAPI_SUPPORTED_EXTENSION_40000000 is SET",
758 "DRSUAPI_SUPPORTED_EXTENSION_40000000 is NOT set"
761 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_80000000_tfs = {
762 "DRSUAPI_SUPPORTED_EXTENSION_80000000 is SET",
763 "DRSUAPI_SUPPORTED_EXTENSION_80000000 is NOT set"
768 drsuapi_dissect_SupportedExtensions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
770 proto_item *item=NULL;
771 proto_tree *tree=NULL;
772 guint32 flags;
774 ALIGN_TO_4_BYTES;
776 if(parent_tree){
777 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, ENC_LITTLE_ENDIAN);
778 tree=proto_item_add_subtree(item, ett_drsuapi_SupportedExtensions);
781 offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, di, drep, -1, &flags);
784 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE, tvb, offset-4, 4, flags);
785 if(flags&0x00000001){
786 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_BASE");
788 flags&=(~0x00000001);
790 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION, tvb, offset-4, 4, flags);
791 if(flags&0x00000002){
792 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION");
794 flags&=(~0x00000002);
796 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI, tvb, offset-4, 4, flags);
797 if(flags&0x00000004){
798 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI");
800 flags&=(~0x00000004);
802 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2, tvb, offset-4, 4, flags);
803 if(flags&0x00000008){
804 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2");
806 flags&=(~0x00000008);
808 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS, tvb, offset-4, 4, flags);
809 if(flags&0x00000010){
810 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS");
812 flags&=(~0x00000010);
814 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1, tvb, offset-4, 4, flags);
815 if(flags&0x00000020){
816 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1");
818 flags&=(~0x00000020);
820 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION, tvb, offset-4, 4, flags);
821 if(flags&0x00000040){
822 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION");
824 flags&=(~0x00000040);
826 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00000080, tvb, offset-4, 4, flags);
827 if(flags&0x00000080){
828 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_00000080");
830 flags&=(~0x00000080);
832 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE, tvb, offset-4, 4, flags);
833 if(flags&0x00000100){
834 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE");
836 flags&=(~0x00000100);
838 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2, tvb, offset-4, 4, flags);
839 if(flags&0x00000200){
840 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2");
842 flags&=(~0x00000200);
844 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION, tvb, offset-4, 4, flags);
845 if(flags&0x00000400){
846 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION");
848 flags&=(~0x00000400);
850 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2, tvb, offset-4, 4, flags);
851 if(flags&0x00000800){
852 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2");
854 flags&=(~0x00000800);
856 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD, tvb, offset-4, 4, flags);
857 if(flags&0x00001000){
858 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD");
860 flags&=(~0x00001000);
862 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND, tvb, offset-4, 4, flags);
863 if(flags&0x00002000){
864 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND");
866 flags&=(~0x00002000);
868 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO, tvb, offset-4, 4, flags);
869 if(flags&0x00004000){
870 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO");
872 flags&=(~0x00004000);
874 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION, tvb, offset-4, 4, flags);
875 if(flags&0x00008000){
876 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION");
878 flags&=(~0x00008000);
880 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01, tvb, offset-4, 4, flags);
881 if(flags&0x00010000){
882 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01");
884 flags&=(~0x00010000);
886 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP, tvb, offset-4, 4, flags);
887 if(flags&0x00020000){
888 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP");
890 flags&=(~0x00020000);
892 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY, tvb, offset-4, 4, flags);
893 if(flags&0x00040000){
894 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY");
896 flags&=(~0x00040000);
898 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3, tvb, offset-4, 4, flags);
899 if(flags&0x00080000){
900 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3");
902 flags&=(~0x00080000);
904 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00100000, tvb, offset-4, 4, flags);
905 if(flags&0x00100000){
906 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_00100000");
908 flags&=(~0x00100000);
910 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2, tvb, offset-4, 4, flags);
911 if(flags&0x00200000){
912 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2");
914 flags&=(~0x00200000);
916 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6, tvb, offset-4, 4, flags);
917 if(flags&0x00400000){
918 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6");
920 flags&=(~0x00400000);
922 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS, tvb, offset-4, 4, flags);
923 if(flags&0x00800000){
924 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS");
926 flags&=(~0x00800000);
928 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8, tvb, offset-4, 4, flags);
929 if(flags&0x01000000){
930 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8");
932 flags&=(~0x01000000);
934 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5, tvb, offset-4, 4, flags);
935 if(flags&0x02000000){
936 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5");
938 flags&=(~0x02000000);
940 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6, tvb, offset-4, 4, flags);
941 if(flags&0x04000000){
942 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6");
944 flags&=(~0x04000000);
946 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3, tvb, offset-4, 4, flags);
947 if(flags&0x08000000){
948 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3");
950 flags&=(~0x08000000);
952 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7, tvb, offset-4, 4, flags);
953 if(flags&0x08000000){
954 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7");
956 flags&=(~0x08000000);
958 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT, tvb, offset-4, 4, flags);
959 if(flags&0x08000000){
960 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT");
962 flags&=(~0x08000000);
964 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS, tvb, offset-4, 4, flags);
965 if(flags&0x10000000){
966 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS");
968 flags&=(~0x10000000);
970 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_20000000, tvb, offset-4, 4, flags);
971 if(flags&0x20000000){
972 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_20000000");
974 flags&=(~0x20000000);
976 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_40000000, tvb, offset-4, 4, flags);
977 if(flags&0x40000000){
978 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_40000000");
980 flags&=(~0x40000000);
982 proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_80000000, tvb, offset-4, 4, flags);
983 if(flags&0x80000000){
984 proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_80000000");
986 flags&=(~0x80000000);
988 if(flags){
989 proto_item_append_text(item, "UNKNOWN-FLAGS");
992 return offset;
994 static int
995 drsuapi_dissect_DsBindInfo24_supported_extensions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
997 guint32 param=0;
998 offset=drsuapi_dissect_SupportedExtensions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsBindInfo24_supported_extensions, param);
999 return offset;
1003 static int
1004 drsuapi_dissect_GUID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, guint8 *drep, int hf_index, guint32 param _U_)
1006 offset=dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
1007 return offset;
1010 static int
1011 drsuapi_dissect_DsBindInfo24_site_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1013 guint32 param=0;
1014 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsBindInfo24_site_guid, param);
1015 return offset;
1019 static int
1020 drsuapi_dissect_uint32(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, guint8 *drep, int hf_index, guint32 param _U_)
1022 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
1023 return offset;
1026 static int
1027 drsuapi_dissect_DsBindInfo24_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1029 guint32 param=0;
1030 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsBindInfo24_u1, param);
1031 return offset;
1036 drsuapi_dissect_DsBindInfo24(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
1038 proto_item *item=NULL;
1039 proto_tree *tree=NULL;
1040 int old_offset;
1042 ALIGN_TO_4_BYTES;
1044 old_offset=offset;
1045 if(parent_tree){
1046 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1047 tree=proto_item_add_subtree(item, ett_drsuapi_DsBindInfo24);
1050 offset=drsuapi_dissect_DsBindInfo24_supported_extensions(tvb, offset, pinfo, tree, di, drep);
1052 offset=drsuapi_dissect_DsBindInfo24_site_guid(tvb, offset, pinfo, tree, di, drep);
1054 offset=drsuapi_dissect_DsBindInfo24_u1(tvb, offset, pinfo, tree, di, drep);
1056 proto_item_set_len(item, offset-old_offset);
1058 return offset;
1060 static int
1061 drsuapi_dissect_DsBindInfo28_supported_extensions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1063 guint32 param=0;
1064 offset=drsuapi_dissect_SupportedExtensions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsBindInfo28_supported_extensions, param);
1065 return offset;
1068 static int
1069 drsuapi_dissect_DsBindInfo28_site_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1071 guint32 param=0;
1072 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsBindInfo28_site_guid, param);
1073 return offset;
1076 static int
1077 drsuapi_dissect_DsBindInfo28_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1079 guint32 param=0;
1080 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsBindInfo28_u1, param);
1081 return offset;
1084 static int
1085 drsuapi_dissect_DsBindInfo28_repl_epoch(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1087 guint32 param=0;
1088 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsBindInfo28_repl_epoch, param);
1089 return offset;
1094 drsuapi_dissect_DsBindInfo28(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
1096 proto_item *item=NULL;
1097 proto_tree *tree=NULL;
1098 int old_offset;
1100 ALIGN_TO_4_BYTES;
1102 old_offset=offset;
1103 if(parent_tree){
1104 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1105 tree=proto_item_add_subtree(item, ett_drsuapi_DsBindInfo28);
1108 offset=drsuapi_dissect_DsBindInfo28_supported_extensions(tvb, offset, pinfo, tree, di, drep);
1110 offset=drsuapi_dissect_DsBindInfo28_site_guid(tvb, offset, pinfo, tree, di, drep);
1112 offset=drsuapi_dissect_DsBindInfo28_u1(tvb, offset, pinfo, tree, di, drep);
1114 offset=drsuapi_dissect_DsBindInfo28_repl_epoch(tvb, offset, pinfo, tree, di, drep);
1116 proto_item_set_len(item, offset-old_offset);
1118 return offset;
1120 static int
1121 drsuapi_dissect_union_DsBindInfo_24_info24(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1123 guint32 param=0;
1124 offset=drsuapi_dissect_DsBindInfo24(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsBindInfo_24_info24, param);
1125 return offset;
1128 static int
1129 drsuapi_dissect_union_DsBindInfo_28_info28(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1131 guint32 param=0;
1132 offset=drsuapi_dissect_DsBindInfo28(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsBindInfo_28_info28, param);
1133 return offset;
1137 static int
1138 drsuapi_dissect_union_DsBindInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
1140 proto_item *item=NULL;
1141 proto_tree *tree=NULL;
1142 int old_offset;
1143 guint32 level = 0;
1145 ALIGN_TO_4_BYTES;
1147 old_offset=offset;
1148 if(parent_tree){
1149 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsBindInfo");
1150 tree=proto_item_add_subtree(item, ett_drsuapi_DsBindInfo);
1153 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
1154 di, drep, hf_index, &level);
1156 switch(level){
1157 case 24:
1158 ALIGN_TO_4_BYTES;
1159 offset=drsuapi_dissect_union_DsBindInfo_24_info24(tvb, offset, pinfo, tree, di, drep);
1160 break;
1162 case 28:
1163 ALIGN_TO_4_BYTES;
1164 offset=drsuapi_dissect_union_DsBindInfo_28_info28(tvb, offset, pinfo, tree, di, drep);
1165 break;
1169 proto_item_set_len(item, offset-old_offset);
1171 return offset;
1173 static int
1174 drsuapi_dissect_DsBindInfoCtr_length(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1176 guint32 param=0;
1177 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsBindInfoCtr_length, param);
1178 return offset;
1181 static int
1182 drsuapi_dissect_DsBindInfoCtr_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1184 guint32 param=0;
1185 offset=drsuapi_dissect_union_DsBindInfo(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsBindInfoCtr_info, param);
1186 return offset;
1191 drsuapi_dissect_DsBindInfoCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
1193 proto_item *item=NULL;
1194 proto_tree *tree=NULL;
1195 int old_offset;
1197 ALIGN_TO_4_BYTES;
1199 old_offset=offset;
1200 if(parent_tree){
1201 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1202 tree=proto_item_add_subtree(item, ett_drsuapi_DsBindInfoCtr);
1205 offset=drsuapi_dissect_DsBindInfoCtr_length(tvb, offset, pinfo, tree, di, drep);
1207 offset=drsuapi_dissect_DsBindInfoCtr_info(tvb, offset, pinfo, tree, di, drep);
1209 proto_item_set_len(item, offset-old_offset);
1211 return offset;
1213 static int
1214 drsuapi_dissect_DsBind_bind_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1216 guint32 param=0;
1217 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsBind_bind_guid, param);
1218 return offset;
1221 static int
1222 unique_drsuapi_dissect_DsBind_bind_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1224 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsBind_bind_guid, NDR_POINTER_UNIQUE, "bind_guid", -1);
1225 return offset;
1228 static int
1229 drsuapi_dissect_DsBind_bind_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1231 guint32 param=0;
1232 offset=drsuapi_dissect_DsBindInfoCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsBind_bind_info, param);
1233 return offset;
1236 static int
1237 unique_drsuapi_dissect_DsBind_bind_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1239 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsBind_bind_info, NDR_POINTER_UNIQUE, "bind_info", -1);
1240 return offset;
1244 static e_ctx_hnd policy_hnd;
1245 static proto_item *hnd_item;
1247 static int
1248 drsuapi_dissect_policy_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param)
1250 offset = dissect_nt_policy_hnd(tvb, offset, pinfo, tree, di, drep,
1251 hf_index, &policy_hnd, &hnd_item,
1252 param&0x01, param&0x02);
1253 return offset;
1256 static int
1257 drsuapi_dissect_DsBind_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1259 guint32 param=0;
1260 offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsBind_bind_handle, param);
1261 return offset;
1264 static int
1265 ref_drsuapi_dissect_DsBind_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1267 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsBind_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
1268 return offset;
1272 static int
1273 drsuapi_dissect_DsBind_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1275 offset=unique_drsuapi_dissect_DsBind_bind_guid(tvb, offset, pinfo, tree, di, drep);
1276 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1278 offset=unique_drsuapi_dissect_DsBind_bind_info(tvb, offset, pinfo, tree, di, drep);
1279 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1282 return offset;
1285 static int
1286 drsuapi_dissect_DsBind_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1288 offset=unique_drsuapi_dissect_DsBind_bind_info(tvb, offset, pinfo, tree, di, drep);
1289 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1291 offset=ref_drsuapi_dissect_DsBind_bind_handle(tvb, offset, pinfo, tree, di, drep);
1292 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1294 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
1297 return offset;
1299 static int
1300 drsuapi_dissect_DsUnbind_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1302 guint32 param=0;
1303 offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsUnbind_bind_handle, param);
1304 return offset;
1307 static int
1308 ref_drsuapi_dissect_DsUnbind_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1310 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsUnbind_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
1311 return offset;
1315 static int
1316 drsuapi_dissect_DsUnbind_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1318 offset=ref_drsuapi_dissect_DsUnbind_bind_handle(tvb, offset, pinfo, tree, di, drep);
1319 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1322 return offset;
1325 static int
1326 drsuapi_dissect_DsUnbind_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1328 offset=ref_drsuapi_dissect_DsUnbind_bind_handle(tvb, offset, pinfo, tree, di, drep);
1329 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1331 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
1334 return offset;
1336 static int
1337 drsuapi_dissect_DsReplicaSyncRequest1Info_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1339 guint32 param=0;
1340 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaSyncRequest1Info_unknown1, param);
1341 return offset;
1344 static int
1345 drsuapi_dissect_DsReplicaSyncRequest1Info_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1347 guint32 param=0;
1348 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaSyncRequest1Info_unknown2, param);
1349 return offset;
1352 static int
1353 drsuapi_dissect_DsReplicaSyncRequest1Info_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1355 guint32 param=0;
1356 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaSyncRequest1Info_guid1, param);
1357 return offset;
1361 static int
1362 drsuapi_dissect_uint8(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
1364 offset=dissect_ndr_uint8(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
1365 return offset;
1368 static int
1369 drsuapi_dissect_DsReplicaSyncRequest1Info_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1371 guint32 param=0;
1372 offset=drsuapi_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaSyncRequest1Info_byte_array, param);
1373 return offset;
1376 static int
1377 fixedarray_drsuapi_dissect_DsReplicaSyncRequest1Info_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1379 int count=28;
1380 while(count--){
1381 offset=drsuapi_dissect_DsReplicaSyncRequest1Info_byte_array(tvb, offset, pinfo, tree, di, drep);
1384 return offset;
1387 static int
1388 drsuapi_dissect_DsReplicaSyncRequest1Info_str_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1390 guint32 param=0;
1391 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaSyncRequest1Info_str_len, param);
1392 return offset;
1396 static int
1397 drsuapi_dissect_uint16(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
1399 offset=dissect_ndr_uint16(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
1400 return offset;
1405 drsuapi_dissect_DsReplicaSyncRequest1Info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
1407 proto_item *item=NULL;
1408 proto_tree *tree=NULL;
1409 int old_offset;
1411 ALIGN_TO_4_BYTES;
1413 old_offset=offset;
1414 if(parent_tree){
1415 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1416 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaSyncRequest1Info);
1419 offset=drsuapi_dissect_DsReplicaSyncRequest1Info_unknown1(tvb, offset, pinfo, tree, di, drep);
1421 offset=drsuapi_dissect_DsReplicaSyncRequest1Info_unknown2(tvb, offset, pinfo, tree, di, drep);
1423 offset=drsuapi_dissect_DsReplicaSyncRequest1Info_guid1(tvb, offset, pinfo, tree, di, drep);
1425 offset=fixedarray_drsuapi_dissect_DsReplicaSyncRequest1Info_byte_array(tvb, offset, pinfo, tree, di, drep);
1427 offset=drsuapi_dissect_DsReplicaSyncRequest1Info_str_len(tvb, offset, pinfo, tree, di, drep);
1429 offset=ucarray_drsuapi_dissect_DsReplicaSyncRequest1Info_nc_dn(tvb, offset, pinfo, tree, di, drep);
1431 proto_item_set_len(item, offset-old_offset);
1433 return offset;
1435 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION_tfs = {
1436 "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION is SET",
1437 "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION is NOT set"
1440 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_WRITEABLE_tfs = {
1441 "DRSUAPI_DS_REPLICA_SYNC_WRITEABLE is SET",
1442 "DRSUAPI_DS_REPLICA_SYNC_WRITEABLE is NOT set"
1445 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_PERIODIC_tfs = {
1446 "DRSUAPI_DS_REPLICA_SYNC_PERIODIC is SET",
1447 "DRSUAPI_DS_REPLICA_SYNC_PERIODIC is NOT set"
1450 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING_tfs = {
1451 "DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING is SET",
1452 "DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING is NOT set"
1455 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES_tfs = {
1456 "DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES is SET",
1457 "DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES is NOT set"
1460 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_FULL_tfs = {
1461 "DRSUAPI_DS_REPLICA_SYNC_FULL is SET",
1462 "DRSUAPI_DS_REPLICA_SYNC_FULL is NOT set"
1465 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_URGENT_tfs = {
1466 "DRSUAPI_DS_REPLICA_SYNC_URGENT is SET",
1467 "DRSUAPI_DS_REPLICA_SYNC_URGENT is NOT set"
1470 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD_tfs = {
1471 "DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD is SET",
1472 "DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD is NOT set"
1475 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_FORCE_tfs = {
1476 "DRSUAPI_DS_REPLICA_SYNC_FORCE is SET",
1477 "DRSUAPI_DS_REPLICA_SYNC_FORCE is NOT set"
1480 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE_tfs = {
1481 "DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE is SET",
1482 "DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE is NOT set"
1485 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED_tfs = {
1486 "DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED is SET",
1487 "DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED is NOT set"
1490 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_TWO_WAY_tfs = {
1491 "DRSUAPI_DS_REPLICA_SYNC_TWO_WAY is SET",
1492 "DRSUAPI_DS_REPLICA_SYNC_TWO_WAY is NOT set"
1495 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY_tfs = {
1496 "DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY is SET",
1497 "DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY is NOT set"
1500 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_INITIAL_tfs = {
1501 "DRSUAPI_DS_REPLICA_SYNC_INITIAL is SET",
1502 "DRSUAPI_DS_REPLICA_SYNC_INITIAL is NOT set"
1505 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION_tfs = {
1506 "DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION is SET",
1507 "DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION is NOT set"
1510 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ABANDONED_tfs = {
1511 "DRSUAPI_DS_REPLICA_SYNC_ABANDONED is SET",
1512 "DRSUAPI_DS_REPLICA_SYNC_ABANDONED is NOT set"
1515 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS_tfs = {
1516 "DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS is SET",
1517 "DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS is NOT set"
1520 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET_tfs = {
1521 "DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET is SET",
1522 "DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET is NOT set"
1525 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_REQUEUE_tfs = {
1526 "DRSUAPI_DS_REPLICA_SYNC_REQUEUE is SET",
1527 "DRSUAPI_DS_REPLICA_SYNC_REQUEUE is NOT set"
1530 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION_tfs = {
1531 "DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION is SET",
1532 "DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION is NOT set"
1535 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA_tfs = {
1536 "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA is SET",
1537 "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA is NOT set"
1540 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_CRITICAL_tfs = {
1541 "DRSUAPI_DS_REPLICA_SYNC_CRITICAL is SET",
1542 "DRSUAPI_DS_REPLICA_SYNC_CRITICAL is NOT set"
1545 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS_tfs = {
1546 "DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS is SET",
1547 "DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS is NOT set"
1550 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_PREEMPTED_tfs = {
1551 "DRSUAPI_DS_REPLICA_SYNC_PREEMPTED is SET",
1552 "DRSUAPI_DS_REPLICA_SYNC_PREEMPTED is NOT set"
1557 drsuapi_dissect_DsReplicaSyncOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
1559 proto_item *item=NULL;
1560 proto_tree *tree=NULL;
1561 guint32 flags;
1563 ALIGN_TO_4_BYTES;
1565 if(parent_tree){
1566 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, ENC_LITTLE_ENDIAN);
1567 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaSyncOptions);
1570 offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, di, drep, -1, &flags);
1573 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
1574 if(flags&0x00000001){
1575 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION");
1577 flags&=(~0x00000001);
1579 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_WRITEABLE, tvb, offset-4, 4, flags);
1580 if(flags&0x00000002){
1581 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_WRITEABLE");
1583 flags&=(~0x00000002);
1585 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PERIODIC, tvb, offset-4, 4, flags);
1586 if(flags&0x00000004){
1587 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_PERIODIC");
1589 flags&=(~0x00000004);
1591 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING, tvb, offset-4, 4, flags);
1592 if(flags&0x00000008){
1593 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING");
1595 flags&=(~0x00000008);
1597 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES, tvb, offset-4, 4, flags);
1598 if(flags&0x00000010){
1599 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES");
1601 flags&=(~0x00000010);
1603 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL, tvb, offset-4, 4, flags);
1604 if(flags&0x00000020){
1605 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_FULL");
1607 flags&=(~0x00000020);
1609 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_URGENT, tvb, offset-4, 4, flags);
1610 if(flags&0x00000040){
1611 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_URGENT");
1613 flags&=(~0x00000040);
1615 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD, tvb, offset-4, 4, flags);
1616 if(flags&0x00000080){
1617 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD");
1619 flags&=(~0x00000080);
1621 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FORCE, tvb, offset-4, 4, flags);
1622 if(flags&0x00000100){
1623 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_FORCE");
1625 flags&=(~0x00000100);
1627 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE, tvb, offset-4, 4, flags);
1628 if(flags&0x00000200){
1629 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE");
1631 flags&=(~0x00000200);
1633 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED, tvb, offset-4, 4, flags);
1634 if(flags&0x00000400){
1635 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED");
1637 flags&=(~0x00000400);
1639 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_TWO_WAY, tvb, offset-4, 4, flags);
1640 if(flags&0x00000800){
1641 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_TWO_WAY");
1643 flags&=(~0x00000800);
1645 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY, tvb, offset-4, 4, flags);
1646 if(flags&0x00001000){
1647 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY");
1649 flags&=(~0x00001000);
1651 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL, tvb, offset-4, 4, flags);
1652 if(flags&0x00002000){
1653 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_INITIAL");
1655 flags&=(~0x00002000);
1657 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION, tvb, offset-4, 4, flags);
1658 if(flags&0x00004000){
1659 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION");
1661 flags&=(~0x00004000);
1663 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ABANDONED, tvb, offset-4, 4, flags);
1664 if(flags&0x00008000){
1665 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ABANDONED");
1667 flags&=(~0x00008000);
1669 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS, tvb, offset-4, 4, flags);
1670 if(flags&0x00010000){
1671 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS");
1673 flags&=(~0x00010000);
1675 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET, tvb, offset-4, 4, flags);
1676 if(flags&0x00020000){
1677 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET");
1679 flags&=(~0x00020000);
1681 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_REQUEUE, tvb, offset-4, 4, flags);
1682 if(flags&0x00040000){
1683 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_REQUEUE");
1685 flags&=(~0x00040000);
1687 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION, tvb, offset-4, 4, flags);
1688 if(flags&0x00080000){
1689 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION");
1691 flags&=(~0x00080000);
1693 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA, tvb, offset-4, 4, flags);
1694 if(flags&0x00100000){
1695 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA");
1697 flags&=(~0x00100000);
1699 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_CRITICAL, tvb, offset-4, 4, flags);
1700 if(flags&0x00200000){
1701 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_CRITICAL");
1703 flags&=(~0x00200000);
1705 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS, tvb, offset-4, 4, flags);
1706 if(flags&0x00400000){
1707 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS");
1709 flags&=(~0x00400000);
1711 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PREEMPTED, tvb, offset-4, 4, flags);
1712 if(flags&0x00800000){
1713 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_PREEMPTED");
1715 flags&=(~0x00800000);
1717 if(flags){
1718 proto_item_append_text(item, "UNKNOWN-FLAGS");
1721 return offset;
1723 static int
1724 drsuapi_dissect_DsReplicaSyncRequest1_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1726 guint32 param=0;
1727 offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaSyncRequest1_info, param);
1728 return offset;
1731 static int
1732 ref_drsuapi_dissect_DsReplicaSyncRequest1_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1734 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaSyncRequest1_info, NDR_POINTER_REF, "info", -1);
1735 return offset;
1738 static int
1739 drsuapi_dissect_DsReplicaSyncRequest1_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1741 guint32 param=0;
1742 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaSyncRequest1_guid1, param);
1743 return offset;
1746 static int
1747 drsuapi_dissect_DsReplicaSyncRequest1_string1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1749 guint32 param=0;
1750 offset=drsuapi_dissect_a_string(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaSyncRequest1_string1, param);
1751 return offset;
1754 static int
1755 unique_drsuapi_dissect_DsReplicaSyncRequest1_string1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1757 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaSyncRequest1_string1, NDR_POINTER_UNIQUE, "string1", -1);
1758 return offset;
1761 static int
1762 drsuapi_dissect_DsReplicaSyncRequest1_options(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1764 guint32 param=0;
1765 offset=drsuapi_dissect_DsReplicaSyncOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaSyncRequest1_options, param);
1766 return offset;
1771 drsuapi_dissect_DsReplicaSyncRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
1773 proto_item *item=NULL;
1774 proto_tree *tree=NULL;
1775 int old_offset;
1777 ALIGN_TO_4_BYTES;
1779 old_offset=offset;
1780 if(parent_tree){
1781 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1782 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaSyncRequest1);
1785 offset=ref_drsuapi_dissect_DsReplicaSyncRequest1_info(tvb, offset, pinfo, tree, di, drep);
1787 offset=drsuapi_dissect_DsReplicaSyncRequest1_guid1(tvb, offset, pinfo, tree, di, drep);
1789 offset=unique_drsuapi_dissect_DsReplicaSyncRequest1_string1(tvb, offset, pinfo, tree, di, drep);
1791 offset=drsuapi_dissect_DsReplicaSyncRequest1_options(tvb, offset, pinfo, tree, di, drep);
1793 proto_item_set_len(item, offset-old_offset);
1795 return offset;
1798 static int
1799 drsuapi_dissect_int32(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
1801 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
1802 return offset;
1805 static int
1806 drsuapi_dissect_union_DsReplicaSyncRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1808 guint32 param=0;
1809 offset=drsuapi_dissect_DsReplicaSyncRequest1(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaSyncRequest_1_req1, param);
1810 return offset;
1814 static int
1815 drsuapi_dissect_union_DsReplicaSyncRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
1817 proto_item *item=NULL;
1818 proto_tree *tree=NULL;
1819 int old_offset;
1820 guint32 level = 0;
1822 ALIGN_TO_4_BYTES;
1824 old_offset=offset;
1825 if(parent_tree){
1826 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsReplicaSyncRequest");
1827 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaSyncRequest);
1830 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
1831 di, drep, hf_index, &level);
1833 switch(level){
1834 case 1:
1835 ALIGN_TO_4_BYTES;
1836 offset=drsuapi_dissect_union_DsReplicaSyncRequest_1_req1(tvb, offset, pinfo, tree, di, drep);
1837 break;
1841 proto_item_set_len(item, offset-old_offset);
1843 return offset;
1845 static int
1846 drsuapi_dissect_DsReplicaSync_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1848 guint32 param=0;
1849 offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaSync_bind_handle, param);
1850 return offset;
1853 static int
1854 ref_drsuapi_dissect_DsReplicaSync_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1856 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaSync_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
1857 return offset;
1860 static int
1861 drsuapi_dissect_DsReplicaSync_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1863 guint32 param=0;
1864 offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaSync_level, param);
1865 return offset;
1868 static int
1869 drsuapi_dissect_DsReplicaSync_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1871 guint32 param=0;
1872 offset=drsuapi_dissect_union_DsReplicaSyncRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaSync_req, param);
1873 return offset;
1876 static int
1877 ref_drsuapi_dissect_DsReplicaSync_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1879 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaSync_req, NDR_POINTER_REF, "req", -1);
1880 return offset;
1884 static int
1885 drsuapi_dissect_DsReplicaSync_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1887 offset=ref_drsuapi_dissect_DsReplicaSync_bind_handle(tvb, offset, pinfo, tree, di, drep);
1888 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1890 offset=drsuapi_dissect_DsReplicaSync_level(tvb, offset, pinfo, tree, di, drep);
1891 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1893 offset=ref_drsuapi_dissect_DsReplicaSync_req(tvb, offset, pinfo, tree, di, drep);
1894 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1897 return offset;
1900 static int
1901 drsuapi_dissect_DsReplicaSync_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1903 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
1906 return offset;
1909 static int
1910 drsuapi_dissect_uint64(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
1913 ALIGN_TO_8_BYTES;
1914 offset=dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
1916 return offset;
1919 static int
1920 drsuapi_dissect_DsGetNCChangesUsnTriple_usn1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1922 guint32 param=0;
1923 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesUsnTriple_usn1, param);
1924 return offset;
1927 static int
1928 drsuapi_dissect_DsGetNCChangesUsnTriple_usn2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1930 guint32 param=0;
1931 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesUsnTriple_usn2, param);
1932 return offset;
1935 static int
1936 drsuapi_dissect_DsGetNCChangesUsnTriple_usn3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1938 guint32 param=0;
1939 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesUsnTriple_usn3, param);
1940 return offset;
1945 drsuapi_dissect_DsGetNCChangesUsnTriple(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
1947 proto_item *item=NULL;
1948 proto_tree *tree=NULL;
1949 int old_offset;
1951 ALIGN_TO_8_BYTES;
1953 old_offset=offset;
1954 if(parent_tree){
1955 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1956 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesUsnTriple);
1959 offset=drsuapi_dissect_DsGetNCChangesUsnTriple_usn1(tvb, offset, pinfo, tree, di, drep);
1961 offset=drsuapi_dissect_DsGetNCChangesUsnTriple_usn2(tvb, offset, pinfo, tree, di, drep);
1963 offset=drsuapi_dissect_DsGetNCChangesUsnTriple_usn3(tvb, offset, pinfo, tree, di, drep);
1965 proto_item_set_len(item, offset-old_offset);
1967 return offset;
1969 static int
1970 drsuapi_dissect_DsReplicaCoursor_source_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1972 guint32 param=0;
1973 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor_source_dsa_invocation_id, param);
1974 return offset;
1977 static int
1978 drsuapi_dissect_DsReplicaCoursor_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
1980 guint32 param=0;
1981 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor_highest_usn, param);
1982 return offset;
1987 drsuapi_dissect_DsReplicaCoursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
1989 proto_item *item=NULL;
1990 proto_tree *tree=NULL;
1991 int old_offset;
1993 ALIGN_TO_8_BYTES;
1995 old_offset=offset;
1996 if(parent_tree){
1997 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1998 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor);
2001 offset=drsuapi_dissect_DsReplicaCoursor_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
2003 offset=drsuapi_dissect_DsReplicaCoursor_highest_usn(tvb, offset, pinfo, tree, di, drep);
2005 proto_item_set_len(item, offset-old_offset);
2007 return offset;
2009 static int
2010 drsuapi_dissect_DsReplicaCoursor05Ctr_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2012 guint32 param=0;
2013 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor05Ctr_u1, param);
2014 return offset;
2017 static int
2018 drsuapi_dissect_DsReplicaCoursor05Ctr_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2020 guint32 param=0;
2021 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor05Ctr_u2, param);
2022 return offset;
2025 static int
2026 drsuapi_dissect_DsReplicaCoursor05Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2028 guint32 param=0;
2029 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor05Ctr_count, param);
2030 return offset;
2033 static int
2034 drsuapi_dissect_DsReplicaCoursor05Ctr_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2036 guint32 param=0;
2037 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor05Ctr_u3, param);
2038 return offset;
2041 static int
2042 drsuapi_dissect_DsReplicaCoursor05Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2044 guint32 param=0;
2045 offset=drsuapi_dissect_DsReplicaCoursor(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor05Ctr_array, param);
2046 return offset;
2049 static int
2050 ucarray_drsuapi_dissect_DsReplicaCoursor05Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2052 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaCoursor05Ctr_array);
2053 return offset;
2058 drsuapi_dissect_DsReplicaCoursor05Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
2060 proto_item *item=NULL;
2061 proto_tree *tree=NULL;
2062 int old_offset;
2064 ALIGN_TO_8_BYTES;
2066 old_offset=offset;
2067 if(parent_tree){
2068 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2069 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor05Ctr);
2072 offset=drsuapi_dissect_DsReplicaCoursor05Ctr_u1(tvb, offset, pinfo, tree, di, drep);
2074 offset=drsuapi_dissect_DsReplicaCoursor05Ctr_u2(tvb, offset, pinfo, tree, di, drep);
2076 offset=drsuapi_dissect_DsReplicaCoursor05Ctr_count(tvb, offset, pinfo, tree, di, drep);
2078 offset=drsuapi_dissect_DsReplicaCoursor05Ctr_u3(tvb, offset, pinfo, tree, di, drep);
2080 offset=ucarray_drsuapi_dissect_DsReplicaCoursor05Ctr_array(tvb, offset, pinfo, tree, di, drep);
2082 proto_item_set_len(item, offset-old_offset);
2084 return offset;
2086 static int
2087 drsuapi_dissect_DsGetNCChangesRequest5_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2089 guint32 param=0;
2090 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest5_guid1, param);
2091 return offset;
2094 static int
2095 drsuapi_dissect_DsGetNCChangesRequest5_guid2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2097 guint32 param=0;
2098 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest5_guid2, param);
2099 return offset;
2102 static int
2103 drsuapi_dissect_DsGetNCChangesRequest5_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2105 guint32 param=0;
2106 offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest5_sync_req_info1, param);
2107 return offset;
2110 static int
2111 ref_drsuapi_dissect_DsGetNCChangesRequest5_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2113 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetNCChangesRequest5_sync_req_info1, NDR_POINTER_REF, "sync_req_info1", -1);
2114 return offset;
2117 static int
2118 drsuapi_dissect_DsGetNCChangesRequest5_usn1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2120 guint32 param=0;
2121 offset=drsuapi_dissect_DsGetNCChangesUsnTriple(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest5_usn1, param);
2122 return offset;
2125 static int
2126 drsuapi_dissect_DsGetNCChangesRequest5_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2128 guint32 param=0;
2129 offset=drsuapi_dissect_DsReplicaCoursor05Ctr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest5_coursor, param);
2130 return offset;
2133 static int
2134 unique_drsuapi_dissect_DsGetNCChangesRequest5_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2136 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetNCChangesRequest5_coursor, NDR_POINTER_UNIQUE, "coursor", -1);
2137 return offset;
2140 static int
2141 drsuapi_dissect_DsGetNCChangesRequest5_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2143 guint32 param=0;
2144 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest5_unknown1, param);
2145 return offset;
2148 static int
2149 drsuapi_dissect_DsGetNCChangesRequest5_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2151 guint32 param=0;
2152 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest5_unknown2, param);
2153 return offset;
2156 static int
2157 drsuapi_dissect_DsGetNCChangesRequest5_unknown3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2159 guint32 param=0;
2160 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest5_unknown3, param);
2161 return offset;
2164 static int
2165 drsuapi_dissect_DsGetNCChangesRequest5_unknown4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2167 guint32 param=0;
2168 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest5_unknown4, param);
2169 return offset;
2172 static int
2173 drsuapi_dissect_DsGetNCChangesRequest5_h1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2175 guint32 param=0;
2176 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest5_h1, param);
2177 return offset;
2182 drsuapi_dissect_DsGetNCChangesRequest5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
2184 proto_item *item=NULL;
2185 proto_tree *tree=NULL;
2186 int old_offset;
2188 ALIGN_TO_8_BYTES;
2190 old_offset=offset;
2191 if(parent_tree){
2192 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2193 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest5);
2196 offset=drsuapi_dissect_DsGetNCChangesRequest5_guid1(tvb, offset, pinfo, tree, di, drep);
2198 offset=drsuapi_dissect_DsGetNCChangesRequest5_guid2(tvb, offset, pinfo, tree, di, drep);
2200 offset=ref_drsuapi_dissect_DsGetNCChangesRequest5_sync_req_info1(tvb, offset, pinfo, tree, di, drep);
2202 offset=drsuapi_dissect_DsGetNCChangesRequest5_usn1(tvb, offset, pinfo, tree, di, drep);
2204 offset=unique_drsuapi_dissect_DsGetNCChangesRequest5_coursor(tvb, offset, pinfo, tree, di, drep);
2206 offset=drsuapi_dissect_DsGetNCChangesRequest5_unknown1(tvb, offset, pinfo, tree, di, drep);
2208 offset=drsuapi_dissect_DsGetNCChangesRequest5_unknown2(tvb, offset, pinfo, tree, di, drep);
2210 offset=drsuapi_dissect_DsGetNCChangesRequest5_unknown3(tvb, offset, pinfo, tree, di, drep);
2212 offset=drsuapi_dissect_DsGetNCChangesRequest5_unknown4(tvb, offset, pinfo, tree, di, drep);
2214 offset=drsuapi_dissect_DsGetNCChangesRequest5_h1(tvb, offset, pinfo, tree, di, drep);
2216 proto_item_set_len(item, offset-old_offset);
2218 return offset;
2220 static int
2221 drsuapi_dissect_DsGetNCChangesRequest_Ctr14_length(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2223 guint32 param=0;
2224 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr14_length, param);
2225 return offset;
2228 static int
2229 drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2231 guint32 param=0;
2232 offset=drsuapi_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr14_byte_array, param);
2233 return offset;
2236 static int
2237 ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2239 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array);
2240 return offset;
2243 static int
2244 unique_ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2246 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array, NDR_POINTER_UNIQUE, "byte_array", -1);
2247 return offset;
2252 drsuapi_dissect_DsGetNCChangesRequest_Ctr14(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
2254 proto_item *item=NULL;
2255 proto_tree *tree=NULL;
2256 int old_offset;
2258 ALIGN_TO_4_BYTES;
2260 old_offset=offset;
2261 if(parent_tree){
2262 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2263 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest_Ctr14);
2266 offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr14_length(tvb, offset, pinfo, tree, di, drep);
2268 offset=unique_ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array(tvb, offset, pinfo, tree, di, drep);
2270 proto_item_set_len(item, offset-old_offset);
2272 return offset;
2274 static int
2275 drsuapi_dissect_DsGetNCChangesRequest_Ctr13_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2277 guint32 param=0;
2278 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr13_unknown1, param);
2279 return offset;
2282 static int
2283 drsuapi_dissect_DsGetNCChangesRequest_Ctr13_data(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2285 guint32 param=0;
2286 offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr14(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr13_data, param);
2287 return offset;
2292 drsuapi_dissect_DsGetNCChangesRequest_Ctr13(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
2294 proto_item *item=NULL;
2295 proto_tree *tree=NULL;
2296 int old_offset;
2298 ALIGN_TO_4_BYTES;
2300 old_offset=offset;
2301 if(parent_tree){
2302 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2303 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest_Ctr13);
2306 offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr13_unknown1(tvb, offset, pinfo, tree, di, drep);
2308 offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr13_data(tvb, offset, pinfo, tree, di, drep);
2310 proto_item_set_len(item, offset-old_offset);
2312 return offset;
2314 static int
2315 drsuapi_dissect_DsGetNCChangesRequest_Ctr12_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2317 guint32 param=0;
2318 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr12_count, param);
2319 return offset;
2322 static int
2323 drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2325 guint32 param=0;
2326 offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr13(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr12_array, param);
2327 return offset;
2330 static int
2331 ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2333 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array);
2334 return offset;
2337 static int
2338 unique_ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2340 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array, NDR_POINTER_UNIQUE, "array", -1);
2341 return offset;
2346 drsuapi_dissect_DsGetNCChangesRequest_Ctr12(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
2348 proto_item *item=NULL;
2349 proto_tree *tree=NULL;
2350 int old_offset;
2352 ALIGN_TO_4_BYTES;
2354 old_offset=offset;
2355 if(parent_tree){
2356 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2357 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest_Ctr12);
2360 offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr12_count(tvb, offset, pinfo, tree, di, drep);
2362 offset=unique_ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array(tvb, offset, pinfo, tree, di, drep);
2364 proto_item_set_len(item, offset-old_offset);
2366 return offset;
2368 static int
2369 drsuapi_dissect_DsGetNCChangesRequest8_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2371 guint32 param=0;
2372 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest8_guid1, param);
2373 return offset;
2376 static int
2377 drsuapi_dissect_DsGetNCChangesRequest8_guid2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2379 guint32 param=0;
2380 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest8_guid2, param);
2381 return offset;
2384 static int
2385 drsuapi_dissect_DsGetNCChangesRequest8_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2387 guint32 param=0;
2388 offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest8_sync_req_info1, param);
2389 return offset;
2392 static int
2393 ref_drsuapi_dissect_DsGetNCChangesRequest8_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2395 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetNCChangesRequest8_sync_req_info1, NDR_POINTER_REF, "sync_req_info1", -1);
2396 return offset;
2399 static int
2400 drsuapi_dissect_DsGetNCChangesRequest8_usn1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2402 guint32 param=0;
2403 offset=drsuapi_dissect_DsGetNCChangesUsnTriple(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest8_usn1, param);
2404 return offset;
2407 static int
2408 drsuapi_dissect_DsGetNCChangesRequest8_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2410 guint32 param=0;
2411 offset=drsuapi_dissect_DsReplicaCoursor05Ctr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest8_coursor, param);
2412 return offset;
2415 static int
2416 unique_drsuapi_dissect_DsGetNCChangesRequest8_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2418 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetNCChangesRequest8_coursor, NDR_POINTER_UNIQUE, "coursor", -1);
2419 return offset;
2422 static int
2423 drsuapi_dissect_DsGetNCChangesRequest8_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2425 guint32 param=0;
2426 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest8_unknown1, param);
2427 return offset;
2430 static int
2431 drsuapi_dissect_DsGetNCChangesRequest8_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2433 guint32 param=0;
2434 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest8_unknown2, param);
2435 return offset;
2438 static int
2439 drsuapi_dissect_DsGetNCChangesRequest8_unknown3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2441 guint32 param=0;
2442 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest8_unknown3, param);
2443 return offset;
2446 static int
2447 drsuapi_dissect_DsGetNCChangesRequest8_unknown4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2449 guint32 param=0;
2450 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest8_unknown4, param);
2451 return offset;
2454 static int
2455 drsuapi_dissect_DsGetNCChangesRequest8_h1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2457 guint32 param=0;
2458 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest8_h1, param);
2459 return offset;
2462 static int
2463 drsuapi_dissect_DsGetNCChangesRequest8_unique_ptr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2465 guint32 param=0;
2466 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest8_unique_ptr1, param);
2467 return offset;
2470 static int
2471 drsuapi_dissect_DsGetNCChangesRequest8_unique_ptr2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2473 guint32 param=0;
2474 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest8_unique_ptr2, param);
2475 return offset;
2478 static int
2479 drsuapi_dissect_DsGetNCChangesRequest8_ctr12(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2481 guint32 param=0;
2482 offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr12(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest8_ctr12, param);
2483 return offset;
2488 drsuapi_dissect_DsGetNCChangesRequest8(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
2490 proto_item *item=NULL;
2491 proto_tree *tree=NULL;
2492 int old_offset;
2494 ALIGN_TO_8_BYTES;
2496 old_offset=offset;
2497 if(parent_tree){
2498 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2499 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest8);
2502 offset=drsuapi_dissect_DsGetNCChangesRequest8_guid1(tvb, offset, pinfo, tree, di, drep);
2504 offset=drsuapi_dissect_DsGetNCChangesRequest8_guid2(tvb, offset, pinfo, tree, di, drep);
2506 offset=ref_drsuapi_dissect_DsGetNCChangesRequest8_sync_req_info1(tvb, offset, pinfo, tree, di, drep);
2508 offset=drsuapi_dissect_DsGetNCChangesRequest8_usn1(tvb, offset, pinfo, tree, di, drep);
2510 offset=unique_drsuapi_dissect_DsGetNCChangesRequest8_coursor(tvb, offset, pinfo, tree, di, drep);
2512 offset=drsuapi_dissect_DsGetNCChangesRequest8_unknown1(tvb, offset, pinfo, tree, di, drep);
2514 offset=drsuapi_dissect_DsGetNCChangesRequest8_unknown2(tvb, offset, pinfo, tree, di, drep);
2516 offset=drsuapi_dissect_DsGetNCChangesRequest8_unknown3(tvb, offset, pinfo, tree, di, drep);
2518 offset=drsuapi_dissect_DsGetNCChangesRequest8_unknown4(tvb, offset, pinfo, tree, di, drep);
2520 offset=drsuapi_dissect_DsGetNCChangesRequest8_h1(tvb, offset, pinfo, tree, di, drep);
2522 offset=drsuapi_dissect_DsGetNCChangesRequest8_unique_ptr1(tvb, offset, pinfo, tree, di, drep);
2524 offset=drsuapi_dissect_DsGetNCChangesRequest8_unique_ptr2(tvb, offset, pinfo, tree, di, drep);
2526 offset=drsuapi_dissect_DsGetNCChangesRequest8_ctr12(tvb, offset, pinfo, tree, di, drep);
2528 proto_item_set_len(item, offset-old_offset);
2530 return offset;
2532 static int
2533 drsuapi_dissect_union_DsGetNCChangesRequest_5_req5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2535 guint32 param=0;
2536 offset=drsuapi_dissect_DsGetNCChangesRequest5(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest_5_req5, param);
2537 return offset;
2540 static int
2541 drsuapi_dissect_union_DsGetNCChangesRequest_8_req8(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2543 guint32 param=0;
2544 offset=drsuapi_dissect_DsGetNCChangesRequest8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesRequest_8_req8, param);
2545 return offset;
2549 static int
2550 drsuapi_dissect_union_DsGetNCChangesRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
2552 proto_item *item=NULL;
2553 proto_tree *tree=NULL;
2554 int old_offset;
2555 guint32 level = 0;
2557 ALIGN_TO_4_BYTES;
2559 old_offset=offset;
2560 if(parent_tree){
2561 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsGetNCChangesRequest");
2562 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest);
2565 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
2566 di, drep, hf_index, &level);
2568 switch(level){
2569 case 5:
2570 ALIGN_TO_8_BYTES;
2571 offset=drsuapi_dissect_union_DsGetNCChangesRequest_5_req5(tvb, offset, pinfo, tree, di, drep);
2572 break;
2574 case 8:
2575 ALIGN_TO_8_BYTES;
2576 offset=drsuapi_dissect_union_DsGetNCChangesRequest_8_req8(tvb, offset, pinfo, tree, di, drep);
2577 break;
2581 proto_item_set_len(item, offset-old_offset);
2583 return offset;
2585 static int
2586 drsuapi_dissect_DsReplicaCoursorEx_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2588 guint32 param=0;
2589 offset=drsuapi_dissect_DsReplicaCoursor(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursorEx_coursor, param);
2590 return offset;
2594 static int
2595 drsuapi_dissect_NTTIME_1sec(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
2597 ALIGN_TO_8_BYTES;
2598 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_index);
2600 return offset;
2603 static int
2604 drsuapi_dissect_DsReplicaCoursorEx_time1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2606 guint32 param=0;
2607 offset=drsuapi_dissect_NTTIME_1sec(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursorEx_time1, param);
2608 return offset;
2613 drsuapi_dissect_DsReplicaCoursorEx(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
2615 proto_item *item=NULL;
2616 proto_tree *tree=NULL;
2617 int old_offset;
2619 ALIGN_TO_8_BYTES;
2621 old_offset=offset;
2622 if(parent_tree){
2623 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2624 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursorEx);
2627 offset=drsuapi_dissect_DsReplicaCoursorEx_coursor(tvb, offset, pinfo, tree, di, drep);
2629 offset=drsuapi_dissect_DsReplicaCoursorEx_time1(tvb, offset, pinfo, tree, di, drep);
2631 proto_item_set_len(item, offset-old_offset);
2633 return offset;
2635 static int
2636 drsuapi_dissect_DsReplicaCoursorEx05Ctr_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2638 guint32 param=0;
2639 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_u1, param);
2640 return offset;
2643 static int
2644 drsuapi_dissect_DsReplicaCoursorEx05Ctr_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2646 guint32 param=0;
2647 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_u2, param);
2648 return offset;
2651 static int
2652 drsuapi_dissect_DsReplicaCoursorEx05Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2654 guint32 param=0;
2655 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_count, param);
2656 return offset;
2659 static int
2660 drsuapi_dissect_DsReplicaCoursorEx05Ctr_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2662 guint32 param=0;
2663 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_u3, param);
2664 return offset;
2667 static int
2668 drsuapi_dissect_DsReplicaCoursorEx05Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2670 guint32 param=0;
2671 offset=drsuapi_dissect_DsReplicaCoursorEx(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_array, param);
2672 return offset;
2675 static int
2676 ucarray_drsuapi_dissect_DsReplicaCoursorEx05Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2678 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaCoursorEx05Ctr_array);
2679 return offset;
2684 drsuapi_dissect_DsReplicaCoursorEx05Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
2686 proto_item *item=NULL;
2687 proto_tree *tree=NULL;
2688 int old_offset;
2690 ALIGN_TO_8_BYTES;
2692 old_offset=offset;
2693 if(parent_tree){
2694 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2695 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursorEx05Ctr);
2698 offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr_u1(tvb, offset, pinfo, tree, di, drep);
2700 offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr_u2(tvb, offset, pinfo, tree, di, drep);
2702 offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr_count(tvb, offset, pinfo, tree, di, drep);
2704 offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr_u3(tvb, offset, pinfo, tree, di, drep);
2706 offset=ucarray_drsuapi_dissect_DsReplicaCoursorEx05Ctr_array(tvb, offset, pinfo, tree, di, drep);
2708 proto_item_set_len(item, offset-old_offset);
2710 return offset;
2712 static int
2713 drsuapi_dissect_DsGetNCChangesCtr6_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2715 guint32 param=0;
2716 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr6_guid1, param);
2717 return offset;
2720 static int
2721 drsuapi_dissect_DsGetNCChangesCtr6_guid2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2723 guint32 param=0;
2724 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr6_guid2, param);
2725 return offset;
2728 static int
2729 drsuapi_dissect_DsGetNCChangesCtr6_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2731 guint32 param=0;
2732 offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr6_sync_req_info1, param);
2733 return offset;
2736 static int
2737 unique_drsuapi_dissect_DsGetNCChangesCtr6_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2739 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetNCChangesCtr6_sync_req_info1, NDR_POINTER_UNIQUE, "sync_req_info1", -1);
2740 return offset;
2743 static int
2744 drsuapi_dissect_DsGetNCChangesCtr6_usn1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2746 guint32 param=0;
2747 offset=drsuapi_dissect_DsGetNCChangesUsnTriple(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr6_usn1, param);
2748 return offset;
2751 static int
2752 drsuapi_dissect_DsGetNCChangesCtr6_usn2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2754 guint32 param=0;
2755 offset=drsuapi_dissect_DsGetNCChangesUsnTriple(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr6_usn2, param);
2756 return offset;
2759 static int
2760 drsuapi_dissect_DsGetNCChangesCtr6_coursor_ex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2762 guint32 param=0;
2763 offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr6_coursor_ex, param);
2764 return offset;
2767 static int
2768 unique_drsuapi_dissect_DsGetNCChangesCtr6_coursor_ex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2770 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetNCChangesCtr6_coursor_ex, NDR_POINTER_UNIQUE, "coursor_ex", -1);
2771 return offset;
2774 static int
2775 drsuapi_dissect_DsGetNCChangesCtr6_ctr12(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2777 guint32 param=0;
2778 offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr12(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr6_ctr12, param);
2779 return offset;
2782 static int
2783 drsuapi_dissect_DsGetNCChangesCtr6_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2785 guint32 param=0;
2786 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr6_u1, param);
2787 return offset;
2790 static int
2791 fixedarray_drsuapi_dissect_DsGetNCChangesCtr6_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2793 int count=3;
2794 while(count--){
2795 offset=drsuapi_dissect_DsGetNCChangesCtr6_u1(tvb, offset, pinfo, tree, di, drep);
2798 return offset;
2801 static int
2802 drsuapi_dissect_DsGetNCChangesCtr6_ptr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2804 guint32 param=0;
2805 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr6_ptr1, param);
2806 return offset;
2809 static int
2810 drsuapi_dissect_DsGetNCChangesCtr6_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2812 guint32 param=0;
2813 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr6_u2, param);
2814 return offset;
2817 static int
2818 fixedarray_drsuapi_dissect_DsGetNCChangesCtr6_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2820 int count=3;
2821 while(count--){
2822 offset=drsuapi_dissect_DsGetNCChangesCtr6_u2(tvb, offset, pinfo, tree, di, drep);
2825 return offset;
2828 static int
2829 drsuapi_dissect_DsGetNCChangesCtr6_len1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2831 guint32 param=0;
2832 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr6_len1, param);
2833 return offset;
2836 static int
2837 drsuapi_dissect_DsGetNCChangesCtr6_array_ptr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2839 guint32 param=0;
2840 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr6_array_ptr1, param);
2841 return offset;
2844 static int
2845 drsuapi_dissect_DsGetNCChangesCtr6_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2847 guint32 param=0;
2848 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr6_u3, param);
2849 return offset;
2854 drsuapi_dissect_DsGetNCChangesCtr6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
2856 proto_item *item=NULL;
2857 proto_tree *tree=NULL;
2858 int old_offset;
2860 ALIGN_TO_8_BYTES;
2862 old_offset=offset;
2863 if(parent_tree){
2864 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2865 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesCtr6);
2868 offset=drsuapi_dissect_DsGetNCChangesCtr6_guid1(tvb, offset, pinfo, tree, di, drep);
2870 offset=drsuapi_dissect_DsGetNCChangesCtr6_guid2(tvb, offset, pinfo, tree, di, drep);
2872 offset=unique_drsuapi_dissect_DsGetNCChangesCtr6_sync_req_info1(tvb, offset, pinfo, tree, di, drep);
2874 offset=drsuapi_dissect_DsGetNCChangesCtr6_usn1(tvb, offset, pinfo, tree, di, drep);
2876 offset=drsuapi_dissect_DsGetNCChangesCtr6_usn2(tvb, offset, pinfo, tree, di, drep);
2878 offset=unique_drsuapi_dissect_DsGetNCChangesCtr6_coursor_ex(tvb, offset, pinfo, tree, di, drep);
2880 offset=drsuapi_dissect_DsGetNCChangesCtr6_ctr12(tvb, offset, pinfo, tree, di, drep);
2882 offset=fixedarray_drsuapi_dissect_DsGetNCChangesCtr6_u1(tvb, offset, pinfo, tree, di, drep);
2884 offset=drsuapi_dissect_DsGetNCChangesCtr6_ptr1(tvb, offset, pinfo, tree, di, drep);
2886 offset=fixedarray_drsuapi_dissect_DsGetNCChangesCtr6_u2(tvb, offset, pinfo, tree, di, drep);
2888 offset=drsuapi_dissect_DsGetNCChangesCtr6_len1(tvb, offset, pinfo, tree, di, drep);
2890 offset=drsuapi_dissect_DsGetNCChangesCtr6_array_ptr1(tvb, offset, pinfo, tree, di, drep);
2892 offset=drsuapi_dissect_DsGetNCChangesCtr6_u3(tvb, offset, pinfo, tree, di, drep);
2894 proto_item_set_len(item, offset-old_offset);
2896 return offset;
2900 drsuapi_dissect_DsGetNCChangesCtr7(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
2902 proto_item *item=NULL;
2903 proto_tree *tree=NULL;
2904 int old_offset;
2906 old_offset=offset;
2907 if(parent_tree){
2908 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2909 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesCtr7);
2912 proto_item_set_len(item, offset-old_offset);
2914 return offset;
2916 static int
2917 drsuapi_dissect_union_DsGetNCChangesCtr_6_ctr6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2919 guint32 param=0;
2920 offset=drsuapi_dissect_DsGetNCChangesCtr6(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr_6_ctr6, param);
2921 return offset;
2924 static int
2925 drsuapi_dissect_union_DsGetNCChangesCtr_7_ctr7(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2927 guint32 param=0;
2928 offset=drsuapi_dissect_DsGetNCChangesCtr7(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChangesCtr_7_ctr7, param);
2929 return offset;
2933 static int
2934 drsuapi_dissect_union_DsGetNCChangesCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
2936 proto_item *item=NULL;
2937 proto_tree *tree=NULL;
2938 int old_offset;
2939 guint32 level = 0;
2941 ALIGN_TO_4_BYTES;
2943 old_offset=offset;
2944 if(parent_tree){
2945 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsGetNCChangesCtr");
2946 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesCtr);
2949 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
2950 di, drep, hf_index, &level);
2952 switch(level){
2953 case 6:
2954 ALIGN_TO_8_BYTES;
2955 offset=drsuapi_dissect_union_DsGetNCChangesCtr_6_ctr6(tvb, offset, pinfo, tree, di, drep);
2956 break;
2958 case 7:
2959 offset=drsuapi_dissect_union_DsGetNCChangesCtr_7_ctr7(tvb, offset, pinfo, tree, di, drep);
2960 break;
2964 proto_item_set_len(item, offset-old_offset);
2966 return offset;
2968 static int
2969 drsuapi_dissect_DsGetNCChanges_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2971 guint32 param=0;
2972 offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChanges_bind_handle, param);
2973 return offset;
2976 static int
2977 ref_drsuapi_dissect_DsGetNCChanges_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2979 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetNCChanges_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
2980 return offset;
2983 static int
2984 drsuapi_dissect_DsGetNCChanges_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2986 guint32 param=0;
2987 offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChanges_level, param);
2988 return offset;
2991 static int
2992 drsuapi_dissect_DsGetNCChanges_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
2994 guint32 param=0;
2995 offset=drsuapi_dissect_union_DsGetNCChangesRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChanges_req, param);
2996 return offset;
2999 static int
3000 drsuapi_dissect_DsGetNCChanges_ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3002 guint32 param=0;
3003 offset=drsuapi_dissect_union_DsGetNCChangesCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetNCChanges_ctr, param);
3004 return offset;
3008 static int
3009 drsuapi_dissect_DsGetNCChanges_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3011 offset=ref_drsuapi_dissect_DsGetNCChanges_bind_handle(tvb, offset, pinfo, tree, di, drep);
3012 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3014 offset=drsuapi_dissect_DsGetNCChanges_level(tvb, offset, pinfo, tree, di, drep);
3015 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3017 offset=drsuapi_dissect_DsGetNCChanges_req(tvb, offset, pinfo, tree, di, drep);
3018 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3021 return offset;
3024 static int
3025 drsuapi_dissect_DsGetNCChanges_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3027 offset=drsuapi_dissect_DsGetNCChanges_level(tvb, offset, pinfo, tree, di, drep);
3028 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3030 offset=drsuapi_dissect_DsGetNCChanges_ctr(tvb, offset, pinfo, tree, di, drep);
3031 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3033 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
3036 return offset;
3038 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION_tfs = {
3039 "DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION is SET",
3040 "DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION is NOT set"
3043 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE_tfs = {
3044 "DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE is SET",
3045 "DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE is NOT set"
3048 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE_tfs = {
3049 "DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE is SET",
3050 "DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE is NOT set"
3053 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE_tfs = {
3054 "DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE is SET",
3055 "DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE is NOT set"
3058 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_0x00000010_tfs = {
3059 "DRSUAPI_DS_REPLICA_UPDATE_0x00000010 is SET",
3060 "DRSUAPI_DS_REPLICA_UPDATE_0x00000010 is NOT set"
3065 drsuapi_dissect_DsReplicaUpdateRefsOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3067 proto_item *item=NULL;
3068 proto_tree *tree=NULL;
3069 guint32 flags;
3071 ALIGN_TO_4_BYTES;
3073 if(parent_tree){
3074 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, ENC_LITTLE_ENDIAN);
3075 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaUpdateRefsOptions);
3078 offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, di, drep, -1, &flags);
3081 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
3082 if(flags&0x00000001){
3083 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION");
3085 flags&=(~0x00000001);
3087 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE, tvb, offset-4, 4, flags);
3088 if(flags&0x00000002){
3089 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE");
3091 flags&=(~0x00000002);
3093 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE, tvb, offset-4, 4, flags);
3094 if(flags&0x00000004){
3095 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE");
3097 flags&=(~0x00000004);
3099 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE, tvb, offset-4, 4, flags);
3100 if(flags&0x00000008){
3101 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE");
3103 flags&=(~0x00000008);
3105 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_0x00000010, tvb, offset-4, 4, flags);
3106 if(flags&0x00000010){
3107 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_0x00000010");
3109 flags&=(~0x00000010);
3111 if(flags){
3112 proto_item_append_text(item, "UNKNOWN-FLAGS");
3115 return offset;
3117 static int
3118 drsuapi_dissect_DsReplicaUpdateRefsRequest1_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3120 guint32 param=0;
3121 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown1, param);
3122 return offset;
3125 static int
3126 drsuapi_dissect_DsReplicaUpdateRefsRequest1_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3128 guint32 param=0;
3129 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown2, param);
3130 return offset;
3133 static int
3134 drsuapi_dissect_DsReplicaUpdateRefsRequest1_dest_dsa_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3136 guint32 param=0;
3137 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid, param);
3138 return offset;
3141 static int
3142 drsuapi_dissect_DsReplicaUpdateRefsRequest1_options(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3144 guint32 param=0;
3145 offset=drsuapi_dissect_DsReplicaUpdateRefsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_options, param);
3146 return offset;
3149 static int
3150 drsuapi_dissect_DsReplicaUpdateRefsRequest1_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3152 guint32 param=0;
3153 offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_sync_req_info1, param);
3154 return offset;
3158 static int
3159 drsuapi_dissect_ascstr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3161 offset=dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, 1, hf_index, FALSE, NULL);
3162 return offset;
3165 static int
3166 drsuapi_dissect_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3168 guint32 param=0;
3169 offset=drsuapi_dissect_ascstr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name, param);
3170 return offset;
3175 drsuapi_dissect_DsReplicaUpdateRefsRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3177 proto_item *item=NULL;
3178 proto_tree *tree=NULL;
3179 int old_offset;
3181 ALIGN_TO_4_BYTES;
3183 old_offset=offset;
3184 if(parent_tree){
3185 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3186 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaUpdateRefsRequest1);
3189 offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_unknown1(tvb, offset, pinfo, tree, di, drep);
3191 offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_unknown2(tvb, offset, pinfo, tree, di, drep);
3193 offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_dest_dsa_guid(tvb, offset, pinfo, tree, di, drep);
3195 offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_options(tvb, offset, pinfo, tree, di, drep);
3197 offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_sync_req_info1(tvb, offset, pinfo, tree, di, drep);
3199 offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name(tvb, offset, pinfo, tree, di, drep);
3201 proto_item_set_len(item, offset-old_offset);
3203 return offset;
3205 static int
3206 drsuapi_dissect_union_DsReplicaUpdateRefsRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3208 guint32 param=0;
3209 offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaUpdateRefsRequest_1_req1, param);
3210 return offset;
3214 static int
3215 drsuapi_dissect_union_DsReplicaUpdateRefsRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3217 proto_item *item=NULL;
3218 proto_tree *tree=NULL;
3219 int old_offset;
3220 guint32 level = 0;
3222 ALIGN_TO_4_BYTES;
3224 old_offset=offset;
3225 if(parent_tree){
3226 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsReplicaUpdateRefsRequest");
3227 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaUpdateRefsRequest);
3230 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
3231 di, drep, hf_index, &level);
3233 switch(level){
3234 case 1:
3235 ALIGN_TO_4_BYTES;
3236 offset=drsuapi_dissect_union_DsReplicaUpdateRefsRequest_1_req1(tvb, offset, pinfo, tree, di, drep);
3237 break;
3241 proto_item_set_len(item, offset-old_offset);
3243 return offset;
3245 static int
3246 drsuapi_dissect_DsReplicaUpdateRefs_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3248 guint32 param=0;
3249 offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaUpdateRefs_bind_handle, param);
3250 return offset;
3253 static int
3254 ref_drsuapi_dissect_DsReplicaUpdateRefs_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3256 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaUpdateRefs_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
3257 return offset;
3260 static int
3261 drsuapi_dissect_DsReplicaUpdateRefs_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3263 guint32 param=0;
3264 offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaUpdateRefs_level, param);
3265 return offset;
3268 static int
3269 drsuapi_dissect_DsReplicaUpdateRefs_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3271 guint32 param=0;
3272 offset=drsuapi_dissect_union_DsReplicaUpdateRefsRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaUpdateRefs_req, param);
3273 return offset;
3277 static int
3278 drsuapi_dissect_DsReplicaUpdateRefs_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3280 offset=ref_drsuapi_dissect_DsReplicaUpdateRefs_bind_handle(tvb, offset, pinfo, tree, di, drep);
3281 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3283 offset=drsuapi_dissect_DsReplicaUpdateRefs_level(tvb, offset, pinfo, tree, di, drep);
3284 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3286 offset=drsuapi_dissect_DsReplicaUpdateRefs_req(tvb, offset, pinfo, tree, di, drep);
3287 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3290 return offset;
3293 static int
3294 drsuapi_dissect_DsReplicaUpdateRefs_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3296 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
3299 return offset;
3301 static const true_false_string DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION_tfs = {
3302 "DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION is SET",
3303 "DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION is NOT set"
3306 static const true_false_string DRSUAPI_DS_REPLICA_ADD_WRITEABLE_tfs = {
3307 "DRSUAPI_DS_REPLICA_ADD_WRITEABLE is SET",
3308 "DRSUAPI_DS_REPLICA_ADD_WRITEABLE is NOT set"
3313 drsuapi_dissect_DsReplicaAddOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3315 proto_item *item=NULL;
3316 proto_tree *tree=NULL;
3317 guint32 flags;
3319 ALIGN_TO_4_BYTES;
3321 if(parent_tree){
3322 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, ENC_LITTLE_ENDIAN);
3323 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAddOptions);
3326 offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, di, drep, -1, &flags);
3329 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
3330 if(flags&0x00000001){
3331 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION");
3333 flags&=(~0x00000001);
3335 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_WRITEABLE, tvb, offset-4, 4, flags);
3336 if(flags&0x00000002){
3337 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_ADD_WRITEABLE");
3339 flags&=(~0x00000002);
3341 if(flags){
3342 proto_item_append_text(item, "UNKNOWN-FLAGS");
3345 return offset;
3348 static int
3349 drsuapi_dissect_DRSUAPI_REPLICA_ADD_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3352 return offset;
3355 static int
3356 drsuapi_dissect_DRSUAPI_REPLICA_ADD_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3358 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
3361 return offset;
3363 static const true_false_string DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION_tfs = {
3364 "DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION is SET",
3365 "DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION is NOT set"
3368 static const true_false_string DRSUAPI_DS_REPLICA_DELETE_WRITEABLE_tfs = {
3369 "DRSUAPI_DS_REPLICA_DELETE_WRITEABLE is SET",
3370 "DRSUAPI_DS_REPLICA_DELETE_WRITEABLE is NOT set"
3375 drsuapi_dissect_DsReplicaDeleteOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3377 proto_item *item=NULL;
3378 proto_tree *tree=NULL;
3379 guint32 flags;
3381 ALIGN_TO_4_BYTES;
3383 if(parent_tree){
3384 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, ENC_LITTLE_ENDIAN);
3385 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaDeleteOptions);
3388 offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, di, drep, -1, &flags);
3391 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
3392 if(flags&0x00000001){
3393 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION");
3395 flags&=(~0x00000001);
3397 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_WRITEABLE, tvb, offset-4, 4, flags);
3398 if(flags&0x00000002){
3399 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_DELETE_WRITEABLE");
3401 flags&=(~0x00000002);
3403 if(flags){
3404 proto_item_append_text(item, "UNKNOWN-FLAGS");
3407 return offset;
3410 static int
3411 drsuapi_dissect_DRSUAPI_REPLICA_DEL_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3414 return offset;
3417 static int
3418 drsuapi_dissect_DRSUAPI_REPLICA_DEL_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3420 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
3423 return offset;
3425 static const true_false_string DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION_tfs = {
3426 "DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION is SET",
3427 "DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION is NOT set"
3430 static const true_false_string DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE_tfs = {
3431 "DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE is SET",
3432 "DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE is NOT set"
3437 drsuapi_dissect_DsReplicaModifyOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3439 proto_item *item=NULL;
3440 proto_tree *tree=NULL;
3441 guint32 flags;
3443 ALIGN_TO_4_BYTES;
3445 if(parent_tree){
3446 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, ENC_LITTLE_ENDIAN);
3447 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaModifyOptions);
3450 offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, di, drep, -1, &flags);
3453 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
3454 if(flags&0x00000001){
3455 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION");
3457 flags&=(~0x00000001);
3459 proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE, tvb, offset-4, 4, flags);
3460 if(flags&0x00000002){
3461 proto_item_append_text(item, " DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE");
3463 flags&=(~0x00000002);
3465 if(flags){
3466 proto_item_append_text(item, "UNKNOWN-FLAGS");
3469 return offset;
3472 static int
3473 drsuapi_dissect_DRSUAPI_REPLICA_MODIFY_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3476 return offset;
3479 static int
3480 drsuapi_dissect_DRSUAPI_REPLICA_MODIFY_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3482 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
3485 return offset;
3488 static int
3489 drsuapi_dissect_DRSUAPI_VERIFY_NAMES_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3492 return offset;
3495 static int
3496 drsuapi_dissect_DRSUAPI_VERIFY_NAMES_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3498 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
3501 return offset;
3504 static int
3505 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3508 return offset;
3511 static int
3512 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3514 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
3517 return offset;
3520 static int
3521 drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3524 return offset;
3527 static int
3528 drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3530 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
3533 return offset;
3536 static int
3537 drsuapi_dissect_DRSUAPI_GET_NT4_CHANGELOG_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3540 return offset;
3543 static int
3544 drsuapi_dissect_DRSUAPI_GET_NT4_CHANGELOG_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3546 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
3549 return offset;
3552 const value_string drsuapi_DsNameStatus_vals[] = {
3553 { 0 , "DRSUAPI_DS_NAME_STATUS_OK" },
3554 { 1 , "DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR" },
3555 { 2 , "DRSUAPI_DS_NAME_STATUS_NOT_FOUND" },
3556 { 3 , "DRSUAPI_DS_NAME_STATUS_NOT_UNIQUE" },
3557 { 4 , "DRSUAPI_DS_NAME_STATUS_NO_MAPPING" },
3558 { 5 , "DRSUAPI_DS_NAME_STATUS_DOMAIN_ONLY" },
3559 { 6 , "DRSUAPI_DS_NAME_STATUS_NO_SYNTACTICAL_MAPPING" },
3560 { 7 , "DRSUAPI_DS_NAME_STATUS_TRUST_REFERRAL" },
3561 { 0 , NULL }
3565 drsuapi_dissect_DsNameStatus(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3567 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
3568 return offset;
3572 const value_string drsuapi_DsNameFlags_vals[] = {
3573 { 0 , "DRSUAPI_DS_NAME_FLAG_NO_FLAGS" },
3574 { 1 , "DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY" },
3575 { 2 , "DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC" },
3576 { 4 , "DRSUAPI_DS_NAME_FLAG_GCVERIFY" },
3577 { 8 , "DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL" },
3578 { 0 , NULL }
3582 drsuapi_dissect_DsNameFlags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3584 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
3585 return offset;
3589 const value_string drsuapi_DsNameFormat_vals[] = {
3590 { 0 , "DRSUAPI_DS_NAME_FORMAT_UNKNOWN" },
3591 { 1 , "DRSUAPI_DS_NAME_FORMAT_FQDN_1779" },
3592 { 2 , "DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT" },
3593 { 3 , "DRSUAPI_DS_NAME_FORMAT_DISPLAY" },
3594 { 6 , "DRSUAPI_DS_NAME_FORMAT_GUID" },
3595 { 7 , "DRSUAPI_DS_NAME_FORMAT_CANONICAL" },
3596 { 8 , "DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL" },
3597 { 9 , "DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX" },
3598 { 10 , "DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL" },
3599 { 11 , "DRSUAPI_DS_NAME_FORMAT_SID_OR_SID_HISTORY" },
3600 { 12 , "DRSUAPI_DS_NAME_FORMAT_DNS_DOMAIN" },
3601 { 0 , NULL }
3605 drsuapi_dissect_DsNameFormat(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3607 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
3608 return offset;
3612 static int
3613 drsuapi_dissect_unistr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3615 offset=dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, 2, hf_index, FALSE, NULL);
3616 return offset;
3619 static int
3620 drsuapi_dissect_DsNameString_str(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3622 guint32 param=0;
3623 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameString_str, param);
3624 return offset;
3627 static int
3628 unique_drsuapi_dissect_DsNameString_str(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3630 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsNameString_str, NDR_POINTER_UNIQUE, "str", -1);
3631 return offset;
3636 drsuapi_dissect_DsNameString(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3638 proto_item *item=NULL;
3639 proto_tree *tree=NULL;
3640 int old_offset;
3642 ALIGN_TO_4_BYTES;
3644 old_offset=offset;
3645 if(parent_tree){
3646 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3647 tree=proto_item_add_subtree(item, ett_drsuapi_DsNameString);
3650 offset=unique_drsuapi_dissect_DsNameString_str(tvb, offset, pinfo, tree, di, drep);
3652 proto_item_set_len(item, offset-old_offset);
3654 return offset;
3656 static int
3657 drsuapi_dissect_DsNameRequest1_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3659 guint32 param=0;
3660 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameRequest1_unknown1, param);
3661 return offset;
3664 static int
3665 drsuapi_dissect_DsNameRequest1_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3667 guint32 param=0;
3668 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameRequest1_unknown2, param);
3669 return offset;
3672 static int
3673 drsuapi_dissect_DsNameRequest1_format_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3675 guint32 param=0;
3676 offset=drsuapi_dissect_DsNameFlags(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameRequest1_format_flags, param);
3677 return offset;
3680 static int
3681 drsuapi_dissect_DsNameRequest1_format_offered(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3683 guint32 param=0;
3684 offset=drsuapi_dissect_DsNameFormat(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameRequest1_format_offered, param);
3685 return offset;
3688 static int
3689 drsuapi_dissect_DsNameRequest1_format_desired(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3691 guint32 param=0;
3692 offset=drsuapi_dissect_DsNameFormat(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameRequest1_format_desired, param);
3693 return offset;
3696 static int
3697 drsuapi_dissect_DsNameRequest1_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3699 guint32 param=0;
3700 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameRequest1_count, param);
3701 return offset;
3704 static int
3705 drsuapi_dissect_DsNameRequest1_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3707 guint32 param=0;
3708 offset=drsuapi_dissect_DsNameString(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameRequest1_names, param);
3709 return offset;
3712 static int
3713 ucarray_drsuapi_dissect_DsNameRequest1_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3715 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsNameRequest1_names);
3716 return offset;
3719 static int
3720 unique_ucarray_drsuapi_dissect_DsNameRequest1_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3722 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, ucarray_drsuapi_dissect_DsNameRequest1_names, NDR_POINTER_UNIQUE, "names", -1);
3723 return offset;
3728 drsuapi_dissect_DsNameRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3730 proto_item *item=NULL;
3731 proto_tree *tree=NULL;
3732 int old_offset;
3734 ALIGN_TO_4_BYTES;
3736 old_offset=offset;
3737 if(parent_tree){
3738 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3739 tree=proto_item_add_subtree(item, ett_drsuapi_DsNameRequest1);
3742 offset=drsuapi_dissect_DsNameRequest1_unknown1(tvb, offset, pinfo, tree, di, drep);
3744 offset=drsuapi_dissect_DsNameRequest1_unknown2(tvb, offset, pinfo, tree, di, drep);
3746 offset=drsuapi_dissect_DsNameRequest1_format_flags(tvb, offset, pinfo, tree, di, drep);
3748 offset=drsuapi_dissect_DsNameRequest1_format_offered(tvb, offset, pinfo, tree, di, drep);
3750 offset=drsuapi_dissect_DsNameRequest1_format_desired(tvb, offset, pinfo, tree, di, drep);
3752 offset=drsuapi_dissect_DsNameRequest1_count(tvb, offset, pinfo, tree, di, drep);
3754 offset=unique_ucarray_drsuapi_dissect_DsNameRequest1_names(tvb, offset, pinfo, tree, di, drep);
3756 proto_item_set_len(item, offset-old_offset);
3758 return offset;
3760 static int
3761 drsuapi_dissect_union_DsNameRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3763 guint32 param=0;
3764 offset=drsuapi_dissect_DsNameRequest1(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameRequest_1_req1, param);
3765 return offset;
3769 static int
3770 drsuapi_dissect_union_DsNameRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3772 proto_item *item=NULL;
3773 proto_tree *tree=NULL;
3774 int old_offset;
3775 guint32 level = 0;
3777 ALIGN_TO_4_BYTES;
3779 old_offset=offset;
3780 if(parent_tree){
3781 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsNameRequest");
3782 tree=proto_item_add_subtree(item, ett_drsuapi_DsNameRequest);
3785 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
3786 di, drep, hf_index, &level);
3788 switch(level){
3789 case 1:
3790 ALIGN_TO_4_BYTES;
3791 offset=drsuapi_dissect_union_DsNameRequest_1_req1(tvb, offset, pinfo, tree, di, drep);
3792 break;
3796 proto_item_set_len(item, offset-old_offset);
3798 return offset;
3800 static int
3801 drsuapi_dissect_DsNameInfo1_status(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3803 guint32 param=0;
3804 offset=drsuapi_dissect_DsNameStatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameInfo1_status, param);
3805 return offset;
3808 static int
3809 drsuapi_dissect_DsNameInfo1_dns_domain_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3811 guint32 param=0;
3812 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameInfo1_dns_domain_name, param);
3813 return offset;
3816 static int
3817 unique_drsuapi_dissect_DsNameInfo1_dns_domain_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3819 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsNameInfo1_dns_domain_name, NDR_POINTER_UNIQUE, "dns_domain_name", -1);
3820 return offset;
3823 static int
3824 drsuapi_dissect_DsNameInfo1_result_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3826 guint32 param=0;
3827 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameInfo1_result_name, param);
3828 return offset;
3831 static int
3832 unique_drsuapi_dissect_DsNameInfo1_result_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3834 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsNameInfo1_result_name, NDR_POINTER_UNIQUE, "result_name", -1);
3835 return offset;
3840 drsuapi_dissect_DsNameInfo1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3842 proto_item *item=NULL;
3843 proto_tree *tree=NULL;
3844 int old_offset;
3846 ALIGN_TO_4_BYTES;
3848 old_offset=offset;
3849 if(parent_tree){
3850 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3851 tree=proto_item_add_subtree(item, ett_drsuapi_DsNameInfo1);
3854 offset=drsuapi_dissect_DsNameInfo1_status(tvb, offset, pinfo, tree, di, drep);
3856 offset=unique_drsuapi_dissect_DsNameInfo1_dns_domain_name(tvb, offset, pinfo, tree, di, drep);
3858 offset=unique_drsuapi_dissect_DsNameInfo1_result_name(tvb, offset, pinfo, tree, di, drep);
3860 proto_item_set_len(item, offset-old_offset);
3862 return offset;
3864 static int
3865 drsuapi_dissect_DsNameCtr1_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3867 guint32 param=0;
3868 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameCtr1_count, param);
3869 return offset;
3872 static int
3873 drsuapi_dissect_DsNameCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3875 guint32 param=0;
3876 offset=drsuapi_dissect_DsNameInfo1(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameCtr1_array, param);
3877 return offset;
3880 static int
3881 ucarray_drsuapi_dissect_DsNameCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3883 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsNameCtr1_array);
3884 return offset;
3887 static int
3888 unique_ucarray_drsuapi_dissect_DsNameCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3890 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, ucarray_drsuapi_dissect_DsNameCtr1_array, NDR_POINTER_UNIQUE, "array", -1);
3891 return offset;
3896 drsuapi_dissect_DsNameCtr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3898 proto_item *item=NULL;
3899 proto_tree *tree=NULL;
3900 int old_offset;
3902 ALIGN_TO_4_BYTES;
3904 old_offset=offset;
3905 if(parent_tree){
3906 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3907 tree=proto_item_add_subtree(item, ett_drsuapi_DsNameCtr1);
3910 offset=drsuapi_dissect_DsNameCtr1_count(tvb, offset, pinfo, tree, di, drep);
3912 offset=unique_ucarray_drsuapi_dissect_DsNameCtr1_array(tvb, offset, pinfo, tree, di, drep);
3914 proto_item_set_len(item, offset-old_offset);
3916 return offset;
3918 static int
3919 drsuapi_dissect_union_DsNameCtr_1_ctr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3921 guint32 param=0;
3922 offset=drsuapi_dissect_DsNameCtr1(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsNameCtr_1_ctr1, param);
3923 return offset;
3926 static int
3927 drsuapi_dissect_union_DsNameCtr_1_ctr1_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3929 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsNameCtr_1_ctr1, NDR_POINTER_UNIQUE, "ctr1", -1);
3930 return offset;
3934 static int
3935 drsuapi_dissect_union_DsNameCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
3937 proto_item *item=NULL;
3938 proto_tree *tree=NULL;
3939 int old_offset;
3940 guint32 level = 0;
3942 ALIGN_TO_4_BYTES;
3944 old_offset=offset;
3945 if(parent_tree){
3946 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsNameCtr");
3947 tree=proto_item_add_subtree(item, ett_drsuapi_DsNameCtr);
3950 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
3951 di, drep, hf_index, &level);
3953 switch(level){
3954 case 1:
3955 ALIGN_TO_4_BYTES;
3956 offset=drsuapi_dissect_union_DsNameCtr_1_ctr1_unique(tvb, offset, pinfo, tree, di, drep);
3957 break;
3961 proto_item_set_len(item, offset-old_offset);
3963 return offset;
3965 static int
3966 drsuapi_dissect_DsCrackNames_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3968 guint32 param=0;
3969 offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsCrackNames_bind_handle, param);
3970 return offset;
3973 static int
3974 ref_drsuapi_dissect_DsCrackNames_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3976 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsCrackNames_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
3977 return offset;
3980 static int
3981 drsuapi_dissect_DsCrackNames_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3983 guint32 param=0;
3984 offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsCrackNames_level, param);
3985 return offset;
3988 static int
3989 drsuapi_dissect_DsCrackNames_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3991 guint32 param=0;
3992 offset=drsuapi_dissect_union_DsNameRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsCrackNames_req, param);
3993 return offset;
3996 static int
3997 drsuapi_dissect_DsCrackNames_ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
3999 guint32 param=0;
4000 offset=drsuapi_dissect_union_DsNameCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsCrackNames_ctr, param);
4001 return offset;
4005 static int
4006 drsuapi_dissect_DsCrackNames_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4008 offset=ref_drsuapi_dissect_DsCrackNames_bind_handle(tvb, offset, pinfo, tree, di, drep);
4009 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4011 offset=drsuapi_dissect_DsCrackNames_level(tvb, offset, pinfo, tree, di, drep);
4012 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4014 offset=drsuapi_dissect_DsCrackNames_req(tvb, offset, pinfo, tree, di, drep);
4015 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4018 return offset;
4021 static int
4022 drsuapi_dissect_DsCrackNames_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4024 offset=drsuapi_dissect_DsCrackNames_level(tvb, offset, pinfo, tree, di, drep);
4025 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4027 offset=drsuapi_dissect_DsCrackNames_ctr(tvb, offset, pinfo, tree, di, drep);
4028 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4030 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
4033 return offset;
4036 const value_string drsuapi_DsSpnOperation_vals[] = {
4037 { 0 , "DRSUAPI_DS_SPN_OPERATION_ADD" },
4038 { 1 , "DRSUAPI_DS_SPN_OPERATION_REPLACE" },
4039 { 2 , "DRSUAPI_DS_SPN_OPERATION_DELETE" },
4040 { 0 , NULL }
4044 drsuapi_dissect_DsSpnOperation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
4046 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
4047 return offset;
4050 static int
4051 drsuapi_dissect_DsWriteAccountSpnRequest1_operation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4053 guint32 param=0;
4054 offset=drsuapi_dissect_DsSpnOperation(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsWriteAccountSpnRequest1_operation, param);
4055 return offset;
4058 static int
4059 drsuapi_dissect_DsWriteAccountSpnRequest1_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4061 guint32 param=0;
4062 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsWriteAccountSpnRequest1_unknown1, param);
4063 return offset;
4066 static int
4067 drsuapi_dissect_DsWriteAccountSpnRequest1_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4069 guint32 param=0;
4070 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsWriteAccountSpnRequest1_object_dn, param);
4071 return offset;
4074 static int
4075 unique_drsuapi_dissect_DsWriteAccountSpnRequest1_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4077 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsWriteAccountSpnRequest1_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
4078 return offset;
4081 static int
4082 drsuapi_dissect_DsWriteAccountSpnRequest1_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4084 guint32 param=0;
4085 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsWriteAccountSpnRequest1_count, param);
4086 return offset;
4089 static int
4090 drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4092 guint32 param=0;
4093 offset=drsuapi_dissect_DsNameString(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsWriteAccountSpnRequest1_spn_names, param);
4094 return offset;
4097 static int
4098 ucarray_drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4100 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names);
4101 return offset;
4104 static int
4105 unique_ucarray_drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4107 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, ucarray_drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names, NDR_POINTER_UNIQUE, "spn_names", -1);
4108 return offset;
4113 drsuapi_dissect_DsWriteAccountSpnRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
4115 proto_item *item=NULL;
4116 proto_tree *tree=NULL;
4117 int old_offset;
4119 ALIGN_TO_4_BYTES;
4121 old_offset=offset;
4122 if(parent_tree){
4123 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4124 tree=proto_item_add_subtree(item, ett_drsuapi_DsWriteAccountSpnRequest1);
4127 offset=drsuapi_dissect_DsWriteAccountSpnRequest1_operation(tvb, offset, pinfo, tree, di, drep);
4129 offset=drsuapi_dissect_DsWriteAccountSpnRequest1_unknown1(tvb, offset, pinfo, tree, di, drep);
4131 offset=unique_drsuapi_dissect_DsWriteAccountSpnRequest1_object_dn(tvb, offset, pinfo, tree, di, drep);
4133 offset=drsuapi_dissect_DsWriteAccountSpnRequest1_count(tvb, offset, pinfo, tree, di, drep);
4135 offset=unique_ucarray_drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names(tvb, offset, pinfo, tree, di, drep);
4137 proto_item_set_len(item, offset-old_offset);
4139 return offset;
4141 static int
4142 drsuapi_dissect_union_DsWriteAccountSpnRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4144 guint32 param=0;
4145 offset=drsuapi_dissect_DsWriteAccountSpnRequest1(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsWriteAccountSpnRequest_1_req1, param);
4146 return offset;
4150 static int
4151 drsuapi_dissect_union_DsWriteAccountSpnRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
4153 proto_item *item=NULL;
4154 proto_tree *tree=NULL;
4155 int old_offset;
4156 guint32 level = 0;
4158 ALIGN_TO_4_BYTES;
4160 old_offset=offset;
4161 if(parent_tree){
4162 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsWriteAccountSpnRequest");
4163 tree=proto_item_add_subtree(item, ett_drsuapi_DsWriteAccountSpnRequest);
4166 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
4167 di, drep, hf_index, &level);
4169 switch(level){
4170 case 1:
4171 ALIGN_TO_4_BYTES;
4172 offset=drsuapi_dissect_union_DsWriteAccountSpnRequest_1_req1(tvb, offset, pinfo, tree, di, drep);
4173 break;
4177 proto_item_set_len(item, offset-old_offset);
4179 return offset;
4182 static int
4183 drsuapi_dissect_WERROR(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
4186 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
4188 return offset;
4191 static int
4192 drsuapi_dissect_DsWriteAccountSpnResult1_status(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4194 guint32 param=0;
4195 offset=drsuapi_dissect_WERROR(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsWriteAccountSpnResult1_status, param);
4196 return offset;
4201 drsuapi_dissect_DsWriteAccountSpnResult1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
4203 proto_item *item=NULL;
4204 proto_tree *tree=NULL;
4205 int old_offset;
4207 ALIGN_TO_4_BYTES;
4209 old_offset=offset;
4210 if(parent_tree){
4211 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4212 tree=proto_item_add_subtree(item, ett_drsuapi_DsWriteAccountSpnResult1);
4215 offset=drsuapi_dissect_DsWriteAccountSpnResult1_status(tvb, offset, pinfo, tree, di, drep);
4217 proto_item_set_len(item, offset-old_offset);
4219 return offset;
4221 static int
4222 drsuapi_dissect_union_DsWriteAccountSpnResult_1_res1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4224 guint32 param=0;
4225 offset=drsuapi_dissect_DsWriteAccountSpnResult1(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsWriteAccountSpnResult_1_res1, param);
4226 return offset;
4230 static int
4231 drsuapi_dissect_union_DsWriteAccountSpnResult(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
4233 proto_item *item=NULL;
4234 proto_tree *tree=NULL;
4235 int old_offset;
4236 guint32 level = 0;
4238 ALIGN_TO_4_BYTES;
4240 old_offset=offset;
4241 if(parent_tree){
4242 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsWriteAccountSpnResult");
4243 tree=proto_item_add_subtree(item, ett_drsuapi_DsWriteAccountSpnResult);
4246 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
4247 di, drep, hf_index, &level);
4249 switch(level){
4250 case 1:
4251 ALIGN_TO_4_BYTES;
4252 offset=drsuapi_dissect_union_DsWriteAccountSpnResult_1_res1(tvb, offset, pinfo, tree, di, drep);
4253 break;
4257 proto_item_set_len(item, offset-old_offset);
4259 return offset;
4261 static int
4262 drsuapi_dissect_DsWriteAccountSpn_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4264 guint32 param=0;
4265 offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsWriteAccountSpn_bind_handle, param);
4266 return offset;
4269 static int
4270 ref_drsuapi_dissect_DsWriteAccountSpn_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4272 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsWriteAccountSpn_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
4273 return offset;
4276 static int
4277 drsuapi_dissect_DsWriteAccountSpn_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4279 guint32 param=0;
4280 offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsWriteAccountSpn_level, param);
4281 return offset;
4284 static int
4285 drsuapi_dissect_DsWriteAccountSpn_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4287 guint32 param=0;
4288 offset=drsuapi_dissect_union_DsWriteAccountSpnRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsWriteAccountSpn_req, param);
4289 return offset;
4292 static int
4293 drsuapi_dissect_DsWriteAccountSpn_res(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4295 guint32 param=0;
4296 offset=drsuapi_dissect_union_DsWriteAccountSpnResult(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsWriteAccountSpn_res, param);
4297 return offset;
4301 static int
4302 drsuapi_dissect_DsWriteAccountSpn_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4304 offset=ref_drsuapi_dissect_DsWriteAccountSpn_bind_handle(tvb, offset, pinfo, tree, di, drep);
4305 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4307 offset=drsuapi_dissect_DsWriteAccountSpn_level(tvb, offset, pinfo, tree, di, drep);
4308 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4310 offset=drsuapi_dissect_DsWriteAccountSpn_req(tvb, offset, pinfo, tree, di, drep);
4311 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4314 return offset;
4317 static int
4318 drsuapi_dissect_DsWriteAccountSpn_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4320 offset=drsuapi_dissect_DsWriteAccountSpn_level(tvb, offset, pinfo, tree, di, drep);
4321 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4323 offset=drsuapi_dissect_DsWriteAccountSpn_res(tvb, offset, pinfo, tree, di, drep);
4324 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4326 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
4329 return offset;
4332 static int
4333 drsuapi_dissect_DRSUAPI_REMOVE_DS_SERVER_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4336 return offset;
4339 static int
4340 drsuapi_dissect_DRSUAPI_REMOVE_DS_SERVER_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4342 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
4345 return offset;
4348 static int
4349 drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4352 return offset;
4355 static int
4356 drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4358 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
4361 return offset;
4363 static int
4364 drsuapi_dissect_DsGetDCInfoRequest1_domain_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4366 guint32 param=0;
4367 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfoRequest1_domain_name, param);
4368 return offset;
4371 static int
4372 unique_drsuapi_dissect_DsGetDCInfoRequest1_domain_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4374 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfoRequest1_domain_name, NDR_POINTER_UNIQUE, "domain_name", -1);
4375 return offset;
4378 static int
4379 drsuapi_dissect_DsGetDCInfoRequest1_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4381 guint32 param=0;
4382 offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfoRequest1_level, param);
4383 return offset;
4388 drsuapi_dissect_DsGetDCInfoRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
4390 proto_item *item=NULL;
4391 proto_tree *tree=NULL;
4392 int old_offset;
4394 ALIGN_TO_4_BYTES;
4396 old_offset=offset;
4397 if(parent_tree){
4398 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4399 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoRequest1);
4402 offset=unique_drsuapi_dissect_DsGetDCInfoRequest1_domain_name(tvb, offset, pinfo, tree, di, drep);
4404 offset=drsuapi_dissect_DsGetDCInfoRequest1_level(tvb, offset, pinfo, tree, di, drep);
4406 proto_item_set_len(item, offset-old_offset);
4408 return offset;
4410 static int
4411 drsuapi_dissect_union_DsGetDCInfoRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4413 guint32 param=0;
4414 offset=drsuapi_dissect_DsGetDCInfoRequest1(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfoRequest_1_req1, param);
4415 return offset;
4419 static int
4420 drsuapi_dissect_union_DsGetDCInfoRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
4422 proto_item *item=NULL;
4423 proto_tree *tree=NULL;
4424 int old_offset;
4425 guint32 level = 0;
4427 ALIGN_TO_4_BYTES;
4429 old_offset=offset;
4430 if(parent_tree){
4431 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsGetDCInfoRequest");
4432 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoRequest);
4435 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
4436 di, drep, hf_index, &level);
4438 switch(level){
4439 case 1:
4440 ALIGN_TO_4_BYTES;
4441 offset=drsuapi_dissect_union_DsGetDCInfoRequest_1_req1(tvb, offset, pinfo, tree, di, drep);
4442 break;
4446 proto_item_set_len(item, offset-old_offset);
4448 return offset;
4450 static int
4451 drsuapi_dissect_DsGetDCInfo1_netbios_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4453 guint32 param=0;
4454 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo1_netbios_name, param);
4455 return offset;
4458 static int
4459 unique_drsuapi_dissect_DsGetDCInfo1_netbios_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4461 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfo1_netbios_name, NDR_POINTER_UNIQUE, "netbios_name", -1);
4462 return offset;
4465 static int
4466 drsuapi_dissect_DsGetDCInfo1_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4468 guint32 param=0;
4469 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo1_dns_name, param);
4470 return offset;
4473 static int
4474 unique_drsuapi_dissect_DsGetDCInfo1_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4476 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfo1_dns_name, NDR_POINTER_UNIQUE, "dns_name", -1);
4477 return offset;
4480 static int
4481 drsuapi_dissect_DsGetDCInfo1_site_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4483 guint32 param=0;
4484 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo1_site_name, param);
4485 return offset;
4488 static int
4489 unique_drsuapi_dissect_DsGetDCInfo1_site_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4491 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfo1_site_name, NDR_POINTER_UNIQUE, "site_name", -1);
4492 return offset;
4495 static int
4496 drsuapi_dissect_DsGetDCInfo1_computer_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4498 guint32 param=0;
4499 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo1_computer_dn, param);
4500 return offset;
4503 static int
4504 unique_drsuapi_dissect_DsGetDCInfo1_computer_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4506 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfo1_computer_dn, NDR_POINTER_UNIQUE, "computer_dn", -1);
4507 return offset;
4510 static int
4511 drsuapi_dissect_DsGetDCInfo1_server_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4513 guint32 param=0;
4514 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo1_server_dn, param);
4515 return offset;
4518 static int
4519 unique_drsuapi_dissect_DsGetDCInfo1_server_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4521 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfo1_server_dn, NDR_POINTER_UNIQUE, "server_dn", -1);
4522 return offset;
4525 static int
4526 drsuapi_dissect_DsGetDCInfo1_is_pdc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4528 guint32 param=0;
4529 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo1_is_pdc, param);
4530 return offset;
4533 static int
4534 drsuapi_dissect_DsGetDCInfo1_is_enabled(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4536 guint32 param=0;
4537 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo1_is_enabled, param);
4538 return offset;
4543 drsuapi_dissect_DsGetDCInfo1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
4545 proto_item *item=NULL;
4546 proto_tree *tree=NULL;
4547 int old_offset;
4549 ALIGN_TO_4_BYTES;
4551 old_offset=offset;
4552 if(parent_tree){
4553 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4554 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfo1);
4557 offset=unique_drsuapi_dissect_DsGetDCInfo1_netbios_name(tvb, offset, pinfo, tree, di, drep);
4559 offset=unique_drsuapi_dissect_DsGetDCInfo1_dns_name(tvb, offset, pinfo, tree, di, drep);
4561 offset=unique_drsuapi_dissect_DsGetDCInfo1_site_name(tvb, offset, pinfo, tree, di, drep);
4563 offset=unique_drsuapi_dissect_DsGetDCInfo1_computer_dn(tvb, offset, pinfo, tree, di, drep);
4565 offset=unique_drsuapi_dissect_DsGetDCInfo1_server_dn(tvb, offset, pinfo, tree, di, drep);
4567 offset=drsuapi_dissect_DsGetDCInfo1_is_pdc(tvb, offset, pinfo, tree, di, drep);
4569 offset=drsuapi_dissect_DsGetDCInfo1_is_enabled(tvb, offset, pinfo, tree, di, drep);
4571 proto_item_set_len(item, offset-old_offset);
4573 return offset;
4575 static int
4576 drsuapi_dissect_DsGetDCInfoCtr1_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4578 guint32 param=0;
4579 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfoCtr1_count, param);
4580 return offset;
4583 static int
4584 drsuapi_dissect_DsGetDCInfoCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4586 guint32 param=0;
4587 offset=drsuapi_dissect_DsGetDCInfo1(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfoCtr1_array, param);
4588 return offset;
4591 static int
4592 ucarray_drsuapi_dissect_DsGetDCInfoCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4594 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfoCtr1_array);
4595 return offset;
4598 static int
4599 unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4601 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, ucarray_drsuapi_dissect_DsGetDCInfoCtr1_array, NDR_POINTER_UNIQUE, "array", -1);
4602 return offset;
4607 drsuapi_dissect_DsGetDCInfoCtr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
4609 proto_item *item=NULL;
4610 proto_tree *tree=NULL;
4611 int old_offset;
4613 ALIGN_TO_4_BYTES;
4615 old_offset=offset;
4616 if(parent_tree){
4617 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4618 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoCtr1);
4621 offset=drsuapi_dissect_DsGetDCInfoCtr1_count(tvb, offset, pinfo, tree, di, drep);
4623 offset=unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr1_array(tvb, offset, pinfo, tree, di, drep);
4625 proto_item_set_len(item, offset-old_offset);
4627 return offset;
4629 static int
4630 drsuapi_dissect_DsGetDCInfo2_netbios_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4632 guint32 param=0;
4633 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo2_netbios_name, param);
4634 return offset;
4637 static int
4638 unique_drsuapi_dissect_DsGetDCInfo2_netbios_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4640 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfo2_netbios_name, NDR_POINTER_UNIQUE, "netbios_name", -1);
4641 return offset;
4644 static int
4645 drsuapi_dissect_DsGetDCInfo2_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4647 guint32 param=0;
4648 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo2_dns_name, param);
4649 return offset;
4652 static int
4653 unique_drsuapi_dissect_DsGetDCInfo2_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4655 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfo2_dns_name, NDR_POINTER_UNIQUE, "dns_name", -1);
4656 return offset;
4659 static int
4660 drsuapi_dissect_DsGetDCInfo2_site_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4662 guint32 param=0;
4663 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo2_site_name, param);
4664 return offset;
4667 static int
4668 unique_drsuapi_dissect_DsGetDCInfo2_site_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4670 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfo2_site_name, NDR_POINTER_UNIQUE, "site_name", -1);
4671 return offset;
4674 static int
4675 drsuapi_dissect_DsGetDCInfo2_site_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4677 guint32 param=0;
4678 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo2_site_dn, param);
4679 return offset;
4682 static int
4683 unique_drsuapi_dissect_DsGetDCInfo2_site_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4685 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfo2_site_dn, NDR_POINTER_UNIQUE, "site_dn", -1);
4686 return offset;
4689 static int
4690 drsuapi_dissect_DsGetDCInfo2_computer_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4692 guint32 param=0;
4693 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo2_computer_dn, param);
4694 return offset;
4697 static int
4698 unique_drsuapi_dissect_DsGetDCInfo2_computer_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4700 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfo2_computer_dn, NDR_POINTER_UNIQUE, "computer_dn", -1);
4701 return offset;
4704 static int
4705 drsuapi_dissect_DsGetDCInfo2_server_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4707 guint32 param=0;
4708 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo2_server_dn, param);
4709 return offset;
4712 static int
4713 unique_drsuapi_dissect_DsGetDCInfo2_server_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4715 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfo2_server_dn, NDR_POINTER_UNIQUE, "server_dn", -1);
4716 return offset;
4719 static int
4720 drsuapi_dissect_DsGetDCInfo2_ntds_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4722 guint32 param=0;
4723 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo2_ntds_dn, param);
4724 return offset;
4727 static int
4728 unique_drsuapi_dissect_DsGetDCInfo2_ntds_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4730 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfo2_ntds_dn, NDR_POINTER_UNIQUE, "ntds_dn", -1);
4731 return offset;
4734 static int
4735 drsuapi_dissect_DsGetDCInfo2_is_pdc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4737 guint32 param=0;
4738 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo2_is_pdc, param);
4739 return offset;
4742 static int
4743 drsuapi_dissect_DsGetDCInfo2_is_enabled(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4745 guint32 param=0;
4746 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo2_is_enabled, param);
4747 return offset;
4750 static int
4751 drsuapi_dissect_DsGetDCInfo2_is_gc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4753 guint32 param=0;
4754 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo2_is_gc, param);
4755 return offset;
4758 static int
4759 drsuapi_dissect_DsGetDCInfo2_site_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4761 guint32 param=0;
4762 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo2_site_guid, param);
4763 return offset;
4766 static int
4767 drsuapi_dissect_DsGetDCInfo2_computer_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4769 guint32 param=0;
4770 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo2_computer_guid, param);
4771 return offset;
4774 static int
4775 drsuapi_dissect_DsGetDCInfo2_server_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4777 guint32 param=0;
4778 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo2_server_guid, param);
4779 return offset;
4782 static int
4783 drsuapi_dissect_DsGetDCInfo2_ntds_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4785 guint32 param=0;
4786 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo2_ntds_guid, param);
4787 return offset;
4792 drsuapi_dissect_DsGetDCInfo2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
4794 proto_item *item=NULL;
4795 proto_tree *tree=NULL;
4796 int old_offset;
4798 ALIGN_TO_4_BYTES;
4800 old_offset=offset;
4801 if(parent_tree){
4802 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4803 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfo2);
4806 offset=unique_drsuapi_dissect_DsGetDCInfo2_netbios_name(tvb, offset, pinfo, tree, di, drep);
4808 offset=unique_drsuapi_dissect_DsGetDCInfo2_dns_name(tvb, offset, pinfo, tree, di, drep);
4810 offset=unique_drsuapi_dissect_DsGetDCInfo2_site_name(tvb, offset, pinfo, tree, di, drep);
4812 offset=unique_drsuapi_dissect_DsGetDCInfo2_site_dn(tvb, offset, pinfo, tree, di, drep);
4814 offset=unique_drsuapi_dissect_DsGetDCInfo2_computer_dn(tvb, offset, pinfo, tree, di, drep);
4816 offset=unique_drsuapi_dissect_DsGetDCInfo2_server_dn(tvb, offset, pinfo, tree, di, drep);
4818 offset=unique_drsuapi_dissect_DsGetDCInfo2_ntds_dn(tvb, offset, pinfo, tree, di, drep);
4820 offset=drsuapi_dissect_DsGetDCInfo2_is_pdc(tvb, offset, pinfo, tree, di, drep);
4822 offset=drsuapi_dissect_DsGetDCInfo2_is_enabled(tvb, offset, pinfo, tree, di, drep);
4824 offset=drsuapi_dissect_DsGetDCInfo2_is_gc(tvb, offset, pinfo, tree, di, drep);
4826 offset=drsuapi_dissect_DsGetDCInfo2_site_guid(tvb, offset, pinfo, tree, di, drep);
4828 offset=drsuapi_dissect_DsGetDCInfo2_computer_guid(tvb, offset, pinfo, tree, di, drep);
4830 offset=drsuapi_dissect_DsGetDCInfo2_server_guid(tvb, offset, pinfo, tree, di, drep);
4832 offset=drsuapi_dissect_DsGetDCInfo2_ntds_guid(tvb, offset, pinfo, tree, di, drep);
4834 proto_item_set_len(item, offset-old_offset);
4836 return offset;
4838 static int
4839 drsuapi_dissect_DsGetDCInfoCtr2_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4841 guint32 param=0;
4842 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfoCtr2_count, param);
4843 return offset;
4846 static int
4847 drsuapi_dissect_DsGetDCInfoCtr2_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4849 guint32 param=0;
4850 offset=drsuapi_dissect_DsGetDCInfo2(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfoCtr2_array, param);
4851 return offset;
4854 static int
4855 ucarray_drsuapi_dissect_DsGetDCInfoCtr2_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4857 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfoCtr2_array);
4858 return offset;
4861 static int
4862 unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr2_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4864 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, ucarray_drsuapi_dissect_DsGetDCInfoCtr2_array, NDR_POINTER_UNIQUE, "array", -1);
4865 return offset;
4870 drsuapi_dissect_DsGetDCInfoCtr2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
4872 proto_item *item=NULL;
4873 proto_tree *tree=NULL;
4874 int old_offset;
4876 ALIGN_TO_4_BYTES;
4878 old_offset=offset;
4879 if(parent_tree){
4880 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4881 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoCtr2);
4884 offset=drsuapi_dissect_DsGetDCInfoCtr2_count(tvb, offset, pinfo, tree, di, drep);
4886 offset=unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr2_array(tvb, offset, pinfo, tree, di, drep);
4888 proto_item_set_len(item, offset-old_offset);
4890 return offset;
4892 static int
4893 drsuapi_dissect_DsGetDCInfo01_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4895 guint32 param=0;
4896 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo01_unknown1, param);
4897 return offset;
4900 static int
4901 drsuapi_dissect_DsGetDCInfo01_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4903 guint32 param=0;
4904 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo01_unknown2, param);
4905 return offset;
4908 static int
4909 drsuapi_dissect_DsGetDCInfo01_unknown3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4911 guint32 param=0;
4912 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo01_unknown3, param);
4913 return offset;
4916 static int
4917 drsuapi_dissect_DsGetDCInfo01_unknown4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4919 guint32 param=0;
4920 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo01_unknown4, param);
4921 return offset;
4924 static int
4925 drsuapi_dissect_DsGetDCInfo01_unknown5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4927 guint32 param=0;
4928 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo01_unknown5, param);
4929 return offset;
4932 static int
4933 drsuapi_dissect_DsGetDCInfo01_unknown6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4935 guint32 param=0;
4936 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo01_unknown6, param);
4937 return offset;
4940 static int
4941 drsuapi_dissect_DsGetDCInfo01_server_nt4_account(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4943 guint32 param=0;
4944 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfo01_server_nt4_account, param);
4945 return offset;
4948 static int
4949 unique_drsuapi_dissect_DsGetDCInfo01_server_nt4_account(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4951 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfo01_server_nt4_account, NDR_POINTER_UNIQUE, "server_nt4_account", -1);
4952 return offset;
4957 drsuapi_dissect_DsGetDCInfo01(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
4959 proto_item *item=NULL;
4960 proto_tree *tree=NULL;
4961 int old_offset;
4963 ALIGN_TO_4_BYTES;
4965 old_offset=offset;
4966 if(parent_tree){
4967 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4968 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfo01);
4971 offset=drsuapi_dissect_DsGetDCInfo01_unknown1(tvb, offset, pinfo, tree, di, drep);
4973 offset=drsuapi_dissect_DsGetDCInfo01_unknown2(tvb, offset, pinfo, tree, di, drep);
4975 offset=drsuapi_dissect_DsGetDCInfo01_unknown3(tvb, offset, pinfo, tree, di, drep);
4977 offset=drsuapi_dissect_DsGetDCInfo01_unknown4(tvb, offset, pinfo, tree, di, drep);
4979 offset=drsuapi_dissect_DsGetDCInfo01_unknown5(tvb, offset, pinfo, tree, di, drep);
4981 offset=drsuapi_dissect_DsGetDCInfo01_unknown6(tvb, offset, pinfo, tree, di, drep);
4983 offset=unique_drsuapi_dissect_DsGetDCInfo01_server_nt4_account(tvb, offset, pinfo, tree, di, drep);
4985 proto_item_set_len(item, offset-old_offset);
4987 return offset;
4989 static int
4990 drsuapi_dissect_DsGetDCInfoCtr01_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
4992 guint32 param=0;
4993 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfoCtr01_count, param);
4994 return offset;
4997 static int
4998 drsuapi_dissect_DsGetDCInfoCtr01_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5000 guint32 param=0;
5001 offset=drsuapi_dissect_DsGetDCInfo01(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfoCtr01_array, param);
5002 return offset;
5005 static int
5006 ucarray_drsuapi_dissect_DsGetDCInfoCtr01_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5008 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDCInfoCtr01_array);
5009 return offset;
5012 static int
5013 unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr01_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5015 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, ucarray_drsuapi_dissect_DsGetDCInfoCtr01_array, NDR_POINTER_UNIQUE, "array", -1);
5016 return offset;
5021 drsuapi_dissect_DsGetDCInfoCtr01(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
5023 proto_item *item=NULL;
5024 proto_tree *tree=NULL;
5025 int old_offset;
5027 ALIGN_TO_4_BYTES;
5029 old_offset=offset;
5030 if(parent_tree){
5031 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5032 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoCtr01);
5035 offset=drsuapi_dissect_DsGetDCInfoCtr01_count(tvb, offset, pinfo, tree, di, drep);
5037 offset=unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr01_array(tvb, offset, pinfo, tree, di, drep);
5039 proto_item_set_len(item, offset-old_offset);
5041 return offset;
5044 const value_string drsuapi_DsGetDCInfoCtrLevels_vals[] = {
5045 { 1 , "DRSUAPI_DC_INFO_CTR_1" },
5046 { 2 , "DRSUAPI_DC_INFO_CTR_2" },
5047 { -1 , "DRSUAPI_DC_INFO_CTR_01" },
5048 { 0 , NULL }
5052 drsuapi_dissect_DsGetDCInfoCtrLevels(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
5054 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
5055 return offset;
5058 static int
5059 drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5061 guint32 param=0;
5062 offset=drsuapi_dissect_DsGetDCInfoCtr1(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1, param);
5063 return offset;
5066 static int
5067 drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5069 guint32 param=0;
5070 offset=drsuapi_dissect_DsGetDCInfoCtr2(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2, param);
5071 return offset;
5074 static int
5075 drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5077 guint32 param=0;
5078 offset=drsuapi_dissect_DsGetDCInfoCtr01(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01, param);
5079 return offset;
5083 static int
5084 drsuapi_dissect_union_DsGetDCInfoCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
5086 proto_item *item=NULL;
5087 proto_tree *tree=NULL;
5088 int old_offset;
5089 guint32 level = 0;
5091 ALIGN_TO_4_BYTES;
5093 old_offset=offset;
5094 if(parent_tree){
5095 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsGetDCInfoCtr");
5096 tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoCtr);
5099 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
5100 di, drep, hf_index, &level);
5102 switch(level){
5103 case DRSUAPI_DC_INFO_CTR_1:
5104 ALIGN_TO_4_BYTES;
5105 offset=drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1(tvb, offset, pinfo, tree, di, drep);
5106 break;
5108 case DRSUAPI_DC_INFO_CTR_2:
5109 ALIGN_TO_4_BYTES;
5110 offset=drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2(tvb, offset, pinfo, tree, di, drep);
5111 break;
5113 case DRSUAPI_DC_INFO_CTR_01:
5114 ALIGN_TO_4_BYTES;
5115 offset=drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01(tvb, offset, pinfo, tree, di, drep);
5116 break;
5120 proto_item_set_len(item, offset-old_offset);
5122 return offset;
5124 static int
5125 drsuapi_dissect_DsGetDomainControllerInfo_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5127 guint32 param=0;
5128 offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDomainControllerInfo_bind_handle, param);
5129 return offset;
5132 static int
5133 ref_drsuapi_dissect_DsGetDomainControllerInfo_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5135 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsGetDomainControllerInfo_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
5136 return offset;
5139 static int
5140 drsuapi_dissect_DsGetDomainControllerInfo_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5142 guint32 param=0;
5143 offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDomainControllerInfo_level, param);
5144 return offset;
5147 static int
5148 drsuapi_dissect_DsGetDomainControllerInfo_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5150 guint32 param=0;
5151 offset=drsuapi_dissect_union_DsGetDCInfoRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDomainControllerInfo_req, param);
5152 return offset;
5155 static int
5156 drsuapi_dissect_DsGetDomainControllerInfo_ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5158 guint32 param=0;
5159 offset=drsuapi_dissect_union_DsGetDCInfoCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsGetDomainControllerInfo_ctr, param);
5160 return offset;
5164 static int
5165 drsuapi_dissect_DsGetDomainControllerInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5167 offset=ref_drsuapi_dissect_DsGetDomainControllerInfo_bind_handle(tvb, offset, pinfo, tree, di, drep);
5168 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5170 offset=drsuapi_dissect_DsGetDomainControllerInfo_level(tvb, offset, pinfo, tree, di, drep);
5171 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5173 offset=drsuapi_dissect_DsGetDomainControllerInfo_req(tvb, offset, pinfo, tree, di, drep);
5174 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5177 return offset;
5180 static int
5181 drsuapi_dissect_DsGetDomainControllerInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5183 offset=drsuapi_dissect_DsGetDomainControllerInfo_level(tvb, offset, pinfo, tree, di, drep);
5184 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5186 offset=drsuapi_dissect_DsGetDomainControllerInfo_ctr(tvb, offset, pinfo, tree, di, drep);
5187 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5189 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
5192 return offset;
5195 static int
5196 drsuapi_dissect_DsAddEntry_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5199 return offset;
5202 static int
5203 drsuapi_dissect_DsAddEntry_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5205 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
5208 return offset;
5211 static int
5212 drsuapi_dissect_DRSUAPI_EXECUTE_KCC_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5215 return offset;
5218 static int
5219 drsuapi_dissect_DRSUAPI_EXECUTE_KCC_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5221 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
5224 return offset;
5227 const value_string drsuapi_DsReplicaGetInfoLevel_vals[] = {
5228 { 1 , "DRSUAPI_DS_REPLICA_GET_INFO" },
5229 { 2 , "DRSUAPI_DS_REPLICA_GET_INFO2" },
5230 { 0 , NULL }
5234 drsuapi_dissect_DsReplicaGetInfoLevel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
5236 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
5237 return offset;
5241 const value_string drsuapi_DsReplicaInfoType_vals[] = {
5242 { 0 , "DRSUAPI_DS_REPLICA_INFO_NEIGHBORS" },
5243 { 1 , "DRSUAPI_DS_REPLICA_INFO_CURSORS" },
5244 { 2 , "DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA" },
5245 { 3 , "DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES" },
5246 { 4 , "DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES" },
5247 { 5 , "DRSUAPI_DS_REPLICA_INFO_PENDING_OPS" },
5248 { 6 , "DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA" },
5249 { 7 , "DRSUAPI_DS_REPLICA_INFO_CURSORS2" },
5250 { 8 , "DRSUAPI_DS_REPLICA_INFO_CURSORS3" },
5251 { 9 , "DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2" },
5252 { 10 , "DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2" },
5253 { -2 , "DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02" },
5254 { -4 , "DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04" },
5255 { -5 , "DRSUAPI_DS_REPLICA_INFO_CURSURS05" },
5256 { -6 , "DRSUAPI_DS_REPLICA_INFO_06" },
5257 { 0 , NULL }
5261 drsuapi_dissect_DsReplicaInfoType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
5263 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
5264 return offset;
5267 static int
5268 drsuapi_dissect_DsReplicaGetInfoRequest1_info_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5270 guint32 param=0;
5271 offset=drsuapi_dissect_DsReplicaInfoType(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfoRequest1_info_type, param);
5272 return offset;
5275 static int
5276 drsuapi_dissect_DsReplicaGetInfoRequest1_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5278 guint32 param=0;
5279 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfoRequest1_object_dn, param);
5280 return offset;
5283 static int
5284 unique_drsuapi_dissect_DsReplicaGetInfoRequest1_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5286 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaGetInfoRequest1_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
5287 return offset;
5290 static int
5291 drsuapi_dissect_DsReplicaGetInfoRequest1_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5293 guint32 param=0;
5294 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfoRequest1_guid1, param);
5295 return offset;
5300 drsuapi_dissect_DsReplicaGetInfoRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
5302 proto_item *item=NULL;
5303 proto_tree *tree=NULL;
5304 int old_offset;
5306 ALIGN_TO_4_BYTES;
5308 old_offset=offset;
5309 if(parent_tree){
5310 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5311 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaGetInfoRequest1);
5314 offset=drsuapi_dissect_DsReplicaGetInfoRequest1_info_type(tvb, offset, pinfo, tree, di, drep);
5316 offset=unique_drsuapi_dissect_DsReplicaGetInfoRequest1_object_dn(tvb, offset, pinfo, tree, di, drep);
5318 offset=drsuapi_dissect_DsReplicaGetInfoRequest1_guid1(tvb, offset, pinfo, tree, di, drep);
5320 proto_item_set_len(item, offset-old_offset);
5322 return offset;
5324 static int
5325 drsuapi_dissect_DsReplicaGetInfoRequest2_info_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5327 guint32 param=0;
5328 offset=drsuapi_dissect_DsReplicaInfoType(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfoRequest2_info_type, param);
5329 return offset;
5332 static int
5333 drsuapi_dissect_DsReplicaGetInfoRequest2_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5335 guint32 param=0;
5336 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfoRequest2_object_dn, param);
5337 return offset;
5340 static int
5341 unique_drsuapi_dissect_DsReplicaGetInfoRequest2_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5343 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaGetInfoRequest2_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
5344 return offset;
5347 static int
5348 drsuapi_dissect_DsReplicaGetInfoRequest2_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5350 guint32 param=0;
5351 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfoRequest2_guid1, param);
5352 return offset;
5355 static int
5356 drsuapi_dissect_DsReplicaGetInfoRequest2_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5358 guint32 param=0;
5359 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfoRequest2_unknown1, param);
5360 return offset;
5363 static int
5364 drsuapi_dissect_DsReplicaGetInfoRequest2_string1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5366 guint32 param=0;
5367 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfoRequest2_string1, param);
5368 return offset;
5371 static int
5372 unique_drsuapi_dissect_DsReplicaGetInfoRequest2_string1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5374 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaGetInfoRequest2_string1, NDR_POINTER_UNIQUE, "string1", -1);
5375 return offset;
5378 static int
5379 drsuapi_dissect_DsReplicaGetInfoRequest2_string2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5381 guint32 param=0;
5382 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfoRequest2_string2, param);
5383 return offset;
5386 static int
5387 unique_drsuapi_dissect_DsReplicaGetInfoRequest2_string2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5389 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaGetInfoRequest2_string2, NDR_POINTER_UNIQUE, "string2", -1);
5390 return offset;
5393 static int
5394 drsuapi_dissect_DsReplicaGetInfoRequest2_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5396 guint32 param=0;
5397 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfoRequest2_unknown2, param);
5398 return offset;
5403 drsuapi_dissect_DsReplicaGetInfoRequest2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
5405 proto_item *item=NULL;
5406 proto_tree *tree=NULL;
5407 int old_offset;
5409 ALIGN_TO_4_BYTES;
5411 old_offset=offset;
5412 if(parent_tree){
5413 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5414 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaGetInfoRequest2);
5417 offset=drsuapi_dissect_DsReplicaGetInfoRequest2_info_type(tvb, offset, pinfo, tree, di, drep);
5419 offset=unique_drsuapi_dissect_DsReplicaGetInfoRequest2_object_dn(tvb, offset, pinfo, tree, di, drep);
5421 offset=drsuapi_dissect_DsReplicaGetInfoRequest2_guid1(tvb, offset, pinfo, tree, di, drep);
5423 offset=drsuapi_dissect_DsReplicaGetInfoRequest2_unknown1(tvb, offset, pinfo, tree, di, drep);
5425 offset=unique_drsuapi_dissect_DsReplicaGetInfoRequest2_string1(tvb, offset, pinfo, tree, di, drep);
5427 offset=unique_drsuapi_dissect_DsReplicaGetInfoRequest2_string2(tvb, offset, pinfo, tree, di, drep);
5429 offset=drsuapi_dissect_DsReplicaGetInfoRequest2_unknown2(tvb, offset, pinfo, tree, di, drep);
5431 proto_item_set_len(item, offset-old_offset);
5433 return offset;
5435 static int
5436 drsuapi_dissect_union_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5438 guint32 param=0;
5439 offset=drsuapi_dissect_DsReplicaGetInfoRequest1(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1, param);
5440 return offset;
5443 static int
5444 drsuapi_dissect_union_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5446 guint32 param=0;
5447 offset=drsuapi_dissect_DsReplicaGetInfoRequest2(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2, param);
5448 return offset;
5452 static int
5453 drsuapi_dissect_union_DsReplicaGetInfoRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
5455 proto_item *item=NULL;
5456 proto_tree *tree=NULL;
5457 int old_offset;
5458 guint32 level = 0;
5460 ALIGN_TO_4_BYTES;
5462 old_offset=offset;
5463 if(parent_tree){
5464 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsReplicaGetInfoRequest");
5465 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaGetInfoRequest);
5468 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
5469 di, drep, hf_index, &level);
5471 switch(level){
5472 case DRSUAPI_DS_REPLICA_GET_INFO:
5473 ALIGN_TO_4_BYTES;
5474 offset=drsuapi_dissect_union_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1(tvb, offset, pinfo, tree, di, drep);
5475 break;
5477 case DRSUAPI_DS_REPLICA_GET_INFO2:
5478 ALIGN_TO_4_BYTES;
5479 offset=drsuapi_dissect_union_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2(tvb, offset, pinfo, tree, di, drep);
5480 break;
5484 proto_item_set_len(item, offset-old_offset);
5486 return offset;
5488 static int
5489 drsuapi_dissect_DsReplicaNeighbour_naming_context_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5491 guint32 param=0;
5492 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_naming_context_dn, param);
5493 return offset;
5496 static int
5497 unique_drsuapi_dissect_DsReplicaNeighbour_naming_context_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5499 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaNeighbour_naming_context_dn, NDR_POINTER_UNIQUE, "naming_context_dn", -1);
5500 return offset;
5503 static int
5504 drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5506 guint32 param=0;
5507 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn, param);
5508 return offset;
5511 static int
5512 unique_drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5514 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_dn, NDR_POINTER_UNIQUE, "source_dsa_obj_dn", -1);
5515 return offset;
5518 static int
5519 drsuapi_dissect_DsReplicaNeighbour_source_dsa_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5521 guint32 param=0;
5522 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_source_dsa_address, param);
5523 return offset;
5526 static int
5527 unique_drsuapi_dissect_DsReplicaNeighbour_source_dsa_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5529 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaNeighbour_source_dsa_address, NDR_POINTER_UNIQUE, "source_dsa_address", -1);
5530 return offset;
5533 static int
5534 drsuapi_dissect_DsReplicaNeighbour_transport_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5536 guint32 param=0;
5537 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_transport_obj_dn, param);
5538 return offset;
5541 static int
5542 unique_drsuapi_dissect_DsReplicaNeighbour_transport_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5544 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaNeighbour_transport_obj_dn, NDR_POINTER_UNIQUE, "transport_obj_dn", -1);
5545 return offset;
5548 static int
5549 drsuapi_dissect_DsReplicaNeighbour_replica_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5551 guint32 param=0;
5552 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_replica_flags, param);
5553 return offset;
5556 static int
5557 drsuapi_dissect_DsReplicaNeighbour_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5559 guint32 param=0;
5560 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_reserved, param);
5561 return offset;
5564 static int
5565 drsuapi_dissect_DsReplicaNeighbour_naming_context_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5567 guint32 param=0;
5568 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_naming_context_obj_guid, param);
5569 return offset;
5572 static int
5573 drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5575 guint32 param=0;
5576 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid, param);
5577 return offset;
5580 static int
5581 drsuapi_dissect_DsReplicaNeighbour_source_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5583 guint32 param=0;
5584 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id, param);
5585 return offset;
5588 static int
5589 drsuapi_dissect_DsReplicaNeighbour_transport_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5591 guint32 param=0;
5592 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_transport_obj_guid, param);
5593 return offset;
5596 static int
5597 drsuapi_dissect_DsReplicaNeighbour_tmp_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5599 guint32 param=0;
5600 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_tmp_highest_usn, param);
5601 return offset;
5604 static int
5605 drsuapi_dissect_DsReplicaNeighbour_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5607 guint32 param=0;
5608 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_highest_usn, param);
5609 return offset;
5613 static int
5614 drsuapi_dissect_NTTIME(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
5616 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_index);
5618 return offset;
5621 static int
5622 drsuapi_dissect_DsReplicaNeighbour_last_success(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5624 guint32 param=0;
5625 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_last_success, param);
5626 return offset;
5629 static int
5630 drsuapi_dissect_DsReplicaNeighbour_last_attempt(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5632 guint32 param=0;
5633 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_last_attempt, param);
5634 return offset;
5637 static int
5638 drsuapi_dissect_DsReplicaNeighbour_result_last_attempt(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5640 guint32 param=0;
5641 offset=drsuapi_dissect_WERROR(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_result_last_attempt, param);
5642 return offset;
5645 static int
5646 drsuapi_dissect_DsReplicaNeighbour_consecutive_sync_failures(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5648 guint32 param=0;
5649 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbour_consecutive_sync_failures, param);
5650 return offset;
5655 drsuapi_dissect_DsReplicaNeighbour(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
5657 proto_item *item=NULL;
5658 proto_tree *tree=NULL;
5659 int old_offset;
5661 ALIGN_TO_8_BYTES;
5663 old_offset=offset;
5664 if(parent_tree){
5665 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5666 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaNeighbour);
5669 offset=unique_drsuapi_dissect_DsReplicaNeighbour_naming_context_dn(tvb, offset, pinfo, tree, di, drep);
5671 offset=unique_drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_dn(tvb, offset, pinfo, tree, di, drep);
5673 offset=unique_drsuapi_dissect_DsReplicaNeighbour_source_dsa_address(tvb, offset, pinfo, tree, di, drep);
5675 offset=unique_drsuapi_dissect_DsReplicaNeighbour_transport_obj_dn(tvb, offset, pinfo, tree, di, drep);
5677 offset=drsuapi_dissect_DsReplicaNeighbour_replica_flags(tvb, offset, pinfo, tree, di, drep);
5679 offset=drsuapi_dissect_DsReplicaNeighbour_reserved(tvb, offset, pinfo, tree, di, drep);
5681 offset=drsuapi_dissect_DsReplicaNeighbour_naming_context_obj_guid(tvb, offset, pinfo, tree, di, drep);
5683 offset=drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_guid(tvb, offset, pinfo, tree, di, drep);
5685 offset=drsuapi_dissect_DsReplicaNeighbour_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
5687 offset=drsuapi_dissect_DsReplicaNeighbour_transport_obj_guid(tvb, offset, pinfo, tree, di, drep);
5689 offset=drsuapi_dissect_DsReplicaNeighbour_tmp_highest_usn(tvb, offset, pinfo, tree, di, drep);
5691 offset=drsuapi_dissect_DsReplicaNeighbour_highest_usn(tvb, offset, pinfo, tree, di, drep);
5693 offset=drsuapi_dissect_DsReplicaNeighbour_last_success(tvb, offset, pinfo, tree, di, drep);
5695 offset=drsuapi_dissect_DsReplicaNeighbour_last_attempt(tvb, offset, pinfo, tree, di, drep);
5697 offset=drsuapi_dissect_DsReplicaNeighbour_result_last_attempt(tvb, offset, pinfo, tree, di, drep);
5699 offset=drsuapi_dissect_DsReplicaNeighbour_consecutive_sync_failures(tvb, offset, pinfo, tree, di, drep);
5701 proto_item_set_len(item, offset-old_offset);
5703 return offset;
5705 static int
5706 drsuapi_dissect_DsReplicaNeighbourCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5708 guint32 param=0;
5709 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbourCtr_count, param);
5710 return offset;
5713 static int
5714 drsuapi_dissect_DsReplicaNeighbourCtr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5716 guint32 param=0;
5717 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbourCtr_reserved, param);
5718 return offset;
5721 static int
5722 drsuapi_dissect_DsReplicaNeighbourCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5724 guint32 param=0;
5725 offset=drsuapi_dissect_DsReplicaNeighbour(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaNeighbourCtr_array, param);
5726 return offset;
5729 static int
5730 ucarray_drsuapi_dissect_DsReplicaNeighbourCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5732 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaNeighbourCtr_array);
5733 return offset;
5738 drsuapi_dissect_DsReplicaNeighbourCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
5740 proto_item *item=NULL;
5741 proto_tree *tree=NULL;
5742 int old_offset;
5744 ALIGN_TO_8_BYTES;
5746 old_offset=offset;
5747 if(parent_tree){
5748 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5749 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaNeighbourCtr);
5752 offset=drsuapi_dissect_DsReplicaNeighbourCtr_count(tvb, offset, pinfo, tree, di, drep);
5754 offset=drsuapi_dissect_DsReplicaNeighbourCtr_reserved(tvb, offset, pinfo, tree, di, drep);
5756 offset=ucarray_drsuapi_dissect_DsReplicaNeighbourCtr_array(tvb, offset, pinfo, tree, di, drep);
5758 proto_item_set_len(item, offset-old_offset);
5760 return offset;
5762 static int
5763 drsuapi_dissect_DsReplicaCoursorCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5765 guint32 param=0;
5766 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursorCtr_count, param);
5767 return offset;
5770 static int
5771 drsuapi_dissect_DsReplicaCoursorCtr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5773 guint32 param=0;
5774 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursorCtr_reserved, param);
5775 return offset;
5778 static int
5779 drsuapi_dissect_DsReplicaCoursorCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5781 guint32 param=0;
5782 offset=drsuapi_dissect_DsReplicaCoursor(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursorCtr_array, param);
5783 return offset;
5786 static int
5787 ucarray_drsuapi_dissect_DsReplicaCoursorCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5789 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaCoursorCtr_array);
5790 return offset;
5795 drsuapi_dissect_DsReplicaCoursorCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
5797 proto_item *item=NULL;
5798 proto_tree *tree=NULL;
5799 int old_offset;
5801 ALIGN_TO_8_BYTES;
5803 old_offset=offset;
5804 if(parent_tree){
5805 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5806 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursorCtr);
5809 offset=drsuapi_dissect_DsReplicaCoursorCtr_count(tvb, offset, pinfo, tree, di, drep);
5811 offset=drsuapi_dissect_DsReplicaCoursorCtr_reserved(tvb, offset, pinfo, tree, di, drep);
5813 offset=ucarray_drsuapi_dissect_DsReplicaCoursorCtr_array(tvb, offset, pinfo, tree, di, drep);
5815 proto_item_set_len(item, offset-old_offset);
5817 return offset;
5819 static int
5820 drsuapi_dissect_DsReplicaObjMetaData_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5822 guint32 param=0;
5823 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData_attribute_name, param);
5824 return offset;
5827 static int
5828 unique_drsuapi_dissect_DsReplicaObjMetaData_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5830 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaObjMetaData_attribute_name, NDR_POINTER_UNIQUE, "attribute_name", -1);
5831 return offset;
5834 static int
5835 drsuapi_dissect_DsReplicaObjMetaData_version(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5837 guint32 param=0;
5838 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData_version, param);
5839 return offset;
5842 static int
5843 drsuapi_dissect_DsReplicaObjMetaData_originating_last_changed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5845 guint32 param=0;
5846 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData_originating_last_changed, param);
5847 return offset;
5850 static int
5851 drsuapi_dissect_DsReplicaObjMetaData_originating_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5853 guint32 param=0;
5854 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData_originating_dsa_invocation_id, param);
5855 return offset;
5858 static int
5859 drsuapi_dissect_DsReplicaObjMetaData_originating_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5861 guint32 param=0;
5862 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData_originating_usn, param);
5863 return offset;
5866 static int
5867 drsuapi_dissect_DsReplicaObjMetaData_local_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5869 guint32 param=0;
5870 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData_local_usn, param);
5871 return offset;
5876 drsuapi_dissect_DsReplicaObjMetaData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
5878 proto_item *item=NULL;
5879 proto_tree *tree=NULL;
5880 int old_offset;
5882 ALIGN_TO_8_BYTES;
5884 old_offset=offset;
5885 if(parent_tree){
5886 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5887 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaObjMetaData);
5890 offset=unique_drsuapi_dissect_DsReplicaObjMetaData_attribute_name(tvb, offset, pinfo, tree, di, drep);
5892 offset=drsuapi_dissect_DsReplicaObjMetaData_version(tvb, offset, pinfo, tree, di, drep);
5894 offset=drsuapi_dissect_DsReplicaObjMetaData_originating_last_changed(tvb, offset, pinfo, tree, di, drep);
5896 offset=drsuapi_dissect_DsReplicaObjMetaData_originating_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
5898 offset=drsuapi_dissect_DsReplicaObjMetaData_originating_usn(tvb, offset, pinfo, tree, di, drep);
5900 offset=drsuapi_dissect_DsReplicaObjMetaData_local_usn(tvb, offset, pinfo, tree, di, drep);
5902 proto_item_set_len(item, offset-old_offset);
5904 return offset;
5906 static int
5907 drsuapi_dissect_DsReplicaObjMetaDataCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5909 guint32 param=0;
5910 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaDataCtr_count, param);
5911 return offset;
5914 static int
5915 drsuapi_dissect_DsReplicaObjMetaDataCtr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5917 guint32 param=0;
5918 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaDataCtr_reserved, param);
5919 return offset;
5922 static int
5923 drsuapi_dissect_DsReplicaObjMetaDataCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5925 guint32 param=0;
5926 offset=drsuapi_dissect_DsReplicaObjMetaData(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaDataCtr_array, param);
5927 return offset;
5930 static int
5931 ucarray_drsuapi_dissect_DsReplicaObjMetaDataCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5933 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaObjMetaDataCtr_array);
5934 return offset;
5939 drsuapi_dissect_DsReplicaObjMetaDataCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
5941 proto_item *item=NULL;
5942 proto_tree *tree=NULL;
5943 int old_offset;
5945 ALIGN_TO_8_BYTES;
5947 old_offset=offset;
5948 if(parent_tree){
5949 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5950 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaObjMetaDataCtr);
5953 offset=drsuapi_dissect_DsReplicaObjMetaDataCtr_count(tvb, offset, pinfo, tree, di, drep);
5955 offset=drsuapi_dissect_DsReplicaObjMetaDataCtr_reserved(tvb, offset, pinfo, tree, di, drep);
5957 offset=ucarray_drsuapi_dissect_DsReplicaObjMetaDataCtr_array(tvb, offset, pinfo, tree, di, drep);
5959 proto_item_set_len(item, offset-old_offset);
5961 return offset;
5963 static int
5964 drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5966 guint32 param=0;
5967 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn, param);
5968 return offset;
5971 static int
5972 unique_drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5974 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_dn, NDR_POINTER_UNIQUE, "dsa_obj_dn", -1);
5975 return offset;
5978 static int
5979 drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5981 guint32 param=0;
5982 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid, param);
5983 return offset;
5986 static int
5987 drsuapi_dissect_DsReplicaKccDsaFailure_first_failure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5989 guint32 param=0;
5990 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaKccDsaFailure_first_failure, param);
5991 return offset;
5994 static int
5995 drsuapi_dissect_DsReplicaKccDsaFailure_num_failures(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
5997 guint32 param=0;
5998 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaKccDsaFailure_num_failures, param);
5999 return offset;
6002 static int
6003 drsuapi_dissect_DsReplicaKccDsaFailure_last_result(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6005 guint32 param=0;
6006 offset=drsuapi_dissect_WERROR(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaKccDsaFailure_last_result, param);
6007 return offset;
6012 drsuapi_dissect_DsReplicaKccDsaFailure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
6014 proto_item *item=NULL;
6015 proto_tree *tree=NULL;
6016 int old_offset;
6018 ALIGN_TO_4_BYTES;
6020 old_offset=offset;
6021 if(parent_tree){
6022 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6023 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaKccDsaFailure);
6026 offset=unique_drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_dn(tvb, offset, pinfo, tree, di, drep);
6028 offset=drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_guid(tvb, offset, pinfo, tree, di, drep);
6030 offset=drsuapi_dissect_DsReplicaKccDsaFailure_first_failure(tvb, offset, pinfo, tree, di, drep);
6032 offset=drsuapi_dissect_DsReplicaKccDsaFailure_num_failures(tvb, offset, pinfo, tree, di, drep);
6034 offset=drsuapi_dissect_DsReplicaKccDsaFailure_last_result(tvb, offset, pinfo, tree, di, drep);
6036 proto_item_set_len(item, offset-old_offset);
6038 return offset;
6040 static int
6041 drsuapi_dissect_DsReplicaKccDsaFailuresCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6043 guint32 param=0;
6044 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaKccDsaFailuresCtr_count, param);
6045 return offset;
6048 static int
6049 drsuapi_dissect_DsReplicaKccDsaFailuresCtr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6051 guint32 param=0;
6052 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaKccDsaFailuresCtr_reserved, param);
6053 return offset;
6056 static int
6057 drsuapi_dissect_DsReplicaKccDsaFailuresCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6059 guint32 param=0;
6060 offset=drsuapi_dissect_DsReplicaKccDsaFailure(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaKccDsaFailuresCtr_array, param);
6061 return offset;
6064 static int
6065 ucarray_drsuapi_dissect_DsReplicaKccDsaFailuresCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6067 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaKccDsaFailuresCtr_array);
6068 return offset;
6073 drsuapi_dissect_DsReplicaKccDsaFailuresCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
6075 proto_item *item=NULL;
6076 proto_tree *tree=NULL;
6077 int old_offset;
6079 ALIGN_TO_4_BYTES;
6081 old_offset=offset;
6082 if(parent_tree){
6083 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6084 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaKccDsaFailuresCtr);
6087 offset=drsuapi_dissect_DsReplicaKccDsaFailuresCtr_count(tvb, offset, pinfo, tree, di, drep);
6089 offset=drsuapi_dissect_DsReplicaKccDsaFailuresCtr_reserved(tvb, offset, pinfo, tree, di, drep);
6091 offset=ucarray_drsuapi_dissect_DsReplicaKccDsaFailuresCtr_array(tvb, offset, pinfo, tree, di, drep);
6093 proto_item_set_len(item, offset-old_offset);
6095 return offset;
6098 const value_string drsuapi_DsReplicaOpType_vals[] = {
6099 { 0 , "DRSUAPI_DS_REPLICA_OP_TYPE_SYNC" },
6100 { 1 , "DRSUAPI_DS_REPLICA_OP_TYPE_ADD" },
6101 { 2 , "DRSUAPI_DS_REPLICA_OP_TYPE_DELETE" },
6102 { 3 , "DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY" },
6103 { 4 , "DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS" },
6104 { 0 , NULL }
6108 drsuapi_dissect_DsReplicaOpType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
6110 offset=dissect_ndr_uint16(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
6111 return offset;
6114 static int
6115 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6117 guint32 param=0;
6118 offset=drsuapi_dissect_DsReplicaSyncOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync, param);
6119 return offset;
6122 static int
6123 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6125 guint32 param=0;
6126 offset=drsuapi_dissect_DsReplicaAddOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add, param);
6127 return offset;
6130 static int
6131 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6133 guint32 param=0;
6134 offset=drsuapi_dissect_DsReplicaDeleteOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete, param);
6135 return offset;
6138 static int
6139 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6141 guint32 param=0;
6142 offset=drsuapi_dissect_DsReplicaModifyOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify, param);
6143 return offset;
6146 static int
6147 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6149 guint32 param=0;
6150 offset=drsuapi_dissect_DsReplicaUpdateRefsOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs, param);
6151 return offset;
6154 static int
6155 drsuapi_dissect_union_DsRplicaOpOptions_default_unknown(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6157 guint32 param=0;
6158 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsRplicaOpOptions_default_unknown, param);
6159 return offset;
6163 static int
6164 drsuapi_dissect_union_DsRplicaOpOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
6166 proto_item *item=NULL;
6167 proto_tree *tree=NULL;
6168 int old_offset;
6169 guint16 level;
6171 ALIGN_TO_2_BYTES;
6173 old_offset=offset;
6174 if(parent_tree){
6175 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsRplicaOpOptions");
6176 tree=proto_item_add_subtree(item, ett_drsuapi_DsRplicaOpOptions);
6179 offset=dissect_ndr_uint16(tvb, offset, pinfo, tree,
6180 di, drep, hf_index, &level);
6182 switch(level){
6183 case DRSUAPI_DS_REPLICA_OP_TYPE_SYNC:
6184 ALIGN_TO_4_BYTES;
6185 offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync(tvb, offset, pinfo, tree, di, drep);
6186 break;
6188 case DRSUAPI_DS_REPLICA_OP_TYPE_ADD:
6189 ALIGN_TO_4_BYTES;
6190 offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add(tvb, offset, pinfo, tree, di, drep);
6191 break;
6193 case DRSUAPI_DS_REPLICA_OP_TYPE_DELETE:
6194 ALIGN_TO_4_BYTES;
6195 offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete(tvb, offset, pinfo, tree, di, drep);
6196 break;
6198 case DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY:
6199 ALIGN_TO_4_BYTES;
6200 offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify(tvb, offset, pinfo, tree, di, drep);
6201 break;
6203 case DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS:
6204 ALIGN_TO_4_BYTES;
6205 offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs(tvb, offset, pinfo, tree, di, drep);
6206 break;
6208 default:
6209 ALIGN_TO_4_BYTES;
6210 offset=drsuapi_dissect_union_DsRplicaOpOptions_default_unknown(tvb, offset, pinfo, tree, di, drep);
6211 break;
6215 proto_item_set_len(item, offset-old_offset);
6217 return offset;
6219 static int
6220 drsuapi_dissect_DsReplicaOp_operation_start(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6222 guint32 param=0;
6223 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaOp_operation_start, param);
6224 return offset;
6227 static int
6228 drsuapi_dissect_DsReplicaOp_serial_num(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6230 guint32 param=0;
6231 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaOp_serial_num, param);
6232 return offset;
6235 static int
6236 drsuapi_dissect_DsReplicaOp_priority(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6238 guint32 param=0;
6239 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaOp_priority, param);
6240 return offset;
6243 static int
6244 drsuapi_dissect_DsReplicaOp_operation_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6246 guint32 param=0;
6247 offset=drsuapi_dissect_DsReplicaOpType(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaOp_operation_type, param);
6248 return offset;
6251 static int
6252 drsuapi_dissect_DsReplicaOp_options(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6254 guint32 param=0;
6255 offset=drsuapi_dissect_union_DsRplicaOpOptions(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaOp_options, param);
6256 return offset;
6259 static int
6260 drsuapi_dissect_DsReplicaOp_nc_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6262 guint32 param=0;
6263 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaOp_nc_dn, param);
6264 return offset;
6267 static int
6268 unique_drsuapi_dissect_DsReplicaOp_nc_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6270 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaOp_nc_dn, NDR_POINTER_UNIQUE, "nc_dn", -1);
6271 return offset;
6274 static int
6275 drsuapi_dissect_DsReplicaOp_remote_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6277 guint32 param=0;
6278 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaOp_remote_dsa_obj_dn, param);
6279 return offset;
6282 static int
6283 unique_drsuapi_dissect_DsReplicaOp_remote_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6285 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaOp_remote_dsa_obj_dn, NDR_POINTER_UNIQUE, "remote_dsa_obj_dn", -1);
6286 return offset;
6289 static int
6290 drsuapi_dissect_DsReplicaOp_remote_dsa_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6292 guint32 param=0;
6293 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaOp_remote_dsa_address, param);
6294 return offset;
6297 static int
6298 unique_drsuapi_dissect_DsReplicaOp_remote_dsa_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6300 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaOp_remote_dsa_address, NDR_POINTER_UNIQUE, "remote_dsa_address", -1);
6301 return offset;
6304 static int
6305 drsuapi_dissect_DsReplicaOp_nc_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6307 guint32 param=0;
6308 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaOp_nc_obj_guid, param);
6309 return offset;
6312 static int
6313 drsuapi_dissect_DsReplicaOp_remote_dsa_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6315 guint32 param=0;
6316 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaOp_remote_dsa_obj_guid, param);
6317 return offset;
6322 drsuapi_dissect_DsReplicaOp(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
6324 proto_item *item=NULL;
6325 proto_tree *tree=NULL;
6326 int old_offset;
6328 ALIGN_TO_4_BYTES;
6330 old_offset=offset;
6331 if(parent_tree){
6332 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6333 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaOp);
6336 offset=drsuapi_dissect_DsReplicaOp_operation_start(tvb, offset, pinfo, tree, di, drep);
6338 offset=drsuapi_dissect_DsReplicaOp_serial_num(tvb, offset, pinfo, tree, di, drep);
6340 offset=drsuapi_dissect_DsReplicaOp_priority(tvb, offset, pinfo, tree, di, drep);
6342 offset=drsuapi_dissect_DsReplicaOp_operation_type(tvb, offset, pinfo, tree, di, drep);
6344 offset=drsuapi_dissect_DsReplicaOp_options(tvb, offset, pinfo, tree, di, drep);
6346 offset=unique_drsuapi_dissect_DsReplicaOp_nc_dn(tvb, offset, pinfo, tree, di, drep);
6348 offset=unique_drsuapi_dissect_DsReplicaOp_remote_dsa_obj_dn(tvb, offset, pinfo, tree, di, drep);
6350 offset=unique_drsuapi_dissect_DsReplicaOp_remote_dsa_address(tvb, offset, pinfo, tree, di, drep);
6352 offset=drsuapi_dissect_DsReplicaOp_nc_obj_guid(tvb, offset, pinfo, tree, di, drep);
6354 offset=drsuapi_dissect_DsReplicaOp_remote_dsa_obj_guid(tvb, offset, pinfo, tree, di, drep);
6356 proto_item_set_len(item, offset-old_offset);
6358 return offset;
6360 static int
6361 drsuapi_dissect_DsReplicaOpCtr_time(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6363 guint32 param=0;
6364 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaOpCtr_time, param);
6365 return offset;
6368 static int
6369 drsuapi_dissect_DsReplicaOpCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6371 guint32 param=0;
6372 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaOpCtr_count, param);
6373 return offset;
6376 static int
6377 drsuapi_dissect_DsReplicaOpCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6379 guint32 param=0;
6380 offset=drsuapi_dissect_DsReplicaOp(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaOpCtr_array, param);
6381 return offset;
6384 static int
6385 ucarray_drsuapi_dissect_DsReplicaOpCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6387 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaOpCtr_array);
6388 return offset;
6393 drsuapi_dissect_DsReplicaOpCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
6395 proto_item *item=NULL;
6396 proto_tree *tree=NULL;
6397 int old_offset;
6399 ALIGN_TO_4_BYTES;
6401 old_offset=offset;
6402 if(parent_tree){
6403 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6404 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaOpCtr);
6407 offset=drsuapi_dissect_DsReplicaOpCtr_time(tvb, offset, pinfo, tree, di, drep);
6409 offset=drsuapi_dissect_DsReplicaOpCtr_count(tvb, offset, pinfo, tree, di, drep);
6411 offset=ucarray_drsuapi_dissect_DsReplicaOpCtr_array(tvb, offset, pinfo, tree, di, drep);
6413 proto_item_set_len(item, offset-old_offset);
6415 return offset;
6417 static int
6418 drsuapi_dissect_DsReplicaAttrValMetaData_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6420 guint32 param=0;
6421 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData_attribute_name, param);
6422 return offset;
6425 static int
6426 unique_drsuapi_dissect_DsReplicaAttrValMetaData_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6428 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaAttrValMetaData_attribute_name, NDR_POINTER_UNIQUE, "attribute_name", -1);
6429 return offset;
6432 static int
6433 drsuapi_dissect_DsReplicaAttrValMetaData_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6435 guint32 param=0;
6436 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData_object_dn, param);
6437 return offset;
6440 static int
6441 unique_drsuapi_dissect_DsReplicaAttrValMetaData_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6443 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaAttrValMetaData_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
6444 return offset;
6447 static int
6448 drsuapi_dissect_DsReplicaAttrValMetaData_value_length(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6450 guint32 param=0;
6451 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData_value_length, param);
6452 return offset;
6455 static int
6456 drsuapi_dissect_DsReplicaAttrValMetaData_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6458 guint32 param=0;
6459 offset=drsuapi_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData_value, param);
6460 return offset;
6463 static int
6464 ucarray_drsuapi_dissect_DsReplicaAttrValMetaData_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6466 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaAttrValMetaData_value);
6467 return offset;
6470 static int
6471 unique_ucarray_drsuapi_dissect_DsReplicaAttrValMetaData_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6473 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, ucarray_drsuapi_dissect_DsReplicaAttrValMetaData_value, NDR_POINTER_UNIQUE, "value", -1);
6474 return offset;
6477 static int
6478 drsuapi_dissect_DsReplicaAttrValMetaData_deleted(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6480 guint32 param=0;
6481 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData_deleted, param);
6482 return offset;
6485 static int
6486 drsuapi_dissect_DsReplicaAttrValMetaData_created(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6488 guint32 param=0;
6489 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData_created, param);
6490 return offset;
6493 static int
6494 drsuapi_dissect_DsReplicaAttrValMetaData_version(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6496 guint32 param=0;
6497 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData_version, param);
6498 return offset;
6501 static int
6502 drsuapi_dissect_DsReplicaAttrValMetaData_originating_last_changed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6504 guint32 param=0;
6505 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData_originating_last_changed, param);
6506 return offset;
6509 static int
6510 drsuapi_dissect_DsReplicaAttrValMetaData_originating_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6512 guint32 param=0;
6513 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData_originating_dsa_invocation_id, param);
6514 return offset;
6517 static int
6518 drsuapi_dissect_DsReplicaAttrValMetaData_originating_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6520 guint32 param=0;
6521 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData_originating_usn, param);
6522 return offset;
6525 static int
6526 drsuapi_dissect_DsReplicaAttrValMetaData_local_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6528 guint32 param=0;
6529 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData_local_usn, param);
6530 return offset;
6535 drsuapi_dissect_DsReplicaAttrValMetaData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
6537 proto_item *item=NULL;
6538 proto_tree *tree=NULL;
6539 int old_offset;
6541 ALIGN_TO_8_BYTES;
6543 old_offset=offset;
6544 if(parent_tree){
6545 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6546 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAttrValMetaData);
6549 offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData_attribute_name(tvb, offset, pinfo, tree, di, drep);
6551 offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData_object_dn(tvb, offset, pinfo, tree, di, drep);
6553 offset=drsuapi_dissect_DsReplicaAttrValMetaData_value_length(tvb, offset, pinfo, tree, di, drep);
6555 offset=unique_ucarray_drsuapi_dissect_DsReplicaAttrValMetaData_value(tvb, offset, pinfo, tree, di, drep);
6557 offset=drsuapi_dissect_DsReplicaAttrValMetaData_deleted(tvb, offset, pinfo, tree, di, drep);
6559 offset=drsuapi_dissect_DsReplicaAttrValMetaData_created(tvb, offset, pinfo, tree, di, drep);
6561 offset=drsuapi_dissect_DsReplicaAttrValMetaData_version(tvb, offset, pinfo, tree, di, drep);
6563 offset=drsuapi_dissect_DsReplicaAttrValMetaData_originating_last_changed(tvb, offset, pinfo, tree, di, drep);
6565 offset=drsuapi_dissect_DsReplicaAttrValMetaData_originating_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
6567 offset=drsuapi_dissect_DsReplicaAttrValMetaData_originating_usn(tvb, offset, pinfo, tree, di, drep);
6569 offset=drsuapi_dissect_DsReplicaAttrValMetaData_local_usn(tvb, offset, pinfo, tree, di, drep);
6571 proto_item_set_len(item, offset-old_offset);
6573 return offset;
6575 static int
6576 drsuapi_dissect_DsReplicaAttrValMetaDataCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6578 guint32 param=0;
6579 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaDataCtr_count, param);
6580 return offset;
6583 static int
6584 drsuapi_dissect_DsReplicaAttrValMetaDataCtr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6586 guint32 param=0;
6587 offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context, param);
6588 return offset;
6591 static int
6592 drsuapi_dissect_DsReplicaAttrValMetaDataCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6594 guint32 param=0;
6595 offset=drsuapi_dissect_DsReplicaAttrValMetaData(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaDataCtr_array, param);
6596 return offset;
6599 static int
6600 ucarray_drsuapi_dissect_DsReplicaAttrValMetaDataCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6602 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaAttrValMetaDataCtr_array);
6603 return offset;
6608 drsuapi_dissect_DsReplicaAttrValMetaDataCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
6610 proto_item *item=NULL;
6611 proto_tree *tree=NULL;
6612 int old_offset;
6614 ALIGN_TO_8_BYTES;
6616 old_offset=offset;
6617 if(parent_tree){
6618 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6619 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAttrValMetaDataCtr);
6622 offset=drsuapi_dissect_DsReplicaAttrValMetaDataCtr_count(tvb, offset, pinfo, tree, di, drep);
6624 offset=drsuapi_dissect_DsReplicaAttrValMetaDataCtr_enumeration_context(tvb, offset, pinfo, tree, di, drep);
6626 offset=ucarray_drsuapi_dissect_DsReplicaAttrValMetaDataCtr_array(tvb, offset, pinfo, tree, di, drep);
6628 proto_item_set_len(item, offset-old_offset);
6630 return offset;
6632 static int
6633 drsuapi_dissect_DsReplicaCoursor2_source_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6635 guint32 param=0;
6636 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor2_source_dsa_invocation_id, param);
6637 return offset;
6640 static int
6641 drsuapi_dissect_DsReplicaCoursor2_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6643 guint32 param=0;
6644 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor2_highest_usn, param);
6645 return offset;
6648 static int
6649 drsuapi_dissect_DsReplicaCoursor2_last_sync_success(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6651 guint32 param=0;
6652 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor2_last_sync_success, param);
6653 return offset;
6658 drsuapi_dissect_DsReplicaCoursor2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
6660 proto_item *item=NULL;
6661 proto_tree *tree=NULL;
6662 int old_offset;
6664 ALIGN_TO_8_BYTES;
6666 old_offset=offset;
6667 if(parent_tree){
6668 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6669 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor2);
6672 offset=drsuapi_dissect_DsReplicaCoursor2_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
6674 offset=drsuapi_dissect_DsReplicaCoursor2_highest_usn(tvb, offset, pinfo, tree, di, drep);
6676 offset=drsuapi_dissect_DsReplicaCoursor2_last_sync_success(tvb, offset, pinfo, tree, di, drep);
6678 proto_item_set_len(item, offset-old_offset);
6680 return offset;
6682 static int
6683 drsuapi_dissect_DsReplicaCoursor2Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6685 guint32 param=0;
6686 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor2Ctr_count, param);
6687 return offset;
6690 static int
6691 drsuapi_dissect_DsReplicaCoursor2Ctr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6693 guint32 param=0;
6694 offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor2Ctr_enumeration_context, param);
6695 return offset;
6698 static int
6699 drsuapi_dissect_DsReplicaCoursor2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6701 guint32 param=0;
6702 offset=drsuapi_dissect_DsReplicaCoursor2(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor2Ctr_array, param);
6703 return offset;
6706 static int
6707 ucarray_drsuapi_dissect_DsReplicaCoursor2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6709 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaCoursor2Ctr_array);
6710 return offset;
6715 drsuapi_dissect_DsReplicaCoursor2Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
6717 proto_item *item=NULL;
6718 proto_tree *tree=NULL;
6719 int old_offset;
6721 ALIGN_TO_8_BYTES;
6723 old_offset=offset;
6724 if(parent_tree){
6725 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6726 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor2Ctr);
6729 offset=drsuapi_dissect_DsReplicaCoursor2Ctr_count(tvb, offset, pinfo, tree, di, drep);
6731 offset=drsuapi_dissect_DsReplicaCoursor2Ctr_enumeration_context(tvb, offset, pinfo, tree, di, drep);
6733 offset=ucarray_drsuapi_dissect_DsReplicaCoursor2Ctr_array(tvb, offset, pinfo, tree, di, drep);
6735 proto_item_set_len(item, offset-old_offset);
6737 return offset;
6739 static int
6740 drsuapi_dissect_DsReplicaCoursor3_source_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6742 guint32 param=0;
6743 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor3_source_dsa_invocation_id, param);
6744 return offset;
6747 static int
6748 drsuapi_dissect_DsReplicaCoursor3_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6750 guint32 param=0;
6751 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor3_highest_usn, param);
6752 return offset;
6755 static int
6756 drsuapi_dissect_DsReplicaCoursor3_last_sync_success(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6758 guint32 param=0;
6759 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor3_last_sync_success, param);
6760 return offset;
6763 static int
6764 drsuapi_dissect_DsReplicaCoursor3_source_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6766 guint32 param=0;
6767 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor3_source_dsa_obj_dn, param);
6768 return offset;
6771 static int
6772 unique_drsuapi_dissect_DsReplicaCoursor3_source_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6774 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaCoursor3_source_dsa_obj_dn, NDR_POINTER_UNIQUE, "source_dsa_obj_dn", -1);
6775 return offset;
6780 drsuapi_dissect_DsReplicaCoursor3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
6782 proto_item *item=NULL;
6783 proto_tree *tree=NULL;
6784 int old_offset;
6786 ALIGN_TO_8_BYTES;
6788 old_offset=offset;
6789 if(parent_tree){
6790 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6791 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor3);
6794 offset=drsuapi_dissect_DsReplicaCoursor3_source_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
6796 offset=drsuapi_dissect_DsReplicaCoursor3_highest_usn(tvb, offset, pinfo, tree, di, drep);
6798 offset=drsuapi_dissect_DsReplicaCoursor3_last_sync_success(tvb, offset, pinfo, tree, di, drep);
6800 offset=unique_drsuapi_dissect_DsReplicaCoursor3_source_dsa_obj_dn(tvb, offset, pinfo, tree, di, drep);
6802 proto_item_set_len(item, offset-old_offset);
6804 return offset;
6806 static int
6807 drsuapi_dissect_DsReplicaCoursor3Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6809 guint32 param=0;
6810 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor3Ctr_count, param);
6811 return offset;
6814 static int
6815 drsuapi_dissect_DsReplicaCoursor3Ctr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6817 guint32 param=0;
6818 offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor3Ctr_enumeration_context, param);
6819 return offset;
6822 static int
6823 drsuapi_dissect_DsReplicaCoursor3Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6825 guint32 param=0;
6826 offset=drsuapi_dissect_DsReplicaCoursor3(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaCoursor3Ctr_array, param);
6827 return offset;
6830 static int
6831 ucarray_drsuapi_dissect_DsReplicaCoursor3Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6833 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaCoursor3Ctr_array);
6834 return offset;
6839 drsuapi_dissect_DsReplicaCoursor3Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
6841 proto_item *item=NULL;
6842 proto_tree *tree=NULL;
6843 int old_offset;
6845 ALIGN_TO_8_BYTES;
6847 old_offset=offset;
6848 if(parent_tree){
6849 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6850 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor3Ctr);
6853 offset=drsuapi_dissect_DsReplicaCoursor3Ctr_count(tvb, offset, pinfo, tree, di, drep);
6855 offset=drsuapi_dissect_DsReplicaCoursor3Ctr_enumeration_context(tvb, offset, pinfo, tree, di, drep);
6857 offset=ucarray_drsuapi_dissect_DsReplicaCoursor3Ctr_array(tvb, offset, pinfo, tree, di, drep);
6859 proto_item_set_len(item, offset-old_offset);
6861 return offset;
6863 static int
6864 drsuapi_dissect_DsReplicaObjMetaData2_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6866 guint32 param=0;
6867 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData2_attribute_name, param);
6868 return offset;
6871 static int
6872 unique_drsuapi_dissect_DsReplicaObjMetaData2_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6874 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaObjMetaData2_attribute_name, NDR_POINTER_UNIQUE, "attribute_name", -1);
6875 return offset;
6878 static int
6879 drsuapi_dissect_DsReplicaObjMetaData2_version(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6881 guint32 param=0;
6882 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData2_version, param);
6883 return offset;
6886 static int
6887 drsuapi_dissect_DsReplicaObjMetaData2_originating_last_changed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6889 guint32 param=0;
6890 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData2_originating_last_changed, param);
6891 return offset;
6894 static int
6895 drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6897 guint32 param=0;
6898 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_invocation_id, param);
6899 return offset;
6902 static int
6903 drsuapi_dissect_DsReplicaObjMetaData2_originating_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6905 guint32 param=0;
6906 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData2_originating_usn, param);
6907 return offset;
6910 static int
6911 drsuapi_dissect_DsReplicaObjMetaData2_local_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6913 guint32 param=0;
6914 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData2_local_usn, param);
6915 return offset;
6918 static int
6919 drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6921 guint32 param=0;
6922 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_obj_dn, param);
6923 return offset;
6926 static int
6927 unique_drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6929 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_obj_dn, NDR_POINTER_UNIQUE, "originating_dsa_obj_dn", -1);
6930 return offset;
6935 drsuapi_dissect_DsReplicaObjMetaData2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
6937 proto_item *item=NULL;
6938 proto_tree *tree=NULL;
6939 int old_offset;
6941 ALIGN_TO_8_BYTES;
6943 old_offset=offset;
6944 if(parent_tree){
6945 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6946 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaObjMetaData2);
6949 offset=unique_drsuapi_dissect_DsReplicaObjMetaData2_attribute_name(tvb, offset, pinfo, tree, di, drep);
6951 offset=drsuapi_dissect_DsReplicaObjMetaData2_version(tvb, offset, pinfo, tree, di, drep);
6953 offset=drsuapi_dissect_DsReplicaObjMetaData2_originating_last_changed(tvb, offset, pinfo, tree, di, drep);
6955 offset=drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
6957 offset=drsuapi_dissect_DsReplicaObjMetaData2_originating_usn(tvb, offset, pinfo, tree, di, drep);
6959 offset=drsuapi_dissect_DsReplicaObjMetaData2_local_usn(tvb, offset, pinfo, tree, di, drep);
6961 offset=unique_drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_obj_dn(tvb, offset, pinfo, tree, di, drep);
6963 proto_item_set_len(item, offset-old_offset);
6965 return offset;
6967 static int
6968 drsuapi_dissect_DsReplicaObjMetaData2Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6970 guint32 param=0;
6971 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData2Ctr_count, param);
6972 return offset;
6975 static int
6976 drsuapi_dissect_DsReplicaObjMetaData2Ctr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6978 guint32 param=0;
6979 offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context, param);
6980 return offset;
6983 static int
6984 drsuapi_dissect_DsReplicaObjMetaData2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6986 guint32 param=0;
6987 offset=drsuapi_dissect_DsReplicaObjMetaData2(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaObjMetaData2Ctr_array, param);
6988 return offset;
6991 static int
6992 ucarray_drsuapi_dissect_DsReplicaObjMetaData2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
6994 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaObjMetaData2Ctr_array);
6995 return offset;
7000 drsuapi_dissect_DsReplicaObjMetaData2Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
7002 proto_item *item=NULL;
7003 proto_tree *tree=NULL;
7004 int old_offset;
7006 ALIGN_TO_8_BYTES;
7008 old_offset=offset;
7009 if(parent_tree){
7010 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7011 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaObjMetaData2Ctr);
7014 offset=drsuapi_dissect_DsReplicaObjMetaData2Ctr_count(tvb, offset, pinfo, tree, di, drep);
7016 offset=drsuapi_dissect_DsReplicaObjMetaData2Ctr_enumeration_context(tvb, offset, pinfo, tree, di, drep);
7018 offset=ucarray_drsuapi_dissect_DsReplicaObjMetaData2Ctr_array(tvb, offset, pinfo, tree, di, drep);
7020 proto_item_set_len(item, offset-old_offset);
7022 return offset;
7024 static int
7025 drsuapi_dissect_DsReplicaAttrValMetaData2_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7027 guint32 param=0;
7028 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2_attribute_name, param);
7029 return offset;
7032 static int
7033 unique_drsuapi_dissect_DsReplicaAttrValMetaData2_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7035 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaAttrValMetaData2_attribute_name, NDR_POINTER_UNIQUE, "attribute_name", -1);
7036 return offset;
7039 static int
7040 drsuapi_dissect_DsReplicaAttrValMetaData2_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7042 guint32 param=0;
7043 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2_object_dn, param);
7044 return offset;
7047 static int
7048 unique_drsuapi_dissect_DsReplicaAttrValMetaData2_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7050 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaAttrValMetaData2_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
7051 return offset;
7054 static int
7055 drsuapi_dissect_DsReplicaAttrValMetaData2_value_length(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7057 guint32 param=0;
7058 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2_value_length, param);
7059 return offset;
7062 static int
7063 drsuapi_dissect_DsReplicaAttrValMetaData2_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7065 guint32 param=0;
7066 offset=drsuapi_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2_value, param);
7067 return offset;
7070 static int
7071 ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7073 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaAttrValMetaData2_value);
7074 return offset;
7077 static int
7078 unique_ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7080 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2_value, NDR_POINTER_UNIQUE, "value", -1);
7081 return offset;
7084 static int
7085 drsuapi_dissect_DsReplicaAttrValMetaData2_deleted(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7087 guint32 param=0;
7088 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2_deleted, param);
7089 return offset;
7092 static int
7093 drsuapi_dissect_DsReplicaAttrValMetaData2_created(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7095 guint32 param=0;
7096 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2_created, param);
7097 return offset;
7100 static int
7101 drsuapi_dissect_DsReplicaAttrValMetaData2_version(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7103 guint32 param=0;
7104 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2_version, param);
7105 return offset;
7108 static int
7109 drsuapi_dissect_DsReplicaAttrValMetaData2_originating_last_changed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7111 guint32 param=0;
7112 offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2_originating_last_changed, param);
7113 return offset;
7116 static int
7117 drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7119 guint32 param=0;
7120 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_invocation_id, param);
7121 return offset;
7124 static int
7125 drsuapi_dissect_DsReplicaAttrValMetaData2_originating_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7127 guint32 param=0;
7128 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2_originating_usn, param);
7129 return offset;
7132 static int
7133 drsuapi_dissect_DsReplicaAttrValMetaData2_local_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7135 guint32 param=0;
7136 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2_local_usn, param);
7137 return offset;
7140 static int
7141 drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7143 guint32 param=0;
7144 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_obj_dn, param);
7145 return offset;
7148 static int
7149 unique_drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7151 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_obj_dn, NDR_POINTER_UNIQUE, "originating_dsa_obj_dn", -1);
7152 return offset;
7157 drsuapi_dissect_DsReplicaAttrValMetaData2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
7159 proto_item *item=NULL;
7160 proto_tree *tree=NULL;
7161 int old_offset;
7163 ALIGN_TO_8_BYTES;
7165 old_offset=offset;
7166 if(parent_tree){
7167 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7168 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAttrValMetaData2);
7171 offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData2_attribute_name(tvb, offset, pinfo, tree, di, drep);
7173 offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData2_object_dn(tvb, offset, pinfo, tree, di, drep);
7175 offset=drsuapi_dissect_DsReplicaAttrValMetaData2_value_length(tvb, offset, pinfo, tree, di, drep);
7177 offset=unique_ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2_value(tvb, offset, pinfo, tree, di, drep);
7179 offset=drsuapi_dissect_DsReplicaAttrValMetaData2_deleted(tvb, offset, pinfo, tree, di, drep);
7181 offset=drsuapi_dissect_DsReplicaAttrValMetaData2_created(tvb, offset, pinfo, tree, di, drep);
7183 offset=drsuapi_dissect_DsReplicaAttrValMetaData2_version(tvb, offset, pinfo, tree, di, drep);
7185 offset=drsuapi_dissect_DsReplicaAttrValMetaData2_originating_last_changed(tvb, offset, pinfo, tree, di, drep);
7187 offset=drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_invocation_id(tvb, offset, pinfo, tree, di, drep);
7189 offset=drsuapi_dissect_DsReplicaAttrValMetaData2_originating_usn(tvb, offset, pinfo, tree, di, drep);
7191 offset=drsuapi_dissect_DsReplicaAttrValMetaData2_local_usn(tvb, offset, pinfo, tree, di, drep);
7193 offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_obj_dn(tvb, offset, pinfo, tree, di, drep);
7195 proto_item_set_len(item, offset-old_offset);
7197 return offset;
7199 static int
7200 drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7202 guint32 param=0;
7203 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2Ctr_count, param);
7204 return offset;
7207 static int
7208 drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7210 guint32 param=0;
7211 offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context, param);
7212 return offset;
7215 static int
7216 drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7218 guint32 param=0;
7219 offset=drsuapi_dissect_DsReplicaAttrValMetaData2(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaAttrValMetaData2Ctr_array, param);
7220 return offset;
7223 static int
7224 ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7226 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_array);
7227 return offset;
7232 drsuapi_dissect_DsReplicaAttrValMetaData2Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
7234 proto_item *item=NULL;
7235 proto_tree *tree=NULL;
7236 int old_offset;
7238 ALIGN_TO_8_BYTES;
7240 old_offset=offset;
7241 if(parent_tree){
7242 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7243 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAttrValMetaData2Ctr);
7246 offset=drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_count(tvb, offset, pinfo, tree, di, drep);
7248 offset=drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_enumeration_context(tvb, offset, pinfo, tree, di, drep);
7250 offset=ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_array(tvb, offset, pinfo, tree, di, drep);
7252 proto_item_set_len(item, offset-old_offset);
7254 return offset;
7256 static int
7257 drsuapi_dissect_DsReplicaConnection04_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7259 guint32 param=0;
7260 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaConnection04_u1, param);
7261 return offset;
7264 static int
7265 drsuapi_dissect_DsReplicaConnection04_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7267 guint32 param=0;
7268 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaConnection04_u2, param);
7269 return offset;
7272 static int
7273 drsuapi_dissect_DsReplicaConnection04_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7275 guint32 param=0;
7276 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaConnection04_u3, param);
7277 return offset;
7280 static int
7281 drsuapi_dissect_DsReplicaConnection04_bind_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7283 guint32 param=0;
7284 offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaConnection04_bind_guid, param);
7285 return offset;
7288 static int
7289 drsuapi_dissect_DsReplicaConnection04_bind_time(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7291 guint32 param=0;
7292 offset=drsuapi_dissect_NTTIME_1sec(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaConnection04_bind_time, param);
7293 return offset;
7296 static int
7297 drsuapi_dissect_DsReplicaConnection04_u4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7299 guint32 param=0;
7300 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaConnection04_u4, param);
7301 return offset;
7304 static int
7305 drsuapi_dissect_DsReplicaConnection04_u5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7307 guint32 param=0;
7308 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaConnection04_u5, param);
7309 return offset;
7314 drsuapi_dissect_DsReplicaConnection04(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
7316 proto_item *item=NULL;
7317 proto_tree *tree=NULL;
7318 int old_offset;
7320 ALIGN_TO_8_BYTES;
7322 old_offset=offset;
7323 if(parent_tree){
7324 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7325 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaConnection04);
7328 offset=drsuapi_dissect_DsReplicaConnection04_u1(tvb, offset, pinfo, tree, di, drep);
7330 offset=drsuapi_dissect_DsReplicaConnection04_u2(tvb, offset, pinfo, tree, di, drep);
7332 offset=drsuapi_dissect_DsReplicaConnection04_u3(tvb, offset, pinfo, tree, di, drep);
7334 offset=drsuapi_dissect_DsReplicaConnection04_bind_guid(tvb, offset, pinfo, tree, di, drep);
7336 offset=drsuapi_dissect_DsReplicaConnection04_bind_time(tvb, offset, pinfo, tree, di, drep);
7338 offset=drsuapi_dissect_DsReplicaConnection04_u4(tvb, offset, pinfo, tree, di, drep);
7340 offset=drsuapi_dissect_DsReplicaConnection04_u5(tvb, offset, pinfo, tree, di, drep);
7342 proto_item_set_len(item, offset-old_offset);
7344 return offset;
7346 static int
7347 drsuapi_dissect_DsReplicaConnection04Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7349 guint32 param=0;
7350 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaConnection04Ctr_count, param);
7351 return offset;
7354 static int
7355 drsuapi_dissect_DsReplicaConnection04Ctr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7357 guint32 param=0;
7358 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaConnection04Ctr_reserved, param);
7359 return offset;
7362 static int
7363 drsuapi_dissect_DsReplicaConnection04Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7365 guint32 param=0;
7366 offset=drsuapi_dissect_DsReplicaConnection04(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaConnection04Ctr_array, param);
7367 return offset;
7370 static int
7371 ucarray_drsuapi_dissect_DsReplicaConnection04Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7373 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaConnection04Ctr_array);
7374 return offset;
7379 drsuapi_dissect_DsReplicaConnection04Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
7381 proto_item *item=NULL;
7382 proto_tree *tree=NULL;
7383 int old_offset;
7385 ALIGN_TO_8_BYTES;
7387 old_offset=offset;
7388 if(parent_tree){
7389 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7390 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaConnection04Ctr);
7393 offset=drsuapi_dissect_DsReplicaConnection04Ctr_count(tvb, offset, pinfo, tree, di, drep);
7395 offset=drsuapi_dissect_DsReplicaConnection04Ctr_reserved(tvb, offset, pinfo, tree, di, drep);
7397 offset=ucarray_drsuapi_dissect_DsReplicaConnection04Ctr_array(tvb, offset, pinfo, tree, di, drep);
7399 proto_item_set_len(item, offset-old_offset);
7401 return offset;
7403 static int
7404 drsuapi_dissect_DsReplica06_str1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7406 guint32 param=0;
7407 offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplica06_str1, param);
7408 return offset;
7411 static int
7412 unique_drsuapi_dissect_DsReplica06_str1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7414 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplica06_str1, NDR_POINTER_UNIQUE, "str1", -1);
7415 return offset;
7418 static int
7419 drsuapi_dissect_DsReplica06_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7421 guint32 param=0;
7422 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplica06_u1, param);
7423 return offset;
7426 static int
7427 drsuapi_dissect_DsReplica06_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7429 guint32 param=0;
7430 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplica06_u2, param);
7431 return offset;
7434 static int
7435 drsuapi_dissect_DsReplica06_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7437 guint32 param=0;
7438 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplica06_u3, param);
7439 return offset;
7442 static int
7443 drsuapi_dissect_DsReplica06_u4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7445 guint32 param=0;
7446 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplica06_u4, param);
7447 return offset;
7450 static int
7451 drsuapi_dissect_DsReplica06_u5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7453 guint32 param=0;
7454 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplica06_u5, param);
7455 return offset;
7458 static int
7459 drsuapi_dissect_DsReplica06_u6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7461 guint32 param=0;
7462 offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplica06_u6, param);
7463 return offset;
7466 static int
7467 drsuapi_dissect_DsReplica06_u7(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7469 guint32 param=0;
7470 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplica06_u7, param);
7471 return offset;
7476 drsuapi_dissect_DsReplica06(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
7478 proto_item *item=NULL;
7479 proto_tree *tree=NULL;
7480 int old_offset;
7482 ALIGN_TO_8_BYTES;
7484 old_offset=offset;
7485 if(parent_tree){
7486 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7487 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplica06);
7490 offset=unique_drsuapi_dissect_DsReplica06_str1(tvb, offset, pinfo, tree, di, drep);
7492 offset=drsuapi_dissect_DsReplica06_u1(tvb, offset, pinfo, tree, di, drep);
7494 offset=drsuapi_dissect_DsReplica06_u2(tvb, offset, pinfo, tree, di, drep);
7496 offset=drsuapi_dissect_DsReplica06_u3(tvb, offset, pinfo, tree, di, drep);
7498 offset=drsuapi_dissect_DsReplica06_u4(tvb, offset, pinfo, tree, di, drep);
7500 offset=drsuapi_dissect_DsReplica06_u5(tvb, offset, pinfo, tree, di, drep);
7502 offset=drsuapi_dissect_DsReplica06_u6(tvb, offset, pinfo, tree, di, drep);
7504 offset=drsuapi_dissect_DsReplica06_u7(tvb, offset, pinfo, tree, di, drep);
7506 proto_item_set_len(item, offset-old_offset);
7508 return offset;
7510 static int
7511 drsuapi_dissect_DsReplica06Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7513 guint32 param=0;
7514 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplica06Ctr_count, param);
7515 return offset;
7518 static int
7519 drsuapi_dissect_DsReplica06Ctr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7521 guint32 param=0;
7522 offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplica06Ctr_reserved, param);
7523 return offset;
7526 static int
7527 drsuapi_dissect_DsReplica06Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7529 guint32 param=0;
7530 offset=drsuapi_dissect_DsReplica06(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplica06Ctr_array, param);
7531 return offset;
7534 static int
7535 ucarray_drsuapi_dissect_DsReplica06Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7537 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplica06Ctr_array);
7538 return offset;
7543 drsuapi_dissect_DsReplica06Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
7545 proto_item *item=NULL;
7546 proto_tree *tree=NULL;
7547 int old_offset;
7549 ALIGN_TO_8_BYTES;
7551 old_offset=offset;
7552 if(parent_tree){
7553 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7554 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplica06Ctr);
7557 offset=drsuapi_dissect_DsReplica06Ctr_count(tvb, offset, pinfo, tree, di, drep);
7559 offset=drsuapi_dissect_DsReplica06Ctr_reserved(tvb, offset, pinfo, tree, di, drep);
7561 offset=ucarray_drsuapi_dissect_DsReplica06Ctr_array(tvb, offset, pinfo, tree, di, drep);
7563 proto_item_set_len(item, offset-old_offset);
7565 return offset;
7567 static int
7568 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7570 guint32 param=0;
7571 offset=drsuapi_dissect_DsReplicaNeighbourCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours, param);
7572 return offset;
7575 static int
7576 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7578 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours, NDR_POINTER_UNIQUE, "neighbours", -1);
7579 return offset;
7582 static int
7583 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7585 guint32 param=0;
7586 offset=drsuapi_dissect_DsReplicaCoursorCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors, param);
7587 return offset;
7590 static int
7591 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7593 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors, NDR_POINTER_UNIQUE, "coursors", -1);
7594 return offset;
7597 static int
7598 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7600 guint32 param=0;
7601 offset=drsuapi_dissect_DsReplicaObjMetaDataCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata, param);
7602 return offset;
7605 static int
7606 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7608 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata, NDR_POINTER_UNIQUE, "objmetadata", -1);
7609 return offset;
7612 static int
7613 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7615 guint32 param=0;
7616 offset=drsuapi_dissect_DsReplicaKccDsaFailuresCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures, param);
7617 return offset;
7620 static int
7621 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, dcerpc_info *di, guint8 *drep)
7623 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures, NDR_POINTER_UNIQUE, "connectfailures", -1);
7624 return offset;
7627 static int
7628 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7630 guint32 param=0;
7631 offset=drsuapi_dissect_DsReplicaKccDsaFailuresCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures, param);
7632 return offset;
7635 static int
7636 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, dcerpc_info *di, guint8 *drep)
7638 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures, NDR_POINTER_UNIQUE, "linkfailures", -1);
7639 return offset;
7642 static int
7643 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7645 guint32 param=0;
7646 offset=drsuapi_dissect_DsReplicaOpCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops, param);
7647 return offset;
7650 static int
7651 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7653 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops, NDR_POINTER_UNIQUE, "pendingops", -1);
7654 return offset;
7657 static int
7658 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7660 guint32 param=0;
7661 offset=drsuapi_dissect_DsReplicaAttrValMetaDataCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata, param);
7662 return offset;
7665 static int
7666 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7668 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata, NDR_POINTER_UNIQUE, "attrvalmetadata", -1);
7669 return offset;
7672 static int
7673 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7675 guint32 param=0;
7676 offset=drsuapi_dissect_DsReplicaCoursor2Ctr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2, param);
7677 return offset;
7680 static int
7681 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7683 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2, NDR_POINTER_UNIQUE, "coursors2", -1);
7684 return offset;
7687 static int
7688 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7690 guint32 param=0;
7691 offset=drsuapi_dissect_DsReplicaCoursor3Ctr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3, param);
7692 return offset;
7695 static int
7696 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7698 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3, NDR_POINTER_UNIQUE, "coursors3", -1);
7699 return offset;
7702 static int
7703 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7705 guint32 param=0;
7706 offset=drsuapi_dissect_DsReplicaObjMetaData2Ctr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2, param);
7707 return offset;
7710 static int
7711 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7713 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2, NDR_POINTER_UNIQUE, "objmetadata2", -1);
7714 return offset;
7717 static int
7718 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7720 guint32 param=0;
7721 offset=drsuapi_dissect_DsReplicaAttrValMetaData2Ctr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2, param);
7722 return offset;
7725 static int
7726 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7728 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2, NDR_POINTER_UNIQUE, "attrvalmetadata2", -1);
7729 return offset;
7732 static int
7733 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7735 guint32 param=0;
7736 offset=drsuapi_dissect_DsReplicaNeighbourCtr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02, param);
7737 return offset;
7740 static int
7741 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7743 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02, NDR_POINTER_UNIQUE, "neighbours02", -1);
7744 return offset;
7747 static int
7748 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7750 guint32 param=0;
7751 offset=drsuapi_dissect_DsReplicaConnection04Ctr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04, param);
7752 return offset;
7755 static int
7756 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7758 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04, NDR_POINTER_UNIQUE, "connections04", -1);
7759 return offset;
7762 static int
7763 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7765 guint32 param=0;
7766 offset=drsuapi_dissect_DsReplicaCoursor05Ctr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05, param);
7767 return offset;
7770 static int
7771 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7773 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05, NDR_POINTER_UNIQUE, "coursors05", -1);
7774 return offset;
7777 static int
7778 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7780 guint32 param=0;
7781 offset=drsuapi_dissect_DsReplica06Ctr(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06, param);
7782 return offset;
7785 static int
7786 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7788 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06, NDR_POINTER_UNIQUE, "i06", -1);
7789 return offset;
7793 static int
7794 drsuapi_dissect_union_DsReplicaInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_)
7796 proto_item *item=NULL;
7797 proto_tree *tree=NULL;
7798 int old_offset;
7799 guint32 level = 0;
7801 ALIGN_TO_4_BYTES;
7803 old_offset=offset;
7804 if(parent_tree){
7805 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsReplicaInfo");
7806 tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaInfo);
7809 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
7810 di, drep, hf_index, &level);
7812 switch(level){
7813 case DRSUAPI_DS_REPLICA_INFO_NEIGHBORS:
7814 ALIGN_TO_4_BYTES;
7815 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours_unique(tvb, offset, pinfo, tree, di, drep);
7816 break;
7818 case DRSUAPI_DS_REPLICA_INFO_CURSORS:
7819 ALIGN_TO_4_BYTES;
7820 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors_unique(tvb, offset, pinfo, tree, di, drep);
7821 break;
7823 case DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA:
7824 ALIGN_TO_4_BYTES;
7825 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata_unique(tvb, offset, pinfo, tree, di, drep);
7826 break;
7828 case DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES:
7829 ALIGN_TO_4_BYTES;
7830 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures_unique(tvb, offset, pinfo, tree, di, drep);
7831 break;
7833 case DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES:
7834 ALIGN_TO_4_BYTES;
7835 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures_unique(tvb, offset, pinfo, tree, di, drep);
7836 break;
7838 case DRSUAPI_DS_REPLICA_INFO_PENDING_OPS:
7839 ALIGN_TO_4_BYTES;
7840 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops_unique(tvb, offset, pinfo, tree, di, drep);
7841 break;
7843 case DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA:
7844 ALIGN_TO_4_BYTES;
7845 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata_unique(tvb, offset, pinfo, tree, di, drep);
7846 break;
7848 case DRSUAPI_DS_REPLICA_INFO_CURSORS2:
7849 ALIGN_TO_4_BYTES;
7850 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2_unique(tvb, offset, pinfo, tree, di, drep);
7851 break;
7853 case DRSUAPI_DS_REPLICA_INFO_CURSORS3:
7854 ALIGN_TO_4_BYTES;
7855 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3_unique(tvb, offset, pinfo, tree, di, drep);
7856 break;
7858 case DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2:
7859 ALIGN_TO_4_BYTES;
7860 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2_unique(tvb, offset, pinfo, tree, di, drep);
7861 break;
7863 case DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2:
7864 ALIGN_TO_4_BYTES;
7865 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2_unique(tvb, offset, pinfo, tree, di, drep);
7866 break;
7868 case DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02:
7869 ALIGN_TO_4_BYTES;
7870 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02_unique(tvb, offset, pinfo, tree, di, drep);
7871 break;
7873 case DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04:
7874 ALIGN_TO_4_BYTES;
7875 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04_unique(tvb, offset, pinfo, tree, di, drep);
7876 break;
7878 case DRSUAPI_DS_REPLICA_INFO_CURSURS05:
7879 ALIGN_TO_4_BYTES;
7880 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05_unique(tvb, offset, pinfo, tree, di, drep);
7881 break;
7883 case DRSUAPI_DS_REPLICA_INFO_06:
7884 ALIGN_TO_4_BYTES;
7885 offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06_unique(tvb, offset, pinfo, tree, di, drep);
7886 break;
7890 proto_item_set_len(item, offset-old_offset);
7892 return offset;
7894 static int
7895 drsuapi_dissect_DsReplicaGetInfo_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7897 guint32 param=0;
7898 offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfo_bind_handle, param);
7899 return offset;
7902 static int
7903 ref_drsuapi_dissect_DsReplicaGetInfo_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7905 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, drsuapi_dissect_DsReplicaGetInfo_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
7906 return offset;
7909 static int
7910 drsuapi_dissect_DsReplicaGetInfo_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7912 guint32 param=0;
7913 offset=drsuapi_dissect_DsReplicaGetInfoLevel(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfo_level, param);
7914 return offset;
7917 static int
7918 drsuapi_dissect_DsReplicaGetInfo_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7920 guint32 param=0;
7921 offset=drsuapi_dissect_union_DsReplicaGetInfoRequest(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfo_req, param);
7922 return offset;
7925 static int
7926 drsuapi_dissect_DsReplicaGetInfo_info_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7928 guint32 param=0;
7929 offset=drsuapi_dissect_DsReplicaInfoType(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfo_info_type, param);
7930 return offset;
7933 static int
7934 drsuapi_dissect_DsReplicaGetInfo_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
7936 guint32 param=0;
7937 offset=drsuapi_dissect_union_DsReplicaInfo(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_DsReplicaGetInfo_info, param);
7938 return offset;
7942 static int
7943 drsuapi_dissect_DsReplicaGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7945 offset=ref_drsuapi_dissect_DsReplicaGetInfo_bind_handle(tvb, offset, pinfo, tree, di, drep);
7946 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7948 offset=drsuapi_dissect_DsReplicaGetInfo_level(tvb, offset, pinfo, tree, di, drep);
7949 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7951 offset=drsuapi_dissect_DsReplicaGetInfo_req(tvb, offset, pinfo, tree, di, drep);
7952 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7955 return offset;
7958 static int
7959 drsuapi_dissect_DsReplicaGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7961 offset=drsuapi_dissect_DsReplicaGetInfo_info_type(tvb, offset, pinfo, tree, di, drep);
7962 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7964 offset=drsuapi_dissect_DsReplicaGetInfo_info(tvb, offset, pinfo, tree, di, drep);
7965 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7967 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
7970 return offset;
7973 static int
7974 drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7977 return offset;
7980 static int
7981 drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7983 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
7986 return offset;
7989 static int
7990 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7993 return offset;
7996 static int
7997 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7999 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
8002 return offset;
8005 static int
8006 drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8009 return offset;
8012 static int
8013 drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8015 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
8018 return offset;
8021 static int
8022 drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8025 return offset;
8028 static int
8029 drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8031 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
8034 return offset;
8037 static int
8038 drsuapi_dissect_DRSUAPI_QUERY_SITES_BY_COST_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8041 return offset;
8044 static int
8045 drsuapi_dissect_DRSUAPI_QUERY_SITES_BY_COST_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8047 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_drsuapi_rc, NULL);
8050 return offset;
8052 /* END OF INCLUDED FILE : ETH_CODE */
8056 void
8057 proto_register_drsuapi(void)
8059 static hf_register_info hf[] = {
8060 { &hf_drsuapi_DsReplicaSyncRequest1Info_nc_dn,
8061 { "nc_dn", "drsuapi.DsReplicaSyncRequest1Info.nc_dn", FT_STRING, BASE_NONE,
8062 NULL, 0,
8063 NULL, HFILL }},
8067 /* INCLUDED FILE : ETH_HFARR */
8068 { &hf_drsuapi_opnum,
8069 { "Operation", "drsuapi.opnum", FT_UINT16, BASE_DEC,
8070 NULL, 0,
8071 NULL, HFILL }},
8073 { &hf_drsuapi_rc,
8074 { "Return code", "drsuapi.rc", FT_UINT32, BASE_HEX,
8075 VALS(NT_errors), 0,
8076 NULL, HFILL }},
8078 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE,
8079 { "DRSUAPI_SUPPORTED_EXTENSION_BASE", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_BASE", FT_BOOLEAN, 32,
8080 TFS(&DRSUAPI_SUPPORTED_EXTENSION_BASE_tfs), 0x00000001,
8081 NULL, HFILL }},
8083 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION,
8084 { "DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION", FT_BOOLEAN, 32,
8085 TFS(&DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION_tfs), 0x00000002,
8086 NULL, HFILL }},
8088 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI,
8089 { "DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI", FT_BOOLEAN, 32,
8090 TFS(&DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI_tfs), 0x00000004,
8091 NULL, HFILL }},
8093 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2,
8094 { "DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2", FT_BOOLEAN, 32,
8095 TFS(&DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2_tfs), 0x00000008,
8096 NULL, HFILL }},
8098 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS,
8099 { "DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS", FT_BOOLEAN, 32,
8100 TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS_tfs), 0x00000010,
8101 NULL, HFILL }},
8103 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1,
8104 { "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1", FT_BOOLEAN, 32,
8105 TFS(&DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1_tfs), 0x00000020,
8106 NULL, HFILL }},
8108 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION,
8109 { "DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION", FT_BOOLEAN, 32,
8110 TFS(&DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION_tfs), 0x00000040,
8111 NULL, HFILL }},
8113 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00000080,
8114 { "DRSUAPI_SUPPORTED_EXTENSION_00000080", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_00000080", FT_BOOLEAN, 32,
8115 TFS(&DRSUAPI_SUPPORTED_EXTENSION_00000080_tfs), 0x00000080,
8116 NULL, HFILL }},
8118 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE,
8119 { "DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE", FT_BOOLEAN, 32,
8120 TFS(&DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE_tfs), 0x00000100,
8121 NULL, HFILL }},
8123 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2,
8124 { "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2", FT_BOOLEAN, 32,
8125 TFS(&DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2_tfs), 0x00000200,
8126 NULL, HFILL }},
8128 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION,
8129 { "DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION", FT_BOOLEAN, 32,
8130 TFS(&DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION_tfs), 0x00000400,
8131 NULL, HFILL }},
8133 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2,
8134 { "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2", FT_BOOLEAN, 32,
8135 TFS(&DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2_tfs), 0x00000800,
8136 NULL, HFILL }},
8138 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD,
8139 { "DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD", FT_BOOLEAN, 32,
8140 TFS(&DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD_tfs), 0x00001000,
8141 NULL, HFILL }},
8143 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND,
8144 { "DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND", FT_BOOLEAN, 32,
8145 TFS(&DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND_tfs), 0x00002000,
8146 NULL, HFILL }},
8148 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO,
8149 { "DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO", FT_BOOLEAN, 32,
8150 TFS(&DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO_tfs), 0x00004000,
8151 NULL, HFILL }},
8153 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION,
8154 { "DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION", FT_BOOLEAN, 32,
8155 TFS(&DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION_tfs), 0x00008000,
8156 NULL, HFILL }},
8158 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01,
8159 { "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01", FT_BOOLEAN, 32,
8160 TFS(&DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01_tfs), 0x00010000,
8161 NULL, HFILL }},
8163 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP,
8164 { "DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP", FT_BOOLEAN, 32,
8165 TFS(&DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP_tfs), 0x00020000,
8166 NULL, HFILL }},
8168 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY,
8169 { "DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY", FT_BOOLEAN, 32,
8170 TFS(&DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY_tfs), 0x00040000,
8171 NULL, HFILL }},
8173 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3,
8174 { "DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3", FT_BOOLEAN, 32,
8175 TFS(&DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3_tfs), 0x00080000,
8176 NULL, HFILL }},
8178 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00100000,
8179 { "DRSUAPI_SUPPORTED_EXTENSION_00100000", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_00100000", FT_BOOLEAN, 32,
8180 TFS(&DRSUAPI_SUPPORTED_EXTENSION_00100000_tfs), 0x00100000,
8181 NULL, HFILL }},
8183 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2,
8184 { "DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2", FT_BOOLEAN, 32,
8185 TFS(&DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2_tfs), 0x00200000,
8186 NULL, HFILL }},
8188 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6,
8189 { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6", FT_BOOLEAN, 32,
8190 TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6_tfs), 0x00400000,
8191 NULL, HFILL }},
8193 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS,
8194 { "DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS", FT_BOOLEAN, 32,
8195 TFS(&DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS_tfs), 0x00800000,
8196 NULL, HFILL }},
8198 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8,
8199 { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8", FT_BOOLEAN, 32,
8200 TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8_tfs), 0x01000000,
8201 NULL, HFILL }},
8203 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5,
8204 { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5", FT_BOOLEAN, 32,
8205 TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5_tfs), 0x02000000,
8206 NULL, HFILL }},
8208 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6,
8209 { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6", FT_BOOLEAN, 32,
8210 TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6_tfs), 0x04000000,
8211 NULL, HFILL }},
8213 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3,
8214 { "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3", FT_BOOLEAN, 32,
8215 TFS(&DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3_tfs), 0x08000000,
8216 NULL, HFILL }},
8218 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7,
8219 { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7", FT_BOOLEAN, 32,
8220 TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7_tfs), 0x08000000,
8221 NULL, HFILL }},
8223 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT,
8224 { "DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT", FT_BOOLEAN, 32,
8225 TFS(&DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT_tfs), 0x08000000,
8226 NULL, HFILL }},
8228 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS,
8229 { "DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS", FT_BOOLEAN, 32,
8230 TFS(&DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS_tfs), 0x10000000,
8231 NULL, HFILL }},
8233 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_20000000,
8234 { "DRSUAPI_SUPPORTED_EXTENSION_20000000", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_20000000", FT_BOOLEAN, 32,
8235 TFS(&DRSUAPI_SUPPORTED_EXTENSION_20000000_tfs), 0x20000000,
8236 NULL, HFILL }},
8238 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_40000000,
8239 { "DRSUAPI_SUPPORTED_EXTENSION_40000000", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_40000000", FT_BOOLEAN, 32,
8240 TFS(&DRSUAPI_SUPPORTED_EXTENSION_40000000_tfs), 0x40000000,
8241 NULL, HFILL }},
8243 { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_80000000,
8244 { "DRSUAPI_SUPPORTED_EXTENSION_80000000", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_80000000", FT_BOOLEAN, 32,
8245 TFS(&DRSUAPI_SUPPORTED_EXTENSION_80000000_tfs), 0x80000000,
8246 NULL, HFILL }},
8248 { &hf_drsuapi_DsBindInfo24_supported_extensions,
8249 { "supported_extensions", "drsuapi.DsBindInfo24.supported_extensions", FT_UINT32, BASE_HEX,
8250 NULL, 0,
8251 NULL, HFILL }},
8253 { &hf_drsuapi_DsBindInfo24_site_guid,
8254 { "site_guid", "drsuapi.DsBindInfo24.site_guid", FT_GUID, BASE_NONE,
8255 NULL, 0,
8256 NULL, HFILL }},
8258 { &hf_drsuapi_DsBindInfo24_u1,
8259 { "u1", "drsuapi.DsBindInfo24.u1", FT_UINT32, BASE_DEC,
8260 NULL, 0,
8261 NULL, HFILL }},
8263 { &hf_drsuapi_DsBindInfo28_supported_extensions,
8264 { "supported_extensions", "drsuapi.DsBindInfo28.supported_extensions", FT_UINT32, BASE_HEX,
8265 NULL, 0,
8266 NULL, HFILL }},
8268 { &hf_drsuapi_DsBindInfo28_site_guid,
8269 { "site_guid", "drsuapi.DsBindInfo28.site_guid", FT_GUID, BASE_NONE,
8270 NULL, 0,
8271 NULL, HFILL }},
8273 { &hf_drsuapi_DsBindInfo28_u1,
8274 { "u1", "drsuapi.DsBindInfo28.u1", FT_UINT32, BASE_DEC,
8275 NULL, 0,
8276 NULL, HFILL }},
8278 { &hf_drsuapi_DsBindInfo28_repl_epoch,
8279 { "repl_epoch", "drsuapi.DsBindInfo28.repl_epoch", FT_UINT32, BASE_DEC,
8280 NULL, 0,
8281 NULL, HFILL }},
8283 { &hf_drsuapi_DsBindInfo_24_info24,
8284 { "info24", "drsuapi.DsBindInfo.info24", FT_NONE, BASE_NONE,
8285 NULL, 0,
8286 NULL, HFILL }},
8288 { &hf_drsuapi_DsBindInfo_28_info28,
8289 { "info28", "drsuapi.DsBindInfo.info28", FT_NONE, BASE_NONE,
8290 NULL, 0,
8291 NULL, HFILL }},
8293 { &hf_drsuapi_DsBindInfoCtr_length,
8294 { "length", "drsuapi.DsBindInfoCtr.length", FT_UINT32, BASE_DEC,
8295 NULL, 0,
8296 NULL, HFILL }},
8298 { &hf_drsuapi_DsBindInfoCtr_info,
8299 { "info", "drsuapi.DsBindInfoCtr.info", FT_UINT32, BASE_DEC,
8300 NULL, 0,
8301 NULL, HFILL }},
8303 { &hf_drsuapi_DsBind_bind_guid,
8304 { "bind_guid", "drsuapi.DsBind.bind_guid", FT_GUID, BASE_NONE,
8305 NULL, 0,
8306 NULL, HFILL }},
8308 { &hf_drsuapi_DsBind_bind_info,
8309 { "bind_info", "drsuapi.DsBind.bind_info", FT_NONE, BASE_NONE,
8310 NULL, 0,
8311 NULL, HFILL }},
8313 { &hf_drsuapi_DsBind_bind_handle,
8314 { "bind_handle", "drsuapi.DsBind.bind_handle", FT_BYTES, BASE_NONE,
8315 NULL, 0,
8316 NULL, HFILL }},
8318 { &hf_drsuapi_DsUnbind_bind_handle,
8319 { "bind_handle", "drsuapi.DsUnbind.bind_handle", FT_BYTES, BASE_NONE,
8320 NULL, 0,
8321 NULL, HFILL }},
8323 { &hf_drsuapi_DsReplicaSyncRequest1Info_unknown1,
8324 { "unknown1", "drsuapi.DsReplicaSyncRequest1Info.unknown1", FT_UINT32, BASE_DEC,
8325 NULL, 0,
8326 NULL, HFILL }},
8328 { &hf_drsuapi_DsReplicaSyncRequest1Info_unknown2,
8329 { "unknown2", "drsuapi.DsReplicaSyncRequest1Info.unknown2", FT_UINT32, BASE_DEC,
8330 NULL, 0,
8331 NULL, HFILL }},
8333 { &hf_drsuapi_DsReplicaSyncRequest1Info_guid1,
8334 { "guid1", "drsuapi.DsReplicaSyncRequest1Info.guid1", FT_GUID, BASE_NONE,
8335 NULL, 0,
8336 NULL, HFILL }},
8338 { &hf_drsuapi_DsReplicaSyncRequest1Info_byte_array,
8339 { "byte_array", "drsuapi.DsReplicaSyncRequest1Info.byte_array", FT_UINT8, BASE_DEC,
8340 NULL, 0,
8341 NULL, HFILL }},
8343 { &hf_drsuapi_DsReplicaSyncRequest1Info_str_len,
8344 { "str_len", "drsuapi.DsReplicaSyncRequest1Info.str_len", FT_UINT32, BASE_DEC,
8345 NULL, 0,
8346 NULL, HFILL }},
8348 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION,
8349 { "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8350 TFS(&DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8351 NULL, HFILL }},
8353 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_WRITEABLE,
8354 { "DRSUAPI_DS_REPLICA_SYNC_WRITEABLE", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_WRITEABLE", FT_BOOLEAN, 32,
8355 TFS(&DRSUAPI_DS_REPLICA_SYNC_WRITEABLE_tfs), 0x00000002,
8356 NULL, HFILL }},
8358 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PERIODIC,
8359 { "DRSUAPI_DS_REPLICA_SYNC_PERIODIC", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_PERIODIC", FT_BOOLEAN, 32,
8360 TFS(&DRSUAPI_DS_REPLICA_SYNC_PERIODIC_tfs), 0x00000004,
8361 NULL, HFILL }},
8363 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING,
8364 { "DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING", FT_BOOLEAN, 32,
8365 TFS(&DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING_tfs), 0x00000008,
8366 NULL, HFILL }},
8368 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES,
8369 { "DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES", FT_BOOLEAN, 32,
8370 TFS(&DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES_tfs), 0x00000010,
8371 NULL, HFILL }},
8373 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL,
8374 { "DRSUAPI_DS_REPLICA_SYNC_FULL", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_FULL", FT_BOOLEAN, 32,
8375 TFS(&DRSUAPI_DS_REPLICA_SYNC_FULL_tfs), 0x00000020,
8376 NULL, HFILL }},
8378 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_URGENT,
8379 { "DRSUAPI_DS_REPLICA_SYNC_URGENT", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_URGENT", FT_BOOLEAN, 32,
8380 TFS(&DRSUAPI_DS_REPLICA_SYNC_URGENT_tfs), 0x00000040,
8381 NULL, HFILL }},
8383 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD,
8384 { "DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD", FT_BOOLEAN, 32,
8385 TFS(&DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD_tfs), 0x00000080,
8386 NULL, HFILL }},
8388 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FORCE,
8389 { "DRSUAPI_DS_REPLICA_SYNC_FORCE", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_FORCE", FT_BOOLEAN, 32,
8390 TFS(&DRSUAPI_DS_REPLICA_SYNC_FORCE_tfs), 0x00000100,
8391 NULL, HFILL }},
8393 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE,
8394 { "DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE", FT_BOOLEAN, 32,
8395 TFS(&DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE_tfs), 0x00000200,
8396 NULL, HFILL }},
8398 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED,
8399 { "DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED", FT_BOOLEAN, 32,
8400 TFS(&DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED_tfs), 0x00000400,
8401 NULL, HFILL }},
8403 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_TWO_WAY,
8404 { "DRSUAPI_DS_REPLICA_SYNC_TWO_WAY", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_TWO_WAY", FT_BOOLEAN, 32,
8405 TFS(&DRSUAPI_DS_REPLICA_SYNC_TWO_WAY_tfs), 0x00000800,
8406 NULL, HFILL }},
8408 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY,
8409 { "DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY", FT_BOOLEAN, 32,
8410 TFS(&DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY_tfs), 0x00001000,
8411 NULL, HFILL }},
8413 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL,
8414 { "DRSUAPI_DS_REPLICA_SYNC_INITIAL", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_INITIAL", FT_BOOLEAN, 32,
8415 TFS(&DRSUAPI_DS_REPLICA_SYNC_INITIAL_tfs), 0x00002000,
8416 NULL, HFILL }},
8418 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION,
8419 { "DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION", FT_BOOLEAN, 32,
8420 TFS(&DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION_tfs), 0x00004000,
8421 NULL, HFILL }},
8423 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ABANDONED,
8424 { "DRSUAPI_DS_REPLICA_SYNC_ABANDONED", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ABANDONED", FT_BOOLEAN, 32,
8425 TFS(&DRSUAPI_DS_REPLICA_SYNC_ABANDONED_tfs), 0x00008000,
8426 NULL, HFILL }},
8428 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS,
8429 { "DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS", FT_BOOLEAN, 32,
8430 TFS(&DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS_tfs), 0x00010000,
8431 NULL, HFILL }},
8433 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET,
8434 { "DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET", FT_BOOLEAN, 32,
8435 TFS(&DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET_tfs), 0x00020000,
8436 NULL, HFILL }},
8438 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_REQUEUE,
8439 { "DRSUAPI_DS_REPLICA_SYNC_REQUEUE", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_REQUEUE", FT_BOOLEAN, 32,
8440 TFS(&DRSUAPI_DS_REPLICA_SYNC_REQUEUE_tfs), 0x00040000,
8441 NULL, HFILL }},
8443 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION,
8444 { "DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION", FT_BOOLEAN, 32,
8445 TFS(&DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION_tfs), 0x00080000,
8446 NULL, HFILL }},
8448 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA,
8449 { "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA", FT_BOOLEAN, 32,
8450 TFS(&DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA_tfs), 0x00100000,
8451 NULL, HFILL }},
8453 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_CRITICAL,
8454 { "DRSUAPI_DS_REPLICA_SYNC_CRITICAL", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_CRITICAL", FT_BOOLEAN, 32,
8455 TFS(&DRSUAPI_DS_REPLICA_SYNC_CRITICAL_tfs), 0x00200000,
8456 NULL, HFILL }},
8458 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS,
8459 { "DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS", FT_BOOLEAN, 32,
8460 TFS(&DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS_tfs), 0x00400000,
8461 NULL, HFILL }},
8463 { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PREEMPTED,
8464 { "DRSUAPI_DS_REPLICA_SYNC_PREEMPTED", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_PREEMPTED", FT_BOOLEAN, 32,
8465 TFS(&DRSUAPI_DS_REPLICA_SYNC_PREEMPTED_tfs), 0x00800000,
8466 NULL, HFILL }},
8468 { &hf_drsuapi_DsReplicaSyncRequest1_info,
8469 { "info", "drsuapi.DsReplicaSyncRequest1.info", FT_NONE, BASE_NONE,
8470 NULL, 0,
8471 NULL, HFILL }},
8473 { &hf_drsuapi_DsReplicaSyncRequest1_guid1,
8474 { "guid1", "drsuapi.DsReplicaSyncRequest1.guid1", FT_GUID, BASE_NONE,
8475 NULL, 0,
8476 NULL, HFILL }},
8478 { &hf_drsuapi_DsReplicaSyncRequest1_string1,
8479 { "string1", "drsuapi.DsReplicaSyncRequest1.string1", FT_STRING, BASE_NONE,
8480 NULL, 0,
8481 NULL, HFILL }},
8483 { &hf_drsuapi_DsReplicaSyncRequest1_options,
8484 { "options", "drsuapi.DsReplicaSyncRequest1.options", FT_UINT32, BASE_HEX,
8485 NULL, 0,
8486 NULL, HFILL }},
8488 { &hf_drsuapi_DsReplicaSyncRequest_1_req1,
8489 { "req1", "drsuapi.DsReplicaSyncRequest.req1", FT_NONE, BASE_NONE,
8490 NULL, 0,
8491 NULL, HFILL }},
8493 { &hf_drsuapi_DsReplicaSync_bind_handle,
8494 { "bind_handle", "drsuapi.DsReplicaSync.bind_handle", FT_BYTES, BASE_NONE,
8495 NULL, 0,
8496 NULL, HFILL }},
8498 { &hf_drsuapi_DsReplicaSync_level,
8499 { "level", "drsuapi.DsReplicaSync.level", FT_INT32, BASE_DEC,
8500 NULL, 0,
8501 NULL, HFILL }},
8503 { &hf_drsuapi_DsReplicaSync_req,
8504 { "req", "drsuapi.DsReplicaSync.req", FT_UINT32, BASE_DEC,
8505 NULL, 0,
8506 NULL, HFILL }},
8508 { &hf_drsuapi_DsGetNCChangesUsnTriple_usn1,
8509 { "usn1", "drsuapi.DsGetNCChangesUsnTriple.usn1", FT_UINT64, BASE_DEC,
8510 NULL, 0,
8511 NULL, HFILL }},
8513 { &hf_drsuapi_DsGetNCChangesUsnTriple_usn2,
8514 { "usn2", "drsuapi.DsGetNCChangesUsnTriple.usn2", FT_UINT64, BASE_DEC,
8515 NULL, 0,
8516 NULL, HFILL }},
8518 { &hf_drsuapi_DsGetNCChangesUsnTriple_usn3,
8519 { "usn3", "drsuapi.DsGetNCChangesUsnTriple.usn3", FT_UINT64, BASE_DEC,
8520 NULL, 0,
8521 NULL, HFILL }},
8523 { &hf_drsuapi_DsReplicaCoursor_source_dsa_invocation_id,
8524 { "source_dsa_invocation_id", "drsuapi.DsReplicaCoursor.source_dsa_invocation_id", FT_GUID, BASE_NONE,
8525 NULL, 0,
8526 NULL, HFILL }},
8528 { &hf_drsuapi_DsReplicaCoursor_highest_usn,
8529 { "highest_usn", "drsuapi.DsReplicaCoursor.highest_usn", FT_UINT64, BASE_DEC,
8530 NULL, 0,
8531 NULL, HFILL }},
8533 { &hf_drsuapi_DsReplicaCoursor05Ctr_u1,
8534 { "u1", "drsuapi.DsReplicaCoursor05Ctr.u1", FT_UINT32, BASE_DEC,
8535 NULL, 0,
8536 NULL, HFILL }},
8538 { &hf_drsuapi_DsReplicaCoursor05Ctr_u2,
8539 { "u2", "drsuapi.DsReplicaCoursor05Ctr.u2", FT_UINT32, BASE_DEC,
8540 NULL, 0,
8541 NULL, HFILL }},
8543 { &hf_drsuapi_DsReplicaCoursor05Ctr_count,
8544 { "count", "drsuapi.DsReplicaCoursor05Ctr.count", FT_UINT32, BASE_DEC,
8545 NULL, 0,
8546 NULL, HFILL }},
8548 { &hf_drsuapi_DsReplicaCoursor05Ctr_u3,
8549 { "u3", "drsuapi.DsReplicaCoursor05Ctr.u3", FT_UINT32, BASE_DEC,
8550 NULL, 0,
8551 NULL, HFILL }},
8553 { &hf_drsuapi_DsReplicaCoursor05Ctr_array,
8554 { "array", "drsuapi.DsReplicaCoursor05Ctr.array", FT_NONE, BASE_NONE,
8555 NULL, 0,
8556 NULL, HFILL }},
8558 { &hf_drsuapi_DsGetNCChangesRequest5_guid1,
8559 { "guid1", "drsuapi.DsGetNCChangesRequest5.guid1", FT_GUID, BASE_NONE,
8560 NULL, 0,
8561 NULL, HFILL }},
8563 { &hf_drsuapi_DsGetNCChangesRequest5_guid2,
8564 { "guid2", "drsuapi.DsGetNCChangesRequest5.guid2", FT_GUID, BASE_NONE,
8565 NULL, 0,
8566 NULL, HFILL }},
8568 { &hf_drsuapi_DsGetNCChangesRequest5_sync_req_info1,
8569 { "sync_req_info1", "drsuapi.DsGetNCChangesRequest5.sync_req_info1", FT_NONE, BASE_NONE,
8570 NULL, 0,
8571 NULL, HFILL }},
8573 { &hf_drsuapi_DsGetNCChangesRequest5_usn1,
8574 { "usn1", "drsuapi.DsGetNCChangesRequest5.usn1", FT_NONE, BASE_NONE,
8575 NULL, 0,
8576 NULL, HFILL }},
8578 { &hf_drsuapi_DsGetNCChangesRequest5_coursor,
8579 { "coursor", "drsuapi.DsGetNCChangesRequest5.coursor", FT_NONE, BASE_NONE,
8580 NULL, 0,
8581 NULL, HFILL }},
8583 { &hf_drsuapi_DsGetNCChangesRequest5_unknown1,
8584 { "unknown1", "drsuapi.DsGetNCChangesRequest5.unknown1", FT_UINT32, BASE_DEC,
8585 NULL, 0,
8586 NULL, HFILL }},
8588 { &hf_drsuapi_DsGetNCChangesRequest5_unknown2,
8589 { "unknown2", "drsuapi.DsGetNCChangesRequest5.unknown2", FT_UINT32, BASE_DEC,
8590 NULL, 0,
8591 NULL, HFILL }},
8593 { &hf_drsuapi_DsGetNCChangesRequest5_unknown3,
8594 { "unknown3", "drsuapi.DsGetNCChangesRequest5.unknown3", FT_UINT32, BASE_DEC,
8595 NULL, 0,
8596 NULL, HFILL }},
8598 { &hf_drsuapi_DsGetNCChangesRequest5_unknown4,
8599 { "unknown4", "drsuapi.DsGetNCChangesRequest5.unknown4", FT_UINT32, BASE_DEC,
8600 NULL, 0,
8601 NULL, HFILL }},
8603 { &hf_drsuapi_DsGetNCChangesRequest5_h1,
8604 { "h1", "drsuapi.DsGetNCChangesRequest5.h1", FT_UINT64, BASE_DEC,
8605 NULL, 0,
8606 NULL, HFILL }},
8608 { &hf_drsuapi_DsGetNCChangesRequest_Ctr14_length,
8609 { "length", "drsuapi.DsGetNCChangesRequest_Ctr14.length", FT_UINT32, BASE_DEC,
8610 NULL, 0,
8611 NULL, HFILL }},
8613 { &hf_drsuapi_DsGetNCChangesRequest_Ctr14_byte_array,
8614 { "byte_array", "drsuapi.DsGetNCChangesRequest_Ctr14.byte_array", FT_UINT8, BASE_DEC,
8615 NULL, 0,
8616 NULL, HFILL }},
8618 { &hf_drsuapi_DsGetNCChangesRequest_Ctr13_unknown1,
8619 { "unknown1", "drsuapi.DsGetNCChangesRequest_Ctr13.unknown1", FT_UINT32, BASE_DEC,
8620 NULL, 0,
8621 NULL, HFILL }},
8623 { &hf_drsuapi_DsGetNCChangesRequest_Ctr13_data,
8624 { "data", "drsuapi.DsGetNCChangesRequest_Ctr13.data", FT_NONE, BASE_NONE,
8625 NULL, 0,
8626 NULL, HFILL }},
8628 { &hf_drsuapi_DsGetNCChangesRequest_Ctr12_count,
8629 { "count", "drsuapi.DsGetNCChangesRequest_Ctr12.count", FT_UINT32, BASE_DEC,
8630 NULL, 0,
8631 NULL, HFILL }},
8633 { &hf_drsuapi_DsGetNCChangesRequest_Ctr12_array,
8634 { "array", "drsuapi.DsGetNCChangesRequest_Ctr12.array", FT_NONE, BASE_NONE,
8635 NULL, 0,
8636 NULL, HFILL }},
8638 { &hf_drsuapi_DsGetNCChangesRequest8_guid1,
8639 { "guid1", "drsuapi.DsGetNCChangesRequest8.guid1", FT_GUID, BASE_NONE,
8640 NULL, 0,
8641 NULL, HFILL }},
8643 { &hf_drsuapi_DsGetNCChangesRequest8_guid2,
8644 { "guid2", "drsuapi.DsGetNCChangesRequest8.guid2", FT_GUID, BASE_NONE,
8645 NULL, 0,
8646 NULL, HFILL }},
8648 { &hf_drsuapi_DsGetNCChangesRequest8_sync_req_info1,
8649 { "sync_req_info1", "drsuapi.DsGetNCChangesRequest8.sync_req_info1", FT_NONE, BASE_NONE,
8650 NULL, 0,
8651 NULL, HFILL }},
8653 { &hf_drsuapi_DsGetNCChangesRequest8_usn1,
8654 { "usn1", "drsuapi.DsGetNCChangesRequest8.usn1", FT_NONE, BASE_NONE,
8655 NULL, 0,
8656 NULL, HFILL }},
8658 { &hf_drsuapi_DsGetNCChangesRequest8_coursor,
8659 { "coursor", "drsuapi.DsGetNCChangesRequest8.coursor", FT_NONE, BASE_NONE,
8660 NULL, 0,
8661 NULL, HFILL }},
8663 { &hf_drsuapi_DsGetNCChangesRequest8_unknown1,
8664 { "unknown1", "drsuapi.DsGetNCChangesRequest8.unknown1", FT_UINT32, BASE_DEC,
8665 NULL, 0,
8666 NULL, HFILL }},
8668 { &hf_drsuapi_DsGetNCChangesRequest8_unknown2,
8669 { "unknown2", "drsuapi.DsGetNCChangesRequest8.unknown2", FT_UINT32, BASE_DEC,
8670 NULL, 0,
8671 NULL, HFILL }},
8673 { &hf_drsuapi_DsGetNCChangesRequest8_unknown3,
8674 { "unknown3", "drsuapi.DsGetNCChangesRequest8.unknown3", FT_UINT32, BASE_DEC,
8675 NULL, 0,
8676 NULL, HFILL }},
8678 { &hf_drsuapi_DsGetNCChangesRequest8_unknown4,
8679 { "unknown4", "drsuapi.DsGetNCChangesRequest8.unknown4", FT_UINT32, BASE_DEC,
8680 NULL, 0,
8681 NULL, HFILL }},
8683 { &hf_drsuapi_DsGetNCChangesRequest8_h1,
8684 { "h1", "drsuapi.DsGetNCChangesRequest8.h1", FT_UINT64, BASE_DEC,
8685 NULL, 0,
8686 NULL, HFILL }},
8688 { &hf_drsuapi_DsGetNCChangesRequest8_unique_ptr1,
8689 { "unique_ptr1", "drsuapi.DsGetNCChangesRequest8.unique_ptr1", FT_UINT32, BASE_DEC,
8690 NULL, 0,
8691 NULL, HFILL }},
8693 { &hf_drsuapi_DsGetNCChangesRequest8_unique_ptr2,
8694 { "unique_ptr2", "drsuapi.DsGetNCChangesRequest8.unique_ptr2", FT_UINT32, BASE_DEC,
8695 NULL, 0,
8696 NULL, HFILL }},
8698 { &hf_drsuapi_DsGetNCChangesRequest8_ctr12,
8699 { "ctr12", "drsuapi.DsGetNCChangesRequest8.ctr12", FT_NONE, BASE_NONE,
8700 NULL, 0,
8701 NULL, HFILL }},
8703 { &hf_drsuapi_DsGetNCChangesRequest_5_req5,
8704 { "req5", "drsuapi.DsGetNCChangesRequest.req5", FT_NONE, BASE_NONE,
8705 NULL, 0,
8706 NULL, HFILL }},
8708 { &hf_drsuapi_DsGetNCChangesRequest_8_req8,
8709 { "req8", "drsuapi.DsGetNCChangesRequest.req8", FT_NONE, BASE_NONE,
8710 NULL, 0,
8711 NULL, HFILL }},
8713 { &hf_drsuapi_DsReplicaCoursorEx_coursor,
8714 { "coursor", "drsuapi.DsReplicaCoursorEx.coursor", FT_NONE, BASE_NONE,
8715 NULL, 0,
8716 NULL, HFILL }},
8718 { &hf_drsuapi_DsReplicaCoursorEx_time1,
8719 { "time1", "drsuapi.DsReplicaCoursorEx.time1", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
8720 NULL, 0,
8721 NULL, HFILL }},
8723 { &hf_drsuapi_DsReplicaCoursorEx05Ctr_u1,
8724 { "u1", "drsuapi.DsReplicaCoursorEx05Ctr.u1", FT_UINT32, BASE_DEC,
8725 NULL, 0,
8726 NULL, HFILL }},
8728 { &hf_drsuapi_DsReplicaCoursorEx05Ctr_u2,
8729 { "u2", "drsuapi.DsReplicaCoursorEx05Ctr.u2", FT_UINT32, BASE_DEC,
8730 NULL, 0,
8731 NULL, HFILL }},
8733 { &hf_drsuapi_DsReplicaCoursorEx05Ctr_count,
8734 { "count", "drsuapi.DsReplicaCoursorEx05Ctr.count", FT_UINT32, BASE_DEC,
8735 NULL, 0,
8736 NULL, HFILL }},
8738 { &hf_drsuapi_DsReplicaCoursorEx05Ctr_u3,
8739 { "u3", "drsuapi.DsReplicaCoursorEx05Ctr.u3", FT_UINT32, BASE_DEC,
8740 NULL, 0,
8741 NULL, HFILL }},
8743 { &hf_drsuapi_DsReplicaCoursorEx05Ctr_array,
8744 { "array", "drsuapi.DsReplicaCoursorEx05Ctr.array", FT_NONE, BASE_NONE,
8745 NULL, 0,
8746 NULL, HFILL }},
8748 { &hf_drsuapi_DsGetNCChangesCtr6_guid1,
8749 { "guid1", "drsuapi.DsGetNCChangesCtr6.guid1", FT_GUID, BASE_NONE,
8750 NULL, 0,
8751 NULL, HFILL }},
8753 { &hf_drsuapi_DsGetNCChangesCtr6_guid2,
8754 { "guid2", "drsuapi.DsGetNCChangesCtr6.guid2", FT_GUID, BASE_NONE,
8755 NULL, 0,
8756 NULL, HFILL }},
8758 { &hf_drsuapi_DsGetNCChangesCtr6_sync_req_info1,
8759 { "sync_req_info1", "drsuapi.DsGetNCChangesCtr6.sync_req_info1", FT_NONE, BASE_NONE,
8760 NULL, 0,
8761 NULL, HFILL }},
8763 { &hf_drsuapi_DsGetNCChangesCtr6_usn1,
8764 { "usn1", "drsuapi.DsGetNCChangesCtr6.usn1", FT_NONE, BASE_NONE,
8765 NULL, 0,
8766 NULL, HFILL }},
8768 { &hf_drsuapi_DsGetNCChangesCtr6_usn2,
8769 { "usn2", "drsuapi.DsGetNCChangesCtr6.usn2", FT_NONE, BASE_NONE,
8770 NULL, 0,
8771 NULL, HFILL }},
8773 { &hf_drsuapi_DsGetNCChangesCtr6_coursor_ex,
8774 { "coursor_ex", "drsuapi.DsGetNCChangesCtr6.coursor_ex", FT_NONE, BASE_NONE,
8775 NULL, 0,
8776 NULL, HFILL }},
8778 { &hf_drsuapi_DsGetNCChangesCtr6_ctr12,
8779 { "ctr12", "drsuapi.DsGetNCChangesCtr6.ctr12", FT_NONE, BASE_NONE,
8780 NULL, 0,
8781 NULL, HFILL }},
8783 { &hf_drsuapi_DsGetNCChangesCtr6_u1,
8784 { "u1", "drsuapi.DsGetNCChangesCtr6.u1", FT_UINT32, BASE_DEC,
8785 NULL, 0,
8786 NULL, HFILL }},
8788 { &hf_drsuapi_DsGetNCChangesCtr6_ptr1,
8789 { "ptr1", "drsuapi.DsGetNCChangesCtr6.ptr1", FT_UINT32, BASE_DEC,
8790 NULL, 0,
8791 NULL, HFILL }},
8793 { &hf_drsuapi_DsGetNCChangesCtr6_u2,
8794 { "u2", "drsuapi.DsGetNCChangesCtr6.u2", FT_UINT32, BASE_DEC,
8795 NULL, 0,
8796 NULL, HFILL }},
8798 { &hf_drsuapi_DsGetNCChangesCtr6_len1,
8799 { "len1", "drsuapi.DsGetNCChangesCtr6.len1", FT_UINT32, BASE_DEC,
8800 NULL, 0,
8801 NULL, HFILL }},
8803 { &hf_drsuapi_DsGetNCChangesCtr6_array_ptr1,
8804 { "array_ptr1", "drsuapi.DsGetNCChangesCtr6.array_ptr1", FT_UINT32, BASE_DEC,
8805 NULL, 0,
8806 NULL, HFILL }},
8808 { &hf_drsuapi_DsGetNCChangesCtr6_u3,
8809 { "u3", "drsuapi.DsGetNCChangesCtr6.u3", FT_UINT32, BASE_DEC,
8810 NULL, 0,
8811 NULL, HFILL }},
8813 { &hf_drsuapi_DsGetNCChangesCtr_6_ctr6,
8814 { "ctr6", "drsuapi.DsGetNCChangesCtr.ctr6", FT_NONE, BASE_NONE,
8815 NULL, 0,
8816 NULL, HFILL }},
8818 { &hf_drsuapi_DsGetNCChangesCtr_7_ctr7,
8819 { "ctr7", "drsuapi.DsGetNCChangesCtr.ctr7", FT_NONE, BASE_NONE,
8820 NULL, 0,
8821 NULL, HFILL }},
8823 { &hf_drsuapi_DsGetNCChanges_bind_handle,
8824 { "bind_handle", "drsuapi.DsGetNCChanges.bind_handle", FT_BYTES, BASE_NONE,
8825 NULL, 0,
8826 NULL, HFILL }},
8828 { &hf_drsuapi_DsGetNCChanges_level,
8829 { "level", "drsuapi.DsGetNCChanges.level", FT_INT32, BASE_DEC,
8830 NULL, 0,
8831 NULL, HFILL }},
8833 { &hf_drsuapi_DsGetNCChanges_req,
8834 { "req", "drsuapi.DsGetNCChanges.req", FT_UINT32, BASE_DEC,
8835 NULL, 0,
8836 NULL, HFILL }},
8838 { &hf_drsuapi_DsGetNCChanges_ctr,
8839 { "ctr", "drsuapi.DsGetNCChanges.ctr", FT_UINT32, BASE_DEC,
8840 NULL, 0,
8841 NULL, HFILL }},
8843 { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION,
8844 { "DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8845 TFS(&DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8846 NULL, HFILL }},
8848 { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE,
8849 { "DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE", FT_BOOLEAN, 32,
8850 TFS(&DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE_tfs), 0x00000002,
8851 NULL, HFILL }},
8853 { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE,
8854 { "DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE", FT_BOOLEAN, 32,
8855 TFS(&DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE_tfs), 0x00000004,
8856 NULL, HFILL }},
8858 { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE,
8859 { "DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE", FT_BOOLEAN, 32,
8860 TFS(&DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE_tfs), 0x00000008,
8861 NULL, HFILL }},
8863 { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_0x00000010,
8864 { "DRSUAPI_DS_REPLICA_UPDATE_0x00000010", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_0x00000010", FT_BOOLEAN, 32,
8865 TFS(&DRSUAPI_DS_REPLICA_UPDATE_0x00000010_tfs), 0x00000010,
8866 NULL, HFILL }},
8868 { &hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown1,
8869 { "unknown1", "drsuapi.DsReplicaUpdateRefsRequest1.unknown1", FT_UINT32, BASE_DEC,
8870 NULL, 0,
8871 NULL, HFILL }},
8873 { &hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown2,
8874 { "unknown2", "drsuapi.DsReplicaUpdateRefsRequest1.unknown2", FT_UINT32, BASE_DEC,
8875 NULL, 0,
8876 NULL, HFILL }},
8878 { &hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid,
8879 { "dest_dsa_guid", "drsuapi.DsReplicaUpdateRefsRequest1.dest_dsa_guid", FT_GUID, BASE_NONE,
8880 NULL, 0,
8881 NULL, HFILL }},
8883 { &hf_drsuapi_DsReplicaUpdateRefsRequest1_options,
8884 { "options", "drsuapi.DsReplicaUpdateRefsRequest1.options", FT_UINT32, BASE_HEX,
8885 NULL, 0,
8886 NULL, HFILL }},
8888 { &hf_drsuapi_DsReplicaUpdateRefsRequest1_sync_req_info1,
8889 { "sync_req_info1", "drsuapi.DsReplicaUpdateRefsRequest1.sync_req_info1", FT_NONE, BASE_NONE,
8890 NULL, 0,
8891 NULL, HFILL }},
8893 { &hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name,
8894 { "dest_dsa_dns_name", "drsuapi.DsReplicaUpdateRefsRequest1.dest_dsa_dns_name", FT_STRING, BASE_NONE,
8895 NULL, 0,
8896 NULL, HFILL }},
8898 { &hf_drsuapi_DsReplicaUpdateRefsRequest_1_req1,
8899 { "req1", "drsuapi.DsReplicaUpdateRefsRequest.req1", FT_NONE, BASE_NONE,
8900 NULL, 0,
8901 NULL, HFILL }},
8903 { &hf_drsuapi_DsReplicaUpdateRefs_bind_handle,
8904 { "bind_handle", "drsuapi.DsReplicaUpdateRefs.bind_handle", FT_BYTES, BASE_NONE,
8905 NULL, 0,
8906 NULL, HFILL }},
8908 { &hf_drsuapi_DsReplicaUpdateRefs_level,
8909 { "level", "drsuapi.DsReplicaUpdateRefs.level", FT_INT32, BASE_DEC,
8910 NULL, 0,
8911 NULL, HFILL }},
8913 { &hf_drsuapi_DsReplicaUpdateRefs_req,
8914 { "req", "drsuapi.DsReplicaUpdateRefs.req", FT_UINT32, BASE_DEC,
8915 NULL, 0,
8916 NULL, HFILL }},
8918 { &hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION,
8919 { "DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaAddOptions.DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8920 TFS(&DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8921 NULL, HFILL }},
8923 { &hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_WRITEABLE,
8924 { "DRSUAPI_DS_REPLICA_ADD_WRITEABLE", "drsuapi.DsReplicaAddOptions.DRSUAPI_DS_REPLICA_ADD_WRITEABLE", FT_BOOLEAN, 32,
8925 TFS(&DRSUAPI_DS_REPLICA_ADD_WRITEABLE_tfs), 0x00000002,
8926 NULL, HFILL }},
8928 { &hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION,
8929 { "DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaDeleteOptions.DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8930 TFS(&DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8931 NULL, HFILL }},
8933 { &hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_WRITEABLE,
8934 { "DRSUAPI_DS_REPLICA_DELETE_WRITEABLE", "drsuapi.DsReplicaDeleteOptions.DRSUAPI_DS_REPLICA_DELETE_WRITEABLE", FT_BOOLEAN, 32,
8935 TFS(&DRSUAPI_DS_REPLICA_DELETE_WRITEABLE_tfs), 0x00000002,
8936 NULL, HFILL }},
8938 { &hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION,
8939 { "DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaModifyOptions.DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8940 TFS(&DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8941 NULL, HFILL }},
8943 { &hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE,
8944 { "DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE", "drsuapi.DsReplicaModifyOptions.DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE", FT_BOOLEAN, 32,
8945 TFS(&DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE_tfs), 0x00000002,
8946 NULL, HFILL }},
8948 { &hf_drsuapi_DsNameString_str,
8949 { "str", "drsuapi.DsNameString.str", FT_STRING, BASE_NONE,
8950 NULL, 0,
8951 NULL, HFILL }},
8953 { &hf_drsuapi_DsNameRequest1_unknown1,
8954 { "unknown1", "drsuapi.DsNameRequest1.unknown1", FT_UINT32, BASE_DEC,
8955 NULL, 0,
8956 NULL, HFILL }},
8958 { &hf_drsuapi_DsNameRequest1_unknown2,
8959 { "unknown2", "drsuapi.DsNameRequest1.unknown2", FT_UINT32, BASE_DEC,
8960 NULL, 0,
8961 NULL, HFILL }},
8963 { &hf_drsuapi_DsNameRequest1_format_flags,
8964 { "format_flags", "drsuapi.DsNameRequest1.format_flags", FT_INT32, BASE_DEC,
8965 VALS(drsuapi_DsNameFlags_vals), 0,
8966 NULL, HFILL }},
8968 { &hf_drsuapi_DsNameRequest1_format_offered,
8969 { "format_offered", "drsuapi.DsNameRequest1.format_offered", FT_INT32, BASE_DEC,
8970 VALS(drsuapi_DsNameFormat_vals), 0,
8971 NULL, HFILL }},
8973 { &hf_drsuapi_DsNameRequest1_format_desired,
8974 { "format_desired", "drsuapi.DsNameRequest1.format_desired", FT_INT32, BASE_DEC,
8975 VALS(drsuapi_DsNameFormat_vals), 0,
8976 NULL, HFILL }},
8978 { &hf_drsuapi_DsNameRequest1_count,
8979 { "count", "drsuapi.DsNameRequest1.count", FT_UINT32, BASE_DEC,
8980 NULL, 0,
8981 NULL, HFILL }},
8983 { &hf_drsuapi_DsNameRequest1_names,
8984 { "names", "drsuapi.DsNameRequest1.names", FT_NONE, BASE_NONE,
8985 NULL, 0,
8986 NULL, HFILL }},
8988 { &hf_drsuapi_DsNameRequest_1_req1,
8989 { "req1", "drsuapi.DsNameRequest.req1", FT_NONE, BASE_NONE,
8990 NULL, 0,
8991 NULL, HFILL }},
8993 { &hf_drsuapi_DsNameInfo1_status,
8994 { "status", "drsuapi.DsNameInfo1.status", FT_INT32, BASE_DEC,
8995 VALS(drsuapi_DsNameStatus_vals), 0,
8996 NULL, HFILL }},
8998 { &hf_drsuapi_DsNameInfo1_dns_domain_name,
8999 { "dns_domain_name", "drsuapi.DsNameInfo1.dns_domain_name", FT_STRING, BASE_NONE,
9000 NULL, 0,
9001 NULL, HFILL }},
9003 { &hf_drsuapi_DsNameInfo1_result_name,
9004 { "result_name", "drsuapi.DsNameInfo1.result_name", FT_STRING, BASE_NONE,
9005 NULL, 0,
9006 NULL, HFILL }},
9008 { &hf_drsuapi_DsNameCtr1_count,
9009 { "count", "drsuapi.DsNameCtr1.count", FT_UINT32, BASE_DEC,
9010 NULL, 0,
9011 NULL, HFILL }},
9013 { &hf_drsuapi_DsNameCtr1_array,
9014 { "array", "drsuapi.DsNameCtr1.array", FT_NONE, BASE_NONE,
9015 NULL, 0,
9016 NULL, HFILL }},
9018 { &hf_drsuapi_DsNameCtr_1_ctr1,
9019 { "ctr1", "drsuapi.DsNameCtr.ctr1", FT_NONE, BASE_NONE,
9020 NULL, 0,
9021 NULL, HFILL }},
9023 { &hf_drsuapi_DsCrackNames_bind_handle,
9024 { "bind_handle", "drsuapi.DsCrackNames.bind_handle", FT_BYTES, BASE_NONE,
9025 NULL, 0,
9026 NULL, HFILL }},
9028 { &hf_drsuapi_DsCrackNames_level,
9029 { "level", "drsuapi.DsCrackNames.level", FT_INT32, BASE_DEC,
9030 NULL, 0,
9031 NULL, HFILL }},
9033 { &hf_drsuapi_DsCrackNames_req,
9034 { "req", "drsuapi.DsCrackNames.req", FT_UINT32, BASE_DEC,
9035 NULL, 0,
9036 NULL, HFILL }},
9038 { &hf_drsuapi_DsCrackNames_ctr,
9039 { "ctr", "drsuapi.DsCrackNames.ctr", FT_UINT32, BASE_DEC,
9040 NULL, 0,
9041 NULL, HFILL }},
9043 { &hf_drsuapi_DsWriteAccountSpnRequest1_operation,
9044 { "operation", "drsuapi.DsWriteAccountSpnRequest1.operation", FT_INT32, BASE_DEC,
9045 VALS(drsuapi_DsSpnOperation_vals), 0,
9046 NULL, HFILL }},
9048 { &hf_drsuapi_DsWriteAccountSpnRequest1_unknown1,
9049 { "unknown1", "drsuapi.DsWriteAccountSpnRequest1.unknown1", FT_UINT32, BASE_DEC,
9050 NULL, 0,
9051 NULL, HFILL }},
9053 { &hf_drsuapi_DsWriteAccountSpnRequest1_object_dn,
9054 { "object_dn", "drsuapi.DsWriteAccountSpnRequest1.object_dn", FT_STRING, BASE_NONE,
9055 NULL, 0,
9056 NULL, HFILL }},
9058 { &hf_drsuapi_DsWriteAccountSpnRequest1_count,
9059 { "count", "drsuapi.DsWriteAccountSpnRequest1.count", FT_UINT32, BASE_DEC,
9060 NULL, 0,
9061 NULL, HFILL }},
9063 { &hf_drsuapi_DsWriteAccountSpnRequest1_spn_names,
9064 { "spn_names", "drsuapi.DsWriteAccountSpnRequest1.spn_names", FT_NONE, BASE_NONE,
9065 NULL, 0,
9066 NULL, HFILL }},
9068 { &hf_drsuapi_DsWriteAccountSpnRequest_1_req1,
9069 { "req1", "drsuapi.DsWriteAccountSpnRequest.req1", FT_NONE, BASE_NONE,
9070 NULL, 0,
9071 NULL, HFILL }},
9073 { &hf_drsuapi_DsWriteAccountSpnResult1_status,
9074 { "status", "drsuapi.DsWriteAccountSpnResult1.status", FT_UINT32, BASE_DEC,
9075 VALS(NT_errors), 0,
9076 NULL, HFILL }},
9078 { &hf_drsuapi_DsWriteAccountSpnResult_1_res1,
9079 { "res1", "drsuapi.DsWriteAccountSpnResult.res1", FT_NONE, BASE_NONE,
9080 NULL, 0,
9081 NULL, HFILL }},
9083 { &hf_drsuapi_DsWriteAccountSpn_bind_handle,
9084 { "bind_handle", "drsuapi.DsWriteAccountSpn.bind_handle", FT_BYTES, BASE_NONE,
9085 NULL, 0,
9086 NULL, HFILL }},
9088 { &hf_drsuapi_DsWriteAccountSpn_level,
9089 { "level", "drsuapi.DsWriteAccountSpn.level", FT_INT32, BASE_DEC,
9090 NULL, 0,
9091 NULL, HFILL }},
9093 { &hf_drsuapi_DsWriteAccountSpn_req,
9094 { "req", "drsuapi.DsWriteAccountSpn.req", FT_UINT32, BASE_DEC,
9095 NULL, 0,
9096 NULL, HFILL }},
9098 { &hf_drsuapi_DsWriteAccountSpn_res,
9099 { "res", "drsuapi.DsWriteAccountSpn.res", FT_UINT32, BASE_DEC,
9100 NULL, 0,
9101 NULL, HFILL }},
9103 { &hf_drsuapi_DsGetDCInfoRequest1_domain_name,
9104 { "domain_name", "drsuapi.DsGetDCInfoRequest1.domain_name", FT_STRING, BASE_NONE,
9105 NULL, 0,
9106 NULL, HFILL }},
9108 { &hf_drsuapi_DsGetDCInfoRequest1_level,
9109 { "level", "drsuapi.DsGetDCInfoRequest1.level", FT_INT32, BASE_DEC,
9110 NULL, 0,
9111 NULL, HFILL }},
9113 { &hf_drsuapi_DsGetDCInfoRequest_1_req1,
9114 { "req1", "drsuapi.DsGetDCInfoRequest.req1", FT_NONE, BASE_NONE,
9115 NULL, 0,
9116 NULL, HFILL }},
9118 { &hf_drsuapi_DsGetDCInfo1_netbios_name,
9119 { "netbios_name", "drsuapi.DsGetDCInfo1.netbios_name", FT_STRING, BASE_NONE,
9120 NULL, 0,
9121 NULL, HFILL }},
9123 { &hf_drsuapi_DsGetDCInfo1_dns_name,
9124 { "dns_name", "drsuapi.DsGetDCInfo1.dns_name", FT_STRING, BASE_NONE,
9125 NULL, 0,
9126 NULL, HFILL }},
9128 { &hf_drsuapi_DsGetDCInfo1_site_name,
9129 { "site_name", "drsuapi.DsGetDCInfo1.site_name", FT_STRING, BASE_NONE,
9130 NULL, 0,
9131 NULL, HFILL }},
9133 { &hf_drsuapi_DsGetDCInfo1_computer_dn,
9134 { "computer_dn", "drsuapi.DsGetDCInfo1.computer_dn", FT_STRING, BASE_NONE,
9135 NULL, 0,
9136 NULL, HFILL }},
9138 { &hf_drsuapi_DsGetDCInfo1_server_dn,
9139 { "server_dn", "drsuapi.DsGetDCInfo1.server_dn", FT_STRING, BASE_NONE,
9140 NULL, 0,
9141 NULL, HFILL }},
9143 { &hf_drsuapi_DsGetDCInfo1_is_pdc,
9144 { "is_pdc", "drsuapi.DsGetDCInfo1.is_pdc", FT_UINT32, BASE_DEC,
9145 NULL, 0,
9146 NULL, HFILL }},
9148 { &hf_drsuapi_DsGetDCInfo1_is_enabled,
9149 { "is_enabled", "drsuapi.DsGetDCInfo1.is_enabled", FT_UINT32, BASE_DEC,
9150 NULL, 0,
9151 NULL, HFILL }},
9153 { &hf_drsuapi_DsGetDCInfoCtr1_count,
9154 { "count", "drsuapi.DsGetDCInfoCtr1.count", FT_UINT32, BASE_DEC,
9155 NULL, 0,
9156 NULL, HFILL }},
9158 { &hf_drsuapi_DsGetDCInfoCtr1_array,
9159 { "array", "drsuapi.DsGetDCInfoCtr1.array", FT_NONE, BASE_NONE,
9160 NULL, 0,
9161 NULL, HFILL }},
9163 { &hf_drsuapi_DsGetDCInfo2_netbios_name,
9164 { "netbios_name", "drsuapi.DsGetDCInfo2.netbios_name", FT_STRING, BASE_NONE,
9165 NULL, 0,
9166 NULL, HFILL }},
9168 { &hf_drsuapi_DsGetDCInfo2_dns_name,
9169 { "dns_name", "drsuapi.DsGetDCInfo2.dns_name", FT_STRING, BASE_NONE,
9170 NULL, 0,
9171 NULL, HFILL }},
9173 { &hf_drsuapi_DsGetDCInfo2_site_name,
9174 { "site_name", "drsuapi.DsGetDCInfo2.site_name", FT_STRING, BASE_NONE,
9175 NULL, 0,
9176 NULL, HFILL }},
9178 { &hf_drsuapi_DsGetDCInfo2_site_dn,
9179 { "site_dn", "drsuapi.DsGetDCInfo2.site_dn", FT_STRING, BASE_NONE,
9180 NULL, 0,
9181 NULL, HFILL }},
9183 { &hf_drsuapi_DsGetDCInfo2_computer_dn,
9184 { "computer_dn", "drsuapi.DsGetDCInfo2.computer_dn", FT_STRING, BASE_NONE,
9185 NULL, 0,
9186 NULL, HFILL }},
9188 { &hf_drsuapi_DsGetDCInfo2_server_dn,
9189 { "server_dn", "drsuapi.DsGetDCInfo2.server_dn", FT_STRING, BASE_NONE,
9190 NULL, 0,
9191 NULL, HFILL }},
9193 { &hf_drsuapi_DsGetDCInfo2_ntds_dn,
9194 { "ntds_dn", "drsuapi.DsGetDCInfo2.ntds_dn", FT_STRING, BASE_NONE,
9195 NULL, 0,
9196 NULL, HFILL }},
9198 { &hf_drsuapi_DsGetDCInfo2_is_pdc,
9199 { "is_pdc", "drsuapi.DsGetDCInfo2.is_pdc", FT_UINT32, BASE_DEC,
9200 NULL, 0,
9201 NULL, HFILL }},
9203 { &hf_drsuapi_DsGetDCInfo2_is_enabled,
9204 { "is_enabled", "drsuapi.DsGetDCInfo2.is_enabled", FT_UINT32, BASE_DEC,
9205 NULL, 0,
9206 NULL, HFILL }},
9208 { &hf_drsuapi_DsGetDCInfo2_is_gc,
9209 { "is_gc", "drsuapi.DsGetDCInfo2.is_gc", FT_UINT32, BASE_DEC,
9210 NULL, 0,
9211 NULL, HFILL }},
9213 { &hf_drsuapi_DsGetDCInfo2_site_guid,
9214 { "site_guid", "drsuapi.DsGetDCInfo2.site_guid", FT_GUID, BASE_NONE,
9215 NULL, 0,
9216 NULL, HFILL }},
9218 { &hf_drsuapi_DsGetDCInfo2_computer_guid,
9219 { "computer_guid", "drsuapi.DsGetDCInfo2.computer_guid", FT_GUID, BASE_NONE,
9220 NULL, 0,
9221 NULL, HFILL }},
9223 { &hf_drsuapi_DsGetDCInfo2_server_guid,
9224 { "server_guid", "drsuapi.DsGetDCInfo2.server_guid", FT_GUID, BASE_NONE,
9225 NULL, 0,
9226 NULL, HFILL }},
9228 { &hf_drsuapi_DsGetDCInfo2_ntds_guid,
9229 { "ntds_guid", "drsuapi.DsGetDCInfo2.ntds_guid", FT_GUID, BASE_NONE,
9230 NULL, 0,
9231 NULL, HFILL }},
9233 { &hf_drsuapi_DsGetDCInfoCtr2_count,
9234 { "count", "drsuapi.DsGetDCInfoCtr2.count", FT_UINT32, BASE_DEC,
9235 NULL, 0,
9236 NULL, HFILL }},
9238 { &hf_drsuapi_DsGetDCInfoCtr2_array,
9239 { "array", "drsuapi.DsGetDCInfoCtr2.array", FT_NONE, BASE_NONE,
9240 NULL, 0,
9241 NULL, HFILL }},
9243 { &hf_drsuapi_DsGetDCInfo01_unknown1,
9244 { "unknown1", "drsuapi.DsGetDCInfo01.unknown1", FT_UINT32, BASE_DEC,
9245 NULL, 0,
9246 NULL, HFILL }},
9248 { &hf_drsuapi_DsGetDCInfo01_unknown2,
9249 { "unknown2", "drsuapi.DsGetDCInfo01.unknown2", FT_UINT32, BASE_DEC,
9250 NULL, 0,
9251 NULL, HFILL }},
9253 { &hf_drsuapi_DsGetDCInfo01_unknown3,
9254 { "unknown3", "drsuapi.DsGetDCInfo01.unknown3", FT_UINT32, BASE_DEC,
9255 NULL, 0,
9256 NULL, HFILL }},
9258 { &hf_drsuapi_DsGetDCInfo01_unknown4,
9259 { "unknown4", "drsuapi.DsGetDCInfo01.unknown4", FT_UINT32, BASE_DEC,
9260 NULL, 0,
9261 NULL, HFILL }},
9263 { &hf_drsuapi_DsGetDCInfo01_unknown5,
9264 { "unknown5", "drsuapi.DsGetDCInfo01.unknown5", FT_UINT32, BASE_DEC,
9265 NULL, 0,
9266 NULL, HFILL }},
9268 { &hf_drsuapi_DsGetDCInfo01_unknown6,
9269 { "unknown6", "drsuapi.DsGetDCInfo01.unknown6", FT_UINT32, BASE_DEC,
9270 NULL, 0,
9271 NULL, HFILL }},
9273 { &hf_drsuapi_DsGetDCInfo01_server_nt4_account,
9274 { "server_nt4_account", "drsuapi.DsGetDCInfo01.server_nt4_account", FT_STRING, BASE_NONE,
9275 NULL, 0,
9276 NULL, HFILL }},
9278 { &hf_drsuapi_DsGetDCInfoCtr01_count,
9279 { "count", "drsuapi.DsGetDCInfoCtr01.count", FT_UINT32, BASE_DEC,
9280 NULL, 0,
9281 NULL, HFILL }},
9283 { &hf_drsuapi_DsGetDCInfoCtr01_array,
9284 { "array", "drsuapi.DsGetDCInfoCtr01.array", FT_NONE, BASE_NONE,
9285 NULL, 0,
9286 NULL, HFILL }},
9288 { &hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1,
9289 { "ctr1", "drsuapi.DsGetDCInfoCtr.ctr1", FT_NONE, BASE_NONE,
9290 NULL, 0,
9291 NULL, HFILL }},
9293 { &hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2,
9294 { "ctr2", "drsuapi.DsGetDCInfoCtr.ctr2", FT_NONE, BASE_NONE,
9295 NULL, 0,
9296 NULL, HFILL }},
9298 { &hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01,
9299 { "ctr01", "drsuapi.DsGetDCInfoCtr.ctr01", FT_NONE, BASE_NONE,
9300 NULL, 0,
9301 NULL, HFILL }},
9303 { &hf_drsuapi_DsGetDomainControllerInfo_bind_handle,
9304 { "bind_handle", "drsuapi.DsGetDomainControllerInfo.bind_handle", FT_BYTES, BASE_NONE,
9305 NULL, 0,
9306 NULL, HFILL }},
9308 { &hf_drsuapi_DsGetDomainControllerInfo_level,
9309 { "level", "drsuapi.DsGetDomainControllerInfo.level", FT_INT32, BASE_DEC,
9310 NULL, 0,
9311 NULL, HFILL }},
9313 { &hf_drsuapi_DsGetDomainControllerInfo_req,
9314 { "req", "drsuapi.DsGetDomainControllerInfo.req", FT_UINT32, BASE_DEC,
9315 NULL, 0,
9316 NULL, HFILL }},
9318 { &hf_drsuapi_DsGetDomainControllerInfo_ctr,
9319 { "ctr", "drsuapi.DsGetDomainControllerInfo.ctr", FT_UINT32, BASE_DEC,
9320 NULL, 0,
9321 NULL, HFILL }},
9323 { &hf_drsuapi_DsReplicaGetInfoRequest1_info_type,
9324 { "info_type", "drsuapi.DsReplicaGetInfoRequest1.info_type", FT_INT32, BASE_DEC,
9325 VALS(drsuapi_DsReplicaInfoType_vals), 0,
9326 NULL, HFILL }},
9328 { &hf_drsuapi_DsReplicaGetInfoRequest1_object_dn,
9329 { "object_dn", "drsuapi.DsReplicaGetInfoRequest1.object_dn", FT_STRING, BASE_NONE,
9330 NULL, 0,
9331 NULL, HFILL }},
9333 { &hf_drsuapi_DsReplicaGetInfoRequest1_guid1,
9334 { "guid1", "drsuapi.DsReplicaGetInfoRequest1.guid1", FT_GUID, BASE_NONE,
9335 NULL, 0,
9336 NULL, HFILL }},
9338 { &hf_drsuapi_DsReplicaGetInfoRequest2_info_type,
9339 { "info_type", "drsuapi.DsReplicaGetInfoRequest2.info_type", FT_INT32, BASE_DEC,
9340 VALS(drsuapi_DsReplicaInfoType_vals), 0,
9341 NULL, HFILL }},
9343 { &hf_drsuapi_DsReplicaGetInfoRequest2_object_dn,
9344 { "object_dn", "drsuapi.DsReplicaGetInfoRequest2.object_dn", FT_STRING, BASE_NONE,
9345 NULL, 0,
9346 NULL, HFILL }},
9348 { &hf_drsuapi_DsReplicaGetInfoRequest2_guid1,
9349 { "guid1", "drsuapi.DsReplicaGetInfoRequest2.guid1", FT_GUID, BASE_NONE,
9350 NULL, 0,
9351 NULL, HFILL }},
9353 { &hf_drsuapi_DsReplicaGetInfoRequest2_unknown1,
9354 { "unknown1", "drsuapi.DsReplicaGetInfoRequest2.unknown1", FT_UINT32, BASE_DEC,
9355 NULL, 0,
9356 NULL, HFILL }},
9358 { &hf_drsuapi_DsReplicaGetInfoRequest2_string1,
9359 { "string1", "drsuapi.DsReplicaGetInfoRequest2.string1", FT_STRING, BASE_NONE,
9360 NULL, 0,
9361 NULL, HFILL }},
9363 { &hf_drsuapi_DsReplicaGetInfoRequest2_string2,
9364 { "string2", "drsuapi.DsReplicaGetInfoRequest2.string2", FT_STRING, BASE_NONE,
9365 NULL, 0,
9366 NULL, HFILL }},
9368 { &hf_drsuapi_DsReplicaGetInfoRequest2_unknown2,
9369 { "unknown2", "drsuapi.DsReplicaGetInfoRequest2.unknown2", FT_UINT32, BASE_DEC,
9370 NULL, 0,
9371 NULL, HFILL }},
9373 { &hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1,
9374 { "req1", "drsuapi.DsReplicaGetInfoRequest.req1", FT_NONE, BASE_NONE,
9375 NULL, 0,
9376 NULL, HFILL }},
9378 { &hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2,
9379 { "req2", "drsuapi.DsReplicaGetInfoRequest.req2", FT_NONE, BASE_NONE,
9380 NULL, 0,
9381 NULL, HFILL }},
9383 { &hf_drsuapi_DsReplicaNeighbour_naming_context_dn,
9384 { "naming_context_dn", "drsuapi.DsReplicaNeighbour.naming_context_dn", FT_STRING, BASE_NONE,
9385 NULL, 0,
9386 NULL, HFILL }},
9388 { &hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn,
9389 { "source_dsa_obj_dn", "drsuapi.DsReplicaNeighbour.source_dsa_obj_dn", FT_STRING, BASE_NONE,
9390 NULL, 0,
9391 NULL, HFILL }},
9393 { &hf_drsuapi_DsReplicaNeighbour_source_dsa_address,
9394 { "source_dsa_address", "drsuapi.DsReplicaNeighbour.source_dsa_address", FT_STRING, BASE_NONE,
9395 NULL, 0,
9396 NULL, HFILL }},
9398 { &hf_drsuapi_DsReplicaNeighbour_transport_obj_dn,
9399 { "transport_obj_dn", "drsuapi.DsReplicaNeighbour.transport_obj_dn", FT_STRING, BASE_NONE,
9400 NULL, 0,
9401 NULL, HFILL }},
9403 { &hf_drsuapi_DsReplicaNeighbour_replica_flags,
9404 { "replica_flags", "drsuapi.DsReplicaNeighbour.replica_flags", FT_UINT32, BASE_DEC,
9405 NULL, 0,
9406 NULL, HFILL }},
9408 { &hf_drsuapi_DsReplicaNeighbour_reserved,
9409 { "reserved", "drsuapi.DsReplicaNeighbour.reserved", FT_UINT32, BASE_DEC,
9410 NULL, 0,
9411 NULL, HFILL }},
9413 { &hf_drsuapi_DsReplicaNeighbour_naming_context_obj_guid,
9414 { "naming_context_obj_guid", "drsuapi.DsReplicaNeighbour.naming_context_obj_guid", FT_GUID, BASE_NONE,
9415 NULL, 0,
9416 NULL, HFILL }},
9418 { &hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid,
9419 { "source_dsa_obj_guid", "drsuapi.DsReplicaNeighbour.source_dsa_obj_guid", FT_GUID, BASE_NONE,
9420 NULL, 0,
9421 NULL, HFILL }},
9423 { &hf_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id,
9424 { "source_dsa_invocation_id", "drsuapi.DsReplicaNeighbour.source_dsa_invocation_id", FT_GUID, BASE_NONE,
9425 NULL, 0,
9426 NULL, HFILL }},
9428 { &hf_drsuapi_DsReplicaNeighbour_transport_obj_guid,
9429 { "transport_obj_guid", "drsuapi.DsReplicaNeighbour.transport_obj_guid", FT_GUID, BASE_NONE,
9430 NULL, 0,
9431 NULL, HFILL }},
9433 { &hf_drsuapi_DsReplicaNeighbour_tmp_highest_usn,
9434 { "tmp_highest_usn", "drsuapi.DsReplicaNeighbour.tmp_highest_usn", FT_UINT64, BASE_DEC,
9435 NULL, 0,
9436 NULL, HFILL }},
9438 { &hf_drsuapi_DsReplicaNeighbour_highest_usn,
9439 { "highest_usn", "drsuapi.DsReplicaNeighbour.highest_usn", FT_UINT64, BASE_DEC,
9440 NULL, 0,
9441 NULL, HFILL }},
9443 { &hf_drsuapi_DsReplicaNeighbour_last_success,
9444 { "last_success", "drsuapi.DsReplicaNeighbour.last_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9445 NULL, 0,
9446 NULL, HFILL }},
9448 { &hf_drsuapi_DsReplicaNeighbour_last_attempt,
9449 { "last_attempt", "drsuapi.DsReplicaNeighbour.last_attempt", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9450 NULL, 0,
9451 NULL, HFILL }},
9453 { &hf_drsuapi_DsReplicaNeighbour_result_last_attempt,
9454 { "result_last_attempt", "drsuapi.DsReplicaNeighbour.result_last_attempt", FT_UINT32, BASE_DEC,
9455 VALS(NT_errors), 0,
9456 NULL, HFILL }},
9458 { &hf_drsuapi_DsReplicaNeighbour_consecutive_sync_failures,
9459 { "consecutive_sync_failures", "drsuapi.DsReplicaNeighbour.consecutive_sync_failures", FT_UINT32, BASE_DEC,
9460 NULL, 0,
9461 NULL, HFILL }},
9463 { &hf_drsuapi_DsReplicaNeighbourCtr_count,
9464 { "count", "drsuapi.DsReplicaNeighbourCtr.count", FT_UINT32, BASE_DEC,
9465 NULL, 0,
9466 NULL, HFILL }},
9468 { &hf_drsuapi_DsReplicaNeighbourCtr_reserved,
9469 { "reserved", "drsuapi.DsReplicaNeighbourCtr.reserved", FT_UINT32, BASE_DEC,
9470 NULL, 0,
9471 NULL, HFILL }},
9473 { &hf_drsuapi_DsReplicaNeighbourCtr_array,
9474 { "array", "drsuapi.DsReplicaNeighbourCtr.array", FT_NONE, BASE_NONE,
9475 NULL, 0,
9476 NULL, HFILL }},
9478 { &hf_drsuapi_DsReplicaCoursorCtr_count,
9479 { "count", "drsuapi.DsReplicaCoursorCtr.count", FT_UINT32, BASE_DEC,
9480 NULL, 0,
9481 NULL, HFILL }},
9483 { &hf_drsuapi_DsReplicaCoursorCtr_reserved,
9484 { "reserved", "drsuapi.DsReplicaCoursorCtr.reserved", FT_UINT32, BASE_DEC,
9485 NULL, 0,
9486 NULL, HFILL }},
9488 { &hf_drsuapi_DsReplicaCoursorCtr_array,
9489 { "array", "drsuapi.DsReplicaCoursorCtr.array", FT_NONE, BASE_NONE,
9490 NULL, 0,
9491 NULL, HFILL }},
9493 { &hf_drsuapi_DsReplicaObjMetaData_attribute_name,
9494 { "attribute_name", "drsuapi.DsReplicaObjMetaData.attribute_name", FT_STRING, BASE_NONE,
9495 NULL, 0,
9496 NULL, HFILL }},
9498 { &hf_drsuapi_DsReplicaObjMetaData_version,
9499 { "version", "drsuapi.DsReplicaObjMetaData.version", FT_UINT32, BASE_DEC,
9500 NULL, 0,
9501 NULL, HFILL }},
9503 { &hf_drsuapi_DsReplicaObjMetaData_originating_last_changed,
9504 { "originating_last_changed", "drsuapi.DsReplicaObjMetaData.originating_last_changed", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9505 NULL, 0,
9506 NULL, HFILL }},
9508 { &hf_drsuapi_DsReplicaObjMetaData_originating_dsa_invocation_id,
9509 { "originating_dsa_invocation_id", "drsuapi.DsReplicaObjMetaData.originating_dsa_invocation_id", FT_GUID, BASE_NONE,
9510 NULL, 0,
9511 NULL, HFILL }},
9513 { &hf_drsuapi_DsReplicaObjMetaData_originating_usn,
9514 { "originating_usn", "drsuapi.DsReplicaObjMetaData.originating_usn", FT_UINT64, BASE_DEC,
9515 NULL, 0,
9516 NULL, HFILL }},
9518 { &hf_drsuapi_DsReplicaObjMetaData_local_usn,
9519 { "local_usn", "drsuapi.DsReplicaObjMetaData.local_usn", FT_UINT64, BASE_DEC,
9520 NULL, 0,
9521 NULL, HFILL }},
9523 { &hf_drsuapi_DsReplicaObjMetaDataCtr_count,
9524 { "count", "drsuapi.DsReplicaObjMetaDataCtr.count", FT_UINT32, BASE_DEC,
9525 NULL, 0,
9526 NULL, HFILL }},
9528 { &hf_drsuapi_DsReplicaObjMetaDataCtr_reserved,
9529 { "reserved", "drsuapi.DsReplicaObjMetaDataCtr.reserved", FT_UINT32, BASE_DEC,
9530 NULL, 0,
9531 NULL, HFILL }},
9533 { &hf_drsuapi_DsReplicaObjMetaDataCtr_array,
9534 { "array", "drsuapi.DsReplicaObjMetaDataCtr.array", FT_NONE, BASE_NONE,
9535 NULL, 0,
9536 NULL, HFILL }},
9538 { &hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn,
9539 { "dsa_obj_dn", "drsuapi.DsReplicaKccDsaFailure.dsa_obj_dn", FT_STRING, BASE_NONE,
9540 NULL, 0,
9541 NULL, HFILL }},
9543 { &hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid,
9544 { "dsa_obj_guid", "drsuapi.DsReplicaKccDsaFailure.dsa_obj_guid", FT_GUID, BASE_NONE,
9545 NULL, 0,
9546 NULL, HFILL }},
9548 { &hf_drsuapi_DsReplicaKccDsaFailure_first_failure,
9549 { "first_failure", "drsuapi.DsReplicaKccDsaFailure.first_failure", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9550 NULL, 0,
9551 NULL, HFILL }},
9553 { &hf_drsuapi_DsReplicaKccDsaFailure_num_failures,
9554 { "num_failures", "drsuapi.DsReplicaKccDsaFailure.num_failures", FT_UINT32, BASE_DEC,
9555 NULL, 0,
9556 NULL, HFILL }},
9558 { &hf_drsuapi_DsReplicaKccDsaFailure_last_result,
9559 { "last_result", "drsuapi.DsReplicaKccDsaFailure.last_result", FT_UINT32, BASE_DEC,
9560 VALS(NT_errors), 0,
9561 NULL, HFILL }},
9563 { &hf_drsuapi_DsReplicaKccDsaFailuresCtr_count,
9564 { "count", "drsuapi.DsReplicaKccDsaFailuresCtr.count", FT_UINT32, BASE_DEC,
9565 NULL, 0,
9566 NULL, HFILL }},
9568 { &hf_drsuapi_DsReplicaKccDsaFailuresCtr_reserved,
9569 { "reserved", "drsuapi.DsReplicaKccDsaFailuresCtr.reserved", FT_UINT32, BASE_DEC,
9570 NULL, 0,
9571 NULL, HFILL }},
9573 { &hf_drsuapi_DsReplicaKccDsaFailuresCtr_array,
9574 { "array", "drsuapi.DsReplicaKccDsaFailuresCtr.array", FT_NONE, BASE_NONE,
9575 NULL, 0,
9576 NULL, HFILL }},
9578 { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync,
9579 { "sync", "drsuapi.DsRplicaOpOptions.sync", FT_UINT32, BASE_HEX,
9580 NULL, 0,
9581 NULL, HFILL }},
9583 { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add,
9584 { "add", "drsuapi.DsRplicaOpOptions.add", FT_UINT32, BASE_HEX,
9585 NULL, 0,
9586 NULL, HFILL }},
9588 { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete,
9589 { "delete", "drsuapi.DsRplicaOpOptions.delete", FT_UINT32, BASE_HEX,
9590 NULL, 0,
9591 NULL, HFILL }},
9593 { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify,
9594 { "modify", "drsuapi.DsRplicaOpOptions.modify", FT_UINT32, BASE_HEX,
9595 NULL, 0,
9596 NULL, HFILL }},
9598 { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs,
9599 { "update_refs", "drsuapi.DsRplicaOpOptions.update_refs", FT_UINT32, BASE_HEX,
9600 NULL, 0,
9601 NULL, HFILL }},
9603 { &hf_drsuapi_DsRplicaOpOptions_default_unknown,
9604 { "unknown", "drsuapi.DsRplicaOpOptions.unknown", FT_UINT32, BASE_DEC,
9605 NULL, 0,
9606 NULL, HFILL }},
9608 { &hf_drsuapi_DsReplicaOp_operation_start,
9609 { "operation_start", "drsuapi.DsReplicaOp.operation_start", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9610 NULL, 0,
9611 NULL, HFILL }},
9613 { &hf_drsuapi_DsReplicaOp_serial_num,
9614 { "serial_num", "drsuapi.DsReplicaOp.serial_num", FT_UINT32, BASE_DEC,
9615 NULL, 0,
9616 NULL, HFILL }},
9618 { &hf_drsuapi_DsReplicaOp_priority,
9619 { "priority", "drsuapi.DsReplicaOp.priority", FT_UINT32, BASE_DEC,
9620 NULL, 0,
9621 NULL, HFILL }},
9623 { &hf_drsuapi_DsReplicaOp_operation_type,
9624 { "operation_type", "drsuapi.DsReplicaOp.operation_type", FT_INT16, BASE_DEC,
9625 VALS(drsuapi_DsReplicaOpType_vals), 0,
9626 NULL, HFILL }},
9628 { &hf_drsuapi_DsReplicaOp_options,
9629 { "options", "drsuapi.DsReplicaOp.options", FT_UINT16, BASE_DEC,
9630 NULL, 0,
9631 NULL, HFILL }},
9633 { &hf_drsuapi_DsReplicaOp_nc_dn,
9634 { "nc_dn", "drsuapi.DsReplicaOp.nc_dn", FT_STRING, BASE_NONE,
9635 NULL, 0,
9636 NULL, HFILL }},
9638 { &hf_drsuapi_DsReplicaOp_remote_dsa_obj_dn,
9639 { "remote_dsa_obj_dn", "drsuapi.DsReplicaOp.remote_dsa_obj_dn", FT_STRING, BASE_NONE,
9640 NULL, 0,
9641 NULL, HFILL }},
9643 { &hf_drsuapi_DsReplicaOp_remote_dsa_address,
9644 { "remote_dsa_address", "drsuapi.DsReplicaOp.remote_dsa_address", FT_STRING, BASE_NONE,
9645 NULL, 0,
9646 NULL, HFILL }},
9648 { &hf_drsuapi_DsReplicaOp_nc_obj_guid,
9649 { "nc_obj_guid", "drsuapi.DsReplicaOp.nc_obj_guid", FT_GUID, BASE_NONE,
9650 NULL, 0,
9651 NULL, HFILL }},
9653 { &hf_drsuapi_DsReplicaOp_remote_dsa_obj_guid,
9654 { "remote_dsa_obj_guid", "drsuapi.DsReplicaOp.remote_dsa_obj_guid", FT_GUID, BASE_NONE,
9655 NULL, 0,
9656 NULL, HFILL }},
9658 { &hf_drsuapi_DsReplicaOpCtr_time,
9659 { "time", "drsuapi.DsReplicaOpCtr.time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9660 NULL, 0,
9661 NULL, HFILL }},
9663 { &hf_drsuapi_DsReplicaOpCtr_count,
9664 { "count", "drsuapi.DsReplicaOpCtr.count", FT_UINT32, BASE_DEC,
9665 NULL, 0,
9666 NULL, HFILL }},
9668 { &hf_drsuapi_DsReplicaOpCtr_array,
9669 { "array", "drsuapi.DsReplicaOpCtr.array", FT_NONE, BASE_NONE,
9670 NULL, 0,
9671 NULL, HFILL }},
9673 { &hf_drsuapi_DsReplicaAttrValMetaData_attribute_name,
9674 { "attribute_name", "drsuapi.DsReplicaAttrValMetaData.attribute_name", FT_STRING, BASE_NONE,
9675 NULL, 0,
9676 NULL, HFILL }},
9678 { &hf_drsuapi_DsReplicaAttrValMetaData_object_dn,
9679 { "object_dn", "drsuapi.DsReplicaAttrValMetaData.object_dn", FT_STRING, BASE_NONE,
9680 NULL, 0,
9681 NULL, HFILL }},
9683 { &hf_drsuapi_DsReplicaAttrValMetaData_value_length,
9684 { "value_length", "drsuapi.DsReplicaAttrValMetaData.value_length", FT_UINT32, BASE_DEC,
9685 NULL, 0,
9686 NULL, HFILL }},
9688 { &hf_drsuapi_DsReplicaAttrValMetaData_value,
9689 { "value", "drsuapi.DsReplicaAttrValMetaData.value", FT_UINT8, BASE_DEC,
9690 NULL, 0,
9691 NULL, HFILL }},
9693 { &hf_drsuapi_DsReplicaAttrValMetaData_deleted,
9694 { "deleted", "drsuapi.DsReplicaAttrValMetaData.deleted", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9695 NULL, 0,
9696 NULL, HFILL }},
9698 { &hf_drsuapi_DsReplicaAttrValMetaData_created,
9699 { "created", "drsuapi.DsReplicaAttrValMetaData.created", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9700 NULL, 0,
9701 NULL, HFILL }},
9703 { &hf_drsuapi_DsReplicaAttrValMetaData_version,
9704 { "version", "drsuapi.DsReplicaAttrValMetaData.version", FT_UINT32, BASE_DEC,
9705 NULL, 0,
9706 NULL, HFILL }},
9708 { &hf_drsuapi_DsReplicaAttrValMetaData_originating_last_changed,
9709 { "originating_last_changed", "drsuapi.DsReplicaAttrValMetaData.originating_last_changed", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9710 NULL, 0,
9711 NULL, HFILL }},
9713 { &hf_drsuapi_DsReplicaAttrValMetaData_originating_dsa_invocation_id,
9714 { "originating_dsa_invocation_id", "drsuapi.DsReplicaAttrValMetaData.originating_dsa_invocation_id", FT_GUID, BASE_NONE,
9715 NULL, 0,
9716 NULL, HFILL }},
9718 { &hf_drsuapi_DsReplicaAttrValMetaData_originating_usn,
9719 { "originating_usn", "drsuapi.DsReplicaAttrValMetaData.originating_usn", FT_UINT64, BASE_DEC,
9720 NULL, 0,
9721 NULL, HFILL }},
9723 { &hf_drsuapi_DsReplicaAttrValMetaData_local_usn,
9724 { "local_usn", "drsuapi.DsReplicaAttrValMetaData.local_usn", FT_UINT64, BASE_DEC,
9725 NULL, 0,
9726 NULL, HFILL }},
9728 { &hf_drsuapi_DsReplicaAttrValMetaDataCtr_count,
9729 { "count", "drsuapi.DsReplicaAttrValMetaDataCtr.count", FT_UINT32, BASE_DEC,
9730 NULL, 0,
9731 NULL, HFILL }},
9733 { &hf_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context,
9734 { "enumeration_context", "drsuapi.DsReplicaAttrValMetaDataCtr.enumeration_context", FT_INT32, BASE_DEC,
9735 NULL, 0,
9736 NULL, HFILL }},
9738 { &hf_drsuapi_DsReplicaAttrValMetaDataCtr_array,
9739 { "array", "drsuapi.DsReplicaAttrValMetaDataCtr.array", FT_NONE, BASE_NONE,
9740 NULL, 0,
9741 NULL, HFILL }},
9743 { &hf_drsuapi_DsReplicaCoursor2_source_dsa_invocation_id,
9744 { "source_dsa_invocation_id", "drsuapi.DsReplicaCoursor2.source_dsa_invocation_id", FT_GUID, BASE_NONE,
9745 NULL, 0,
9746 NULL, HFILL }},
9748 { &hf_drsuapi_DsReplicaCoursor2_highest_usn,
9749 { "highest_usn", "drsuapi.DsReplicaCoursor2.highest_usn", FT_UINT64, BASE_DEC,
9750 NULL, 0,
9751 NULL, HFILL }},
9753 { &hf_drsuapi_DsReplicaCoursor2_last_sync_success,
9754 { "last_sync_success", "drsuapi.DsReplicaCoursor2.last_sync_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9755 NULL, 0,
9756 NULL, HFILL }},
9758 { &hf_drsuapi_DsReplicaCoursor2Ctr_count,
9759 { "count", "drsuapi.DsReplicaCoursor2Ctr.count", FT_UINT32, BASE_DEC,
9760 NULL, 0,
9761 NULL, HFILL }},
9763 { &hf_drsuapi_DsReplicaCoursor2Ctr_enumeration_context,
9764 { "enumeration_context", "drsuapi.DsReplicaCoursor2Ctr.enumeration_context", FT_INT32, BASE_DEC,
9765 NULL, 0,
9766 NULL, HFILL }},
9768 { &hf_drsuapi_DsReplicaCoursor2Ctr_array,
9769 { "array", "drsuapi.DsReplicaCoursor2Ctr.array", FT_NONE, BASE_NONE,
9770 NULL, 0,
9771 NULL, HFILL }},
9773 { &hf_drsuapi_DsReplicaCoursor3_source_dsa_invocation_id,
9774 { "source_dsa_invocation_id", "drsuapi.DsReplicaCoursor3.source_dsa_invocation_id", FT_GUID, BASE_NONE,
9775 NULL, 0,
9776 NULL, HFILL }},
9778 { &hf_drsuapi_DsReplicaCoursor3_highest_usn,
9779 { "highest_usn", "drsuapi.DsReplicaCoursor3.highest_usn", FT_UINT64, BASE_DEC,
9780 NULL, 0,
9781 NULL, HFILL }},
9783 { &hf_drsuapi_DsReplicaCoursor3_last_sync_success,
9784 { "last_sync_success", "drsuapi.DsReplicaCoursor3.last_sync_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9785 NULL, 0,
9786 NULL, HFILL }},
9788 { &hf_drsuapi_DsReplicaCoursor3_source_dsa_obj_dn,
9789 { "source_dsa_obj_dn", "drsuapi.DsReplicaCoursor3.source_dsa_obj_dn", FT_STRING, BASE_NONE,
9790 NULL, 0,
9791 NULL, HFILL }},
9793 { &hf_drsuapi_DsReplicaCoursor3Ctr_count,
9794 { "count", "drsuapi.DsReplicaCoursor3Ctr.count", FT_UINT32, BASE_DEC,
9795 NULL, 0,
9796 NULL, HFILL }},
9798 { &hf_drsuapi_DsReplicaCoursor3Ctr_enumeration_context,
9799 { "enumeration_context", "drsuapi.DsReplicaCoursor3Ctr.enumeration_context", FT_INT32, BASE_DEC,
9800 NULL, 0,
9801 NULL, HFILL }},
9803 { &hf_drsuapi_DsReplicaCoursor3Ctr_array,
9804 { "array", "drsuapi.DsReplicaCoursor3Ctr.array", FT_NONE, BASE_NONE,
9805 NULL, 0,
9806 NULL, HFILL }},
9808 { &hf_drsuapi_DsReplicaObjMetaData2_attribute_name,
9809 { "attribute_name", "drsuapi.DsReplicaObjMetaData2.attribute_name", FT_STRING, BASE_NONE,
9810 NULL, 0,
9811 NULL, HFILL }},
9813 { &hf_drsuapi_DsReplicaObjMetaData2_version,
9814 { "version", "drsuapi.DsReplicaObjMetaData2.version", FT_UINT32, BASE_DEC,
9815 NULL, 0,
9816 NULL, HFILL }},
9818 { &hf_drsuapi_DsReplicaObjMetaData2_originating_last_changed,
9819 { "originating_last_changed", "drsuapi.DsReplicaObjMetaData2.originating_last_changed", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9820 NULL, 0,
9821 NULL, HFILL }},
9823 { &hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_invocation_id,
9824 { "originating_dsa_invocation_id", "drsuapi.DsReplicaObjMetaData2.originating_dsa_invocation_id", FT_GUID, BASE_NONE,
9825 NULL, 0,
9826 NULL, HFILL }},
9828 { &hf_drsuapi_DsReplicaObjMetaData2_originating_usn,
9829 { "originating_usn", "drsuapi.DsReplicaObjMetaData2.originating_usn", FT_UINT64, BASE_DEC,
9830 NULL, 0,
9831 NULL, HFILL }},
9833 { &hf_drsuapi_DsReplicaObjMetaData2_local_usn,
9834 { "local_usn", "drsuapi.DsReplicaObjMetaData2.local_usn", FT_UINT64, BASE_DEC,
9835 NULL, 0,
9836 NULL, HFILL }},
9838 { &hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_obj_dn,
9839 { "originating_dsa_obj_dn", "drsuapi.DsReplicaObjMetaData2.originating_dsa_obj_dn", FT_STRING, BASE_NONE,
9840 NULL, 0,
9841 NULL, HFILL }},
9843 { &hf_drsuapi_DsReplicaObjMetaData2Ctr_count,
9844 { "count", "drsuapi.DsReplicaObjMetaData2Ctr.count", FT_UINT32, BASE_DEC,
9845 NULL, 0,
9846 NULL, HFILL }},
9848 { &hf_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context,
9849 { "enumeration_context", "drsuapi.DsReplicaObjMetaData2Ctr.enumeration_context", FT_INT32, BASE_DEC,
9850 NULL, 0,
9851 NULL, HFILL }},
9853 { &hf_drsuapi_DsReplicaObjMetaData2Ctr_array,
9854 { "array", "drsuapi.DsReplicaObjMetaData2Ctr.array", FT_NONE, BASE_NONE,
9855 NULL, 0,
9856 NULL, HFILL }},
9858 { &hf_drsuapi_DsReplicaAttrValMetaData2_attribute_name,
9859 { "attribute_name", "drsuapi.DsReplicaAttrValMetaData2.attribute_name", FT_STRING, BASE_NONE,
9860 NULL, 0,
9861 NULL, HFILL }},
9863 { &hf_drsuapi_DsReplicaAttrValMetaData2_object_dn,
9864 { "object_dn", "drsuapi.DsReplicaAttrValMetaData2.object_dn", FT_STRING, BASE_NONE,
9865 NULL, 0,
9866 NULL, HFILL }},
9868 { &hf_drsuapi_DsReplicaAttrValMetaData2_value_length,
9869 { "value_length", "drsuapi.DsReplicaAttrValMetaData2.value_length", FT_UINT32, BASE_DEC,
9870 NULL, 0,
9871 NULL, HFILL }},
9873 { &hf_drsuapi_DsReplicaAttrValMetaData2_value,
9874 { "value", "drsuapi.DsReplicaAttrValMetaData2.value", FT_UINT8, BASE_DEC,
9875 NULL, 0,
9876 NULL, HFILL }},
9878 { &hf_drsuapi_DsReplicaAttrValMetaData2_deleted,
9879 { "deleted", "drsuapi.DsReplicaAttrValMetaData2.deleted", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9880 NULL, 0,
9881 NULL, HFILL }},
9883 { &hf_drsuapi_DsReplicaAttrValMetaData2_created,
9884 { "created", "drsuapi.DsReplicaAttrValMetaData2.created", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9885 NULL, 0,
9886 NULL, HFILL }},
9888 { &hf_drsuapi_DsReplicaAttrValMetaData2_version,
9889 { "version", "drsuapi.DsReplicaAttrValMetaData2.version", FT_UINT32, BASE_DEC,
9890 NULL, 0,
9891 NULL, HFILL }},
9893 { &hf_drsuapi_DsReplicaAttrValMetaData2_originating_last_changed,
9894 { "originating_last_changed", "drsuapi.DsReplicaAttrValMetaData2.originating_last_changed", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9895 NULL, 0,
9896 NULL, HFILL }},
9898 { &hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_invocation_id,
9899 { "originating_dsa_invocation_id", "drsuapi.DsReplicaAttrValMetaData2.originating_dsa_invocation_id", FT_GUID, BASE_NONE,
9900 NULL, 0,
9901 NULL, HFILL }},
9903 { &hf_drsuapi_DsReplicaAttrValMetaData2_originating_usn,
9904 { "originating_usn", "drsuapi.DsReplicaAttrValMetaData2.originating_usn", FT_UINT64, BASE_DEC,
9905 NULL, 0,
9906 NULL, HFILL }},
9908 { &hf_drsuapi_DsReplicaAttrValMetaData2_local_usn,
9909 { "local_usn", "drsuapi.DsReplicaAttrValMetaData2.local_usn", FT_UINT64, BASE_DEC,
9910 NULL, 0,
9911 NULL, HFILL }},
9913 { &hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_obj_dn,
9914 { "originating_dsa_obj_dn", "drsuapi.DsReplicaAttrValMetaData2.originating_dsa_obj_dn", FT_STRING, BASE_NONE,
9915 NULL, 0,
9916 NULL, HFILL }},
9918 { &hf_drsuapi_DsReplicaAttrValMetaData2Ctr_count,
9919 { "count", "drsuapi.DsReplicaAttrValMetaData2Ctr.count", FT_UINT32, BASE_DEC,
9920 NULL, 0,
9921 NULL, HFILL }},
9923 { &hf_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context,
9924 { "enumeration_context", "drsuapi.DsReplicaAttrValMetaData2Ctr.enumeration_context", FT_INT32, BASE_DEC,
9925 NULL, 0,
9926 NULL, HFILL }},
9928 { &hf_drsuapi_DsReplicaAttrValMetaData2Ctr_array,
9929 { "array", "drsuapi.DsReplicaAttrValMetaData2Ctr.array", FT_NONE, BASE_NONE,
9930 NULL, 0,
9931 NULL, HFILL }},
9933 { &hf_drsuapi_DsReplicaConnection04_u1,
9934 { "u1", "drsuapi.DsReplicaConnection04.u1", FT_UINT64, BASE_DEC,
9935 NULL, 0,
9936 NULL, HFILL }},
9938 { &hf_drsuapi_DsReplicaConnection04_u2,
9939 { "u2", "drsuapi.DsReplicaConnection04.u2", FT_UINT32, BASE_DEC,
9940 NULL, 0,
9941 NULL, HFILL }},
9943 { &hf_drsuapi_DsReplicaConnection04_u3,
9944 { "u3", "drsuapi.DsReplicaConnection04.u3", FT_UINT32, BASE_DEC,
9945 NULL, 0,
9946 NULL, HFILL }},
9948 { &hf_drsuapi_DsReplicaConnection04_bind_guid,
9949 { "bind_guid", "drsuapi.DsReplicaConnection04.bind_guid", FT_GUID, BASE_NONE,
9950 NULL, 0,
9951 NULL, HFILL }},
9953 { &hf_drsuapi_DsReplicaConnection04_bind_time,
9954 { "bind_time", "drsuapi.DsReplicaConnection04.bind_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9955 NULL, 0,
9956 NULL, HFILL }},
9958 { &hf_drsuapi_DsReplicaConnection04_u4,
9959 { "u4", "drsuapi.DsReplicaConnection04.u4", FT_UINT32, BASE_DEC,
9960 NULL, 0,
9961 NULL, HFILL }},
9963 { &hf_drsuapi_DsReplicaConnection04_u5,
9964 { "u5", "drsuapi.DsReplicaConnection04.u5", FT_UINT32, BASE_DEC,
9965 NULL, 0,
9966 NULL, HFILL }},
9968 { &hf_drsuapi_DsReplicaConnection04Ctr_count,
9969 { "count", "drsuapi.DsReplicaConnection04Ctr.count", FT_UINT32, BASE_DEC,
9970 NULL, 0,
9971 NULL, HFILL }},
9973 { &hf_drsuapi_DsReplicaConnection04Ctr_reserved,
9974 { "reserved", "drsuapi.DsReplicaConnection04Ctr.reserved", FT_UINT32, BASE_DEC,
9975 NULL, 0,
9976 NULL, HFILL }},
9978 { &hf_drsuapi_DsReplicaConnection04Ctr_array,
9979 { "array", "drsuapi.DsReplicaConnection04Ctr.array", FT_NONE, BASE_NONE,
9980 NULL, 0,
9981 NULL, HFILL }},
9983 { &hf_drsuapi_DsReplica06_str1,
9984 { "str1", "drsuapi.DsReplica06.str1", FT_STRING, BASE_NONE,
9985 NULL, 0,
9986 NULL, HFILL }},
9988 { &hf_drsuapi_DsReplica06_u1,
9989 { "u1", "drsuapi.DsReplica06.u1", FT_UINT32, BASE_DEC,
9990 NULL, 0,
9991 NULL, HFILL }},
9993 { &hf_drsuapi_DsReplica06_u2,
9994 { "u2", "drsuapi.DsReplica06.u2", FT_UINT32, BASE_DEC,
9995 NULL, 0,
9996 NULL, HFILL }},
9998 { &hf_drsuapi_DsReplica06_u3,
9999 { "u3", "drsuapi.DsReplica06.u3", FT_UINT32, BASE_DEC,
10000 NULL, 0,
10001 NULL, HFILL }},
10003 { &hf_drsuapi_DsReplica06_u4,
10004 { "u4", "drsuapi.DsReplica06.u4", FT_UINT32, BASE_DEC,
10005 NULL, 0,
10006 NULL, HFILL }},
10008 { &hf_drsuapi_DsReplica06_u5,
10009 { "u5", "drsuapi.DsReplica06.u5", FT_UINT32, BASE_DEC,
10010 NULL, 0,
10011 NULL, HFILL }},
10013 { &hf_drsuapi_DsReplica06_u6,
10014 { "u6", "drsuapi.DsReplica06.u6", FT_UINT64, BASE_DEC,
10015 NULL, 0,
10016 NULL, HFILL }},
10018 { &hf_drsuapi_DsReplica06_u7,
10019 { "u7", "drsuapi.DsReplica06.u7", FT_UINT32, BASE_DEC,
10020 NULL, 0,
10021 NULL, HFILL }},
10023 { &hf_drsuapi_DsReplica06Ctr_count,
10024 { "count", "drsuapi.DsReplica06Ctr.count", FT_UINT32, BASE_DEC,
10025 NULL, 0,
10026 NULL, HFILL }},
10028 { &hf_drsuapi_DsReplica06Ctr_reserved,
10029 { "reserved", "drsuapi.DsReplica06Ctr.reserved", FT_UINT32, BASE_DEC,
10030 NULL, 0,
10031 NULL, HFILL }},
10033 { &hf_drsuapi_DsReplica06Ctr_array,
10034 { "array", "drsuapi.DsReplica06Ctr.array", FT_NONE, BASE_NONE,
10035 NULL, 0,
10036 NULL, HFILL }},
10038 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours,
10039 { "neighbours", "drsuapi.DsReplicaInfo.neighbours", FT_NONE, BASE_NONE,
10040 NULL, 0,
10041 NULL, HFILL }},
10043 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors,
10044 { "coursors", "drsuapi.DsReplicaInfo.coursors", FT_NONE, BASE_NONE,
10045 NULL, 0,
10046 NULL, HFILL }},
10048 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata,
10049 { "objmetadata", "drsuapi.DsReplicaInfo.objmetadata", FT_NONE, BASE_NONE,
10050 NULL, 0,
10051 NULL, HFILL }},
10053 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures,
10054 { "connectfailures", "drsuapi.DsReplicaInfo.connectfailures", FT_NONE, BASE_NONE,
10055 NULL, 0,
10056 NULL, HFILL }},
10058 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures,
10059 { "linkfailures", "drsuapi.DsReplicaInfo.linkfailures", FT_NONE, BASE_NONE,
10060 NULL, 0,
10061 NULL, HFILL }},
10063 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops,
10064 { "pendingops", "drsuapi.DsReplicaInfo.pendingops", FT_NONE, BASE_NONE,
10065 NULL, 0,
10066 NULL, HFILL }},
10068 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata,
10069 { "attrvalmetadata", "drsuapi.DsReplicaInfo.attrvalmetadata", FT_NONE, BASE_NONE,
10070 NULL, 0,
10071 NULL, HFILL }},
10073 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2,
10074 { "coursors2", "drsuapi.DsReplicaInfo.coursors2", FT_NONE, BASE_NONE,
10075 NULL, 0,
10076 NULL, HFILL }},
10078 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3,
10079 { "coursors3", "drsuapi.DsReplicaInfo.coursors3", FT_NONE, BASE_NONE,
10080 NULL, 0,
10081 NULL, HFILL }},
10083 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2,
10084 { "objmetadata2", "drsuapi.DsReplicaInfo.objmetadata2", FT_NONE, BASE_NONE,
10085 NULL, 0,
10086 NULL, HFILL }},
10088 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2,
10089 { "attrvalmetadata2", "drsuapi.DsReplicaInfo.attrvalmetadata2", FT_NONE, BASE_NONE,
10090 NULL, 0,
10091 NULL, HFILL }},
10093 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02,
10094 { "neighbours02", "drsuapi.DsReplicaInfo.neighbours02", FT_NONE, BASE_NONE,
10095 NULL, 0,
10096 NULL, HFILL }},
10098 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04,
10099 { "connections04", "drsuapi.DsReplicaInfo.connections04", FT_NONE, BASE_NONE,
10100 NULL, 0,
10101 NULL, HFILL }},
10103 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05,
10104 { "coursors05", "drsuapi.DsReplicaInfo.coursors05", FT_NONE, BASE_NONE,
10105 NULL, 0,
10106 NULL, HFILL }},
10108 { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06,
10109 { "i06", "drsuapi.DsReplicaInfo.i06", FT_NONE, BASE_NONE,
10110 NULL, 0,
10111 NULL, HFILL }},
10113 { &hf_drsuapi_DsReplicaGetInfo_bind_handle,
10114 { "bind_handle", "drsuapi.DsReplicaGetInfo.bind_handle", FT_BYTES, BASE_NONE,
10115 NULL, 0,
10116 NULL, HFILL }},
10118 { &hf_drsuapi_DsReplicaGetInfo_level,
10119 { "level", "drsuapi.DsReplicaGetInfo.level", FT_INT32, BASE_DEC,
10120 VALS(drsuapi_DsReplicaGetInfoLevel_vals), 0,
10121 NULL, HFILL }},
10123 { &hf_drsuapi_DsReplicaGetInfo_req,
10124 { "req", "drsuapi.DsReplicaGetInfo.req", FT_UINT32, BASE_DEC,
10125 NULL, 0,
10126 NULL, HFILL }},
10128 { &hf_drsuapi_DsReplicaGetInfo_info_type,
10129 { "info_type", "drsuapi.DsReplicaGetInfo.info_type", FT_INT32, BASE_DEC,
10130 VALS(drsuapi_DsReplicaInfoType_vals), 0,
10131 NULL, HFILL }},
10133 { &hf_drsuapi_DsReplicaGetInfo_info,
10134 { "info", "drsuapi.DsReplicaGetInfo.info", FT_UINT32, BASE_DEC,
10135 NULL, 0,
10136 NULL, HFILL }},
10138 /* END OF INCLUDED FILE : ETH_HFARR */
10143 static gint *ett[] = {
10146 /* INCLUDED FILE : ETH_ETTARR */
10147 &ett_drsuapi,
10148 &ett_drsuapi_SupportedExtensions,
10149 &ett_drsuapi_DsBindInfo24,
10150 &ett_drsuapi_DsBindInfo28,
10151 &ett_drsuapi_DsBindInfo,
10152 &ett_drsuapi_DsBindInfoCtr,
10153 &ett_drsuapi_DsReplicaSyncRequest1Info,
10154 &ett_drsuapi_DsReplicaSyncOptions,
10155 &ett_drsuapi_DsReplicaSyncRequest1,
10156 &ett_drsuapi_DsReplicaSyncRequest,
10157 &ett_drsuapi_DsGetNCChangesUsnTriple,
10158 &ett_drsuapi_DsReplicaCoursor,
10159 &ett_drsuapi_DsReplicaCoursor05Ctr,
10160 &ett_drsuapi_DsGetNCChangesRequest5,
10161 &ett_drsuapi_DsGetNCChangesRequest_Ctr14,
10162 &ett_drsuapi_DsGetNCChangesRequest_Ctr13,
10163 &ett_drsuapi_DsGetNCChangesRequest_Ctr12,
10164 &ett_drsuapi_DsGetNCChangesRequest8,
10165 &ett_drsuapi_DsGetNCChangesRequest,
10166 &ett_drsuapi_DsReplicaCoursorEx,
10167 &ett_drsuapi_DsReplicaCoursorEx05Ctr,
10168 &ett_drsuapi_DsGetNCChangesCtr6,
10169 &ett_drsuapi_DsGetNCChangesCtr7,
10170 &ett_drsuapi_DsGetNCChangesCtr,
10171 &ett_drsuapi_DsReplicaUpdateRefsOptions,
10172 &ett_drsuapi_DsReplicaUpdateRefsRequest1,
10173 &ett_drsuapi_DsReplicaUpdateRefsRequest,
10174 &ett_drsuapi_DsReplicaAddOptions,
10175 &ett_drsuapi_DsReplicaDeleteOptions,
10176 &ett_drsuapi_DsReplicaModifyOptions,
10177 &ett_drsuapi_DsNameString,
10178 &ett_drsuapi_DsNameRequest1,
10179 &ett_drsuapi_DsNameRequest,
10180 &ett_drsuapi_DsNameInfo1,
10181 &ett_drsuapi_DsNameCtr1,
10182 &ett_drsuapi_DsNameCtr,
10183 &ett_drsuapi_DsWriteAccountSpnRequest1,
10184 &ett_drsuapi_DsWriteAccountSpnRequest,
10185 &ett_drsuapi_DsWriteAccountSpnResult1,
10186 &ett_drsuapi_DsWriteAccountSpnResult,
10187 &ett_drsuapi_DsGetDCInfoRequest1,
10188 &ett_drsuapi_DsGetDCInfoRequest,
10189 &ett_drsuapi_DsGetDCInfo1,
10190 &ett_drsuapi_DsGetDCInfoCtr1,
10191 &ett_drsuapi_DsGetDCInfo2,
10192 &ett_drsuapi_DsGetDCInfoCtr2,
10193 &ett_drsuapi_DsGetDCInfo01,
10194 &ett_drsuapi_DsGetDCInfoCtr01,
10195 &ett_drsuapi_DsGetDCInfoCtr,
10196 &ett_drsuapi_DsReplicaGetInfoRequest1,
10197 &ett_drsuapi_DsReplicaGetInfoRequest2,
10198 &ett_drsuapi_DsReplicaGetInfoRequest,
10199 &ett_drsuapi_DsReplicaNeighbour,
10200 &ett_drsuapi_DsReplicaNeighbourCtr,
10201 &ett_drsuapi_DsReplicaCoursorCtr,
10202 &ett_drsuapi_DsReplicaObjMetaData,
10203 &ett_drsuapi_DsReplicaObjMetaDataCtr,
10204 &ett_drsuapi_DsReplicaKccDsaFailure,
10205 &ett_drsuapi_DsReplicaKccDsaFailuresCtr,
10206 &ett_drsuapi_DsRplicaOpOptions,
10207 &ett_drsuapi_DsReplicaOp,
10208 &ett_drsuapi_DsReplicaOpCtr,
10209 &ett_drsuapi_DsReplicaAttrValMetaData,
10210 &ett_drsuapi_DsReplicaAttrValMetaDataCtr,
10211 &ett_drsuapi_DsReplicaCoursor2,
10212 &ett_drsuapi_DsReplicaCoursor2Ctr,
10213 &ett_drsuapi_DsReplicaCoursor3,
10214 &ett_drsuapi_DsReplicaCoursor3Ctr,
10215 &ett_drsuapi_DsReplicaObjMetaData2,
10216 &ett_drsuapi_DsReplicaObjMetaData2Ctr,
10217 &ett_drsuapi_DsReplicaAttrValMetaData2,
10218 &ett_drsuapi_DsReplicaAttrValMetaData2Ctr,
10219 &ett_drsuapi_DsReplicaConnection04,
10220 &ett_drsuapi_DsReplicaConnection04Ctr,
10221 &ett_drsuapi_DsReplica06,
10222 &ett_drsuapi_DsReplica06Ctr,
10223 &ett_drsuapi_DsReplicaInfo,
10224 /* END OF INCLUDED FILE : ETH_ETTARR */
10229 proto_drsuapi = proto_register_protocol(
10230 "DRSUAPI",
10231 "DRSUAPI", "drsuapi");
10232 proto_register_field_array(proto_drsuapi, hf, array_length(hf));
10233 proto_register_subtree_array(ett, array_length(ett));
10236 static dcerpc_sub_dissector function_dissectors[] = {
10239 /* INCLUDED FILE : ETH_FT */
10240 { 0, "DsBind",
10241 drsuapi_dissect_DsBind_request,
10242 drsuapi_dissect_DsBind_response },
10243 { 1, "DsUnbind",
10244 drsuapi_dissect_DsUnbind_request,
10245 drsuapi_dissect_DsUnbind_response },
10246 { 2, "DsReplicaSync",
10247 drsuapi_dissect_DsReplicaSync_request,
10248 drsuapi_dissect_DsReplicaSync_response },
10249 { 3, "DsGetNCChanges",
10250 drsuapi_dissect_DsGetNCChanges_request,
10251 drsuapi_dissect_DsGetNCChanges_response },
10252 { 4, "DsReplicaUpdateRefs",
10253 drsuapi_dissect_DsReplicaUpdateRefs_request,
10254 drsuapi_dissect_DsReplicaUpdateRefs_response },
10255 { 5, "DRSUAPI_REPLICA_ADD",
10256 drsuapi_dissect_DRSUAPI_REPLICA_ADD_request,
10257 drsuapi_dissect_DRSUAPI_REPLICA_ADD_response },
10258 { 6, "DRSUAPI_REPLICA_DEL",
10259 drsuapi_dissect_DRSUAPI_REPLICA_DEL_request,
10260 drsuapi_dissect_DRSUAPI_REPLICA_DEL_response },
10261 { 7, "DRSUAPI_REPLICA_MODIFY",
10262 drsuapi_dissect_DRSUAPI_REPLICA_MODIFY_request,
10263 drsuapi_dissect_DRSUAPI_REPLICA_MODIFY_response },
10264 { 8, "DRSUAPI_VERIFY_NAMES",
10265 drsuapi_dissect_DRSUAPI_VERIFY_NAMES_request,
10266 drsuapi_dissect_DRSUAPI_VERIFY_NAMES_response },
10267 { 9, "DRSUAPI_GET_MEMBERSHIPS",
10268 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS_request,
10269 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS_response },
10270 { 10, "DRSUAPI_INTER_DOMAIN_MOVE",
10271 drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_request,
10272 drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_response },
10273 { 11, "DRSUAPI_GET_NT4_CHANGELOG",
10274 drsuapi_dissect_DRSUAPI_GET_NT4_CHANGELOG_request,
10275 drsuapi_dissect_DRSUAPI_GET_NT4_CHANGELOG_response },
10276 { 12, "DsCrackNames",
10277 drsuapi_dissect_DsCrackNames_request,
10278 drsuapi_dissect_DsCrackNames_response },
10279 { 13, "DsWriteAccountSpn",
10280 drsuapi_dissect_DsWriteAccountSpn_request,
10281 drsuapi_dissect_DsWriteAccountSpn_response },
10282 { 14, "DRSUAPI_REMOVE_DS_SERVER",
10283 drsuapi_dissect_DRSUAPI_REMOVE_DS_SERVER_request,
10284 drsuapi_dissect_DRSUAPI_REMOVE_DS_SERVER_response },
10285 { 15, "DRSUAPI_REMOVE_DS_DOMAIN",
10286 drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_request,
10287 drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_response },
10288 { 16, "DsGetDomainControllerInfo",
10289 drsuapi_dissect_DsGetDomainControllerInfo_request,
10290 drsuapi_dissect_DsGetDomainControllerInfo_response },
10291 { 17, "DsAddEntry",
10292 drsuapi_dissect_DsAddEntry_request,
10293 drsuapi_dissect_DsAddEntry_response },
10294 { 18, "DRSUAPI_EXECUTE_KCC",
10295 drsuapi_dissect_DRSUAPI_EXECUTE_KCC_request,
10296 drsuapi_dissect_DRSUAPI_EXECUTE_KCC_response },
10297 { 19, "DsReplicaGetInfo",
10298 drsuapi_dissect_DsReplicaGetInfo_request,
10299 drsuapi_dissect_DsReplicaGetInfo_response },
10300 { 20, "DRSUAPI_ADD_SID_HISTORY",
10301 drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_request,
10302 drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_response },
10303 { 21, "DRSUAPI_GET_MEMBERSHIPS2",
10304 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS2_request,
10305 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS2_response },
10306 { 22, "DRSUAPI_REPLICA_VERIFY_OBJECTS",
10307 drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_request,
10308 drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_response },
10309 { 23, "DRSUAPI_GET_OBJECT_EXISTENCE",
10310 drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_request,
10311 drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_response },
10312 { 24, "DRSUAPI_QUERY_SITES_BY_COST",
10313 drsuapi_dissect_DRSUAPI_QUERY_SITES_BY_COST_request,
10314 drsuapi_dissect_DRSUAPI_QUERY_SITES_BY_COST_response },
10315 /* END OF INCLUDED FILE : ETH_FT */
10318 { 0, NULL, NULL, NULL },
10321 void
10322 proto_reg_handoff_drsuapi(void)
10326 /* INCLUDED FILE : ETH_HANDOFF */
10327 dcerpc_init_uuid(proto_drsuapi, ett_drsuapi,
10328 &uuid_dcerpc_drsuapi, ver_drsuapi,
10329 function_dissectors, hf_drsuapi_opnum);
10330 /* END OF INCLUDED FILE : ETH_HANDOFF */