Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-srvsvc.c
blobf65f8d71727062fb1b8df034d5634bf5c07a482c
1 /* DO NOT EDIT
2 This file was automatically generated by Pidl
3 from srvsvc.idl and srvsvc.cnf.
5 Pidl is a perl based IDL compiler for DCE/RPC idl files.
6 It is maintained by the Samba team, not the Wireshark team.
7 Instructions on how to download and install Pidl can be
8 found at https://wiki.wireshark.org/Pidl
9 */
12 #include "config.h"
13 #include <string.h>
14 #include <wsutil/array.h>
15 #include <epan/packet.h>
16 #include <epan/tfs.h>
18 #include "packet-dcerpc.h"
19 #include "packet-dcerpc-nt.h"
20 #include "packet-windows-common.h"
21 #include "packet-dcerpc-srvsvc.h"
22 void proto_register_dcerpc_srvsvc(void);
23 void proto_reg_handoff_dcerpc_srvsvc(void);
25 /* Ett declarations */
26 static int ett_dcerpc_srvsvc;
27 static int ett_srvsvc_svcctl_ServerType;
28 static int ett_srvsvc_security_secinfo;
29 static int ett_srvsvc_srvsvc_NetCharDevInfo0;
30 static int ett_srvsvc_srvsvc_NetCharDevCtr0;
31 static int ett_srvsvc_srvsvc_NetCharDevInfo1;
32 static int ett_srvsvc_srvsvc_NetCharDevCtr1;
33 static int ett_srvsvc_srvsvc_NetCharDevInfo;
34 static int ett_srvsvc_srvsvc_NetCharDevCtr;
35 static int ett_srvsvc_srvsvc_NetCharDevInfoCtr;
36 static int ett_srvsvc_srvsvc_NetCharDevQInfo0;
37 static int ett_srvsvc_srvsvc_NetCharDevQCtr0;
38 static int ett_srvsvc_srvsvc_NetCharDevQInfo1;
39 static int ett_srvsvc_srvsvc_NetCharDevQCtr1;
40 static int ett_srvsvc_srvsvc_NetCharDevQInfo;
41 static int ett_srvsvc_srvsvc_NetCharDevQCtr;
42 static int ett_srvsvc_srvsvc_NetCharDevQInfoCtr;
43 static int ett_srvsvc_srvsvc_NetConnInfo0;
44 static int ett_srvsvc_srvsvc_NetConnCtr0;
45 static int ett_srvsvc_srvsvc_NetConnInfo1;
46 static int ett_srvsvc_srvsvc_NetConnCtr1;
47 static int ett_srvsvc_srvsvc_NetConnCtr;
48 static int ett_srvsvc_srvsvc_NetConnInfoCtr;
49 static int ett_srvsvc_srvsvc_NetFileInfo2;
50 static int ett_srvsvc_srvsvc_NetFileCtr2;
51 static int ett_srvsvc_srvsvc_NetFileInfo3;
52 static int ett_srvsvc_srvsvc_NetFileCtr3;
53 static int ett_srvsvc_srvsvc_NetFileInfo;
54 static int ett_srvsvc_srvsvc_NetFileCtr;
55 static int ett_srvsvc_srvsvc_NetFileInfoCtr;
56 static int ett_srvsvc_srvsvc_NetSessInfo0;
57 static int ett_srvsvc_srvsvc_NetSessCtr0;
58 static int ett_srvsvc_srvsvc_NetSessInfo1;
59 static int ett_srvsvc_srvsvc_NetSessCtr1;
60 static int ett_srvsvc_srvsvc_NetSessInfo2;
61 static int ett_srvsvc_srvsvc_NetSessCtr2;
62 static int ett_srvsvc_srvsvc_NetSessInfo10;
63 static int ett_srvsvc_srvsvc_NetSessCtr10;
64 static int ett_srvsvc_srvsvc_NetSessInfo502;
65 static int ett_srvsvc_srvsvc_NetSessCtr502;
66 static int ett_srvsvc_srvsvc_NetSessCtr;
67 static int ett_srvsvc_srvsvc_NetSessInfoCtr;
68 static int ett_srvsvc_srvsvc_NetShareInfo0;
69 static int ett_srvsvc_srvsvc_NetShareCtr0;
70 static int ett_srvsvc_srvsvc_NetShareInfo1;
71 static int ett_srvsvc_srvsvc_NetShareCtr1;
72 static int ett_srvsvc_srvsvc_NetShareInfo2;
73 static int ett_srvsvc_srvsvc_NetShareCtr2;
74 static int ett_srvsvc_srvsvc_NetShareInfo501;
75 static int ett_srvsvc_srvsvc_NetShareCtr501;
76 static int ett_srvsvc_srvsvc_NetShareInfo502;
77 static int ett_srvsvc_srvsvc_NetShareCtr502;
78 static int ett_srvsvc_srvsvc_NetShareInfo1004;
79 static int ett_srvsvc_srvsvc_NetShareCtr1004;
80 static int ett_srvsvc_NetShareInfo1005Flags;
81 static int ett_srvsvc_srvsvc_NetShareInfo1005;
82 static int ett_srvsvc_srvsvc_NetShareCtr1005;
83 static int ett_srvsvc_srvsvc_NetShareInfo1006;
84 static int ett_srvsvc_srvsvc_NetShareCtr1006;
85 static int ett_srvsvc_srvsvc_NetShareInfo1007;
86 static int ett_srvsvc_srvsvc_NetShareCtr1007;
87 static int ett_srvsvc_srvsvc_NetShareCtr1501;
88 static int ett_srvsvc_srvsvc_NetShareInfo;
89 static int ett_srvsvc_srvsvc_NetShareCtr;
90 static int ett_srvsvc_srvsvc_NetShareInfoCtr;
91 static int ett_srvsvc_srvsvc_NetSrvInfo100;
92 static int ett_srvsvc_srvsvc_NetSrvInfo101;
93 static int ett_srvsvc_srvsvc_NetSrvInfo102;
94 static int ett_srvsvc_srvsvc_NetSrvInfo402;
95 static int ett_srvsvc_srvsvc_NetSrvInfo403;
96 static int ett_srvsvc_srvsvc_NetSrvInfo502;
97 static int ett_srvsvc_srvsvc_NetSrvInfo503;
98 static int ett_srvsvc_srvsvc_NetSrvInfo599;
99 static int ett_srvsvc_srvsvc_NetSrvInfo1005;
100 static int ett_srvsvc_srvsvc_NetSrvInfo1010;
101 static int ett_srvsvc_srvsvc_NetSrvInfo1016;
102 static int ett_srvsvc_srvsvc_NetSrvInfo1017;
103 static int ett_srvsvc_srvsvc_NetSrvInfo1018;
104 static int ett_srvsvc_srvsvc_NetSrvInfo1107;
105 static int ett_srvsvc_srvsvc_NetSrvInfo1501;
106 static int ett_srvsvc_srvsvc_NetSrvInfo1502;
107 static int ett_srvsvc_srvsvc_NetSrvInfo1503;
108 static int ett_srvsvc_srvsvc_NetSrvInfo1506;
109 static int ett_srvsvc_srvsvc_NetSrvInfo1509;
110 static int ett_srvsvc_srvsvc_NetSrvInfo1510;
111 static int ett_srvsvc_srvsvc_NetSrvInfo1511;
112 static int ett_srvsvc_srvsvc_NetSrvInfo1512;
113 static int ett_srvsvc_srvsvc_NetSrvInfo1513;
114 static int ett_srvsvc_srvsvc_NetSrvInfo1514;
115 static int ett_srvsvc_srvsvc_NetSrvInfo1515;
116 static int ett_srvsvc_srvsvc_NetSrvInfo1516;
117 static int ett_srvsvc_srvsvc_NetSrvInfo1518;
118 static int ett_srvsvc_srvsvc_NetSrvInfo1520;
119 static int ett_srvsvc_srvsvc_NetSrvInfo1521;
120 static int ett_srvsvc_srvsvc_NetSrvInfo1522;
121 static int ett_srvsvc_srvsvc_NetSrvInfo1523;
122 static int ett_srvsvc_srvsvc_NetSrvInfo1524;
123 static int ett_srvsvc_srvsvc_NetSrvInfo1525;
124 static int ett_srvsvc_srvsvc_NetSrvInfo1528;
125 static int ett_srvsvc_srvsvc_NetSrvInfo1529;
126 static int ett_srvsvc_srvsvc_NetSrvInfo1530;
127 static int ett_srvsvc_srvsvc_NetSrvInfo1533;
128 static int ett_srvsvc_srvsvc_NetSrvInfo1534;
129 static int ett_srvsvc_srvsvc_NetSrvInfo1535;
130 static int ett_srvsvc_srvsvc_NetSrvInfo1536;
131 static int ett_srvsvc_srvsvc_NetSrvInfo1537;
132 static int ett_srvsvc_srvsvc_NetSrvInfo1538;
133 static int ett_srvsvc_srvsvc_NetSrvInfo1539;
134 static int ett_srvsvc_srvsvc_NetSrvInfo1540;
135 static int ett_srvsvc_srvsvc_NetSrvInfo1541;
136 static int ett_srvsvc_srvsvc_NetSrvInfo1542;
137 static int ett_srvsvc_srvsvc_NetSrvInfo1543;
138 static int ett_srvsvc_srvsvc_NetSrvInfo1544;
139 static int ett_srvsvc_srvsvc_NetSrvInfo1545;
140 static int ett_srvsvc_srvsvc_NetSrvInfo1546;
141 static int ett_srvsvc_srvsvc_NetSrvInfo1547;
142 static int ett_srvsvc_srvsvc_NetSrvInfo1548;
143 static int ett_srvsvc_srvsvc_NetSrvInfo1549;
144 static int ett_srvsvc_srvsvc_NetSrvInfo1550;
145 static int ett_srvsvc_srvsvc_NetSrvInfo1552;
146 static int ett_srvsvc_srvsvc_NetSrvInfo1553;
147 static int ett_srvsvc_srvsvc_NetSrvInfo1554;
148 static int ett_srvsvc_srvsvc_NetSrvInfo1555;
149 static int ett_srvsvc_srvsvc_NetSrvInfo1556;
150 static int ett_srvsvc_srvsvc_NetSrvInfo;
151 static int ett_srvsvc_srvsvc_NetDiskInfo0;
152 static int ett_srvsvc_srvsvc_NetDiskInfo;
153 static int ett_srvsvc_srvsvc_Statistics;
154 static int ett_srvsvc_srvsvc_NetTransportInfo0;
155 static int ett_srvsvc_srvsvc_NetTransportCtr0;
156 static int ett_srvsvc_srvsvc_NetTransportInfo1;
157 static int ett_srvsvc_srvsvc_NetTransportCtr1;
158 static int ett_srvsvc_srvsvc_NetTransportInfo2;
159 static int ett_srvsvc_srvsvc_NetTransportCtr2;
160 static int ett_srvsvc_srvsvc_NetTransportInfo3;
161 static int ett_srvsvc_srvsvc_NetTransportCtr3;
162 static int ett_srvsvc_srvsvc_NetTransportCtr;
163 static int ett_srvsvc_srvsvc_NetTransportInfoCtr;
164 static int ett_srvsvc_srvsvc_NetRemoteTODInfo;
165 static int ett_srvsvc_srvsvc_NetTransportInfo;
168 /* Header field declarations */
169 static int hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ACCESS_BASED_DIRECTORY_ENUM;
170 static int hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ALLOW_NAMESPACE_CACHING;
171 static int hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_AUTO_REINT;
172 static int hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_NONE;
173 static int hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_VDO;
174 static int hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_DFS_ROOT;
175 static int hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ENABLE_CA;
176 static int hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ENABLE_HASH;
177 static int hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ENCRYPT_DATA;
178 static int hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_FORCE_LEVELII_OPLOCK;
179 static int hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_FORCE_SHARED_DELETE;
180 static int hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_IN_DFS;
181 static int hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_RESTRICT_EXCLUSIVE_OPENS;
182 static int hf_srvsvc_opnum;
183 static int hf_srvsvc_sec_desc_buf_len;
184 static int hf_srvsvc_srvsvc_NetCharDevControl_device_name;
185 static int hf_srvsvc_srvsvc_NetCharDevControl_opcode;
186 static int hf_srvsvc_srvsvc_NetCharDevControl_server_unc;
187 static int hf_srvsvc_srvsvc_NetCharDevCtr0_array;
188 static int hf_srvsvc_srvsvc_NetCharDevCtr0_count;
189 static int hf_srvsvc_srvsvc_NetCharDevCtr1_array;
190 static int hf_srvsvc_srvsvc_NetCharDevCtr1_count;
191 static int hf_srvsvc_srvsvc_NetCharDevCtr_ctr0;
192 static int hf_srvsvc_srvsvc_NetCharDevCtr_ctr1;
193 static int hf_srvsvc_srvsvc_NetCharDevEnum_info_ctr;
194 static int hf_srvsvc_srvsvc_NetCharDevEnum_max_buffer;
195 static int hf_srvsvc_srvsvc_NetCharDevEnum_resume_handle;
196 static int hf_srvsvc_srvsvc_NetCharDevEnum_server_unc;
197 static int hf_srvsvc_srvsvc_NetCharDevEnum_totalentries;
198 static int hf_srvsvc_srvsvc_NetCharDevGetInfo_device_name;
199 static int hf_srvsvc_srvsvc_NetCharDevGetInfo_info;
200 static int hf_srvsvc_srvsvc_NetCharDevGetInfo_level;
201 static int hf_srvsvc_srvsvc_NetCharDevGetInfo_server_unc;
202 static int hf_srvsvc_srvsvc_NetCharDevInfo0_device;
203 static int hf_srvsvc_srvsvc_NetCharDevInfo1_device;
204 static int hf_srvsvc_srvsvc_NetCharDevInfo1_status;
205 static int hf_srvsvc_srvsvc_NetCharDevInfo1_time;
206 static int hf_srvsvc_srvsvc_NetCharDevInfo1_user;
207 static int hf_srvsvc_srvsvc_NetCharDevInfoCtr_ctr;
208 static int hf_srvsvc_srvsvc_NetCharDevInfoCtr_level;
209 static int hf_srvsvc_srvsvc_NetCharDevInfo_info0;
210 static int hf_srvsvc_srvsvc_NetCharDevInfo_info1;
211 static int hf_srvsvc_srvsvc_NetCharDevQCtr0_array;
212 static int hf_srvsvc_srvsvc_NetCharDevQCtr0_count;
213 static int hf_srvsvc_srvsvc_NetCharDevQCtr1_array;
214 static int hf_srvsvc_srvsvc_NetCharDevQCtr1_count;
215 static int hf_srvsvc_srvsvc_NetCharDevQCtr_ctr0;
216 static int hf_srvsvc_srvsvc_NetCharDevQCtr_ctr1;
217 static int hf_srvsvc_srvsvc_NetCharDevQEnum_info_ctr;
218 static int hf_srvsvc_srvsvc_NetCharDevQEnum_max_buffer;
219 static int hf_srvsvc_srvsvc_NetCharDevQEnum_resume_handle;
220 static int hf_srvsvc_srvsvc_NetCharDevQEnum_server_unc;
221 static int hf_srvsvc_srvsvc_NetCharDevQEnum_totalentries;
222 static int hf_srvsvc_srvsvc_NetCharDevQEnum_user;
223 static int hf_srvsvc_srvsvc_NetCharDevQGetInfo_info;
224 static int hf_srvsvc_srvsvc_NetCharDevQGetInfo_level;
225 static int hf_srvsvc_srvsvc_NetCharDevQGetInfo_queue_name;
226 static int hf_srvsvc_srvsvc_NetCharDevQGetInfo_server_unc;
227 static int hf_srvsvc_srvsvc_NetCharDevQGetInfo_user;
228 static int hf_srvsvc_srvsvc_NetCharDevQInfo0_device;
229 static int hf_srvsvc_srvsvc_NetCharDevQInfo1_device;
230 static int hf_srvsvc_srvsvc_NetCharDevQInfo1_devices;
231 static int hf_srvsvc_srvsvc_NetCharDevQInfo1_num_ahead;
232 static int hf_srvsvc_srvsvc_NetCharDevQInfo1_priority;
233 static int hf_srvsvc_srvsvc_NetCharDevQInfo1_users;
234 static int hf_srvsvc_srvsvc_NetCharDevQInfoCtr_ctr;
235 static int hf_srvsvc_srvsvc_NetCharDevQInfoCtr_level;
236 static int hf_srvsvc_srvsvc_NetCharDevQInfo_info0;
237 static int hf_srvsvc_srvsvc_NetCharDevQInfo_info1;
238 static int hf_srvsvc_srvsvc_NetCharDevQPurgeSelf_computer_name;
239 static int hf_srvsvc_srvsvc_NetCharDevQPurgeSelf_queue_name;
240 static int hf_srvsvc_srvsvc_NetCharDevQPurgeSelf_server_unc;
241 static int hf_srvsvc_srvsvc_NetCharDevQPurge_queue_name;
242 static int hf_srvsvc_srvsvc_NetCharDevQPurge_server_unc;
243 static int hf_srvsvc_srvsvc_NetCharDevQSetInfo_info;
244 static int hf_srvsvc_srvsvc_NetCharDevQSetInfo_level;
245 static int hf_srvsvc_srvsvc_NetCharDevQSetInfo_parm_error;
246 static int hf_srvsvc_srvsvc_NetCharDevQSetInfo_queue_name;
247 static int hf_srvsvc_srvsvc_NetCharDevQSetInfo_server_unc;
248 static int hf_srvsvc_srvsvc_NetConnCtr0_array;
249 static int hf_srvsvc_srvsvc_NetConnCtr0_count;
250 static int hf_srvsvc_srvsvc_NetConnCtr1_array;
251 static int hf_srvsvc_srvsvc_NetConnCtr1_count;
252 static int hf_srvsvc_srvsvc_NetConnCtr_ctr0;
253 static int hf_srvsvc_srvsvc_NetConnCtr_ctr1;
254 static int hf_srvsvc_srvsvc_NetConnEnum_info_ctr;
255 static int hf_srvsvc_srvsvc_NetConnEnum_max_buffer;
256 static int hf_srvsvc_srvsvc_NetConnEnum_path;
257 static int hf_srvsvc_srvsvc_NetConnEnum_resume_handle;
258 static int hf_srvsvc_srvsvc_NetConnEnum_server_unc;
259 static int hf_srvsvc_srvsvc_NetConnEnum_totalentries;
260 static int hf_srvsvc_srvsvc_NetConnInfo0_conn_id;
261 static int hf_srvsvc_srvsvc_NetConnInfo1_conn_id;
262 static int hf_srvsvc_srvsvc_NetConnInfo1_conn_time;
263 static int hf_srvsvc_srvsvc_NetConnInfo1_conn_type;
264 static int hf_srvsvc_srvsvc_NetConnInfo1_num_open;
265 static int hf_srvsvc_srvsvc_NetConnInfo1_num_users;
266 static int hf_srvsvc_srvsvc_NetConnInfo1_share;
267 static int hf_srvsvc_srvsvc_NetConnInfo1_user;
268 static int hf_srvsvc_srvsvc_NetConnInfoCtr_ctr;
269 static int hf_srvsvc_srvsvc_NetConnInfoCtr_level;
270 static int hf_srvsvc_srvsvc_NetDiskEnum_info;
271 static int hf_srvsvc_srvsvc_NetDiskEnum_level;
272 static int hf_srvsvc_srvsvc_NetDiskEnum_maxlen;
273 static int hf_srvsvc_srvsvc_NetDiskEnum_resume_handle;
274 static int hf_srvsvc_srvsvc_NetDiskEnum_server_unc;
275 static int hf_srvsvc_srvsvc_NetDiskEnum_totalentries;
276 static int hf_srvsvc_srvsvc_NetDiskInfo0_disk;
277 static int hf_srvsvc_srvsvc_NetDiskInfo_count;
278 static int hf_srvsvc_srvsvc_NetDiskInfo_disks;
279 static int hf_srvsvc_srvsvc_NetFileClose_fid;
280 static int hf_srvsvc_srvsvc_NetFileClose_server_unc;
281 static int hf_srvsvc_srvsvc_NetFileCtr2_array;
282 static int hf_srvsvc_srvsvc_NetFileCtr2_count;
283 static int hf_srvsvc_srvsvc_NetFileCtr3_array;
284 static int hf_srvsvc_srvsvc_NetFileCtr3_count;
285 static int hf_srvsvc_srvsvc_NetFileCtr_ctr2;
286 static int hf_srvsvc_srvsvc_NetFileCtr_ctr3;
287 static int hf_srvsvc_srvsvc_NetFileEnum_info_ctr;
288 static int hf_srvsvc_srvsvc_NetFileEnum_max_buffer;
289 static int hf_srvsvc_srvsvc_NetFileEnum_path;
290 static int hf_srvsvc_srvsvc_NetFileEnum_resume_handle;
291 static int hf_srvsvc_srvsvc_NetFileEnum_server_unc;
292 static int hf_srvsvc_srvsvc_NetFileEnum_totalentries;
293 static int hf_srvsvc_srvsvc_NetFileEnum_user;
294 static int hf_srvsvc_srvsvc_NetFileGetInfo_fid;
295 static int hf_srvsvc_srvsvc_NetFileGetInfo_info;
296 static int hf_srvsvc_srvsvc_NetFileGetInfo_level;
297 static int hf_srvsvc_srvsvc_NetFileGetInfo_server_unc;
298 static int hf_srvsvc_srvsvc_NetFileInfo2_fid;
299 static int hf_srvsvc_srvsvc_NetFileInfo3_fid;
300 static int hf_srvsvc_srvsvc_NetFileInfo3_num_locks;
301 static int hf_srvsvc_srvsvc_NetFileInfo3_path;
302 static int hf_srvsvc_srvsvc_NetFileInfo3_permissions;
303 static int hf_srvsvc_srvsvc_NetFileInfo3_user;
304 static int hf_srvsvc_srvsvc_NetFileInfoCtr_ctr;
305 static int hf_srvsvc_srvsvc_NetFileInfoCtr_level;
306 static int hf_srvsvc_srvsvc_NetFileInfo_info2;
307 static int hf_srvsvc_srvsvc_NetFileInfo_info3;
308 static int hf_srvsvc_srvsvc_NetGetFileSecurity_file;
309 static int hf_srvsvc_srvsvc_NetGetFileSecurity_sd_buf;
310 static int hf_srvsvc_srvsvc_NetGetFileSecurity_securityinformation;
311 static int hf_srvsvc_srvsvc_NetGetFileSecurity_server_unc;
312 static int hf_srvsvc_srvsvc_NetGetFileSecurity_share;
313 static int hf_srvsvc_srvsvc_NetNameValidate_flags;
314 static int hf_srvsvc_srvsvc_NetNameValidate_name;
315 static int hf_srvsvc_srvsvc_NetNameValidate_name_type;
316 static int hf_srvsvc_srvsvc_NetNameValidate_server_unc;
317 static int hf_srvsvc_srvsvc_NetPRNameCompare_flags;
318 static int hf_srvsvc_srvsvc_NetPRNameCompare_name1;
319 static int hf_srvsvc_srvsvc_NetPRNameCompare_name2;
320 static int hf_srvsvc_srvsvc_NetPRNameCompare_name_type;
321 static int hf_srvsvc_srvsvc_NetPRNameCompare_server_unc;
322 static int hf_srvsvc_srvsvc_NetPathCanonicalize_can_path;
323 static int hf_srvsvc_srvsvc_NetPathCanonicalize_maxbuf;
324 static int hf_srvsvc_srvsvc_NetPathCanonicalize_path;
325 static int hf_srvsvc_srvsvc_NetPathCanonicalize_pathflags;
326 static int hf_srvsvc_srvsvc_NetPathCanonicalize_pathtype;
327 static int hf_srvsvc_srvsvc_NetPathCanonicalize_prefix;
328 static int hf_srvsvc_srvsvc_NetPathCanonicalize_server_unc;
329 static int hf_srvsvc_srvsvc_NetPathCompare_path1;
330 static int hf_srvsvc_srvsvc_NetPathCompare_path2;
331 static int hf_srvsvc_srvsvc_NetPathCompare_pathflags;
332 static int hf_srvsvc_srvsvc_NetPathCompare_pathtype;
333 static int hf_srvsvc_srvsvc_NetPathCompare_server_unc;
334 static int hf_srvsvc_srvsvc_NetPathType_path;
335 static int hf_srvsvc_srvsvc_NetPathType_pathflags;
336 static int hf_srvsvc_srvsvc_NetPathType_pathtype;
337 static int hf_srvsvc_srvsvc_NetPathType_server_unc;
338 static int hf_srvsvc_srvsvc_NetRemoteTODInfo_day;
339 static int hf_srvsvc_srvsvc_NetRemoteTODInfo_elapsed;
340 static int hf_srvsvc_srvsvc_NetRemoteTODInfo_hours;
341 static int hf_srvsvc_srvsvc_NetRemoteTODInfo_hunds;
342 static int hf_srvsvc_srvsvc_NetRemoteTODInfo_mins;
343 static int hf_srvsvc_srvsvc_NetRemoteTODInfo_month;
344 static int hf_srvsvc_srvsvc_NetRemoteTODInfo_msecs;
345 static int hf_srvsvc_srvsvc_NetRemoteTODInfo_secs;
346 static int hf_srvsvc_srvsvc_NetRemoteTODInfo_timezone;
347 static int hf_srvsvc_srvsvc_NetRemoteTODInfo_tinterval;
348 static int hf_srvsvc_srvsvc_NetRemoteTODInfo_weekday;
349 static int hf_srvsvc_srvsvc_NetRemoteTODInfo_year;
350 static int hf_srvsvc_srvsvc_NetRemoteTOD_info;
351 static int hf_srvsvc_srvsvc_NetRemoteTOD_server_unc;
352 static int hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_emulated_server_unc;
353 static int hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_server_unc;
354 static int hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_servicebits;
355 static int hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_servicebitsofinterest;
356 static int hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_transport;
357 static int hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_updateimmediately;
358 static int hf_srvsvc_srvsvc_NetServerStatisticsGet_level;
359 static int hf_srvsvc_srvsvc_NetServerStatisticsGet_options;
360 static int hf_srvsvc_srvsvc_NetServerStatisticsGet_server_unc;
361 static int hf_srvsvc_srvsvc_NetServerStatisticsGet_service;
362 static int hf_srvsvc_srvsvc_NetServerStatisticsGet_stats;
363 static int hf_srvsvc_srvsvc_NetServerTransportAddEx_info;
364 static int hf_srvsvc_srvsvc_NetServerTransportAddEx_level;
365 static int hf_srvsvc_srvsvc_NetServerTransportAddEx_server_unc;
366 static int hf_srvsvc_srvsvc_NetSessCtr0_array;
367 static int hf_srvsvc_srvsvc_NetSessCtr0_count;
368 static int hf_srvsvc_srvsvc_NetSessCtr10_array;
369 static int hf_srvsvc_srvsvc_NetSessCtr10_count;
370 static int hf_srvsvc_srvsvc_NetSessCtr1_array;
371 static int hf_srvsvc_srvsvc_NetSessCtr1_count;
372 static int hf_srvsvc_srvsvc_NetSessCtr2_array;
373 static int hf_srvsvc_srvsvc_NetSessCtr2_count;
374 static int hf_srvsvc_srvsvc_NetSessCtr502_array;
375 static int hf_srvsvc_srvsvc_NetSessCtr502_count;
376 static int hf_srvsvc_srvsvc_NetSessCtr_ctr0;
377 static int hf_srvsvc_srvsvc_NetSessCtr_ctr1;
378 static int hf_srvsvc_srvsvc_NetSessCtr_ctr10;
379 static int hf_srvsvc_srvsvc_NetSessCtr_ctr2;
380 static int hf_srvsvc_srvsvc_NetSessCtr_ctr502;
381 static int hf_srvsvc_srvsvc_NetSessDel_client;
382 static int hf_srvsvc_srvsvc_NetSessDel_server_unc;
383 static int hf_srvsvc_srvsvc_NetSessDel_user;
384 static int hf_srvsvc_srvsvc_NetSessEnum_client;
385 static int hf_srvsvc_srvsvc_NetSessEnum_info_ctr;
386 static int hf_srvsvc_srvsvc_NetSessEnum_max_buffer;
387 static int hf_srvsvc_srvsvc_NetSessEnum_resume_handle;
388 static int hf_srvsvc_srvsvc_NetSessEnum_server_unc;
389 static int hf_srvsvc_srvsvc_NetSessEnum_totalentries;
390 static int hf_srvsvc_srvsvc_NetSessEnum_user;
391 static int hf_srvsvc_srvsvc_NetSessInfo0_client;
392 static int hf_srvsvc_srvsvc_NetSessInfo10_client;
393 static int hf_srvsvc_srvsvc_NetSessInfo10_idle_time;
394 static int hf_srvsvc_srvsvc_NetSessInfo10_time;
395 static int hf_srvsvc_srvsvc_NetSessInfo10_user;
396 static int hf_srvsvc_srvsvc_NetSessInfo1_client;
397 static int hf_srvsvc_srvsvc_NetSessInfo1_idle_time;
398 static int hf_srvsvc_srvsvc_NetSessInfo1_num_open;
399 static int hf_srvsvc_srvsvc_NetSessInfo1_time;
400 static int hf_srvsvc_srvsvc_NetSessInfo1_user;
401 static int hf_srvsvc_srvsvc_NetSessInfo1_user_flags;
402 static int hf_srvsvc_srvsvc_NetSessInfo2_client;
403 static int hf_srvsvc_srvsvc_NetSessInfo2_client_type;
404 static int hf_srvsvc_srvsvc_NetSessInfo2_idle_time;
405 static int hf_srvsvc_srvsvc_NetSessInfo2_num_open;
406 static int hf_srvsvc_srvsvc_NetSessInfo2_time;
407 static int hf_srvsvc_srvsvc_NetSessInfo2_user;
408 static int hf_srvsvc_srvsvc_NetSessInfo2_user_flags;
409 static int hf_srvsvc_srvsvc_NetSessInfo502_client;
410 static int hf_srvsvc_srvsvc_NetSessInfo502_client_type;
411 static int hf_srvsvc_srvsvc_NetSessInfo502_idle_time;
412 static int hf_srvsvc_srvsvc_NetSessInfo502_num_open;
413 static int hf_srvsvc_srvsvc_NetSessInfo502_time;
414 static int hf_srvsvc_srvsvc_NetSessInfo502_transport;
415 static int hf_srvsvc_srvsvc_NetSessInfo502_user;
416 static int hf_srvsvc_srvsvc_NetSessInfo502_user_flags;
417 static int hf_srvsvc_srvsvc_NetSessInfoCtr_ctr;
418 static int hf_srvsvc_srvsvc_NetSessInfoCtr_level;
419 static int hf_srvsvc_srvsvc_NetSetFileSecurity_file;
420 static int hf_srvsvc_srvsvc_NetSetFileSecurity_sd_buf;
421 static int hf_srvsvc_srvsvc_NetSetFileSecurity_securityinformation;
422 static int hf_srvsvc_srvsvc_NetSetFileSecurity_server_unc;
423 static int hf_srvsvc_srvsvc_NetSetFileSecurity_share;
424 static int hf_srvsvc_srvsvc_NetSetServiceBits_server_unc;
425 static int hf_srvsvc_srvsvc_NetSetServiceBits_servicebits;
426 static int hf_srvsvc_srvsvc_NetSetServiceBits_transport;
427 static int hf_srvsvc_srvsvc_NetSetServiceBits_updateimmediately;
428 static int hf_srvsvc_srvsvc_NetShareAdd_info;
429 static int hf_srvsvc_srvsvc_NetShareAdd_level;
430 static int hf_srvsvc_srvsvc_NetShareAdd_parm_error;
431 static int hf_srvsvc_srvsvc_NetShareAdd_server_unc;
432 static int hf_srvsvc_srvsvc_NetShareCheck_device_name;
433 static int hf_srvsvc_srvsvc_NetShareCheck_server_unc;
434 static int hf_srvsvc_srvsvc_NetShareCheck_type;
435 static int hf_srvsvc_srvsvc_NetShareCtr0_array;
436 static int hf_srvsvc_srvsvc_NetShareCtr0_count;
437 static int hf_srvsvc_srvsvc_NetShareCtr1004_array;
438 static int hf_srvsvc_srvsvc_NetShareCtr1004_count;
439 static int hf_srvsvc_srvsvc_NetShareCtr1005_array;
440 static int hf_srvsvc_srvsvc_NetShareCtr1005_count;
441 static int hf_srvsvc_srvsvc_NetShareCtr1006_array;
442 static int hf_srvsvc_srvsvc_NetShareCtr1006_count;
443 static int hf_srvsvc_srvsvc_NetShareCtr1007_array;
444 static int hf_srvsvc_srvsvc_NetShareCtr1007_count;
445 static int hf_srvsvc_srvsvc_NetShareCtr1501_array;
446 static int hf_srvsvc_srvsvc_NetShareCtr1501_count;
447 static int hf_srvsvc_srvsvc_NetShareCtr1_array;
448 static int hf_srvsvc_srvsvc_NetShareCtr1_count;
449 static int hf_srvsvc_srvsvc_NetShareCtr2_array;
450 static int hf_srvsvc_srvsvc_NetShareCtr2_count;
451 static int hf_srvsvc_srvsvc_NetShareCtr501_array;
452 static int hf_srvsvc_srvsvc_NetShareCtr501_count;
453 static int hf_srvsvc_srvsvc_NetShareCtr502_array;
454 static int hf_srvsvc_srvsvc_NetShareCtr502_count;
455 static int hf_srvsvc_srvsvc_NetShareCtr_ctr0;
456 static int hf_srvsvc_srvsvc_NetShareCtr_ctr1;
457 static int hf_srvsvc_srvsvc_NetShareCtr_ctr1004;
458 static int hf_srvsvc_srvsvc_NetShareCtr_ctr1005;
459 static int hf_srvsvc_srvsvc_NetShareCtr_ctr1006;
460 static int hf_srvsvc_srvsvc_NetShareCtr_ctr1007;
461 static int hf_srvsvc_srvsvc_NetShareCtr_ctr1501;
462 static int hf_srvsvc_srvsvc_NetShareCtr_ctr2;
463 static int hf_srvsvc_srvsvc_NetShareCtr_ctr501;
464 static int hf_srvsvc_srvsvc_NetShareCtr_ctr502;
465 static int hf_srvsvc_srvsvc_NetShareDelCommit_hnd;
466 static int hf_srvsvc_srvsvc_NetShareDelStart_hnd;
467 static int hf_srvsvc_srvsvc_NetShareDelStart_reserved;
468 static int hf_srvsvc_srvsvc_NetShareDelStart_server_unc;
469 static int hf_srvsvc_srvsvc_NetShareDelStart_share;
470 static int hf_srvsvc_srvsvc_NetShareDelSticky_reserved;
471 static int hf_srvsvc_srvsvc_NetShareDelSticky_server_unc;
472 static int hf_srvsvc_srvsvc_NetShareDelSticky_share_name;
473 static int hf_srvsvc_srvsvc_NetShareDel_reserved;
474 static int hf_srvsvc_srvsvc_NetShareDel_server_unc;
475 static int hf_srvsvc_srvsvc_NetShareDel_share_name;
476 static int hf_srvsvc_srvsvc_NetShareEnumAll_info_ctr;
477 static int hf_srvsvc_srvsvc_NetShareEnumAll_max_buffer;
478 static int hf_srvsvc_srvsvc_NetShareEnumAll_resume_handle;
479 static int hf_srvsvc_srvsvc_NetShareEnumAll_server_unc;
480 static int hf_srvsvc_srvsvc_NetShareEnumAll_totalentries;
481 static int hf_srvsvc_srvsvc_NetShareEnum_info_ctr;
482 static int hf_srvsvc_srvsvc_NetShareEnum_max_buffer;
483 static int hf_srvsvc_srvsvc_NetShareEnum_resume_handle;
484 static int hf_srvsvc_srvsvc_NetShareEnum_server_unc;
485 static int hf_srvsvc_srvsvc_NetShareEnum_totalentries;
486 static int hf_srvsvc_srvsvc_NetShareGetInfo_info;
487 static int hf_srvsvc_srvsvc_NetShareGetInfo_level;
488 static int hf_srvsvc_srvsvc_NetShareGetInfo_server_unc;
489 static int hf_srvsvc_srvsvc_NetShareGetInfo_share_name;
490 static int hf_srvsvc_srvsvc_NetShareInfo0_name;
491 static int hf_srvsvc_srvsvc_NetShareInfo1004_comment;
492 static int hf_srvsvc_srvsvc_NetShareInfo1005_dfs_flags;
493 static int hf_srvsvc_srvsvc_NetShareInfo1006_max_users;
494 static int hf_srvsvc_srvsvc_NetShareInfo1007_alternate_directory_name;
495 static int hf_srvsvc_srvsvc_NetShareInfo1007_flags;
496 static int hf_srvsvc_srvsvc_NetShareInfo1_comment;
497 static int hf_srvsvc_srvsvc_NetShareInfo1_name;
498 static int hf_srvsvc_srvsvc_NetShareInfo1_type;
499 static int hf_srvsvc_srvsvc_NetShareInfo2_comment;
500 static int hf_srvsvc_srvsvc_NetShareInfo2_current_users;
501 static int hf_srvsvc_srvsvc_NetShareInfo2_max_users;
502 static int hf_srvsvc_srvsvc_NetShareInfo2_name;
503 static int hf_srvsvc_srvsvc_NetShareInfo2_password;
504 static int hf_srvsvc_srvsvc_NetShareInfo2_path;
505 static int hf_srvsvc_srvsvc_NetShareInfo2_permissions;
506 static int hf_srvsvc_srvsvc_NetShareInfo2_type;
507 static int hf_srvsvc_srvsvc_NetShareInfo501_comment;
508 static int hf_srvsvc_srvsvc_NetShareInfo501_csc_policy;
509 static int hf_srvsvc_srvsvc_NetShareInfo501_name;
510 static int hf_srvsvc_srvsvc_NetShareInfo501_type;
511 static int hf_srvsvc_srvsvc_NetShareInfo502_comment;
512 static int hf_srvsvc_srvsvc_NetShareInfo502_current_users;
513 static int hf_srvsvc_srvsvc_NetShareInfo502_max_users;
514 static int hf_srvsvc_srvsvc_NetShareInfo502_name;
515 static int hf_srvsvc_srvsvc_NetShareInfo502_password;
516 static int hf_srvsvc_srvsvc_NetShareInfo502_path;
517 static int hf_srvsvc_srvsvc_NetShareInfo502_permissions;
518 static int hf_srvsvc_srvsvc_NetShareInfo502_sd_buf;
519 static int hf_srvsvc_srvsvc_NetShareInfo502_type;
520 static int hf_srvsvc_srvsvc_NetShareInfoCtr_ctr;
521 static int hf_srvsvc_srvsvc_NetShareInfoCtr_level;
522 static int hf_srvsvc_srvsvc_NetShareInfo_info0;
523 static int hf_srvsvc_srvsvc_NetShareInfo_info1;
524 static int hf_srvsvc_srvsvc_NetShareInfo_info1004;
525 static int hf_srvsvc_srvsvc_NetShareInfo_info1005;
526 static int hf_srvsvc_srvsvc_NetShareInfo_info1006;
527 static int hf_srvsvc_srvsvc_NetShareInfo_info1007;
528 static int hf_srvsvc_srvsvc_NetShareInfo_info1501;
529 static int hf_srvsvc_srvsvc_NetShareInfo_info2;
530 static int hf_srvsvc_srvsvc_NetShareInfo_info501;
531 static int hf_srvsvc_srvsvc_NetShareInfo_info502;
532 static int hf_srvsvc_srvsvc_NetShareSetInfo_info;
533 static int hf_srvsvc_srvsvc_NetShareSetInfo_level;
534 static int hf_srvsvc_srvsvc_NetShareSetInfo_parm_error;
535 static int hf_srvsvc_srvsvc_NetShareSetInfo_server_unc;
536 static int hf_srvsvc_srvsvc_NetShareSetInfo_share_name;
537 static int hf_srvsvc_srvsvc_NetSrvGetInfo_info;
538 static int hf_srvsvc_srvsvc_NetSrvGetInfo_level;
539 static int hf_srvsvc_srvsvc_NetSrvGetInfo_server_unc;
540 static int hf_srvsvc_srvsvc_NetSrvInfo1005_comment;
541 static int hf_srvsvc_srvsvc_NetSrvInfo100_platform_id;
542 static int hf_srvsvc_srvsvc_NetSrvInfo100_server_name;
543 static int hf_srvsvc_srvsvc_NetSrvInfo1010_disc;
544 static int hf_srvsvc_srvsvc_NetSrvInfo1016_hidden;
545 static int hf_srvsvc_srvsvc_NetSrvInfo1017_announce;
546 static int hf_srvsvc_srvsvc_NetSrvInfo1018_anndelta;
547 static int hf_srvsvc_srvsvc_NetSrvInfo101_comment;
548 static int hf_srvsvc_srvsvc_NetSrvInfo101_platform_id;
549 static int hf_srvsvc_srvsvc_NetSrvInfo101_server_name;
550 static int hf_srvsvc_srvsvc_NetSrvInfo101_server_type;
551 static int hf_srvsvc_srvsvc_NetSrvInfo101_version_major;
552 static int hf_srvsvc_srvsvc_NetSrvInfo101_version_minor;
553 static int hf_srvsvc_srvsvc_NetSrvInfo102_anndelta;
554 static int hf_srvsvc_srvsvc_NetSrvInfo102_announce;
555 static int hf_srvsvc_srvsvc_NetSrvInfo102_comment;
556 static int hf_srvsvc_srvsvc_NetSrvInfo102_disc;
557 static int hf_srvsvc_srvsvc_NetSrvInfo102_hidden;
558 static int hf_srvsvc_srvsvc_NetSrvInfo102_licenses;
559 static int hf_srvsvc_srvsvc_NetSrvInfo102_platform_id;
560 static int hf_srvsvc_srvsvc_NetSrvInfo102_server_name;
561 static int hf_srvsvc_srvsvc_NetSrvInfo102_server_type;
562 static int hf_srvsvc_srvsvc_NetSrvInfo102_userpath;
563 static int hf_srvsvc_srvsvc_NetSrvInfo102_users;
564 static int hf_srvsvc_srvsvc_NetSrvInfo102_version_major;
565 static int hf_srvsvc_srvsvc_NetSrvInfo102_version_minor;
566 static int hf_srvsvc_srvsvc_NetSrvInfo1107_users;
567 static int hf_srvsvc_srvsvc_NetSrvInfo1501_sessopens;
568 static int hf_srvsvc_srvsvc_NetSrvInfo1502_sessvcs;
569 static int hf_srvsvc_srvsvc_NetSrvInfo1503_opensearch;
570 static int hf_srvsvc_srvsvc_NetSrvInfo1506_maxworkitems;
571 static int hf_srvsvc_srvsvc_NetSrvInfo1509_maxrawbuflen;
572 static int hf_srvsvc_srvsvc_NetSrvInfo1510_sessusers;
573 static int hf_srvsvc_srvsvc_NetSrvInfo1511_sesscons;
574 static int hf_srvsvc_srvsvc_NetSrvInfo1512_maxnonpagedmemoryusage;
575 static int hf_srvsvc_srvsvc_NetSrvInfo1513_maxpagedmemoryusage;
576 static int hf_srvsvc_srvsvc_NetSrvInfo1514_enablesoftcompat;
577 static int hf_srvsvc_srvsvc_NetSrvInfo1515_enableforcedlogoff;
578 static int hf_srvsvc_srvsvc_NetSrvInfo1516_timesource;
579 static int hf_srvsvc_srvsvc_NetSrvInfo1518_lmannounce;
580 static int hf_srvsvc_srvsvc_NetSrvInfo1520_maxcopyreadlen;
581 static int hf_srvsvc_srvsvc_NetSrvInfo1521_maxcopywritelen;
582 static int hf_srvsvc_srvsvc_NetSrvInfo1522_minkeepsearch;
583 static int hf_srvsvc_srvsvc_NetSrvInfo1523_maxkeepsearch;
584 static int hf_srvsvc_srvsvc_NetSrvInfo1524_minkeepcomplsearch;
585 static int hf_srvsvc_srvsvc_NetSrvInfo1525_maxkeepcomplsearch;
586 static int hf_srvsvc_srvsvc_NetSrvInfo1528_scavtimeout;
587 static int hf_srvsvc_srvsvc_NetSrvInfo1529_minrcvqueue;
588 static int hf_srvsvc_srvsvc_NetSrvInfo1530_minfreeworkitems;
589 static int hf_srvsvc_srvsvc_NetSrvInfo1533_maxmpxct;
590 static int hf_srvsvc_srvsvc_NetSrvInfo1534_oplockbreakwait;
591 static int hf_srvsvc_srvsvc_NetSrvInfo1535_oplockbreakresponsewait;
592 static int hf_srvsvc_srvsvc_NetSrvInfo1536_enableoplocks;
593 static int hf_srvsvc_srvsvc_NetSrvInfo1537_enableoplockforceclose;
594 static int hf_srvsvc_srvsvc_NetSrvInfo1538_enablefcbopens;
595 static int hf_srvsvc_srvsvc_NetSrvInfo1539_enableraw;
596 static int hf_srvsvc_srvsvc_NetSrvInfo1540_enablesharednetdrives;
597 static int hf_srvsvc_srvsvc_NetSrvInfo1541_minfreeconnections;
598 static int hf_srvsvc_srvsvc_NetSrvInfo1542_maxfreeconnections;
599 static int hf_srvsvc_srvsvc_NetSrvInfo1543_initsesstable;
600 static int hf_srvsvc_srvsvc_NetSrvInfo1544_initconntable;
601 static int hf_srvsvc_srvsvc_NetSrvInfo1545_initfiletable;
602 static int hf_srvsvc_srvsvc_NetSrvInfo1546_initsearchtable;
603 static int hf_srvsvc_srvsvc_NetSrvInfo1547_alertsched;
604 static int hf_srvsvc_srvsvc_NetSrvInfo1548_errortreshold;
605 static int hf_srvsvc_srvsvc_NetSrvInfo1549_networkerrortreshold;
606 static int hf_srvsvc_srvsvc_NetSrvInfo1550_diskspacetreshold;
607 static int hf_srvsvc_srvsvc_NetSrvInfo1552_maxlinkdelay;
608 static int hf_srvsvc_srvsvc_NetSrvInfo1553_minlinkthroughput;
609 static int hf_srvsvc_srvsvc_NetSrvInfo1554_linkinfovalidtime;
610 static int hf_srvsvc_srvsvc_NetSrvInfo1555_scavqosinfoupdatetime;
611 static int hf_srvsvc_srvsvc_NetSrvInfo1556_maxworkitemidletime;
612 static int hf_srvsvc_srvsvc_NetSrvInfo402_accessalert;
613 static int hf_srvsvc_srvsvc_NetSrvInfo402_activelocks;
614 static int hf_srvsvc_srvsvc_NetSrvInfo402_alerts;
615 static int hf_srvsvc_srvsvc_NetSrvInfo402_alertsched;
616 static int hf_srvsvc_srvsvc_NetSrvInfo402_alist_mtime;
617 static int hf_srvsvc_srvsvc_NetSrvInfo402_chdevjobs;
618 static int hf_srvsvc_srvsvc_NetSrvInfo402_chdevqs;
619 static int hf_srvsvc_srvsvc_NetSrvInfo402_chdevs;
620 static int hf_srvsvc_srvsvc_NetSrvInfo402_connections;
621 static int hf_srvsvc_srvsvc_NetSrvInfo402_diskalert;
622 static int hf_srvsvc_srvsvc_NetSrvInfo402_erroralert;
623 static int hf_srvsvc_srvsvc_NetSrvInfo402_glist_mtime;
624 static int hf_srvsvc_srvsvc_NetSrvInfo402_guestaccount;
625 static int hf_srvsvc_srvsvc_NetSrvInfo402_lanmask;
626 static int hf_srvsvc_srvsvc_NetSrvInfo402_logonalert;
627 static int hf_srvsvc_srvsvc_NetSrvInfo402_maxaudits;
628 static int hf_srvsvc_srvsvc_NetSrvInfo402_netioalert;
629 static int hf_srvsvc_srvsvc_NetSrvInfo402_numadmin;
630 static int hf_srvsvc_srvsvc_NetSrvInfo402_numbigbufs;
631 static int hf_srvsvc_srvsvc_NetSrvInfo402_numfiletasks;
632 static int hf_srvsvc_srvsvc_NetSrvInfo402_numreqbufs;
633 static int hf_srvsvc_srvsvc_NetSrvInfo402_openfiles;
634 static int hf_srvsvc_srvsvc_NetSrvInfo402_opensearch;
635 static int hf_srvsvc_srvsvc_NetSrvInfo402_security;
636 static int hf_srvsvc_srvsvc_NetSrvInfo402_sessopen;
637 static int hf_srvsvc_srvsvc_NetSrvInfo402_sessreqs;
638 static int hf_srvsvc_srvsvc_NetSrvInfo402_sesssvc;
639 static int hf_srvsvc_srvsvc_NetSrvInfo402_shares;
640 static int hf_srvsvc_srvsvc_NetSrvInfo402_sizereqbufs;
641 static int hf_srvsvc_srvsvc_NetSrvInfo402_srvheuristics;
642 static int hf_srvsvc_srvsvc_NetSrvInfo402_ulist_mtime;
643 static int hf_srvsvc_srvsvc_NetSrvInfo403_accessalert;
644 static int hf_srvsvc_srvsvc_NetSrvInfo403_activelocks;
645 static int hf_srvsvc_srvsvc_NetSrvInfo403_alerts;
646 static int hf_srvsvc_srvsvc_NetSrvInfo403_alertsched;
647 static int hf_srvsvc_srvsvc_NetSrvInfo403_alist_mtime;
648 static int hf_srvsvc_srvsvc_NetSrvInfo403_auditedevents;
649 static int hf_srvsvc_srvsvc_NetSrvInfo403_auditprofile;
650 static int hf_srvsvc_srvsvc_NetSrvInfo403_autopath;
651 static int hf_srvsvc_srvsvc_NetSrvInfo403_chdevjobs;
652 static int hf_srvsvc_srvsvc_NetSrvInfo403_chdevqs;
653 static int hf_srvsvc_srvsvc_NetSrvInfo403_chdevs;
654 static int hf_srvsvc_srvsvc_NetSrvInfo403_connections;
655 static int hf_srvsvc_srvsvc_NetSrvInfo403_diskalert;
656 static int hf_srvsvc_srvsvc_NetSrvInfo403_erroralert;
657 static int hf_srvsvc_srvsvc_NetSrvInfo403_glist_mtime;
658 static int hf_srvsvc_srvsvc_NetSrvInfo403_guestaccount;
659 static int hf_srvsvc_srvsvc_NetSrvInfo403_lanmask;
660 static int hf_srvsvc_srvsvc_NetSrvInfo403_logonalert;
661 static int hf_srvsvc_srvsvc_NetSrvInfo403_maxaudits;
662 static int hf_srvsvc_srvsvc_NetSrvInfo403_netioalert;
663 static int hf_srvsvc_srvsvc_NetSrvInfo403_numadmin;
664 static int hf_srvsvc_srvsvc_NetSrvInfo403_numbigbufs;
665 static int hf_srvsvc_srvsvc_NetSrvInfo403_numfiletasks;
666 static int hf_srvsvc_srvsvc_NetSrvInfo403_numreqbufs;
667 static int hf_srvsvc_srvsvc_NetSrvInfo403_openfiles;
668 static int hf_srvsvc_srvsvc_NetSrvInfo403_opensearch;
669 static int hf_srvsvc_srvsvc_NetSrvInfo403_security;
670 static int hf_srvsvc_srvsvc_NetSrvInfo403_sessopen;
671 static int hf_srvsvc_srvsvc_NetSrvInfo403_sessreqs;
672 static int hf_srvsvc_srvsvc_NetSrvInfo403_sesssvc;
673 static int hf_srvsvc_srvsvc_NetSrvInfo403_shares;
674 static int hf_srvsvc_srvsvc_NetSrvInfo403_sizereqbufs;
675 static int hf_srvsvc_srvsvc_NetSrvInfo403_srvheuristics;
676 static int hf_srvsvc_srvsvc_NetSrvInfo403_ulist_mtime;
677 static int hf_srvsvc_srvsvc_NetSrvInfo502_acceptdownlevelapis;
678 static int hf_srvsvc_srvsvc_NetSrvInfo502_enableforcedlogoff;
679 static int hf_srvsvc_srvsvc_NetSrvInfo502_enablesoftcompat;
680 static int hf_srvsvc_srvsvc_NetSrvInfo502_initworkitems;
681 static int hf_srvsvc_srvsvc_NetSrvInfo502_irpstacksize;
682 static int hf_srvsvc_srvsvc_NetSrvInfo502_lmannounce;
683 static int hf_srvsvc_srvsvc_NetSrvInfo502_maxnonpagedmemoryusage;
684 static int hf_srvsvc_srvsvc_NetSrvInfo502_maxpagedmemoryusage;
685 static int hf_srvsvc_srvsvc_NetSrvInfo502_maxrawbuflen;
686 static int hf_srvsvc_srvsvc_NetSrvInfo502_maxworkitems;
687 static int hf_srvsvc_srvsvc_NetSrvInfo502_opensearch;
688 static int hf_srvsvc_srvsvc_NetSrvInfo502_rawworkitems;
689 static int hf_srvsvc_srvsvc_NetSrvInfo502_sessconns;
690 static int hf_srvsvc_srvsvc_NetSrvInfo502_sessopen;
691 static int hf_srvsvc_srvsvc_NetSrvInfo502_sesssvc;
692 static int hf_srvsvc_srvsvc_NetSrvInfo502_sessusers;
693 static int hf_srvsvc_srvsvc_NetSrvInfo502_sizereqbufs;
694 static int hf_srvsvc_srvsvc_NetSrvInfo502_timesource;
695 static int hf_srvsvc_srvsvc_NetSrvInfo503_acceptdownlevelapis;
696 static int hf_srvsvc_srvsvc_NetSrvInfo503_domain;
697 static int hf_srvsvc_srvsvc_NetSrvInfo503_enablefcbopens;
698 static int hf_srvsvc_srvsvc_NetSrvInfo503_enableforcedlogoff;
699 static int hf_srvsvc_srvsvc_NetSrvInfo503_enableoplockforceclose;
700 static int hf_srvsvc_srvsvc_NetSrvInfo503_enableoplocks;
701 static int hf_srvsvc_srvsvc_NetSrvInfo503_enableraw;
702 static int hf_srvsvc_srvsvc_NetSrvInfo503_enablesharednetdrives;
703 static int hf_srvsvc_srvsvc_NetSrvInfo503_enablesoftcompat;
704 static int hf_srvsvc_srvsvc_NetSrvInfo503_initworkitems;
705 static int hf_srvsvc_srvsvc_NetSrvInfo503_irpstacksize;
706 static int hf_srvsvc_srvsvc_NetSrvInfo503_lmannounce;
707 static int hf_srvsvc_srvsvc_NetSrvInfo503_maxcopyreadlen;
708 static int hf_srvsvc_srvsvc_NetSrvInfo503_maxcopywritelen;
709 static int hf_srvsvc_srvsvc_NetSrvInfo503_maxfreeconnections;
710 static int hf_srvsvc_srvsvc_NetSrvInfo503_maxkeepcomplsearch;
711 static int hf_srvsvc_srvsvc_NetSrvInfo503_maxkeepsearch;
712 static int hf_srvsvc_srvsvc_NetSrvInfo503_maxmpxct;
713 static int hf_srvsvc_srvsvc_NetSrvInfo503_maxnonpagedmemoryusage;
714 static int hf_srvsvc_srvsvc_NetSrvInfo503_maxpagedmemoryusage;
715 static int hf_srvsvc_srvsvc_NetSrvInfo503_maxrawbuflen;
716 static int hf_srvsvc_srvsvc_NetSrvInfo503_maxworkitems;
717 static int hf_srvsvc_srvsvc_NetSrvInfo503_minfreeconnections;
718 static int hf_srvsvc_srvsvc_NetSrvInfo503_minfreeworkitems;
719 static int hf_srvsvc_srvsvc_NetSrvInfo503_minkeepcomplsearch;
720 static int hf_srvsvc_srvsvc_NetSrvInfo503_minkeepsearch;
721 static int hf_srvsvc_srvsvc_NetSrvInfo503_minrcvqueue;
722 static int hf_srvsvc_srvsvc_NetSrvInfo503_numlockthreads;
723 static int hf_srvsvc_srvsvc_NetSrvInfo503_opensearch;
724 static int hf_srvsvc_srvsvc_NetSrvInfo503_oplockbreakresponsewait;
725 static int hf_srvsvc_srvsvc_NetSrvInfo503_oplockbreakwait;
726 static int hf_srvsvc_srvsvc_NetSrvInfo503_rawworkitems;
727 static int hf_srvsvc_srvsvc_NetSrvInfo503_scavtimeout;
728 static int hf_srvsvc_srvsvc_NetSrvInfo503_sessconns;
729 static int hf_srvsvc_srvsvc_NetSrvInfo503_sessopen;
730 static int hf_srvsvc_srvsvc_NetSrvInfo503_sesssvc;
731 static int hf_srvsvc_srvsvc_NetSrvInfo503_sessusers;
732 static int hf_srvsvc_srvsvc_NetSrvInfo503_sizereqbufs;
733 static int hf_srvsvc_srvsvc_NetSrvInfo503_threadcountadd;
734 static int hf_srvsvc_srvsvc_NetSrvInfo503_threadpriority;
735 static int hf_srvsvc_srvsvc_NetSrvInfo503_timesource;
736 static int hf_srvsvc_srvsvc_NetSrvInfo503_xactmemsize;
737 static int hf_srvsvc_srvsvc_NetSrvInfo599_acceptdownlevelapis;
738 static int hf_srvsvc_srvsvc_NetSrvInfo599_alertsched;
739 static int hf_srvsvc_srvsvc_NetSrvInfo599_diskspacetreshold;
740 static int hf_srvsvc_srvsvc_NetSrvInfo599_domain;
741 static int hf_srvsvc_srvsvc_NetSrvInfo599_enablefcbopens;
742 static int hf_srvsvc_srvsvc_NetSrvInfo599_enableforcedlogoff;
743 static int hf_srvsvc_srvsvc_NetSrvInfo599_enableoplockforceclose;
744 static int hf_srvsvc_srvsvc_NetSrvInfo599_enableoplocks;
745 static int hf_srvsvc_srvsvc_NetSrvInfo599_enableraw;
746 static int hf_srvsvc_srvsvc_NetSrvInfo599_enablesharednetdrives;
747 static int hf_srvsvc_srvsvc_NetSrvInfo599_enablesoftcompat;
748 static int hf_srvsvc_srvsvc_NetSrvInfo599_errortreshold;
749 static int hf_srvsvc_srvsvc_NetSrvInfo599_initconntable;
750 static int hf_srvsvc_srvsvc_NetSrvInfo599_initfiletable;
751 static int hf_srvsvc_srvsvc_NetSrvInfo599_initsearchtable;
752 static int hf_srvsvc_srvsvc_NetSrvInfo599_initsesstable;
753 static int hf_srvsvc_srvsvc_NetSrvInfo599_initworkitems;
754 static int hf_srvsvc_srvsvc_NetSrvInfo599_irpstacksize;
755 static int hf_srvsvc_srvsvc_NetSrvInfo599_linkinfovalidtime;
756 static int hf_srvsvc_srvsvc_NetSrvInfo599_lmannounce;
757 static int hf_srvsvc_srvsvc_NetSrvInfo599_maxcopyreadlen;
758 static int hf_srvsvc_srvsvc_NetSrvInfo599_maxcopywritelen;
759 static int hf_srvsvc_srvsvc_NetSrvInfo599_maxfreeconnections;
760 static int hf_srvsvc_srvsvc_NetSrvInfo599_maxkeepcomplsearch;
761 static int hf_srvsvc_srvsvc_NetSrvInfo599_maxlinkdelay;
762 static int hf_srvsvc_srvsvc_NetSrvInfo599_maxmpxct;
763 static int hf_srvsvc_srvsvc_NetSrvInfo599_maxnonpagedmemoryusage;
764 static int hf_srvsvc_srvsvc_NetSrvInfo599_maxpagedmemoryusage;
765 static int hf_srvsvc_srvsvc_NetSrvInfo599_maxrawbuflen;
766 static int hf_srvsvc_srvsvc_NetSrvInfo599_maxworkitemidletime;
767 static int hf_srvsvc_srvsvc_NetSrvInfo599_maxworkitems;
768 static int hf_srvsvc_srvsvc_NetSrvInfo599_minfreeconnections;
769 static int hf_srvsvc_srvsvc_NetSrvInfo599_minfreeworkitems;
770 static int hf_srvsvc_srvsvc_NetSrvInfo599_minkeepcomplsearch;
771 static int hf_srvsvc_srvsvc_NetSrvInfo599_minkeepsearch;
772 static int hf_srvsvc_srvsvc_NetSrvInfo599_minlinkthroughput;
773 static int hf_srvsvc_srvsvc_NetSrvInfo599_minrcvqueue;
774 static int hf_srvsvc_srvsvc_NetSrvInfo599_networkerrortreshold;
775 static int hf_srvsvc_srvsvc_NetSrvInfo599_numlockthreads;
776 static int hf_srvsvc_srvsvc_NetSrvInfo599_opensearch;
777 static int hf_srvsvc_srvsvc_NetSrvInfo599_oplockbreakresponsewait;
778 static int hf_srvsvc_srvsvc_NetSrvInfo599_oplockbreakwait;
779 static int hf_srvsvc_srvsvc_NetSrvInfo599_rawworkitems;
780 static int hf_srvsvc_srvsvc_NetSrvInfo599_reserved;
781 static int hf_srvsvc_srvsvc_NetSrvInfo599_scavqosinfoupdatetime;
782 static int hf_srvsvc_srvsvc_NetSrvInfo599_scavtimeout;
783 static int hf_srvsvc_srvsvc_NetSrvInfo599_sessconns;
784 static int hf_srvsvc_srvsvc_NetSrvInfo599_sessopen;
785 static int hf_srvsvc_srvsvc_NetSrvInfo599_sesssvc;
786 static int hf_srvsvc_srvsvc_NetSrvInfo599_sessusers;
787 static int hf_srvsvc_srvsvc_NetSrvInfo599_sizereqbufs;
788 static int hf_srvsvc_srvsvc_NetSrvInfo599_threadcountadd;
789 static int hf_srvsvc_srvsvc_NetSrvInfo599_threadpriority;
790 static int hf_srvsvc_srvsvc_NetSrvInfo599_timesource;
791 static int hf_srvsvc_srvsvc_NetSrvInfo599_xactmemsize;
792 static int hf_srvsvc_srvsvc_NetSrvInfo_info100;
793 static int hf_srvsvc_srvsvc_NetSrvInfo_info1005;
794 static int hf_srvsvc_srvsvc_NetSrvInfo_info101;
795 static int hf_srvsvc_srvsvc_NetSrvInfo_info1010;
796 static int hf_srvsvc_srvsvc_NetSrvInfo_info1016;
797 static int hf_srvsvc_srvsvc_NetSrvInfo_info1017;
798 static int hf_srvsvc_srvsvc_NetSrvInfo_info1018;
799 static int hf_srvsvc_srvsvc_NetSrvInfo_info102;
800 static int hf_srvsvc_srvsvc_NetSrvInfo_info1107;
801 static int hf_srvsvc_srvsvc_NetSrvInfo_info1501;
802 static int hf_srvsvc_srvsvc_NetSrvInfo_info1502;
803 static int hf_srvsvc_srvsvc_NetSrvInfo_info1503;
804 static int hf_srvsvc_srvsvc_NetSrvInfo_info1506;
805 static int hf_srvsvc_srvsvc_NetSrvInfo_info1509;
806 static int hf_srvsvc_srvsvc_NetSrvInfo_info1510;
807 static int hf_srvsvc_srvsvc_NetSrvInfo_info1511;
808 static int hf_srvsvc_srvsvc_NetSrvInfo_info1512;
809 static int hf_srvsvc_srvsvc_NetSrvInfo_info1513;
810 static int hf_srvsvc_srvsvc_NetSrvInfo_info1514;
811 static int hf_srvsvc_srvsvc_NetSrvInfo_info1515;
812 static int hf_srvsvc_srvsvc_NetSrvInfo_info1516;
813 static int hf_srvsvc_srvsvc_NetSrvInfo_info1518;
814 static int hf_srvsvc_srvsvc_NetSrvInfo_info1520;
815 static int hf_srvsvc_srvsvc_NetSrvInfo_info1521;
816 static int hf_srvsvc_srvsvc_NetSrvInfo_info1522;
817 static int hf_srvsvc_srvsvc_NetSrvInfo_info1523;
818 static int hf_srvsvc_srvsvc_NetSrvInfo_info1524;
819 static int hf_srvsvc_srvsvc_NetSrvInfo_info1525;
820 static int hf_srvsvc_srvsvc_NetSrvInfo_info1528;
821 static int hf_srvsvc_srvsvc_NetSrvInfo_info1529;
822 static int hf_srvsvc_srvsvc_NetSrvInfo_info1530;
823 static int hf_srvsvc_srvsvc_NetSrvInfo_info1533;
824 static int hf_srvsvc_srvsvc_NetSrvInfo_info1534;
825 static int hf_srvsvc_srvsvc_NetSrvInfo_info1535;
826 static int hf_srvsvc_srvsvc_NetSrvInfo_info1536;
827 static int hf_srvsvc_srvsvc_NetSrvInfo_info1537;
828 static int hf_srvsvc_srvsvc_NetSrvInfo_info1538;
829 static int hf_srvsvc_srvsvc_NetSrvInfo_info1539;
830 static int hf_srvsvc_srvsvc_NetSrvInfo_info1540;
831 static int hf_srvsvc_srvsvc_NetSrvInfo_info1541;
832 static int hf_srvsvc_srvsvc_NetSrvInfo_info1542;
833 static int hf_srvsvc_srvsvc_NetSrvInfo_info1543;
834 static int hf_srvsvc_srvsvc_NetSrvInfo_info1544;
835 static int hf_srvsvc_srvsvc_NetSrvInfo_info1545;
836 static int hf_srvsvc_srvsvc_NetSrvInfo_info1546;
837 static int hf_srvsvc_srvsvc_NetSrvInfo_info1547;
838 static int hf_srvsvc_srvsvc_NetSrvInfo_info1548;
839 static int hf_srvsvc_srvsvc_NetSrvInfo_info1549;
840 static int hf_srvsvc_srvsvc_NetSrvInfo_info1550;
841 static int hf_srvsvc_srvsvc_NetSrvInfo_info1552;
842 static int hf_srvsvc_srvsvc_NetSrvInfo_info1553;
843 static int hf_srvsvc_srvsvc_NetSrvInfo_info1554;
844 static int hf_srvsvc_srvsvc_NetSrvInfo_info1555;
845 static int hf_srvsvc_srvsvc_NetSrvInfo_info1556;
846 static int hf_srvsvc_srvsvc_NetSrvInfo_info402;
847 static int hf_srvsvc_srvsvc_NetSrvInfo_info403;
848 static int hf_srvsvc_srvsvc_NetSrvInfo_info502;
849 static int hf_srvsvc_srvsvc_NetSrvInfo_info503;
850 static int hf_srvsvc_srvsvc_NetSrvInfo_info599;
851 static int hf_srvsvc_srvsvc_NetSrvSetInfo_info;
852 static int hf_srvsvc_srvsvc_NetSrvSetInfo_level;
853 static int hf_srvsvc_srvsvc_NetSrvSetInfo_parm_error;
854 static int hf_srvsvc_srvsvc_NetSrvSetInfo_server_unc;
855 static int hf_srvsvc_srvsvc_NetTransportAdd_info;
856 static int hf_srvsvc_srvsvc_NetTransportAdd_level;
857 static int hf_srvsvc_srvsvc_NetTransportAdd_server_unc;
858 static int hf_srvsvc_srvsvc_NetTransportCtr0_array;
859 static int hf_srvsvc_srvsvc_NetTransportCtr0_count;
860 static int hf_srvsvc_srvsvc_NetTransportCtr1_array;
861 static int hf_srvsvc_srvsvc_NetTransportCtr1_count;
862 static int hf_srvsvc_srvsvc_NetTransportCtr2_array;
863 static int hf_srvsvc_srvsvc_NetTransportCtr2_count;
864 static int hf_srvsvc_srvsvc_NetTransportCtr3_array;
865 static int hf_srvsvc_srvsvc_NetTransportCtr3_count;
866 static int hf_srvsvc_srvsvc_NetTransportCtr_ctr0;
867 static int hf_srvsvc_srvsvc_NetTransportCtr_ctr1;
868 static int hf_srvsvc_srvsvc_NetTransportCtr_ctr2;
869 static int hf_srvsvc_srvsvc_NetTransportCtr_ctr3;
870 static int hf_srvsvc_srvsvc_NetTransportDel_info0;
871 static int hf_srvsvc_srvsvc_NetTransportDel_level;
872 static int hf_srvsvc_srvsvc_NetTransportDel_server_unc;
873 static int hf_srvsvc_srvsvc_NetTransportEnum_max_buffer;
874 static int hf_srvsvc_srvsvc_NetTransportEnum_resume_handle;
875 static int hf_srvsvc_srvsvc_NetTransportEnum_server_unc;
876 static int hf_srvsvc_srvsvc_NetTransportEnum_totalentries;
877 static int hf_srvsvc_srvsvc_NetTransportEnum_transports;
878 static int hf_srvsvc_srvsvc_NetTransportInfo0_addr;
879 static int hf_srvsvc_srvsvc_NetTransportInfo0_addr_len;
880 static int hf_srvsvc_srvsvc_NetTransportInfo0_name;
881 static int hf_srvsvc_srvsvc_NetTransportInfo0_net_addr;
882 static int hf_srvsvc_srvsvc_NetTransportInfo0_vcs;
883 static int hf_srvsvc_srvsvc_NetTransportInfo1_addr;
884 static int hf_srvsvc_srvsvc_NetTransportInfo1_addr_len;
885 static int hf_srvsvc_srvsvc_NetTransportInfo1_domain;
886 static int hf_srvsvc_srvsvc_NetTransportInfo1_name;
887 static int hf_srvsvc_srvsvc_NetTransportInfo1_net_addr;
888 static int hf_srvsvc_srvsvc_NetTransportInfo1_vcs;
889 static int hf_srvsvc_srvsvc_NetTransportInfo2_addr;
890 static int hf_srvsvc_srvsvc_NetTransportInfo2_addr_len;
891 static int hf_srvsvc_srvsvc_NetTransportInfo2_domain;
892 static int hf_srvsvc_srvsvc_NetTransportInfo2_name;
893 static int hf_srvsvc_srvsvc_NetTransportInfo2_net_addr;
894 static int hf_srvsvc_srvsvc_NetTransportInfo2_unknown;
895 static int hf_srvsvc_srvsvc_NetTransportInfo2_vcs;
896 static int hf_srvsvc_srvsvc_NetTransportInfo3_addr;
897 static int hf_srvsvc_srvsvc_NetTransportInfo3_addr_len;
898 static int hf_srvsvc_srvsvc_NetTransportInfo3_domain;
899 static int hf_srvsvc_srvsvc_NetTransportInfo3_name;
900 static int hf_srvsvc_srvsvc_NetTransportInfo3_net_addr;
901 static int hf_srvsvc_srvsvc_NetTransportInfo3_unknown1;
902 static int hf_srvsvc_srvsvc_NetTransportInfo3_unknown2;
903 static int hf_srvsvc_srvsvc_NetTransportInfo3_unknown3;
904 static int hf_srvsvc_srvsvc_NetTransportInfo3_vcs;
905 static int hf_srvsvc_srvsvc_NetTransportInfoCtr_ctr;
906 static int hf_srvsvc_srvsvc_NetTransportInfoCtr_level;
907 static int hf_srvsvc_srvsvc_NetTransportInfo_info0;
908 static int hf_srvsvc_srvsvc_NetTransportInfo_info1;
909 static int hf_srvsvc_srvsvc_NetTransportInfo_info2;
910 static int hf_srvsvc_srvsvc_NetTransportInfo_info3;
911 static int hf_srvsvc_srvsvc_Statistics_avresponse;
912 static int hf_srvsvc_srvsvc_Statistics_bigbufneed;
913 static int hf_srvsvc_srvsvc_Statistics_bytesrcvd_high;
914 static int hf_srvsvc_srvsvc_Statistics_bytesrcvd_low;
915 static int hf_srvsvc_srvsvc_Statistics_bytessent_high;
916 static int hf_srvsvc_srvsvc_Statistics_bytessent_low;
917 static int hf_srvsvc_srvsvc_Statistics_devopens;
918 static int hf_srvsvc_srvsvc_Statistics_fopens;
919 static int hf_srvsvc_srvsvc_Statistics_jobsqueued;
920 static int hf_srvsvc_srvsvc_Statistics_permerrors;
921 static int hf_srvsvc_srvsvc_Statistics_pwerrors;
922 static int hf_srvsvc_srvsvc_Statistics_reqbufneed;
923 static int hf_srvsvc_srvsvc_Statistics_serrorout;
924 static int hf_srvsvc_srvsvc_Statistics_sopens;
925 static int hf_srvsvc_srvsvc_Statistics_start;
926 static int hf_srvsvc_srvsvc_Statistics_stimeouts;
927 static int hf_srvsvc_srvsvc_Statistics_syserrors;
928 static int hf_srvsvc_werror;
930 static int proto_dcerpc_srvsvc;
931 /* Version information */
934 static e_guid_t uuid_dcerpc_srvsvc = {
935 0x4b324fc8, 0x1670, 0x01d3,
936 { 0x12, 0x78, 0x5a, 0x47, 0xbf, 0x6e, 0xe1, 0x88 }
938 static uint16_t ver_dcerpc_srvsvc = 3;
940 static int srvsvc_dissect_element_NetCharDevInfo0_device(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
941 static int srvsvc_dissect_element_NetCharDevInfo0_device_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
942 static int srvsvc_dissect_element_NetCharDevCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
943 static int srvsvc_dissect_element_NetCharDevCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
944 static int srvsvc_dissect_element_NetCharDevCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
945 static int srvsvc_dissect_element_NetCharDevCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
946 static int srvsvc_dissect_element_NetCharDevInfo1_device(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
947 static int srvsvc_dissect_element_NetCharDevInfo1_device_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
948 static int srvsvc_dissect_element_NetCharDevInfo1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
949 static int srvsvc_dissect_element_NetCharDevInfo1_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
950 static int srvsvc_dissect_element_NetCharDevInfo1_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
951 static int srvsvc_dissect_element_NetCharDevInfo1_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
952 static int srvsvc_dissect_element_NetCharDevCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
953 static int srvsvc_dissect_element_NetCharDevCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
954 static int srvsvc_dissect_element_NetCharDevCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
955 static int srvsvc_dissect_element_NetCharDevCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
956 static int srvsvc_dissect_element_NetCharDevInfo_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
957 static int srvsvc_dissect_element_NetCharDevInfo_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
958 static int srvsvc_dissect_element_NetCharDevInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
959 static int srvsvc_dissect_element_NetCharDevInfo_info1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
960 static int srvsvc_dissect_element_NetCharDevCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
961 static int srvsvc_dissect_element_NetCharDevCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
962 static int srvsvc_dissect_element_NetCharDevCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
963 static int srvsvc_dissect_element_NetCharDevCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
964 static int srvsvc_dissect_element_NetCharDevInfoCtr_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *level);
965 static int srvsvc_dissect_element_NetCharDevInfoCtr_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t level);
966 static int srvsvc_dissect_element_NetCharDevQInfo0_device(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
967 static int srvsvc_dissect_element_NetCharDevQInfo0_device_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
968 static int srvsvc_dissect_element_NetCharDevQCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
969 static int srvsvc_dissect_element_NetCharDevQCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
970 static int srvsvc_dissect_element_NetCharDevQCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
971 static int srvsvc_dissect_element_NetCharDevQCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
972 static int srvsvc_dissect_element_NetCharDevQInfo1_device(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
973 static int srvsvc_dissect_element_NetCharDevQInfo1_device_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
974 static int srvsvc_dissect_element_NetCharDevQInfo1_priority(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
975 static int srvsvc_dissect_element_NetCharDevQInfo1_devices(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
976 static int srvsvc_dissect_element_NetCharDevQInfo1_devices_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
977 static int srvsvc_dissect_element_NetCharDevQInfo1_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
978 static int srvsvc_dissect_element_NetCharDevQInfo1_num_ahead(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
979 static int srvsvc_dissect_element_NetCharDevQCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
980 static int srvsvc_dissect_element_NetCharDevQCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
981 static int srvsvc_dissect_element_NetCharDevQCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
982 static int srvsvc_dissect_element_NetCharDevQCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
983 static int srvsvc_dissect_element_NetCharDevQInfo_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
984 static int srvsvc_dissect_element_NetCharDevQInfo_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
985 static int srvsvc_dissect_element_NetCharDevQInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
986 static int srvsvc_dissect_element_NetCharDevQInfo_info1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
987 static int srvsvc_dissect_element_NetCharDevQCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
988 static int srvsvc_dissect_element_NetCharDevQCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
989 static int srvsvc_dissect_element_NetCharDevQCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
990 static int srvsvc_dissect_element_NetCharDevQCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
991 static int srvsvc_dissect_element_NetCharDevQInfoCtr_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *level);
992 static int srvsvc_dissect_element_NetCharDevQInfoCtr_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t level);
993 static int srvsvc_dissect_element_NetConnInfo0_conn_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
994 static int srvsvc_dissect_element_NetConnCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
995 static int srvsvc_dissect_element_NetConnCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
996 static int srvsvc_dissect_element_NetConnCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
997 static int srvsvc_dissect_element_NetConnCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
998 static int srvsvc_dissect_element_NetConnInfo1_conn_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
999 static int srvsvc_dissect_element_NetConnInfo1_conn_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1000 static int srvsvc_dissect_element_NetConnInfo1_num_open(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1001 static int srvsvc_dissect_element_NetConnInfo1_num_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1002 static int srvsvc_dissect_element_NetConnInfo1_conn_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1003 static int srvsvc_dissect_element_NetConnInfo1_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1004 static int srvsvc_dissect_element_NetConnInfo1_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1005 static int srvsvc_dissect_element_NetConnInfo1_share(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1006 static int srvsvc_dissect_element_NetConnInfo1_share_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1007 static int srvsvc_dissect_element_NetConnCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1008 static int srvsvc_dissect_element_NetConnCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1009 static int srvsvc_dissect_element_NetConnCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1010 static int srvsvc_dissect_element_NetConnCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1011 static int srvsvc_dissect_element_NetConnCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1012 static int srvsvc_dissect_element_NetConnCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1013 static int srvsvc_dissect_element_NetConnCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1014 static int srvsvc_dissect_element_NetConnCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1015 static int srvsvc_dissect_element_NetConnInfoCtr_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *level);
1016 static int srvsvc_dissect_element_NetConnInfoCtr_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t level);
1017 static int srvsvc_dissect_element_NetFileInfo2_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1018 static int srvsvc_dissect_element_NetFileCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1019 static int srvsvc_dissect_element_NetFileCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1020 static int srvsvc_dissect_element_NetFileCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1021 static int srvsvc_dissect_element_NetFileCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1022 static int srvsvc_dissect_element_NetFileInfo3_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1023 static int srvsvc_dissect_element_NetFileInfo3_permissions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1024 static int srvsvc_dissect_element_NetFileInfo3_num_locks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1025 static int srvsvc_dissect_element_NetFileInfo3_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1026 static int srvsvc_dissect_element_NetFileInfo3_path_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1027 static int srvsvc_dissect_element_NetFileInfo3_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1028 static int srvsvc_dissect_element_NetFileInfo3_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1029 static int srvsvc_dissect_element_NetFileCtr3_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1030 static int srvsvc_dissect_element_NetFileCtr3_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1031 static int srvsvc_dissect_element_NetFileCtr3_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1032 static int srvsvc_dissect_element_NetFileCtr3_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1033 static int srvsvc_dissect_element_NetFileInfo_info2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1034 static int srvsvc_dissect_element_NetFileInfo_info2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1035 static int srvsvc_dissect_element_NetFileInfo_info3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1036 static int srvsvc_dissect_element_NetFileInfo_info3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1037 static int srvsvc_dissect_element_NetFileCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1038 static int srvsvc_dissect_element_NetFileCtr_ctr2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1039 static int srvsvc_dissect_element_NetFileCtr_ctr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1040 static int srvsvc_dissect_element_NetFileCtr_ctr3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1041 static int srvsvc_dissect_element_NetFileInfoCtr_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *level);
1042 static int srvsvc_dissect_element_NetFileInfoCtr_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t level);
1043 static int srvsvc_dissect_element_NetSessInfo0_client(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1044 static int srvsvc_dissect_element_NetSessInfo0_client_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1045 static int srvsvc_dissect_element_NetSessCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1046 static int srvsvc_dissect_element_NetSessCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1047 static int srvsvc_dissect_element_NetSessCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1048 static int srvsvc_dissect_element_NetSessCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1049 static int srvsvc_dissect_element_NetSessInfo1_client(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1050 static int srvsvc_dissect_element_NetSessInfo1_client_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1051 static int srvsvc_dissect_element_NetSessInfo1_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1052 static int srvsvc_dissect_element_NetSessInfo1_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1053 static int srvsvc_dissect_element_NetSessInfo1_num_open(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1054 static int srvsvc_dissect_element_NetSessInfo1_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1055 static int srvsvc_dissect_element_NetSessInfo1_idle_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1056 static int srvsvc_dissect_element_NetSessInfo1_user_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1057 static int srvsvc_dissect_element_NetSessCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1058 static int srvsvc_dissect_element_NetSessCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1059 static int srvsvc_dissect_element_NetSessCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1060 static int srvsvc_dissect_element_NetSessCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1061 static int srvsvc_dissect_element_NetSessInfo2_client(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1062 static int srvsvc_dissect_element_NetSessInfo2_client_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1063 static int srvsvc_dissect_element_NetSessInfo2_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1064 static int srvsvc_dissect_element_NetSessInfo2_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1065 static int srvsvc_dissect_element_NetSessInfo2_num_open(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1066 static int srvsvc_dissect_element_NetSessInfo2_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1067 static int srvsvc_dissect_element_NetSessInfo2_idle_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1068 static int srvsvc_dissect_element_NetSessInfo2_user_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1069 static int srvsvc_dissect_element_NetSessInfo2_client_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1070 static int srvsvc_dissect_element_NetSessInfo2_client_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1071 static int srvsvc_dissect_element_NetSessCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1072 static int srvsvc_dissect_element_NetSessCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1073 static int srvsvc_dissect_element_NetSessCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1074 static int srvsvc_dissect_element_NetSessCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1075 static int srvsvc_dissect_element_NetSessInfo10_client(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1076 static int srvsvc_dissect_element_NetSessInfo10_client_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1077 static int srvsvc_dissect_element_NetSessInfo10_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1078 static int srvsvc_dissect_element_NetSessInfo10_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1079 static int srvsvc_dissect_element_NetSessInfo10_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1080 static int srvsvc_dissect_element_NetSessInfo10_idle_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1081 static int srvsvc_dissect_element_NetSessCtr10_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1082 static int srvsvc_dissect_element_NetSessCtr10_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1083 static int srvsvc_dissect_element_NetSessCtr10_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1084 static int srvsvc_dissect_element_NetSessCtr10_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1085 static int srvsvc_dissect_element_NetSessInfo502_client(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1086 static int srvsvc_dissect_element_NetSessInfo502_client_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1087 static int srvsvc_dissect_element_NetSessInfo502_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1088 static int srvsvc_dissect_element_NetSessInfo502_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1089 static int srvsvc_dissect_element_NetSessInfo502_num_open(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1090 static int srvsvc_dissect_element_NetSessInfo502_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1091 static int srvsvc_dissect_element_NetSessInfo502_idle_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1092 static int srvsvc_dissect_element_NetSessInfo502_user_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1093 static int srvsvc_dissect_element_NetSessInfo502_client_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1094 static int srvsvc_dissect_element_NetSessInfo502_client_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1095 static int srvsvc_dissect_element_NetSessInfo502_transport(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1096 static int srvsvc_dissect_element_NetSessInfo502_transport_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1097 static int srvsvc_dissect_element_NetSessCtr502_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1098 static int srvsvc_dissect_element_NetSessCtr502_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1099 static int srvsvc_dissect_element_NetSessCtr502_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1100 static int srvsvc_dissect_element_NetSessCtr502_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1101 const value_string srvsvc_SESSION_INFO_LEVEL_vals[] = {
1102 { SESSION_INFO_0_CONTAINER, "SESSION_INFO_0_CONTAINER" },
1103 { SESSION_INFO_1_CONTAINER, "SESSION_INFO_1_CONTAINER" },
1104 { SESSION_INFO_2_CONTAINER, "SESSION_INFO_2_CONTAINER" },
1105 { SESSION_INFO_10_CONTAINER, "SESSION_INFO_10_CONTAINER" },
1106 { SESSION_INFO_502_CONTAINER, "SESSION_INFO_502_CONTAINER" },
1107 { 0, NULL }
1109 static int srvsvc_dissect_element_NetSessCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1110 static int srvsvc_dissect_element_NetSessCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1111 static int srvsvc_dissect_element_NetSessCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1112 static int srvsvc_dissect_element_NetSessCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1113 static int srvsvc_dissect_element_NetSessCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1114 static int srvsvc_dissect_element_NetSessCtr_ctr2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1115 static int srvsvc_dissect_element_NetSessCtr_ctr10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1116 static int srvsvc_dissect_element_NetSessCtr_ctr10_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1117 static int srvsvc_dissect_element_NetSessCtr_ctr502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1118 static int srvsvc_dissect_element_NetSessCtr_ctr502_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1119 static int srvsvc_dissect_element_NetSessInfoCtr_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *level);
1120 static int srvsvc_dissect_element_NetSessInfoCtr_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t level);
1121 const value_string srvsvc_srvsvc_ShareType_vals[] = {
1122 { STYPE_DISKTREE, "STYPE_DISKTREE" },
1123 { STYPE_DISKTREE_TEMPORARY, "STYPE_DISKTREE_TEMPORARY" },
1124 { STYPE_DISKTREE_HIDDEN, "STYPE_DISKTREE_HIDDEN" },
1125 { STYPE_PRINTQ, "STYPE_PRINTQ" },
1126 { STYPE_PRINTQ_TEMPORARY, "STYPE_PRINTQ_TEMPORARY" },
1127 { STYPE_PRINTQ_HIDDEN, "STYPE_PRINTQ_HIDDEN" },
1128 { STYPE_DEVICE, "STYPE_DEVICE" },
1129 { STYPE_DEVICE_TEMPORARY, "STYPE_DEVICE_TEMPORARY" },
1130 { STYPE_DEVICE_HIDDEN, "STYPE_DEVICE_HIDDEN" },
1131 { STYPE_IPC, "STYPE_IPC" },
1132 { STYPE_IPC_TEMPORARY, "STYPE_IPC_TEMPORARY" },
1133 { STYPE_IPC_HIDDEN, "STYPE_IPC_HIDDEN" },
1134 { STYPE_CLUSTER_FS, "STYPE_CLUSTER_FS" },
1135 { STYPE_CLUSTER_FS_TEMPORARY, "STYPE_CLUSTER_FS_TEMPORARY" },
1136 { STYPE_CLUSTER_FS_HIDDEN, "STYPE_CLUSTER_FS_HIDDEN" },
1137 { STYPE_CLUSTER_SOFS, "STYPE_CLUSTER_SOFS" },
1138 { STYPE_CLUSTER_SOFS_TEMPORARY, "STYPE_CLUSTER_SOFS_TEMPORARY" },
1139 { STYPE_CLUSTER_SOFS_HIDDEN, "STYPE_CLUSTER_SOFS_HIDDEN" },
1140 { STYPE_CLUSTER_DFS, "STYPE_CLUSTER_DFS" },
1141 { STYPE_CLUSTER_DFS_TEMPORARY, "STYPE_CLUSTER_DFS_TEMPORARY" },
1142 { STYPE_CLUSTER_DFS_HIDDEN, "STYPE_CLUSTER_DFS_HIDDEN" },
1143 { 0, NULL }
1145 static int srvsvc_dissect_element_NetShareInfo0_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1146 static int srvsvc_dissect_element_NetShareInfo0_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1147 static int srvsvc_dissect_element_NetShareCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1148 static int srvsvc_dissect_element_NetShareCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1149 static int srvsvc_dissect_element_NetShareCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1150 static int srvsvc_dissect_element_NetShareCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1151 static int srvsvc_dissect_element_NetShareInfo1_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1152 static int srvsvc_dissect_element_NetShareInfo1_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1153 static int srvsvc_dissect_element_NetShareInfo1_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1154 static int srvsvc_dissect_element_NetShareInfo1_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1155 static int srvsvc_dissect_element_NetShareInfo1_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1156 static int srvsvc_dissect_element_NetShareCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1157 static int srvsvc_dissect_element_NetShareCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1158 static int srvsvc_dissect_element_NetShareCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1159 static int srvsvc_dissect_element_NetShareCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1160 static int srvsvc_dissect_element_NetShareInfo2_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1161 static int srvsvc_dissect_element_NetShareInfo2_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1162 static int srvsvc_dissect_element_NetShareInfo2_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1163 static int srvsvc_dissect_element_NetShareInfo2_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1164 static int srvsvc_dissect_element_NetShareInfo2_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1165 static int srvsvc_dissect_element_NetShareInfo2_permissions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1166 static int srvsvc_dissect_element_NetShareInfo2_max_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1167 static int srvsvc_dissect_element_NetShareInfo2_current_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1168 static int srvsvc_dissect_element_NetShareInfo2_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1169 static int srvsvc_dissect_element_NetShareInfo2_path_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1170 static int srvsvc_dissect_element_NetShareInfo2_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1171 static int srvsvc_dissect_element_NetShareInfo2_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1172 static int srvsvc_dissect_element_NetShareCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1173 static int srvsvc_dissect_element_NetShareCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1174 static int srvsvc_dissect_element_NetShareCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1175 static int srvsvc_dissect_element_NetShareCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1176 static int srvsvc_dissect_element_NetShareInfo501_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1177 static int srvsvc_dissect_element_NetShareInfo501_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1178 static int srvsvc_dissect_element_NetShareInfo501_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1179 static int srvsvc_dissect_element_NetShareInfo501_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1180 static int srvsvc_dissect_element_NetShareInfo501_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1181 static int srvsvc_dissect_element_NetShareInfo501_csc_policy(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1182 static int srvsvc_dissect_element_NetShareCtr501_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1183 static int srvsvc_dissect_element_NetShareCtr501_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1184 static int srvsvc_dissect_element_NetShareCtr501_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1185 static int srvsvc_dissect_element_NetShareCtr501_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1186 static int srvsvc_dissect_element_NetShareInfo502_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1187 static int srvsvc_dissect_element_NetShareInfo502_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1188 static int srvsvc_dissect_element_NetShareInfo502_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1189 static int srvsvc_dissect_element_NetShareInfo502_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1190 static int srvsvc_dissect_element_NetShareInfo502_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1191 static int srvsvc_dissect_element_NetShareInfo502_permissions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1192 static int srvsvc_dissect_element_NetShareInfo502_max_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1193 static int srvsvc_dissect_element_NetShareInfo502_current_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1194 static int srvsvc_dissect_element_NetShareInfo502_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1195 static int srvsvc_dissect_element_NetShareInfo502_path_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1196 static int srvsvc_dissect_element_NetShareInfo502_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1197 static int srvsvc_dissect_element_NetShareInfo502_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1198 static int srvsvc_dissect_element_NetShareInfo502_sd_buf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1199 static int srvsvc_dissect_element_NetShareCtr502_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1200 static int srvsvc_dissect_element_NetShareCtr502_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1201 static int srvsvc_dissect_element_NetShareCtr502_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1202 static int srvsvc_dissect_element_NetShareCtr502_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1203 static int srvsvc_dissect_element_NetShareInfo1004_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1204 static int srvsvc_dissect_element_NetShareInfo1004_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1205 static int srvsvc_dissect_element_NetShareCtr1004_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1206 static int srvsvc_dissect_element_NetShareCtr1004_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1207 static int srvsvc_dissect_element_NetShareCtr1004_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1208 static int srvsvc_dissect_element_NetShareCtr1004_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1209 static const true_false_string NetShareInfo1005Flags_SHARE_1005_IN_DFS_tfs = {
1210 "SHARE_1005_IN_DFS is SET",
1211 "SHARE_1005_IN_DFS is NOT SET",
1213 static const true_false_string NetShareInfo1005Flags_SHARE_1005_DFS_ROOT_tfs = {
1214 "SHARE_1005_DFS_ROOT is SET",
1215 "SHARE_1005_DFS_ROOT is NOT SET",
1217 static const true_false_string NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_AUTO_REINT_tfs = {
1218 "SHARE_1005_CSC_CACHE_AUTO_REINT is SET",
1219 "SHARE_1005_CSC_CACHE_AUTO_REINT is NOT SET",
1221 static const true_false_string NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_VDO_tfs = {
1222 "SHARE_1005_CSC_CACHE_VDO is SET",
1223 "SHARE_1005_CSC_CACHE_VDO is NOT SET",
1225 static const true_false_string NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_NONE_tfs = {
1226 "SHARE_1005_CSC_CACHE_NONE is SET",
1227 "SHARE_1005_CSC_CACHE_NONE is NOT SET",
1229 static const true_false_string NetShareInfo1005Flags_SHARE_1005_RESTRICT_EXCLUSIVE_OPENS_tfs = {
1230 "SHARE_1005_RESTRICT_EXCLUSIVE_OPENS is SET",
1231 "SHARE_1005_RESTRICT_EXCLUSIVE_OPENS is NOT SET",
1233 static const true_false_string NetShareInfo1005Flags_SHARE_1005_FORCE_SHARED_DELETE_tfs = {
1234 "SHARE_1005_FORCE_SHARED_DELETE is SET",
1235 "SHARE_1005_FORCE_SHARED_DELETE is NOT SET",
1237 static const true_false_string NetShareInfo1005Flags_SHARE_1005_ALLOW_NAMESPACE_CACHING_tfs = {
1238 "SHARE_1005_ALLOW_NAMESPACE_CACHING is SET",
1239 "SHARE_1005_ALLOW_NAMESPACE_CACHING is NOT SET",
1241 static const true_false_string NetShareInfo1005Flags_SHARE_1005_ACCESS_BASED_DIRECTORY_ENUM_tfs = {
1242 "SHARE_1005_ACCESS_BASED_DIRECTORY_ENUM is SET",
1243 "SHARE_1005_ACCESS_BASED_DIRECTORY_ENUM is NOT SET",
1245 static const true_false_string NetShareInfo1005Flags_SHARE_1005_FORCE_LEVELII_OPLOCK_tfs = {
1246 "SHARE_1005_FORCE_LEVELII_OPLOCK is SET",
1247 "SHARE_1005_FORCE_LEVELII_OPLOCK is NOT SET",
1249 static const true_false_string NetShareInfo1005Flags_SHARE_1005_ENABLE_HASH_tfs = {
1250 "SHARE_1005_ENABLE_HASH is SET",
1251 "SHARE_1005_ENABLE_HASH is NOT SET",
1253 static const true_false_string NetShareInfo1005Flags_SHARE_1005_ENABLE_CA_tfs = {
1254 "SHARE_1005_ENABLE_CA is SET",
1255 "SHARE_1005_ENABLE_CA is NOT SET",
1257 static const true_false_string NetShareInfo1005Flags_SHARE_1005_ENCRYPT_DATA_tfs = {
1258 "SHARE_1005_ENCRYPT_DATA is SET",
1259 "SHARE_1005_ENCRYPT_DATA is NOT SET",
1261 static int srvsvc_dissect_element_NetShareInfo1005_dfs_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1262 static int srvsvc_dissect_element_NetShareCtr1005_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1263 static int srvsvc_dissect_element_NetShareCtr1005_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1264 static int srvsvc_dissect_element_NetShareCtr1005_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1265 static int srvsvc_dissect_element_NetShareCtr1005_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1266 static int srvsvc_dissect_element_NetShareInfo1006_max_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1267 static int srvsvc_dissect_element_NetShareCtr1006_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1268 static int srvsvc_dissect_element_NetShareCtr1006_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1269 static int srvsvc_dissect_element_NetShareCtr1006_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1270 static int srvsvc_dissect_element_NetShareCtr1006_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1271 static int srvsvc_dissect_element_NetShareInfo1007_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1272 static int srvsvc_dissect_element_NetShareInfo1007_alternate_directory_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1273 static int srvsvc_dissect_element_NetShareInfo1007_alternate_directory_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1274 static int srvsvc_dissect_element_NetShareCtr1007_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1275 static int srvsvc_dissect_element_NetShareCtr1007_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1276 static int srvsvc_dissect_element_NetShareCtr1007_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1277 static int srvsvc_dissect_element_NetShareCtr1007_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1278 static int srvsvc_dissect_element_NetShareCtr1501_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1279 static int srvsvc_dissect_element_NetShareCtr1501_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1280 static int srvsvc_dissect_element_NetShareCtr1501_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1281 static int srvsvc_dissect_element_NetShareCtr1501_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1282 static int srvsvc_dissect_element_NetShareInfo_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1283 static int srvsvc_dissect_element_NetShareInfo_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1284 static int srvsvc_dissect_element_NetShareInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1285 static int srvsvc_dissect_element_NetShareInfo_info1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1286 static int srvsvc_dissect_element_NetShareInfo_info2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1287 static int srvsvc_dissect_element_NetShareInfo_info2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1288 static int srvsvc_dissect_element_NetShareInfo_info501(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1289 static int srvsvc_dissect_element_NetShareInfo_info501_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1290 static int srvsvc_dissect_element_NetShareInfo_info502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1291 static int srvsvc_dissect_element_NetShareInfo_info502_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1292 static int srvsvc_dissect_element_NetShareInfo_info1004(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1293 static int srvsvc_dissect_element_NetShareInfo_info1004_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1294 static int srvsvc_dissect_element_NetShareInfo_info1005(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1295 static int srvsvc_dissect_element_NetShareInfo_info1005_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1296 static int srvsvc_dissect_element_NetShareInfo_info1006(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1297 static int srvsvc_dissect_element_NetShareInfo_info1006_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1298 static int srvsvc_dissect_element_NetShareInfo_info1007(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1299 static int srvsvc_dissect_element_NetShareInfo_info1007_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1300 static int srvsvc_dissect_element_NetShareInfo_info1501(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1301 static int srvsvc_dissect_element_NetShareInfo_info1501_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1302 static int srvsvc_dissect_element_NetShareCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1303 static int srvsvc_dissect_element_NetShareCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1304 static int srvsvc_dissect_element_NetShareCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1305 static int srvsvc_dissect_element_NetShareCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1306 static int srvsvc_dissect_element_NetShareCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1307 static int srvsvc_dissect_element_NetShareCtr_ctr2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1308 static int srvsvc_dissect_element_NetShareCtr_ctr501(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1309 static int srvsvc_dissect_element_NetShareCtr_ctr501_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1310 static int srvsvc_dissect_element_NetShareCtr_ctr502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1311 static int srvsvc_dissect_element_NetShareCtr_ctr502_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1312 static int srvsvc_dissect_element_NetShareCtr_ctr1004(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1313 static int srvsvc_dissect_element_NetShareCtr_ctr1004_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1314 static int srvsvc_dissect_element_NetShareCtr_ctr1005(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1315 static int srvsvc_dissect_element_NetShareCtr_ctr1005_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1316 static int srvsvc_dissect_element_NetShareCtr_ctr1006(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1317 static int srvsvc_dissect_element_NetShareCtr_ctr1006_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1318 static int srvsvc_dissect_element_NetShareCtr_ctr1007(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1319 static int srvsvc_dissect_element_NetShareCtr_ctr1007_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1320 static int srvsvc_dissect_element_NetShareCtr_ctr1501(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1321 static int srvsvc_dissect_element_NetShareCtr_ctr1501_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1322 static int srvsvc_dissect_element_NetShareInfoCtr_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *level);
1323 static int srvsvc_dissect_element_NetShareInfoCtr_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t level);
1324 const value_string srvsvc_srvsvc_PlatformId_vals[] = {
1325 { PLATFORM_ID_DOS, "PLATFORM_ID_DOS" },
1326 { PLATFORM_ID_OS2, "PLATFORM_ID_OS2" },
1327 { PLATFORM_ID_NT, "PLATFORM_ID_NT" },
1328 { PLATFORM_ID_OSF, "PLATFORM_ID_OSF" },
1329 { PLATFORM_ID_VMS, "PLATFORM_ID_VMS" },
1330 { 0, NULL }
1332 static int srvsvc_dissect_element_NetSrvInfo100_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1333 static int srvsvc_dissect_element_NetSrvInfo100_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1334 static int srvsvc_dissect_element_NetSrvInfo100_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1335 static int srvsvc_dissect_element_NetSrvInfo101_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1336 static int srvsvc_dissect_element_NetSrvInfo101_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1337 static int srvsvc_dissect_element_NetSrvInfo101_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1338 static int srvsvc_dissect_element_NetSrvInfo101_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1339 static int srvsvc_dissect_element_NetSrvInfo101_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1340 static int srvsvc_dissect_element_NetSrvInfo101_server_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1341 static int srvsvc_dissect_element_NetSrvInfo101_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1342 static int srvsvc_dissect_element_NetSrvInfo101_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1343 static int srvsvc_dissect_element_NetSrvInfo102_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1344 static int srvsvc_dissect_element_NetSrvInfo102_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1345 static int srvsvc_dissect_element_NetSrvInfo102_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1346 static int srvsvc_dissect_element_NetSrvInfo102_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1347 static int srvsvc_dissect_element_NetSrvInfo102_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1348 static int srvsvc_dissect_element_NetSrvInfo102_server_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1349 static int srvsvc_dissect_element_NetSrvInfo102_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1350 static int srvsvc_dissect_element_NetSrvInfo102_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1351 static int srvsvc_dissect_element_NetSrvInfo102_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1352 static int srvsvc_dissect_element_NetSrvInfo102_disc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1353 static int srvsvc_dissect_element_NetSrvInfo102_hidden(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1354 static int srvsvc_dissect_element_NetSrvInfo102_announce(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1355 static int srvsvc_dissect_element_NetSrvInfo102_anndelta(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1356 static int srvsvc_dissect_element_NetSrvInfo102_licenses(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1357 static int srvsvc_dissect_element_NetSrvInfo102_userpath(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1358 static int srvsvc_dissect_element_NetSrvInfo102_userpath_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1359 static int srvsvc_dissect_element_NetSrvInfo402_ulist_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1360 static int srvsvc_dissect_element_NetSrvInfo402_glist_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1361 static int srvsvc_dissect_element_NetSrvInfo402_alist_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1362 static int srvsvc_dissect_element_NetSrvInfo402_alerts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1363 static int srvsvc_dissect_element_NetSrvInfo402_alerts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1364 static int srvsvc_dissect_element_NetSrvInfo402_security(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1365 static int srvsvc_dissect_element_NetSrvInfo402_numadmin(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1366 static int srvsvc_dissect_element_NetSrvInfo402_lanmask(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1367 static int srvsvc_dissect_element_NetSrvInfo402_guestaccount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1368 static int srvsvc_dissect_element_NetSrvInfo402_guestaccount_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1369 static int srvsvc_dissect_element_NetSrvInfo402_chdevs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1370 static int srvsvc_dissect_element_NetSrvInfo402_chdevqs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1371 static int srvsvc_dissect_element_NetSrvInfo402_chdevjobs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1372 static int srvsvc_dissect_element_NetSrvInfo402_connections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1373 static int srvsvc_dissect_element_NetSrvInfo402_shares(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1374 static int srvsvc_dissect_element_NetSrvInfo402_openfiles(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1375 static int srvsvc_dissect_element_NetSrvInfo402_sessopen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1376 static int srvsvc_dissect_element_NetSrvInfo402_sesssvc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1377 static int srvsvc_dissect_element_NetSrvInfo402_sessreqs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1378 static int srvsvc_dissect_element_NetSrvInfo402_opensearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1379 static int srvsvc_dissect_element_NetSrvInfo402_activelocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1380 static int srvsvc_dissect_element_NetSrvInfo402_numreqbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1381 static int srvsvc_dissect_element_NetSrvInfo402_sizereqbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1382 static int srvsvc_dissect_element_NetSrvInfo402_numbigbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1383 static int srvsvc_dissect_element_NetSrvInfo402_numfiletasks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1384 static int srvsvc_dissect_element_NetSrvInfo402_alertsched(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1385 static int srvsvc_dissect_element_NetSrvInfo402_erroralert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1386 static int srvsvc_dissect_element_NetSrvInfo402_logonalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1387 static int srvsvc_dissect_element_NetSrvInfo402_accessalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1388 static int srvsvc_dissect_element_NetSrvInfo402_diskalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1389 static int srvsvc_dissect_element_NetSrvInfo402_netioalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1390 static int srvsvc_dissect_element_NetSrvInfo402_maxaudits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1391 static int srvsvc_dissect_element_NetSrvInfo402_srvheuristics(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1392 static int srvsvc_dissect_element_NetSrvInfo402_srvheuristics_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1393 static int srvsvc_dissect_element_NetSrvInfo403_ulist_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1394 static int srvsvc_dissect_element_NetSrvInfo403_glist_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1395 static int srvsvc_dissect_element_NetSrvInfo403_alist_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1396 static int srvsvc_dissect_element_NetSrvInfo403_alerts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1397 static int srvsvc_dissect_element_NetSrvInfo403_alerts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1398 static int srvsvc_dissect_element_NetSrvInfo403_security(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1399 static int srvsvc_dissect_element_NetSrvInfo403_numadmin(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1400 static int srvsvc_dissect_element_NetSrvInfo403_lanmask(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1401 static int srvsvc_dissect_element_NetSrvInfo403_guestaccount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1402 static int srvsvc_dissect_element_NetSrvInfo403_guestaccount_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1403 static int srvsvc_dissect_element_NetSrvInfo403_chdevs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1404 static int srvsvc_dissect_element_NetSrvInfo403_chdevqs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1405 static int srvsvc_dissect_element_NetSrvInfo403_chdevjobs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1406 static int srvsvc_dissect_element_NetSrvInfo403_connections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1407 static int srvsvc_dissect_element_NetSrvInfo403_shares(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1408 static int srvsvc_dissect_element_NetSrvInfo403_openfiles(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1409 static int srvsvc_dissect_element_NetSrvInfo403_sessopen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1410 static int srvsvc_dissect_element_NetSrvInfo403_sesssvc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1411 static int srvsvc_dissect_element_NetSrvInfo403_sessreqs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1412 static int srvsvc_dissect_element_NetSrvInfo403_opensearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1413 static int srvsvc_dissect_element_NetSrvInfo403_activelocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1414 static int srvsvc_dissect_element_NetSrvInfo403_numreqbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1415 static int srvsvc_dissect_element_NetSrvInfo403_sizereqbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1416 static int srvsvc_dissect_element_NetSrvInfo403_numbigbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1417 static int srvsvc_dissect_element_NetSrvInfo403_numfiletasks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1418 static int srvsvc_dissect_element_NetSrvInfo403_alertsched(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1419 static int srvsvc_dissect_element_NetSrvInfo403_erroralert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1420 static int srvsvc_dissect_element_NetSrvInfo403_logonalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1421 static int srvsvc_dissect_element_NetSrvInfo403_accessalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1422 static int srvsvc_dissect_element_NetSrvInfo403_diskalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1423 static int srvsvc_dissect_element_NetSrvInfo403_netioalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1424 static int srvsvc_dissect_element_NetSrvInfo403_maxaudits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1425 static int srvsvc_dissect_element_NetSrvInfo403_srvheuristics(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1426 static int srvsvc_dissect_element_NetSrvInfo403_srvheuristics_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1427 static int srvsvc_dissect_element_NetSrvInfo403_auditedevents(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1428 static int srvsvc_dissect_element_NetSrvInfo403_auditprofile(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1429 static int srvsvc_dissect_element_NetSrvInfo403_autopath(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1430 static int srvsvc_dissect_element_NetSrvInfo403_autopath_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1431 static int srvsvc_dissect_element_NetSrvInfo502_sessopen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1432 static int srvsvc_dissect_element_NetSrvInfo502_sesssvc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1433 static int srvsvc_dissect_element_NetSrvInfo502_opensearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1434 static int srvsvc_dissect_element_NetSrvInfo502_sizereqbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1435 static int srvsvc_dissect_element_NetSrvInfo502_initworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1436 static int srvsvc_dissect_element_NetSrvInfo502_maxworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1437 static int srvsvc_dissect_element_NetSrvInfo502_rawworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1438 static int srvsvc_dissect_element_NetSrvInfo502_irpstacksize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1439 static int srvsvc_dissect_element_NetSrvInfo502_maxrawbuflen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1440 static int srvsvc_dissect_element_NetSrvInfo502_sessusers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1441 static int srvsvc_dissect_element_NetSrvInfo502_sessconns(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1442 static int srvsvc_dissect_element_NetSrvInfo502_maxpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1443 static int srvsvc_dissect_element_NetSrvInfo502_maxnonpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1444 static int srvsvc_dissect_element_NetSrvInfo502_enablesoftcompat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1445 static int srvsvc_dissect_element_NetSrvInfo502_enableforcedlogoff(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1446 static int srvsvc_dissect_element_NetSrvInfo502_timesource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1447 static int srvsvc_dissect_element_NetSrvInfo502_acceptdownlevelapis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1448 static int srvsvc_dissect_element_NetSrvInfo502_lmannounce(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1449 static int srvsvc_dissect_element_NetSrvInfo503_sessopen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1450 static int srvsvc_dissect_element_NetSrvInfo503_sesssvc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1451 static int srvsvc_dissect_element_NetSrvInfo503_opensearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1452 static int srvsvc_dissect_element_NetSrvInfo503_sizereqbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1453 static int srvsvc_dissect_element_NetSrvInfo503_initworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1454 static int srvsvc_dissect_element_NetSrvInfo503_maxworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1455 static int srvsvc_dissect_element_NetSrvInfo503_rawworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1456 static int srvsvc_dissect_element_NetSrvInfo503_irpstacksize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1457 static int srvsvc_dissect_element_NetSrvInfo503_maxrawbuflen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1458 static int srvsvc_dissect_element_NetSrvInfo503_sessusers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1459 static int srvsvc_dissect_element_NetSrvInfo503_sessconns(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1460 static int srvsvc_dissect_element_NetSrvInfo503_maxpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1461 static int srvsvc_dissect_element_NetSrvInfo503_maxnonpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1462 static int srvsvc_dissect_element_NetSrvInfo503_enablesoftcompat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1463 static int srvsvc_dissect_element_NetSrvInfo503_enableforcedlogoff(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1464 static int srvsvc_dissect_element_NetSrvInfo503_timesource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1465 static int srvsvc_dissect_element_NetSrvInfo503_acceptdownlevelapis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1466 static int srvsvc_dissect_element_NetSrvInfo503_lmannounce(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1467 static int srvsvc_dissect_element_NetSrvInfo503_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1468 static int srvsvc_dissect_element_NetSrvInfo503_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1469 static int srvsvc_dissect_element_NetSrvInfo503_maxcopyreadlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1470 static int srvsvc_dissect_element_NetSrvInfo503_maxcopywritelen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1471 static int srvsvc_dissect_element_NetSrvInfo503_minkeepsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1472 static int srvsvc_dissect_element_NetSrvInfo503_maxkeepsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1473 static int srvsvc_dissect_element_NetSrvInfo503_minkeepcomplsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1474 static int srvsvc_dissect_element_NetSrvInfo503_maxkeepcomplsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1475 static int srvsvc_dissect_element_NetSrvInfo503_threadcountadd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1476 static int srvsvc_dissect_element_NetSrvInfo503_numlockthreads(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1477 static int srvsvc_dissect_element_NetSrvInfo503_scavtimeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1478 static int srvsvc_dissect_element_NetSrvInfo503_minrcvqueue(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1479 static int srvsvc_dissect_element_NetSrvInfo503_minfreeworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1480 static int srvsvc_dissect_element_NetSrvInfo503_xactmemsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1481 static int srvsvc_dissect_element_NetSrvInfo503_threadpriority(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1482 static int srvsvc_dissect_element_NetSrvInfo503_maxmpxct(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1483 static int srvsvc_dissect_element_NetSrvInfo503_oplockbreakwait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1484 static int srvsvc_dissect_element_NetSrvInfo503_oplockbreakresponsewait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1485 static int srvsvc_dissect_element_NetSrvInfo503_enableoplocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1486 static int srvsvc_dissect_element_NetSrvInfo503_enableoplockforceclose(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1487 static int srvsvc_dissect_element_NetSrvInfo503_enablefcbopens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1488 static int srvsvc_dissect_element_NetSrvInfo503_enableraw(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1489 static int srvsvc_dissect_element_NetSrvInfo503_enablesharednetdrives(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1490 static int srvsvc_dissect_element_NetSrvInfo503_minfreeconnections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1491 static int srvsvc_dissect_element_NetSrvInfo503_maxfreeconnections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1492 static int srvsvc_dissect_element_NetSrvInfo599_sessopen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1493 static int srvsvc_dissect_element_NetSrvInfo599_sesssvc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1494 static int srvsvc_dissect_element_NetSrvInfo599_opensearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1495 static int srvsvc_dissect_element_NetSrvInfo599_sizereqbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1496 static int srvsvc_dissect_element_NetSrvInfo599_initworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1497 static int srvsvc_dissect_element_NetSrvInfo599_maxworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1498 static int srvsvc_dissect_element_NetSrvInfo599_rawworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1499 static int srvsvc_dissect_element_NetSrvInfo599_irpstacksize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1500 static int srvsvc_dissect_element_NetSrvInfo599_maxrawbuflen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1501 static int srvsvc_dissect_element_NetSrvInfo599_sessusers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1502 static int srvsvc_dissect_element_NetSrvInfo599_sessconns(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1503 static int srvsvc_dissect_element_NetSrvInfo599_maxpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1504 static int srvsvc_dissect_element_NetSrvInfo599_maxnonpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1505 static int srvsvc_dissect_element_NetSrvInfo599_enablesoftcompat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1506 static int srvsvc_dissect_element_NetSrvInfo599_enableforcedlogoff(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1507 static int srvsvc_dissect_element_NetSrvInfo599_timesource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1508 static int srvsvc_dissect_element_NetSrvInfo599_acceptdownlevelapis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1509 static int srvsvc_dissect_element_NetSrvInfo599_lmannounce(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1510 static int srvsvc_dissect_element_NetSrvInfo599_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1511 static int srvsvc_dissect_element_NetSrvInfo599_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1512 static int srvsvc_dissect_element_NetSrvInfo599_maxcopyreadlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1513 static int srvsvc_dissect_element_NetSrvInfo599_maxcopywritelen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1514 static int srvsvc_dissect_element_NetSrvInfo599_minkeepsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1515 static int srvsvc_dissect_element_NetSrvInfo599_minkeepcomplsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1516 static int srvsvc_dissect_element_NetSrvInfo599_maxkeepcomplsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1517 static int srvsvc_dissect_element_NetSrvInfo599_threadcountadd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1518 static int srvsvc_dissect_element_NetSrvInfo599_numlockthreads(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1519 static int srvsvc_dissect_element_NetSrvInfo599_scavtimeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1520 static int srvsvc_dissect_element_NetSrvInfo599_minrcvqueue(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1521 static int srvsvc_dissect_element_NetSrvInfo599_minfreeworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1522 static int srvsvc_dissect_element_NetSrvInfo599_xactmemsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1523 static int srvsvc_dissect_element_NetSrvInfo599_threadpriority(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1524 static int srvsvc_dissect_element_NetSrvInfo599_maxmpxct(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1525 static int srvsvc_dissect_element_NetSrvInfo599_oplockbreakwait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1526 static int srvsvc_dissect_element_NetSrvInfo599_oplockbreakresponsewait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1527 static int srvsvc_dissect_element_NetSrvInfo599_enableoplocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1528 static int srvsvc_dissect_element_NetSrvInfo599_enableoplockforceclose(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1529 static int srvsvc_dissect_element_NetSrvInfo599_enablefcbopens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1530 static int srvsvc_dissect_element_NetSrvInfo599_enableraw(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1531 static int srvsvc_dissect_element_NetSrvInfo599_enablesharednetdrives(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1532 static int srvsvc_dissect_element_NetSrvInfo599_minfreeconnections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1533 static int srvsvc_dissect_element_NetSrvInfo599_maxfreeconnections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1534 static int srvsvc_dissect_element_NetSrvInfo599_initsesstable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1535 static int srvsvc_dissect_element_NetSrvInfo599_initconntable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1536 static int srvsvc_dissect_element_NetSrvInfo599_initfiletable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1537 static int srvsvc_dissect_element_NetSrvInfo599_initsearchtable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1538 static int srvsvc_dissect_element_NetSrvInfo599_alertsched(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1539 static int srvsvc_dissect_element_NetSrvInfo599_errortreshold(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1540 static int srvsvc_dissect_element_NetSrvInfo599_networkerrortreshold(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1541 static int srvsvc_dissect_element_NetSrvInfo599_diskspacetreshold(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1542 static int srvsvc_dissect_element_NetSrvInfo599_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1543 static int srvsvc_dissect_element_NetSrvInfo599_maxlinkdelay(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1544 static int srvsvc_dissect_element_NetSrvInfo599_minlinkthroughput(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1545 static int srvsvc_dissect_element_NetSrvInfo599_linkinfovalidtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1546 static int srvsvc_dissect_element_NetSrvInfo599_scavqosinfoupdatetime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1547 static int srvsvc_dissect_element_NetSrvInfo599_maxworkitemidletime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1548 static int srvsvc_dissect_element_NetSrvInfo1005_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1549 static int srvsvc_dissect_element_NetSrvInfo1005_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1550 static int srvsvc_dissect_element_NetSrvInfo1010_disc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1551 static int srvsvc_dissect_element_NetSrvInfo1016_hidden(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1552 static int srvsvc_dissect_element_NetSrvInfo1017_announce(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1553 static int srvsvc_dissect_element_NetSrvInfo1018_anndelta(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1554 static int srvsvc_dissect_element_NetSrvInfo1107_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1555 static int srvsvc_dissect_element_NetSrvInfo1501_sessopens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1556 static int srvsvc_dissect_element_NetSrvInfo1502_sessvcs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1557 static int srvsvc_dissect_element_NetSrvInfo1503_opensearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1558 static int srvsvc_dissect_element_NetSrvInfo1506_maxworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1559 static int srvsvc_dissect_element_NetSrvInfo1509_maxrawbuflen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1560 static int srvsvc_dissect_element_NetSrvInfo1510_sessusers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1561 static int srvsvc_dissect_element_NetSrvInfo1511_sesscons(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1562 static int srvsvc_dissect_element_NetSrvInfo1512_maxnonpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1563 static int srvsvc_dissect_element_NetSrvInfo1513_maxpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1564 static int srvsvc_dissect_element_NetSrvInfo1514_enablesoftcompat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1565 static int srvsvc_dissect_element_NetSrvInfo1515_enableforcedlogoff(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1566 static int srvsvc_dissect_element_NetSrvInfo1516_timesource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1567 static int srvsvc_dissect_element_NetSrvInfo1518_lmannounce(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1568 static int srvsvc_dissect_element_NetSrvInfo1520_maxcopyreadlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1569 static int srvsvc_dissect_element_NetSrvInfo1521_maxcopywritelen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1570 static int srvsvc_dissect_element_NetSrvInfo1522_minkeepsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1571 static int srvsvc_dissect_element_NetSrvInfo1523_maxkeepsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1572 static int srvsvc_dissect_element_NetSrvInfo1524_minkeepcomplsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1573 static int srvsvc_dissect_element_NetSrvInfo1525_maxkeepcomplsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1574 static int srvsvc_dissect_element_NetSrvInfo1528_scavtimeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1575 static int srvsvc_dissect_element_NetSrvInfo1529_minrcvqueue(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1576 static int srvsvc_dissect_element_NetSrvInfo1530_minfreeworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1577 static int srvsvc_dissect_element_NetSrvInfo1533_maxmpxct(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1578 static int srvsvc_dissect_element_NetSrvInfo1534_oplockbreakwait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1579 static int srvsvc_dissect_element_NetSrvInfo1535_oplockbreakresponsewait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1580 static int srvsvc_dissect_element_NetSrvInfo1536_enableoplocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1581 static int srvsvc_dissect_element_NetSrvInfo1537_enableoplockforceclose(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1582 static int srvsvc_dissect_element_NetSrvInfo1538_enablefcbopens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1583 static int srvsvc_dissect_element_NetSrvInfo1539_enableraw(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1584 static int srvsvc_dissect_element_NetSrvInfo1540_enablesharednetdrives(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1585 static int srvsvc_dissect_element_NetSrvInfo1541_minfreeconnections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1586 static int srvsvc_dissect_element_NetSrvInfo1542_maxfreeconnections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1587 static int srvsvc_dissect_element_NetSrvInfo1543_initsesstable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1588 static int srvsvc_dissect_element_NetSrvInfo1544_initconntable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1589 static int srvsvc_dissect_element_NetSrvInfo1545_initfiletable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1590 static int srvsvc_dissect_element_NetSrvInfo1546_initsearchtable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1591 static int srvsvc_dissect_element_NetSrvInfo1547_alertsched(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1592 static int srvsvc_dissect_element_NetSrvInfo1548_errortreshold(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1593 static int srvsvc_dissect_element_NetSrvInfo1549_networkerrortreshold(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1594 static int srvsvc_dissect_element_NetSrvInfo1550_diskspacetreshold(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1595 static int srvsvc_dissect_element_NetSrvInfo1552_maxlinkdelay(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1596 static int srvsvc_dissect_element_NetSrvInfo1553_minlinkthroughput(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1597 static int srvsvc_dissect_element_NetSrvInfo1554_linkinfovalidtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1598 static int srvsvc_dissect_element_NetSrvInfo1555_scavqosinfoupdatetime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1599 static int srvsvc_dissect_element_NetSrvInfo1556_maxworkitemidletime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1600 static int srvsvc_dissect_element_NetSrvInfo_info100(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1601 static int srvsvc_dissect_element_NetSrvInfo_info100_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1602 static int srvsvc_dissect_element_NetSrvInfo_info101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1603 static int srvsvc_dissect_element_NetSrvInfo_info101_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1604 static int srvsvc_dissect_element_NetSrvInfo_info102(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1605 static int srvsvc_dissect_element_NetSrvInfo_info102_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1606 static int srvsvc_dissect_element_NetSrvInfo_info402(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1607 static int srvsvc_dissect_element_NetSrvInfo_info402_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1608 static int srvsvc_dissect_element_NetSrvInfo_info403(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1609 static int srvsvc_dissect_element_NetSrvInfo_info403_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1610 static int srvsvc_dissect_element_NetSrvInfo_info502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1611 static int srvsvc_dissect_element_NetSrvInfo_info502_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1612 static int srvsvc_dissect_element_NetSrvInfo_info503(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1613 static int srvsvc_dissect_element_NetSrvInfo_info503_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1614 static int srvsvc_dissect_element_NetSrvInfo_info599(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1615 static int srvsvc_dissect_element_NetSrvInfo_info599_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1616 static int srvsvc_dissect_element_NetSrvInfo_info1005(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1617 static int srvsvc_dissect_element_NetSrvInfo_info1005_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1618 static int srvsvc_dissect_element_NetSrvInfo_info1010(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1619 static int srvsvc_dissect_element_NetSrvInfo_info1010_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1620 static int srvsvc_dissect_element_NetSrvInfo_info1016(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1621 static int srvsvc_dissect_element_NetSrvInfo_info1016_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1622 static int srvsvc_dissect_element_NetSrvInfo_info1017(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1623 static int srvsvc_dissect_element_NetSrvInfo_info1017_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1624 static int srvsvc_dissect_element_NetSrvInfo_info1018(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1625 static int srvsvc_dissect_element_NetSrvInfo_info1018_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1626 static int srvsvc_dissect_element_NetSrvInfo_info1107(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1627 static int srvsvc_dissect_element_NetSrvInfo_info1107_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1628 static int srvsvc_dissect_element_NetSrvInfo_info1501(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1629 static int srvsvc_dissect_element_NetSrvInfo_info1501_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1630 static int srvsvc_dissect_element_NetSrvInfo_info1502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1631 static int srvsvc_dissect_element_NetSrvInfo_info1502_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1632 static int srvsvc_dissect_element_NetSrvInfo_info1503(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1633 static int srvsvc_dissect_element_NetSrvInfo_info1503_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1634 static int srvsvc_dissect_element_NetSrvInfo_info1506(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1635 static int srvsvc_dissect_element_NetSrvInfo_info1506_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1636 static int srvsvc_dissect_element_NetSrvInfo_info1509(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1637 static int srvsvc_dissect_element_NetSrvInfo_info1509_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1638 static int srvsvc_dissect_element_NetSrvInfo_info1510(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1639 static int srvsvc_dissect_element_NetSrvInfo_info1510_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1640 static int srvsvc_dissect_element_NetSrvInfo_info1511(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1641 static int srvsvc_dissect_element_NetSrvInfo_info1511_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1642 static int srvsvc_dissect_element_NetSrvInfo_info1512(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1643 static int srvsvc_dissect_element_NetSrvInfo_info1512_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1644 static int srvsvc_dissect_element_NetSrvInfo_info1513(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1645 static int srvsvc_dissect_element_NetSrvInfo_info1513_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1646 static int srvsvc_dissect_element_NetSrvInfo_info1514(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1647 static int srvsvc_dissect_element_NetSrvInfo_info1514_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1648 static int srvsvc_dissect_element_NetSrvInfo_info1515(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1649 static int srvsvc_dissect_element_NetSrvInfo_info1515_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1650 static int srvsvc_dissect_element_NetSrvInfo_info1516(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1651 static int srvsvc_dissect_element_NetSrvInfo_info1516_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1652 static int srvsvc_dissect_element_NetSrvInfo_info1518(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1653 static int srvsvc_dissect_element_NetSrvInfo_info1518_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1654 static int srvsvc_dissect_element_NetSrvInfo_info1520(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1655 static int srvsvc_dissect_element_NetSrvInfo_info1520_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1656 static int srvsvc_dissect_element_NetSrvInfo_info1521(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1657 static int srvsvc_dissect_element_NetSrvInfo_info1521_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1658 static int srvsvc_dissect_element_NetSrvInfo_info1522(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1659 static int srvsvc_dissect_element_NetSrvInfo_info1522_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1660 static int srvsvc_dissect_element_NetSrvInfo_info1523(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1661 static int srvsvc_dissect_element_NetSrvInfo_info1523_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1662 static int srvsvc_dissect_element_NetSrvInfo_info1524(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1663 static int srvsvc_dissect_element_NetSrvInfo_info1524_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1664 static int srvsvc_dissect_element_NetSrvInfo_info1525(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1665 static int srvsvc_dissect_element_NetSrvInfo_info1525_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1666 static int srvsvc_dissect_element_NetSrvInfo_info1528(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1667 static int srvsvc_dissect_element_NetSrvInfo_info1528_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1668 static int srvsvc_dissect_element_NetSrvInfo_info1529(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1669 static int srvsvc_dissect_element_NetSrvInfo_info1529_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1670 static int srvsvc_dissect_element_NetSrvInfo_info1530(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1671 static int srvsvc_dissect_element_NetSrvInfo_info1530_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1672 static int srvsvc_dissect_element_NetSrvInfo_info1533(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1673 static int srvsvc_dissect_element_NetSrvInfo_info1533_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1674 static int srvsvc_dissect_element_NetSrvInfo_info1534(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1675 static int srvsvc_dissect_element_NetSrvInfo_info1534_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1676 static int srvsvc_dissect_element_NetSrvInfo_info1535(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1677 static int srvsvc_dissect_element_NetSrvInfo_info1535_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1678 static int srvsvc_dissect_element_NetSrvInfo_info1536(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1679 static int srvsvc_dissect_element_NetSrvInfo_info1536_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1680 static int srvsvc_dissect_element_NetSrvInfo_info1537(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1681 static int srvsvc_dissect_element_NetSrvInfo_info1537_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1682 static int srvsvc_dissect_element_NetSrvInfo_info1538(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1683 static int srvsvc_dissect_element_NetSrvInfo_info1538_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1684 static int srvsvc_dissect_element_NetSrvInfo_info1539(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1685 static int srvsvc_dissect_element_NetSrvInfo_info1539_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1686 static int srvsvc_dissect_element_NetSrvInfo_info1540(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1687 static int srvsvc_dissect_element_NetSrvInfo_info1540_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1688 static int srvsvc_dissect_element_NetSrvInfo_info1541(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1689 static int srvsvc_dissect_element_NetSrvInfo_info1541_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1690 static int srvsvc_dissect_element_NetSrvInfo_info1542(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1691 static int srvsvc_dissect_element_NetSrvInfo_info1542_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1692 static int srvsvc_dissect_element_NetSrvInfo_info1543(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1693 static int srvsvc_dissect_element_NetSrvInfo_info1543_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1694 static int srvsvc_dissect_element_NetSrvInfo_info1544(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1695 static int srvsvc_dissect_element_NetSrvInfo_info1544_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1696 static int srvsvc_dissect_element_NetSrvInfo_info1545(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1697 static int srvsvc_dissect_element_NetSrvInfo_info1545_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1698 static int srvsvc_dissect_element_NetSrvInfo_info1546(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1699 static int srvsvc_dissect_element_NetSrvInfo_info1546_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1700 static int srvsvc_dissect_element_NetSrvInfo_info1547(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1701 static int srvsvc_dissect_element_NetSrvInfo_info1547_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1702 static int srvsvc_dissect_element_NetSrvInfo_info1548(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1703 static int srvsvc_dissect_element_NetSrvInfo_info1548_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1704 static int srvsvc_dissect_element_NetSrvInfo_info1549(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1705 static int srvsvc_dissect_element_NetSrvInfo_info1549_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1706 static int srvsvc_dissect_element_NetSrvInfo_info1550(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1707 static int srvsvc_dissect_element_NetSrvInfo_info1550_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1708 static int srvsvc_dissect_element_NetSrvInfo_info1552(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1709 static int srvsvc_dissect_element_NetSrvInfo_info1552_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1710 static int srvsvc_dissect_element_NetSrvInfo_info1553(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1711 static int srvsvc_dissect_element_NetSrvInfo_info1553_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1712 static int srvsvc_dissect_element_NetSrvInfo_info1554(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1713 static int srvsvc_dissect_element_NetSrvInfo_info1554_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1714 static int srvsvc_dissect_element_NetSrvInfo_info1555(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1715 static int srvsvc_dissect_element_NetSrvInfo_info1555_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1716 static int srvsvc_dissect_element_NetSrvInfo_info1556(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1717 static int srvsvc_dissect_element_NetSrvInfo_info1556_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1718 static int srvsvc_dissect_element_NetDiskInfo0_disk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1719 static int srvsvc_dissect_element_NetDiskInfo_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1720 static int srvsvc_dissect_element_NetDiskInfo_disks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1721 static int srvsvc_dissect_element_NetDiskInfo_disks_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1722 static int srvsvc_dissect_element_NetDiskInfo_disks__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1723 static int srvsvc_dissect_element_Statistics_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1724 static int srvsvc_dissect_element_Statistics_fopens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1725 static int srvsvc_dissect_element_Statistics_devopens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1726 static int srvsvc_dissect_element_Statistics_jobsqueued(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1727 static int srvsvc_dissect_element_Statistics_sopens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1728 static int srvsvc_dissect_element_Statistics_stimeouts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1729 static int srvsvc_dissect_element_Statistics_serrorout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1730 static int srvsvc_dissect_element_Statistics_pwerrors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1731 static int srvsvc_dissect_element_Statistics_permerrors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1732 static int srvsvc_dissect_element_Statistics_syserrors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1733 static int srvsvc_dissect_element_Statistics_bytessent_low(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1734 static int srvsvc_dissect_element_Statistics_bytessent_high(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1735 static int srvsvc_dissect_element_Statistics_bytesrcvd_low(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1736 static int srvsvc_dissect_element_Statistics_bytesrcvd_high(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1737 static int srvsvc_dissect_element_Statistics_avresponse(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1738 static int srvsvc_dissect_element_Statistics_reqbufneed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1739 static int srvsvc_dissect_element_Statistics_bigbufneed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1740 static int srvsvc_dissect_element_NetTransportInfo0_vcs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1741 static int srvsvc_dissect_element_NetTransportInfo0_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1742 static int srvsvc_dissect_element_NetTransportInfo0_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1743 static int srvsvc_dissect_element_NetTransportInfo0_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1744 static int srvsvc_dissect_element_NetTransportInfo0_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1745 static int srvsvc_dissect_element_NetTransportInfo0_addr__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1746 static int srvsvc_dissect_element_NetTransportInfo0_addr_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1747 static int srvsvc_dissect_element_NetTransportInfo0_net_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1748 static int srvsvc_dissect_element_NetTransportInfo0_net_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1749 static int srvsvc_dissect_element_NetTransportCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1750 static int srvsvc_dissect_element_NetTransportCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1751 static int srvsvc_dissect_element_NetTransportCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1752 static int srvsvc_dissect_element_NetTransportCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1753 static int srvsvc_dissect_element_NetTransportInfo1_vcs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1754 static int srvsvc_dissect_element_NetTransportInfo1_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1755 static int srvsvc_dissect_element_NetTransportInfo1_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1756 static int srvsvc_dissect_element_NetTransportInfo1_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1757 static int srvsvc_dissect_element_NetTransportInfo1_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1758 static int srvsvc_dissect_element_NetTransportInfo1_addr__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1759 static int srvsvc_dissect_element_NetTransportInfo1_addr_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1760 static int srvsvc_dissect_element_NetTransportInfo1_net_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1761 static int srvsvc_dissect_element_NetTransportInfo1_net_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1762 static int srvsvc_dissect_element_NetTransportInfo1_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1763 static int srvsvc_dissect_element_NetTransportInfo1_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1764 static int srvsvc_dissect_element_NetTransportCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1765 static int srvsvc_dissect_element_NetTransportCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1766 static int srvsvc_dissect_element_NetTransportCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1767 static int srvsvc_dissect_element_NetTransportCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1768 static int srvsvc_dissect_element_NetTransportInfo2_vcs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1769 static int srvsvc_dissect_element_NetTransportInfo2_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1770 static int srvsvc_dissect_element_NetTransportInfo2_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1771 static int srvsvc_dissect_element_NetTransportInfo2_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1772 static int srvsvc_dissect_element_NetTransportInfo2_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1773 static int srvsvc_dissect_element_NetTransportInfo2_addr__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1774 static int srvsvc_dissect_element_NetTransportInfo2_addr_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1775 static int srvsvc_dissect_element_NetTransportInfo2_net_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1776 static int srvsvc_dissect_element_NetTransportInfo2_net_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1777 static int srvsvc_dissect_element_NetTransportInfo2_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1778 static int srvsvc_dissect_element_NetTransportInfo2_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1779 static int srvsvc_dissect_element_NetTransportInfo2_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1780 static int srvsvc_dissect_element_NetTransportCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1781 static int srvsvc_dissect_element_NetTransportCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1782 static int srvsvc_dissect_element_NetTransportCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1783 static int srvsvc_dissect_element_NetTransportCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1784 static int srvsvc_dissect_element_NetTransportInfo3_vcs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1785 static int srvsvc_dissect_element_NetTransportInfo3_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1786 static int srvsvc_dissect_element_NetTransportInfo3_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1787 static int srvsvc_dissect_element_NetTransportInfo3_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1788 static int srvsvc_dissect_element_NetTransportInfo3_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1789 static int srvsvc_dissect_element_NetTransportInfo3_addr__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1790 static int srvsvc_dissect_element_NetTransportInfo3_addr_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1791 static int srvsvc_dissect_element_NetTransportInfo3_net_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1792 static int srvsvc_dissect_element_NetTransportInfo3_net_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1793 static int srvsvc_dissect_element_NetTransportInfo3_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1794 static int srvsvc_dissect_element_NetTransportInfo3_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1795 static int srvsvc_dissect_element_NetTransportInfo3_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1796 static int srvsvc_dissect_element_NetTransportInfo3_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1797 static int srvsvc_dissect_element_NetTransportInfo3_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1798 static int srvsvc_dissect_element_NetTransportInfo3_unknown3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1799 static int srvsvc_dissect_element_NetTransportCtr3_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1800 static int srvsvc_dissect_element_NetTransportCtr3_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1801 static int srvsvc_dissect_element_NetTransportCtr3_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1802 static int srvsvc_dissect_element_NetTransportCtr3_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1803 static int srvsvc_dissect_element_NetTransportCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1804 static int srvsvc_dissect_element_NetTransportCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1805 static int srvsvc_dissect_element_NetTransportCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1806 static int srvsvc_dissect_element_NetTransportCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1807 static int srvsvc_dissect_element_NetTransportCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1808 static int srvsvc_dissect_element_NetTransportCtr_ctr2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1809 static int srvsvc_dissect_element_NetTransportCtr_ctr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1810 static int srvsvc_dissect_element_NetTransportCtr_ctr3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1811 static int srvsvc_dissect_element_NetTransportInfoCtr_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *level);
1812 static int srvsvc_dissect_element_NetTransportInfoCtr_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t level);
1813 static int srvsvc_dissect_element_NetRemoteTODInfo_elapsed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1814 static int srvsvc_dissect_element_NetRemoteTODInfo_msecs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1815 static int srvsvc_dissect_element_NetRemoteTODInfo_hours(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1816 static int srvsvc_dissect_element_NetRemoteTODInfo_mins(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1817 static int srvsvc_dissect_element_NetRemoteTODInfo_secs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1818 static int srvsvc_dissect_element_NetRemoteTODInfo_hunds(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1819 static int srvsvc_dissect_element_NetRemoteTODInfo_timezone(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1820 static int srvsvc_dissect_element_NetRemoteTODInfo_tinterval(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1821 static int srvsvc_dissect_element_NetRemoteTODInfo_day(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1822 static int srvsvc_dissect_element_NetRemoteTODInfo_month(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1823 static int srvsvc_dissect_element_NetRemoteTODInfo_year(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1824 static int srvsvc_dissect_element_NetRemoteTODInfo_weekday(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1825 static int srvsvc_dissect_element_NetTransportInfo_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1826 static int srvsvc_dissect_element_NetTransportInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1827 static int srvsvc_dissect_element_NetTransportInfo_info2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1828 static int srvsvc_dissect_element_NetTransportInfo_info3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1829 static int srvsvc_dissect_element_NetCharDevEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1830 static int srvsvc_dissect_element_NetCharDevEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1831 static int srvsvc_dissect_element_NetCharDevEnum_info_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1832 static int srvsvc_dissect_element_NetCharDevEnum_info_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1833 static int srvsvc_dissect_element_NetCharDevEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1834 static int srvsvc_dissect_element_NetCharDevEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1835 static int srvsvc_dissect_element_NetCharDevEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1836 static int srvsvc_dissect_element_NetCharDevEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1837 static int srvsvc_dissect_element_NetCharDevEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1838 static int srvsvc_dissect_element_NetCharDevGetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1839 static int srvsvc_dissect_element_NetCharDevGetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1840 static int srvsvc_dissect_element_NetCharDevGetInfo_device_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1841 static int srvsvc_dissect_element_NetCharDevGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1842 static int srvsvc_dissect_element_NetCharDevGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1843 static int srvsvc_dissect_element_NetCharDevGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1844 static int srvsvc_dissect_element_NetCharDevControl_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1845 static int srvsvc_dissect_element_NetCharDevControl_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1846 static int srvsvc_dissect_element_NetCharDevControl_device_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1847 static int srvsvc_dissect_element_NetCharDevControl_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1848 static int srvsvc_dissect_element_NetCharDevQEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1849 static int srvsvc_dissect_element_NetCharDevQEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1850 static int srvsvc_dissect_element_NetCharDevQEnum_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1851 static int srvsvc_dissect_element_NetCharDevQEnum_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1852 static int srvsvc_dissect_element_NetCharDevQEnum_info_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1853 static int srvsvc_dissect_element_NetCharDevQEnum_info_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1854 static int srvsvc_dissect_element_NetCharDevQEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1855 static int srvsvc_dissect_element_NetCharDevQEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1856 static int srvsvc_dissect_element_NetCharDevQEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1857 static int srvsvc_dissect_element_NetCharDevQEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1858 static int srvsvc_dissect_element_NetCharDevQEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1859 static int srvsvc_dissect_element_NetCharDevQGetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1860 static int srvsvc_dissect_element_NetCharDevQGetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1861 static int srvsvc_dissect_element_NetCharDevQGetInfo_queue_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1862 static int srvsvc_dissect_element_NetCharDevQGetInfo_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1863 static int srvsvc_dissect_element_NetCharDevQGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1864 static int srvsvc_dissect_element_NetCharDevQGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1865 static int srvsvc_dissect_element_NetCharDevQGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1866 static int srvsvc_dissect_element_NetCharDevQSetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1867 static int srvsvc_dissect_element_NetCharDevQSetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1868 static int srvsvc_dissect_element_NetCharDevQSetInfo_queue_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1869 static int srvsvc_dissect_element_NetCharDevQSetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1870 static int srvsvc_dissect_element_NetCharDevQSetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1871 static int srvsvc_dissect_element_NetCharDevQSetInfo_parm_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1872 static int srvsvc_dissect_element_NetCharDevQSetInfo_parm_error_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1873 static int srvsvc_dissect_element_NetCharDevQPurge_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1874 static int srvsvc_dissect_element_NetCharDevQPurge_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1875 static int srvsvc_dissect_element_NetCharDevQPurge_queue_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1876 static int srvsvc_dissect_element_NetCharDevQPurgeSelf_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1877 static int srvsvc_dissect_element_NetCharDevQPurgeSelf_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1878 static int srvsvc_dissect_element_NetCharDevQPurgeSelf_queue_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1879 static int srvsvc_dissect_element_NetCharDevQPurgeSelf_computer_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1880 static int srvsvc_dissect_element_NetConnEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1881 static int srvsvc_dissect_element_NetConnEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1882 static int srvsvc_dissect_element_NetConnEnum_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1883 static int srvsvc_dissect_element_NetConnEnum_path_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1884 static int srvsvc_dissect_element_NetConnEnum_info_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1885 static int srvsvc_dissect_element_NetConnEnum_info_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1886 static int srvsvc_dissect_element_NetConnEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1887 static int srvsvc_dissect_element_NetConnEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1888 static int srvsvc_dissect_element_NetConnEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1889 static int srvsvc_dissect_element_NetConnEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1890 static int srvsvc_dissect_element_NetConnEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1891 static int srvsvc_dissect_element_NetFileEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1892 static int srvsvc_dissect_element_NetFileEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1893 static int srvsvc_dissect_element_NetFileEnum_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1894 static int srvsvc_dissect_element_NetFileEnum_path_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1895 static int srvsvc_dissect_element_NetFileEnum_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1896 static int srvsvc_dissect_element_NetFileEnum_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1897 static int srvsvc_dissect_element_NetFileEnum_info_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1898 static int srvsvc_dissect_element_NetFileEnum_info_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1899 static int srvsvc_dissect_element_NetFileEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1900 static int srvsvc_dissect_element_NetFileEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1901 static int srvsvc_dissect_element_NetFileEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1902 static int srvsvc_dissect_element_NetFileEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1903 static int srvsvc_dissect_element_NetFileEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1904 static int srvsvc_dissect_element_NetFileGetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1905 static int srvsvc_dissect_element_NetFileGetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1906 static int srvsvc_dissect_element_NetFileGetInfo_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1907 static int srvsvc_dissect_element_NetFileGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1908 static int srvsvc_dissect_element_NetFileGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1909 static int srvsvc_dissect_element_NetFileGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1910 static int srvsvc_dissect_element_NetFileClose_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1911 static int srvsvc_dissect_element_NetFileClose_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1912 static int srvsvc_dissect_element_NetFileClose_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1913 static int srvsvc_dissect_element_NetSessEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1914 static int srvsvc_dissect_element_NetSessEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1915 static int srvsvc_dissect_element_NetSessEnum_client(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1916 static int srvsvc_dissect_element_NetSessEnum_client_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1917 static int srvsvc_dissect_element_NetSessEnum_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1918 static int srvsvc_dissect_element_NetSessEnum_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1919 static int srvsvc_dissect_element_NetSessEnum_info_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1920 static int srvsvc_dissect_element_NetSessEnum_info_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1921 static int srvsvc_dissect_element_NetSessEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1922 static int srvsvc_dissect_element_NetSessEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1923 static int srvsvc_dissect_element_NetSessEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1924 static int srvsvc_dissect_element_NetSessEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1925 static int srvsvc_dissect_element_NetSessEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1926 static int srvsvc_dissect_element_NetSessDel_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1927 static int srvsvc_dissect_element_NetSessDel_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1928 static int srvsvc_dissect_element_NetSessDel_client(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1929 static int srvsvc_dissect_element_NetSessDel_client_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1930 static int srvsvc_dissect_element_NetSessDel_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1931 static int srvsvc_dissect_element_NetSessDel_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1932 static int srvsvc_dissect_element_NetShareAdd_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1933 static int srvsvc_dissect_element_NetShareAdd_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1934 static int srvsvc_dissect_element_NetShareAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1935 static int srvsvc_dissect_element_NetShareAdd_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1936 static int srvsvc_dissect_element_NetShareAdd_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1937 static int srvsvc_dissect_element_NetShareAdd_parm_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1938 static int srvsvc_dissect_element_NetShareAdd_parm_error_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1939 static int srvsvc_dissect_element_NetShareEnumAll_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1940 static int srvsvc_dissect_element_NetShareEnumAll_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1941 static int srvsvc_dissect_element_NetShareEnumAll_info_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1942 static int srvsvc_dissect_element_NetShareEnumAll_info_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1943 static int srvsvc_dissect_element_NetShareEnumAll_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1944 static int srvsvc_dissect_element_NetShareEnumAll_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1945 static int srvsvc_dissect_element_NetShareEnumAll_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1946 static int srvsvc_dissect_element_NetShareEnumAll_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1947 static int srvsvc_dissect_element_NetShareEnumAll_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1948 static int srvsvc_dissect_element_NetShareGetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1949 static int srvsvc_dissect_element_NetShareGetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1950 static int srvsvc_dissect_element_NetShareGetInfo_share_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1951 static int srvsvc_dissect_element_NetShareGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1952 static int srvsvc_dissect_element_NetShareGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1953 static int srvsvc_dissect_element_NetShareGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1954 static int srvsvc_dissect_element_NetShareSetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1955 static int srvsvc_dissect_element_NetShareSetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1956 static int srvsvc_dissect_element_NetShareSetInfo_share_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1957 static int srvsvc_dissect_element_NetShareSetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1958 static int srvsvc_dissect_element_NetShareSetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1959 static int srvsvc_dissect_element_NetShareSetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1960 static int srvsvc_dissect_element_NetShareSetInfo_parm_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1961 static int srvsvc_dissect_element_NetShareSetInfo_parm_error_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1962 static int srvsvc_dissect_element_NetShareDel_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1963 static int srvsvc_dissect_element_NetShareDel_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1964 static int srvsvc_dissect_element_NetShareDel_share_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1965 static int srvsvc_dissect_element_NetShareDel_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1966 static int srvsvc_dissect_element_NetShareDelSticky_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1967 static int srvsvc_dissect_element_NetShareDelSticky_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1968 static int srvsvc_dissect_element_NetShareDelSticky_share_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1969 static int srvsvc_dissect_element_NetShareDelSticky_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1970 static int srvsvc_dissect_element_NetShareCheck_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1971 static int srvsvc_dissect_element_NetShareCheck_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1972 static int srvsvc_dissect_element_NetShareCheck_device_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1973 static int srvsvc_dissect_element_NetShareCheck_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1974 static int srvsvc_dissect_element_NetShareCheck_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1975 static int srvsvc_dissect_element_NetSrvGetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1976 static int srvsvc_dissect_element_NetSrvGetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1977 static int srvsvc_dissect_element_NetSrvGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1978 static int srvsvc_dissect_element_NetSrvGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1979 static int srvsvc_dissect_element_NetSrvGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1980 static int srvsvc_dissect_element_NetSrvSetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1981 static int srvsvc_dissect_element_NetSrvSetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1982 static int srvsvc_dissect_element_NetSrvSetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1983 static int srvsvc_dissect_element_NetSrvSetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1984 static int srvsvc_dissect_element_NetSrvSetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1985 static int srvsvc_dissect_element_NetSrvSetInfo_parm_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1986 static int srvsvc_dissect_element_NetSrvSetInfo_parm_error_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1987 static int srvsvc_dissect_element_NetDiskEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1988 static int srvsvc_dissect_element_NetDiskEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1989 static int srvsvc_dissect_element_NetDiskEnum_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1990 static int srvsvc_dissect_element_NetDiskEnum_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1991 static int srvsvc_dissect_element_NetDiskEnum_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1992 static int srvsvc_dissect_element_NetDiskEnum_maxlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1993 static int srvsvc_dissect_element_NetDiskEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1994 static int srvsvc_dissect_element_NetDiskEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1995 static int srvsvc_dissect_element_NetDiskEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1996 static int srvsvc_dissect_element_NetDiskEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1997 static int srvsvc_dissect_element_NetServerStatisticsGet_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1998 static int srvsvc_dissect_element_NetServerStatisticsGet_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1999 static int srvsvc_dissect_element_NetServerStatisticsGet_service(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2000 static int srvsvc_dissect_element_NetServerStatisticsGet_service_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2001 static int srvsvc_dissect_element_NetServerStatisticsGet_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2002 static int srvsvc_dissect_element_NetServerStatisticsGet_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2003 static int srvsvc_dissect_element_NetServerStatisticsGet_stats(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2004 static int srvsvc_dissect_element_NetServerStatisticsGet_stats_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2005 static int srvsvc_dissect_element_NetServerStatisticsGet_stats__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2006 static int srvsvc_dissect_element_NetTransportAdd_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2007 static int srvsvc_dissect_element_NetTransportAdd_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2008 static int srvsvc_dissect_element_NetTransportAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2009 static int srvsvc_dissect_element_NetTransportAdd_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2010 static int srvsvc_dissect_element_NetTransportEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2011 static int srvsvc_dissect_element_NetTransportEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2012 static int srvsvc_dissect_element_NetTransportEnum_transports(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2013 static int srvsvc_dissect_element_NetTransportEnum_transports_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2014 static int srvsvc_dissect_element_NetTransportEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2015 static int srvsvc_dissect_element_NetTransportEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2016 static int srvsvc_dissect_element_NetTransportEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2017 static int srvsvc_dissect_element_NetTransportEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2018 static int srvsvc_dissect_element_NetTransportEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2019 static int srvsvc_dissect_element_NetTransportDel_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2020 static int srvsvc_dissect_element_NetTransportDel_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2021 static int srvsvc_dissect_element_NetTransportDel_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2022 static int srvsvc_dissect_element_NetTransportDel_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2023 static int srvsvc_dissect_element_NetTransportDel_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2024 static int srvsvc_dissect_element_NetRemoteTOD_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2025 static int srvsvc_dissect_element_NetRemoteTOD_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2026 static int srvsvc_dissect_element_NetRemoteTOD_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2027 static int srvsvc_dissect_element_NetRemoteTOD_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2028 static int srvsvc_dissect_element_NetRemoteTOD_info__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2029 static int srvsvc_dissect_element_NetSetServiceBits_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2030 static int srvsvc_dissect_element_NetSetServiceBits_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2031 static int srvsvc_dissect_element_NetSetServiceBits_transport(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2032 static int srvsvc_dissect_element_NetSetServiceBits_transport_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2033 static int srvsvc_dissect_element_NetSetServiceBits_servicebits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2034 static int srvsvc_dissect_element_NetSetServiceBits_updateimmediately(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2035 static int srvsvc_dissect_element_NetPathType_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2036 static int srvsvc_dissect_element_NetPathType_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2037 static int srvsvc_dissect_element_NetPathType_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2038 static int srvsvc_dissect_element_NetPathType_pathflags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2039 static int srvsvc_dissect_element_NetPathType_pathtype(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2040 static int srvsvc_dissect_element_NetPathType_pathtype_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2041 static int srvsvc_dissect_element_NetPathCanonicalize_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2042 static int srvsvc_dissect_element_NetPathCanonicalize_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2043 static int srvsvc_dissect_element_NetPathCanonicalize_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2044 static int srvsvc_dissect_element_NetPathCanonicalize_can_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2045 static int srvsvc_dissect_element_NetPathCanonicalize_can_path_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2046 static int srvsvc_dissect_element_NetPathCanonicalize_maxbuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2047 static int srvsvc_dissect_element_NetPathCanonicalize_prefix(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2048 static int srvsvc_dissect_element_NetPathCanonicalize_pathtype(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2049 static int srvsvc_dissect_element_NetPathCanonicalize_pathtype_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2050 static int srvsvc_dissect_element_NetPathCanonicalize_pathflags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2051 static int srvsvc_dissect_element_NetPathCompare_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2052 static int srvsvc_dissect_element_NetPathCompare_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2053 static int srvsvc_dissect_element_NetPathCompare_path1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2054 static int srvsvc_dissect_element_NetPathCompare_path2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2055 static int srvsvc_dissect_element_NetPathCompare_pathtype(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2056 static int srvsvc_dissect_element_NetPathCompare_pathflags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2057 static int srvsvc_dissect_element_NetNameValidate_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2058 static int srvsvc_dissect_element_NetNameValidate_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2059 static int srvsvc_dissect_element_NetNameValidate_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2060 static int srvsvc_dissect_element_NetNameValidate_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2061 static int srvsvc_dissect_element_NetNameValidate_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2062 static int srvsvc_dissect_element_NetPRNameCompare_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2063 static int srvsvc_dissect_element_NetPRNameCompare_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2064 static int srvsvc_dissect_element_NetPRNameCompare_name1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2065 static int srvsvc_dissect_element_NetPRNameCompare_name2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2066 static int srvsvc_dissect_element_NetPRNameCompare_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2067 static int srvsvc_dissect_element_NetPRNameCompare_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2068 static int srvsvc_dissect_element_NetShareEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2069 static int srvsvc_dissect_element_NetShareEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2070 static int srvsvc_dissect_element_NetShareEnum_info_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2071 static int srvsvc_dissect_element_NetShareEnum_info_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2072 static int srvsvc_dissect_element_NetShareEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2073 static int srvsvc_dissect_element_NetShareEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2074 static int srvsvc_dissect_element_NetShareEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2075 static int srvsvc_dissect_element_NetShareEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2076 static int srvsvc_dissect_element_NetShareEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2077 static int srvsvc_dissect_element_NetShareDelStart_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2078 static int srvsvc_dissect_element_NetShareDelStart_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2079 static int srvsvc_dissect_element_NetShareDelStart_share(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2080 static int srvsvc_dissect_element_NetShareDelStart_share_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2081 static int srvsvc_dissect_element_NetShareDelStart_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2082 static int srvsvc_dissect_element_NetShareDelStart_hnd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2083 static int srvsvc_dissect_element_NetShareDelStart_hnd_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2084 static int srvsvc_dissect_element_NetShareDelCommit_hnd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2085 static int srvsvc_dissect_element_NetShareDelCommit_hnd_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2086 static int srvsvc_dissect_element_NetGetFileSecurity_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2087 static int srvsvc_dissect_element_NetGetFileSecurity_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2088 static int srvsvc_dissect_element_NetGetFileSecurity_share(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2089 static int srvsvc_dissect_element_NetGetFileSecurity_share_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2090 static int srvsvc_dissect_element_NetGetFileSecurity_file(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2091 static int srvsvc_dissect_element_NetGetFileSecurity_securityinformation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2092 static int srvsvc_dissect_element_NetGetFileSecurity_sd_buf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2093 static int srvsvc_dissect_element_NetGetFileSecurity_sd_buf_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2094 static int srvsvc_dissect_element_NetSetFileSecurity_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2095 static int srvsvc_dissect_element_NetSetFileSecurity_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2096 static int srvsvc_dissect_element_NetSetFileSecurity_share(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2097 static int srvsvc_dissect_element_NetSetFileSecurity_share_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2098 static int srvsvc_dissect_element_NetSetFileSecurity_file(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2099 static int srvsvc_dissect_element_NetSetFileSecurity_securityinformation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2100 static int srvsvc_dissect_element_NetSetFileSecurity_sd_buf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2101 static int srvsvc_dissect_element_NetServerTransportAddEx_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2102 static int srvsvc_dissect_element_NetServerTransportAddEx_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2103 static int srvsvc_dissect_element_NetServerTransportAddEx_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2104 static int srvsvc_dissect_element_NetServerTransportAddEx_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2105 static int srvsvc_dissect_element_NetServerSetServiceBitsEx_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2106 static int srvsvc_dissect_element_NetServerSetServiceBitsEx_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2107 static int srvsvc_dissect_element_NetServerSetServiceBitsEx_emulated_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2108 static int srvsvc_dissect_element_NetServerSetServiceBitsEx_emulated_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2109 static int srvsvc_dissect_element_NetServerSetServiceBitsEx_transport(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2110 static int srvsvc_dissect_element_NetServerSetServiceBitsEx_transport_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2111 static int srvsvc_dissect_element_NetServerSetServiceBitsEx_servicebitsofinterest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2112 static int srvsvc_dissect_element_NetServerSetServiceBitsEx_servicebits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2113 static int srvsvc_dissect_element_NetServerSetServiceBitsEx_updateimmediately(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
2114 #include "packet-smb.h"
2115 #include "packet-smb-browse.h"
2116 static int
2117 srvsvc_dissect_NetShareCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_);
2118 static int
2119 srvsvc_dissect_element_NetShareInfoCtr_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t level)
2121 ALIGN_TO_5_BYTES
2122 offset = srvsvc_dissect_NetShareCtr(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfoCtr_ctr, level);
2123 return offset;
2125 static int
2126 srvsvc_dissect_sec_desc_buf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, uint8_t *drep, int hf_index);
2127 static int
2128 srvsvc_dissect_sec_desc_buf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, uint8_t *drep, int hf_index _U_)
2130 uint32_t len;
2131 if(di->conformant_run){
2132 /*just a run to handle conformant arrays, nothing to dissect */
2133 return offset;
2135 offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, di, drep,
2136 hf_srvsvc_sec_desc_buf_len, &len);
2137 dissect_nt_sec_desc(tvb, offset, pinfo, tree, drep, true, len,
2138 NULL);
2139 offset += len;
2140 return offset;
2142 static int
2143 srvsvc_dissect_element_NetShareInfo_info1501_(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, uint8_t *drep)
2145 return srvsvc_dissect_sec_desc_buf(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo_info1501);
2147 static int
2148 srvsvc_dissect_element_NetGetFileSecurity_sd_buf_(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, uint8_t *drep)
2150 return srvsvc_dissect_sec_desc_buf(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetGetFileSecurity_sd_buf);
2152 static int
2153 srvsvc_dissect_element_NetSetFileSecurity_sd_buf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, uint8_t *drep)
2155 return srvsvc_dissect_sec_desc_buf(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSetFileSecurity_sd_buf);
2157 static int
2158 srvsvc_dissect_element_NetShareCtr1501_array__(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, uint8_t *drep)
2160 return srvsvc_dissect_sec_desc_buf(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareCtr1501_array);
2162 static int
2163 srvsvc_dissect_element_NetShareInfo502_sd_buf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2165 return srvsvc_dissect_sec_desc_buf(tvb,offset,pinfo,tree,di,drep, hf_srvsvc_srvsvc_NetShareInfo502_sd_buf);
2167 static int
2168 srvsvc_dissect_ServerType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, uint8_t *drep)
2170 if(di->conformant_run){
2171 /*just a run to handle conformant arrays, nothing to dissect */
2172 return offset;
2174 offset=dissect_smb_server_type_flags(tvb, offset, pinfo, tree, drep, 0);
2175 return offset;
2177 static int
2178 srvsvc_dissect_element_NetSrvInfo101_server_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, uint8_t *drep)
2180 return srvsvc_dissect_ServerType(tvb, offset, pinfo, tree, di, drep);
2182 static int
2183 srvsvc_dissect_element_NetSrvInfo102_server_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, uint8_t *drep)
2185 return srvsvc_dissect_ServerType(tvb, offset, pinfo, tree, di, drep);
2187 static int
2188 srvsvc_dissect_secinfo(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, dcerpc_info* di, uint8_t *drep _U_, int hf_index _U_)
2190 if(di->conformant_run){
2191 /*just a run to handle conformant arrays, nothing to dissect */
2192 return offset;
2194 offset=dissect_security_information_mask(tvb, tree, offset);
2195 return offset;
2197 static int
2198 srvsvc_dissect_element_NetGetFileSecurity_securityinformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, uint8_t *drep)
2200 return srvsvc_dissect_secinfo(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetGetFileSecurity_securityinformation);
2202 static int
2203 srvsvc_dissect_element_NetSetFileSecurity_securityinformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, uint8_t *drep)
2205 return srvsvc_dissect_secinfo(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSetFileSecurity_securityinformation);
2209 /* IDL: bitmap { */
2210 /* IDL: } */
2213 srvsvc_dissect_bitmap_svcctl_ServerType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
2215 uint32_t flags;
2216 ALIGN_TO_4_BYTES;
2218 proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, DREP_ENC_INTEGER(drep));
2220 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
2222 return offset;
2226 /* IDL: bitmap { */
2227 /* IDL: } */
2230 srvsvc_dissect_bitmap_security_secinfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
2232 uint32_t flags;
2233 ALIGN_TO_4_BYTES;
2235 proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, DREP_ENC_INTEGER(drep));
2237 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
2239 return offset;
2243 /* IDL: struct { */
2244 /* IDL: [charset(UTF16)] [unique(1)] uint16 *device; */
2245 /* IDL: } */
2247 static int
2248 srvsvc_dissect_element_NetCharDevInfo0_device(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2250 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevInfo0_device_, NDR_POINTER_UNIQUE, "Pointer to Device (uint16)",hf_srvsvc_srvsvc_NetCharDevInfo0_device);
2252 return offset;
2255 static int
2256 srvsvc_dissect_element_NetCharDevInfo0_device_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2258 char *data = NULL;
2259 struct ndr_generic_array nga = { .is_conformant = false, };
2261 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2263 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2264 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevInfo0_device, false, &nga, &data);
2265 proto_item_append_text(tree, ": %s", data);
2267 return offset;
2271 srvsvc_dissect_struct_NetCharDevInfo0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
2273 proto_item *item = NULL;
2274 proto_tree *tree = NULL;
2275 int old_offset;
2277 ALIGN_TO_5_BYTES;
2279 old_offset = offset;
2281 if (parent_tree) {
2282 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2283 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetCharDevInfo0);
2286 offset = srvsvc_dissect_element_NetCharDevInfo0_device(tvb, offset, pinfo, tree, di, drep);
2289 proto_item_set_len(item, offset-old_offset);
2292 if (di->call_data->flags & DCERPC_IS_NDR64) {
2293 ALIGN_TO_5_BYTES;
2296 return offset;
2300 /* IDL: struct { */
2301 /* IDL: uint32 count; */
2302 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetCharDevInfo0 *array; */
2303 /* IDL: } */
2305 static int
2306 srvsvc_dissect_element_NetCharDevCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2308 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevCtr0_count, 0);
2310 return offset;
2313 static int
2314 srvsvc_dissect_element_NetCharDevCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2316 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevCtr0_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetCharDevInfo0)",hf_srvsvc_srvsvc_NetCharDevCtr0_array);
2318 return offset;
2321 static int
2322 srvsvc_dissect_element_NetCharDevCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2324 struct ndr_generic_array nga = { .is_conformant = false, };
2326 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2328 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetCharDevCtr0_array__);
2330 return offset;
2333 static int
2334 srvsvc_dissect_element_NetCharDevCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2336 offset = srvsvc_dissect_struct_NetCharDevInfo0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetCharDevCtr0_array,0);
2338 return offset;
2342 srvsvc_dissect_struct_NetCharDevCtr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
2344 proto_item *item = NULL;
2345 proto_tree *tree = NULL;
2346 int old_offset;
2348 ALIGN_TO_5_BYTES;
2350 old_offset = offset;
2352 if (parent_tree) {
2353 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2354 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetCharDevCtr0);
2357 offset = srvsvc_dissect_element_NetCharDevCtr0_count(tvb, offset, pinfo, tree, di, drep);
2359 offset = srvsvc_dissect_element_NetCharDevCtr0_array(tvb, offset, pinfo, tree, di, drep);
2362 proto_item_set_len(item, offset-old_offset);
2365 if (di->call_data->flags & DCERPC_IS_NDR64) {
2366 ALIGN_TO_5_BYTES;
2369 return offset;
2373 /* IDL: struct { */
2374 /* IDL: [charset(UTF16)] [unique(1)] uint16 *device; */
2375 /* IDL: uint32 status; */
2376 /* IDL: [charset(UTF16)] [unique(1)] uint16 *user; */
2377 /* IDL: uint32 time; */
2378 /* IDL: } */
2380 static int
2381 srvsvc_dissect_element_NetCharDevInfo1_device(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2383 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevInfo1_device_, NDR_POINTER_UNIQUE, "Pointer to Device (uint16)",hf_srvsvc_srvsvc_NetCharDevInfo1_device);
2385 return offset;
2388 static int
2389 srvsvc_dissect_element_NetCharDevInfo1_device_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2391 char *data = NULL;
2392 struct ndr_generic_array nga = { .is_conformant = false, };
2394 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2396 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2397 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevInfo1_device, false, &nga, &data);
2398 proto_item_append_text(tree, ": %s", data);
2400 return offset;
2403 static int
2404 srvsvc_dissect_element_NetCharDevInfo1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2406 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevInfo1_status, 0);
2408 return offset;
2411 static int
2412 srvsvc_dissect_element_NetCharDevInfo1_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2414 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevInfo1_user_, NDR_POINTER_UNIQUE, "Pointer to User (uint16)",hf_srvsvc_srvsvc_NetCharDevInfo1_user);
2416 return offset;
2419 static int
2420 srvsvc_dissect_element_NetCharDevInfo1_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2422 char *data = NULL;
2423 struct ndr_generic_array nga = { .is_conformant = false, };
2425 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2427 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2428 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevInfo1_user, false, &nga, &data);
2429 proto_item_append_text(tree, ": %s", data);
2431 return offset;
2434 static int
2435 srvsvc_dissect_element_NetCharDevInfo1_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2437 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevInfo1_time, 0);
2439 return offset;
2443 srvsvc_dissect_struct_NetCharDevInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
2445 proto_item *item = NULL;
2446 proto_tree *tree = NULL;
2447 int old_offset;
2449 ALIGN_TO_5_BYTES;
2451 old_offset = offset;
2453 if (parent_tree) {
2454 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2455 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetCharDevInfo1);
2458 offset = srvsvc_dissect_element_NetCharDevInfo1_device(tvb, offset, pinfo, tree, di, drep);
2460 offset = srvsvc_dissect_element_NetCharDevInfo1_status(tvb, offset, pinfo, tree, di, drep);
2462 offset = srvsvc_dissect_element_NetCharDevInfo1_user(tvb, offset, pinfo, tree, di, drep);
2464 offset = srvsvc_dissect_element_NetCharDevInfo1_time(tvb, offset, pinfo, tree, di, drep);
2467 proto_item_set_len(item, offset-old_offset);
2470 if (di->call_data->flags & DCERPC_IS_NDR64) {
2471 ALIGN_TO_5_BYTES;
2474 return offset;
2478 /* IDL: struct { */
2479 /* IDL: uint32 count; */
2480 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetCharDevInfo1 *array; */
2481 /* IDL: } */
2483 static int
2484 srvsvc_dissect_element_NetCharDevCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2486 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevCtr1_count, 0);
2488 return offset;
2491 static int
2492 srvsvc_dissect_element_NetCharDevCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2494 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevCtr1_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetCharDevInfo1)",hf_srvsvc_srvsvc_NetCharDevCtr1_array);
2496 return offset;
2499 static int
2500 srvsvc_dissect_element_NetCharDevCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2502 struct ndr_generic_array nga = { .is_conformant = false, };
2504 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2506 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetCharDevCtr1_array__);
2508 return offset;
2511 static int
2512 srvsvc_dissect_element_NetCharDevCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2514 offset = srvsvc_dissect_struct_NetCharDevInfo1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetCharDevCtr1_array,0);
2516 return offset;
2520 srvsvc_dissect_struct_NetCharDevCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
2522 proto_item *item = NULL;
2523 proto_tree *tree = NULL;
2524 int old_offset;
2526 ALIGN_TO_5_BYTES;
2528 old_offset = offset;
2530 if (parent_tree) {
2531 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2532 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetCharDevCtr1);
2535 offset = srvsvc_dissect_element_NetCharDevCtr1_count(tvb, offset, pinfo, tree, di, drep);
2537 offset = srvsvc_dissect_element_NetCharDevCtr1_array(tvb, offset, pinfo, tree, di, drep);
2540 proto_item_set_len(item, offset-old_offset);
2543 if (di->call_data->flags & DCERPC_IS_NDR64) {
2544 ALIGN_TO_5_BYTES;
2547 return offset;
2551 /* IDL: union { */
2552 /* IDL: [case(0)] [case(0)] [unique(1)] srvsvc_NetCharDevInfo0 *info0; */
2553 /* IDL: [case(1)] [case(1)] [unique(1)] srvsvc_NetCharDevInfo1 *info1; */
2554 /* IDL: [default] ; */
2555 /* IDL: } */
2557 static int
2558 srvsvc_dissect_element_NetCharDevInfo_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2560 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevInfo_info0_, NDR_POINTER_UNIQUE, "Pointer to Info0 (srvsvc_NetCharDevInfo0)",hf_srvsvc_srvsvc_NetCharDevInfo_info0);
2562 return offset;
2565 static int
2566 srvsvc_dissect_element_NetCharDevInfo_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2568 offset = srvsvc_dissect_struct_NetCharDevInfo0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetCharDevInfo_info0,0);
2570 return offset;
2573 static int
2574 srvsvc_dissect_element_NetCharDevInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2576 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevInfo_info1_, NDR_POINTER_UNIQUE, "Pointer to Info1 (srvsvc_NetCharDevInfo1)",hf_srvsvc_srvsvc_NetCharDevInfo_info1);
2578 return offset;
2581 static int
2582 srvsvc_dissect_element_NetCharDevInfo_info1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2584 offset = srvsvc_dissect_struct_NetCharDevInfo1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetCharDevInfo_info1,0);
2586 return offset;
2589 static int
2590 srvsvc_dissect_NetCharDevInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
2592 proto_item *item = NULL;
2593 proto_tree *tree = NULL;
2594 int old_offset;
2595 uint32_t level;
2597 old_offset = offset;
2598 if (parent_tree) {
2599 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_srvsvc_srvsvc_NetCharDevInfo, &item, "srvsvc_NetCharDevInfo");
2602 UNION_ALIGN_TO_5_BYTES;
2603 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
2604 UNION_ALIGN_TO_5_BYTES;
2606 switch(level) {
2607 case 0:
2608 offset = srvsvc_dissect_element_NetCharDevInfo_info0(tvb, offset, pinfo, tree, di, drep);
2609 break;
2611 case 1:
2612 offset = srvsvc_dissect_element_NetCharDevInfo_info1(tvb, offset, pinfo, tree, di, drep);
2613 break;
2615 default:
2616 break;
2618 proto_item_set_len(item, offset-old_offset);
2621 return offset;
2624 /* IDL: union { */
2625 /* IDL: [case(0)] [case(0)] [unique(1)] srvsvc_NetCharDevCtr0 *ctr0; */
2626 /* IDL: [case(1)] [case(1)] [unique(1)] srvsvc_NetCharDevCtr1 *ctr1; */
2627 /* IDL: [default] ; */
2628 /* IDL: } */
2630 static int
2631 srvsvc_dissect_element_NetCharDevCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2633 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevCtr_ctr0_, NDR_POINTER_UNIQUE, "Pointer to Ctr0 (srvsvc_NetCharDevCtr0)",hf_srvsvc_srvsvc_NetCharDevCtr_ctr0);
2635 return offset;
2638 static int
2639 srvsvc_dissect_element_NetCharDevCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2641 offset = srvsvc_dissect_struct_NetCharDevCtr0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetCharDevCtr_ctr0,0);
2643 return offset;
2646 static int
2647 srvsvc_dissect_element_NetCharDevCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2649 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevCtr_ctr1_, NDR_POINTER_UNIQUE, "Pointer to Ctr1 (srvsvc_NetCharDevCtr1)",hf_srvsvc_srvsvc_NetCharDevCtr_ctr1);
2651 return offset;
2654 static int
2655 srvsvc_dissect_element_NetCharDevCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2657 offset = srvsvc_dissect_struct_NetCharDevCtr1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetCharDevCtr_ctr1,0);
2659 return offset;
2662 static int
2663 srvsvc_dissect_NetCharDevCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
2665 proto_item *item = NULL;
2666 proto_tree *tree = NULL;
2667 int old_offset;
2668 uint32_t level;
2670 old_offset = offset;
2671 if (parent_tree) {
2672 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_srvsvc_srvsvc_NetCharDevCtr, &item, "srvsvc_NetCharDevCtr");
2675 UNION_ALIGN_TO_5_BYTES;
2676 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
2677 UNION_ALIGN_TO_5_BYTES;
2679 switch(level) {
2680 case 0:
2681 offset = srvsvc_dissect_element_NetCharDevCtr_ctr0(tvb, offset, pinfo, tree, di, drep);
2682 break;
2684 case 1:
2685 offset = srvsvc_dissect_element_NetCharDevCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
2686 break;
2688 default:
2689 break;
2691 proto_item_set_len(item, offset-old_offset);
2694 return offset;
2697 /* IDL: struct { */
2698 /* IDL: uint32 level; */
2699 /* IDL: [switch_is(level)] srvsvc_NetCharDevCtr ctr; */
2700 /* IDL: } */
2702 static int
2703 srvsvc_dissect_element_NetCharDevInfoCtr_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *level)
2705 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevInfoCtr_level, *level);
2707 return offset;
2710 static int
2711 srvsvc_dissect_element_NetCharDevInfoCtr_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t level)
2713 offset = srvsvc_dissect_NetCharDevCtr(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevInfoCtr_ctr, level);
2715 return offset;
2719 srvsvc_dissect_struct_NetCharDevInfoCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
2721 uint32_t level = 0;
2722 proto_item *item = NULL;
2723 proto_tree *tree = NULL;
2724 int old_offset;
2726 ALIGN_TO_5_BYTES;
2728 old_offset = offset;
2730 if (parent_tree) {
2731 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2732 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetCharDevInfoCtr);
2735 offset = srvsvc_dissect_element_NetCharDevInfoCtr_level(tvb, offset, pinfo, tree, di, drep, &level);
2737 offset = srvsvc_dissect_element_NetCharDevInfoCtr_ctr(tvb, offset, pinfo, tree, di, drep, level);
2740 proto_item_set_len(item, offset-old_offset);
2743 if (di->call_data->flags & DCERPC_IS_NDR64) {
2744 ALIGN_TO_5_BYTES;
2747 return offset;
2751 /* IDL: struct { */
2752 /* IDL: [charset(UTF16)] [unique(1)] uint16 *device; */
2753 /* IDL: } */
2755 static int
2756 srvsvc_dissect_element_NetCharDevQInfo0_device(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2758 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQInfo0_device_, NDR_POINTER_UNIQUE, "Pointer to Device (uint16)",hf_srvsvc_srvsvc_NetCharDevQInfo0_device);
2760 return offset;
2763 static int
2764 srvsvc_dissect_element_NetCharDevQInfo0_device_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2766 char *data = NULL;
2767 struct ndr_generic_array nga = { .is_conformant = false, };
2769 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2771 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2772 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQInfo0_device, false, &nga, &data);
2773 proto_item_append_text(tree, ": %s", data);
2775 return offset;
2779 srvsvc_dissect_struct_NetCharDevQInfo0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
2781 proto_item *item = NULL;
2782 proto_tree *tree = NULL;
2783 int old_offset;
2785 ALIGN_TO_5_BYTES;
2787 old_offset = offset;
2789 if (parent_tree) {
2790 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2791 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetCharDevQInfo0);
2794 offset = srvsvc_dissect_element_NetCharDevQInfo0_device(tvb, offset, pinfo, tree, di, drep);
2797 proto_item_set_len(item, offset-old_offset);
2800 if (di->call_data->flags & DCERPC_IS_NDR64) {
2801 ALIGN_TO_5_BYTES;
2804 return offset;
2808 /* IDL: struct { */
2809 /* IDL: uint32 count; */
2810 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetCharDevQInfo0 *array; */
2811 /* IDL: } */
2813 static int
2814 srvsvc_dissect_element_NetCharDevQCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2816 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQCtr0_count, 0);
2818 return offset;
2821 static int
2822 srvsvc_dissect_element_NetCharDevQCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2824 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQCtr0_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetCharDevQInfo0)",hf_srvsvc_srvsvc_NetCharDevQCtr0_array);
2826 return offset;
2829 static int
2830 srvsvc_dissect_element_NetCharDevQCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2832 struct ndr_generic_array nga = { .is_conformant = false, };
2834 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2836 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetCharDevQCtr0_array__);
2838 return offset;
2841 static int
2842 srvsvc_dissect_element_NetCharDevQCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2844 offset = srvsvc_dissect_struct_NetCharDevQInfo0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetCharDevQCtr0_array,0);
2846 return offset;
2850 srvsvc_dissect_struct_NetCharDevQCtr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
2852 proto_item *item = NULL;
2853 proto_tree *tree = NULL;
2854 int old_offset;
2856 ALIGN_TO_5_BYTES;
2858 old_offset = offset;
2860 if (parent_tree) {
2861 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2862 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetCharDevQCtr0);
2865 offset = srvsvc_dissect_element_NetCharDevQCtr0_count(tvb, offset, pinfo, tree, di, drep);
2867 offset = srvsvc_dissect_element_NetCharDevQCtr0_array(tvb, offset, pinfo, tree, di, drep);
2870 proto_item_set_len(item, offset-old_offset);
2873 if (di->call_data->flags & DCERPC_IS_NDR64) {
2874 ALIGN_TO_5_BYTES;
2877 return offset;
2881 /* IDL: struct { */
2882 /* IDL: [charset(UTF16)] [unique(1)] uint16 *device; */
2883 /* IDL: uint32 priority; */
2884 /* IDL: [charset(UTF16)] [unique(1)] uint16 *devices; */
2885 /* IDL: uint32 users; */
2886 /* IDL: uint32 num_ahead; */
2887 /* IDL: } */
2889 static int
2890 srvsvc_dissect_element_NetCharDevQInfo1_device(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2892 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQInfo1_device_, NDR_POINTER_UNIQUE, "Pointer to Device (uint16)",hf_srvsvc_srvsvc_NetCharDevQInfo1_device);
2894 return offset;
2897 static int
2898 srvsvc_dissect_element_NetCharDevQInfo1_device_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2900 char *data = NULL;
2901 struct ndr_generic_array nga = { .is_conformant = false, };
2903 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2905 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2906 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQInfo1_device, false, &nga, &data);
2907 proto_item_append_text(tree, ": %s", data);
2909 return offset;
2912 static int
2913 srvsvc_dissect_element_NetCharDevQInfo1_priority(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2915 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQInfo1_priority, 0);
2917 return offset;
2920 static int
2921 srvsvc_dissect_element_NetCharDevQInfo1_devices(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2923 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQInfo1_devices_, NDR_POINTER_UNIQUE, "Pointer to Devices (uint16)",hf_srvsvc_srvsvc_NetCharDevQInfo1_devices);
2925 return offset;
2928 static int
2929 srvsvc_dissect_element_NetCharDevQInfo1_devices_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2931 char *data = NULL;
2932 struct ndr_generic_array nga = { .is_conformant = false, };
2934 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2936 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2937 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQInfo1_devices, false, &nga, &data);
2938 proto_item_append_text(tree, ": %s", data);
2940 return offset;
2943 static int
2944 srvsvc_dissect_element_NetCharDevQInfo1_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2946 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQInfo1_users, 0);
2948 return offset;
2951 static int
2952 srvsvc_dissect_element_NetCharDevQInfo1_num_ahead(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2954 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQInfo1_num_ahead, 0);
2956 return offset;
2960 srvsvc_dissect_struct_NetCharDevQInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
2962 proto_item *item = NULL;
2963 proto_tree *tree = NULL;
2964 int old_offset;
2966 ALIGN_TO_5_BYTES;
2968 old_offset = offset;
2970 if (parent_tree) {
2971 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2972 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetCharDevQInfo1);
2975 offset = srvsvc_dissect_element_NetCharDevQInfo1_device(tvb, offset, pinfo, tree, di, drep);
2977 offset = srvsvc_dissect_element_NetCharDevQInfo1_priority(tvb, offset, pinfo, tree, di, drep);
2979 offset = srvsvc_dissect_element_NetCharDevQInfo1_devices(tvb, offset, pinfo, tree, di, drep);
2981 offset = srvsvc_dissect_element_NetCharDevQInfo1_users(tvb, offset, pinfo, tree, di, drep);
2983 offset = srvsvc_dissect_element_NetCharDevQInfo1_num_ahead(tvb, offset, pinfo, tree, di, drep);
2986 proto_item_set_len(item, offset-old_offset);
2989 if (di->call_data->flags & DCERPC_IS_NDR64) {
2990 ALIGN_TO_5_BYTES;
2993 return offset;
2997 /* IDL: struct { */
2998 /* IDL: uint32 count; */
2999 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetCharDevQInfo1 *array; */
3000 /* IDL: } */
3002 static int
3003 srvsvc_dissect_element_NetCharDevQCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3005 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQCtr1_count, 0);
3007 return offset;
3010 static int
3011 srvsvc_dissect_element_NetCharDevQCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3013 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQCtr1_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetCharDevQInfo1)",hf_srvsvc_srvsvc_NetCharDevQCtr1_array);
3015 return offset;
3018 static int
3019 srvsvc_dissect_element_NetCharDevQCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3021 struct ndr_generic_array nga = { .is_conformant = false, };
3023 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3025 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetCharDevQCtr1_array__);
3027 return offset;
3030 static int
3031 srvsvc_dissect_element_NetCharDevQCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3033 offset = srvsvc_dissect_struct_NetCharDevQInfo1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetCharDevQCtr1_array,0);
3035 return offset;
3039 srvsvc_dissect_struct_NetCharDevQCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
3041 proto_item *item = NULL;
3042 proto_tree *tree = NULL;
3043 int old_offset;
3045 ALIGN_TO_5_BYTES;
3047 old_offset = offset;
3049 if (parent_tree) {
3050 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3051 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetCharDevQCtr1);
3054 offset = srvsvc_dissect_element_NetCharDevQCtr1_count(tvb, offset, pinfo, tree, di, drep);
3056 offset = srvsvc_dissect_element_NetCharDevQCtr1_array(tvb, offset, pinfo, tree, di, drep);
3059 proto_item_set_len(item, offset-old_offset);
3062 if (di->call_data->flags & DCERPC_IS_NDR64) {
3063 ALIGN_TO_5_BYTES;
3066 return offset;
3070 /* IDL: union { */
3071 /* IDL: [case(0)] [case(0)] [unique(1)] srvsvc_NetCharDevQInfo0 *info0; */
3072 /* IDL: [case(1)] [case(1)] [unique(1)] srvsvc_NetCharDevQInfo1 *info1; */
3073 /* IDL: [default] ; */
3074 /* IDL: } */
3076 static int
3077 srvsvc_dissect_element_NetCharDevQInfo_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3079 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQInfo_info0_, NDR_POINTER_UNIQUE, "Pointer to Info0 (srvsvc_NetCharDevQInfo0)",hf_srvsvc_srvsvc_NetCharDevQInfo_info0);
3081 return offset;
3084 static int
3085 srvsvc_dissect_element_NetCharDevQInfo_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3087 offset = srvsvc_dissect_struct_NetCharDevQInfo0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetCharDevQInfo_info0,0);
3089 return offset;
3092 static int
3093 srvsvc_dissect_element_NetCharDevQInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3095 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQInfo_info1_, NDR_POINTER_UNIQUE, "Pointer to Info1 (srvsvc_NetCharDevQInfo1)",hf_srvsvc_srvsvc_NetCharDevQInfo_info1);
3097 return offset;
3100 static int
3101 srvsvc_dissect_element_NetCharDevQInfo_info1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3103 offset = srvsvc_dissect_struct_NetCharDevQInfo1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetCharDevQInfo_info1,0);
3105 return offset;
3108 static int
3109 srvsvc_dissect_NetCharDevQInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
3111 proto_item *item = NULL;
3112 proto_tree *tree = NULL;
3113 int old_offset;
3114 uint32_t level;
3116 old_offset = offset;
3117 if (parent_tree) {
3118 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_srvsvc_srvsvc_NetCharDevQInfo, &item, "srvsvc_NetCharDevQInfo");
3121 UNION_ALIGN_TO_5_BYTES;
3122 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
3123 UNION_ALIGN_TO_5_BYTES;
3125 switch(level) {
3126 case 0:
3127 offset = srvsvc_dissect_element_NetCharDevQInfo_info0(tvb, offset, pinfo, tree, di, drep);
3128 break;
3130 case 1:
3131 offset = srvsvc_dissect_element_NetCharDevQInfo_info1(tvb, offset, pinfo, tree, di, drep);
3132 break;
3134 default:
3135 break;
3137 proto_item_set_len(item, offset-old_offset);
3140 return offset;
3143 /* IDL: union { */
3144 /* IDL: [case(0)] [case(0)] [unique(1)] srvsvc_NetCharDevQCtr0 *ctr0; */
3145 /* IDL: [case(1)] [case(1)] [unique(1)] srvsvc_NetCharDevQCtr1 *ctr1; */
3146 /* IDL: [default] ; */
3147 /* IDL: } */
3149 static int
3150 srvsvc_dissect_element_NetCharDevQCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3152 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQCtr_ctr0_, NDR_POINTER_UNIQUE, "Pointer to Ctr0 (srvsvc_NetCharDevQCtr0)",hf_srvsvc_srvsvc_NetCharDevQCtr_ctr0);
3154 return offset;
3157 static int
3158 srvsvc_dissect_element_NetCharDevQCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3160 offset = srvsvc_dissect_struct_NetCharDevQCtr0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetCharDevQCtr_ctr0,0);
3162 return offset;
3165 static int
3166 srvsvc_dissect_element_NetCharDevQCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3168 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQCtr_ctr1_, NDR_POINTER_UNIQUE, "Pointer to Ctr1 (srvsvc_NetCharDevQCtr1)",hf_srvsvc_srvsvc_NetCharDevQCtr_ctr1);
3170 return offset;
3173 static int
3174 srvsvc_dissect_element_NetCharDevQCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3176 offset = srvsvc_dissect_struct_NetCharDevQCtr1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetCharDevQCtr_ctr1,0);
3178 return offset;
3181 static int
3182 srvsvc_dissect_NetCharDevQCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
3184 proto_item *item = NULL;
3185 proto_tree *tree = NULL;
3186 int old_offset;
3187 uint32_t level;
3189 old_offset = offset;
3190 if (parent_tree) {
3191 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_srvsvc_srvsvc_NetCharDevQCtr, &item, "srvsvc_NetCharDevQCtr");
3194 UNION_ALIGN_TO_5_BYTES;
3195 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
3196 UNION_ALIGN_TO_5_BYTES;
3198 switch(level) {
3199 case 0:
3200 offset = srvsvc_dissect_element_NetCharDevQCtr_ctr0(tvb, offset, pinfo, tree, di, drep);
3201 break;
3203 case 1:
3204 offset = srvsvc_dissect_element_NetCharDevQCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
3205 break;
3207 default:
3208 break;
3210 proto_item_set_len(item, offset-old_offset);
3213 return offset;
3216 /* IDL: struct { */
3217 /* IDL: uint32 level; */
3218 /* IDL: [switch_is(level)] srvsvc_NetCharDevQCtr ctr; */
3219 /* IDL: } */
3221 static int
3222 srvsvc_dissect_element_NetCharDevQInfoCtr_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *level)
3224 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQInfoCtr_level, *level);
3226 return offset;
3229 static int
3230 srvsvc_dissect_element_NetCharDevQInfoCtr_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t level)
3232 offset = srvsvc_dissect_NetCharDevQCtr(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQInfoCtr_ctr, level);
3234 return offset;
3238 srvsvc_dissect_struct_NetCharDevQInfoCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
3240 uint32_t level = 0;
3241 proto_item *item = NULL;
3242 proto_tree *tree = NULL;
3243 int old_offset;
3245 ALIGN_TO_5_BYTES;
3247 old_offset = offset;
3249 if (parent_tree) {
3250 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3251 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetCharDevQInfoCtr);
3254 offset = srvsvc_dissect_element_NetCharDevQInfoCtr_level(tvb, offset, pinfo, tree, di, drep, &level);
3256 offset = srvsvc_dissect_element_NetCharDevQInfoCtr_ctr(tvb, offset, pinfo, tree, di, drep, level);
3259 proto_item_set_len(item, offset-old_offset);
3262 if (di->call_data->flags & DCERPC_IS_NDR64) {
3263 ALIGN_TO_5_BYTES;
3266 return offset;
3270 /* IDL: struct { */
3271 /* IDL: uint32 conn_id; */
3272 /* IDL: } */
3274 static int
3275 srvsvc_dissect_element_NetConnInfo0_conn_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3277 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetConnInfo0_conn_id, 0);
3279 return offset;
3283 srvsvc_dissect_struct_NetConnInfo0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
3285 proto_item *item = NULL;
3286 proto_tree *tree = NULL;
3287 int old_offset;
3289 ALIGN_TO_4_BYTES;
3291 old_offset = offset;
3293 if (parent_tree) {
3294 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3295 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetConnInfo0);
3298 offset = srvsvc_dissect_element_NetConnInfo0_conn_id(tvb, offset, pinfo, tree, di, drep);
3301 proto_item_set_len(item, offset-old_offset);
3304 if (di->call_data->flags & DCERPC_IS_NDR64) {
3305 ALIGN_TO_4_BYTES;
3308 return offset;
3312 /* IDL: struct { */
3313 /* IDL: uint32 count; */
3314 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetConnInfo0 *array; */
3315 /* IDL: } */
3317 static int
3318 srvsvc_dissect_element_NetConnCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3320 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetConnCtr0_count, 0);
3322 return offset;
3325 static int
3326 srvsvc_dissect_element_NetConnCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3328 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetConnCtr0_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetConnInfo0)",hf_srvsvc_srvsvc_NetConnCtr0_array);
3330 return offset;
3333 static int
3334 srvsvc_dissect_element_NetConnCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3336 struct ndr_generic_array nga = { .is_conformant = false, };
3338 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3340 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetConnCtr0_array__);
3342 return offset;
3345 static int
3346 srvsvc_dissect_element_NetConnCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3348 offset = srvsvc_dissect_struct_NetConnInfo0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetConnCtr0_array,0);
3350 return offset;
3354 srvsvc_dissect_struct_NetConnCtr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
3356 proto_item *item = NULL;
3357 proto_tree *tree = NULL;
3358 int old_offset;
3360 ALIGN_TO_5_BYTES;
3362 old_offset = offset;
3364 if (parent_tree) {
3365 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3366 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetConnCtr0);
3369 offset = srvsvc_dissect_element_NetConnCtr0_count(tvb, offset, pinfo, tree, di, drep);
3371 offset = srvsvc_dissect_element_NetConnCtr0_array(tvb, offset, pinfo, tree, di, drep);
3374 proto_item_set_len(item, offset-old_offset);
3377 if (di->call_data->flags & DCERPC_IS_NDR64) {
3378 ALIGN_TO_5_BYTES;
3381 return offset;
3385 /* IDL: struct { */
3386 /* IDL: uint32 conn_id; */
3387 /* IDL: uint32 conn_type; */
3388 /* IDL: uint32 num_open; */
3389 /* IDL: uint32 num_users; */
3390 /* IDL: uint32 conn_time; */
3391 /* IDL: [charset(UTF16)] [unique(1)] uint16 *user; */
3392 /* IDL: [charset(UTF16)] [unique(1)] uint16 *share; */
3393 /* IDL: } */
3395 static int
3396 srvsvc_dissect_element_NetConnInfo1_conn_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3398 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetConnInfo1_conn_id, 0);
3400 return offset;
3403 static int
3404 srvsvc_dissect_element_NetConnInfo1_conn_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3406 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetConnInfo1_conn_type, 0);
3408 return offset;
3411 static int
3412 srvsvc_dissect_element_NetConnInfo1_num_open(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3414 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetConnInfo1_num_open, 0);
3416 return offset;
3419 static int
3420 srvsvc_dissect_element_NetConnInfo1_num_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3422 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetConnInfo1_num_users, 0);
3424 return offset;
3427 static int
3428 srvsvc_dissect_element_NetConnInfo1_conn_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3430 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetConnInfo1_conn_time, 0);
3432 return offset;
3435 static int
3436 srvsvc_dissect_element_NetConnInfo1_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3438 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetConnInfo1_user_, NDR_POINTER_UNIQUE, "Pointer to User (uint16)",hf_srvsvc_srvsvc_NetConnInfo1_user);
3440 return offset;
3443 static int
3444 srvsvc_dissect_element_NetConnInfo1_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3446 char *data = NULL;
3447 struct ndr_generic_array nga = { .is_conformant = false, };
3449 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3451 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3452 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetConnInfo1_user, false, &nga, &data);
3453 proto_item_append_text(tree, ": %s", data);
3455 return offset;
3458 static int
3459 srvsvc_dissect_element_NetConnInfo1_share(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3461 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetConnInfo1_share_, NDR_POINTER_UNIQUE, "Pointer to Share (uint16)",hf_srvsvc_srvsvc_NetConnInfo1_share);
3463 return offset;
3466 static int
3467 srvsvc_dissect_element_NetConnInfo1_share_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3469 char *data = NULL;
3470 struct ndr_generic_array nga = { .is_conformant = false, };
3472 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3474 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3475 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetConnInfo1_share, false, &nga, &data);
3476 proto_item_append_text(tree, ": %s", data);
3478 return offset;
3482 srvsvc_dissect_struct_NetConnInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
3484 proto_item *item = NULL;
3485 proto_tree *tree = NULL;
3486 int old_offset;
3488 ALIGN_TO_5_BYTES;
3490 old_offset = offset;
3492 if (parent_tree) {
3493 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3494 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetConnInfo1);
3497 offset = srvsvc_dissect_element_NetConnInfo1_conn_id(tvb, offset, pinfo, tree, di, drep);
3499 offset = srvsvc_dissect_element_NetConnInfo1_conn_type(tvb, offset, pinfo, tree, di, drep);
3501 offset = srvsvc_dissect_element_NetConnInfo1_num_open(tvb, offset, pinfo, tree, di, drep);
3503 offset = srvsvc_dissect_element_NetConnInfo1_num_users(tvb, offset, pinfo, tree, di, drep);
3505 offset = srvsvc_dissect_element_NetConnInfo1_conn_time(tvb, offset, pinfo, tree, di, drep);
3507 offset = srvsvc_dissect_element_NetConnInfo1_user(tvb, offset, pinfo, tree, di, drep);
3509 offset = srvsvc_dissect_element_NetConnInfo1_share(tvb, offset, pinfo, tree, di, drep);
3512 proto_item_set_len(item, offset-old_offset);
3515 if (di->call_data->flags & DCERPC_IS_NDR64) {
3516 ALIGN_TO_5_BYTES;
3519 return offset;
3523 /* IDL: struct { */
3524 /* IDL: uint32 count; */
3525 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetConnInfo1 *array; */
3526 /* IDL: } */
3528 static int
3529 srvsvc_dissect_element_NetConnCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3531 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetConnCtr1_count, 0);
3533 return offset;
3536 static int
3537 srvsvc_dissect_element_NetConnCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3539 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetConnCtr1_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetConnInfo1)",hf_srvsvc_srvsvc_NetConnCtr1_array);
3541 return offset;
3544 static int
3545 srvsvc_dissect_element_NetConnCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3547 struct ndr_generic_array nga = { .is_conformant = false, };
3549 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3551 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetConnCtr1_array__);
3553 return offset;
3556 static int
3557 srvsvc_dissect_element_NetConnCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3559 offset = srvsvc_dissect_struct_NetConnInfo1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetConnCtr1_array,0);
3561 return offset;
3565 srvsvc_dissect_struct_NetConnCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
3567 proto_item *item = NULL;
3568 proto_tree *tree = NULL;
3569 int old_offset;
3571 ALIGN_TO_5_BYTES;
3573 old_offset = offset;
3575 if (parent_tree) {
3576 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3577 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetConnCtr1);
3580 offset = srvsvc_dissect_element_NetConnCtr1_count(tvb, offset, pinfo, tree, di, drep);
3582 offset = srvsvc_dissect_element_NetConnCtr1_array(tvb, offset, pinfo, tree, di, drep);
3585 proto_item_set_len(item, offset-old_offset);
3588 if (di->call_data->flags & DCERPC_IS_NDR64) {
3589 ALIGN_TO_5_BYTES;
3592 return offset;
3596 /* IDL: union { */
3597 /* IDL: [case(0)] [case(0)] [unique(1)] srvsvc_NetConnCtr0 *ctr0; */
3598 /* IDL: [case(1)] [case(1)] [unique(1)] srvsvc_NetConnCtr1 *ctr1; */
3599 /* IDL: [default] ; */
3600 /* IDL: } */
3602 static int
3603 srvsvc_dissect_element_NetConnCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3605 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetConnCtr_ctr0_, NDR_POINTER_UNIQUE, "Pointer to Ctr0 (srvsvc_NetConnCtr0)",hf_srvsvc_srvsvc_NetConnCtr_ctr0);
3607 return offset;
3610 static int
3611 srvsvc_dissect_element_NetConnCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3613 offset = srvsvc_dissect_struct_NetConnCtr0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetConnCtr_ctr0,0);
3615 return offset;
3618 static int
3619 srvsvc_dissect_element_NetConnCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3621 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetConnCtr_ctr1_, NDR_POINTER_UNIQUE, "Pointer to Ctr1 (srvsvc_NetConnCtr1)",hf_srvsvc_srvsvc_NetConnCtr_ctr1);
3623 return offset;
3626 static int
3627 srvsvc_dissect_element_NetConnCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3629 offset = srvsvc_dissect_struct_NetConnCtr1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetConnCtr_ctr1,0);
3631 return offset;
3634 static int
3635 srvsvc_dissect_NetConnCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
3637 proto_item *item = NULL;
3638 proto_tree *tree = NULL;
3639 int old_offset;
3640 uint32_t level;
3642 old_offset = offset;
3643 if (parent_tree) {
3644 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_srvsvc_srvsvc_NetConnCtr, &item, "srvsvc_NetConnCtr");
3647 UNION_ALIGN_TO_5_BYTES;
3648 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
3649 UNION_ALIGN_TO_5_BYTES;
3651 switch(level) {
3652 case 0:
3653 offset = srvsvc_dissect_element_NetConnCtr_ctr0(tvb, offset, pinfo, tree, di, drep);
3654 break;
3656 case 1:
3657 offset = srvsvc_dissect_element_NetConnCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
3658 break;
3660 default:
3661 break;
3663 proto_item_set_len(item, offset-old_offset);
3666 return offset;
3669 /* IDL: struct { */
3670 /* IDL: uint32 level; */
3671 /* IDL: [switch_is(level)] srvsvc_NetConnCtr ctr; */
3672 /* IDL: } */
3674 static int
3675 srvsvc_dissect_element_NetConnInfoCtr_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *level)
3677 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetConnInfoCtr_level, *level);
3679 return offset;
3682 static int
3683 srvsvc_dissect_element_NetConnInfoCtr_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t level)
3685 offset = srvsvc_dissect_NetConnCtr(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetConnInfoCtr_ctr, level);
3687 return offset;
3691 srvsvc_dissect_struct_NetConnInfoCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
3693 uint32_t level = 0;
3694 proto_item *item = NULL;
3695 proto_tree *tree = NULL;
3696 int old_offset;
3698 ALIGN_TO_5_BYTES;
3700 old_offset = offset;
3702 if (parent_tree) {
3703 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3704 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetConnInfoCtr);
3707 offset = srvsvc_dissect_element_NetConnInfoCtr_level(tvb, offset, pinfo, tree, di, drep, &level);
3709 offset = srvsvc_dissect_element_NetConnInfoCtr_ctr(tvb, offset, pinfo, tree, di, drep, level);
3712 proto_item_set_len(item, offset-old_offset);
3715 if (di->call_data->flags & DCERPC_IS_NDR64) {
3716 ALIGN_TO_5_BYTES;
3719 return offset;
3723 /* IDL: struct { */
3724 /* IDL: uint32 fid; */
3725 /* IDL: } */
3727 static int
3728 srvsvc_dissect_element_NetFileInfo2_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3730 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileInfo2_fid, 0);
3732 return offset;
3736 srvsvc_dissect_struct_NetFileInfo2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
3738 proto_item *item = NULL;
3739 proto_tree *tree = NULL;
3740 int old_offset;
3742 ALIGN_TO_4_BYTES;
3744 old_offset = offset;
3746 if (parent_tree) {
3747 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3748 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetFileInfo2);
3751 offset = srvsvc_dissect_element_NetFileInfo2_fid(tvb, offset, pinfo, tree, di, drep);
3754 proto_item_set_len(item, offset-old_offset);
3757 if (di->call_data->flags & DCERPC_IS_NDR64) {
3758 ALIGN_TO_4_BYTES;
3761 return offset;
3765 /* IDL: struct { */
3766 /* IDL: uint32 count; */
3767 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetFileInfo2 *array; */
3768 /* IDL: } */
3770 static int
3771 srvsvc_dissect_element_NetFileCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3773 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileCtr2_count, 0);
3775 return offset;
3778 static int
3779 srvsvc_dissect_element_NetFileCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3781 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileCtr2_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetFileInfo2)",hf_srvsvc_srvsvc_NetFileCtr2_array);
3783 return offset;
3786 static int
3787 srvsvc_dissect_element_NetFileCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3789 struct ndr_generic_array nga = { .is_conformant = false, };
3791 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3793 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetFileCtr2_array__);
3795 return offset;
3798 static int
3799 srvsvc_dissect_element_NetFileCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3801 offset = srvsvc_dissect_struct_NetFileInfo2(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetFileCtr2_array,0);
3803 return offset;
3807 srvsvc_dissect_struct_NetFileCtr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
3809 proto_item *item = NULL;
3810 proto_tree *tree = NULL;
3811 int old_offset;
3813 ALIGN_TO_5_BYTES;
3815 old_offset = offset;
3817 if (parent_tree) {
3818 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3819 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetFileCtr2);
3822 offset = srvsvc_dissect_element_NetFileCtr2_count(tvb, offset, pinfo, tree, di, drep);
3824 offset = srvsvc_dissect_element_NetFileCtr2_array(tvb, offset, pinfo, tree, di, drep);
3827 proto_item_set_len(item, offset-old_offset);
3830 if (di->call_data->flags & DCERPC_IS_NDR64) {
3831 ALIGN_TO_5_BYTES;
3834 return offset;
3838 /* IDL: struct { */
3839 /* IDL: uint32 fid; */
3840 /* IDL: uint32 permissions; */
3841 /* IDL: uint32 num_locks; */
3842 /* IDL: [charset(UTF16)] [unique(1)] uint16 *path; */
3843 /* IDL: [charset(UTF16)] [unique(1)] uint16 *user; */
3844 /* IDL: } */
3846 static int
3847 srvsvc_dissect_element_NetFileInfo3_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3849 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileInfo3_fid, 0);
3851 return offset;
3854 static int
3855 srvsvc_dissect_element_NetFileInfo3_permissions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3857 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileInfo3_permissions, 0);
3859 return offset;
3862 static int
3863 srvsvc_dissect_element_NetFileInfo3_num_locks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3865 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileInfo3_num_locks, 0);
3867 return offset;
3870 static int
3871 srvsvc_dissect_element_NetFileInfo3_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3873 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileInfo3_path_, NDR_POINTER_UNIQUE, "Pointer to Path (uint16)",hf_srvsvc_srvsvc_NetFileInfo3_path);
3875 return offset;
3878 static int
3879 srvsvc_dissect_element_NetFileInfo3_path_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3881 char *data = NULL;
3882 struct ndr_generic_array nga = { .is_conformant = false, };
3884 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3886 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3887 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetFileInfo3_path, false, &nga, &data);
3888 proto_item_append_text(tree, ": %s", data);
3890 return offset;
3893 static int
3894 srvsvc_dissect_element_NetFileInfo3_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3896 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileInfo3_user_, NDR_POINTER_UNIQUE, "Pointer to User (uint16)",hf_srvsvc_srvsvc_NetFileInfo3_user);
3898 return offset;
3901 static int
3902 srvsvc_dissect_element_NetFileInfo3_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3904 char *data = NULL;
3905 struct ndr_generic_array nga = { .is_conformant = false, };
3907 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3909 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3910 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetFileInfo3_user, false, &nga, &data);
3911 proto_item_append_text(tree, ": %s", data);
3913 return offset;
3917 srvsvc_dissect_struct_NetFileInfo3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
3919 proto_item *item = NULL;
3920 proto_tree *tree = NULL;
3921 int old_offset;
3923 ALIGN_TO_5_BYTES;
3925 old_offset = offset;
3927 if (parent_tree) {
3928 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3929 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetFileInfo3);
3932 offset = srvsvc_dissect_element_NetFileInfo3_fid(tvb, offset, pinfo, tree, di, drep);
3934 offset = srvsvc_dissect_element_NetFileInfo3_permissions(tvb, offset, pinfo, tree, di, drep);
3936 offset = srvsvc_dissect_element_NetFileInfo3_num_locks(tvb, offset, pinfo, tree, di, drep);
3938 offset = srvsvc_dissect_element_NetFileInfo3_path(tvb, offset, pinfo, tree, di, drep);
3940 offset = srvsvc_dissect_element_NetFileInfo3_user(tvb, offset, pinfo, tree, di, drep);
3943 proto_item_set_len(item, offset-old_offset);
3946 if (di->call_data->flags & DCERPC_IS_NDR64) {
3947 ALIGN_TO_5_BYTES;
3950 return offset;
3954 /* IDL: struct { */
3955 /* IDL: uint32 count; */
3956 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetFileInfo3 *array; */
3957 /* IDL: } */
3959 static int
3960 srvsvc_dissect_element_NetFileCtr3_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3962 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileCtr3_count, 0);
3964 return offset;
3967 static int
3968 srvsvc_dissect_element_NetFileCtr3_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3970 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileCtr3_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetFileInfo3)",hf_srvsvc_srvsvc_NetFileCtr3_array);
3972 return offset;
3975 static int
3976 srvsvc_dissect_element_NetFileCtr3_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3978 struct ndr_generic_array nga = { .is_conformant = false, };
3980 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3982 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetFileCtr3_array__);
3984 return offset;
3987 static int
3988 srvsvc_dissect_element_NetFileCtr3_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3990 offset = srvsvc_dissect_struct_NetFileInfo3(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetFileCtr3_array,0);
3992 return offset;
3996 srvsvc_dissect_struct_NetFileCtr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
3998 proto_item *item = NULL;
3999 proto_tree *tree = NULL;
4000 int old_offset;
4002 ALIGN_TO_5_BYTES;
4004 old_offset = offset;
4006 if (parent_tree) {
4007 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4008 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetFileCtr3);
4011 offset = srvsvc_dissect_element_NetFileCtr3_count(tvb, offset, pinfo, tree, di, drep);
4013 offset = srvsvc_dissect_element_NetFileCtr3_array(tvb, offset, pinfo, tree, di, drep);
4016 proto_item_set_len(item, offset-old_offset);
4019 if (di->call_data->flags & DCERPC_IS_NDR64) {
4020 ALIGN_TO_5_BYTES;
4023 return offset;
4027 /* IDL: union { */
4028 /* IDL: [case(2)] [case(2)] [unique(1)] srvsvc_NetFileInfo2 *info2; */
4029 /* IDL: [case(3)] [case(3)] [unique(1)] srvsvc_NetFileInfo3 *info3; */
4030 /* IDL: [default] ; */
4031 /* IDL: } */
4033 static int
4034 srvsvc_dissect_element_NetFileInfo_info2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4036 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileInfo_info2_, NDR_POINTER_UNIQUE, "Pointer to Info2 (srvsvc_NetFileInfo2)",hf_srvsvc_srvsvc_NetFileInfo_info2);
4038 return offset;
4041 static int
4042 srvsvc_dissect_element_NetFileInfo_info2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4044 offset = srvsvc_dissect_struct_NetFileInfo2(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetFileInfo_info2,0);
4046 return offset;
4049 static int
4050 srvsvc_dissect_element_NetFileInfo_info3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4052 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileInfo_info3_, NDR_POINTER_UNIQUE, "Pointer to Info3 (srvsvc_NetFileInfo3)",hf_srvsvc_srvsvc_NetFileInfo_info3);
4054 return offset;
4057 static int
4058 srvsvc_dissect_element_NetFileInfo_info3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4060 offset = srvsvc_dissect_struct_NetFileInfo3(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetFileInfo_info3,0);
4062 return offset;
4065 static int
4066 srvsvc_dissect_NetFileInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
4068 proto_item *item = NULL;
4069 proto_tree *tree = NULL;
4070 int old_offset;
4071 uint32_t level;
4073 old_offset = offset;
4074 if (parent_tree) {
4075 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_srvsvc_srvsvc_NetFileInfo, &item, "srvsvc_NetFileInfo");
4078 UNION_ALIGN_TO_5_BYTES;
4079 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
4080 UNION_ALIGN_TO_5_BYTES;
4082 switch(level) {
4083 case 2:
4084 offset = srvsvc_dissect_element_NetFileInfo_info2(tvb, offset, pinfo, tree, di, drep);
4085 break;
4087 case 3:
4088 offset = srvsvc_dissect_element_NetFileInfo_info3(tvb, offset, pinfo, tree, di, drep);
4089 break;
4091 default:
4092 break;
4094 proto_item_set_len(item, offset-old_offset);
4097 return offset;
4100 /* IDL: union { */
4101 /* IDL: [case(2)] [case(2)] [unique(1)] srvsvc_NetFileCtr2 *ctr2; */
4102 /* IDL: [case(3)] [case(3)] [unique(1)] srvsvc_NetFileCtr3 *ctr3; */
4103 /* IDL: [default] ; */
4104 /* IDL: } */
4106 static int
4107 srvsvc_dissect_element_NetFileCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4109 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileCtr_ctr2_, NDR_POINTER_UNIQUE, "Pointer to Ctr2 (srvsvc_NetFileCtr2)",hf_srvsvc_srvsvc_NetFileCtr_ctr2);
4111 return offset;
4114 static int
4115 srvsvc_dissect_element_NetFileCtr_ctr2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4117 offset = srvsvc_dissect_struct_NetFileCtr2(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetFileCtr_ctr2,0);
4119 return offset;
4122 static int
4123 srvsvc_dissect_element_NetFileCtr_ctr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4125 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileCtr_ctr3_, NDR_POINTER_UNIQUE, "Pointer to Ctr3 (srvsvc_NetFileCtr3)",hf_srvsvc_srvsvc_NetFileCtr_ctr3);
4127 return offset;
4130 static int
4131 srvsvc_dissect_element_NetFileCtr_ctr3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4133 offset = srvsvc_dissect_struct_NetFileCtr3(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetFileCtr_ctr3,0);
4135 return offset;
4138 static int
4139 srvsvc_dissect_NetFileCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
4141 proto_item *item = NULL;
4142 proto_tree *tree = NULL;
4143 int old_offset;
4144 uint32_t level;
4146 old_offset = offset;
4147 if (parent_tree) {
4148 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_srvsvc_srvsvc_NetFileCtr, &item, "srvsvc_NetFileCtr");
4151 UNION_ALIGN_TO_5_BYTES;
4152 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
4153 UNION_ALIGN_TO_5_BYTES;
4155 switch(level) {
4156 case 2:
4157 offset = srvsvc_dissect_element_NetFileCtr_ctr2(tvb, offset, pinfo, tree, di, drep);
4158 break;
4160 case 3:
4161 offset = srvsvc_dissect_element_NetFileCtr_ctr3(tvb, offset, pinfo, tree, di, drep);
4162 break;
4164 default:
4165 break;
4167 proto_item_set_len(item, offset-old_offset);
4170 return offset;
4173 /* IDL: struct { */
4174 /* IDL: uint32 level; */
4175 /* IDL: [switch_is(level)] srvsvc_NetFileCtr ctr; */
4176 /* IDL: } */
4178 static int
4179 srvsvc_dissect_element_NetFileInfoCtr_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *level)
4181 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileInfoCtr_level, *level);
4183 return offset;
4186 static int
4187 srvsvc_dissect_element_NetFileInfoCtr_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t level)
4189 offset = srvsvc_dissect_NetFileCtr(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileInfoCtr_ctr, level);
4191 return offset;
4195 srvsvc_dissect_struct_NetFileInfoCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
4197 uint32_t level = 0;
4198 proto_item *item = NULL;
4199 proto_tree *tree = NULL;
4200 int old_offset;
4202 ALIGN_TO_5_BYTES;
4204 old_offset = offset;
4206 if (parent_tree) {
4207 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4208 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetFileInfoCtr);
4211 offset = srvsvc_dissect_element_NetFileInfoCtr_level(tvb, offset, pinfo, tree, di, drep, &level);
4213 offset = srvsvc_dissect_element_NetFileInfoCtr_ctr(tvb, offset, pinfo, tree, di, drep, level);
4216 proto_item_set_len(item, offset-old_offset);
4219 if (di->call_data->flags & DCERPC_IS_NDR64) {
4220 ALIGN_TO_5_BYTES;
4223 return offset;
4227 /* IDL: struct { */
4228 /* IDL: [charset(UTF16)] [unique(1)] uint16 *client; */
4229 /* IDL: } */
4231 static int
4232 srvsvc_dissect_element_NetSessInfo0_client(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4234 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessInfo0_client_, NDR_POINTER_UNIQUE, "Pointer to Client (uint16)",hf_srvsvc_srvsvc_NetSessInfo0_client);
4236 return offset;
4239 static int
4240 srvsvc_dissect_element_NetSessInfo0_client_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4242 char *data = NULL;
4243 struct ndr_generic_array nga = { .is_conformant = false, };
4245 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4247 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4248 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessInfo0_client, false, &nga, &data);
4249 proto_item_append_text(tree, ": %s", data);
4251 return offset;
4255 srvsvc_dissect_struct_NetSessInfo0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
4257 proto_item *item = NULL;
4258 proto_tree *tree = NULL;
4259 int old_offset;
4261 ALIGN_TO_5_BYTES;
4263 old_offset = offset;
4265 if (parent_tree) {
4266 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4267 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSessInfo0);
4270 offset = srvsvc_dissect_element_NetSessInfo0_client(tvb, offset, pinfo, tree, di, drep);
4273 proto_item_set_len(item, offset-old_offset);
4276 if (di->call_data->flags & DCERPC_IS_NDR64) {
4277 ALIGN_TO_5_BYTES;
4280 return offset;
4284 /* IDL: struct { */
4285 /* IDL: uint32 count; */
4286 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetSessInfo0 *array; */
4287 /* IDL: } */
4289 static int
4290 srvsvc_dissect_element_NetSessCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4292 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessCtr0_count, 0);
4294 return offset;
4297 static int
4298 srvsvc_dissect_element_NetSessCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4300 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessCtr0_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetSessInfo0)",hf_srvsvc_srvsvc_NetSessCtr0_array);
4302 return offset;
4305 static int
4306 srvsvc_dissect_element_NetSessCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4308 struct ndr_generic_array nga = { .is_conformant = false, };
4310 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4312 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetSessCtr0_array__);
4314 return offset;
4317 static int
4318 srvsvc_dissect_element_NetSessCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4320 offset = srvsvc_dissect_struct_NetSessInfo0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSessCtr0_array,0);
4322 return offset;
4326 srvsvc_dissect_struct_NetSessCtr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
4328 proto_item *item = NULL;
4329 proto_tree *tree = NULL;
4330 int old_offset;
4332 ALIGN_TO_5_BYTES;
4334 old_offset = offset;
4336 if (parent_tree) {
4337 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4338 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSessCtr0);
4341 offset = srvsvc_dissect_element_NetSessCtr0_count(tvb, offset, pinfo, tree, di, drep);
4343 offset = srvsvc_dissect_element_NetSessCtr0_array(tvb, offset, pinfo, tree, di, drep);
4346 proto_item_set_len(item, offset-old_offset);
4349 if (di->call_data->flags & DCERPC_IS_NDR64) {
4350 ALIGN_TO_5_BYTES;
4353 return offset;
4357 /* IDL: struct { */
4358 /* IDL: [charset(UTF16)] [unique(1)] uint16 *client; */
4359 /* IDL: [charset(UTF16)] [unique(1)] uint16 *user; */
4360 /* IDL: uint32 num_open; */
4361 /* IDL: uint32 time; */
4362 /* IDL: uint32 idle_time; */
4363 /* IDL: uint32 user_flags; */
4364 /* IDL: } */
4366 static int
4367 srvsvc_dissect_element_NetSessInfo1_client(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4369 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessInfo1_client_, NDR_POINTER_UNIQUE, "Pointer to Client (uint16)",hf_srvsvc_srvsvc_NetSessInfo1_client);
4371 return offset;
4374 static int
4375 srvsvc_dissect_element_NetSessInfo1_client_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4377 char *data = NULL;
4378 struct ndr_generic_array nga = { .is_conformant = false, };
4380 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4382 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4383 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessInfo1_client, false, &nga, &data);
4384 proto_item_append_text(tree, ": %s", data);
4386 return offset;
4389 static int
4390 srvsvc_dissect_element_NetSessInfo1_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4392 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessInfo1_user_, NDR_POINTER_UNIQUE, "Pointer to User (uint16)",hf_srvsvc_srvsvc_NetSessInfo1_user);
4394 return offset;
4397 static int
4398 srvsvc_dissect_element_NetSessInfo1_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4400 char *data = NULL;
4401 struct ndr_generic_array nga = { .is_conformant = false, };
4403 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4405 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4406 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessInfo1_user, false, &nga, &data);
4407 proto_item_append_text(tree, ": %s", data);
4409 return offset;
4412 static int
4413 srvsvc_dissect_element_NetSessInfo1_num_open(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4415 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfo1_num_open, 0);
4417 return offset;
4420 static int
4421 srvsvc_dissect_element_NetSessInfo1_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4423 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfo1_time, 0);
4425 return offset;
4428 static int
4429 srvsvc_dissect_element_NetSessInfo1_idle_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4431 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfo1_idle_time, 0);
4433 return offset;
4436 static int
4437 srvsvc_dissect_element_NetSessInfo1_user_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4439 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfo1_user_flags, 0);
4441 return offset;
4445 srvsvc_dissect_struct_NetSessInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
4447 proto_item *item = NULL;
4448 proto_tree *tree = NULL;
4449 int old_offset;
4451 ALIGN_TO_5_BYTES;
4453 old_offset = offset;
4455 if (parent_tree) {
4456 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4457 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSessInfo1);
4460 offset = srvsvc_dissect_element_NetSessInfo1_client(tvb, offset, pinfo, tree, di, drep);
4462 offset = srvsvc_dissect_element_NetSessInfo1_user(tvb, offset, pinfo, tree, di, drep);
4464 offset = srvsvc_dissect_element_NetSessInfo1_num_open(tvb, offset, pinfo, tree, di, drep);
4466 offset = srvsvc_dissect_element_NetSessInfo1_time(tvb, offset, pinfo, tree, di, drep);
4468 offset = srvsvc_dissect_element_NetSessInfo1_idle_time(tvb, offset, pinfo, tree, di, drep);
4470 offset = srvsvc_dissect_element_NetSessInfo1_user_flags(tvb, offset, pinfo, tree, di, drep);
4473 proto_item_set_len(item, offset-old_offset);
4476 if (di->call_data->flags & DCERPC_IS_NDR64) {
4477 ALIGN_TO_5_BYTES;
4480 return offset;
4484 /* IDL: struct { */
4485 /* IDL: uint32 count; */
4486 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetSessInfo1 *array; */
4487 /* IDL: } */
4489 static int
4490 srvsvc_dissect_element_NetSessCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4492 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessCtr1_count, 0);
4494 return offset;
4497 static int
4498 srvsvc_dissect_element_NetSessCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4500 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessCtr1_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetSessInfo1)",hf_srvsvc_srvsvc_NetSessCtr1_array);
4502 return offset;
4505 static int
4506 srvsvc_dissect_element_NetSessCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4508 struct ndr_generic_array nga = { .is_conformant = false, };
4510 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4512 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetSessCtr1_array__);
4514 return offset;
4517 static int
4518 srvsvc_dissect_element_NetSessCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4520 offset = srvsvc_dissect_struct_NetSessInfo1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSessCtr1_array,0);
4522 return offset;
4526 srvsvc_dissect_struct_NetSessCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
4528 proto_item *item = NULL;
4529 proto_tree *tree = NULL;
4530 int old_offset;
4532 ALIGN_TO_5_BYTES;
4534 old_offset = offset;
4536 if (parent_tree) {
4537 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4538 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSessCtr1);
4541 offset = srvsvc_dissect_element_NetSessCtr1_count(tvb, offset, pinfo, tree, di, drep);
4543 offset = srvsvc_dissect_element_NetSessCtr1_array(tvb, offset, pinfo, tree, di, drep);
4546 proto_item_set_len(item, offset-old_offset);
4549 if (di->call_data->flags & DCERPC_IS_NDR64) {
4550 ALIGN_TO_5_BYTES;
4553 return offset;
4557 /* IDL: struct { */
4558 /* IDL: [charset(UTF16)] [unique(1)] uint16 *client; */
4559 /* IDL: [charset(UTF16)] [unique(1)] uint16 *user; */
4560 /* IDL: uint32 num_open; */
4561 /* IDL: uint32 time; */
4562 /* IDL: uint32 idle_time; */
4563 /* IDL: uint32 user_flags; */
4564 /* IDL: [charset(UTF16)] [unique(1)] uint16 *client_type; */
4565 /* IDL: } */
4567 static int
4568 srvsvc_dissect_element_NetSessInfo2_client(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4570 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessInfo2_client_, NDR_POINTER_UNIQUE, "Pointer to Client (uint16)",hf_srvsvc_srvsvc_NetSessInfo2_client);
4572 return offset;
4575 static int
4576 srvsvc_dissect_element_NetSessInfo2_client_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4578 char *data = NULL;
4579 struct ndr_generic_array nga = { .is_conformant = false, };
4581 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4583 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4584 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessInfo2_client, false, &nga, &data);
4585 proto_item_append_text(tree, ": %s", data);
4587 return offset;
4590 static int
4591 srvsvc_dissect_element_NetSessInfo2_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4593 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessInfo2_user_, NDR_POINTER_UNIQUE, "Pointer to User (uint16)",hf_srvsvc_srvsvc_NetSessInfo2_user);
4595 return offset;
4598 static int
4599 srvsvc_dissect_element_NetSessInfo2_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4601 char *data = NULL;
4602 struct ndr_generic_array nga = { .is_conformant = false, };
4604 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4606 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4607 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessInfo2_user, false, &nga, &data);
4608 proto_item_append_text(tree, ": %s", data);
4610 return offset;
4613 static int
4614 srvsvc_dissect_element_NetSessInfo2_num_open(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4616 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfo2_num_open, 0);
4618 return offset;
4621 static int
4622 srvsvc_dissect_element_NetSessInfo2_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4624 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfo2_time, 0);
4626 return offset;
4629 static int
4630 srvsvc_dissect_element_NetSessInfo2_idle_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4632 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfo2_idle_time, 0);
4634 return offset;
4637 static int
4638 srvsvc_dissect_element_NetSessInfo2_user_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4640 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfo2_user_flags, 0);
4642 return offset;
4645 static int
4646 srvsvc_dissect_element_NetSessInfo2_client_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4648 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessInfo2_client_type_, NDR_POINTER_UNIQUE, "Pointer to Client Type (uint16)",hf_srvsvc_srvsvc_NetSessInfo2_client_type);
4650 return offset;
4653 static int
4654 srvsvc_dissect_element_NetSessInfo2_client_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4656 char *data = NULL;
4657 struct ndr_generic_array nga = { .is_conformant = false, };
4659 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4661 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4662 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessInfo2_client_type, false, &nga, &data);
4663 proto_item_append_text(tree, ": %s", data);
4665 return offset;
4669 srvsvc_dissect_struct_NetSessInfo2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
4671 proto_item *item = NULL;
4672 proto_tree *tree = NULL;
4673 int old_offset;
4675 ALIGN_TO_5_BYTES;
4677 old_offset = offset;
4679 if (parent_tree) {
4680 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4681 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSessInfo2);
4684 offset = srvsvc_dissect_element_NetSessInfo2_client(tvb, offset, pinfo, tree, di, drep);
4686 offset = srvsvc_dissect_element_NetSessInfo2_user(tvb, offset, pinfo, tree, di, drep);
4688 offset = srvsvc_dissect_element_NetSessInfo2_num_open(tvb, offset, pinfo, tree, di, drep);
4690 offset = srvsvc_dissect_element_NetSessInfo2_time(tvb, offset, pinfo, tree, di, drep);
4692 offset = srvsvc_dissect_element_NetSessInfo2_idle_time(tvb, offset, pinfo, tree, di, drep);
4694 offset = srvsvc_dissect_element_NetSessInfo2_user_flags(tvb, offset, pinfo, tree, di, drep);
4696 offset = srvsvc_dissect_element_NetSessInfo2_client_type(tvb, offset, pinfo, tree, di, drep);
4699 proto_item_set_len(item, offset-old_offset);
4702 if (di->call_data->flags & DCERPC_IS_NDR64) {
4703 ALIGN_TO_5_BYTES;
4706 return offset;
4710 /* IDL: struct { */
4711 /* IDL: uint32 count; */
4712 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetSessInfo2 *array; */
4713 /* IDL: } */
4715 static int
4716 srvsvc_dissect_element_NetSessCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4718 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessCtr2_count, 0);
4720 return offset;
4723 static int
4724 srvsvc_dissect_element_NetSessCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4726 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessCtr2_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetSessInfo2)",hf_srvsvc_srvsvc_NetSessCtr2_array);
4728 return offset;
4731 static int
4732 srvsvc_dissect_element_NetSessCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4734 struct ndr_generic_array nga = { .is_conformant = false, };
4736 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4738 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetSessCtr2_array__);
4740 return offset;
4743 static int
4744 srvsvc_dissect_element_NetSessCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4746 offset = srvsvc_dissect_struct_NetSessInfo2(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSessCtr2_array,0);
4748 return offset;
4752 srvsvc_dissect_struct_NetSessCtr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
4754 proto_item *item = NULL;
4755 proto_tree *tree = NULL;
4756 int old_offset;
4758 ALIGN_TO_5_BYTES;
4760 old_offset = offset;
4762 if (parent_tree) {
4763 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4764 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSessCtr2);
4767 offset = srvsvc_dissect_element_NetSessCtr2_count(tvb, offset, pinfo, tree, di, drep);
4769 offset = srvsvc_dissect_element_NetSessCtr2_array(tvb, offset, pinfo, tree, di, drep);
4772 proto_item_set_len(item, offset-old_offset);
4775 if (di->call_data->flags & DCERPC_IS_NDR64) {
4776 ALIGN_TO_5_BYTES;
4779 return offset;
4783 /* IDL: struct { */
4784 /* IDL: [charset(UTF16)] [unique(1)] uint16 *client; */
4785 /* IDL: [charset(UTF16)] [unique(1)] uint16 *user; */
4786 /* IDL: uint32 time; */
4787 /* IDL: uint32 idle_time; */
4788 /* IDL: } */
4790 static int
4791 srvsvc_dissect_element_NetSessInfo10_client(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4793 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessInfo10_client_, NDR_POINTER_UNIQUE, "Pointer to Client (uint16)",hf_srvsvc_srvsvc_NetSessInfo10_client);
4795 return offset;
4798 static int
4799 srvsvc_dissect_element_NetSessInfo10_client_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4801 char *data = NULL;
4802 struct ndr_generic_array nga = { .is_conformant = false, };
4804 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4806 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4807 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessInfo10_client, false, &nga, &data);
4808 proto_item_append_text(tree, ": %s", data);
4810 return offset;
4813 static int
4814 srvsvc_dissect_element_NetSessInfo10_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4816 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessInfo10_user_, NDR_POINTER_UNIQUE, "Pointer to User (uint16)",hf_srvsvc_srvsvc_NetSessInfo10_user);
4818 return offset;
4821 static int
4822 srvsvc_dissect_element_NetSessInfo10_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4824 char *data = NULL;
4825 struct ndr_generic_array nga = { .is_conformant = false, };
4827 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4829 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4830 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessInfo10_user, false, &nga, &data);
4831 proto_item_append_text(tree, ": %s", data);
4833 return offset;
4836 static int
4837 srvsvc_dissect_element_NetSessInfo10_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4839 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfo10_time, 0);
4841 return offset;
4844 static int
4845 srvsvc_dissect_element_NetSessInfo10_idle_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4847 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfo10_idle_time, 0);
4849 return offset;
4853 srvsvc_dissect_struct_NetSessInfo10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
4855 proto_item *item = NULL;
4856 proto_tree *tree = NULL;
4857 int old_offset;
4859 ALIGN_TO_5_BYTES;
4861 old_offset = offset;
4863 if (parent_tree) {
4864 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4865 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSessInfo10);
4868 offset = srvsvc_dissect_element_NetSessInfo10_client(tvb, offset, pinfo, tree, di, drep);
4870 offset = srvsvc_dissect_element_NetSessInfo10_user(tvb, offset, pinfo, tree, di, drep);
4872 offset = srvsvc_dissect_element_NetSessInfo10_time(tvb, offset, pinfo, tree, di, drep);
4874 offset = srvsvc_dissect_element_NetSessInfo10_idle_time(tvb, offset, pinfo, tree, di, drep);
4877 proto_item_set_len(item, offset-old_offset);
4880 if (di->call_data->flags & DCERPC_IS_NDR64) {
4881 ALIGN_TO_5_BYTES;
4884 return offset;
4888 /* IDL: struct { */
4889 /* IDL: uint32 count; */
4890 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetSessInfo10 *array; */
4891 /* IDL: } */
4893 static int
4894 srvsvc_dissect_element_NetSessCtr10_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4896 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessCtr10_count, 0);
4898 return offset;
4901 static int
4902 srvsvc_dissect_element_NetSessCtr10_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4904 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessCtr10_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetSessInfo10)",hf_srvsvc_srvsvc_NetSessCtr10_array);
4906 return offset;
4909 static int
4910 srvsvc_dissect_element_NetSessCtr10_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4912 struct ndr_generic_array nga = { .is_conformant = false, };
4914 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4916 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetSessCtr10_array__);
4918 return offset;
4921 static int
4922 srvsvc_dissect_element_NetSessCtr10_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4924 offset = srvsvc_dissect_struct_NetSessInfo10(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSessCtr10_array,0);
4926 return offset;
4930 srvsvc_dissect_struct_NetSessCtr10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
4932 proto_item *item = NULL;
4933 proto_tree *tree = NULL;
4934 int old_offset;
4936 ALIGN_TO_5_BYTES;
4938 old_offset = offset;
4940 if (parent_tree) {
4941 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4942 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSessCtr10);
4945 offset = srvsvc_dissect_element_NetSessCtr10_count(tvb, offset, pinfo, tree, di, drep);
4947 offset = srvsvc_dissect_element_NetSessCtr10_array(tvb, offset, pinfo, tree, di, drep);
4950 proto_item_set_len(item, offset-old_offset);
4953 if (di->call_data->flags & DCERPC_IS_NDR64) {
4954 ALIGN_TO_5_BYTES;
4957 return offset;
4961 /* IDL: struct { */
4962 /* IDL: [charset(UTF16)] [unique(1)] uint16 *client; */
4963 /* IDL: [charset(UTF16)] [unique(1)] uint16 *user; */
4964 /* IDL: uint32 num_open; */
4965 /* IDL: uint32 time; */
4966 /* IDL: uint32 idle_time; */
4967 /* IDL: uint32 user_flags; */
4968 /* IDL: [charset(UTF16)] [unique(1)] uint16 *client_type; */
4969 /* IDL: [charset(UTF16)] [unique(1)] uint16 *transport; */
4970 /* IDL: } */
4972 static int
4973 srvsvc_dissect_element_NetSessInfo502_client(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4975 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessInfo502_client_, NDR_POINTER_UNIQUE, "Pointer to Client (uint16)",hf_srvsvc_srvsvc_NetSessInfo502_client);
4977 return offset;
4980 static int
4981 srvsvc_dissect_element_NetSessInfo502_client_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4983 char *data = NULL;
4984 struct ndr_generic_array nga = { .is_conformant = false, };
4986 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4988 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4989 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessInfo502_client, false, &nga, &data);
4990 proto_item_append_text(tree, ": %s", data);
4992 return offset;
4995 static int
4996 srvsvc_dissect_element_NetSessInfo502_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4998 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessInfo502_user_, NDR_POINTER_UNIQUE, "Pointer to User (uint16)",hf_srvsvc_srvsvc_NetSessInfo502_user);
5000 return offset;
5003 static int
5004 srvsvc_dissect_element_NetSessInfo502_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5006 char *data = NULL;
5007 struct ndr_generic_array nga = { .is_conformant = false, };
5009 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5011 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5012 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessInfo502_user, false, &nga, &data);
5013 proto_item_append_text(tree, ": %s", data);
5015 return offset;
5018 static int
5019 srvsvc_dissect_element_NetSessInfo502_num_open(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5021 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfo502_num_open, 0);
5023 return offset;
5026 static int
5027 srvsvc_dissect_element_NetSessInfo502_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5029 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfo502_time, 0);
5031 return offset;
5034 static int
5035 srvsvc_dissect_element_NetSessInfo502_idle_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5037 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfo502_idle_time, 0);
5039 return offset;
5042 static int
5043 srvsvc_dissect_element_NetSessInfo502_user_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5045 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfo502_user_flags, 0);
5047 return offset;
5050 static int
5051 srvsvc_dissect_element_NetSessInfo502_client_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5053 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessInfo502_client_type_, NDR_POINTER_UNIQUE, "Pointer to Client Type (uint16)",hf_srvsvc_srvsvc_NetSessInfo502_client_type);
5055 return offset;
5058 static int
5059 srvsvc_dissect_element_NetSessInfo502_client_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5061 char *data = NULL;
5062 struct ndr_generic_array nga = { .is_conformant = false, };
5064 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5066 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5067 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessInfo502_client_type, false, &nga, &data);
5068 proto_item_append_text(tree, ": %s", data);
5070 return offset;
5073 static int
5074 srvsvc_dissect_element_NetSessInfo502_transport(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5076 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessInfo502_transport_, NDR_POINTER_UNIQUE, "Pointer to Transport (uint16)",hf_srvsvc_srvsvc_NetSessInfo502_transport);
5078 return offset;
5081 static int
5082 srvsvc_dissect_element_NetSessInfo502_transport_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5084 char *data = NULL;
5085 struct ndr_generic_array nga = { .is_conformant = false, };
5087 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5089 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5090 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessInfo502_transport, false, &nga, &data);
5091 proto_item_append_text(tree, ": %s", data);
5093 return offset;
5097 srvsvc_dissect_struct_NetSessInfo502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
5099 proto_item *item = NULL;
5100 proto_tree *tree = NULL;
5101 int old_offset;
5103 ALIGN_TO_5_BYTES;
5105 old_offset = offset;
5107 if (parent_tree) {
5108 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5109 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSessInfo502);
5112 offset = srvsvc_dissect_element_NetSessInfo502_client(tvb, offset, pinfo, tree, di, drep);
5114 offset = srvsvc_dissect_element_NetSessInfo502_user(tvb, offset, pinfo, tree, di, drep);
5116 offset = srvsvc_dissect_element_NetSessInfo502_num_open(tvb, offset, pinfo, tree, di, drep);
5118 offset = srvsvc_dissect_element_NetSessInfo502_time(tvb, offset, pinfo, tree, di, drep);
5120 offset = srvsvc_dissect_element_NetSessInfo502_idle_time(tvb, offset, pinfo, tree, di, drep);
5122 offset = srvsvc_dissect_element_NetSessInfo502_user_flags(tvb, offset, pinfo, tree, di, drep);
5124 offset = srvsvc_dissect_element_NetSessInfo502_client_type(tvb, offset, pinfo, tree, di, drep);
5126 offset = srvsvc_dissect_element_NetSessInfo502_transport(tvb, offset, pinfo, tree, di, drep);
5129 proto_item_set_len(item, offset-old_offset);
5132 if (di->call_data->flags & DCERPC_IS_NDR64) {
5133 ALIGN_TO_5_BYTES;
5136 return offset;
5140 /* IDL: struct { */
5141 /* IDL: uint32 count; */
5142 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetSessInfo502 *array; */
5143 /* IDL: } */
5145 static int
5146 srvsvc_dissect_element_NetSessCtr502_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5148 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessCtr502_count, 0);
5150 return offset;
5153 static int
5154 srvsvc_dissect_element_NetSessCtr502_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5156 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessCtr502_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetSessInfo502)",hf_srvsvc_srvsvc_NetSessCtr502_array);
5158 return offset;
5161 static int
5162 srvsvc_dissect_element_NetSessCtr502_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5164 struct ndr_generic_array nga = { .is_conformant = false, };
5166 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5168 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetSessCtr502_array__);
5170 return offset;
5173 static int
5174 srvsvc_dissect_element_NetSessCtr502_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5176 offset = srvsvc_dissect_struct_NetSessInfo502(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSessCtr502_array,0);
5178 return offset;
5182 srvsvc_dissect_struct_NetSessCtr502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
5184 proto_item *item = NULL;
5185 proto_tree *tree = NULL;
5186 int old_offset;
5188 ALIGN_TO_5_BYTES;
5190 old_offset = offset;
5192 if (parent_tree) {
5193 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5194 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSessCtr502);
5197 offset = srvsvc_dissect_element_NetSessCtr502_count(tvb, offset, pinfo, tree, di, drep);
5199 offset = srvsvc_dissect_element_NetSessCtr502_array(tvb, offset, pinfo, tree, di, drep);
5202 proto_item_set_len(item, offset-old_offset);
5205 if (di->call_data->flags & DCERPC_IS_NDR64) {
5206 ALIGN_TO_5_BYTES;
5209 return offset;
5213 /* IDL: enum { */
5214 /* IDL: SESSION_INFO_0_CONTAINER=0, */
5215 /* IDL: SESSION_INFO_1_CONTAINER=1, */
5216 /* IDL: SESSION_INFO_2_CONTAINER=2, */
5217 /* IDL: SESSION_INFO_10_CONTAINER=10, */
5218 /* IDL: SESSION_INFO_502_CONTAINER=502, */
5219 /* IDL: } */
5222 srvsvc_dissect_enum_SESSION_INFO_LEVEL(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t *param _U_)
5224 uint32_t parameter=0;
5225 if (param) {
5226 parameter = *param;
5228 offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
5229 if (param) {
5230 *param = parameter;
5232 return offset;
5236 /* IDL: [switch_type(SESSION_INFO_LEVEL)] union { */
5237 /* IDL: [case(0)] [case(0)] [unique(1)] srvsvc_NetSessCtr0 *ctr0; */
5238 /* IDL: [case(1)] [case(1)] [unique(1)] srvsvc_NetSessCtr1 *ctr1; */
5239 /* IDL: [case(2)] [case(2)] [unique(1)] srvsvc_NetSessCtr2 *ctr2; */
5240 /* IDL: [case(10)] [case(10)] [unique(1)] srvsvc_NetSessCtr10 *ctr10; */
5241 /* IDL: [case(502)] [case(502)] [unique(1)] srvsvc_NetSessCtr502 *ctr502; */
5242 /* IDL: } */
5244 static int
5245 srvsvc_dissect_element_NetSessCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5247 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessCtr_ctr0_, NDR_POINTER_UNIQUE, "Pointer to Ctr0 (srvsvc_NetSessCtr0)",hf_srvsvc_srvsvc_NetSessCtr_ctr0);
5249 return offset;
5252 static int
5253 srvsvc_dissect_element_NetSessCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5255 offset = srvsvc_dissect_struct_NetSessCtr0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSessCtr_ctr0,0);
5257 return offset;
5260 static int
5261 srvsvc_dissect_element_NetSessCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5263 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessCtr_ctr1_, NDR_POINTER_UNIQUE, "Pointer to Ctr1 (srvsvc_NetSessCtr1)",hf_srvsvc_srvsvc_NetSessCtr_ctr1);
5265 return offset;
5268 static int
5269 srvsvc_dissect_element_NetSessCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5271 offset = srvsvc_dissect_struct_NetSessCtr1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSessCtr_ctr1,0);
5273 return offset;
5276 static int
5277 srvsvc_dissect_element_NetSessCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5279 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessCtr_ctr2_, NDR_POINTER_UNIQUE, "Pointer to Ctr2 (srvsvc_NetSessCtr2)",hf_srvsvc_srvsvc_NetSessCtr_ctr2);
5281 return offset;
5284 static int
5285 srvsvc_dissect_element_NetSessCtr_ctr2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5287 offset = srvsvc_dissect_struct_NetSessCtr2(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSessCtr_ctr2,0);
5289 return offset;
5292 static int
5293 srvsvc_dissect_element_NetSessCtr_ctr10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5295 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessCtr_ctr10_, NDR_POINTER_UNIQUE, "Pointer to Ctr10 (srvsvc_NetSessCtr10)",hf_srvsvc_srvsvc_NetSessCtr_ctr10);
5297 return offset;
5300 static int
5301 srvsvc_dissect_element_NetSessCtr_ctr10_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5303 offset = srvsvc_dissect_struct_NetSessCtr10(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSessCtr_ctr10,0);
5305 return offset;
5308 static int
5309 srvsvc_dissect_element_NetSessCtr_ctr502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5311 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessCtr_ctr502_, NDR_POINTER_UNIQUE, "Pointer to Ctr502 (srvsvc_NetSessCtr502)",hf_srvsvc_srvsvc_NetSessCtr_ctr502);
5313 return offset;
5316 static int
5317 srvsvc_dissect_element_NetSessCtr_ctr502_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5319 offset = srvsvc_dissect_struct_NetSessCtr502(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSessCtr_ctr502,0);
5321 return offset;
5324 static int
5325 srvsvc_dissect_NetSessCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
5327 proto_item *item = NULL;
5328 proto_tree *tree = NULL;
5329 int old_offset;
5330 uint32_t level;
5332 old_offset = offset;
5333 if (parent_tree) {
5334 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_srvsvc_srvsvc_NetSessCtr, &item, "srvsvc_NetSessCtr");
5337 UNION_ALIGN_TO_5_BYTES;
5338 offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
5339 UNION_ALIGN_TO_5_BYTES;
5341 switch(level) {
5342 case 0:
5343 offset = srvsvc_dissect_element_NetSessCtr_ctr0(tvb, offset, pinfo, tree, di, drep);
5344 break;
5346 case 1:
5347 offset = srvsvc_dissect_element_NetSessCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
5348 break;
5350 case 2:
5351 offset = srvsvc_dissect_element_NetSessCtr_ctr2(tvb, offset, pinfo, tree, di, drep);
5352 break;
5354 case 10:
5355 offset = srvsvc_dissect_element_NetSessCtr_ctr10(tvb, offset, pinfo, tree, di, drep);
5356 break;
5358 case 502:
5359 offset = srvsvc_dissect_element_NetSessCtr_ctr502(tvb, offset, pinfo, tree, di, drep);
5360 break;
5362 proto_item_set_len(item, offset-old_offset);
5365 return offset;
5368 /* IDL: struct { */
5369 /* IDL: SESSION_INFO_LEVEL level; */
5370 /* IDL: [flag(LIBNDR_FLAG_ALIGN5)] [switch_is(level)] srvsvc_NetSessCtr ctr; */
5371 /* IDL: } */
5373 static int
5374 srvsvc_dissect_element_NetSessInfoCtr_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *level)
5376 offset = srvsvc_dissect_enum_SESSION_INFO_LEVEL(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfoCtr_level, level);
5378 return offset;
5381 static int
5382 srvsvc_dissect_element_NetSessInfoCtr_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t level)
5384 offset = srvsvc_dissect_NetSessCtr(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessInfoCtr_ctr, level);
5386 return offset;
5390 srvsvc_dissect_struct_NetSessInfoCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
5392 uint32_t level = 0;
5393 proto_item *item = NULL;
5394 proto_tree *tree = NULL;
5395 int old_offset;
5397 ALIGN_TO_5_BYTES;
5399 old_offset = offset;
5401 if (parent_tree) {
5402 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5403 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSessInfoCtr);
5406 offset = srvsvc_dissect_element_NetSessInfoCtr_level(tvb, offset, pinfo, tree, di, drep, &level);
5408 ALIGN_TO_5_BYTES; offset = srvsvc_dissect_element_NetSessInfoCtr_ctr(tvb, offset, pinfo, tree, di, drep, level);
5411 proto_item_set_len(item, offset-old_offset);
5414 if (di->call_data->flags & DCERPC_IS_NDR64) {
5415 ALIGN_TO_5_BYTES;
5418 return offset;
5422 /* IDL: enum { */
5423 /* IDL: STYPE_DISKTREE=0, */
5424 /* IDL: STYPE_DISKTREE_TEMPORARY=STYPE_DISKTREE|STYPE_TEMPORARY, */
5425 /* IDL: STYPE_DISKTREE_HIDDEN=STYPE_DISKTREE|STYPE_HIDDEN, */
5426 /* IDL: STYPE_PRINTQ=1, */
5427 /* IDL: STYPE_PRINTQ_TEMPORARY=STYPE_PRINTQ|STYPE_TEMPORARY, */
5428 /* IDL: STYPE_PRINTQ_HIDDEN=STYPE_PRINTQ|STYPE_HIDDEN, */
5429 /* IDL: STYPE_DEVICE=2, */
5430 /* IDL: STYPE_DEVICE_TEMPORARY=STYPE_DEVICE|STYPE_TEMPORARY, */
5431 /* IDL: STYPE_DEVICE_HIDDEN=STYPE_DEVICE|STYPE_HIDDEN, */
5432 /* IDL: STYPE_IPC=3, */
5433 /* IDL: STYPE_IPC_TEMPORARY=STYPE_IPC|STYPE_TEMPORARY, */
5434 /* IDL: STYPE_IPC_HIDDEN=STYPE_IPC|STYPE_HIDDEN, */
5435 /* IDL: STYPE_CLUSTER_FS=0x02000000, */
5436 /* IDL: STYPE_CLUSTER_FS_TEMPORARY=STYPE_CLUSTER_FS|STYPE_TEMPORARY, */
5437 /* IDL: STYPE_CLUSTER_FS_HIDDEN=STYPE_CLUSTER_FS|STYPE_HIDDEN, */
5438 /* IDL: STYPE_CLUSTER_SOFS=0x04000000, */
5439 /* IDL: STYPE_CLUSTER_SOFS_TEMPORARY=STYPE_CLUSTER_SOFS|STYPE_TEMPORARY, */
5440 /* IDL: STYPE_CLUSTER_SOFS_HIDDEN=STYPE_CLUSTER_SOFS|STYPE_HIDDEN, */
5441 /* IDL: STYPE_CLUSTER_DFS=0x08000000, */
5442 /* IDL: STYPE_CLUSTER_DFS_TEMPORARY=STYPE_CLUSTER_DFS|STYPE_TEMPORARY, */
5443 /* IDL: STYPE_CLUSTER_DFS_HIDDEN=STYPE_CLUSTER_DFS|STYPE_HIDDEN, */
5444 /* IDL: } */
5447 srvsvc_dissect_enum_ShareType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t *param _U_)
5449 uint32_t parameter=0;
5450 if (param) {
5451 parameter = *param;
5453 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
5454 if (param) {
5455 *param = parameter;
5457 return offset;
5461 /* IDL: struct { */
5462 /* IDL: [charset(UTF16)] [unique(1)] uint16 *name; */
5463 /* IDL: } */
5465 static int
5466 srvsvc_dissect_element_NetShareInfo0_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5468 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo0_name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_srvsvc_srvsvc_NetShareInfo0_name);
5470 return offset;
5473 static int
5474 srvsvc_dissect_element_NetShareInfo0_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5476 char *data = NULL;
5477 struct ndr_generic_array nga = { .is_conformant = false, };
5479 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5481 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5482 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo0_name, false, &nga, &data);
5483 proto_item_append_text(tree, ": %s", data);
5485 return offset;
5489 srvsvc_dissect_struct_NetShareInfo0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
5491 proto_item *item = NULL;
5492 proto_tree *tree = NULL;
5493 int old_offset;
5495 ALIGN_TO_5_BYTES;
5497 old_offset = offset;
5499 if (parent_tree) {
5500 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5501 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareInfo0);
5504 offset = srvsvc_dissect_element_NetShareInfo0_name(tvb, offset, pinfo, tree, di, drep);
5507 proto_item_set_len(item, offset-old_offset);
5510 if (di->call_data->flags & DCERPC_IS_NDR64) {
5511 ALIGN_TO_5_BYTES;
5514 return offset;
5518 /* IDL: struct { */
5519 /* IDL: uint32 count; */
5520 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetShareInfo0 *array; */
5521 /* IDL: } */
5523 static int
5524 srvsvc_dissect_element_NetShareCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5526 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareCtr0_count, 0);
5528 return offset;
5531 static int
5532 srvsvc_dissect_element_NetShareCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5534 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr0_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetShareInfo0)",hf_srvsvc_srvsvc_NetShareCtr0_array);
5536 return offset;
5539 static int
5540 srvsvc_dissect_element_NetShareCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5542 struct ndr_generic_array nga = { .is_conformant = false, };
5544 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5546 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetShareCtr0_array__);
5548 return offset;
5551 static int
5552 srvsvc_dissect_element_NetShareCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5554 offset = srvsvc_dissect_struct_NetShareInfo0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr0_array,0);
5556 return offset;
5560 srvsvc_dissect_struct_NetShareCtr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
5562 proto_item *item = NULL;
5563 proto_tree *tree = NULL;
5564 int old_offset;
5566 ALIGN_TO_5_BYTES;
5568 old_offset = offset;
5570 if (parent_tree) {
5571 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5572 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareCtr0);
5575 offset = srvsvc_dissect_element_NetShareCtr0_count(tvb, offset, pinfo, tree, di, drep);
5577 offset = srvsvc_dissect_element_NetShareCtr0_array(tvb, offset, pinfo, tree, di, drep);
5580 proto_item_set_len(item, offset-old_offset);
5583 if (di->call_data->flags & DCERPC_IS_NDR64) {
5584 ALIGN_TO_5_BYTES;
5587 return offset;
5591 /* IDL: struct { */
5592 /* IDL: [charset(UTF16)] [unique(1)] uint16 *name; */
5593 /* IDL: srvsvc_ShareType type; */
5594 /* IDL: [charset(UTF16)] [unique(1)] uint16 *comment; */
5595 /* IDL: } */
5597 static int
5598 srvsvc_dissect_element_NetShareInfo1_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5600 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo1_name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_srvsvc_srvsvc_NetShareInfo1_name);
5602 return offset;
5605 static int
5606 srvsvc_dissect_element_NetShareInfo1_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5608 char *data = NULL;
5609 struct ndr_generic_array nga = { .is_conformant = false, };
5611 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5613 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5614 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo1_name, false, &nga, &data);
5615 proto_item_append_text(tree, ": %s", data);
5617 return offset;
5620 static int
5621 srvsvc_dissect_element_NetShareInfo1_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5623 offset = srvsvc_dissect_enum_ShareType(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo1_type, 0);
5625 return offset;
5628 static int
5629 srvsvc_dissect_element_NetShareInfo1_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5631 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo1_comment_, NDR_POINTER_UNIQUE, "Pointer to Comment (uint16)",hf_srvsvc_srvsvc_NetShareInfo1_comment);
5633 return offset;
5636 static int
5637 srvsvc_dissect_element_NetShareInfo1_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5639 char *data = NULL;
5640 struct ndr_generic_array nga = { .is_conformant = false, };
5642 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5644 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5645 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo1_comment, false, &nga, &data);
5646 proto_item_append_text(tree, ": %s", data);
5648 return offset;
5652 srvsvc_dissect_struct_NetShareInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
5654 proto_item *item = NULL;
5655 proto_tree *tree = NULL;
5656 int old_offset;
5658 ALIGN_TO_5_BYTES;
5660 old_offset = offset;
5662 if (parent_tree) {
5663 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5664 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareInfo1);
5667 offset = srvsvc_dissect_element_NetShareInfo1_name(tvb, offset, pinfo, tree, di, drep);
5669 offset = srvsvc_dissect_element_NetShareInfo1_type(tvb, offset, pinfo, tree, di, drep);
5671 offset = srvsvc_dissect_element_NetShareInfo1_comment(tvb, offset, pinfo, tree, di, drep);
5674 proto_item_set_len(item, offset-old_offset);
5677 if (di->call_data->flags & DCERPC_IS_NDR64) {
5678 ALIGN_TO_5_BYTES;
5681 return offset;
5685 /* IDL: struct { */
5686 /* IDL: uint32 count; */
5687 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetShareInfo1 *array; */
5688 /* IDL: } */
5690 static int
5691 srvsvc_dissect_element_NetShareCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5693 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareCtr1_count, 0);
5695 return offset;
5698 static int
5699 srvsvc_dissect_element_NetShareCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5701 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr1_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetShareInfo1)",hf_srvsvc_srvsvc_NetShareCtr1_array);
5703 return offset;
5706 static int
5707 srvsvc_dissect_element_NetShareCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5709 struct ndr_generic_array nga = { .is_conformant = false, };
5711 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5713 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetShareCtr1_array__);
5715 return offset;
5718 static int
5719 srvsvc_dissect_element_NetShareCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5721 offset = srvsvc_dissect_struct_NetShareInfo1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr1_array,0);
5723 return offset;
5727 srvsvc_dissect_struct_NetShareCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
5729 proto_item *item = NULL;
5730 proto_tree *tree = NULL;
5731 int old_offset;
5733 ALIGN_TO_5_BYTES;
5735 old_offset = offset;
5737 if (parent_tree) {
5738 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5739 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareCtr1);
5742 offset = srvsvc_dissect_element_NetShareCtr1_count(tvb, offset, pinfo, tree, di, drep);
5744 offset = srvsvc_dissect_element_NetShareCtr1_array(tvb, offset, pinfo, tree, di, drep);
5747 proto_item_set_len(item, offset-old_offset);
5750 if (di->call_data->flags & DCERPC_IS_NDR64) {
5751 ALIGN_TO_5_BYTES;
5754 return offset;
5758 /* IDL: struct { */
5759 /* IDL: [charset(UTF16)] [unique(1)] uint16 *name; */
5760 /* IDL: srvsvc_ShareType type; */
5761 /* IDL: [charset(UTF16)] [unique(1)] uint16 *comment; */
5762 /* IDL: uint32 permissions; */
5763 /* IDL: uint32 max_users; */
5764 /* IDL: uint32 current_users; */
5765 /* IDL: [charset(UTF16)] [unique(1)] uint16 *path; */
5766 /* IDL: [charset(UTF16)] [unique(1)] uint16 *password; */
5767 /* IDL: } */
5769 static int
5770 srvsvc_dissect_element_NetShareInfo2_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5772 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo2_name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_srvsvc_srvsvc_NetShareInfo2_name);
5774 return offset;
5777 static int
5778 srvsvc_dissect_element_NetShareInfo2_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5780 char *data = NULL;
5781 struct ndr_generic_array nga = { .is_conformant = false, };
5783 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5785 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5786 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo2_name, false, &nga, &data);
5787 proto_item_append_text(tree, ": %s", data);
5789 return offset;
5792 static int
5793 srvsvc_dissect_element_NetShareInfo2_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5795 offset = srvsvc_dissect_enum_ShareType(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo2_type, 0);
5797 return offset;
5800 static int
5801 srvsvc_dissect_element_NetShareInfo2_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5803 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo2_comment_, NDR_POINTER_UNIQUE, "Pointer to Comment (uint16)",hf_srvsvc_srvsvc_NetShareInfo2_comment);
5805 return offset;
5808 static int
5809 srvsvc_dissect_element_NetShareInfo2_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5811 char *data = NULL;
5812 struct ndr_generic_array nga = { .is_conformant = false, };
5814 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5816 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5817 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo2_comment, false, &nga, &data);
5818 proto_item_append_text(tree, ": %s", data);
5820 return offset;
5823 static int
5824 srvsvc_dissect_element_NetShareInfo2_permissions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5826 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo2_permissions, 0);
5828 return offset;
5831 static int
5832 srvsvc_dissect_element_NetShareInfo2_max_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5834 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo2_max_users, 0);
5836 return offset;
5839 static int
5840 srvsvc_dissect_element_NetShareInfo2_current_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5842 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo2_current_users, 0);
5844 return offset;
5847 static int
5848 srvsvc_dissect_element_NetShareInfo2_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5850 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo2_path_, NDR_POINTER_UNIQUE, "Pointer to Path (uint16)",hf_srvsvc_srvsvc_NetShareInfo2_path);
5852 return offset;
5855 static int
5856 srvsvc_dissect_element_NetShareInfo2_path_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5858 char *data = NULL;
5859 struct ndr_generic_array nga = { .is_conformant = false, };
5861 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5863 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5864 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo2_path, false, &nga, &data);
5865 proto_item_append_text(tree, ": %s", data);
5867 return offset;
5870 static int
5871 srvsvc_dissect_element_NetShareInfo2_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5873 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo2_password_, NDR_POINTER_UNIQUE, "Pointer to Password (uint16)",hf_srvsvc_srvsvc_NetShareInfo2_password);
5875 return offset;
5878 static int
5879 srvsvc_dissect_element_NetShareInfo2_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5881 char *data = NULL;
5882 struct ndr_generic_array nga = { .is_conformant = false, };
5884 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5886 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5887 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo2_password, false, &nga, &data);
5888 proto_item_append_text(tree, ": %s", data);
5890 return offset;
5894 srvsvc_dissect_struct_NetShareInfo2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
5896 proto_item *item = NULL;
5897 proto_tree *tree = NULL;
5898 int old_offset;
5900 ALIGN_TO_5_BYTES;
5902 old_offset = offset;
5904 if (parent_tree) {
5905 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5906 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareInfo2);
5909 offset = srvsvc_dissect_element_NetShareInfo2_name(tvb, offset, pinfo, tree, di, drep);
5911 offset = srvsvc_dissect_element_NetShareInfo2_type(tvb, offset, pinfo, tree, di, drep);
5913 offset = srvsvc_dissect_element_NetShareInfo2_comment(tvb, offset, pinfo, tree, di, drep);
5915 offset = srvsvc_dissect_element_NetShareInfo2_permissions(tvb, offset, pinfo, tree, di, drep);
5917 offset = srvsvc_dissect_element_NetShareInfo2_max_users(tvb, offset, pinfo, tree, di, drep);
5919 offset = srvsvc_dissect_element_NetShareInfo2_current_users(tvb, offset, pinfo, tree, di, drep);
5921 offset = srvsvc_dissect_element_NetShareInfo2_path(tvb, offset, pinfo, tree, di, drep);
5923 offset = srvsvc_dissect_element_NetShareInfo2_password(tvb, offset, pinfo, tree, di, drep);
5926 proto_item_set_len(item, offset-old_offset);
5929 if (di->call_data->flags & DCERPC_IS_NDR64) {
5930 ALIGN_TO_5_BYTES;
5933 return offset;
5937 /* IDL: struct { */
5938 /* IDL: uint32 count; */
5939 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetShareInfo2 *array; */
5940 /* IDL: } */
5942 static int
5943 srvsvc_dissect_element_NetShareCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5945 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareCtr2_count, 0);
5947 return offset;
5950 static int
5951 srvsvc_dissect_element_NetShareCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5953 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr2_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetShareInfo2)",hf_srvsvc_srvsvc_NetShareCtr2_array);
5955 return offset;
5958 static int
5959 srvsvc_dissect_element_NetShareCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5961 struct ndr_generic_array nga = { .is_conformant = false, };
5963 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5965 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetShareCtr2_array__);
5967 return offset;
5970 static int
5971 srvsvc_dissect_element_NetShareCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5973 offset = srvsvc_dissect_struct_NetShareInfo2(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr2_array,0);
5975 return offset;
5979 srvsvc_dissect_struct_NetShareCtr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
5981 proto_item *item = NULL;
5982 proto_tree *tree = NULL;
5983 int old_offset;
5985 ALIGN_TO_5_BYTES;
5987 old_offset = offset;
5989 if (parent_tree) {
5990 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5991 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareCtr2);
5994 offset = srvsvc_dissect_element_NetShareCtr2_count(tvb, offset, pinfo, tree, di, drep);
5996 offset = srvsvc_dissect_element_NetShareCtr2_array(tvb, offset, pinfo, tree, di, drep);
5999 proto_item_set_len(item, offset-old_offset);
6002 if (di->call_data->flags & DCERPC_IS_NDR64) {
6003 ALIGN_TO_5_BYTES;
6006 return offset;
6010 /* IDL: struct { */
6011 /* IDL: [charset(UTF16)] [unique(1)] uint16 *name; */
6012 /* IDL: srvsvc_ShareType type; */
6013 /* IDL: [charset(UTF16)] [unique(1)] uint16 *comment; */
6014 /* IDL: uint32 csc_policy; */
6015 /* IDL: } */
6017 static int
6018 srvsvc_dissect_element_NetShareInfo501_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6020 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo501_name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_srvsvc_srvsvc_NetShareInfo501_name);
6022 return offset;
6025 static int
6026 srvsvc_dissect_element_NetShareInfo501_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6028 char *data = NULL;
6029 struct ndr_generic_array nga = { .is_conformant = false, };
6031 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6033 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6034 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo501_name, false, &nga, &data);
6035 proto_item_append_text(tree, ": %s", data);
6037 return offset;
6040 static int
6041 srvsvc_dissect_element_NetShareInfo501_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6043 offset = srvsvc_dissect_enum_ShareType(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo501_type, 0);
6045 return offset;
6048 static int
6049 srvsvc_dissect_element_NetShareInfo501_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6051 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo501_comment_, NDR_POINTER_UNIQUE, "Pointer to Comment (uint16)",hf_srvsvc_srvsvc_NetShareInfo501_comment);
6053 return offset;
6056 static int
6057 srvsvc_dissect_element_NetShareInfo501_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6059 char *data = NULL;
6060 struct ndr_generic_array nga = { .is_conformant = false, };
6062 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6064 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6065 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo501_comment, false, &nga, &data);
6066 proto_item_append_text(tree, ": %s", data);
6068 return offset;
6071 static int
6072 srvsvc_dissect_element_NetShareInfo501_csc_policy(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6074 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo501_csc_policy, 0);
6076 return offset;
6080 srvsvc_dissect_struct_NetShareInfo501(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
6082 proto_item *item = NULL;
6083 proto_tree *tree = NULL;
6084 int old_offset;
6086 ALIGN_TO_5_BYTES;
6088 old_offset = offset;
6090 if (parent_tree) {
6091 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6092 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareInfo501);
6095 offset = srvsvc_dissect_element_NetShareInfo501_name(tvb, offset, pinfo, tree, di, drep);
6097 offset = srvsvc_dissect_element_NetShareInfo501_type(tvb, offset, pinfo, tree, di, drep);
6099 offset = srvsvc_dissect_element_NetShareInfo501_comment(tvb, offset, pinfo, tree, di, drep);
6101 offset = srvsvc_dissect_element_NetShareInfo501_csc_policy(tvb, offset, pinfo, tree, di, drep);
6104 proto_item_set_len(item, offset-old_offset);
6107 if (di->call_data->flags & DCERPC_IS_NDR64) {
6108 ALIGN_TO_5_BYTES;
6111 return offset;
6115 /* IDL: struct { */
6116 /* IDL: uint32 count; */
6117 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetShareInfo501 *array; */
6118 /* IDL: } */
6120 static int
6121 srvsvc_dissect_element_NetShareCtr501_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6123 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareCtr501_count, 0);
6125 return offset;
6128 static int
6129 srvsvc_dissect_element_NetShareCtr501_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6131 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr501_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetShareInfo501)",hf_srvsvc_srvsvc_NetShareCtr501_array);
6133 return offset;
6136 static int
6137 srvsvc_dissect_element_NetShareCtr501_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6139 struct ndr_generic_array nga = { .is_conformant = false, };
6141 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6143 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetShareCtr501_array__);
6145 return offset;
6148 static int
6149 srvsvc_dissect_element_NetShareCtr501_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6151 offset = srvsvc_dissect_struct_NetShareInfo501(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr501_array,0);
6153 return offset;
6157 srvsvc_dissect_struct_NetShareCtr501(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
6159 proto_item *item = NULL;
6160 proto_tree *tree = NULL;
6161 int old_offset;
6163 ALIGN_TO_5_BYTES;
6165 old_offset = offset;
6167 if (parent_tree) {
6168 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6169 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareCtr501);
6172 offset = srvsvc_dissect_element_NetShareCtr501_count(tvb, offset, pinfo, tree, di, drep);
6174 offset = srvsvc_dissect_element_NetShareCtr501_array(tvb, offset, pinfo, tree, di, drep);
6177 proto_item_set_len(item, offset-old_offset);
6180 if (di->call_data->flags & DCERPC_IS_NDR64) {
6181 ALIGN_TO_5_BYTES;
6184 return offset;
6188 /* IDL: struct { */
6189 /* IDL: [charset(UTF16)] [unique(1)] uint16 *name; */
6190 /* IDL: srvsvc_ShareType type; */
6191 /* IDL: [charset(UTF16)] [unique(1)] uint16 *comment; */
6192 /* IDL: uint32 permissions; */
6193 /* IDL: uint32 max_users; */
6194 /* IDL: uint32 current_users; */
6195 /* IDL: [charset(UTF16)] [unique(1)] uint16 *path; */
6196 /* IDL: [charset(UTF16)] [unique(1)] uint16 *password; */
6197 /* IDL: sec_desc_buf sd_buf; */
6198 /* IDL: } */
6200 static int
6201 srvsvc_dissect_element_NetShareInfo502_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6203 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo502_name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_srvsvc_srvsvc_NetShareInfo502_name);
6205 return offset;
6208 static int
6209 srvsvc_dissect_element_NetShareInfo502_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6211 char *data = NULL;
6212 struct ndr_generic_array nga = { .is_conformant = false, };
6214 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6216 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6217 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo502_name, false, &nga, &data);
6218 proto_item_append_text(tree, ": %s", data);
6220 return offset;
6223 static int
6224 srvsvc_dissect_element_NetShareInfo502_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6226 offset = srvsvc_dissect_enum_ShareType(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo502_type, 0);
6228 return offset;
6231 static int
6232 srvsvc_dissect_element_NetShareInfo502_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6234 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo502_comment_, NDR_POINTER_UNIQUE, "Pointer to Comment (uint16)",hf_srvsvc_srvsvc_NetShareInfo502_comment);
6236 return offset;
6239 static int
6240 srvsvc_dissect_element_NetShareInfo502_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6242 char *data = NULL;
6243 struct ndr_generic_array nga = { .is_conformant = false, };
6245 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6247 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6248 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo502_comment, false, &nga, &data);
6249 proto_item_append_text(tree, ": %s", data);
6251 return offset;
6254 static int
6255 srvsvc_dissect_element_NetShareInfo502_permissions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6257 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo502_permissions, 0);
6259 return offset;
6262 static int
6263 srvsvc_dissect_element_NetShareInfo502_max_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6265 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo502_max_users, 0);
6267 return offset;
6270 static int
6271 srvsvc_dissect_element_NetShareInfo502_current_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6273 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo502_current_users, 0);
6275 return offset;
6278 static int
6279 srvsvc_dissect_element_NetShareInfo502_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6281 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo502_path_, NDR_POINTER_UNIQUE, "Pointer to Path (uint16)",hf_srvsvc_srvsvc_NetShareInfo502_path);
6283 return offset;
6286 static int
6287 srvsvc_dissect_element_NetShareInfo502_path_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6289 char *data = NULL;
6290 struct ndr_generic_array nga = { .is_conformant = false, };
6292 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6294 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6295 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo502_path, false, &nga, &data);
6296 proto_item_append_text(tree, ": %s", data);
6298 return offset;
6301 static int
6302 srvsvc_dissect_element_NetShareInfo502_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6304 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo502_password_, NDR_POINTER_UNIQUE, "Pointer to Password (uint16)",hf_srvsvc_srvsvc_NetShareInfo502_password);
6306 return offset;
6309 static int
6310 srvsvc_dissect_element_NetShareInfo502_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6312 char *data = NULL;
6313 struct ndr_generic_array nga = { .is_conformant = false, };
6315 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6317 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6318 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo502_password, false, &nga, &data);
6319 proto_item_append_text(tree, ": %s", data);
6321 return offset;
6325 srvsvc_dissect_struct_NetShareInfo502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
6327 proto_item *item = NULL;
6328 proto_tree *tree = NULL;
6329 int old_offset;
6331 ALIGN_TO_5_BYTES;
6333 old_offset = offset;
6335 if (parent_tree) {
6336 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6337 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareInfo502);
6340 offset = srvsvc_dissect_element_NetShareInfo502_name(tvb, offset, pinfo, tree, di, drep);
6342 offset = srvsvc_dissect_element_NetShareInfo502_type(tvb, offset, pinfo, tree, di, drep);
6344 offset = srvsvc_dissect_element_NetShareInfo502_comment(tvb, offset, pinfo, tree, di, drep);
6346 offset = srvsvc_dissect_element_NetShareInfo502_permissions(tvb, offset, pinfo, tree, di, drep);
6348 offset = srvsvc_dissect_element_NetShareInfo502_max_users(tvb, offset, pinfo, tree, di, drep);
6350 offset = srvsvc_dissect_element_NetShareInfo502_current_users(tvb, offset, pinfo, tree, di, drep);
6352 offset = srvsvc_dissect_element_NetShareInfo502_path(tvb, offset, pinfo, tree, di, drep);
6354 offset = srvsvc_dissect_element_NetShareInfo502_password(tvb, offset, pinfo, tree, di, drep);
6356 offset = srvsvc_dissect_element_NetShareInfo502_sd_buf(tvb, offset, pinfo, tree, di, drep);
6359 proto_item_set_len(item, offset-old_offset);
6362 if (di->call_data->flags & DCERPC_IS_NDR64) {
6363 ALIGN_TO_5_BYTES;
6366 return offset;
6370 /* IDL: struct { */
6371 /* IDL: uint32 count; */
6372 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetShareInfo502 *array; */
6373 /* IDL: } */
6375 static int
6376 srvsvc_dissect_element_NetShareCtr502_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6378 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareCtr502_count, 0);
6380 return offset;
6383 static int
6384 srvsvc_dissect_element_NetShareCtr502_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6386 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr502_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetShareInfo502)",hf_srvsvc_srvsvc_NetShareCtr502_array);
6388 return offset;
6391 static int
6392 srvsvc_dissect_element_NetShareCtr502_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6394 struct ndr_generic_array nga = { .is_conformant = false, };
6396 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6398 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetShareCtr502_array__);
6400 return offset;
6403 static int
6404 srvsvc_dissect_element_NetShareCtr502_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6406 offset = srvsvc_dissect_struct_NetShareInfo502(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr502_array,0);
6408 return offset;
6412 srvsvc_dissect_struct_NetShareCtr502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
6414 proto_item *item = NULL;
6415 proto_tree *tree = NULL;
6416 int old_offset;
6418 ALIGN_TO_5_BYTES;
6420 old_offset = offset;
6422 if (parent_tree) {
6423 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6424 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareCtr502);
6427 offset = srvsvc_dissect_element_NetShareCtr502_count(tvb, offset, pinfo, tree, di, drep);
6429 offset = srvsvc_dissect_element_NetShareCtr502_array(tvb, offset, pinfo, tree, di, drep);
6432 proto_item_set_len(item, offset-old_offset);
6435 if (di->call_data->flags & DCERPC_IS_NDR64) {
6436 ALIGN_TO_5_BYTES;
6439 return offset;
6443 /* IDL: struct { */
6444 /* IDL: [charset(UTF16)] [unique(1)] uint16 *comment; */
6445 /* IDL: } */
6447 static int
6448 srvsvc_dissect_element_NetShareInfo1004_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6450 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo1004_comment_, NDR_POINTER_UNIQUE, "Pointer to Comment (uint16)",hf_srvsvc_srvsvc_NetShareInfo1004_comment);
6452 return offset;
6455 static int
6456 srvsvc_dissect_element_NetShareInfo1004_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6458 char *data = NULL;
6459 struct ndr_generic_array nga = { .is_conformant = false, };
6461 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6463 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6464 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo1004_comment, false, &nga, &data);
6465 proto_item_append_text(tree, ": %s", data);
6467 return offset;
6471 srvsvc_dissect_struct_NetShareInfo1004(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
6473 proto_item *item = NULL;
6474 proto_tree *tree = NULL;
6475 int old_offset;
6477 ALIGN_TO_5_BYTES;
6479 old_offset = offset;
6481 if (parent_tree) {
6482 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6483 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareInfo1004);
6486 offset = srvsvc_dissect_element_NetShareInfo1004_comment(tvb, offset, pinfo, tree, di, drep);
6489 proto_item_set_len(item, offset-old_offset);
6492 if (di->call_data->flags & DCERPC_IS_NDR64) {
6493 ALIGN_TO_5_BYTES;
6496 return offset;
6500 /* IDL: struct { */
6501 /* IDL: uint32 count; */
6502 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetShareInfo1004 *array; */
6503 /* IDL: } */
6505 static int
6506 srvsvc_dissect_element_NetShareCtr1004_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6508 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareCtr1004_count, 0);
6510 return offset;
6513 static int
6514 srvsvc_dissect_element_NetShareCtr1004_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6516 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr1004_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetShareInfo1004)",hf_srvsvc_srvsvc_NetShareCtr1004_array);
6518 return offset;
6521 static int
6522 srvsvc_dissect_element_NetShareCtr1004_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6524 struct ndr_generic_array nga = { .is_conformant = false, };
6526 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6528 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetShareCtr1004_array__);
6530 return offset;
6533 static int
6534 srvsvc_dissect_element_NetShareCtr1004_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6536 offset = srvsvc_dissect_struct_NetShareInfo1004(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr1004_array,0);
6538 return offset;
6542 srvsvc_dissect_struct_NetShareCtr1004(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
6544 proto_item *item = NULL;
6545 proto_tree *tree = NULL;
6546 int old_offset;
6548 ALIGN_TO_5_BYTES;
6550 old_offset = offset;
6552 if (parent_tree) {
6553 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6554 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareCtr1004);
6557 offset = srvsvc_dissect_element_NetShareCtr1004_count(tvb, offset, pinfo, tree, di, drep);
6559 offset = srvsvc_dissect_element_NetShareCtr1004_array(tvb, offset, pinfo, tree, di, drep);
6562 proto_item_set_len(item, offset-old_offset);
6565 if (di->call_data->flags & DCERPC_IS_NDR64) {
6566 ALIGN_TO_5_BYTES;
6569 return offset;
6573 /* IDL: bitmap { */
6574 /* IDL: SHARE_1005_IN_DFS = 0x00000001 , */
6575 /* IDL: SHARE_1005_DFS_ROOT = 0x00000002 , */
6576 /* IDL: SHARE_1005_CSC_CACHE_AUTO_REINT = 0x00000010 , */
6577 /* IDL: SHARE_1005_CSC_CACHE_VDO = 0x00000020 , */
6578 /* IDL: SHARE_1005_CSC_CACHE_NONE = 0x00000030 , */
6579 /* IDL: SHARE_1005_RESTRICT_EXCLUSIVE_OPENS = 0x00000100 , */
6580 /* IDL: SHARE_1005_FORCE_SHARED_DELETE = 0x00000200 , */
6581 /* IDL: SHARE_1005_ALLOW_NAMESPACE_CACHING = 0x00000400 , */
6582 /* IDL: SHARE_1005_ACCESS_BASED_DIRECTORY_ENUM = 0x00000800 , */
6583 /* IDL: SHARE_1005_FORCE_LEVELII_OPLOCK = 0x00001000 , */
6584 /* IDL: SHARE_1005_ENABLE_HASH = 0x00002000 , */
6585 /* IDL: SHARE_1005_ENABLE_CA = 0x00004000 , */
6586 /* IDL: SHARE_1005_ENCRYPT_DATA = 0x00008000 , */
6587 /* IDL: } */
6590 srvsvc_dissect_bitmap_NetShareInfo1005Flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
6592 proto_item *item;
6593 static int * const srvsvc_NetShareInfo1005Flags_fields[] = {
6594 &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_IN_DFS,
6595 &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_DFS_ROOT,
6596 &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_AUTO_REINT,
6597 &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_VDO,
6598 &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_NONE,
6599 &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_RESTRICT_EXCLUSIVE_OPENS,
6600 &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_FORCE_SHARED_DELETE,
6601 &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ALLOW_NAMESPACE_CACHING,
6602 &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ACCESS_BASED_DIRECTORY_ENUM,
6603 &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_FORCE_LEVELII_OPLOCK,
6604 &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ENABLE_HASH,
6605 &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ENABLE_CA,
6606 &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ENCRYPT_DATA,
6607 NULL
6609 uint32_t flags;
6610 ALIGN_TO_4_BYTES;
6612 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
6613 ett_srvsvc_NetShareInfo1005Flags, srvsvc_NetShareInfo1005Flags_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
6615 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
6617 if (!flags)
6618 proto_item_append_text(item, ": (No values set)");
6620 if (flags & (~0x0000ff63)) {
6621 flags &= (~0x0000ff63);
6622 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
6625 return offset;
6629 /* IDL: struct { */
6630 /* IDL: NetShareInfo1005Flags dfs_flags; */
6631 /* IDL: } */
6633 static int
6634 srvsvc_dissect_element_NetShareInfo1005_dfs_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6636 offset = srvsvc_dissect_bitmap_NetShareInfo1005Flags(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo1005_dfs_flags, 0);
6638 return offset;
6642 srvsvc_dissect_struct_NetShareInfo1005(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
6644 proto_item *item = NULL;
6645 proto_tree *tree = NULL;
6646 int old_offset;
6648 ALIGN_TO_4_BYTES;
6650 old_offset = offset;
6652 if (parent_tree) {
6653 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6654 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareInfo1005);
6657 offset = srvsvc_dissect_element_NetShareInfo1005_dfs_flags(tvb, offset, pinfo, tree, di, drep);
6660 proto_item_set_len(item, offset-old_offset);
6663 if (di->call_data->flags & DCERPC_IS_NDR64) {
6664 ALIGN_TO_4_BYTES;
6667 return offset;
6671 /* IDL: struct { */
6672 /* IDL: uint32 count; */
6673 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetShareInfo1005 *array; */
6674 /* IDL: } */
6676 static int
6677 srvsvc_dissect_element_NetShareCtr1005_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6679 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareCtr1005_count, 0);
6681 return offset;
6684 static int
6685 srvsvc_dissect_element_NetShareCtr1005_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6687 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr1005_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetShareInfo1005)",hf_srvsvc_srvsvc_NetShareCtr1005_array);
6689 return offset;
6692 static int
6693 srvsvc_dissect_element_NetShareCtr1005_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6695 struct ndr_generic_array nga = { .is_conformant = false, };
6697 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6699 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetShareCtr1005_array__);
6701 return offset;
6704 static int
6705 srvsvc_dissect_element_NetShareCtr1005_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6707 offset = srvsvc_dissect_struct_NetShareInfo1005(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr1005_array,0);
6709 return offset;
6713 srvsvc_dissect_struct_NetShareCtr1005(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
6715 proto_item *item = NULL;
6716 proto_tree *tree = NULL;
6717 int old_offset;
6719 ALIGN_TO_5_BYTES;
6721 old_offset = offset;
6723 if (parent_tree) {
6724 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6725 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareCtr1005);
6728 offset = srvsvc_dissect_element_NetShareCtr1005_count(tvb, offset, pinfo, tree, di, drep);
6730 offset = srvsvc_dissect_element_NetShareCtr1005_array(tvb, offset, pinfo, tree, di, drep);
6733 proto_item_set_len(item, offset-old_offset);
6736 if (di->call_data->flags & DCERPC_IS_NDR64) {
6737 ALIGN_TO_5_BYTES;
6740 return offset;
6744 /* IDL: struct { */
6745 /* IDL: uint32 max_users; */
6746 /* IDL: } */
6748 static int
6749 srvsvc_dissect_element_NetShareInfo1006_max_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6751 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo1006_max_users, 0);
6753 return offset;
6757 srvsvc_dissect_struct_NetShareInfo1006(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
6759 proto_item *item = NULL;
6760 proto_tree *tree = NULL;
6761 int old_offset;
6763 ALIGN_TO_4_BYTES;
6765 old_offset = offset;
6767 if (parent_tree) {
6768 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6769 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareInfo1006);
6772 offset = srvsvc_dissect_element_NetShareInfo1006_max_users(tvb, offset, pinfo, tree, di, drep);
6775 proto_item_set_len(item, offset-old_offset);
6778 if (di->call_data->flags & DCERPC_IS_NDR64) {
6779 ALIGN_TO_4_BYTES;
6782 return offset;
6786 /* IDL: struct { */
6787 /* IDL: uint32 count; */
6788 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetShareInfo1006 *array; */
6789 /* IDL: } */
6791 static int
6792 srvsvc_dissect_element_NetShareCtr1006_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6794 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareCtr1006_count, 0);
6796 return offset;
6799 static int
6800 srvsvc_dissect_element_NetShareCtr1006_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6802 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr1006_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetShareInfo1006)",hf_srvsvc_srvsvc_NetShareCtr1006_array);
6804 return offset;
6807 static int
6808 srvsvc_dissect_element_NetShareCtr1006_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6810 struct ndr_generic_array nga = { .is_conformant = false, };
6812 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6814 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetShareCtr1006_array__);
6816 return offset;
6819 static int
6820 srvsvc_dissect_element_NetShareCtr1006_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6822 offset = srvsvc_dissect_struct_NetShareInfo1006(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr1006_array,0);
6824 return offset;
6828 srvsvc_dissect_struct_NetShareCtr1006(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
6830 proto_item *item = NULL;
6831 proto_tree *tree = NULL;
6832 int old_offset;
6834 ALIGN_TO_5_BYTES;
6836 old_offset = offset;
6838 if (parent_tree) {
6839 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6840 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareCtr1006);
6843 offset = srvsvc_dissect_element_NetShareCtr1006_count(tvb, offset, pinfo, tree, di, drep);
6845 offset = srvsvc_dissect_element_NetShareCtr1006_array(tvb, offset, pinfo, tree, di, drep);
6848 proto_item_set_len(item, offset-old_offset);
6851 if (di->call_data->flags & DCERPC_IS_NDR64) {
6852 ALIGN_TO_5_BYTES;
6855 return offset;
6859 /* IDL: struct { */
6860 /* IDL: uint32 flags; */
6861 /* IDL: [charset(UTF16)] [unique(1)] uint16 *alternate_directory_name; */
6862 /* IDL: } */
6864 static int
6865 srvsvc_dissect_element_NetShareInfo1007_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6867 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfo1007_flags, 0);
6869 return offset;
6872 static int
6873 srvsvc_dissect_element_NetShareInfo1007_alternate_directory_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6875 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo1007_alternate_directory_name_, NDR_POINTER_UNIQUE, "Pointer to Alternate Directory Name (uint16)",hf_srvsvc_srvsvc_NetShareInfo1007_alternate_directory_name);
6877 return offset;
6880 static int
6881 srvsvc_dissect_element_NetShareInfo1007_alternate_directory_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6883 char *data = NULL;
6884 struct ndr_generic_array nga = { .is_conformant = false, };
6886 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6888 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6889 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareInfo1007_alternate_directory_name, false, &nga, &data);
6890 proto_item_append_text(tree, ": %s", data);
6892 return offset;
6896 srvsvc_dissect_struct_NetShareInfo1007(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
6898 proto_item *item = NULL;
6899 proto_tree *tree = NULL;
6900 int old_offset;
6902 ALIGN_TO_5_BYTES;
6904 old_offset = offset;
6906 if (parent_tree) {
6907 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6908 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareInfo1007);
6911 offset = srvsvc_dissect_element_NetShareInfo1007_flags(tvb, offset, pinfo, tree, di, drep);
6913 offset = srvsvc_dissect_element_NetShareInfo1007_alternate_directory_name(tvb, offset, pinfo, tree, di, drep);
6916 proto_item_set_len(item, offset-old_offset);
6919 if (di->call_data->flags & DCERPC_IS_NDR64) {
6920 ALIGN_TO_5_BYTES;
6923 return offset;
6927 /* IDL: struct { */
6928 /* IDL: uint32 count; */
6929 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetShareInfo1007 *array; */
6930 /* IDL: } */
6932 static int
6933 srvsvc_dissect_element_NetShareCtr1007_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6935 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareCtr1007_count, 0);
6937 return offset;
6940 static int
6941 srvsvc_dissect_element_NetShareCtr1007_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6943 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr1007_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetShareInfo1007)",hf_srvsvc_srvsvc_NetShareCtr1007_array);
6945 return offset;
6948 static int
6949 srvsvc_dissect_element_NetShareCtr1007_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6951 struct ndr_generic_array nga = { .is_conformant = false, };
6953 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6955 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetShareCtr1007_array__);
6957 return offset;
6960 static int
6961 srvsvc_dissect_element_NetShareCtr1007_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6963 offset = srvsvc_dissect_struct_NetShareInfo1007(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr1007_array,0);
6965 return offset;
6969 srvsvc_dissect_struct_NetShareCtr1007(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
6971 proto_item *item = NULL;
6972 proto_tree *tree = NULL;
6973 int old_offset;
6975 ALIGN_TO_5_BYTES;
6977 old_offset = offset;
6979 if (parent_tree) {
6980 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6981 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareCtr1007);
6984 offset = srvsvc_dissect_element_NetShareCtr1007_count(tvb, offset, pinfo, tree, di, drep);
6986 offset = srvsvc_dissect_element_NetShareCtr1007_array(tvb, offset, pinfo, tree, di, drep);
6989 proto_item_set_len(item, offset-old_offset);
6992 if (di->call_data->flags & DCERPC_IS_NDR64) {
6993 ALIGN_TO_5_BYTES;
6996 return offset;
7000 /* IDL: struct { */
7001 /* IDL: uint32 count; */
7002 /* IDL: [size_is(count)] [unique(1)] sec_desc_buf *array; */
7003 /* IDL: } */
7005 static int
7006 srvsvc_dissect_element_NetShareCtr1501_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7008 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareCtr1501_count, 0);
7010 return offset;
7013 static int
7014 srvsvc_dissect_element_NetShareCtr1501_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7016 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr1501_array_, NDR_POINTER_UNIQUE, "Pointer to Array (sec_desc_buf)",hf_srvsvc_srvsvc_NetShareCtr1501_array);
7018 return offset;
7021 static int
7022 srvsvc_dissect_element_NetShareCtr1501_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7024 struct ndr_generic_array nga = { .is_conformant = false, };
7026 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7028 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetShareCtr1501_array__);
7030 return offset;
7034 srvsvc_dissect_struct_NetShareCtr1501(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
7036 proto_item *item = NULL;
7037 proto_tree *tree = NULL;
7038 int old_offset;
7040 ALIGN_TO_5_BYTES;
7042 old_offset = offset;
7044 if (parent_tree) {
7045 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7046 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareCtr1501);
7049 offset = srvsvc_dissect_element_NetShareCtr1501_count(tvb, offset, pinfo, tree, di, drep);
7051 offset = srvsvc_dissect_element_NetShareCtr1501_array(tvb, offset, pinfo, tree, di, drep);
7054 proto_item_set_len(item, offset-old_offset);
7057 if (di->call_data->flags & DCERPC_IS_NDR64) {
7058 ALIGN_TO_5_BYTES;
7061 return offset;
7065 /* IDL: union { */
7066 /* IDL: [case(0)] [case(0)] [unique(1)] srvsvc_NetShareInfo0 *info0; */
7067 /* IDL: [case(1)] [case(1)] [unique(1)] srvsvc_NetShareInfo1 *info1; */
7068 /* IDL: [case(2)] [case(2)] [unique(1)] srvsvc_NetShareInfo2 *info2; */
7069 /* IDL: [case(501)] [case(501)] [unique(1)] srvsvc_NetShareInfo501 *info501; */
7070 /* IDL: [case(502)] [case(502)] [unique(1)] srvsvc_NetShareInfo502 *info502; */
7071 /* IDL: [case(1004)] [case(1004)] [unique(1)] srvsvc_NetShareInfo1004 *info1004; */
7072 /* IDL: [case(1005)] [case(1005)] [unique(1)] srvsvc_NetShareInfo1005 *info1005; */
7073 /* IDL: [case(1006)] [case(1006)] [unique(1)] srvsvc_NetShareInfo1006 *info1006; */
7074 /* IDL: [case(1007)] [case(1007)] [unique(1)] srvsvc_NetShareInfo1007 *info1007; */
7075 /* IDL: [case(1501)] [case(1501)] [unique(1)] sec_desc_buf *info1501; */
7076 /* IDL: [default] ; */
7077 /* IDL: } */
7079 static int
7080 srvsvc_dissect_element_NetShareInfo_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7082 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo_info0_, NDR_POINTER_UNIQUE, "Pointer to Info0 (srvsvc_NetShareInfo0)",hf_srvsvc_srvsvc_NetShareInfo_info0);
7084 return offset;
7087 static int
7088 srvsvc_dissect_element_NetShareInfo_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7090 offset = srvsvc_dissect_struct_NetShareInfo0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareInfo_info0,0);
7092 return offset;
7095 static int
7096 srvsvc_dissect_element_NetShareInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7098 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo_info1_, NDR_POINTER_UNIQUE, "Pointer to Info1 (srvsvc_NetShareInfo1)",hf_srvsvc_srvsvc_NetShareInfo_info1);
7100 return offset;
7103 static int
7104 srvsvc_dissect_element_NetShareInfo_info1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7106 offset = srvsvc_dissect_struct_NetShareInfo1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareInfo_info1,0);
7108 return offset;
7111 static int
7112 srvsvc_dissect_element_NetShareInfo_info2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7114 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo_info2_, NDR_POINTER_UNIQUE, "Pointer to Info2 (srvsvc_NetShareInfo2)",hf_srvsvc_srvsvc_NetShareInfo_info2);
7116 return offset;
7119 static int
7120 srvsvc_dissect_element_NetShareInfo_info2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7122 offset = srvsvc_dissect_struct_NetShareInfo2(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareInfo_info2,0);
7124 return offset;
7127 static int
7128 srvsvc_dissect_element_NetShareInfo_info501(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7130 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo_info501_, NDR_POINTER_UNIQUE, "Pointer to Info501 (srvsvc_NetShareInfo501)",hf_srvsvc_srvsvc_NetShareInfo_info501);
7132 return offset;
7135 static int
7136 srvsvc_dissect_element_NetShareInfo_info501_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7138 offset = srvsvc_dissect_struct_NetShareInfo501(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareInfo_info501,0);
7140 return offset;
7143 static int
7144 srvsvc_dissect_element_NetShareInfo_info502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7146 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo_info502_, NDR_POINTER_UNIQUE, "Pointer to Info502 (srvsvc_NetShareInfo502)",hf_srvsvc_srvsvc_NetShareInfo_info502);
7148 return offset;
7151 static int
7152 srvsvc_dissect_element_NetShareInfo_info502_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7154 offset = srvsvc_dissect_struct_NetShareInfo502(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareInfo_info502,0);
7156 return offset;
7159 static int
7160 srvsvc_dissect_element_NetShareInfo_info1004(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7162 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo_info1004_, NDR_POINTER_UNIQUE, "Pointer to Info1004 (srvsvc_NetShareInfo1004)",hf_srvsvc_srvsvc_NetShareInfo_info1004);
7164 return offset;
7167 static int
7168 srvsvc_dissect_element_NetShareInfo_info1004_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7170 offset = srvsvc_dissect_struct_NetShareInfo1004(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareInfo_info1004,0);
7172 return offset;
7175 static int
7176 srvsvc_dissect_element_NetShareInfo_info1005(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7178 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo_info1005_, NDR_POINTER_UNIQUE, "Pointer to Info1005 (srvsvc_NetShareInfo1005)",hf_srvsvc_srvsvc_NetShareInfo_info1005);
7180 return offset;
7183 static int
7184 srvsvc_dissect_element_NetShareInfo_info1005_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7186 offset = srvsvc_dissect_struct_NetShareInfo1005(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareInfo_info1005,0);
7188 return offset;
7191 static int
7192 srvsvc_dissect_element_NetShareInfo_info1006(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7194 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo_info1006_, NDR_POINTER_UNIQUE, "Pointer to Info1006 (srvsvc_NetShareInfo1006)",hf_srvsvc_srvsvc_NetShareInfo_info1006);
7196 return offset;
7199 static int
7200 srvsvc_dissect_element_NetShareInfo_info1006_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7202 offset = srvsvc_dissect_struct_NetShareInfo1006(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareInfo_info1006,0);
7204 return offset;
7207 static int
7208 srvsvc_dissect_element_NetShareInfo_info1007(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7210 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo_info1007_, NDR_POINTER_UNIQUE, "Pointer to Info1007 (srvsvc_NetShareInfo1007)",hf_srvsvc_srvsvc_NetShareInfo_info1007);
7212 return offset;
7215 static int
7216 srvsvc_dissect_element_NetShareInfo_info1007_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7218 offset = srvsvc_dissect_struct_NetShareInfo1007(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareInfo_info1007,0);
7220 return offset;
7223 static int
7224 srvsvc_dissect_element_NetShareInfo_info1501(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7226 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareInfo_info1501_, NDR_POINTER_UNIQUE, "Pointer to Info1501 (sec_desc_buf)",hf_srvsvc_srvsvc_NetShareInfo_info1501);
7228 return offset;
7231 static int
7232 srvsvc_dissect_NetShareInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
7234 proto_item *item = NULL;
7235 proto_tree *tree = NULL;
7236 int old_offset;
7237 uint32_t level;
7239 old_offset = offset;
7240 if (parent_tree) {
7241 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_srvsvc_srvsvc_NetShareInfo, &item, "srvsvc_NetShareInfo");
7244 UNION_ALIGN_TO_5_BYTES;
7245 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
7246 UNION_ALIGN_TO_5_BYTES;
7248 switch(level) {
7249 case 0:
7250 offset = srvsvc_dissect_element_NetShareInfo_info0(tvb, offset, pinfo, tree, di, drep);
7251 break;
7253 case 1:
7254 offset = srvsvc_dissect_element_NetShareInfo_info1(tvb, offset, pinfo, tree, di, drep);
7255 break;
7257 case 2:
7258 offset = srvsvc_dissect_element_NetShareInfo_info2(tvb, offset, pinfo, tree, di, drep);
7259 break;
7261 case 501:
7262 offset = srvsvc_dissect_element_NetShareInfo_info501(tvb, offset, pinfo, tree, di, drep);
7263 break;
7265 case 502:
7266 offset = srvsvc_dissect_element_NetShareInfo_info502(tvb, offset, pinfo, tree, di, drep);
7267 break;
7269 case 1004:
7270 offset = srvsvc_dissect_element_NetShareInfo_info1004(tvb, offset, pinfo, tree, di, drep);
7271 break;
7273 case 1005:
7274 offset = srvsvc_dissect_element_NetShareInfo_info1005(tvb, offset, pinfo, tree, di, drep);
7275 break;
7277 case 1006:
7278 offset = srvsvc_dissect_element_NetShareInfo_info1006(tvb, offset, pinfo, tree, di, drep);
7279 break;
7281 case 1007:
7282 offset = srvsvc_dissect_element_NetShareInfo_info1007(tvb, offset, pinfo, tree, di, drep);
7283 break;
7285 case 1501:
7286 offset = srvsvc_dissect_element_NetShareInfo_info1501(tvb, offset, pinfo, tree, di, drep);
7287 break;
7289 default:
7290 break;
7292 proto_item_set_len(item, offset-old_offset);
7295 return offset;
7298 /* IDL: union { */
7299 /* IDL: [case(0)] [case(0)] [unique(1)] srvsvc_NetShareCtr0 *ctr0; */
7300 /* IDL: [case(1)] [case(1)] [unique(1)] srvsvc_NetShareCtr1 *ctr1; */
7301 /* IDL: [case(2)] [case(2)] [unique(1)] srvsvc_NetShareCtr2 *ctr2; */
7302 /* IDL: [case(501)] [case(501)] [unique(1)] srvsvc_NetShareCtr501 *ctr501; */
7303 /* IDL: [case(502)] [case(502)] [unique(1)] srvsvc_NetShareCtr502 *ctr502; */
7304 /* IDL: [case(1004)] [case(1004)] [unique(1)] srvsvc_NetShareCtr1004 *ctr1004; */
7305 /* IDL: [case(1005)] [case(1005)] [unique(1)] srvsvc_NetShareCtr1005 *ctr1005; */
7306 /* IDL: [case(1006)] [case(1006)] [unique(1)] srvsvc_NetShareCtr1006 *ctr1006; */
7307 /* IDL: [case(1007)] [case(1007)] [unique(1)] srvsvc_NetShareCtr1007 *ctr1007; */
7308 /* IDL: [case(1501)] [case(1501)] [unique(1)] srvsvc_NetShareCtr1501 *ctr1501; */
7309 /* IDL: [default] ; */
7310 /* IDL: } */
7312 static int
7313 srvsvc_dissect_element_NetShareCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7315 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr_ctr0_, NDR_POINTER_UNIQUE, "Pointer to Ctr0 (srvsvc_NetShareCtr0)",hf_srvsvc_srvsvc_NetShareCtr_ctr0);
7317 return offset;
7320 static int
7321 srvsvc_dissect_element_NetShareCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7323 offset = srvsvc_dissect_struct_NetShareCtr0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr_ctr0,0);
7325 return offset;
7328 static int
7329 srvsvc_dissect_element_NetShareCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7331 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr_ctr1_, NDR_POINTER_UNIQUE, "Pointer to Ctr1 (srvsvc_NetShareCtr1)",hf_srvsvc_srvsvc_NetShareCtr_ctr1);
7333 return offset;
7336 static int
7337 srvsvc_dissect_element_NetShareCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7339 offset = srvsvc_dissect_struct_NetShareCtr1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr_ctr1,0);
7341 return offset;
7344 static int
7345 srvsvc_dissect_element_NetShareCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7347 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr_ctr2_, NDR_POINTER_UNIQUE, "Pointer to Ctr2 (srvsvc_NetShareCtr2)",hf_srvsvc_srvsvc_NetShareCtr_ctr2);
7349 return offset;
7352 static int
7353 srvsvc_dissect_element_NetShareCtr_ctr2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7355 offset = srvsvc_dissect_struct_NetShareCtr2(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr_ctr2,0);
7357 return offset;
7360 static int
7361 srvsvc_dissect_element_NetShareCtr_ctr501(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7363 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr_ctr501_, NDR_POINTER_UNIQUE, "Pointer to Ctr501 (srvsvc_NetShareCtr501)",hf_srvsvc_srvsvc_NetShareCtr_ctr501);
7365 return offset;
7368 static int
7369 srvsvc_dissect_element_NetShareCtr_ctr501_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7371 offset = srvsvc_dissect_struct_NetShareCtr501(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr_ctr501,0);
7373 return offset;
7376 static int
7377 srvsvc_dissect_element_NetShareCtr_ctr502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7379 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr_ctr502_, NDR_POINTER_UNIQUE, "Pointer to Ctr502 (srvsvc_NetShareCtr502)",hf_srvsvc_srvsvc_NetShareCtr_ctr502);
7381 return offset;
7384 static int
7385 srvsvc_dissect_element_NetShareCtr_ctr502_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7387 offset = srvsvc_dissect_struct_NetShareCtr502(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr_ctr502,0);
7389 return offset;
7392 static int
7393 srvsvc_dissect_element_NetShareCtr_ctr1004(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7395 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr_ctr1004_, NDR_POINTER_UNIQUE, "Pointer to Ctr1004 (srvsvc_NetShareCtr1004)",hf_srvsvc_srvsvc_NetShareCtr_ctr1004);
7397 return offset;
7400 static int
7401 srvsvc_dissect_element_NetShareCtr_ctr1004_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7403 offset = srvsvc_dissect_struct_NetShareCtr1004(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr_ctr1004,0);
7405 return offset;
7408 static int
7409 srvsvc_dissect_element_NetShareCtr_ctr1005(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7411 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr_ctr1005_, NDR_POINTER_UNIQUE, "Pointer to Ctr1005 (srvsvc_NetShareCtr1005)",hf_srvsvc_srvsvc_NetShareCtr_ctr1005);
7413 return offset;
7416 static int
7417 srvsvc_dissect_element_NetShareCtr_ctr1005_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7419 offset = srvsvc_dissect_struct_NetShareCtr1005(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr_ctr1005,0);
7421 return offset;
7424 static int
7425 srvsvc_dissect_element_NetShareCtr_ctr1006(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7427 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr_ctr1006_, NDR_POINTER_UNIQUE, "Pointer to Ctr1006 (srvsvc_NetShareCtr1006)",hf_srvsvc_srvsvc_NetShareCtr_ctr1006);
7429 return offset;
7432 static int
7433 srvsvc_dissect_element_NetShareCtr_ctr1006_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7435 offset = srvsvc_dissect_struct_NetShareCtr1006(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr_ctr1006,0);
7437 return offset;
7440 static int
7441 srvsvc_dissect_element_NetShareCtr_ctr1007(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7443 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr_ctr1007_, NDR_POINTER_UNIQUE, "Pointer to Ctr1007 (srvsvc_NetShareCtr1007)",hf_srvsvc_srvsvc_NetShareCtr_ctr1007);
7445 return offset;
7448 static int
7449 srvsvc_dissect_element_NetShareCtr_ctr1007_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7451 offset = srvsvc_dissect_struct_NetShareCtr1007(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr_ctr1007,0);
7453 return offset;
7456 static int
7457 srvsvc_dissect_element_NetShareCtr_ctr1501(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7459 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCtr_ctr1501_, NDR_POINTER_UNIQUE, "Pointer to Ctr1501 (srvsvc_NetShareCtr1501)",hf_srvsvc_srvsvc_NetShareCtr_ctr1501);
7461 return offset;
7464 static int
7465 srvsvc_dissect_element_NetShareCtr_ctr1501_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7467 offset = srvsvc_dissect_struct_NetShareCtr1501(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareCtr_ctr1501,0);
7469 return offset;
7472 static int
7473 srvsvc_dissect_NetShareCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
7475 proto_item *item = NULL;
7476 proto_tree *tree = NULL;
7477 int old_offset;
7478 uint32_t level;
7480 old_offset = offset;
7481 if (parent_tree) {
7482 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_srvsvc_srvsvc_NetShareCtr, &item, "srvsvc_NetShareCtr");
7485 UNION_ALIGN_TO_5_BYTES;
7486 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
7487 UNION_ALIGN_TO_5_BYTES;
7489 switch(level) {
7490 case 0:
7491 offset = srvsvc_dissect_element_NetShareCtr_ctr0(tvb, offset, pinfo, tree, di, drep);
7492 break;
7494 case 1:
7495 offset = srvsvc_dissect_element_NetShareCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
7496 break;
7498 case 2:
7499 offset = srvsvc_dissect_element_NetShareCtr_ctr2(tvb, offset, pinfo, tree, di, drep);
7500 break;
7502 case 501:
7503 offset = srvsvc_dissect_element_NetShareCtr_ctr501(tvb, offset, pinfo, tree, di, drep);
7504 break;
7506 case 502:
7507 offset = srvsvc_dissect_element_NetShareCtr_ctr502(tvb, offset, pinfo, tree, di, drep);
7508 break;
7510 case 1004:
7511 offset = srvsvc_dissect_element_NetShareCtr_ctr1004(tvb, offset, pinfo, tree, di, drep);
7512 break;
7514 case 1005:
7515 offset = srvsvc_dissect_element_NetShareCtr_ctr1005(tvb, offset, pinfo, tree, di, drep);
7516 break;
7518 case 1006:
7519 offset = srvsvc_dissect_element_NetShareCtr_ctr1006(tvb, offset, pinfo, tree, di, drep);
7520 break;
7522 case 1007:
7523 offset = srvsvc_dissect_element_NetShareCtr_ctr1007(tvb, offset, pinfo, tree, di, drep);
7524 break;
7526 case 1501:
7527 offset = srvsvc_dissect_element_NetShareCtr_ctr1501(tvb, offset, pinfo, tree, di, drep);
7528 break;
7530 default:
7531 break;
7533 proto_item_set_len(item, offset-old_offset);
7536 return offset;
7539 /* IDL: struct { */
7540 /* IDL: uint32 level; */
7541 /* IDL: [switch_is(level)] srvsvc_NetShareCtr ctr; */
7542 /* IDL: } */
7544 static int
7545 srvsvc_dissect_element_NetShareInfoCtr_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *level)
7547 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareInfoCtr_level, *level);
7549 return offset;
7553 srvsvc_dissect_struct_NetShareInfoCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
7555 uint32_t level = 0;
7556 proto_item *item = NULL;
7557 proto_tree *tree = NULL;
7558 int old_offset;
7560 ALIGN_TO_5_BYTES;
7562 old_offset = offset;
7564 if (parent_tree) {
7565 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7566 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetShareInfoCtr);
7569 offset = srvsvc_dissect_element_NetShareInfoCtr_level(tvb, offset, pinfo, tree, di, drep, &level);
7571 offset = srvsvc_dissect_element_NetShareInfoCtr_ctr(tvb, offset, pinfo, tree, di, drep, level);
7574 proto_item_set_len(item, offset-old_offset);
7577 if (di->call_data->flags & DCERPC_IS_NDR64) {
7578 ALIGN_TO_5_BYTES;
7581 return offset;
7585 /* IDL: enum { */
7586 /* IDL: PLATFORM_ID_DOS=300, */
7587 /* IDL: PLATFORM_ID_OS2=400, */
7588 /* IDL: PLATFORM_ID_NT=500, */
7589 /* IDL: PLATFORM_ID_OSF=600, */
7590 /* IDL: PLATFORM_ID_VMS=700, */
7591 /* IDL: } */
7594 srvsvc_dissect_enum_PlatformId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t *param _U_)
7596 uint32_t parameter=0;
7597 if (param) {
7598 parameter = *param;
7600 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
7601 if (param) {
7602 *param = parameter;
7604 return offset;
7608 /* IDL: struct { */
7609 /* IDL: srvsvc_PlatformId platform_id; */
7610 /* IDL: [charset(UTF16)] [unique(1)] uint16 *server_name; */
7611 /* IDL: } */
7613 static int
7614 srvsvc_dissect_element_NetSrvInfo100_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7616 offset = srvsvc_dissect_enum_PlatformId(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo100_platform_id, 0);
7618 return offset;
7621 static int
7622 srvsvc_dissect_element_NetSrvInfo100_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7624 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo100_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_srvsvc_srvsvc_NetSrvInfo100_server_name);
7626 return offset;
7629 static int
7630 srvsvc_dissect_element_NetSrvInfo100_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7632 char *data = NULL;
7633 struct ndr_generic_array nga = { .is_conformant = false, };
7635 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7637 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7638 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo100_server_name, false, &nga, &data);
7639 proto_item_append_text(tree, ": %s", data);
7641 return offset;
7645 srvsvc_dissect_struct_NetSrvInfo100(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
7647 proto_item *item = NULL;
7648 proto_tree *tree = NULL;
7649 int old_offset;
7651 ALIGN_TO_5_BYTES;
7653 old_offset = offset;
7655 if (parent_tree) {
7656 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7657 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo100);
7660 offset = srvsvc_dissect_element_NetSrvInfo100_platform_id(tvb, offset, pinfo, tree, di, drep);
7662 offset = srvsvc_dissect_element_NetSrvInfo100_server_name(tvb, offset, pinfo, tree, di, drep);
7665 proto_item_set_len(item, offset-old_offset);
7668 if (di->call_data->flags & DCERPC_IS_NDR64) {
7669 ALIGN_TO_5_BYTES;
7672 return offset;
7676 /* IDL: struct { */
7677 /* IDL: srvsvc_PlatformId platform_id; */
7678 /* IDL: [charset(UTF16)] [unique(1)] uint16 *server_name; */
7679 /* IDL: uint32 version_major; */
7680 /* IDL: uint32 version_minor; */
7681 /* IDL: svcctl_ServerType server_type; */
7682 /* IDL: [charset(UTF16)] [unique(1)] uint16 *comment; */
7683 /* IDL: } */
7685 static int
7686 srvsvc_dissect_element_NetSrvInfo101_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7688 offset = srvsvc_dissect_enum_PlatformId(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo101_platform_id, 0);
7690 return offset;
7693 static int
7694 srvsvc_dissect_element_NetSrvInfo101_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7696 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo101_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_srvsvc_srvsvc_NetSrvInfo101_server_name);
7698 return offset;
7701 static int
7702 srvsvc_dissect_element_NetSrvInfo101_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7704 char *data = NULL;
7705 struct ndr_generic_array nga = { .is_conformant = false, };
7707 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7709 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7710 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo101_server_name, false, &nga, &data);
7711 proto_item_append_text(tree, ": %s", data);
7713 return offset;
7716 static int
7717 srvsvc_dissect_element_NetSrvInfo101_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7719 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo101_version_major, 0);
7721 return offset;
7724 static int
7725 srvsvc_dissect_element_NetSrvInfo101_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7727 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo101_version_minor, 0);
7729 return offset;
7732 static int
7733 srvsvc_dissect_element_NetSrvInfo101_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7735 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo101_comment_, NDR_POINTER_UNIQUE, "Pointer to Comment (uint16)",hf_srvsvc_srvsvc_NetSrvInfo101_comment);
7737 return offset;
7740 static int
7741 srvsvc_dissect_element_NetSrvInfo101_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7743 char *data = NULL;
7744 struct ndr_generic_array nga = { .is_conformant = false, };
7746 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7748 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7749 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo101_comment, false, &nga, &data);
7750 proto_item_append_text(tree, ": %s", data);
7752 return offset;
7756 srvsvc_dissect_struct_NetSrvInfo101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
7758 proto_item *item = NULL;
7759 proto_tree *tree = NULL;
7760 int old_offset;
7762 ALIGN_TO_5_BYTES;
7764 old_offset = offset;
7766 if (parent_tree) {
7767 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7768 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo101);
7771 offset = srvsvc_dissect_element_NetSrvInfo101_platform_id(tvb, offset, pinfo, tree, di, drep);
7773 offset = srvsvc_dissect_element_NetSrvInfo101_server_name(tvb, offset, pinfo, tree, di, drep);
7775 offset = srvsvc_dissect_element_NetSrvInfo101_version_major(tvb, offset, pinfo, tree, di, drep);
7777 offset = srvsvc_dissect_element_NetSrvInfo101_version_minor(tvb, offset, pinfo, tree, di, drep);
7779 offset = srvsvc_dissect_element_NetSrvInfo101_server_type(tvb, offset, pinfo, tree, di, drep);
7781 offset = srvsvc_dissect_element_NetSrvInfo101_comment(tvb, offset, pinfo, tree, di, drep);
7784 proto_item_set_len(item, offset-old_offset);
7787 if (di->call_data->flags & DCERPC_IS_NDR64) {
7788 ALIGN_TO_5_BYTES;
7791 return offset;
7795 /* IDL: struct { */
7796 /* IDL: srvsvc_PlatformId platform_id; */
7797 /* IDL: [charset(UTF16)] [unique(1)] uint16 *server_name; */
7798 /* IDL: uint32 version_major; */
7799 /* IDL: uint32 version_minor; */
7800 /* IDL: svcctl_ServerType server_type; */
7801 /* IDL: [charset(UTF16)] [unique(1)] uint16 *comment; */
7802 /* IDL: uint32 users; */
7803 /* IDL: uint32 disc; */
7804 /* IDL: uint32 hidden; */
7805 /* IDL: uint32 announce; */
7806 /* IDL: uint32 anndelta; */
7807 /* IDL: uint32 licenses; */
7808 /* IDL: [charset(UTF16)] [unique(1)] uint16 *userpath; */
7809 /* IDL: } */
7811 static int
7812 srvsvc_dissect_element_NetSrvInfo102_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7814 offset = srvsvc_dissect_enum_PlatformId(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo102_platform_id, 0);
7816 return offset;
7819 static int
7820 srvsvc_dissect_element_NetSrvInfo102_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7822 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo102_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_srvsvc_srvsvc_NetSrvInfo102_server_name);
7824 return offset;
7827 static int
7828 srvsvc_dissect_element_NetSrvInfo102_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7830 char *data = NULL;
7831 struct ndr_generic_array nga = { .is_conformant = false, };
7833 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7835 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7836 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo102_server_name, false, &nga, &data);
7837 proto_item_append_text(tree, ": %s", data);
7839 return offset;
7842 static int
7843 srvsvc_dissect_element_NetSrvInfo102_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7845 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo102_version_major, 0);
7847 return offset;
7850 static int
7851 srvsvc_dissect_element_NetSrvInfo102_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7853 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo102_version_minor, 0);
7855 return offset;
7858 static int
7859 srvsvc_dissect_element_NetSrvInfo102_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7861 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo102_comment_, NDR_POINTER_UNIQUE, "Pointer to Comment (uint16)",hf_srvsvc_srvsvc_NetSrvInfo102_comment);
7863 return offset;
7866 static int
7867 srvsvc_dissect_element_NetSrvInfo102_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7869 char *data = NULL;
7870 struct ndr_generic_array nga = { .is_conformant = false, };
7872 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7874 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7875 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo102_comment, false, &nga, &data);
7876 proto_item_append_text(tree, ": %s", data);
7878 return offset;
7881 static int
7882 srvsvc_dissect_element_NetSrvInfo102_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7884 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo102_users, 0);
7886 return offset;
7889 static int
7890 srvsvc_dissect_element_NetSrvInfo102_disc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7892 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo102_disc, 0);
7894 return offset;
7897 static int
7898 srvsvc_dissect_element_NetSrvInfo102_hidden(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7900 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo102_hidden, 0);
7902 return offset;
7905 static int
7906 srvsvc_dissect_element_NetSrvInfo102_announce(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7908 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo102_announce, 0);
7910 return offset;
7913 static int
7914 srvsvc_dissect_element_NetSrvInfo102_anndelta(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7916 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo102_anndelta, 0);
7918 return offset;
7921 static int
7922 srvsvc_dissect_element_NetSrvInfo102_licenses(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7924 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo102_licenses, 0);
7926 return offset;
7929 static int
7930 srvsvc_dissect_element_NetSrvInfo102_userpath(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7932 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo102_userpath_, NDR_POINTER_UNIQUE, "Pointer to Userpath (uint16)",hf_srvsvc_srvsvc_NetSrvInfo102_userpath);
7934 return offset;
7937 static int
7938 srvsvc_dissect_element_NetSrvInfo102_userpath_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7940 char *data = NULL;
7941 struct ndr_generic_array nga = { .is_conformant = false, };
7943 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7945 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7946 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo102_userpath, false, &nga, &data);
7947 proto_item_append_text(tree, ": %s", data);
7949 return offset;
7953 srvsvc_dissect_struct_NetSrvInfo102(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
7955 proto_item *item = NULL;
7956 proto_tree *tree = NULL;
7957 int old_offset;
7959 ALIGN_TO_5_BYTES;
7961 old_offset = offset;
7963 if (parent_tree) {
7964 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
7965 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo102);
7968 offset = srvsvc_dissect_element_NetSrvInfo102_platform_id(tvb, offset, pinfo, tree, di, drep);
7970 offset = srvsvc_dissect_element_NetSrvInfo102_server_name(tvb, offset, pinfo, tree, di, drep);
7972 offset = srvsvc_dissect_element_NetSrvInfo102_version_major(tvb, offset, pinfo, tree, di, drep);
7974 offset = srvsvc_dissect_element_NetSrvInfo102_version_minor(tvb, offset, pinfo, tree, di, drep);
7976 offset = srvsvc_dissect_element_NetSrvInfo102_server_type(tvb, offset, pinfo, tree, di, drep);
7978 offset = srvsvc_dissect_element_NetSrvInfo102_comment(tvb, offset, pinfo, tree, di, drep);
7980 offset = srvsvc_dissect_element_NetSrvInfo102_users(tvb, offset, pinfo, tree, di, drep);
7982 offset = srvsvc_dissect_element_NetSrvInfo102_disc(tvb, offset, pinfo, tree, di, drep);
7984 offset = srvsvc_dissect_element_NetSrvInfo102_hidden(tvb, offset, pinfo, tree, di, drep);
7986 offset = srvsvc_dissect_element_NetSrvInfo102_announce(tvb, offset, pinfo, tree, di, drep);
7988 offset = srvsvc_dissect_element_NetSrvInfo102_anndelta(tvb, offset, pinfo, tree, di, drep);
7990 offset = srvsvc_dissect_element_NetSrvInfo102_licenses(tvb, offset, pinfo, tree, di, drep);
7992 offset = srvsvc_dissect_element_NetSrvInfo102_userpath(tvb, offset, pinfo, tree, di, drep);
7995 proto_item_set_len(item, offset-old_offset);
7998 if (di->call_data->flags & DCERPC_IS_NDR64) {
7999 ALIGN_TO_5_BYTES;
8002 return offset;
8006 /* IDL: struct { */
8007 /* IDL: uint32 ulist_mtime; */
8008 /* IDL: uint32 glist_mtime; */
8009 /* IDL: uint32 alist_mtime; */
8010 /* IDL: [charset(UTF16)] [unique(1)] uint16 *alerts; */
8011 /* IDL: uint32 security; */
8012 /* IDL: uint32 numadmin; */
8013 /* IDL: uint32 lanmask; */
8014 /* IDL: [charset(UTF16)] [unique(1)] uint16 *guestaccount; */
8015 /* IDL: uint32 chdevs; */
8016 /* IDL: uint32 chdevqs; */
8017 /* IDL: uint32 chdevjobs; */
8018 /* IDL: uint32 connections; */
8019 /* IDL: uint32 shares; */
8020 /* IDL: uint32 openfiles; */
8021 /* IDL: uint32 sessopen; */
8022 /* IDL: uint32 sesssvc; */
8023 /* IDL: uint32 sessreqs; */
8024 /* IDL: uint32 opensearch; */
8025 /* IDL: uint32 activelocks; */
8026 /* IDL: uint32 numreqbufs; */
8027 /* IDL: uint32 sizereqbufs; */
8028 /* IDL: uint32 numbigbufs; */
8029 /* IDL: uint32 numfiletasks; */
8030 /* IDL: uint32 alertsched; */
8031 /* IDL: uint32 erroralert; */
8032 /* IDL: uint32 logonalert; */
8033 /* IDL: uint32 accessalert; */
8034 /* IDL: uint32 diskalert; */
8035 /* IDL: uint32 netioalert; */
8036 /* IDL: uint32 maxaudits; */
8037 /* IDL: [charset(UTF16)] [unique(1)] uint16 *srvheuristics; */
8038 /* IDL: } */
8040 static int
8041 srvsvc_dissect_element_NetSrvInfo402_ulist_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8043 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_ulist_mtime, 0);
8045 return offset;
8048 static int
8049 srvsvc_dissect_element_NetSrvInfo402_glist_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8051 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_glist_mtime, 0);
8053 return offset;
8056 static int
8057 srvsvc_dissect_element_NetSrvInfo402_alist_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8059 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_alist_mtime, 0);
8061 return offset;
8064 static int
8065 srvsvc_dissect_element_NetSrvInfo402_alerts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8067 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo402_alerts_, NDR_POINTER_UNIQUE, "Pointer to Alerts (uint16)",hf_srvsvc_srvsvc_NetSrvInfo402_alerts);
8069 return offset;
8072 static int
8073 srvsvc_dissect_element_NetSrvInfo402_alerts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8075 char *data = NULL;
8076 struct ndr_generic_array nga = { .is_conformant = false, };
8078 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8080 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8081 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo402_alerts, false, &nga, &data);
8082 proto_item_append_text(tree, ": %s", data);
8084 return offset;
8087 static int
8088 srvsvc_dissect_element_NetSrvInfo402_security(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8090 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_security, 0);
8092 return offset;
8095 static int
8096 srvsvc_dissect_element_NetSrvInfo402_numadmin(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8098 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_numadmin, 0);
8100 return offset;
8103 static int
8104 srvsvc_dissect_element_NetSrvInfo402_lanmask(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8106 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_lanmask, 0);
8108 return offset;
8111 static int
8112 srvsvc_dissect_element_NetSrvInfo402_guestaccount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8114 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo402_guestaccount_, NDR_POINTER_UNIQUE, "Pointer to Guestaccount (uint16)",hf_srvsvc_srvsvc_NetSrvInfo402_guestaccount);
8116 return offset;
8119 static int
8120 srvsvc_dissect_element_NetSrvInfo402_guestaccount_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8122 char *data = NULL;
8123 struct ndr_generic_array nga = { .is_conformant = false, };
8125 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8127 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8128 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo402_guestaccount, false, &nga, &data);
8129 proto_item_append_text(tree, ": %s", data);
8131 return offset;
8134 static int
8135 srvsvc_dissect_element_NetSrvInfo402_chdevs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8137 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_chdevs, 0);
8139 return offset;
8142 static int
8143 srvsvc_dissect_element_NetSrvInfo402_chdevqs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8145 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_chdevqs, 0);
8147 return offset;
8150 static int
8151 srvsvc_dissect_element_NetSrvInfo402_chdevjobs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8153 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_chdevjobs, 0);
8155 return offset;
8158 static int
8159 srvsvc_dissect_element_NetSrvInfo402_connections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8161 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_connections, 0);
8163 return offset;
8166 static int
8167 srvsvc_dissect_element_NetSrvInfo402_shares(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8169 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_shares, 0);
8171 return offset;
8174 static int
8175 srvsvc_dissect_element_NetSrvInfo402_openfiles(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8177 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_openfiles, 0);
8179 return offset;
8182 static int
8183 srvsvc_dissect_element_NetSrvInfo402_sessopen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8185 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_sessopen, 0);
8187 return offset;
8190 static int
8191 srvsvc_dissect_element_NetSrvInfo402_sesssvc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8193 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_sesssvc, 0);
8195 return offset;
8198 static int
8199 srvsvc_dissect_element_NetSrvInfo402_sessreqs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8201 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_sessreqs, 0);
8203 return offset;
8206 static int
8207 srvsvc_dissect_element_NetSrvInfo402_opensearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8209 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_opensearch, 0);
8211 return offset;
8214 static int
8215 srvsvc_dissect_element_NetSrvInfo402_activelocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8217 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_activelocks, 0);
8219 return offset;
8222 static int
8223 srvsvc_dissect_element_NetSrvInfo402_numreqbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8225 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_numreqbufs, 0);
8227 return offset;
8230 static int
8231 srvsvc_dissect_element_NetSrvInfo402_sizereqbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8233 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_sizereqbufs, 0);
8235 return offset;
8238 static int
8239 srvsvc_dissect_element_NetSrvInfo402_numbigbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8241 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_numbigbufs, 0);
8243 return offset;
8246 static int
8247 srvsvc_dissect_element_NetSrvInfo402_numfiletasks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8249 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_numfiletasks, 0);
8251 return offset;
8254 static int
8255 srvsvc_dissect_element_NetSrvInfo402_alertsched(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8257 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_alertsched, 0);
8259 return offset;
8262 static int
8263 srvsvc_dissect_element_NetSrvInfo402_erroralert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8265 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_erroralert, 0);
8267 return offset;
8270 static int
8271 srvsvc_dissect_element_NetSrvInfo402_logonalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8273 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_logonalert, 0);
8275 return offset;
8278 static int
8279 srvsvc_dissect_element_NetSrvInfo402_accessalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8281 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_accessalert, 0);
8283 return offset;
8286 static int
8287 srvsvc_dissect_element_NetSrvInfo402_diskalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8289 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_diskalert, 0);
8291 return offset;
8294 static int
8295 srvsvc_dissect_element_NetSrvInfo402_netioalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8297 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_netioalert, 0);
8299 return offset;
8302 static int
8303 srvsvc_dissect_element_NetSrvInfo402_maxaudits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8305 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo402_maxaudits, 0);
8307 return offset;
8310 static int
8311 srvsvc_dissect_element_NetSrvInfo402_srvheuristics(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8313 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo402_srvheuristics_, NDR_POINTER_UNIQUE, "Pointer to Srvheuristics (uint16)",hf_srvsvc_srvsvc_NetSrvInfo402_srvheuristics);
8315 return offset;
8318 static int
8319 srvsvc_dissect_element_NetSrvInfo402_srvheuristics_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8321 char *data = NULL;
8322 struct ndr_generic_array nga = { .is_conformant = false, };
8324 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8326 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8327 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo402_srvheuristics, false, &nga, &data);
8328 proto_item_append_text(tree, ": %s", data);
8330 return offset;
8334 srvsvc_dissect_struct_NetSrvInfo402(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
8336 proto_item *item = NULL;
8337 proto_tree *tree = NULL;
8338 int old_offset;
8340 ALIGN_TO_5_BYTES;
8342 old_offset = offset;
8344 if (parent_tree) {
8345 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8346 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo402);
8349 offset = srvsvc_dissect_element_NetSrvInfo402_ulist_mtime(tvb, offset, pinfo, tree, di, drep);
8351 offset = srvsvc_dissect_element_NetSrvInfo402_glist_mtime(tvb, offset, pinfo, tree, di, drep);
8353 offset = srvsvc_dissect_element_NetSrvInfo402_alist_mtime(tvb, offset, pinfo, tree, di, drep);
8355 offset = srvsvc_dissect_element_NetSrvInfo402_alerts(tvb, offset, pinfo, tree, di, drep);
8357 offset = srvsvc_dissect_element_NetSrvInfo402_security(tvb, offset, pinfo, tree, di, drep);
8359 offset = srvsvc_dissect_element_NetSrvInfo402_numadmin(tvb, offset, pinfo, tree, di, drep);
8361 offset = srvsvc_dissect_element_NetSrvInfo402_lanmask(tvb, offset, pinfo, tree, di, drep);
8363 offset = srvsvc_dissect_element_NetSrvInfo402_guestaccount(tvb, offset, pinfo, tree, di, drep);
8365 offset = srvsvc_dissect_element_NetSrvInfo402_chdevs(tvb, offset, pinfo, tree, di, drep);
8367 offset = srvsvc_dissect_element_NetSrvInfo402_chdevqs(tvb, offset, pinfo, tree, di, drep);
8369 offset = srvsvc_dissect_element_NetSrvInfo402_chdevjobs(tvb, offset, pinfo, tree, di, drep);
8371 offset = srvsvc_dissect_element_NetSrvInfo402_connections(tvb, offset, pinfo, tree, di, drep);
8373 offset = srvsvc_dissect_element_NetSrvInfo402_shares(tvb, offset, pinfo, tree, di, drep);
8375 offset = srvsvc_dissect_element_NetSrvInfo402_openfiles(tvb, offset, pinfo, tree, di, drep);
8377 offset = srvsvc_dissect_element_NetSrvInfo402_sessopen(tvb, offset, pinfo, tree, di, drep);
8379 offset = srvsvc_dissect_element_NetSrvInfo402_sesssvc(tvb, offset, pinfo, tree, di, drep);
8381 offset = srvsvc_dissect_element_NetSrvInfo402_sessreqs(tvb, offset, pinfo, tree, di, drep);
8383 offset = srvsvc_dissect_element_NetSrvInfo402_opensearch(tvb, offset, pinfo, tree, di, drep);
8385 offset = srvsvc_dissect_element_NetSrvInfo402_activelocks(tvb, offset, pinfo, tree, di, drep);
8387 offset = srvsvc_dissect_element_NetSrvInfo402_numreqbufs(tvb, offset, pinfo, tree, di, drep);
8389 offset = srvsvc_dissect_element_NetSrvInfo402_sizereqbufs(tvb, offset, pinfo, tree, di, drep);
8391 offset = srvsvc_dissect_element_NetSrvInfo402_numbigbufs(tvb, offset, pinfo, tree, di, drep);
8393 offset = srvsvc_dissect_element_NetSrvInfo402_numfiletasks(tvb, offset, pinfo, tree, di, drep);
8395 offset = srvsvc_dissect_element_NetSrvInfo402_alertsched(tvb, offset, pinfo, tree, di, drep);
8397 offset = srvsvc_dissect_element_NetSrvInfo402_erroralert(tvb, offset, pinfo, tree, di, drep);
8399 offset = srvsvc_dissect_element_NetSrvInfo402_logonalert(tvb, offset, pinfo, tree, di, drep);
8401 offset = srvsvc_dissect_element_NetSrvInfo402_accessalert(tvb, offset, pinfo, tree, di, drep);
8403 offset = srvsvc_dissect_element_NetSrvInfo402_diskalert(tvb, offset, pinfo, tree, di, drep);
8405 offset = srvsvc_dissect_element_NetSrvInfo402_netioalert(tvb, offset, pinfo, tree, di, drep);
8407 offset = srvsvc_dissect_element_NetSrvInfo402_maxaudits(tvb, offset, pinfo, tree, di, drep);
8409 offset = srvsvc_dissect_element_NetSrvInfo402_srvheuristics(tvb, offset, pinfo, tree, di, drep);
8412 proto_item_set_len(item, offset-old_offset);
8415 if (di->call_data->flags & DCERPC_IS_NDR64) {
8416 ALIGN_TO_5_BYTES;
8419 return offset;
8423 /* IDL: struct { */
8424 /* IDL: uint32 ulist_mtime; */
8425 /* IDL: uint32 glist_mtime; */
8426 /* IDL: uint32 alist_mtime; */
8427 /* IDL: [charset(UTF16)] [unique(1)] uint16 *alerts; */
8428 /* IDL: uint32 security; */
8429 /* IDL: uint32 numadmin; */
8430 /* IDL: uint32 lanmask; */
8431 /* IDL: [charset(UTF16)] [unique(1)] uint16 *guestaccount; */
8432 /* IDL: uint32 chdevs; */
8433 /* IDL: uint32 chdevqs; */
8434 /* IDL: uint32 chdevjobs; */
8435 /* IDL: uint32 connections; */
8436 /* IDL: uint32 shares; */
8437 /* IDL: uint32 openfiles; */
8438 /* IDL: uint32 sessopen; */
8439 /* IDL: uint32 sesssvc; */
8440 /* IDL: uint32 sessreqs; */
8441 /* IDL: uint32 opensearch; */
8442 /* IDL: uint32 activelocks; */
8443 /* IDL: uint32 numreqbufs; */
8444 /* IDL: uint32 sizereqbufs; */
8445 /* IDL: uint32 numbigbufs; */
8446 /* IDL: uint32 numfiletasks; */
8447 /* IDL: uint32 alertsched; */
8448 /* IDL: uint32 erroralert; */
8449 /* IDL: uint32 logonalert; */
8450 /* IDL: uint32 accessalert; */
8451 /* IDL: uint32 diskalert; */
8452 /* IDL: uint32 netioalert; */
8453 /* IDL: uint32 maxaudits; */
8454 /* IDL: [charset(UTF16)] [unique(1)] uint16 *srvheuristics; */
8455 /* IDL: uint32 auditedevents; */
8456 /* IDL: uint32 auditprofile; */
8457 /* IDL: [charset(UTF16)] [unique(1)] uint16 *autopath; */
8458 /* IDL: } */
8460 static int
8461 srvsvc_dissect_element_NetSrvInfo403_ulist_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8463 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_ulist_mtime, 0);
8465 return offset;
8468 static int
8469 srvsvc_dissect_element_NetSrvInfo403_glist_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8471 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_glist_mtime, 0);
8473 return offset;
8476 static int
8477 srvsvc_dissect_element_NetSrvInfo403_alist_mtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8479 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_alist_mtime, 0);
8481 return offset;
8484 static int
8485 srvsvc_dissect_element_NetSrvInfo403_alerts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8487 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo403_alerts_, NDR_POINTER_UNIQUE, "Pointer to Alerts (uint16)",hf_srvsvc_srvsvc_NetSrvInfo403_alerts);
8489 return offset;
8492 static int
8493 srvsvc_dissect_element_NetSrvInfo403_alerts_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8495 char *data = NULL;
8496 struct ndr_generic_array nga = { .is_conformant = false, };
8498 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8500 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8501 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo403_alerts, false, &nga, &data);
8502 proto_item_append_text(tree, ": %s", data);
8504 return offset;
8507 static int
8508 srvsvc_dissect_element_NetSrvInfo403_security(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8510 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_security, 0);
8512 return offset;
8515 static int
8516 srvsvc_dissect_element_NetSrvInfo403_numadmin(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8518 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_numadmin, 0);
8520 return offset;
8523 static int
8524 srvsvc_dissect_element_NetSrvInfo403_lanmask(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8526 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_lanmask, 0);
8528 return offset;
8531 static int
8532 srvsvc_dissect_element_NetSrvInfo403_guestaccount(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8534 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo403_guestaccount_, NDR_POINTER_UNIQUE, "Pointer to Guestaccount (uint16)",hf_srvsvc_srvsvc_NetSrvInfo403_guestaccount);
8536 return offset;
8539 static int
8540 srvsvc_dissect_element_NetSrvInfo403_guestaccount_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8542 char *data = NULL;
8543 struct ndr_generic_array nga = { .is_conformant = false, };
8545 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8547 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8548 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo403_guestaccount, false, &nga, &data);
8549 proto_item_append_text(tree, ": %s", data);
8551 return offset;
8554 static int
8555 srvsvc_dissect_element_NetSrvInfo403_chdevs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8557 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_chdevs, 0);
8559 return offset;
8562 static int
8563 srvsvc_dissect_element_NetSrvInfo403_chdevqs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8565 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_chdevqs, 0);
8567 return offset;
8570 static int
8571 srvsvc_dissect_element_NetSrvInfo403_chdevjobs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8573 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_chdevjobs, 0);
8575 return offset;
8578 static int
8579 srvsvc_dissect_element_NetSrvInfo403_connections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8581 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_connections, 0);
8583 return offset;
8586 static int
8587 srvsvc_dissect_element_NetSrvInfo403_shares(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8589 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_shares, 0);
8591 return offset;
8594 static int
8595 srvsvc_dissect_element_NetSrvInfo403_openfiles(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8597 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_openfiles, 0);
8599 return offset;
8602 static int
8603 srvsvc_dissect_element_NetSrvInfo403_sessopen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8605 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_sessopen, 0);
8607 return offset;
8610 static int
8611 srvsvc_dissect_element_NetSrvInfo403_sesssvc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8613 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_sesssvc, 0);
8615 return offset;
8618 static int
8619 srvsvc_dissect_element_NetSrvInfo403_sessreqs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8621 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_sessreqs, 0);
8623 return offset;
8626 static int
8627 srvsvc_dissect_element_NetSrvInfo403_opensearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8629 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_opensearch, 0);
8631 return offset;
8634 static int
8635 srvsvc_dissect_element_NetSrvInfo403_activelocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8637 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_activelocks, 0);
8639 return offset;
8642 static int
8643 srvsvc_dissect_element_NetSrvInfo403_numreqbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8645 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_numreqbufs, 0);
8647 return offset;
8650 static int
8651 srvsvc_dissect_element_NetSrvInfo403_sizereqbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8653 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_sizereqbufs, 0);
8655 return offset;
8658 static int
8659 srvsvc_dissect_element_NetSrvInfo403_numbigbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8661 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_numbigbufs, 0);
8663 return offset;
8666 static int
8667 srvsvc_dissect_element_NetSrvInfo403_numfiletasks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8669 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_numfiletasks, 0);
8671 return offset;
8674 static int
8675 srvsvc_dissect_element_NetSrvInfo403_alertsched(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8677 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_alertsched, 0);
8679 return offset;
8682 static int
8683 srvsvc_dissect_element_NetSrvInfo403_erroralert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8685 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_erroralert, 0);
8687 return offset;
8690 static int
8691 srvsvc_dissect_element_NetSrvInfo403_logonalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8693 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_logonalert, 0);
8695 return offset;
8698 static int
8699 srvsvc_dissect_element_NetSrvInfo403_accessalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8701 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_accessalert, 0);
8703 return offset;
8706 static int
8707 srvsvc_dissect_element_NetSrvInfo403_diskalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8709 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_diskalert, 0);
8711 return offset;
8714 static int
8715 srvsvc_dissect_element_NetSrvInfo403_netioalert(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8717 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_netioalert, 0);
8719 return offset;
8722 static int
8723 srvsvc_dissect_element_NetSrvInfo403_maxaudits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8725 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_maxaudits, 0);
8727 return offset;
8730 static int
8731 srvsvc_dissect_element_NetSrvInfo403_srvheuristics(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8733 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo403_srvheuristics_, NDR_POINTER_UNIQUE, "Pointer to Srvheuristics (uint16)",hf_srvsvc_srvsvc_NetSrvInfo403_srvheuristics);
8735 return offset;
8738 static int
8739 srvsvc_dissect_element_NetSrvInfo403_srvheuristics_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8741 char *data = NULL;
8742 struct ndr_generic_array nga = { .is_conformant = false, };
8744 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8746 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8747 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo403_srvheuristics, false, &nga, &data);
8748 proto_item_append_text(tree, ": %s", data);
8750 return offset;
8753 static int
8754 srvsvc_dissect_element_NetSrvInfo403_auditedevents(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8756 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_auditedevents, 0);
8758 return offset;
8761 static int
8762 srvsvc_dissect_element_NetSrvInfo403_auditprofile(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8764 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo403_auditprofile, 0);
8766 return offset;
8769 static int
8770 srvsvc_dissect_element_NetSrvInfo403_autopath(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8772 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo403_autopath_, NDR_POINTER_UNIQUE, "Pointer to Autopath (uint16)",hf_srvsvc_srvsvc_NetSrvInfo403_autopath);
8774 return offset;
8777 static int
8778 srvsvc_dissect_element_NetSrvInfo403_autopath_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8780 char *data = NULL;
8781 struct ndr_generic_array nga = { .is_conformant = false, };
8783 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8785 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8786 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo403_autopath, false, &nga, &data);
8787 proto_item_append_text(tree, ": %s", data);
8789 return offset;
8793 srvsvc_dissect_struct_NetSrvInfo403(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
8795 proto_item *item = NULL;
8796 proto_tree *tree = NULL;
8797 int old_offset;
8799 ALIGN_TO_5_BYTES;
8801 old_offset = offset;
8803 if (parent_tree) {
8804 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
8805 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo403);
8808 offset = srvsvc_dissect_element_NetSrvInfo403_ulist_mtime(tvb, offset, pinfo, tree, di, drep);
8810 offset = srvsvc_dissect_element_NetSrvInfo403_glist_mtime(tvb, offset, pinfo, tree, di, drep);
8812 offset = srvsvc_dissect_element_NetSrvInfo403_alist_mtime(tvb, offset, pinfo, tree, di, drep);
8814 offset = srvsvc_dissect_element_NetSrvInfo403_alerts(tvb, offset, pinfo, tree, di, drep);
8816 offset = srvsvc_dissect_element_NetSrvInfo403_security(tvb, offset, pinfo, tree, di, drep);
8818 offset = srvsvc_dissect_element_NetSrvInfo403_numadmin(tvb, offset, pinfo, tree, di, drep);
8820 offset = srvsvc_dissect_element_NetSrvInfo403_lanmask(tvb, offset, pinfo, tree, di, drep);
8822 offset = srvsvc_dissect_element_NetSrvInfo403_guestaccount(tvb, offset, pinfo, tree, di, drep);
8824 offset = srvsvc_dissect_element_NetSrvInfo403_chdevs(tvb, offset, pinfo, tree, di, drep);
8826 offset = srvsvc_dissect_element_NetSrvInfo403_chdevqs(tvb, offset, pinfo, tree, di, drep);
8828 offset = srvsvc_dissect_element_NetSrvInfo403_chdevjobs(tvb, offset, pinfo, tree, di, drep);
8830 offset = srvsvc_dissect_element_NetSrvInfo403_connections(tvb, offset, pinfo, tree, di, drep);
8832 offset = srvsvc_dissect_element_NetSrvInfo403_shares(tvb, offset, pinfo, tree, di, drep);
8834 offset = srvsvc_dissect_element_NetSrvInfo403_openfiles(tvb, offset, pinfo, tree, di, drep);
8836 offset = srvsvc_dissect_element_NetSrvInfo403_sessopen(tvb, offset, pinfo, tree, di, drep);
8838 offset = srvsvc_dissect_element_NetSrvInfo403_sesssvc(tvb, offset, pinfo, tree, di, drep);
8840 offset = srvsvc_dissect_element_NetSrvInfo403_sessreqs(tvb, offset, pinfo, tree, di, drep);
8842 offset = srvsvc_dissect_element_NetSrvInfo403_opensearch(tvb, offset, pinfo, tree, di, drep);
8844 offset = srvsvc_dissect_element_NetSrvInfo403_activelocks(tvb, offset, pinfo, tree, di, drep);
8846 offset = srvsvc_dissect_element_NetSrvInfo403_numreqbufs(tvb, offset, pinfo, tree, di, drep);
8848 offset = srvsvc_dissect_element_NetSrvInfo403_sizereqbufs(tvb, offset, pinfo, tree, di, drep);
8850 offset = srvsvc_dissect_element_NetSrvInfo403_numbigbufs(tvb, offset, pinfo, tree, di, drep);
8852 offset = srvsvc_dissect_element_NetSrvInfo403_numfiletasks(tvb, offset, pinfo, tree, di, drep);
8854 offset = srvsvc_dissect_element_NetSrvInfo403_alertsched(tvb, offset, pinfo, tree, di, drep);
8856 offset = srvsvc_dissect_element_NetSrvInfo403_erroralert(tvb, offset, pinfo, tree, di, drep);
8858 offset = srvsvc_dissect_element_NetSrvInfo403_logonalert(tvb, offset, pinfo, tree, di, drep);
8860 offset = srvsvc_dissect_element_NetSrvInfo403_accessalert(tvb, offset, pinfo, tree, di, drep);
8862 offset = srvsvc_dissect_element_NetSrvInfo403_diskalert(tvb, offset, pinfo, tree, di, drep);
8864 offset = srvsvc_dissect_element_NetSrvInfo403_netioalert(tvb, offset, pinfo, tree, di, drep);
8866 offset = srvsvc_dissect_element_NetSrvInfo403_maxaudits(tvb, offset, pinfo, tree, di, drep);
8868 offset = srvsvc_dissect_element_NetSrvInfo403_srvheuristics(tvb, offset, pinfo, tree, di, drep);
8870 offset = srvsvc_dissect_element_NetSrvInfo403_auditedevents(tvb, offset, pinfo, tree, di, drep);
8872 offset = srvsvc_dissect_element_NetSrvInfo403_auditprofile(tvb, offset, pinfo, tree, di, drep);
8874 offset = srvsvc_dissect_element_NetSrvInfo403_autopath(tvb, offset, pinfo, tree, di, drep);
8877 proto_item_set_len(item, offset-old_offset);
8880 if (di->call_data->flags & DCERPC_IS_NDR64) {
8881 ALIGN_TO_5_BYTES;
8884 return offset;
8888 /* IDL: struct { */
8889 /* IDL: uint32 sessopen; */
8890 /* IDL: uint32 sesssvc; */
8891 /* IDL: uint32 opensearch; */
8892 /* IDL: uint32 sizereqbufs; */
8893 /* IDL: uint32 initworkitems; */
8894 /* IDL: uint32 maxworkitems; */
8895 /* IDL: uint32 rawworkitems; */
8896 /* IDL: uint32 irpstacksize; */
8897 /* IDL: uint32 maxrawbuflen; */
8898 /* IDL: uint32 sessusers; */
8899 /* IDL: uint32 sessconns; */
8900 /* IDL: uint32 maxpagedmemoryusage; */
8901 /* IDL: uint32 maxnonpagedmemoryusage; */
8902 /* IDL: uint32 enablesoftcompat; */
8903 /* IDL: uint32 enableforcedlogoff; */
8904 /* IDL: uint32 timesource; */
8905 /* IDL: uint32 acceptdownlevelapis; */
8906 /* IDL: uint32 lmannounce; */
8907 /* IDL: } */
8909 static int
8910 srvsvc_dissect_element_NetSrvInfo502_sessopen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8912 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_sessopen, 0);
8914 return offset;
8917 static int
8918 srvsvc_dissect_element_NetSrvInfo502_sesssvc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8920 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_sesssvc, 0);
8922 return offset;
8925 static int
8926 srvsvc_dissect_element_NetSrvInfo502_opensearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8928 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_opensearch, 0);
8930 return offset;
8933 static int
8934 srvsvc_dissect_element_NetSrvInfo502_sizereqbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8936 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_sizereqbufs, 0);
8938 return offset;
8941 static int
8942 srvsvc_dissect_element_NetSrvInfo502_initworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8944 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_initworkitems, 0);
8946 return offset;
8949 static int
8950 srvsvc_dissect_element_NetSrvInfo502_maxworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8952 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_maxworkitems, 0);
8954 return offset;
8957 static int
8958 srvsvc_dissect_element_NetSrvInfo502_rawworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8960 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_rawworkitems, 0);
8962 return offset;
8965 static int
8966 srvsvc_dissect_element_NetSrvInfo502_irpstacksize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8968 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_irpstacksize, 0);
8970 return offset;
8973 static int
8974 srvsvc_dissect_element_NetSrvInfo502_maxrawbuflen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8976 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_maxrawbuflen, 0);
8978 return offset;
8981 static int
8982 srvsvc_dissect_element_NetSrvInfo502_sessusers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8984 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_sessusers, 0);
8986 return offset;
8989 static int
8990 srvsvc_dissect_element_NetSrvInfo502_sessconns(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8992 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_sessconns, 0);
8994 return offset;
8997 static int
8998 srvsvc_dissect_element_NetSrvInfo502_maxpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9000 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_maxpagedmemoryusage, 0);
9002 return offset;
9005 static int
9006 srvsvc_dissect_element_NetSrvInfo502_maxnonpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9008 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_maxnonpagedmemoryusage, 0);
9010 return offset;
9013 static int
9014 srvsvc_dissect_element_NetSrvInfo502_enablesoftcompat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9016 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_enablesoftcompat, 0);
9018 return offset;
9021 static int
9022 srvsvc_dissect_element_NetSrvInfo502_enableforcedlogoff(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9024 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_enableforcedlogoff, 0);
9026 return offset;
9029 static int
9030 srvsvc_dissect_element_NetSrvInfo502_timesource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9032 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_timesource, 0);
9034 return offset;
9037 static int
9038 srvsvc_dissect_element_NetSrvInfo502_acceptdownlevelapis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9040 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_acceptdownlevelapis, 0);
9042 return offset;
9045 static int
9046 srvsvc_dissect_element_NetSrvInfo502_lmannounce(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9048 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo502_lmannounce, 0);
9050 return offset;
9054 srvsvc_dissect_struct_NetSrvInfo502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
9056 proto_item *item = NULL;
9057 proto_tree *tree = NULL;
9058 int old_offset;
9060 ALIGN_TO_4_BYTES;
9062 old_offset = offset;
9064 if (parent_tree) {
9065 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9066 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo502);
9069 offset = srvsvc_dissect_element_NetSrvInfo502_sessopen(tvb, offset, pinfo, tree, di, drep);
9071 offset = srvsvc_dissect_element_NetSrvInfo502_sesssvc(tvb, offset, pinfo, tree, di, drep);
9073 offset = srvsvc_dissect_element_NetSrvInfo502_opensearch(tvb, offset, pinfo, tree, di, drep);
9075 offset = srvsvc_dissect_element_NetSrvInfo502_sizereqbufs(tvb, offset, pinfo, tree, di, drep);
9077 offset = srvsvc_dissect_element_NetSrvInfo502_initworkitems(tvb, offset, pinfo, tree, di, drep);
9079 offset = srvsvc_dissect_element_NetSrvInfo502_maxworkitems(tvb, offset, pinfo, tree, di, drep);
9081 offset = srvsvc_dissect_element_NetSrvInfo502_rawworkitems(tvb, offset, pinfo, tree, di, drep);
9083 offset = srvsvc_dissect_element_NetSrvInfo502_irpstacksize(tvb, offset, pinfo, tree, di, drep);
9085 offset = srvsvc_dissect_element_NetSrvInfo502_maxrawbuflen(tvb, offset, pinfo, tree, di, drep);
9087 offset = srvsvc_dissect_element_NetSrvInfo502_sessusers(tvb, offset, pinfo, tree, di, drep);
9089 offset = srvsvc_dissect_element_NetSrvInfo502_sessconns(tvb, offset, pinfo, tree, di, drep);
9091 offset = srvsvc_dissect_element_NetSrvInfo502_maxpagedmemoryusage(tvb, offset, pinfo, tree, di, drep);
9093 offset = srvsvc_dissect_element_NetSrvInfo502_maxnonpagedmemoryusage(tvb, offset, pinfo, tree, di, drep);
9095 offset = srvsvc_dissect_element_NetSrvInfo502_enablesoftcompat(tvb, offset, pinfo, tree, di, drep);
9097 offset = srvsvc_dissect_element_NetSrvInfo502_enableforcedlogoff(tvb, offset, pinfo, tree, di, drep);
9099 offset = srvsvc_dissect_element_NetSrvInfo502_timesource(tvb, offset, pinfo, tree, di, drep);
9101 offset = srvsvc_dissect_element_NetSrvInfo502_acceptdownlevelapis(tvb, offset, pinfo, tree, di, drep);
9103 offset = srvsvc_dissect_element_NetSrvInfo502_lmannounce(tvb, offset, pinfo, tree, di, drep);
9106 proto_item_set_len(item, offset-old_offset);
9109 if (di->call_data->flags & DCERPC_IS_NDR64) {
9110 ALIGN_TO_4_BYTES;
9113 return offset;
9117 /* IDL: struct { */
9118 /* IDL: uint32 sessopen; */
9119 /* IDL: uint32 sesssvc; */
9120 /* IDL: uint32 opensearch; */
9121 /* IDL: uint32 sizereqbufs; */
9122 /* IDL: uint32 initworkitems; */
9123 /* IDL: uint32 maxworkitems; */
9124 /* IDL: uint32 rawworkitems; */
9125 /* IDL: uint32 irpstacksize; */
9126 /* IDL: uint32 maxrawbuflen; */
9127 /* IDL: uint32 sessusers; */
9128 /* IDL: uint32 sessconns; */
9129 /* IDL: uint32 maxpagedmemoryusage; */
9130 /* IDL: uint32 maxnonpagedmemoryusage; */
9131 /* IDL: uint32 enablesoftcompat; */
9132 /* IDL: uint32 enableforcedlogoff; */
9133 /* IDL: uint32 timesource; */
9134 /* IDL: uint32 acceptdownlevelapis; */
9135 /* IDL: uint32 lmannounce; */
9136 /* IDL: [charset(UTF16)] [unique(1)] uint16 *domain; */
9137 /* IDL: uint32 maxcopyreadlen; */
9138 /* IDL: uint32 maxcopywritelen; */
9139 /* IDL: uint32 minkeepsearch; */
9140 /* IDL: uint32 maxkeepsearch; */
9141 /* IDL: uint32 minkeepcomplsearch; */
9142 /* IDL: uint32 maxkeepcomplsearch; */
9143 /* IDL: uint32 threadcountadd; */
9144 /* IDL: uint32 numlockthreads; */
9145 /* IDL: uint32 scavtimeout; */
9146 /* IDL: uint32 minrcvqueue; */
9147 /* IDL: uint32 minfreeworkitems; */
9148 /* IDL: uint32 xactmemsize; */
9149 /* IDL: uint32 threadpriority; */
9150 /* IDL: uint32 maxmpxct; */
9151 /* IDL: uint32 oplockbreakwait; */
9152 /* IDL: uint32 oplockbreakresponsewait; */
9153 /* IDL: uint32 enableoplocks; */
9154 /* IDL: uint32 enableoplockforceclose; */
9155 /* IDL: uint32 enablefcbopens; */
9156 /* IDL: uint32 enableraw; */
9157 /* IDL: uint32 enablesharednetdrives; */
9158 /* IDL: uint32 minfreeconnections; */
9159 /* IDL: uint32 maxfreeconnections; */
9160 /* IDL: } */
9162 static int
9163 srvsvc_dissect_element_NetSrvInfo503_sessopen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9165 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_sessopen, 0);
9167 return offset;
9170 static int
9171 srvsvc_dissect_element_NetSrvInfo503_sesssvc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9173 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_sesssvc, 0);
9175 return offset;
9178 static int
9179 srvsvc_dissect_element_NetSrvInfo503_opensearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9181 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_opensearch, 0);
9183 return offset;
9186 static int
9187 srvsvc_dissect_element_NetSrvInfo503_sizereqbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9189 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_sizereqbufs, 0);
9191 return offset;
9194 static int
9195 srvsvc_dissect_element_NetSrvInfo503_initworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9197 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_initworkitems, 0);
9199 return offset;
9202 static int
9203 srvsvc_dissect_element_NetSrvInfo503_maxworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9205 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_maxworkitems, 0);
9207 return offset;
9210 static int
9211 srvsvc_dissect_element_NetSrvInfo503_rawworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9213 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_rawworkitems, 0);
9215 return offset;
9218 static int
9219 srvsvc_dissect_element_NetSrvInfo503_irpstacksize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9221 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_irpstacksize, 0);
9223 return offset;
9226 static int
9227 srvsvc_dissect_element_NetSrvInfo503_maxrawbuflen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9229 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_maxrawbuflen, 0);
9231 return offset;
9234 static int
9235 srvsvc_dissect_element_NetSrvInfo503_sessusers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9237 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_sessusers, 0);
9239 return offset;
9242 static int
9243 srvsvc_dissect_element_NetSrvInfo503_sessconns(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9245 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_sessconns, 0);
9247 return offset;
9250 static int
9251 srvsvc_dissect_element_NetSrvInfo503_maxpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9253 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_maxpagedmemoryusage, 0);
9255 return offset;
9258 static int
9259 srvsvc_dissect_element_NetSrvInfo503_maxnonpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9261 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_maxnonpagedmemoryusage, 0);
9263 return offset;
9266 static int
9267 srvsvc_dissect_element_NetSrvInfo503_enablesoftcompat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9269 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_enablesoftcompat, 0);
9271 return offset;
9274 static int
9275 srvsvc_dissect_element_NetSrvInfo503_enableforcedlogoff(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9277 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_enableforcedlogoff, 0);
9279 return offset;
9282 static int
9283 srvsvc_dissect_element_NetSrvInfo503_timesource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9285 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_timesource, 0);
9287 return offset;
9290 static int
9291 srvsvc_dissect_element_NetSrvInfo503_acceptdownlevelapis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9293 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_acceptdownlevelapis, 0);
9295 return offset;
9298 static int
9299 srvsvc_dissect_element_NetSrvInfo503_lmannounce(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9301 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_lmannounce, 0);
9303 return offset;
9306 static int
9307 srvsvc_dissect_element_NetSrvInfo503_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9309 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo503_domain_, NDR_POINTER_UNIQUE, "Pointer to Domain (uint16)",hf_srvsvc_srvsvc_NetSrvInfo503_domain);
9311 return offset;
9314 static int
9315 srvsvc_dissect_element_NetSrvInfo503_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9317 char *data = NULL;
9318 struct ndr_generic_array nga = { .is_conformant = false, };
9320 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9322 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9323 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo503_domain, false, &nga, &data);
9324 proto_item_append_text(tree, ": %s", data);
9326 return offset;
9329 static int
9330 srvsvc_dissect_element_NetSrvInfo503_maxcopyreadlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9332 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_maxcopyreadlen, 0);
9334 return offset;
9337 static int
9338 srvsvc_dissect_element_NetSrvInfo503_maxcopywritelen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9340 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_maxcopywritelen, 0);
9342 return offset;
9345 static int
9346 srvsvc_dissect_element_NetSrvInfo503_minkeepsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9348 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_minkeepsearch, 0);
9350 return offset;
9353 static int
9354 srvsvc_dissect_element_NetSrvInfo503_maxkeepsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9356 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_maxkeepsearch, 0);
9358 return offset;
9361 static int
9362 srvsvc_dissect_element_NetSrvInfo503_minkeepcomplsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9364 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_minkeepcomplsearch, 0);
9366 return offset;
9369 static int
9370 srvsvc_dissect_element_NetSrvInfo503_maxkeepcomplsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9372 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_maxkeepcomplsearch, 0);
9374 return offset;
9377 static int
9378 srvsvc_dissect_element_NetSrvInfo503_threadcountadd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9380 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_threadcountadd, 0);
9382 return offset;
9385 static int
9386 srvsvc_dissect_element_NetSrvInfo503_numlockthreads(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9388 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_numlockthreads, 0);
9390 return offset;
9393 static int
9394 srvsvc_dissect_element_NetSrvInfo503_scavtimeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9396 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_scavtimeout, 0);
9398 return offset;
9401 static int
9402 srvsvc_dissect_element_NetSrvInfo503_minrcvqueue(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9404 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_minrcvqueue, 0);
9406 return offset;
9409 static int
9410 srvsvc_dissect_element_NetSrvInfo503_minfreeworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9412 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_minfreeworkitems, 0);
9414 return offset;
9417 static int
9418 srvsvc_dissect_element_NetSrvInfo503_xactmemsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9420 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_xactmemsize, 0);
9422 return offset;
9425 static int
9426 srvsvc_dissect_element_NetSrvInfo503_threadpriority(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9428 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_threadpriority, 0);
9430 return offset;
9433 static int
9434 srvsvc_dissect_element_NetSrvInfo503_maxmpxct(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9436 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_maxmpxct, 0);
9438 return offset;
9441 static int
9442 srvsvc_dissect_element_NetSrvInfo503_oplockbreakwait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9444 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_oplockbreakwait, 0);
9446 return offset;
9449 static int
9450 srvsvc_dissect_element_NetSrvInfo503_oplockbreakresponsewait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9452 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_oplockbreakresponsewait, 0);
9454 return offset;
9457 static int
9458 srvsvc_dissect_element_NetSrvInfo503_enableoplocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9460 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_enableoplocks, 0);
9462 return offset;
9465 static int
9466 srvsvc_dissect_element_NetSrvInfo503_enableoplockforceclose(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9468 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_enableoplockforceclose, 0);
9470 return offset;
9473 static int
9474 srvsvc_dissect_element_NetSrvInfo503_enablefcbopens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9476 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_enablefcbopens, 0);
9478 return offset;
9481 static int
9482 srvsvc_dissect_element_NetSrvInfo503_enableraw(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9484 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_enableraw, 0);
9486 return offset;
9489 static int
9490 srvsvc_dissect_element_NetSrvInfo503_enablesharednetdrives(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9492 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_enablesharednetdrives, 0);
9494 return offset;
9497 static int
9498 srvsvc_dissect_element_NetSrvInfo503_minfreeconnections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9500 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_minfreeconnections, 0);
9502 return offset;
9505 static int
9506 srvsvc_dissect_element_NetSrvInfo503_maxfreeconnections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9508 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo503_maxfreeconnections, 0);
9510 return offset;
9514 srvsvc_dissect_struct_NetSrvInfo503(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
9516 proto_item *item = NULL;
9517 proto_tree *tree = NULL;
9518 int old_offset;
9520 ALIGN_TO_5_BYTES;
9522 old_offset = offset;
9524 if (parent_tree) {
9525 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
9526 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo503);
9529 offset = srvsvc_dissect_element_NetSrvInfo503_sessopen(tvb, offset, pinfo, tree, di, drep);
9531 offset = srvsvc_dissect_element_NetSrvInfo503_sesssvc(tvb, offset, pinfo, tree, di, drep);
9533 offset = srvsvc_dissect_element_NetSrvInfo503_opensearch(tvb, offset, pinfo, tree, di, drep);
9535 offset = srvsvc_dissect_element_NetSrvInfo503_sizereqbufs(tvb, offset, pinfo, tree, di, drep);
9537 offset = srvsvc_dissect_element_NetSrvInfo503_initworkitems(tvb, offset, pinfo, tree, di, drep);
9539 offset = srvsvc_dissect_element_NetSrvInfo503_maxworkitems(tvb, offset, pinfo, tree, di, drep);
9541 offset = srvsvc_dissect_element_NetSrvInfo503_rawworkitems(tvb, offset, pinfo, tree, di, drep);
9543 offset = srvsvc_dissect_element_NetSrvInfo503_irpstacksize(tvb, offset, pinfo, tree, di, drep);
9545 offset = srvsvc_dissect_element_NetSrvInfo503_maxrawbuflen(tvb, offset, pinfo, tree, di, drep);
9547 offset = srvsvc_dissect_element_NetSrvInfo503_sessusers(tvb, offset, pinfo, tree, di, drep);
9549 offset = srvsvc_dissect_element_NetSrvInfo503_sessconns(tvb, offset, pinfo, tree, di, drep);
9551 offset = srvsvc_dissect_element_NetSrvInfo503_maxpagedmemoryusage(tvb, offset, pinfo, tree, di, drep);
9553 offset = srvsvc_dissect_element_NetSrvInfo503_maxnonpagedmemoryusage(tvb, offset, pinfo, tree, di, drep);
9555 offset = srvsvc_dissect_element_NetSrvInfo503_enablesoftcompat(tvb, offset, pinfo, tree, di, drep);
9557 offset = srvsvc_dissect_element_NetSrvInfo503_enableforcedlogoff(tvb, offset, pinfo, tree, di, drep);
9559 offset = srvsvc_dissect_element_NetSrvInfo503_timesource(tvb, offset, pinfo, tree, di, drep);
9561 offset = srvsvc_dissect_element_NetSrvInfo503_acceptdownlevelapis(tvb, offset, pinfo, tree, di, drep);
9563 offset = srvsvc_dissect_element_NetSrvInfo503_lmannounce(tvb, offset, pinfo, tree, di, drep);
9565 offset = srvsvc_dissect_element_NetSrvInfo503_domain(tvb, offset, pinfo, tree, di, drep);
9567 offset = srvsvc_dissect_element_NetSrvInfo503_maxcopyreadlen(tvb, offset, pinfo, tree, di, drep);
9569 offset = srvsvc_dissect_element_NetSrvInfo503_maxcopywritelen(tvb, offset, pinfo, tree, di, drep);
9571 offset = srvsvc_dissect_element_NetSrvInfo503_minkeepsearch(tvb, offset, pinfo, tree, di, drep);
9573 offset = srvsvc_dissect_element_NetSrvInfo503_maxkeepsearch(tvb, offset, pinfo, tree, di, drep);
9575 offset = srvsvc_dissect_element_NetSrvInfo503_minkeepcomplsearch(tvb, offset, pinfo, tree, di, drep);
9577 offset = srvsvc_dissect_element_NetSrvInfo503_maxkeepcomplsearch(tvb, offset, pinfo, tree, di, drep);
9579 offset = srvsvc_dissect_element_NetSrvInfo503_threadcountadd(tvb, offset, pinfo, tree, di, drep);
9581 offset = srvsvc_dissect_element_NetSrvInfo503_numlockthreads(tvb, offset, pinfo, tree, di, drep);
9583 offset = srvsvc_dissect_element_NetSrvInfo503_scavtimeout(tvb, offset, pinfo, tree, di, drep);
9585 offset = srvsvc_dissect_element_NetSrvInfo503_minrcvqueue(tvb, offset, pinfo, tree, di, drep);
9587 offset = srvsvc_dissect_element_NetSrvInfo503_minfreeworkitems(tvb, offset, pinfo, tree, di, drep);
9589 offset = srvsvc_dissect_element_NetSrvInfo503_xactmemsize(tvb, offset, pinfo, tree, di, drep);
9591 offset = srvsvc_dissect_element_NetSrvInfo503_threadpriority(tvb, offset, pinfo, tree, di, drep);
9593 offset = srvsvc_dissect_element_NetSrvInfo503_maxmpxct(tvb, offset, pinfo, tree, di, drep);
9595 offset = srvsvc_dissect_element_NetSrvInfo503_oplockbreakwait(tvb, offset, pinfo, tree, di, drep);
9597 offset = srvsvc_dissect_element_NetSrvInfo503_oplockbreakresponsewait(tvb, offset, pinfo, tree, di, drep);
9599 offset = srvsvc_dissect_element_NetSrvInfo503_enableoplocks(tvb, offset, pinfo, tree, di, drep);
9601 offset = srvsvc_dissect_element_NetSrvInfo503_enableoplockforceclose(tvb, offset, pinfo, tree, di, drep);
9603 offset = srvsvc_dissect_element_NetSrvInfo503_enablefcbopens(tvb, offset, pinfo, tree, di, drep);
9605 offset = srvsvc_dissect_element_NetSrvInfo503_enableraw(tvb, offset, pinfo, tree, di, drep);
9607 offset = srvsvc_dissect_element_NetSrvInfo503_enablesharednetdrives(tvb, offset, pinfo, tree, di, drep);
9609 offset = srvsvc_dissect_element_NetSrvInfo503_minfreeconnections(tvb, offset, pinfo, tree, di, drep);
9611 offset = srvsvc_dissect_element_NetSrvInfo503_maxfreeconnections(tvb, offset, pinfo, tree, di, drep);
9614 proto_item_set_len(item, offset-old_offset);
9617 if (di->call_data->flags & DCERPC_IS_NDR64) {
9618 ALIGN_TO_5_BYTES;
9621 return offset;
9625 /* IDL: struct { */
9626 /* IDL: uint32 sessopen; */
9627 /* IDL: uint32 sesssvc; */
9628 /* IDL: uint32 opensearch; */
9629 /* IDL: uint32 sizereqbufs; */
9630 /* IDL: uint32 initworkitems; */
9631 /* IDL: uint32 maxworkitems; */
9632 /* IDL: uint32 rawworkitems; */
9633 /* IDL: uint32 irpstacksize; */
9634 /* IDL: uint32 maxrawbuflen; */
9635 /* IDL: uint32 sessusers; */
9636 /* IDL: uint32 sessconns; */
9637 /* IDL: uint32 maxpagedmemoryusage; */
9638 /* IDL: uint32 maxnonpagedmemoryusage; */
9639 /* IDL: uint32 enablesoftcompat; */
9640 /* IDL: uint32 enableforcedlogoff; */
9641 /* IDL: uint32 timesource; */
9642 /* IDL: uint32 acceptdownlevelapis; */
9643 /* IDL: uint32 lmannounce; */
9644 /* IDL: [charset(UTF16)] [unique(1)] uint16 *domain; */
9645 /* IDL: uint32 maxcopyreadlen; */
9646 /* IDL: uint32 maxcopywritelen; */
9647 /* IDL: uint32 minkeepsearch; */
9648 /* IDL: uint32 minkeepcomplsearch; */
9649 /* IDL: uint32 maxkeepcomplsearch; */
9650 /* IDL: uint32 threadcountadd; */
9651 /* IDL: uint32 numlockthreads; */
9652 /* IDL: uint32 scavtimeout; */
9653 /* IDL: uint32 minrcvqueue; */
9654 /* IDL: uint32 minfreeworkitems; */
9655 /* IDL: uint32 xactmemsize; */
9656 /* IDL: uint32 threadpriority; */
9657 /* IDL: uint32 maxmpxct; */
9658 /* IDL: uint32 oplockbreakwait; */
9659 /* IDL: uint32 oplockbreakresponsewait; */
9660 /* IDL: uint32 enableoplocks; */
9661 /* IDL: uint32 enableoplockforceclose; */
9662 /* IDL: uint32 enablefcbopens; */
9663 /* IDL: uint32 enableraw; */
9664 /* IDL: uint32 enablesharednetdrives; */
9665 /* IDL: uint32 minfreeconnections; */
9666 /* IDL: uint32 maxfreeconnections; */
9667 /* IDL: uint32 initsesstable; */
9668 /* IDL: uint32 initconntable; */
9669 /* IDL: uint32 initfiletable; */
9670 /* IDL: uint32 initsearchtable; */
9671 /* IDL: uint32 alertsched; */
9672 /* IDL: uint32 errortreshold; */
9673 /* IDL: uint32 networkerrortreshold; */
9674 /* IDL: uint32 diskspacetreshold; */
9675 /* IDL: uint32 reserved; */
9676 /* IDL: uint32 maxlinkdelay; */
9677 /* IDL: uint32 minlinkthroughput; */
9678 /* IDL: uint32 linkinfovalidtime; */
9679 /* IDL: uint32 scavqosinfoupdatetime; */
9680 /* IDL: uint32 maxworkitemidletime; */
9681 /* IDL: } */
9683 static int
9684 srvsvc_dissect_element_NetSrvInfo599_sessopen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9686 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_sessopen, 0);
9688 return offset;
9691 static int
9692 srvsvc_dissect_element_NetSrvInfo599_sesssvc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9694 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_sesssvc, 0);
9696 return offset;
9699 static int
9700 srvsvc_dissect_element_NetSrvInfo599_opensearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9702 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_opensearch, 0);
9704 return offset;
9707 static int
9708 srvsvc_dissect_element_NetSrvInfo599_sizereqbufs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9710 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_sizereqbufs, 0);
9712 return offset;
9715 static int
9716 srvsvc_dissect_element_NetSrvInfo599_initworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9718 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_initworkitems, 0);
9720 return offset;
9723 static int
9724 srvsvc_dissect_element_NetSrvInfo599_maxworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9726 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_maxworkitems, 0);
9728 return offset;
9731 static int
9732 srvsvc_dissect_element_NetSrvInfo599_rawworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9734 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_rawworkitems, 0);
9736 return offset;
9739 static int
9740 srvsvc_dissect_element_NetSrvInfo599_irpstacksize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9742 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_irpstacksize, 0);
9744 return offset;
9747 static int
9748 srvsvc_dissect_element_NetSrvInfo599_maxrawbuflen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9750 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_maxrawbuflen, 0);
9752 return offset;
9755 static int
9756 srvsvc_dissect_element_NetSrvInfo599_sessusers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9758 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_sessusers, 0);
9760 return offset;
9763 static int
9764 srvsvc_dissect_element_NetSrvInfo599_sessconns(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9766 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_sessconns, 0);
9768 return offset;
9771 static int
9772 srvsvc_dissect_element_NetSrvInfo599_maxpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9774 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_maxpagedmemoryusage, 0);
9776 return offset;
9779 static int
9780 srvsvc_dissect_element_NetSrvInfo599_maxnonpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9782 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_maxnonpagedmemoryusage, 0);
9784 return offset;
9787 static int
9788 srvsvc_dissect_element_NetSrvInfo599_enablesoftcompat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9790 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_enablesoftcompat, 0);
9792 return offset;
9795 static int
9796 srvsvc_dissect_element_NetSrvInfo599_enableforcedlogoff(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9798 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_enableforcedlogoff, 0);
9800 return offset;
9803 static int
9804 srvsvc_dissect_element_NetSrvInfo599_timesource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9806 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_timesource, 0);
9808 return offset;
9811 static int
9812 srvsvc_dissect_element_NetSrvInfo599_acceptdownlevelapis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9814 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_acceptdownlevelapis, 0);
9816 return offset;
9819 static int
9820 srvsvc_dissect_element_NetSrvInfo599_lmannounce(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9822 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_lmannounce, 0);
9824 return offset;
9827 static int
9828 srvsvc_dissect_element_NetSrvInfo599_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9830 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo599_domain_, NDR_POINTER_UNIQUE, "Pointer to Domain (uint16)",hf_srvsvc_srvsvc_NetSrvInfo599_domain);
9832 return offset;
9835 static int
9836 srvsvc_dissect_element_NetSrvInfo599_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9838 char *data = NULL;
9839 struct ndr_generic_array nga = { .is_conformant = false, };
9841 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9843 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9844 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo599_domain, false, &nga, &data);
9845 proto_item_append_text(tree, ": %s", data);
9847 return offset;
9850 static int
9851 srvsvc_dissect_element_NetSrvInfo599_maxcopyreadlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9853 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_maxcopyreadlen, 0);
9855 return offset;
9858 static int
9859 srvsvc_dissect_element_NetSrvInfo599_maxcopywritelen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9861 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_maxcopywritelen, 0);
9863 return offset;
9866 static int
9867 srvsvc_dissect_element_NetSrvInfo599_minkeepsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9869 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_minkeepsearch, 0);
9871 return offset;
9874 static int
9875 srvsvc_dissect_element_NetSrvInfo599_minkeepcomplsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9877 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_minkeepcomplsearch, 0);
9879 return offset;
9882 static int
9883 srvsvc_dissect_element_NetSrvInfo599_maxkeepcomplsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9885 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_maxkeepcomplsearch, 0);
9887 return offset;
9890 static int
9891 srvsvc_dissect_element_NetSrvInfo599_threadcountadd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9893 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_threadcountadd, 0);
9895 return offset;
9898 static int
9899 srvsvc_dissect_element_NetSrvInfo599_numlockthreads(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9901 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_numlockthreads, 0);
9903 return offset;
9906 static int
9907 srvsvc_dissect_element_NetSrvInfo599_scavtimeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9909 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_scavtimeout, 0);
9911 return offset;
9914 static int
9915 srvsvc_dissect_element_NetSrvInfo599_minrcvqueue(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9917 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_minrcvqueue, 0);
9919 return offset;
9922 static int
9923 srvsvc_dissect_element_NetSrvInfo599_minfreeworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9925 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_minfreeworkitems, 0);
9927 return offset;
9930 static int
9931 srvsvc_dissect_element_NetSrvInfo599_xactmemsize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9933 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_xactmemsize, 0);
9935 return offset;
9938 static int
9939 srvsvc_dissect_element_NetSrvInfo599_threadpriority(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9941 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_threadpriority, 0);
9943 return offset;
9946 static int
9947 srvsvc_dissect_element_NetSrvInfo599_maxmpxct(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9949 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_maxmpxct, 0);
9951 return offset;
9954 static int
9955 srvsvc_dissect_element_NetSrvInfo599_oplockbreakwait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9957 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_oplockbreakwait, 0);
9959 return offset;
9962 static int
9963 srvsvc_dissect_element_NetSrvInfo599_oplockbreakresponsewait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9965 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_oplockbreakresponsewait, 0);
9967 return offset;
9970 static int
9971 srvsvc_dissect_element_NetSrvInfo599_enableoplocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9973 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_enableoplocks, 0);
9975 return offset;
9978 static int
9979 srvsvc_dissect_element_NetSrvInfo599_enableoplockforceclose(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9981 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_enableoplockforceclose, 0);
9983 return offset;
9986 static int
9987 srvsvc_dissect_element_NetSrvInfo599_enablefcbopens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9989 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_enablefcbopens, 0);
9991 return offset;
9994 static int
9995 srvsvc_dissect_element_NetSrvInfo599_enableraw(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9997 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_enableraw, 0);
9999 return offset;
10002 static int
10003 srvsvc_dissect_element_NetSrvInfo599_enablesharednetdrives(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10005 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_enablesharednetdrives, 0);
10007 return offset;
10010 static int
10011 srvsvc_dissect_element_NetSrvInfo599_minfreeconnections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10013 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_minfreeconnections, 0);
10015 return offset;
10018 static int
10019 srvsvc_dissect_element_NetSrvInfo599_maxfreeconnections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10021 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_maxfreeconnections, 0);
10023 return offset;
10026 static int
10027 srvsvc_dissect_element_NetSrvInfo599_initsesstable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10029 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_initsesstable, 0);
10031 return offset;
10034 static int
10035 srvsvc_dissect_element_NetSrvInfo599_initconntable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10037 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_initconntable, 0);
10039 return offset;
10042 static int
10043 srvsvc_dissect_element_NetSrvInfo599_initfiletable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10045 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_initfiletable, 0);
10047 return offset;
10050 static int
10051 srvsvc_dissect_element_NetSrvInfo599_initsearchtable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10053 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_initsearchtable, 0);
10055 return offset;
10058 static int
10059 srvsvc_dissect_element_NetSrvInfo599_alertsched(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10061 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_alertsched, 0);
10063 return offset;
10066 static int
10067 srvsvc_dissect_element_NetSrvInfo599_errortreshold(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10069 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_errortreshold, 0);
10071 return offset;
10074 static int
10075 srvsvc_dissect_element_NetSrvInfo599_networkerrortreshold(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10077 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_networkerrortreshold, 0);
10079 return offset;
10082 static int
10083 srvsvc_dissect_element_NetSrvInfo599_diskspacetreshold(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10085 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_diskspacetreshold, 0);
10087 return offset;
10090 static int
10091 srvsvc_dissect_element_NetSrvInfo599_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10093 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_reserved, 0);
10095 return offset;
10098 static int
10099 srvsvc_dissect_element_NetSrvInfo599_maxlinkdelay(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10101 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_maxlinkdelay, 0);
10103 return offset;
10106 static int
10107 srvsvc_dissect_element_NetSrvInfo599_minlinkthroughput(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10109 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_minlinkthroughput, 0);
10111 return offset;
10114 static int
10115 srvsvc_dissect_element_NetSrvInfo599_linkinfovalidtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10117 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_linkinfovalidtime, 0);
10119 return offset;
10122 static int
10123 srvsvc_dissect_element_NetSrvInfo599_scavqosinfoupdatetime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10125 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_scavqosinfoupdatetime, 0);
10127 return offset;
10130 static int
10131 srvsvc_dissect_element_NetSrvInfo599_maxworkitemidletime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10133 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo599_maxworkitemidletime, 0);
10135 return offset;
10139 srvsvc_dissect_struct_NetSrvInfo599(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10141 proto_item *item = NULL;
10142 proto_tree *tree = NULL;
10143 int old_offset;
10145 ALIGN_TO_5_BYTES;
10147 old_offset = offset;
10149 if (parent_tree) {
10150 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10151 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo599);
10154 offset = srvsvc_dissect_element_NetSrvInfo599_sessopen(tvb, offset, pinfo, tree, di, drep);
10156 offset = srvsvc_dissect_element_NetSrvInfo599_sesssvc(tvb, offset, pinfo, tree, di, drep);
10158 offset = srvsvc_dissect_element_NetSrvInfo599_opensearch(tvb, offset, pinfo, tree, di, drep);
10160 offset = srvsvc_dissect_element_NetSrvInfo599_sizereqbufs(tvb, offset, pinfo, tree, di, drep);
10162 offset = srvsvc_dissect_element_NetSrvInfo599_initworkitems(tvb, offset, pinfo, tree, di, drep);
10164 offset = srvsvc_dissect_element_NetSrvInfo599_maxworkitems(tvb, offset, pinfo, tree, di, drep);
10166 offset = srvsvc_dissect_element_NetSrvInfo599_rawworkitems(tvb, offset, pinfo, tree, di, drep);
10168 offset = srvsvc_dissect_element_NetSrvInfo599_irpstacksize(tvb, offset, pinfo, tree, di, drep);
10170 offset = srvsvc_dissect_element_NetSrvInfo599_maxrawbuflen(tvb, offset, pinfo, tree, di, drep);
10172 offset = srvsvc_dissect_element_NetSrvInfo599_sessusers(tvb, offset, pinfo, tree, di, drep);
10174 offset = srvsvc_dissect_element_NetSrvInfo599_sessconns(tvb, offset, pinfo, tree, di, drep);
10176 offset = srvsvc_dissect_element_NetSrvInfo599_maxpagedmemoryusage(tvb, offset, pinfo, tree, di, drep);
10178 offset = srvsvc_dissect_element_NetSrvInfo599_maxnonpagedmemoryusage(tvb, offset, pinfo, tree, di, drep);
10180 offset = srvsvc_dissect_element_NetSrvInfo599_enablesoftcompat(tvb, offset, pinfo, tree, di, drep);
10182 offset = srvsvc_dissect_element_NetSrvInfo599_enableforcedlogoff(tvb, offset, pinfo, tree, di, drep);
10184 offset = srvsvc_dissect_element_NetSrvInfo599_timesource(tvb, offset, pinfo, tree, di, drep);
10186 offset = srvsvc_dissect_element_NetSrvInfo599_acceptdownlevelapis(tvb, offset, pinfo, tree, di, drep);
10188 offset = srvsvc_dissect_element_NetSrvInfo599_lmannounce(tvb, offset, pinfo, tree, di, drep);
10190 offset = srvsvc_dissect_element_NetSrvInfo599_domain(tvb, offset, pinfo, tree, di, drep);
10192 offset = srvsvc_dissect_element_NetSrvInfo599_maxcopyreadlen(tvb, offset, pinfo, tree, di, drep);
10194 offset = srvsvc_dissect_element_NetSrvInfo599_maxcopywritelen(tvb, offset, pinfo, tree, di, drep);
10196 offset = srvsvc_dissect_element_NetSrvInfo599_minkeepsearch(tvb, offset, pinfo, tree, di, drep);
10198 offset = srvsvc_dissect_element_NetSrvInfo599_minkeepcomplsearch(tvb, offset, pinfo, tree, di, drep);
10200 offset = srvsvc_dissect_element_NetSrvInfo599_maxkeepcomplsearch(tvb, offset, pinfo, tree, di, drep);
10202 offset = srvsvc_dissect_element_NetSrvInfo599_threadcountadd(tvb, offset, pinfo, tree, di, drep);
10204 offset = srvsvc_dissect_element_NetSrvInfo599_numlockthreads(tvb, offset, pinfo, tree, di, drep);
10206 offset = srvsvc_dissect_element_NetSrvInfo599_scavtimeout(tvb, offset, pinfo, tree, di, drep);
10208 offset = srvsvc_dissect_element_NetSrvInfo599_minrcvqueue(tvb, offset, pinfo, tree, di, drep);
10210 offset = srvsvc_dissect_element_NetSrvInfo599_minfreeworkitems(tvb, offset, pinfo, tree, di, drep);
10212 offset = srvsvc_dissect_element_NetSrvInfo599_xactmemsize(tvb, offset, pinfo, tree, di, drep);
10214 offset = srvsvc_dissect_element_NetSrvInfo599_threadpriority(tvb, offset, pinfo, tree, di, drep);
10216 offset = srvsvc_dissect_element_NetSrvInfo599_maxmpxct(tvb, offset, pinfo, tree, di, drep);
10218 offset = srvsvc_dissect_element_NetSrvInfo599_oplockbreakwait(tvb, offset, pinfo, tree, di, drep);
10220 offset = srvsvc_dissect_element_NetSrvInfo599_oplockbreakresponsewait(tvb, offset, pinfo, tree, di, drep);
10222 offset = srvsvc_dissect_element_NetSrvInfo599_enableoplocks(tvb, offset, pinfo, tree, di, drep);
10224 offset = srvsvc_dissect_element_NetSrvInfo599_enableoplockforceclose(tvb, offset, pinfo, tree, di, drep);
10226 offset = srvsvc_dissect_element_NetSrvInfo599_enablefcbopens(tvb, offset, pinfo, tree, di, drep);
10228 offset = srvsvc_dissect_element_NetSrvInfo599_enableraw(tvb, offset, pinfo, tree, di, drep);
10230 offset = srvsvc_dissect_element_NetSrvInfo599_enablesharednetdrives(tvb, offset, pinfo, tree, di, drep);
10232 offset = srvsvc_dissect_element_NetSrvInfo599_minfreeconnections(tvb, offset, pinfo, tree, di, drep);
10234 offset = srvsvc_dissect_element_NetSrvInfo599_maxfreeconnections(tvb, offset, pinfo, tree, di, drep);
10236 offset = srvsvc_dissect_element_NetSrvInfo599_initsesstable(tvb, offset, pinfo, tree, di, drep);
10238 offset = srvsvc_dissect_element_NetSrvInfo599_initconntable(tvb, offset, pinfo, tree, di, drep);
10240 offset = srvsvc_dissect_element_NetSrvInfo599_initfiletable(tvb, offset, pinfo, tree, di, drep);
10242 offset = srvsvc_dissect_element_NetSrvInfo599_initsearchtable(tvb, offset, pinfo, tree, di, drep);
10244 offset = srvsvc_dissect_element_NetSrvInfo599_alertsched(tvb, offset, pinfo, tree, di, drep);
10246 offset = srvsvc_dissect_element_NetSrvInfo599_errortreshold(tvb, offset, pinfo, tree, di, drep);
10248 offset = srvsvc_dissect_element_NetSrvInfo599_networkerrortreshold(tvb, offset, pinfo, tree, di, drep);
10250 offset = srvsvc_dissect_element_NetSrvInfo599_diskspacetreshold(tvb, offset, pinfo, tree, di, drep);
10252 offset = srvsvc_dissect_element_NetSrvInfo599_reserved(tvb, offset, pinfo, tree, di, drep);
10254 offset = srvsvc_dissect_element_NetSrvInfo599_maxlinkdelay(tvb, offset, pinfo, tree, di, drep);
10256 offset = srvsvc_dissect_element_NetSrvInfo599_minlinkthroughput(tvb, offset, pinfo, tree, di, drep);
10258 offset = srvsvc_dissect_element_NetSrvInfo599_linkinfovalidtime(tvb, offset, pinfo, tree, di, drep);
10260 offset = srvsvc_dissect_element_NetSrvInfo599_scavqosinfoupdatetime(tvb, offset, pinfo, tree, di, drep);
10262 offset = srvsvc_dissect_element_NetSrvInfo599_maxworkitemidletime(tvb, offset, pinfo, tree, di, drep);
10265 proto_item_set_len(item, offset-old_offset);
10268 if (di->call_data->flags & DCERPC_IS_NDR64) {
10269 ALIGN_TO_5_BYTES;
10272 return offset;
10276 /* IDL: struct { */
10277 /* IDL: [charset(UTF16)] [unique(1)] uint16 *comment; */
10278 /* IDL: } */
10280 static int
10281 srvsvc_dissect_element_NetSrvInfo1005_comment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10283 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo1005_comment_, NDR_POINTER_UNIQUE, "Pointer to Comment (uint16)",hf_srvsvc_srvsvc_NetSrvInfo1005_comment);
10285 return offset;
10288 static int
10289 srvsvc_dissect_element_NetSrvInfo1005_comment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10291 char *data = NULL;
10292 struct ndr_generic_array nga = { .is_conformant = false, };
10294 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
10296 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
10297 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvInfo1005_comment, false, &nga, &data);
10298 proto_item_append_text(tree, ": %s", data);
10300 return offset;
10304 srvsvc_dissect_struct_NetSrvInfo1005(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10306 proto_item *item = NULL;
10307 proto_tree *tree = NULL;
10308 int old_offset;
10310 ALIGN_TO_5_BYTES;
10312 old_offset = offset;
10314 if (parent_tree) {
10315 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10316 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1005);
10319 offset = srvsvc_dissect_element_NetSrvInfo1005_comment(tvb, offset, pinfo, tree, di, drep);
10322 proto_item_set_len(item, offset-old_offset);
10325 if (di->call_data->flags & DCERPC_IS_NDR64) {
10326 ALIGN_TO_5_BYTES;
10329 return offset;
10333 /* IDL: struct { */
10334 /* IDL: uint32 disc; */
10335 /* IDL: } */
10337 static int
10338 srvsvc_dissect_element_NetSrvInfo1010_disc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10340 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1010_disc, 0);
10342 return offset;
10346 srvsvc_dissect_struct_NetSrvInfo1010(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10348 proto_item *item = NULL;
10349 proto_tree *tree = NULL;
10350 int old_offset;
10352 ALIGN_TO_4_BYTES;
10354 old_offset = offset;
10356 if (parent_tree) {
10357 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10358 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1010);
10361 offset = srvsvc_dissect_element_NetSrvInfo1010_disc(tvb, offset, pinfo, tree, di, drep);
10364 proto_item_set_len(item, offset-old_offset);
10367 if (di->call_data->flags & DCERPC_IS_NDR64) {
10368 ALIGN_TO_4_BYTES;
10371 return offset;
10375 /* IDL: struct { */
10376 /* IDL: uint32 hidden; */
10377 /* IDL: } */
10379 static int
10380 srvsvc_dissect_element_NetSrvInfo1016_hidden(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10382 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1016_hidden, 0);
10384 return offset;
10388 srvsvc_dissect_struct_NetSrvInfo1016(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10390 proto_item *item = NULL;
10391 proto_tree *tree = NULL;
10392 int old_offset;
10394 ALIGN_TO_4_BYTES;
10396 old_offset = offset;
10398 if (parent_tree) {
10399 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10400 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1016);
10403 offset = srvsvc_dissect_element_NetSrvInfo1016_hidden(tvb, offset, pinfo, tree, di, drep);
10406 proto_item_set_len(item, offset-old_offset);
10409 if (di->call_data->flags & DCERPC_IS_NDR64) {
10410 ALIGN_TO_4_BYTES;
10413 return offset;
10417 /* IDL: struct { */
10418 /* IDL: uint32 announce; */
10419 /* IDL: } */
10421 static int
10422 srvsvc_dissect_element_NetSrvInfo1017_announce(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10424 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1017_announce, 0);
10426 return offset;
10430 srvsvc_dissect_struct_NetSrvInfo1017(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10432 proto_item *item = NULL;
10433 proto_tree *tree = NULL;
10434 int old_offset;
10436 ALIGN_TO_4_BYTES;
10438 old_offset = offset;
10440 if (parent_tree) {
10441 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10442 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1017);
10445 offset = srvsvc_dissect_element_NetSrvInfo1017_announce(tvb, offset, pinfo, tree, di, drep);
10448 proto_item_set_len(item, offset-old_offset);
10451 if (di->call_data->flags & DCERPC_IS_NDR64) {
10452 ALIGN_TO_4_BYTES;
10455 return offset;
10459 /* IDL: struct { */
10460 /* IDL: uint32 anndelta; */
10461 /* IDL: } */
10463 static int
10464 srvsvc_dissect_element_NetSrvInfo1018_anndelta(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10466 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1018_anndelta, 0);
10468 return offset;
10472 srvsvc_dissect_struct_NetSrvInfo1018(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10474 proto_item *item = NULL;
10475 proto_tree *tree = NULL;
10476 int old_offset;
10478 ALIGN_TO_4_BYTES;
10480 old_offset = offset;
10482 if (parent_tree) {
10483 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10484 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1018);
10487 offset = srvsvc_dissect_element_NetSrvInfo1018_anndelta(tvb, offset, pinfo, tree, di, drep);
10490 proto_item_set_len(item, offset-old_offset);
10493 if (di->call_data->flags & DCERPC_IS_NDR64) {
10494 ALIGN_TO_4_BYTES;
10497 return offset;
10501 /* IDL: struct { */
10502 /* IDL: uint32 users; */
10503 /* IDL: } */
10505 static int
10506 srvsvc_dissect_element_NetSrvInfo1107_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10508 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1107_users, 0);
10510 return offset;
10514 srvsvc_dissect_struct_NetSrvInfo1107(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10516 proto_item *item = NULL;
10517 proto_tree *tree = NULL;
10518 int old_offset;
10520 ALIGN_TO_4_BYTES;
10522 old_offset = offset;
10524 if (parent_tree) {
10525 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10526 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1107);
10529 offset = srvsvc_dissect_element_NetSrvInfo1107_users(tvb, offset, pinfo, tree, di, drep);
10532 proto_item_set_len(item, offset-old_offset);
10535 if (di->call_data->flags & DCERPC_IS_NDR64) {
10536 ALIGN_TO_4_BYTES;
10539 return offset;
10543 /* IDL: struct { */
10544 /* IDL: uint32 sessopens; */
10545 /* IDL: } */
10547 static int
10548 srvsvc_dissect_element_NetSrvInfo1501_sessopens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10550 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1501_sessopens, 0);
10552 return offset;
10556 srvsvc_dissect_struct_NetSrvInfo1501(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10558 proto_item *item = NULL;
10559 proto_tree *tree = NULL;
10560 int old_offset;
10562 ALIGN_TO_4_BYTES;
10564 old_offset = offset;
10566 if (parent_tree) {
10567 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10568 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1501);
10571 offset = srvsvc_dissect_element_NetSrvInfo1501_sessopens(tvb, offset, pinfo, tree, di, drep);
10574 proto_item_set_len(item, offset-old_offset);
10577 if (di->call_data->flags & DCERPC_IS_NDR64) {
10578 ALIGN_TO_4_BYTES;
10581 return offset;
10585 /* IDL: struct { */
10586 /* IDL: uint32 sessvcs; */
10587 /* IDL: } */
10589 static int
10590 srvsvc_dissect_element_NetSrvInfo1502_sessvcs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10592 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1502_sessvcs, 0);
10594 return offset;
10598 srvsvc_dissect_struct_NetSrvInfo1502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10600 proto_item *item = NULL;
10601 proto_tree *tree = NULL;
10602 int old_offset;
10604 ALIGN_TO_4_BYTES;
10606 old_offset = offset;
10608 if (parent_tree) {
10609 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10610 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1502);
10613 offset = srvsvc_dissect_element_NetSrvInfo1502_sessvcs(tvb, offset, pinfo, tree, di, drep);
10616 proto_item_set_len(item, offset-old_offset);
10619 if (di->call_data->flags & DCERPC_IS_NDR64) {
10620 ALIGN_TO_4_BYTES;
10623 return offset;
10627 /* IDL: struct { */
10628 /* IDL: uint32 opensearch; */
10629 /* IDL: } */
10631 static int
10632 srvsvc_dissect_element_NetSrvInfo1503_opensearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10634 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1503_opensearch, 0);
10636 return offset;
10640 srvsvc_dissect_struct_NetSrvInfo1503(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10642 proto_item *item = NULL;
10643 proto_tree *tree = NULL;
10644 int old_offset;
10646 ALIGN_TO_4_BYTES;
10648 old_offset = offset;
10650 if (parent_tree) {
10651 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10652 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1503);
10655 offset = srvsvc_dissect_element_NetSrvInfo1503_opensearch(tvb, offset, pinfo, tree, di, drep);
10658 proto_item_set_len(item, offset-old_offset);
10661 if (di->call_data->flags & DCERPC_IS_NDR64) {
10662 ALIGN_TO_4_BYTES;
10665 return offset;
10669 /* IDL: struct { */
10670 /* IDL: uint32 maxworkitems; */
10671 /* IDL: } */
10673 static int
10674 srvsvc_dissect_element_NetSrvInfo1506_maxworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10676 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1506_maxworkitems, 0);
10678 return offset;
10682 srvsvc_dissect_struct_NetSrvInfo1506(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10684 proto_item *item = NULL;
10685 proto_tree *tree = NULL;
10686 int old_offset;
10688 ALIGN_TO_4_BYTES;
10690 old_offset = offset;
10692 if (parent_tree) {
10693 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10694 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1506);
10697 offset = srvsvc_dissect_element_NetSrvInfo1506_maxworkitems(tvb, offset, pinfo, tree, di, drep);
10700 proto_item_set_len(item, offset-old_offset);
10703 if (di->call_data->flags & DCERPC_IS_NDR64) {
10704 ALIGN_TO_4_BYTES;
10707 return offset;
10711 /* IDL: struct { */
10712 /* IDL: uint32 maxrawbuflen; */
10713 /* IDL: } */
10715 static int
10716 srvsvc_dissect_element_NetSrvInfo1509_maxrawbuflen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10718 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1509_maxrawbuflen, 0);
10720 return offset;
10724 srvsvc_dissect_struct_NetSrvInfo1509(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10726 proto_item *item = NULL;
10727 proto_tree *tree = NULL;
10728 int old_offset;
10730 ALIGN_TO_4_BYTES;
10732 old_offset = offset;
10734 if (parent_tree) {
10735 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10736 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1509);
10739 offset = srvsvc_dissect_element_NetSrvInfo1509_maxrawbuflen(tvb, offset, pinfo, tree, di, drep);
10742 proto_item_set_len(item, offset-old_offset);
10745 if (di->call_data->flags & DCERPC_IS_NDR64) {
10746 ALIGN_TO_4_BYTES;
10749 return offset;
10753 /* IDL: struct { */
10754 /* IDL: uint32 sessusers; */
10755 /* IDL: } */
10757 static int
10758 srvsvc_dissect_element_NetSrvInfo1510_sessusers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10760 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1510_sessusers, 0);
10762 return offset;
10766 srvsvc_dissect_struct_NetSrvInfo1510(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10768 proto_item *item = NULL;
10769 proto_tree *tree = NULL;
10770 int old_offset;
10772 ALIGN_TO_4_BYTES;
10774 old_offset = offset;
10776 if (parent_tree) {
10777 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10778 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1510);
10781 offset = srvsvc_dissect_element_NetSrvInfo1510_sessusers(tvb, offset, pinfo, tree, di, drep);
10784 proto_item_set_len(item, offset-old_offset);
10787 if (di->call_data->flags & DCERPC_IS_NDR64) {
10788 ALIGN_TO_4_BYTES;
10791 return offset;
10795 /* IDL: struct { */
10796 /* IDL: uint32 sesscons; */
10797 /* IDL: } */
10799 static int
10800 srvsvc_dissect_element_NetSrvInfo1511_sesscons(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10802 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1511_sesscons, 0);
10804 return offset;
10808 srvsvc_dissect_struct_NetSrvInfo1511(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10810 proto_item *item = NULL;
10811 proto_tree *tree = NULL;
10812 int old_offset;
10814 ALIGN_TO_4_BYTES;
10816 old_offset = offset;
10818 if (parent_tree) {
10819 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10820 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1511);
10823 offset = srvsvc_dissect_element_NetSrvInfo1511_sesscons(tvb, offset, pinfo, tree, di, drep);
10826 proto_item_set_len(item, offset-old_offset);
10829 if (di->call_data->flags & DCERPC_IS_NDR64) {
10830 ALIGN_TO_4_BYTES;
10833 return offset;
10837 /* IDL: struct { */
10838 /* IDL: uint32 maxnonpagedmemoryusage; */
10839 /* IDL: } */
10841 static int
10842 srvsvc_dissect_element_NetSrvInfo1512_maxnonpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10844 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1512_maxnonpagedmemoryusage, 0);
10846 return offset;
10850 srvsvc_dissect_struct_NetSrvInfo1512(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10852 proto_item *item = NULL;
10853 proto_tree *tree = NULL;
10854 int old_offset;
10856 ALIGN_TO_4_BYTES;
10858 old_offset = offset;
10860 if (parent_tree) {
10861 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10862 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1512);
10865 offset = srvsvc_dissect_element_NetSrvInfo1512_maxnonpagedmemoryusage(tvb, offset, pinfo, tree, di, drep);
10868 proto_item_set_len(item, offset-old_offset);
10871 if (di->call_data->flags & DCERPC_IS_NDR64) {
10872 ALIGN_TO_4_BYTES;
10875 return offset;
10879 /* IDL: struct { */
10880 /* IDL: uint32 maxpagedmemoryusage; */
10881 /* IDL: } */
10883 static int
10884 srvsvc_dissect_element_NetSrvInfo1513_maxpagedmemoryusage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10886 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1513_maxpagedmemoryusage, 0);
10888 return offset;
10892 srvsvc_dissect_struct_NetSrvInfo1513(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10894 proto_item *item = NULL;
10895 proto_tree *tree = NULL;
10896 int old_offset;
10898 ALIGN_TO_4_BYTES;
10900 old_offset = offset;
10902 if (parent_tree) {
10903 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10904 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1513);
10907 offset = srvsvc_dissect_element_NetSrvInfo1513_maxpagedmemoryusage(tvb, offset, pinfo, tree, di, drep);
10910 proto_item_set_len(item, offset-old_offset);
10913 if (di->call_data->flags & DCERPC_IS_NDR64) {
10914 ALIGN_TO_4_BYTES;
10917 return offset;
10921 /* IDL: struct { */
10922 /* IDL: uint32 enablesoftcompat; */
10923 /* IDL: } */
10925 static int
10926 srvsvc_dissect_element_NetSrvInfo1514_enablesoftcompat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10928 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1514_enablesoftcompat, 0);
10930 return offset;
10934 srvsvc_dissect_struct_NetSrvInfo1514(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10936 proto_item *item = NULL;
10937 proto_tree *tree = NULL;
10938 int old_offset;
10940 ALIGN_TO_4_BYTES;
10942 old_offset = offset;
10944 if (parent_tree) {
10945 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10946 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1514);
10949 offset = srvsvc_dissect_element_NetSrvInfo1514_enablesoftcompat(tvb, offset, pinfo, tree, di, drep);
10952 proto_item_set_len(item, offset-old_offset);
10955 if (di->call_data->flags & DCERPC_IS_NDR64) {
10956 ALIGN_TO_4_BYTES;
10959 return offset;
10963 /* IDL: struct { */
10964 /* IDL: uint32 enableforcedlogoff; */
10965 /* IDL: } */
10967 static int
10968 srvsvc_dissect_element_NetSrvInfo1515_enableforcedlogoff(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
10970 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1515_enableforcedlogoff, 0);
10972 return offset;
10976 srvsvc_dissect_struct_NetSrvInfo1515(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
10978 proto_item *item = NULL;
10979 proto_tree *tree = NULL;
10980 int old_offset;
10982 ALIGN_TO_4_BYTES;
10984 old_offset = offset;
10986 if (parent_tree) {
10987 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
10988 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1515);
10991 offset = srvsvc_dissect_element_NetSrvInfo1515_enableforcedlogoff(tvb, offset, pinfo, tree, di, drep);
10994 proto_item_set_len(item, offset-old_offset);
10997 if (di->call_data->flags & DCERPC_IS_NDR64) {
10998 ALIGN_TO_4_BYTES;
11001 return offset;
11005 /* IDL: struct { */
11006 /* IDL: uint32 timesource; */
11007 /* IDL: } */
11009 static int
11010 srvsvc_dissect_element_NetSrvInfo1516_timesource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11012 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1516_timesource, 0);
11014 return offset;
11018 srvsvc_dissect_struct_NetSrvInfo1516(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11020 proto_item *item = NULL;
11021 proto_tree *tree = NULL;
11022 int old_offset;
11024 ALIGN_TO_4_BYTES;
11026 old_offset = offset;
11028 if (parent_tree) {
11029 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11030 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1516);
11033 offset = srvsvc_dissect_element_NetSrvInfo1516_timesource(tvb, offset, pinfo, tree, di, drep);
11036 proto_item_set_len(item, offset-old_offset);
11039 if (di->call_data->flags & DCERPC_IS_NDR64) {
11040 ALIGN_TO_4_BYTES;
11043 return offset;
11047 /* IDL: struct { */
11048 /* IDL: uint32 lmannounce; */
11049 /* IDL: } */
11051 static int
11052 srvsvc_dissect_element_NetSrvInfo1518_lmannounce(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11054 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1518_lmannounce, 0);
11056 return offset;
11060 srvsvc_dissect_struct_NetSrvInfo1518(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11062 proto_item *item = NULL;
11063 proto_tree *tree = NULL;
11064 int old_offset;
11066 ALIGN_TO_4_BYTES;
11068 old_offset = offset;
11070 if (parent_tree) {
11071 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11072 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1518);
11075 offset = srvsvc_dissect_element_NetSrvInfo1518_lmannounce(tvb, offset, pinfo, tree, di, drep);
11078 proto_item_set_len(item, offset-old_offset);
11081 if (di->call_data->flags & DCERPC_IS_NDR64) {
11082 ALIGN_TO_4_BYTES;
11085 return offset;
11089 /* IDL: struct { */
11090 /* IDL: uint32 maxcopyreadlen; */
11091 /* IDL: } */
11093 static int
11094 srvsvc_dissect_element_NetSrvInfo1520_maxcopyreadlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11096 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1520_maxcopyreadlen, 0);
11098 return offset;
11102 srvsvc_dissect_struct_NetSrvInfo1520(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11104 proto_item *item = NULL;
11105 proto_tree *tree = NULL;
11106 int old_offset;
11108 ALIGN_TO_4_BYTES;
11110 old_offset = offset;
11112 if (parent_tree) {
11113 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11114 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1520);
11117 offset = srvsvc_dissect_element_NetSrvInfo1520_maxcopyreadlen(tvb, offset, pinfo, tree, di, drep);
11120 proto_item_set_len(item, offset-old_offset);
11123 if (di->call_data->flags & DCERPC_IS_NDR64) {
11124 ALIGN_TO_4_BYTES;
11127 return offset;
11131 /* IDL: struct { */
11132 /* IDL: uint32 maxcopywritelen; */
11133 /* IDL: } */
11135 static int
11136 srvsvc_dissect_element_NetSrvInfo1521_maxcopywritelen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11138 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1521_maxcopywritelen, 0);
11140 return offset;
11144 srvsvc_dissect_struct_NetSrvInfo1521(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11146 proto_item *item = NULL;
11147 proto_tree *tree = NULL;
11148 int old_offset;
11150 ALIGN_TO_4_BYTES;
11152 old_offset = offset;
11154 if (parent_tree) {
11155 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11156 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1521);
11159 offset = srvsvc_dissect_element_NetSrvInfo1521_maxcopywritelen(tvb, offset, pinfo, tree, di, drep);
11162 proto_item_set_len(item, offset-old_offset);
11165 if (di->call_data->flags & DCERPC_IS_NDR64) {
11166 ALIGN_TO_4_BYTES;
11169 return offset;
11173 /* IDL: struct { */
11174 /* IDL: uint32 minkeepsearch; */
11175 /* IDL: } */
11177 static int
11178 srvsvc_dissect_element_NetSrvInfo1522_minkeepsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11180 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1522_minkeepsearch, 0);
11182 return offset;
11186 srvsvc_dissect_struct_NetSrvInfo1522(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11188 proto_item *item = NULL;
11189 proto_tree *tree = NULL;
11190 int old_offset;
11192 ALIGN_TO_4_BYTES;
11194 old_offset = offset;
11196 if (parent_tree) {
11197 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11198 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1522);
11201 offset = srvsvc_dissect_element_NetSrvInfo1522_minkeepsearch(tvb, offset, pinfo, tree, di, drep);
11204 proto_item_set_len(item, offset-old_offset);
11207 if (di->call_data->flags & DCERPC_IS_NDR64) {
11208 ALIGN_TO_4_BYTES;
11211 return offset;
11215 /* IDL: struct { */
11216 /* IDL: uint32 maxkeepsearch; */
11217 /* IDL: } */
11219 static int
11220 srvsvc_dissect_element_NetSrvInfo1523_maxkeepsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11222 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1523_maxkeepsearch, 0);
11224 return offset;
11228 srvsvc_dissect_struct_NetSrvInfo1523(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11230 proto_item *item = NULL;
11231 proto_tree *tree = NULL;
11232 int old_offset;
11234 ALIGN_TO_4_BYTES;
11236 old_offset = offset;
11238 if (parent_tree) {
11239 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11240 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1523);
11243 offset = srvsvc_dissect_element_NetSrvInfo1523_maxkeepsearch(tvb, offset, pinfo, tree, di, drep);
11246 proto_item_set_len(item, offset-old_offset);
11249 if (di->call_data->flags & DCERPC_IS_NDR64) {
11250 ALIGN_TO_4_BYTES;
11253 return offset;
11257 /* IDL: struct { */
11258 /* IDL: uint32 minkeepcomplsearch; */
11259 /* IDL: } */
11261 static int
11262 srvsvc_dissect_element_NetSrvInfo1524_minkeepcomplsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11264 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1524_minkeepcomplsearch, 0);
11266 return offset;
11270 srvsvc_dissect_struct_NetSrvInfo1524(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11272 proto_item *item = NULL;
11273 proto_tree *tree = NULL;
11274 int old_offset;
11276 ALIGN_TO_4_BYTES;
11278 old_offset = offset;
11280 if (parent_tree) {
11281 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11282 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1524);
11285 offset = srvsvc_dissect_element_NetSrvInfo1524_minkeepcomplsearch(tvb, offset, pinfo, tree, di, drep);
11288 proto_item_set_len(item, offset-old_offset);
11291 if (di->call_data->flags & DCERPC_IS_NDR64) {
11292 ALIGN_TO_4_BYTES;
11295 return offset;
11299 /* IDL: struct { */
11300 /* IDL: uint32 maxkeepcomplsearch; */
11301 /* IDL: } */
11303 static int
11304 srvsvc_dissect_element_NetSrvInfo1525_maxkeepcomplsearch(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11306 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1525_maxkeepcomplsearch, 0);
11308 return offset;
11312 srvsvc_dissect_struct_NetSrvInfo1525(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11314 proto_item *item = NULL;
11315 proto_tree *tree = NULL;
11316 int old_offset;
11318 ALIGN_TO_4_BYTES;
11320 old_offset = offset;
11322 if (parent_tree) {
11323 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11324 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1525);
11327 offset = srvsvc_dissect_element_NetSrvInfo1525_maxkeepcomplsearch(tvb, offset, pinfo, tree, di, drep);
11330 proto_item_set_len(item, offset-old_offset);
11333 if (di->call_data->flags & DCERPC_IS_NDR64) {
11334 ALIGN_TO_4_BYTES;
11337 return offset;
11341 /* IDL: struct { */
11342 /* IDL: uint32 scavtimeout; */
11343 /* IDL: } */
11345 static int
11346 srvsvc_dissect_element_NetSrvInfo1528_scavtimeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11348 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1528_scavtimeout, 0);
11350 return offset;
11354 srvsvc_dissect_struct_NetSrvInfo1528(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11356 proto_item *item = NULL;
11357 proto_tree *tree = NULL;
11358 int old_offset;
11360 ALIGN_TO_4_BYTES;
11362 old_offset = offset;
11364 if (parent_tree) {
11365 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11366 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1528);
11369 offset = srvsvc_dissect_element_NetSrvInfo1528_scavtimeout(tvb, offset, pinfo, tree, di, drep);
11372 proto_item_set_len(item, offset-old_offset);
11375 if (di->call_data->flags & DCERPC_IS_NDR64) {
11376 ALIGN_TO_4_BYTES;
11379 return offset;
11383 /* IDL: struct { */
11384 /* IDL: uint32 minrcvqueue; */
11385 /* IDL: } */
11387 static int
11388 srvsvc_dissect_element_NetSrvInfo1529_minrcvqueue(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11390 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1529_minrcvqueue, 0);
11392 return offset;
11396 srvsvc_dissect_struct_NetSrvInfo1529(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11398 proto_item *item = NULL;
11399 proto_tree *tree = NULL;
11400 int old_offset;
11402 ALIGN_TO_4_BYTES;
11404 old_offset = offset;
11406 if (parent_tree) {
11407 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11408 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1529);
11411 offset = srvsvc_dissect_element_NetSrvInfo1529_minrcvqueue(tvb, offset, pinfo, tree, di, drep);
11414 proto_item_set_len(item, offset-old_offset);
11417 if (di->call_data->flags & DCERPC_IS_NDR64) {
11418 ALIGN_TO_4_BYTES;
11421 return offset;
11425 /* IDL: struct { */
11426 /* IDL: uint32 minfreeworkitems; */
11427 /* IDL: } */
11429 static int
11430 srvsvc_dissect_element_NetSrvInfo1530_minfreeworkitems(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11432 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1530_minfreeworkitems, 0);
11434 return offset;
11438 srvsvc_dissect_struct_NetSrvInfo1530(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11440 proto_item *item = NULL;
11441 proto_tree *tree = NULL;
11442 int old_offset;
11444 ALIGN_TO_4_BYTES;
11446 old_offset = offset;
11448 if (parent_tree) {
11449 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11450 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1530);
11453 offset = srvsvc_dissect_element_NetSrvInfo1530_minfreeworkitems(tvb, offset, pinfo, tree, di, drep);
11456 proto_item_set_len(item, offset-old_offset);
11459 if (di->call_data->flags & DCERPC_IS_NDR64) {
11460 ALIGN_TO_4_BYTES;
11463 return offset;
11467 /* IDL: struct { */
11468 /* IDL: uint32 maxmpxct; */
11469 /* IDL: } */
11471 static int
11472 srvsvc_dissect_element_NetSrvInfo1533_maxmpxct(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11474 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1533_maxmpxct, 0);
11476 return offset;
11480 srvsvc_dissect_struct_NetSrvInfo1533(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11482 proto_item *item = NULL;
11483 proto_tree *tree = NULL;
11484 int old_offset;
11486 ALIGN_TO_4_BYTES;
11488 old_offset = offset;
11490 if (parent_tree) {
11491 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11492 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1533);
11495 offset = srvsvc_dissect_element_NetSrvInfo1533_maxmpxct(tvb, offset, pinfo, tree, di, drep);
11498 proto_item_set_len(item, offset-old_offset);
11501 if (di->call_data->flags & DCERPC_IS_NDR64) {
11502 ALIGN_TO_4_BYTES;
11505 return offset;
11509 /* IDL: struct { */
11510 /* IDL: uint32 oplockbreakwait; */
11511 /* IDL: } */
11513 static int
11514 srvsvc_dissect_element_NetSrvInfo1534_oplockbreakwait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11516 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1534_oplockbreakwait, 0);
11518 return offset;
11522 srvsvc_dissect_struct_NetSrvInfo1534(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11524 proto_item *item = NULL;
11525 proto_tree *tree = NULL;
11526 int old_offset;
11528 ALIGN_TO_4_BYTES;
11530 old_offset = offset;
11532 if (parent_tree) {
11533 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11534 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1534);
11537 offset = srvsvc_dissect_element_NetSrvInfo1534_oplockbreakwait(tvb, offset, pinfo, tree, di, drep);
11540 proto_item_set_len(item, offset-old_offset);
11543 if (di->call_data->flags & DCERPC_IS_NDR64) {
11544 ALIGN_TO_4_BYTES;
11547 return offset;
11551 /* IDL: struct { */
11552 /* IDL: uint32 oplockbreakresponsewait; */
11553 /* IDL: } */
11555 static int
11556 srvsvc_dissect_element_NetSrvInfo1535_oplockbreakresponsewait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11558 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1535_oplockbreakresponsewait, 0);
11560 return offset;
11564 srvsvc_dissect_struct_NetSrvInfo1535(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11566 proto_item *item = NULL;
11567 proto_tree *tree = NULL;
11568 int old_offset;
11570 ALIGN_TO_4_BYTES;
11572 old_offset = offset;
11574 if (parent_tree) {
11575 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11576 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1535);
11579 offset = srvsvc_dissect_element_NetSrvInfo1535_oplockbreakresponsewait(tvb, offset, pinfo, tree, di, drep);
11582 proto_item_set_len(item, offset-old_offset);
11585 if (di->call_data->flags & DCERPC_IS_NDR64) {
11586 ALIGN_TO_4_BYTES;
11589 return offset;
11593 /* IDL: struct { */
11594 /* IDL: uint32 enableoplocks; */
11595 /* IDL: } */
11597 static int
11598 srvsvc_dissect_element_NetSrvInfo1536_enableoplocks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11600 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1536_enableoplocks, 0);
11602 return offset;
11606 srvsvc_dissect_struct_NetSrvInfo1536(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11608 proto_item *item = NULL;
11609 proto_tree *tree = NULL;
11610 int old_offset;
11612 ALIGN_TO_4_BYTES;
11614 old_offset = offset;
11616 if (parent_tree) {
11617 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11618 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1536);
11621 offset = srvsvc_dissect_element_NetSrvInfo1536_enableoplocks(tvb, offset, pinfo, tree, di, drep);
11624 proto_item_set_len(item, offset-old_offset);
11627 if (di->call_data->flags & DCERPC_IS_NDR64) {
11628 ALIGN_TO_4_BYTES;
11631 return offset;
11635 /* IDL: struct { */
11636 /* IDL: uint32 enableoplockforceclose; */
11637 /* IDL: } */
11639 static int
11640 srvsvc_dissect_element_NetSrvInfo1537_enableoplockforceclose(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11642 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1537_enableoplockforceclose, 0);
11644 return offset;
11648 srvsvc_dissect_struct_NetSrvInfo1537(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11650 proto_item *item = NULL;
11651 proto_tree *tree = NULL;
11652 int old_offset;
11654 ALIGN_TO_4_BYTES;
11656 old_offset = offset;
11658 if (parent_tree) {
11659 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11660 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1537);
11663 offset = srvsvc_dissect_element_NetSrvInfo1537_enableoplockforceclose(tvb, offset, pinfo, tree, di, drep);
11666 proto_item_set_len(item, offset-old_offset);
11669 if (di->call_data->flags & DCERPC_IS_NDR64) {
11670 ALIGN_TO_4_BYTES;
11673 return offset;
11677 /* IDL: struct { */
11678 /* IDL: uint32 enablefcbopens; */
11679 /* IDL: } */
11681 static int
11682 srvsvc_dissect_element_NetSrvInfo1538_enablefcbopens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11684 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1538_enablefcbopens, 0);
11686 return offset;
11690 srvsvc_dissect_struct_NetSrvInfo1538(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11692 proto_item *item = NULL;
11693 proto_tree *tree = NULL;
11694 int old_offset;
11696 ALIGN_TO_4_BYTES;
11698 old_offset = offset;
11700 if (parent_tree) {
11701 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11702 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1538);
11705 offset = srvsvc_dissect_element_NetSrvInfo1538_enablefcbopens(tvb, offset, pinfo, tree, di, drep);
11708 proto_item_set_len(item, offset-old_offset);
11711 if (di->call_data->flags & DCERPC_IS_NDR64) {
11712 ALIGN_TO_4_BYTES;
11715 return offset;
11719 /* IDL: struct { */
11720 /* IDL: uint32 enableraw; */
11721 /* IDL: } */
11723 static int
11724 srvsvc_dissect_element_NetSrvInfo1539_enableraw(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11726 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1539_enableraw, 0);
11728 return offset;
11732 srvsvc_dissect_struct_NetSrvInfo1539(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11734 proto_item *item = NULL;
11735 proto_tree *tree = NULL;
11736 int old_offset;
11738 ALIGN_TO_4_BYTES;
11740 old_offset = offset;
11742 if (parent_tree) {
11743 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11744 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1539);
11747 offset = srvsvc_dissect_element_NetSrvInfo1539_enableraw(tvb, offset, pinfo, tree, di, drep);
11750 proto_item_set_len(item, offset-old_offset);
11753 if (di->call_data->flags & DCERPC_IS_NDR64) {
11754 ALIGN_TO_4_BYTES;
11757 return offset;
11761 /* IDL: struct { */
11762 /* IDL: uint32 enablesharednetdrives; */
11763 /* IDL: } */
11765 static int
11766 srvsvc_dissect_element_NetSrvInfo1540_enablesharednetdrives(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11768 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1540_enablesharednetdrives, 0);
11770 return offset;
11774 srvsvc_dissect_struct_NetSrvInfo1540(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11776 proto_item *item = NULL;
11777 proto_tree *tree = NULL;
11778 int old_offset;
11780 ALIGN_TO_4_BYTES;
11782 old_offset = offset;
11784 if (parent_tree) {
11785 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11786 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1540);
11789 offset = srvsvc_dissect_element_NetSrvInfo1540_enablesharednetdrives(tvb, offset, pinfo, tree, di, drep);
11792 proto_item_set_len(item, offset-old_offset);
11795 if (di->call_data->flags & DCERPC_IS_NDR64) {
11796 ALIGN_TO_4_BYTES;
11799 return offset;
11803 /* IDL: struct { */
11804 /* IDL: uint32 minfreeconnections; */
11805 /* IDL: } */
11807 static int
11808 srvsvc_dissect_element_NetSrvInfo1541_minfreeconnections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11810 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1541_minfreeconnections, 0);
11812 return offset;
11816 srvsvc_dissect_struct_NetSrvInfo1541(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11818 proto_item *item = NULL;
11819 proto_tree *tree = NULL;
11820 int old_offset;
11822 ALIGN_TO_4_BYTES;
11824 old_offset = offset;
11826 if (parent_tree) {
11827 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11828 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1541);
11831 offset = srvsvc_dissect_element_NetSrvInfo1541_minfreeconnections(tvb, offset, pinfo, tree, di, drep);
11834 proto_item_set_len(item, offset-old_offset);
11837 if (di->call_data->flags & DCERPC_IS_NDR64) {
11838 ALIGN_TO_4_BYTES;
11841 return offset;
11845 /* IDL: struct { */
11846 /* IDL: uint32 maxfreeconnections; */
11847 /* IDL: } */
11849 static int
11850 srvsvc_dissect_element_NetSrvInfo1542_maxfreeconnections(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11852 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1542_maxfreeconnections, 0);
11854 return offset;
11858 srvsvc_dissect_struct_NetSrvInfo1542(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11860 proto_item *item = NULL;
11861 proto_tree *tree = NULL;
11862 int old_offset;
11864 ALIGN_TO_4_BYTES;
11866 old_offset = offset;
11868 if (parent_tree) {
11869 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11870 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1542);
11873 offset = srvsvc_dissect_element_NetSrvInfo1542_maxfreeconnections(tvb, offset, pinfo, tree, di, drep);
11876 proto_item_set_len(item, offset-old_offset);
11879 if (di->call_data->flags & DCERPC_IS_NDR64) {
11880 ALIGN_TO_4_BYTES;
11883 return offset;
11887 /* IDL: struct { */
11888 /* IDL: uint32 initsesstable; */
11889 /* IDL: } */
11891 static int
11892 srvsvc_dissect_element_NetSrvInfo1543_initsesstable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11894 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1543_initsesstable, 0);
11896 return offset;
11900 srvsvc_dissect_struct_NetSrvInfo1543(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11902 proto_item *item = NULL;
11903 proto_tree *tree = NULL;
11904 int old_offset;
11906 ALIGN_TO_4_BYTES;
11908 old_offset = offset;
11910 if (parent_tree) {
11911 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11912 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1543);
11915 offset = srvsvc_dissect_element_NetSrvInfo1543_initsesstable(tvb, offset, pinfo, tree, di, drep);
11918 proto_item_set_len(item, offset-old_offset);
11921 if (di->call_data->flags & DCERPC_IS_NDR64) {
11922 ALIGN_TO_4_BYTES;
11925 return offset;
11929 /* IDL: struct { */
11930 /* IDL: uint32 initconntable; */
11931 /* IDL: } */
11933 static int
11934 srvsvc_dissect_element_NetSrvInfo1544_initconntable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11936 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1544_initconntable, 0);
11938 return offset;
11942 srvsvc_dissect_struct_NetSrvInfo1544(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11944 proto_item *item = NULL;
11945 proto_tree *tree = NULL;
11946 int old_offset;
11948 ALIGN_TO_4_BYTES;
11950 old_offset = offset;
11952 if (parent_tree) {
11953 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11954 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1544);
11957 offset = srvsvc_dissect_element_NetSrvInfo1544_initconntable(tvb, offset, pinfo, tree, di, drep);
11960 proto_item_set_len(item, offset-old_offset);
11963 if (di->call_data->flags & DCERPC_IS_NDR64) {
11964 ALIGN_TO_4_BYTES;
11967 return offset;
11971 /* IDL: struct { */
11972 /* IDL: uint32 initfiletable; */
11973 /* IDL: } */
11975 static int
11976 srvsvc_dissect_element_NetSrvInfo1545_initfiletable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
11978 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1545_initfiletable, 0);
11980 return offset;
11984 srvsvc_dissect_struct_NetSrvInfo1545(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
11986 proto_item *item = NULL;
11987 proto_tree *tree = NULL;
11988 int old_offset;
11990 ALIGN_TO_4_BYTES;
11992 old_offset = offset;
11994 if (parent_tree) {
11995 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
11996 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1545);
11999 offset = srvsvc_dissect_element_NetSrvInfo1545_initfiletable(tvb, offset, pinfo, tree, di, drep);
12002 proto_item_set_len(item, offset-old_offset);
12005 if (di->call_data->flags & DCERPC_IS_NDR64) {
12006 ALIGN_TO_4_BYTES;
12009 return offset;
12013 /* IDL: struct { */
12014 /* IDL: uint32 initsearchtable; */
12015 /* IDL: } */
12017 static int
12018 srvsvc_dissect_element_NetSrvInfo1546_initsearchtable(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12020 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1546_initsearchtable, 0);
12022 return offset;
12026 srvsvc_dissect_struct_NetSrvInfo1546(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
12028 proto_item *item = NULL;
12029 proto_tree *tree = NULL;
12030 int old_offset;
12032 ALIGN_TO_4_BYTES;
12034 old_offset = offset;
12036 if (parent_tree) {
12037 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12038 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1546);
12041 offset = srvsvc_dissect_element_NetSrvInfo1546_initsearchtable(tvb, offset, pinfo, tree, di, drep);
12044 proto_item_set_len(item, offset-old_offset);
12047 if (di->call_data->flags & DCERPC_IS_NDR64) {
12048 ALIGN_TO_4_BYTES;
12051 return offset;
12055 /* IDL: struct { */
12056 /* IDL: uint32 alertsched; */
12057 /* IDL: } */
12059 static int
12060 srvsvc_dissect_element_NetSrvInfo1547_alertsched(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12062 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1547_alertsched, 0);
12064 return offset;
12068 srvsvc_dissect_struct_NetSrvInfo1547(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
12070 proto_item *item = NULL;
12071 proto_tree *tree = NULL;
12072 int old_offset;
12074 ALIGN_TO_4_BYTES;
12076 old_offset = offset;
12078 if (parent_tree) {
12079 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12080 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1547);
12083 offset = srvsvc_dissect_element_NetSrvInfo1547_alertsched(tvb, offset, pinfo, tree, di, drep);
12086 proto_item_set_len(item, offset-old_offset);
12089 if (di->call_data->flags & DCERPC_IS_NDR64) {
12090 ALIGN_TO_4_BYTES;
12093 return offset;
12097 /* IDL: struct { */
12098 /* IDL: uint32 errortreshold; */
12099 /* IDL: } */
12101 static int
12102 srvsvc_dissect_element_NetSrvInfo1548_errortreshold(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12104 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1548_errortreshold, 0);
12106 return offset;
12110 srvsvc_dissect_struct_NetSrvInfo1548(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
12112 proto_item *item = NULL;
12113 proto_tree *tree = NULL;
12114 int old_offset;
12116 ALIGN_TO_4_BYTES;
12118 old_offset = offset;
12120 if (parent_tree) {
12121 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12122 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1548);
12125 offset = srvsvc_dissect_element_NetSrvInfo1548_errortreshold(tvb, offset, pinfo, tree, di, drep);
12128 proto_item_set_len(item, offset-old_offset);
12131 if (di->call_data->flags & DCERPC_IS_NDR64) {
12132 ALIGN_TO_4_BYTES;
12135 return offset;
12139 /* IDL: struct { */
12140 /* IDL: uint32 networkerrortreshold; */
12141 /* IDL: } */
12143 static int
12144 srvsvc_dissect_element_NetSrvInfo1549_networkerrortreshold(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12146 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1549_networkerrortreshold, 0);
12148 return offset;
12152 srvsvc_dissect_struct_NetSrvInfo1549(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
12154 proto_item *item = NULL;
12155 proto_tree *tree = NULL;
12156 int old_offset;
12158 ALIGN_TO_4_BYTES;
12160 old_offset = offset;
12162 if (parent_tree) {
12163 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12164 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1549);
12167 offset = srvsvc_dissect_element_NetSrvInfo1549_networkerrortreshold(tvb, offset, pinfo, tree, di, drep);
12170 proto_item_set_len(item, offset-old_offset);
12173 if (di->call_data->flags & DCERPC_IS_NDR64) {
12174 ALIGN_TO_4_BYTES;
12177 return offset;
12181 /* IDL: struct { */
12182 /* IDL: uint32 diskspacetreshold; */
12183 /* IDL: } */
12185 static int
12186 srvsvc_dissect_element_NetSrvInfo1550_diskspacetreshold(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12188 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1550_diskspacetreshold, 0);
12190 return offset;
12194 srvsvc_dissect_struct_NetSrvInfo1550(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
12196 proto_item *item = NULL;
12197 proto_tree *tree = NULL;
12198 int old_offset;
12200 ALIGN_TO_4_BYTES;
12202 old_offset = offset;
12204 if (parent_tree) {
12205 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12206 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1550);
12209 offset = srvsvc_dissect_element_NetSrvInfo1550_diskspacetreshold(tvb, offset, pinfo, tree, di, drep);
12212 proto_item_set_len(item, offset-old_offset);
12215 if (di->call_data->flags & DCERPC_IS_NDR64) {
12216 ALIGN_TO_4_BYTES;
12219 return offset;
12223 /* IDL: struct { */
12224 /* IDL: uint32 maxlinkdelay; */
12225 /* IDL: } */
12227 static int
12228 srvsvc_dissect_element_NetSrvInfo1552_maxlinkdelay(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12230 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1552_maxlinkdelay, 0);
12232 return offset;
12236 srvsvc_dissect_struct_NetSrvInfo1552(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
12238 proto_item *item = NULL;
12239 proto_tree *tree = NULL;
12240 int old_offset;
12242 ALIGN_TO_4_BYTES;
12244 old_offset = offset;
12246 if (parent_tree) {
12247 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12248 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1552);
12251 offset = srvsvc_dissect_element_NetSrvInfo1552_maxlinkdelay(tvb, offset, pinfo, tree, di, drep);
12254 proto_item_set_len(item, offset-old_offset);
12257 if (di->call_data->flags & DCERPC_IS_NDR64) {
12258 ALIGN_TO_4_BYTES;
12261 return offset;
12265 /* IDL: struct { */
12266 /* IDL: uint32 minlinkthroughput; */
12267 /* IDL: } */
12269 static int
12270 srvsvc_dissect_element_NetSrvInfo1553_minlinkthroughput(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12272 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1553_minlinkthroughput, 0);
12274 return offset;
12278 srvsvc_dissect_struct_NetSrvInfo1553(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
12280 proto_item *item = NULL;
12281 proto_tree *tree = NULL;
12282 int old_offset;
12284 ALIGN_TO_4_BYTES;
12286 old_offset = offset;
12288 if (parent_tree) {
12289 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12290 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1553);
12293 offset = srvsvc_dissect_element_NetSrvInfo1553_minlinkthroughput(tvb, offset, pinfo, tree, di, drep);
12296 proto_item_set_len(item, offset-old_offset);
12299 if (di->call_data->flags & DCERPC_IS_NDR64) {
12300 ALIGN_TO_4_BYTES;
12303 return offset;
12307 /* IDL: struct { */
12308 /* IDL: uint32 linkinfovalidtime; */
12309 /* IDL: } */
12311 static int
12312 srvsvc_dissect_element_NetSrvInfo1554_linkinfovalidtime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12314 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1554_linkinfovalidtime, 0);
12316 return offset;
12320 srvsvc_dissect_struct_NetSrvInfo1554(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
12322 proto_item *item = NULL;
12323 proto_tree *tree = NULL;
12324 int old_offset;
12326 ALIGN_TO_4_BYTES;
12328 old_offset = offset;
12330 if (parent_tree) {
12331 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12332 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1554);
12335 offset = srvsvc_dissect_element_NetSrvInfo1554_linkinfovalidtime(tvb, offset, pinfo, tree, di, drep);
12338 proto_item_set_len(item, offset-old_offset);
12341 if (di->call_data->flags & DCERPC_IS_NDR64) {
12342 ALIGN_TO_4_BYTES;
12345 return offset;
12349 /* IDL: struct { */
12350 /* IDL: uint32 scavqosinfoupdatetime; */
12351 /* IDL: } */
12353 static int
12354 srvsvc_dissect_element_NetSrvInfo1555_scavqosinfoupdatetime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12356 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1555_scavqosinfoupdatetime, 0);
12358 return offset;
12362 srvsvc_dissect_struct_NetSrvInfo1555(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
12364 proto_item *item = NULL;
12365 proto_tree *tree = NULL;
12366 int old_offset;
12368 ALIGN_TO_4_BYTES;
12370 old_offset = offset;
12372 if (parent_tree) {
12373 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12374 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1555);
12377 offset = srvsvc_dissect_element_NetSrvInfo1555_scavqosinfoupdatetime(tvb, offset, pinfo, tree, di, drep);
12380 proto_item_set_len(item, offset-old_offset);
12383 if (di->call_data->flags & DCERPC_IS_NDR64) {
12384 ALIGN_TO_4_BYTES;
12387 return offset;
12391 /* IDL: struct { */
12392 /* IDL: uint32 maxworkitemidletime; */
12393 /* IDL: } */
12395 static int
12396 srvsvc_dissect_element_NetSrvInfo1556_maxworkitemidletime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12398 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvInfo1556_maxworkitemidletime, 0);
12400 return offset;
12404 srvsvc_dissect_struct_NetSrvInfo1556(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
12406 proto_item *item = NULL;
12407 proto_tree *tree = NULL;
12408 int old_offset;
12410 ALIGN_TO_4_BYTES;
12412 old_offset = offset;
12414 if (parent_tree) {
12415 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
12416 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetSrvInfo1556);
12419 offset = srvsvc_dissect_element_NetSrvInfo1556_maxworkitemidletime(tvb, offset, pinfo, tree, di, drep);
12422 proto_item_set_len(item, offset-old_offset);
12425 if (di->call_data->flags & DCERPC_IS_NDR64) {
12426 ALIGN_TO_4_BYTES;
12429 return offset;
12433 /* IDL: union { */
12434 /* IDL: [case(100)] [case(100)] [unique(1)] srvsvc_NetSrvInfo100 *info100; */
12435 /* IDL: [case(101)] [case(101)] [unique(1)] srvsvc_NetSrvInfo101 *info101; */
12436 /* IDL: [case(102)] [case(102)] [unique(1)] srvsvc_NetSrvInfo102 *info102; */
12437 /* IDL: [case(402)] [case(402)] [unique(1)] srvsvc_NetSrvInfo402 *info402; */
12438 /* IDL: [case(403)] [case(403)] [unique(1)] srvsvc_NetSrvInfo403 *info403; */
12439 /* IDL: [case(502)] [case(502)] [unique(1)] srvsvc_NetSrvInfo502 *info502; */
12440 /* IDL: [case(503)] [case(503)] [unique(1)] srvsvc_NetSrvInfo503 *info503; */
12441 /* IDL: [case(599)] [case(599)] [unique(1)] srvsvc_NetSrvInfo599 *info599; */
12442 /* IDL: [case(1005)] [case(1005)] [unique(1)] srvsvc_NetSrvInfo1005 *info1005; */
12443 /* IDL: [case(1010)] [case(1010)] [unique(1)] srvsvc_NetSrvInfo1010 *info1010; */
12444 /* IDL: [case(1016)] [case(1016)] [unique(1)] srvsvc_NetSrvInfo1016 *info1016; */
12445 /* IDL: [case(1017)] [case(1017)] [unique(1)] srvsvc_NetSrvInfo1017 *info1017; */
12446 /* IDL: [case(1018)] [case(1018)] [unique(1)] srvsvc_NetSrvInfo1018 *info1018; */
12447 /* IDL: [case(1107)] [case(1107)] [unique(1)] srvsvc_NetSrvInfo1107 *info1107; */
12448 /* IDL: [case(1501)] [case(1501)] [unique(1)] srvsvc_NetSrvInfo1501 *info1501; */
12449 /* IDL: [case(1502)] [case(1502)] [unique(1)] srvsvc_NetSrvInfo1502 *info1502; */
12450 /* IDL: [case(1503)] [case(1503)] [unique(1)] srvsvc_NetSrvInfo1503 *info1503; */
12451 /* IDL: [case(1506)] [case(1506)] [unique(1)] srvsvc_NetSrvInfo1506 *info1506; */
12452 /* IDL: [case(1509)] [case(1509)] [unique(1)] srvsvc_NetSrvInfo1509 *info1509; */
12453 /* IDL: [case(1510)] [case(1510)] [unique(1)] srvsvc_NetSrvInfo1510 *info1510; */
12454 /* IDL: [case(1511)] [case(1511)] [unique(1)] srvsvc_NetSrvInfo1511 *info1511; */
12455 /* IDL: [case(1512)] [case(1512)] [unique(1)] srvsvc_NetSrvInfo1512 *info1512; */
12456 /* IDL: [case(1513)] [case(1513)] [unique(1)] srvsvc_NetSrvInfo1513 *info1513; */
12457 /* IDL: [case(1514)] [case(1514)] [unique(1)] srvsvc_NetSrvInfo1514 *info1514; */
12458 /* IDL: [case(1515)] [case(1515)] [unique(1)] srvsvc_NetSrvInfo1515 *info1515; */
12459 /* IDL: [case(1516)] [case(1516)] [unique(1)] srvsvc_NetSrvInfo1516 *info1516; */
12460 /* IDL: [case(1518)] [case(1518)] [unique(1)] srvsvc_NetSrvInfo1518 *info1518; */
12461 /* IDL: [case(1520)] [case(1520)] [unique(1)] srvsvc_NetSrvInfo1520 *info1520; */
12462 /* IDL: [case(1521)] [case(1521)] [unique(1)] srvsvc_NetSrvInfo1521 *info1521; */
12463 /* IDL: [case(1522)] [case(1522)] [unique(1)] srvsvc_NetSrvInfo1522 *info1522; */
12464 /* IDL: [case(1523)] [case(1523)] [unique(1)] srvsvc_NetSrvInfo1523 *info1523; */
12465 /* IDL: [case(1524)] [case(1524)] [unique(1)] srvsvc_NetSrvInfo1524 *info1524; */
12466 /* IDL: [case(1525)] [case(1525)] [unique(1)] srvsvc_NetSrvInfo1525 *info1525; */
12467 /* IDL: [case(1528)] [case(1528)] [unique(1)] srvsvc_NetSrvInfo1528 *info1528; */
12468 /* IDL: [case(1529)] [case(1529)] [unique(1)] srvsvc_NetSrvInfo1529 *info1529; */
12469 /* IDL: [case(1530)] [case(1530)] [unique(1)] srvsvc_NetSrvInfo1530 *info1530; */
12470 /* IDL: [case(1533)] [case(1533)] [unique(1)] srvsvc_NetSrvInfo1533 *info1533; */
12471 /* IDL: [case(1534)] [case(1534)] [unique(1)] srvsvc_NetSrvInfo1534 *info1534; */
12472 /* IDL: [case(1535)] [case(1535)] [unique(1)] srvsvc_NetSrvInfo1535 *info1535; */
12473 /* IDL: [case(1536)] [case(1536)] [unique(1)] srvsvc_NetSrvInfo1536 *info1536; */
12474 /* IDL: [case(1537)] [case(1537)] [unique(1)] srvsvc_NetSrvInfo1537 *info1537; */
12475 /* IDL: [case(1538)] [case(1538)] [unique(1)] srvsvc_NetSrvInfo1538 *info1538; */
12476 /* IDL: [case(1539)] [case(1539)] [unique(1)] srvsvc_NetSrvInfo1539 *info1539; */
12477 /* IDL: [case(1540)] [case(1540)] [unique(1)] srvsvc_NetSrvInfo1540 *info1540; */
12478 /* IDL: [case(1541)] [case(1541)] [unique(1)] srvsvc_NetSrvInfo1541 *info1541; */
12479 /* IDL: [case(1542)] [case(1542)] [unique(1)] srvsvc_NetSrvInfo1542 *info1542; */
12480 /* IDL: [case(1543)] [case(1543)] [unique(1)] srvsvc_NetSrvInfo1543 *info1543; */
12481 /* IDL: [case(1544)] [case(1544)] [unique(1)] srvsvc_NetSrvInfo1544 *info1544; */
12482 /* IDL: [case(1545)] [case(1545)] [unique(1)] srvsvc_NetSrvInfo1545 *info1545; */
12483 /* IDL: [case(1546)] [case(1546)] [unique(1)] srvsvc_NetSrvInfo1546 *info1546; */
12484 /* IDL: [case(1547)] [case(1547)] [unique(1)] srvsvc_NetSrvInfo1547 *info1547; */
12485 /* IDL: [case(1548)] [case(1548)] [unique(1)] srvsvc_NetSrvInfo1548 *info1548; */
12486 /* IDL: [case(1549)] [case(1549)] [unique(1)] srvsvc_NetSrvInfo1549 *info1549; */
12487 /* IDL: [case(1550)] [case(1550)] [unique(1)] srvsvc_NetSrvInfo1550 *info1550; */
12488 /* IDL: [case(1552)] [case(1552)] [unique(1)] srvsvc_NetSrvInfo1552 *info1552; */
12489 /* IDL: [case(1553)] [case(1553)] [unique(1)] srvsvc_NetSrvInfo1553 *info1553; */
12490 /* IDL: [case(1554)] [case(1554)] [unique(1)] srvsvc_NetSrvInfo1554 *info1554; */
12491 /* IDL: [case(1555)] [case(1555)] [unique(1)] srvsvc_NetSrvInfo1555 *info1555; */
12492 /* IDL: [case(1556)] [case(1556)] [unique(1)] srvsvc_NetSrvInfo1556 *info1556; */
12493 /* IDL: [default] ; */
12494 /* IDL: } */
12496 static int
12497 srvsvc_dissect_element_NetSrvInfo_info100(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12499 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info100_, NDR_POINTER_UNIQUE, "Pointer to Info100 (srvsvc_NetSrvInfo100)",hf_srvsvc_srvsvc_NetSrvInfo_info100);
12501 return offset;
12504 static int
12505 srvsvc_dissect_element_NetSrvInfo_info100_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12507 offset = srvsvc_dissect_struct_NetSrvInfo100(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info100,0);
12509 return offset;
12512 static int
12513 srvsvc_dissect_element_NetSrvInfo_info101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12515 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info101_, NDR_POINTER_UNIQUE, "Pointer to Info101 (srvsvc_NetSrvInfo101)",hf_srvsvc_srvsvc_NetSrvInfo_info101);
12517 return offset;
12520 static int
12521 srvsvc_dissect_element_NetSrvInfo_info101_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12523 offset = srvsvc_dissect_struct_NetSrvInfo101(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info101,0);
12525 return offset;
12528 static int
12529 srvsvc_dissect_element_NetSrvInfo_info102(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12531 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info102_, NDR_POINTER_UNIQUE, "Pointer to Info102 (srvsvc_NetSrvInfo102)",hf_srvsvc_srvsvc_NetSrvInfo_info102);
12533 return offset;
12536 static int
12537 srvsvc_dissect_element_NetSrvInfo_info102_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12539 offset = srvsvc_dissect_struct_NetSrvInfo102(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info102,0);
12541 return offset;
12544 static int
12545 srvsvc_dissect_element_NetSrvInfo_info402(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12547 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info402_, NDR_POINTER_UNIQUE, "Pointer to Info402 (srvsvc_NetSrvInfo402)",hf_srvsvc_srvsvc_NetSrvInfo_info402);
12549 return offset;
12552 static int
12553 srvsvc_dissect_element_NetSrvInfo_info402_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12555 offset = srvsvc_dissect_struct_NetSrvInfo402(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info402,0);
12557 return offset;
12560 static int
12561 srvsvc_dissect_element_NetSrvInfo_info403(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12563 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info403_, NDR_POINTER_UNIQUE, "Pointer to Info403 (srvsvc_NetSrvInfo403)",hf_srvsvc_srvsvc_NetSrvInfo_info403);
12565 return offset;
12568 static int
12569 srvsvc_dissect_element_NetSrvInfo_info403_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12571 offset = srvsvc_dissect_struct_NetSrvInfo403(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info403,0);
12573 return offset;
12576 static int
12577 srvsvc_dissect_element_NetSrvInfo_info502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12579 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info502_, NDR_POINTER_UNIQUE, "Pointer to Info502 (srvsvc_NetSrvInfo502)",hf_srvsvc_srvsvc_NetSrvInfo_info502);
12581 return offset;
12584 static int
12585 srvsvc_dissect_element_NetSrvInfo_info502_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12587 offset = srvsvc_dissect_struct_NetSrvInfo502(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info502,0);
12589 return offset;
12592 static int
12593 srvsvc_dissect_element_NetSrvInfo_info503(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12595 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info503_, NDR_POINTER_UNIQUE, "Pointer to Info503 (srvsvc_NetSrvInfo503)",hf_srvsvc_srvsvc_NetSrvInfo_info503);
12597 return offset;
12600 static int
12601 srvsvc_dissect_element_NetSrvInfo_info503_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12603 offset = srvsvc_dissect_struct_NetSrvInfo503(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info503,0);
12605 return offset;
12608 static int
12609 srvsvc_dissect_element_NetSrvInfo_info599(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12611 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info599_, NDR_POINTER_UNIQUE, "Pointer to Info599 (srvsvc_NetSrvInfo599)",hf_srvsvc_srvsvc_NetSrvInfo_info599);
12613 return offset;
12616 static int
12617 srvsvc_dissect_element_NetSrvInfo_info599_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12619 offset = srvsvc_dissect_struct_NetSrvInfo599(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info599,0);
12621 return offset;
12624 static int
12625 srvsvc_dissect_element_NetSrvInfo_info1005(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12627 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1005_, NDR_POINTER_UNIQUE, "Pointer to Info1005 (srvsvc_NetSrvInfo1005)",hf_srvsvc_srvsvc_NetSrvInfo_info1005);
12629 return offset;
12632 static int
12633 srvsvc_dissect_element_NetSrvInfo_info1005_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12635 offset = srvsvc_dissect_struct_NetSrvInfo1005(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1005,0);
12637 return offset;
12640 static int
12641 srvsvc_dissect_element_NetSrvInfo_info1010(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12643 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1010_, NDR_POINTER_UNIQUE, "Pointer to Info1010 (srvsvc_NetSrvInfo1010)",hf_srvsvc_srvsvc_NetSrvInfo_info1010);
12645 return offset;
12648 static int
12649 srvsvc_dissect_element_NetSrvInfo_info1010_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12651 offset = srvsvc_dissect_struct_NetSrvInfo1010(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1010,0);
12653 return offset;
12656 static int
12657 srvsvc_dissect_element_NetSrvInfo_info1016(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12659 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1016_, NDR_POINTER_UNIQUE, "Pointer to Info1016 (srvsvc_NetSrvInfo1016)",hf_srvsvc_srvsvc_NetSrvInfo_info1016);
12661 return offset;
12664 static int
12665 srvsvc_dissect_element_NetSrvInfo_info1016_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12667 offset = srvsvc_dissect_struct_NetSrvInfo1016(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1016,0);
12669 return offset;
12672 static int
12673 srvsvc_dissect_element_NetSrvInfo_info1017(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12675 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1017_, NDR_POINTER_UNIQUE, "Pointer to Info1017 (srvsvc_NetSrvInfo1017)",hf_srvsvc_srvsvc_NetSrvInfo_info1017);
12677 return offset;
12680 static int
12681 srvsvc_dissect_element_NetSrvInfo_info1017_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12683 offset = srvsvc_dissect_struct_NetSrvInfo1017(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1017,0);
12685 return offset;
12688 static int
12689 srvsvc_dissect_element_NetSrvInfo_info1018(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12691 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1018_, NDR_POINTER_UNIQUE, "Pointer to Info1018 (srvsvc_NetSrvInfo1018)",hf_srvsvc_srvsvc_NetSrvInfo_info1018);
12693 return offset;
12696 static int
12697 srvsvc_dissect_element_NetSrvInfo_info1018_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12699 offset = srvsvc_dissect_struct_NetSrvInfo1018(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1018,0);
12701 return offset;
12704 static int
12705 srvsvc_dissect_element_NetSrvInfo_info1107(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12707 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1107_, NDR_POINTER_UNIQUE, "Pointer to Info1107 (srvsvc_NetSrvInfo1107)",hf_srvsvc_srvsvc_NetSrvInfo_info1107);
12709 return offset;
12712 static int
12713 srvsvc_dissect_element_NetSrvInfo_info1107_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12715 offset = srvsvc_dissect_struct_NetSrvInfo1107(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1107,0);
12717 return offset;
12720 static int
12721 srvsvc_dissect_element_NetSrvInfo_info1501(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12723 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1501_, NDR_POINTER_UNIQUE, "Pointer to Info1501 (srvsvc_NetSrvInfo1501)",hf_srvsvc_srvsvc_NetSrvInfo_info1501);
12725 return offset;
12728 static int
12729 srvsvc_dissect_element_NetSrvInfo_info1501_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12731 offset = srvsvc_dissect_struct_NetSrvInfo1501(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1501,0);
12733 return offset;
12736 static int
12737 srvsvc_dissect_element_NetSrvInfo_info1502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12739 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1502_, NDR_POINTER_UNIQUE, "Pointer to Info1502 (srvsvc_NetSrvInfo1502)",hf_srvsvc_srvsvc_NetSrvInfo_info1502);
12741 return offset;
12744 static int
12745 srvsvc_dissect_element_NetSrvInfo_info1502_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12747 offset = srvsvc_dissect_struct_NetSrvInfo1502(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1502,0);
12749 return offset;
12752 static int
12753 srvsvc_dissect_element_NetSrvInfo_info1503(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12755 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1503_, NDR_POINTER_UNIQUE, "Pointer to Info1503 (srvsvc_NetSrvInfo1503)",hf_srvsvc_srvsvc_NetSrvInfo_info1503);
12757 return offset;
12760 static int
12761 srvsvc_dissect_element_NetSrvInfo_info1503_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12763 offset = srvsvc_dissect_struct_NetSrvInfo1503(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1503,0);
12765 return offset;
12768 static int
12769 srvsvc_dissect_element_NetSrvInfo_info1506(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12771 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1506_, NDR_POINTER_UNIQUE, "Pointer to Info1506 (srvsvc_NetSrvInfo1506)",hf_srvsvc_srvsvc_NetSrvInfo_info1506);
12773 return offset;
12776 static int
12777 srvsvc_dissect_element_NetSrvInfo_info1506_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12779 offset = srvsvc_dissect_struct_NetSrvInfo1506(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1506,0);
12781 return offset;
12784 static int
12785 srvsvc_dissect_element_NetSrvInfo_info1509(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12787 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1509_, NDR_POINTER_UNIQUE, "Pointer to Info1509 (srvsvc_NetSrvInfo1509)",hf_srvsvc_srvsvc_NetSrvInfo_info1509);
12789 return offset;
12792 static int
12793 srvsvc_dissect_element_NetSrvInfo_info1509_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12795 offset = srvsvc_dissect_struct_NetSrvInfo1509(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1509,0);
12797 return offset;
12800 static int
12801 srvsvc_dissect_element_NetSrvInfo_info1510(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12803 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1510_, NDR_POINTER_UNIQUE, "Pointer to Info1510 (srvsvc_NetSrvInfo1510)",hf_srvsvc_srvsvc_NetSrvInfo_info1510);
12805 return offset;
12808 static int
12809 srvsvc_dissect_element_NetSrvInfo_info1510_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12811 offset = srvsvc_dissect_struct_NetSrvInfo1510(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1510,0);
12813 return offset;
12816 static int
12817 srvsvc_dissect_element_NetSrvInfo_info1511(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12819 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1511_, NDR_POINTER_UNIQUE, "Pointer to Info1511 (srvsvc_NetSrvInfo1511)",hf_srvsvc_srvsvc_NetSrvInfo_info1511);
12821 return offset;
12824 static int
12825 srvsvc_dissect_element_NetSrvInfo_info1511_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12827 offset = srvsvc_dissect_struct_NetSrvInfo1511(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1511,0);
12829 return offset;
12832 static int
12833 srvsvc_dissect_element_NetSrvInfo_info1512(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12835 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1512_, NDR_POINTER_UNIQUE, "Pointer to Info1512 (srvsvc_NetSrvInfo1512)",hf_srvsvc_srvsvc_NetSrvInfo_info1512);
12837 return offset;
12840 static int
12841 srvsvc_dissect_element_NetSrvInfo_info1512_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12843 offset = srvsvc_dissect_struct_NetSrvInfo1512(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1512,0);
12845 return offset;
12848 static int
12849 srvsvc_dissect_element_NetSrvInfo_info1513(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12851 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1513_, NDR_POINTER_UNIQUE, "Pointer to Info1513 (srvsvc_NetSrvInfo1513)",hf_srvsvc_srvsvc_NetSrvInfo_info1513);
12853 return offset;
12856 static int
12857 srvsvc_dissect_element_NetSrvInfo_info1513_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12859 offset = srvsvc_dissect_struct_NetSrvInfo1513(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1513,0);
12861 return offset;
12864 static int
12865 srvsvc_dissect_element_NetSrvInfo_info1514(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12867 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1514_, NDR_POINTER_UNIQUE, "Pointer to Info1514 (srvsvc_NetSrvInfo1514)",hf_srvsvc_srvsvc_NetSrvInfo_info1514);
12869 return offset;
12872 static int
12873 srvsvc_dissect_element_NetSrvInfo_info1514_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12875 offset = srvsvc_dissect_struct_NetSrvInfo1514(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1514,0);
12877 return offset;
12880 static int
12881 srvsvc_dissect_element_NetSrvInfo_info1515(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12883 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1515_, NDR_POINTER_UNIQUE, "Pointer to Info1515 (srvsvc_NetSrvInfo1515)",hf_srvsvc_srvsvc_NetSrvInfo_info1515);
12885 return offset;
12888 static int
12889 srvsvc_dissect_element_NetSrvInfo_info1515_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12891 offset = srvsvc_dissect_struct_NetSrvInfo1515(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1515,0);
12893 return offset;
12896 static int
12897 srvsvc_dissect_element_NetSrvInfo_info1516(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12899 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1516_, NDR_POINTER_UNIQUE, "Pointer to Info1516 (srvsvc_NetSrvInfo1516)",hf_srvsvc_srvsvc_NetSrvInfo_info1516);
12901 return offset;
12904 static int
12905 srvsvc_dissect_element_NetSrvInfo_info1516_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12907 offset = srvsvc_dissect_struct_NetSrvInfo1516(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1516,0);
12909 return offset;
12912 static int
12913 srvsvc_dissect_element_NetSrvInfo_info1518(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12915 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1518_, NDR_POINTER_UNIQUE, "Pointer to Info1518 (srvsvc_NetSrvInfo1518)",hf_srvsvc_srvsvc_NetSrvInfo_info1518);
12917 return offset;
12920 static int
12921 srvsvc_dissect_element_NetSrvInfo_info1518_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12923 offset = srvsvc_dissect_struct_NetSrvInfo1518(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1518,0);
12925 return offset;
12928 static int
12929 srvsvc_dissect_element_NetSrvInfo_info1520(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12931 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1520_, NDR_POINTER_UNIQUE, "Pointer to Info1520 (srvsvc_NetSrvInfo1520)",hf_srvsvc_srvsvc_NetSrvInfo_info1520);
12933 return offset;
12936 static int
12937 srvsvc_dissect_element_NetSrvInfo_info1520_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12939 offset = srvsvc_dissect_struct_NetSrvInfo1520(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1520,0);
12941 return offset;
12944 static int
12945 srvsvc_dissect_element_NetSrvInfo_info1521(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12947 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1521_, NDR_POINTER_UNIQUE, "Pointer to Info1521 (srvsvc_NetSrvInfo1521)",hf_srvsvc_srvsvc_NetSrvInfo_info1521);
12949 return offset;
12952 static int
12953 srvsvc_dissect_element_NetSrvInfo_info1521_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12955 offset = srvsvc_dissect_struct_NetSrvInfo1521(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1521,0);
12957 return offset;
12960 static int
12961 srvsvc_dissect_element_NetSrvInfo_info1522(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12963 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1522_, NDR_POINTER_UNIQUE, "Pointer to Info1522 (srvsvc_NetSrvInfo1522)",hf_srvsvc_srvsvc_NetSrvInfo_info1522);
12965 return offset;
12968 static int
12969 srvsvc_dissect_element_NetSrvInfo_info1522_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12971 offset = srvsvc_dissect_struct_NetSrvInfo1522(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1522,0);
12973 return offset;
12976 static int
12977 srvsvc_dissect_element_NetSrvInfo_info1523(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12979 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1523_, NDR_POINTER_UNIQUE, "Pointer to Info1523 (srvsvc_NetSrvInfo1523)",hf_srvsvc_srvsvc_NetSrvInfo_info1523);
12981 return offset;
12984 static int
12985 srvsvc_dissect_element_NetSrvInfo_info1523_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12987 offset = srvsvc_dissect_struct_NetSrvInfo1523(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1523,0);
12989 return offset;
12992 static int
12993 srvsvc_dissect_element_NetSrvInfo_info1524(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
12995 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1524_, NDR_POINTER_UNIQUE, "Pointer to Info1524 (srvsvc_NetSrvInfo1524)",hf_srvsvc_srvsvc_NetSrvInfo_info1524);
12997 return offset;
13000 static int
13001 srvsvc_dissect_element_NetSrvInfo_info1524_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13003 offset = srvsvc_dissect_struct_NetSrvInfo1524(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1524,0);
13005 return offset;
13008 static int
13009 srvsvc_dissect_element_NetSrvInfo_info1525(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13011 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1525_, NDR_POINTER_UNIQUE, "Pointer to Info1525 (srvsvc_NetSrvInfo1525)",hf_srvsvc_srvsvc_NetSrvInfo_info1525);
13013 return offset;
13016 static int
13017 srvsvc_dissect_element_NetSrvInfo_info1525_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13019 offset = srvsvc_dissect_struct_NetSrvInfo1525(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1525,0);
13021 return offset;
13024 static int
13025 srvsvc_dissect_element_NetSrvInfo_info1528(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13027 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1528_, NDR_POINTER_UNIQUE, "Pointer to Info1528 (srvsvc_NetSrvInfo1528)",hf_srvsvc_srvsvc_NetSrvInfo_info1528);
13029 return offset;
13032 static int
13033 srvsvc_dissect_element_NetSrvInfo_info1528_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13035 offset = srvsvc_dissect_struct_NetSrvInfo1528(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1528,0);
13037 return offset;
13040 static int
13041 srvsvc_dissect_element_NetSrvInfo_info1529(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13043 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1529_, NDR_POINTER_UNIQUE, "Pointer to Info1529 (srvsvc_NetSrvInfo1529)",hf_srvsvc_srvsvc_NetSrvInfo_info1529);
13045 return offset;
13048 static int
13049 srvsvc_dissect_element_NetSrvInfo_info1529_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13051 offset = srvsvc_dissect_struct_NetSrvInfo1529(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1529,0);
13053 return offset;
13056 static int
13057 srvsvc_dissect_element_NetSrvInfo_info1530(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13059 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1530_, NDR_POINTER_UNIQUE, "Pointer to Info1530 (srvsvc_NetSrvInfo1530)",hf_srvsvc_srvsvc_NetSrvInfo_info1530);
13061 return offset;
13064 static int
13065 srvsvc_dissect_element_NetSrvInfo_info1530_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13067 offset = srvsvc_dissect_struct_NetSrvInfo1530(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1530,0);
13069 return offset;
13072 static int
13073 srvsvc_dissect_element_NetSrvInfo_info1533(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13075 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1533_, NDR_POINTER_UNIQUE, "Pointer to Info1533 (srvsvc_NetSrvInfo1533)",hf_srvsvc_srvsvc_NetSrvInfo_info1533);
13077 return offset;
13080 static int
13081 srvsvc_dissect_element_NetSrvInfo_info1533_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13083 offset = srvsvc_dissect_struct_NetSrvInfo1533(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1533,0);
13085 return offset;
13088 static int
13089 srvsvc_dissect_element_NetSrvInfo_info1534(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13091 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1534_, NDR_POINTER_UNIQUE, "Pointer to Info1534 (srvsvc_NetSrvInfo1534)",hf_srvsvc_srvsvc_NetSrvInfo_info1534);
13093 return offset;
13096 static int
13097 srvsvc_dissect_element_NetSrvInfo_info1534_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13099 offset = srvsvc_dissect_struct_NetSrvInfo1534(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1534,0);
13101 return offset;
13104 static int
13105 srvsvc_dissect_element_NetSrvInfo_info1535(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13107 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1535_, NDR_POINTER_UNIQUE, "Pointer to Info1535 (srvsvc_NetSrvInfo1535)",hf_srvsvc_srvsvc_NetSrvInfo_info1535);
13109 return offset;
13112 static int
13113 srvsvc_dissect_element_NetSrvInfo_info1535_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13115 offset = srvsvc_dissect_struct_NetSrvInfo1535(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1535,0);
13117 return offset;
13120 static int
13121 srvsvc_dissect_element_NetSrvInfo_info1536(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13123 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1536_, NDR_POINTER_UNIQUE, "Pointer to Info1536 (srvsvc_NetSrvInfo1536)",hf_srvsvc_srvsvc_NetSrvInfo_info1536);
13125 return offset;
13128 static int
13129 srvsvc_dissect_element_NetSrvInfo_info1536_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13131 offset = srvsvc_dissect_struct_NetSrvInfo1536(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1536,0);
13133 return offset;
13136 static int
13137 srvsvc_dissect_element_NetSrvInfo_info1537(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13139 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1537_, NDR_POINTER_UNIQUE, "Pointer to Info1537 (srvsvc_NetSrvInfo1537)",hf_srvsvc_srvsvc_NetSrvInfo_info1537);
13141 return offset;
13144 static int
13145 srvsvc_dissect_element_NetSrvInfo_info1537_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13147 offset = srvsvc_dissect_struct_NetSrvInfo1537(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1537,0);
13149 return offset;
13152 static int
13153 srvsvc_dissect_element_NetSrvInfo_info1538(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13155 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1538_, NDR_POINTER_UNIQUE, "Pointer to Info1538 (srvsvc_NetSrvInfo1538)",hf_srvsvc_srvsvc_NetSrvInfo_info1538);
13157 return offset;
13160 static int
13161 srvsvc_dissect_element_NetSrvInfo_info1538_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13163 offset = srvsvc_dissect_struct_NetSrvInfo1538(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1538,0);
13165 return offset;
13168 static int
13169 srvsvc_dissect_element_NetSrvInfo_info1539(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13171 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1539_, NDR_POINTER_UNIQUE, "Pointer to Info1539 (srvsvc_NetSrvInfo1539)",hf_srvsvc_srvsvc_NetSrvInfo_info1539);
13173 return offset;
13176 static int
13177 srvsvc_dissect_element_NetSrvInfo_info1539_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13179 offset = srvsvc_dissect_struct_NetSrvInfo1539(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1539,0);
13181 return offset;
13184 static int
13185 srvsvc_dissect_element_NetSrvInfo_info1540(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13187 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1540_, NDR_POINTER_UNIQUE, "Pointer to Info1540 (srvsvc_NetSrvInfo1540)",hf_srvsvc_srvsvc_NetSrvInfo_info1540);
13189 return offset;
13192 static int
13193 srvsvc_dissect_element_NetSrvInfo_info1540_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13195 offset = srvsvc_dissect_struct_NetSrvInfo1540(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1540,0);
13197 return offset;
13200 static int
13201 srvsvc_dissect_element_NetSrvInfo_info1541(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13203 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1541_, NDR_POINTER_UNIQUE, "Pointer to Info1541 (srvsvc_NetSrvInfo1541)",hf_srvsvc_srvsvc_NetSrvInfo_info1541);
13205 return offset;
13208 static int
13209 srvsvc_dissect_element_NetSrvInfo_info1541_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13211 offset = srvsvc_dissect_struct_NetSrvInfo1541(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1541,0);
13213 return offset;
13216 static int
13217 srvsvc_dissect_element_NetSrvInfo_info1542(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13219 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1542_, NDR_POINTER_UNIQUE, "Pointer to Info1542 (srvsvc_NetSrvInfo1542)",hf_srvsvc_srvsvc_NetSrvInfo_info1542);
13221 return offset;
13224 static int
13225 srvsvc_dissect_element_NetSrvInfo_info1542_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13227 offset = srvsvc_dissect_struct_NetSrvInfo1542(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1542,0);
13229 return offset;
13232 static int
13233 srvsvc_dissect_element_NetSrvInfo_info1543(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13235 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1543_, NDR_POINTER_UNIQUE, "Pointer to Info1543 (srvsvc_NetSrvInfo1543)",hf_srvsvc_srvsvc_NetSrvInfo_info1543);
13237 return offset;
13240 static int
13241 srvsvc_dissect_element_NetSrvInfo_info1543_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13243 offset = srvsvc_dissect_struct_NetSrvInfo1543(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1543,0);
13245 return offset;
13248 static int
13249 srvsvc_dissect_element_NetSrvInfo_info1544(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13251 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1544_, NDR_POINTER_UNIQUE, "Pointer to Info1544 (srvsvc_NetSrvInfo1544)",hf_srvsvc_srvsvc_NetSrvInfo_info1544);
13253 return offset;
13256 static int
13257 srvsvc_dissect_element_NetSrvInfo_info1544_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13259 offset = srvsvc_dissect_struct_NetSrvInfo1544(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1544,0);
13261 return offset;
13264 static int
13265 srvsvc_dissect_element_NetSrvInfo_info1545(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13267 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1545_, NDR_POINTER_UNIQUE, "Pointer to Info1545 (srvsvc_NetSrvInfo1545)",hf_srvsvc_srvsvc_NetSrvInfo_info1545);
13269 return offset;
13272 static int
13273 srvsvc_dissect_element_NetSrvInfo_info1545_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13275 offset = srvsvc_dissect_struct_NetSrvInfo1545(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1545,0);
13277 return offset;
13280 static int
13281 srvsvc_dissect_element_NetSrvInfo_info1546(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13283 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1546_, NDR_POINTER_UNIQUE, "Pointer to Info1546 (srvsvc_NetSrvInfo1546)",hf_srvsvc_srvsvc_NetSrvInfo_info1546);
13285 return offset;
13288 static int
13289 srvsvc_dissect_element_NetSrvInfo_info1546_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13291 offset = srvsvc_dissect_struct_NetSrvInfo1546(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1546,0);
13293 return offset;
13296 static int
13297 srvsvc_dissect_element_NetSrvInfo_info1547(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13299 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1547_, NDR_POINTER_UNIQUE, "Pointer to Info1547 (srvsvc_NetSrvInfo1547)",hf_srvsvc_srvsvc_NetSrvInfo_info1547);
13301 return offset;
13304 static int
13305 srvsvc_dissect_element_NetSrvInfo_info1547_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13307 offset = srvsvc_dissect_struct_NetSrvInfo1547(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1547,0);
13309 return offset;
13312 static int
13313 srvsvc_dissect_element_NetSrvInfo_info1548(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13315 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1548_, NDR_POINTER_UNIQUE, "Pointer to Info1548 (srvsvc_NetSrvInfo1548)",hf_srvsvc_srvsvc_NetSrvInfo_info1548);
13317 return offset;
13320 static int
13321 srvsvc_dissect_element_NetSrvInfo_info1548_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13323 offset = srvsvc_dissect_struct_NetSrvInfo1548(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1548,0);
13325 return offset;
13328 static int
13329 srvsvc_dissect_element_NetSrvInfo_info1549(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13331 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1549_, NDR_POINTER_UNIQUE, "Pointer to Info1549 (srvsvc_NetSrvInfo1549)",hf_srvsvc_srvsvc_NetSrvInfo_info1549);
13333 return offset;
13336 static int
13337 srvsvc_dissect_element_NetSrvInfo_info1549_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13339 offset = srvsvc_dissect_struct_NetSrvInfo1549(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1549,0);
13341 return offset;
13344 static int
13345 srvsvc_dissect_element_NetSrvInfo_info1550(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13347 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1550_, NDR_POINTER_UNIQUE, "Pointer to Info1550 (srvsvc_NetSrvInfo1550)",hf_srvsvc_srvsvc_NetSrvInfo_info1550);
13349 return offset;
13352 static int
13353 srvsvc_dissect_element_NetSrvInfo_info1550_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13355 offset = srvsvc_dissect_struct_NetSrvInfo1550(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1550,0);
13357 return offset;
13360 static int
13361 srvsvc_dissect_element_NetSrvInfo_info1552(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13363 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1552_, NDR_POINTER_UNIQUE, "Pointer to Info1552 (srvsvc_NetSrvInfo1552)",hf_srvsvc_srvsvc_NetSrvInfo_info1552);
13365 return offset;
13368 static int
13369 srvsvc_dissect_element_NetSrvInfo_info1552_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13371 offset = srvsvc_dissect_struct_NetSrvInfo1552(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1552,0);
13373 return offset;
13376 static int
13377 srvsvc_dissect_element_NetSrvInfo_info1553(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13379 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1553_, NDR_POINTER_UNIQUE, "Pointer to Info1553 (srvsvc_NetSrvInfo1553)",hf_srvsvc_srvsvc_NetSrvInfo_info1553);
13381 return offset;
13384 static int
13385 srvsvc_dissect_element_NetSrvInfo_info1553_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13387 offset = srvsvc_dissect_struct_NetSrvInfo1553(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1553,0);
13389 return offset;
13392 static int
13393 srvsvc_dissect_element_NetSrvInfo_info1554(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13395 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1554_, NDR_POINTER_UNIQUE, "Pointer to Info1554 (srvsvc_NetSrvInfo1554)",hf_srvsvc_srvsvc_NetSrvInfo_info1554);
13397 return offset;
13400 static int
13401 srvsvc_dissect_element_NetSrvInfo_info1554_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13403 offset = srvsvc_dissect_struct_NetSrvInfo1554(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1554,0);
13405 return offset;
13408 static int
13409 srvsvc_dissect_element_NetSrvInfo_info1555(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13411 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1555_, NDR_POINTER_UNIQUE, "Pointer to Info1555 (srvsvc_NetSrvInfo1555)",hf_srvsvc_srvsvc_NetSrvInfo_info1555);
13413 return offset;
13416 static int
13417 srvsvc_dissect_element_NetSrvInfo_info1555_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13419 offset = srvsvc_dissect_struct_NetSrvInfo1555(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1555,0);
13421 return offset;
13424 static int
13425 srvsvc_dissect_element_NetSrvInfo_info1556(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13427 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvInfo_info1556_, NDR_POINTER_UNIQUE, "Pointer to Info1556 (srvsvc_NetSrvInfo1556)",hf_srvsvc_srvsvc_NetSrvInfo_info1556);
13429 return offset;
13432 static int
13433 srvsvc_dissect_element_NetSrvInfo_info1556_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13435 offset = srvsvc_dissect_struct_NetSrvInfo1556(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSrvInfo_info1556,0);
13437 return offset;
13440 static int
13441 srvsvc_dissect_NetSrvInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
13443 proto_item *item = NULL;
13444 proto_tree *tree = NULL;
13445 int old_offset;
13446 uint32_t level;
13448 old_offset = offset;
13449 if (parent_tree) {
13450 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_srvsvc_srvsvc_NetSrvInfo, &item, "srvsvc_NetSrvInfo");
13453 UNION_ALIGN_TO_5_BYTES;
13454 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
13455 UNION_ALIGN_TO_5_BYTES;
13457 switch(level) {
13458 case 100:
13459 offset = srvsvc_dissect_element_NetSrvInfo_info100(tvb, offset, pinfo, tree, di, drep);
13460 break;
13462 case 101:
13463 offset = srvsvc_dissect_element_NetSrvInfo_info101(tvb, offset, pinfo, tree, di, drep);
13464 break;
13466 case 102:
13467 offset = srvsvc_dissect_element_NetSrvInfo_info102(tvb, offset, pinfo, tree, di, drep);
13468 break;
13470 case 402:
13471 offset = srvsvc_dissect_element_NetSrvInfo_info402(tvb, offset, pinfo, tree, di, drep);
13472 break;
13474 case 403:
13475 offset = srvsvc_dissect_element_NetSrvInfo_info403(tvb, offset, pinfo, tree, di, drep);
13476 break;
13478 case 502:
13479 offset = srvsvc_dissect_element_NetSrvInfo_info502(tvb, offset, pinfo, tree, di, drep);
13480 break;
13482 case 503:
13483 offset = srvsvc_dissect_element_NetSrvInfo_info503(tvb, offset, pinfo, tree, di, drep);
13484 break;
13486 case 599:
13487 offset = srvsvc_dissect_element_NetSrvInfo_info599(tvb, offset, pinfo, tree, di, drep);
13488 break;
13490 case 1005:
13491 offset = srvsvc_dissect_element_NetSrvInfo_info1005(tvb, offset, pinfo, tree, di, drep);
13492 break;
13494 case 1010:
13495 offset = srvsvc_dissect_element_NetSrvInfo_info1010(tvb, offset, pinfo, tree, di, drep);
13496 break;
13498 case 1016:
13499 offset = srvsvc_dissect_element_NetSrvInfo_info1016(tvb, offset, pinfo, tree, di, drep);
13500 break;
13502 case 1017:
13503 offset = srvsvc_dissect_element_NetSrvInfo_info1017(tvb, offset, pinfo, tree, di, drep);
13504 break;
13506 case 1018:
13507 offset = srvsvc_dissect_element_NetSrvInfo_info1018(tvb, offset, pinfo, tree, di, drep);
13508 break;
13510 case 1107:
13511 offset = srvsvc_dissect_element_NetSrvInfo_info1107(tvb, offset, pinfo, tree, di, drep);
13512 break;
13514 case 1501:
13515 offset = srvsvc_dissect_element_NetSrvInfo_info1501(tvb, offset, pinfo, tree, di, drep);
13516 break;
13518 case 1502:
13519 offset = srvsvc_dissect_element_NetSrvInfo_info1502(tvb, offset, pinfo, tree, di, drep);
13520 break;
13522 case 1503:
13523 offset = srvsvc_dissect_element_NetSrvInfo_info1503(tvb, offset, pinfo, tree, di, drep);
13524 break;
13526 case 1506:
13527 offset = srvsvc_dissect_element_NetSrvInfo_info1506(tvb, offset, pinfo, tree, di, drep);
13528 break;
13530 case 1509:
13531 offset = srvsvc_dissect_element_NetSrvInfo_info1509(tvb, offset, pinfo, tree, di, drep);
13532 break;
13534 case 1510:
13535 offset = srvsvc_dissect_element_NetSrvInfo_info1510(tvb, offset, pinfo, tree, di, drep);
13536 break;
13538 case 1511:
13539 offset = srvsvc_dissect_element_NetSrvInfo_info1511(tvb, offset, pinfo, tree, di, drep);
13540 break;
13542 case 1512:
13543 offset = srvsvc_dissect_element_NetSrvInfo_info1512(tvb, offset, pinfo, tree, di, drep);
13544 break;
13546 case 1513:
13547 offset = srvsvc_dissect_element_NetSrvInfo_info1513(tvb, offset, pinfo, tree, di, drep);
13548 break;
13550 case 1514:
13551 offset = srvsvc_dissect_element_NetSrvInfo_info1514(tvb, offset, pinfo, tree, di, drep);
13552 break;
13554 case 1515:
13555 offset = srvsvc_dissect_element_NetSrvInfo_info1515(tvb, offset, pinfo, tree, di, drep);
13556 break;
13558 case 1516:
13559 offset = srvsvc_dissect_element_NetSrvInfo_info1516(tvb, offset, pinfo, tree, di, drep);
13560 break;
13562 case 1518:
13563 offset = srvsvc_dissect_element_NetSrvInfo_info1518(tvb, offset, pinfo, tree, di, drep);
13564 break;
13566 case 1520:
13567 offset = srvsvc_dissect_element_NetSrvInfo_info1520(tvb, offset, pinfo, tree, di, drep);
13568 break;
13570 case 1521:
13571 offset = srvsvc_dissect_element_NetSrvInfo_info1521(tvb, offset, pinfo, tree, di, drep);
13572 break;
13574 case 1522:
13575 offset = srvsvc_dissect_element_NetSrvInfo_info1522(tvb, offset, pinfo, tree, di, drep);
13576 break;
13578 case 1523:
13579 offset = srvsvc_dissect_element_NetSrvInfo_info1523(tvb, offset, pinfo, tree, di, drep);
13580 break;
13582 case 1524:
13583 offset = srvsvc_dissect_element_NetSrvInfo_info1524(tvb, offset, pinfo, tree, di, drep);
13584 break;
13586 case 1525:
13587 offset = srvsvc_dissect_element_NetSrvInfo_info1525(tvb, offset, pinfo, tree, di, drep);
13588 break;
13590 case 1528:
13591 offset = srvsvc_dissect_element_NetSrvInfo_info1528(tvb, offset, pinfo, tree, di, drep);
13592 break;
13594 case 1529:
13595 offset = srvsvc_dissect_element_NetSrvInfo_info1529(tvb, offset, pinfo, tree, di, drep);
13596 break;
13598 case 1530:
13599 offset = srvsvc_dissect_element_NetSrvInfo_info1530(tvb, offset, pinfo, tree, di, drep);
13600 break;
13602 case 1533:
13603 offset = srvsvc_dissect_element_NetSrvInfo_info1533(tvb, offset, pinfo, tree, di, drep);
13604 break;
13606 case 1534:
13607 offset = srvsvc_dissect_element_NetSrvInfo_info1534(tvb, offset, pinfo, tree, di, drep);
13608 break;
13610 case 1535:
13611 offset = srvsvc_dissect_element_NetSrvInfo_info1535(tvb, offset, pinfo, tree, di, drep);
13612 break;
13614 case 1536:
13615 offset = srvsvc_dissect_element_NetSrvInfo_info1536(tvb, offset, pinfo, tree, di, drep);
13616 break;
13618 case 1537:
13619 offset = srvsvc_dissect_element_NetSrvInfo_info1537(tvb, offset, pinfo, tree, di, drep);
13620 break;
13622 case 1538:
13623 offset = srvsvc_dissect_element_NetSrvInfo_info1538(tvb, offset, pinfo, tree, di, drep);
13624 break;
13626 case 1539:
13627 offset = srvsvc_dissect_element_NetSrvInfo_info1539(tvb, offset, pinfo, tree, di, drep);
13628 break;
13630 case 1540:
13631 offset = srvsvc_dissect_element_NetSrvInfo_info1540(tvb, offset, pinfo, tree, di, drep);
13632 break;
13634 case 1541:
13635 offset = srvsvc_dissect_element_NetSrvInfo_info1541(tvb, offset, pinfo, tree, di, drep);
13636 break;
13638 case 1542:
13639 offset = srvsvc_dissect_element_NetSrvInfo_info1542(tvb, offset, pinfo, tree, di, drep);
13640 break;
13642 case 1543:
13643 offset = srvsvc_dissect_element_NetSrvInfo_info1543(tvb, offset, pinfo, tree, di, drep);
13644 break;
13646 case 1544:
13647 offset = srvsvc_dissect_element_NetSrvInfo_info1544(tvb, offset, pinfo, tree, di, drep);
13648 break;
13650 case 1545:
13651 offset = srvsvc_dissect_element_NetSrvInfo_info1545(tvb, offset, pinfo, tree, di, drep);
13652 break;
13654 case 1546:
13655 offset = srvsvc_dissect_element_NetSrvInfo_info1546(tvb, offset, pinfo, tree, di, drep);
13656 break;
13658 case 1547:
13659 offset = srvsvc_dissect_element_NetSrvInfo_info1547(tvb, offset, pinfo, tree, di, drep);
13660 break;
13662 case 1548:
13663 offset = srvsvc_dissect_element_NetSrvInfo_info1548(tvb, offset, pinfo, tree, di, drep);
13664 break;
13666 case 1549:
13667 offset = srvsvc_dissect_element_NetSrvInfo_info1549(tvb, offset, pinfo, tree, di, drep);
13668 break;
13670 case 1550:
13671 offset = srvsvc_dissect_element_NetSrvInfo_info1550(tvb, offset, pinfo, tree, di, drep);
13672 break;
13674 case 1552:
13675 offset = srvsvc_dissect_element_NetSrvInfo_info1552(tvb, offset, pinfo, tree, di, drep);
13676 break;
13678 case 1553:
13679 offset = srvsvc_dissect_element_NetSrvInfo_info1553(tvb, offset, pinfo, tree, di, drep);
13680 break;
13682 case 1554:
13683 offset = srvsvc_dissect_element_NetSrvInfo_info1554(tvb, offset, pinfo, tree, di, drep);
13684 break;
13686 case 1555:
13687 offset = srvsvc_dissect_element_NetSrvInfo_info1555(tvb, offset, pinfo, tree, di, drep);
13688 break;
13690 case 1556:
13691 offset = srvsvc_dissect_element_NetSrvInfo_info1556(tvb, offset, pinfo, tree, di, drep);
13692 break;
13694 default:
13695 break;
13697 proto_item_set_len(item, offset-old_offset);
13700 return offset;
13703 /* IDL: struct { */
13704 /* IDL: [charset(UTF16)] uint16 disk[3]; */
13705 /* IDL: } */
13707 static int
13708 srvsvc_dissect_element_NetDiskInfo0_disk(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13710 char *data = NULL;
13711 struct ndr_generic_array nga = { .is_conformant = false, };
13713 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13714 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetDiskInfo0_disk, false, &nga, &data);
13715 proto_item_append_text(tree, ": %s", data);
13717 return offset;
13721 srvsvc_dissect_struct_NetDiskInfo0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
13723 proto_item *item = NULL;
13724 proto_tree *tree = NULL;
13725 int old_offset;
13727 ALIGN_TO_2_BYTES;
13729 old_offset = offset;
13731 if (parent_tree) {
13732 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13733 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetDiskInfo0);
13736 offset = srvsvc_dissect_element_NetDiskInfo0_disk(tvb, offset, pinfo, tree, di, drep);
13739 proto_item_set_len(item, offset-old_offset);
13742 if (di->call_data->flags & DCERPC_IS_NDR64) {
13743 ALIGN_TO_2_BYTES;
13746 return offset;
13750 /* IDL: struct { */
13751 /* IDL: uint32 count; */
13752 /* IDL: [length_is(count)] [size_is(count)] [unique(1)] srvsvc_NetDiskInfo0 *disks; */
13753 /* IDL: } */
13755 static int
13756 srvsvc_dissect_element_NetDiskInfo_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13758 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetDiskInfo_count, 0);
13760 return offset;
13763 static int
13764 srvsvc_dissect_element_NetDiskInfo_disks(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13766 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetDiskInfo_disks_, NDR_POINTER_UNIQUE, "Pointer to Disks (srvsvc_NetDiskInfo0)",hf_srvsvc_srvsvc_NetDiskInfo_disks);
13768 return offset;
13771 static int
13772 srvsvc_dissect_element_NetDiskInfo_disks_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13774 struct ndr_generic_array nga = { .is_conformant = false, };
13776 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13778 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
13780 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetDiskInfo_disks__);
13782 return offset;
13785 static int
13786 srvsvc_dissect_element_NetDiskInfo_disks__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13788 offset = srvsvc_dissect_struct_NetDiskInfo0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetDiskInfo_disks,0);
13790 return offset;
13794 srvsvc_dissect_struct_NetDiskInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
13796 proto_item *item = NULL;
13797 proto_tree *tree = NULL;
13798 int old_offset;
13800 ALIGN_TO_5_BYTES;
13802 old_offset = offset;
13804 if (parent_tree) {
13805 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13806 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetDiskInfo);
13809 offset = srvsvc_dissect_element_NetDiskInfo_count(tvb, offset, pinfo, tree, di, drep);
13811 offset = srvsvc_dissect_element_NetDiskInfo_disks(tvb, offset, pinfo, tree, di, drep);
13814 proto_item_set_len(item, offset-old_offset);
13817 if (di->call_data->flags & DCERPC_IS_NDR64) {
13818 ALIGN_TO_5_BYTES;
13821 return offset;
13825 /* IDL: struct { */
13826 /* IDL: uint32 start; */
13827 /* IDL: uint32 fopens; */
13828 /* IDL: uint32 devopens; */
13829 /* IDL: uint32 jobsqueued; */
13830 /* IDL: uint32 sopens; */
13831 /* IDL: uint32 stimeouts; */
13832 /* IDL: uint32 serrorout; */
13833 /* IDL: uint32 pwerrors; */
13834 /* IDL: uint32 permerrors; */
13835 /* IDL: uint32 syserrors; */
13836 /* IDL: uint32 bytessent_low; */
13837 /* IDL: uint32 bytessent_high; */
13838 /* IDL: uint32 bytesrcvd_low; */
13839 /* IDL: uint32 bytesrcvd_high; */
13840 /* IDL: uint32 avresponse; */
13841 /* IDL: uint32 reqbufneed; */
13842 /* IDL: uint32 bigbufneed; */
13843 /* IDL: } */
13845 static int
13846 srvsvc_dissect_element_Statistics_start(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13848 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_start, 0);
13850 return offset;
13853 static int
13854 srvsvc_dissect_element_Statistics_fopens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13856 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_fopens, 0);
13858 return offset;
13861 static int
13862 srvsvc_dissect_element_Statistics_devopens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13864 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_devopens, 0);
13866 return offset;
13869 static int
13870 srvsvc_dissect_element_Statistics_jobsqueued(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13872 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_jobsqueued, 0);
13874 return offset;
13877 static int
13878 srvsvc_dissect_element_Statistics_sopens(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13880 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_sopens, 0);
13882 return offset;
13885 static int
13886 srvsvc_dissect_element_Statistics_stimeouts(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13888 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_stimeouts, 0);
13890 return offset;
13893 static int
13894 srvsvc_dissect_element_Statistics_serrorout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13896 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_serrorout, 0);
13898 return offset;
13901 static int
13902 srvsvc_dissect_element_Statistics_pwerrors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13904 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_pwerrors, 0);
13906 return offset;
13909 static int
13910 srvsvc_dissect_element_Statistics_permerrors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13912 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_permerrors, 0);
13914 return offset;
13917 static int
13918 srvsvc_dissect_element_Statistics_syserrors(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13920 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_syserrors, 0);
13922 return offset;
13925 static int
13926 srvsvc_dissect_element_Statistics_bytessent_low(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13928 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_bytessent_low, 0);
13930 return offset;
13933 static int
13934 srvsvc_dissect_element_Statistics_bytessent_high(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13936 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_bytessent_high, 0);
13938 return offset;
13941 static int
13942 srvsvc_dissect_element_Statistics_bytesrcvd_low(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13944 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_bytesrcvd_low, 0);
13946 return offset;
13949 static int
13950 srvsvc_dissect_element_Statistics_bytesrcvd_high(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13952 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_bytesrcvd_high, 0);
13954 return offset;
13957 static int
13958 srvsvc_dissect_element_Statistics_avresponse(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13960 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_avresponse, 0);
13962 return offset;
13965 static int
13966 srvsvc_dissect_element_Statistics_reqbufneed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13968 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_reqbufneed, 0);
13970 return offset;
13973 static int
13974 srvsvc_dissect_element_Statistics_bigbufneed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
13976 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_Statistics_bigbufneed, 0);
13978 return offset;
13982 srvsvc_dissect_struct_Statistics(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
13984 proto_item *item = NULL;
13985 proto_tree *tree = NULL;
13986 int old_offset;
13988 ALIGN_TO_4_BYTES;
13990 old_offset = offset;
13992 if (parent_tree) {
13993 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
13994 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_Statistics);
13997 offset = srvsvc_dissect_element_Statistics_start(tvb, offset, pinfo, tree, di, drep);
13999 offset = srvsvc_dissect_element_Statistics_fopens(tvb, offset, pinfo, tree, di, drep);
14001 offset = srvsvc_dissect_element_Statistics_devopens(tvb, offset, pinfo, tree, di, drep);
14003 offset = srvsvc_dissect_element_Statistics_jobsqueued(tvb, offset, pinfo, tree, di, drep);
14005 offset = srvsvc_dissect_element_Statistics_sopens(tvb, offset, pinfo, tree, di, drep);
14007 offset = srvsvc_dissect_element_Statistics_stimeouts(tvb, offset, pinfo, tree, di, drep);
14009 offset = srvsvc_dissect_element_Statistics_serrorout(tvb, offset, pinfo, tree, di, drep);
14011 offset = srvsvc_dissect_element_Statistics_pwerrors(tvb, offset, pinfo, tree, di, drep);
14013 offset = srvsvc_dissect_element_Statistics_permerrors(tvb, offset, pinfo, tree, di, drep);
14015 offset = srvsvc_dissect_element_Statistics_syserrors(tvb, offset, pinfo, tree, di, drep);
14017 offset = srvsvc_dissect_element_Statistics_bytessent_low(tvb, offset, pinfo, tree, di, drep);
14019 offset = srvsvc_dissect_element_Statistics_bytessent_high(tvb, offset, pinfo, tree, di, drep);
14021 offset = srvsvc_dissect_element_Statistics_bytesrcvd_low(tvb, offset, pinfo, tree, di, drep);
14023 offset = srvsvc_dissect_element_Statistics_bytesrcvd_high(tvb, offset, pinfo, tree, di, drep);
14025 offset = srvsvc_dissect_element_Statistics_avresponse(tvb, offset, pinfo, tree, di, drep);
14027 offset = srvsvc_dissect_element_Statistics_reqbufneed(tvb, offset, pinfo, tree, di, drep);
14029 offset = srvsvc_dissect_element_Statistics_bigbufneed(tvb, offset, pinfo, tree, di, drep);
14032 proto_item_set_len(item, offset-old_offset);
14035 if (di->call_data->flags & DCERPC_IS_NDR64) {
14036 ALIGN_TO_4_BYTES;
14039 return offset;
14043 /* IDL: struct { */
14044 /* IDL: uint32 vcs; */
14045 /* IDL: [charset(UTF16)] [unique(1)] uint16 *name; */
14046 /* IDL: [size_is(addr_len)] [unique(1)] uint8 *addr; */
14047 /* IDL: uint32 addr_len; */
14048 /* IDL: [charset(UTF16)] [unique(1)] uint16 *net_addr; */
14049 /* IDL: } */
14051 static int
14052 srvsvc_dissect_element_NetTransportInfo0_vcs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14054 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo0_vcs, 0);
14056 return offset;
14059 static int
14060 srvsvc_dissect_element_NetTransportInfo0_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14062 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo0_name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_srvsvc_srvsvc_NetTransportInfo0_name);
14064 return offset;
14067 static int
14068 srvsvc_dissect_element_NetTransportInfo0_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14070 char *data = NULL;
14071 struct ndr_generic_array nga = { .is_conformant = false, };
14073 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14075 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14076 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetTransportInfo0_name, false, &nga, &data);
14077 proto_item_append_text(tree, ": %s", data);
14079 return offset;
14082 static int
14083 srvsvc_dissect_element_NetTransportInfo0_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14085 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo0_addr_, NDR_POINTER_UNIQUE, "Pointer to Addr (uint8)",hf_srvsvc_srvsvc_NetTransportInfo0_addr);
14087 return offset;
14090 static int
14091 srvsvc_dissect_element_NetTransportInfo0_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14093 struct ndr_generic_array nga = { .is_conformant = false, };
14095 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14097 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetTransportInfo0_addr__);
14099 return offset;
14102 static int
14103 srvsvc_dissect_element_NetTransportInfo0_addr__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14105 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo0_addr, 0);
14107 return offset;
14110 static int
14111 srvsvc_dissect_element_NetTransportInfo0_addr_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14113 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo0_addr_len, 0);
14115 return offset;
14118 static int
14119 srvsvc_dissect_element_NetTransportInfo0_net_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14121 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo0_net_addr_, NDR_POINTER_UNIQUE, "Pointer to Net Addr (uint16)",hf_srvsvc_srvsvc_NetTransportInfo0_net_addr);
14123 return offset;
14126 static int
14127 srvsvc_dissect_element_NetTransportInfo0_net_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14129 char *data = NULL;
14130 struct ndr_generic_array nga = { .is_conformant = false, };
14132 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14134 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14135 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetTransportInfo0_net_addr, false, &nga, &data);
14136 proto_item_append_text(tree, ": %s", data);
14138 return offset;
14142 srvsvc_dissect_struct_NetTransportInfo0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
14144 proto_item *item = NULL;
14145 proto_tree *tree = NULL;
14146 int old_offset;
14148 ALIGN_TO_5_BYTES;
14150 old_offset = offset;
14152 if (parent_tree) {
14153 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14154 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetTransportInfo0);
14157 offset = srvsvc_dissect_element_NetTransportInfo0_vcs(tvb, offset, pinfo, tree, di, drep);
14159 offset = srvsvc_dissect_element_NetTransportInfo0_name(tvb, offset, pinfo, tree, di, drep);
14161 offset = srvsvc_dissect_element_NetTransportInfo0_addr(tvb, offset, pinfo, tree, di, drep);
14163 offset = srvsvc_dissect_element_NetTransportInfo0_addr_len(tvb, offset, pinfo, tree, di, drep);
14165 offset = srvsvc_dissect_element_NetTransportInfo0_net_addr(tvb, offset, pinfo, tree, di, drep);
14168 proto_item_set_len(item, offset-old_offset);
14171 if (di->call_data->flags & DCERPC_IS_NDR64) {
14172 ALIGN_TO_5_BYTES;
14175 return offset;
14179 /* IDL: struct { */
14180 /* IDL: uint32 count; */
14181 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetTransportInfo0 *array; */
14182 /* IDL: } */
14184 static int
14185 srvsvc_dissect_element_NetTransportCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14187 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportCtr0_count, 0);
14189 return offset;
14192 static int
14193 srvsvc_dissect_element_NetTransportCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14195 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportCtr0_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetTransportInfo0)",hf_srvsvc_srvsvc_NetTransportCtr0_array);
14197 return offset;
14200 static int
14201 srvsvc_dissect_element_NetTransportCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14203 struct ndr_generic_array nga = { .is_conformant = false, };
14205 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14207 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetTransportCtr0_array__);
14209 return offset;
14212 static int
14213 srvsvc_dissect_element_NetTransportCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14215 offset = srvsvc_dissect_struct_NetTransportInfo0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetTransportCtr0_array,0);
14217 return offset;
14221 srvsvc_dissect_struct_NetTransportCtr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
14223 proto_item *item = NULL;
14224 proto_tree *tree = NULL;
14225 int old_offset;
14227 ALIGN_TO_5_BYTES;
14229 old_offset = offset;
14231 if (parent_tree) {
14232 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14233 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetTransportCtr0);
14236 offset = srvsvc_dissect_element_NetTransportCtr0_count(tvb, offset, pinfo, tree, di, drep);
14238 offset = srvsvc_dissect_element_NetTransportCtr0_array(tvb, offset, pinfo, tree, di, drep);
14241 proto_item_set_len(item, offset-old_offset);
14244 if (di->call_data->flags & DCERPC_IS_NDR64) {
14245 ALIGN_TO_5_BYTES;
14248 return offset;
14252 /* IDL: struct { */
14253 /* IDL: uint32 vcs; */
14254 /* IDL: [charset(UTF16)] [unique(1)] uint16 *name; */
14255 /* IDL: [size_is(addr_len)] [unique(1)] uint8 *addr; */
14256 /* IDL: uint32 addr_len; */
14257 /* IDL: [charset(UTF16)] [unique(1)] uint16 *net_addr; */
14258 /* IDL: [charset(UTF16)] [unique(1)] uint16 *domain; */
14259 /* IDL: } */
14261 static int
14262 srvsvc_dissect_element_NetTransportInfo1_vcs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14264 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo1_vcs, 0);
14266 return offset;
14269 static int
14270 srvsvc_dissect_element_NetTransportInfo1_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14272 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo1_name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_srvsvc_srvsvc_NetTransportInfo1_name);
14274 return offset;
14277 static int
14278 srvsvc_dissect_element_NetTransportInfo1_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14280 char *data = NULL;
14281 struct ndr_generic_array nga = { .is_conformant = false, };
14283 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14285 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14286 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetTransportInfo1_name, false, &nga, &data);
14287 proto_item_append_text(tree, ": %s", data);
14289 return offset;
14292 static int
14293 srvsvc_dissect_element_NetTransportInfo1_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14295 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo1_addr_, NDR_POINTER_UNIQUE, "Pointer to Addr (uint8)",hf_srvsvc_srvsvc_NetTransportInfo1_addr);
14297 return offset;
14300 static int
14301 srvsvc_dissect_element_NetTransportInfo1_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14303 struct ndr_generic_array nga = { .is_conformant = false, };
14305 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14307 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetTransportInfo1_addr__);
14309 return offset;
14312 static int
14313 srvsvc_dissect_element_NetTransportInfo1_addr__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14315 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo1_addr, 0);
14317 return offset;
14320 static int
14321 srvsvc_dissect_element_NetTransportInfo1_addr_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14323 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo1_addr_len, 0);
14325 return offset;
14328 static int
14329 srvsvc_dissect_element_NetTransportInfo1_net_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14331 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo1_net_addr_, NDR_POINTER_UNIQUE, "Pointer to Net Addr (uint16)",hf_srvsvc_srvsvc_NetTransportInfo1_net_addr);
14333 return offset;
14336 static int
14337 srvsvc_dissect_element_NetTransportInfo1_net_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14339 char *data = NULL;
14340 struct ndr_generic_array nga = { .is_conformant = false, };
14342 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14344 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14345 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetTransportInfo1_net_addr, false, &nga, &data);
14346 proto_item_append_text(tree, ": %s", data);
14348 return offset;
14351 static int
14352 srvsvc_dissect_element_NetTransportInfo1_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14354 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo1_domain_, NDR_POINTER_UNIQUE, "Pointer to Domain (uint16)",hf_srvsvc_srvsvc_NetTransportInfo1_domain);
14356 return offset;
14359 static int
14360 srvsvc_dissect_element_NetTransportInfo1_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14362 char *data = NULL;
14363 struct ndr_generic_array nga = { .is_conformant = false, };
14365 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14367 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14368 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetTransportInfo1_domain, false, &nga, &data);
14369 proto_item_append_text(tree, ": %s", data);
14371 return offset;
14375 srvsvc_dissect_struct_NetTransportInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
14377 proto_item *item = NULL;
14378 proto_tree *tree = NULL;
14379 int old_offset;
14381 ALIGN_TO_5_BYTES;
14383 old_offset = offset;
14385 if (parent_tree) {
14386 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14387 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetTransportInfo1);
14390 offset = srvsvc_dissect_element_NetTransportInfo1_vcs(tvb, offset, pinfo, tree, di, drep);
14392 offset = srvsvc_dissect_element_NetTransportInfo1_name(tvb, offset, pinfo, tree, di, drep);
14394 offset = srvsvc_dissect_element_NetTransportInfo1_addr(tvb, offset, pinfo, tree, di, drep);
14396 offset = srvsvc_dissect_element_NetTransportInfo1_addr_len(tvb, offset, pinfo, tree, di, drep);
14398 offset = srvsvc_dissect_element_NetTransportInfo1_net_addr(tvb, offset, pinfo, tree, di, drep);
14400 offset = srvsvc_dissect_element_NetTransportInfo1_domain(tvb, offset, pinfo, tree, di, drep);
14403 proto_item_set_len(item, offset-old_offset);
14406 if (di->call_data->flags & DCERPC_IS_NDR64) {
14407 ALIGN_TO_5_BYTES;
14410 return offset;
14414 /* IDL: struct { */
14415 /* IDL: uint32 count; */
14416 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetTransportInfo1 *array; */
14417 /* IDL: } */
14419 static int
14420 srvsvc_dissect_element_NetTransportCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14422 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportCtr1_count, 0);
14424 return offset;
14427 static int
14428 srvsvc_dissect_element_NetTransportCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14430 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportCtr1_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetTransportInfo1)",hf_srvsvc_srvsvc_NetTransportCtr1_array);
14432 return offset;
14435 static int
14436 srvsvc_dissect_element_NetTransportCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14438 struct ndr_generic_array nga = { .is_conformant = false, };
14440 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14442 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetTransportCtr1_array__);
14444 return offset;
14447 static int
14448 srvsvc_dissect_element_NetTransportCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14450 offset = srvsvc_dissect_struct_NetTransportInfo1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetTransportCtr1_array,0);
14452 return offset;
14456 srvsvc_dissect_struct_NetTransportCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
14458 proto_item *item = NULL;
14459 proto_tree *tree = NULL;
14460 int old_offset;
14462 ALIGN_TO_5_BYTES;
14464 old_offset = offset;
14466 if (parent_tree) {
14467 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14468 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetTransportCtr1);
14471 offset = srvsvc_dissect_element_NetTransportCtr1_count(tvb, offset, pinfo, tree, di, drep);
14473 offset = srvsvc_dissect_element_NetTransportCtr1_array(tvb, offset, pinfo, tree, di, drep);
14476 proto_item_set_len(item, offset-old_offset);
14479 if (di->call_data->flags & DCERPC_IS_NDR64) {
14480 ALIGN_TO_5_BYTES;
14483 return offset;
14487 /* IDL: struct { */
14488 /* IDL: uint32 vcs; */
14489 /* IDL: [charset(UTF16)] [unique(1)] uint16 *name; */
14490 /* IDL: [size_is(addr_len)] [unique(1)] uint8 *addr; */
14491 /* IDL: uint32 addr_len; */
14492 /* IDL: [charset(UTF16)] [unique(1)] uint16 *net_addr; */
14493 /* IDL: [charset(UTF16)] [unique(1)] uint16 *domain; */
14494 /* IDL: uint32 unknown; */
14495 /* IDL: } */
14497 static int
14498 srvsvc_dissect_element_NetTransportInfo2_vcs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14500 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo2_vcs, 0);
14502 return offset;
14505 static int
14506 srvsvc_dissect_element_NetTransportInfo2_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14508 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo2_name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_srvsvc_srvsvc_NetTransportInfo2_name);
14510 return offset;
14513 static int
14514 srvsvc_dissect_element_NetTransportInfo2_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14516 char *data = NULL;
14517 struct ndr_generic_array nga = { .is_conformant = false, };
14519 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14521 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14522 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetTransportInfo2_name, false, &nga, &data);
14523 proto_item_append_text(tree, ": %s", data);
14525 return offset;
14528 static int
14529 srvsvc_dissect_element_NetTransportInfo2_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14531 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo2_addr_, NDR_POINTER_UNIQUE, "Pointer to Addr (uint8)",hf_srvsvc_srvsvc_NetTransportInfo2_addr);
14533 return offset;
14536 static int
14537 srvsvc_dissect_element_NetTransportInfo2_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14539 struct ndr_generic_array nga = { .is_conformant = false, };
14541 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14543 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetTransportInfo2_addr__);
14545 return offset;
14548 static int
14549 srvsvc_dissect_element_NetTransportInfo2_addr__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14551 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo2_addr, 0);
14553 return offset;
14556 static int
14557 srvsvc_dissect_element_NetTransportInfo2_addr_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14559 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo2_addr_len, 0);
14561 return offset;
14564 static int
14565 srvsvc_dissect_element_NetTransportInfo2_net_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14567 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo2_net_addr_, NDR_POINTER_UNIQUE, "Pointer to Net Addr (uint16)",hf_srvsvc_srvsvc_NetTransportInfo2_net_addr);
14569 return offset;
14572 static int
14573 srvsvc_dissect_element_NetTransportInfo2_net_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14575 char *data = NULL;
14576 struct ndr_generic_array nga = { .is_conformant = false, };
14578 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14580 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14581 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetTransportInfo2_net_addr, false, &nga, &data);
14582 proto_item_append_text(tree, ": %s", data);
14584 return offset;
14587 static int
14588 srvsvc_dissect_element_NetTransportInfo2_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14590 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo2_domain_, NDR_POINTER_UNIQUE, "Pointer to Domain (uint16)",hf_srvsvc_srvsvc_NetTransportInfo2_domain);
14592 return offset;
14595 static int
14596 srvsvc_dissect_element_NetTransportInfo2_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14598 char *data = NULL;
14599 struct ndr_generic_array nga = { .is_conformant = false, };
14601 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14603 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14604 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetTransportInfo2_domain, false, &nga, &data);
14605 proto_item_append_text(tree, ": %s", data);
14607 return offset;
14610 static int
14611 srvsvc_dissect_element_NetTransportInfo2_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14613 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo2_unknown, 0);
14615 return offset;
14619 srvsvc_dissect_struct_NetTransportInfo2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
14621 proto_item *item = NULL;
14622 proto_tree *tree = NULL;
14623 int old_offset;
14625 ALIGN_TO_5_BYTES;
14627 old_offset = offset;
14629 if (parent_tree) {
14630 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14631 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetTransportInfo2);
14634 offset = srvsvc_dissect_element_NetTransportInfo2_vcs(tvb, offset, pinfo, tree, di, drep);
14636 offset = srvsvc_dissect_element_NetTransportInfo2_name(tvb, offset, pinfo, tree, di, drep);
14638 offset = srvsvc_dissect_element_NetTransportInfo2_addr(tvb, offset, pinfo, tree, di, drep);
14640 offset = srvsvc_dissect_element_NetTransportInfo2_addr_len(tvb, offset, pinfo, tree, di, drep);
14642 offset = srvsvc_dissect_element_NetTransportInfo2_net_addr(tvb, offset, pinfo, tree, di, drep);
14644 offset = srvsvc_dissect_element_NetTransportInfo2_domain(tvb, offset, pinfo, tree, di, drep);
14646 offset = srvsvc_dissect_element_NetTransportInfo2_unknown(tvb, offset, pinfo, tree, di, drep);
14649 proto_item_set_len(item, offset-old_offset);
14652 if (di->call_data->flags & DCERPC_IS_NDR64) {
14653 ALIGN_TO_5_BYTES;
14656 return offset;
14660 /* IDL: struct { */
14661 /* IDL: uint32 count; */
14662 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetTransportInfo2 *array; */
14663 /* IDL: } */
14665 static int
14666 srvsvc_dissect_element_NetTransportCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14668 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportCtr2_count, 0);
14670 return offset;
14673 static int
14674 srvsvc_dissect_element_NetTransportCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14676 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportCtr2_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetTransportInfo2)",hf_srvsvc_srvsvc_NetTransportCtr2_array);
14678 return offset;
14681 static int
14682 srvsvc_dissect_element_NetTransportCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14684 struct ndr_generic_array nga = { .is_conformant = false, };
14686 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14688 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetTransportCtr2_array__);
14690 return offset;
14693 static int
14694 srvsvc_dissect_element_NetTransportCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14696 offset = srvsvc_dissect_struct_NetTransportInfo2(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetTransportCtr2_array,0);
14698 return offset;
14702 srvsvc_dissect_struct_NetTransportCtr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
14704 proto_item *item = NULL;
14705 proto_tree *tree = NULL;
14706 int old_offset;
14708 ALIGN_TO_5_BYTES;
14710 old_offset = offset;
14712 if (parent_tree) {
14713 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14714 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetTransportCtr2);
14717 offset = srvsvc_dissect_element_NetTransportCtr2_count(tvb, offset, pinfo, tree, di, drep);
14719 offset = srvsvc_dissect_element_NetTransportCtr2_array(tvb, offset, pinfo, tree, di, drep);
14722 proto_item_set_len(item, offset-old_offset);
14725 if (di->call_data->flags & DCERPC_IS_NDR64) {
14726 ALIGN_TO_5_BYTES;
14729 return offset;
14733 /* IDL: struct { */
14734 /* IDL: uint32 vcs; */
14735 /* IDL: [charset(UTF16)] [unique(1)] uint16 *name; */
14736 /* IDL: [size_is(addr_len)] [unique(1)] uint8 *addr; */
14737 /* IDL: uint32 addr_len; */
14738 /* IDL: [charset(UTF16)] [unique(1)] uint16 *net_addr; */
14739 /* IDL: [charset(UTF16)] [unique(1)] uint16 *domain; */
14740 /* IDL: uint32 unknown1; */
14741 /* IDL: uint32 unknown2; */
14742 /* IDL: uint8 unknown3[256]; */
14743 /* IDL: } */
14745 static int
14746 srvsvc_dissect_element_NetTransportInfo3_vcs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14748 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo3_vcs, 0);
14750 return offset;
14753 static int
14754 srvsvc_dissect_element_NetTransportInfo3_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14756 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo3_name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_srvsvc_srvsvc_NetTransportInfo3_name);
14758 return offset;
14761 static int
14762 srvsvc_dissect_element_NetTransportInfo3_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14764 char *data = NULL;
14765 struct ndr_generic_array nga = { .is_conformant = false, };
14767 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14769 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14770 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetTransportInfo3_name, false, &nga, &data);
14771 proto_item_append_text(tree, ": %s", data);
14773 return offset;
14776 static int
14777 srvsvc_dissect_element_NetTransportInfo3_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14779 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo3_addr_, NDR_POINTER_UNIQUE, "Pointer to Addr (uint8)",hf_srvsvc_srvsvc_NetTransportInfo3_addr);
14781 return offset;
14784 static int
14785 srvsvc_dissect_element_NetTransportInfo3_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14787 struct ndr_generic_array nga = { .is_conformant = false, };
14789 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14791 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetTransportInfo3_addr__);
14793 return offset;
14796 static int
14797 srvsvc_dissect_element_NetTransportInfo3_addr__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14799 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo3_addr, 0);
14801 return offset;
14804 static int
14805 srvsvc_dissect_element_NetTransportInfo3_addr_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14807 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo3_addr_len, 0);
14809 return offset;
14812 static int
14813 srvsvc_dissect_element_NetTransportInfo3_net_addr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14815 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo3_net_addr_, NDR_POINTER_UNIQUE, "Pointer to Net Addr (uint16)",hf_srvsvc_srvsvc_NetTransportInfo3_net_addr);
14817 return offset;
14820 static int
14821 srvsvc_dissect_element_NetTransportInfo3_net_addr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14823 char *data = NULL;
14824 struct ndr_generic_array nga = { .is_conformant = false, };
14826 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14828 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14829 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetTransportInfo3_net_addr, false, &nga, &data);
14830 proto_item_append_text(tree, ": %s", data);
14832 return offset;
14835 static int
14836 srvsvc_dissect_element_NetTransportInfo3_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14838 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportInfo3_domain_, NDR_POINTER_UNIQUE, "Pointer to Domain (uint16)",hf_srvsvc_srvsvc_NetTransportInfo3_domain);
14840 return offset;
14843 static int
14844 srvsvc_dissect_element_NetTransportInfo3_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14846 char *data = NULL;
14847 struct ndr_generic_array nga = { .is_conformant = false, };
14849 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14851 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14852 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetTransportInfo3_domain, false, &nga, &data);
14853 proto_item_append_text(tree, ": %s", data);
14855 return offset;
14858 static int
14859 srvsvc_dissect_element_NetTransportInfo3_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14861 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo3_unknown1, 0);
14863 return offset;
14866 static int
14867 srvsvc_dissect_element_NetTransportInfo3_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14869 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo3_unknown2, 0);
14871 return offset;
14874 static int
14875 srvsvc_dissect_element_NetTransportInfo3_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14877 int i;
14878 for (i = 0; i < 256; i++)
14879 offset = srvsvc_dissect_element_NetTransportInfo3_unknown3_(tvb, offset, pinfo, tree, di, drep);
14881 return offset;
14884 static int
14885 srvsvc_dissect_element_NetTransportInfo3_unknown3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14887 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfo3_unknown3, 0);
14889 return offset;
14893 srvsvc_dissect_struct_NetTransportInfo3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
14895 proto_item *item = NULL;
14896 proto_tree *tree = NULL;
14897 int old_offset;
14899 ALIGN_TO_5_BYTES;
14901 old_offset = offset;
14903 if (parent_tree) {
14904 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14905 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetTransportInfo3);
14908 offset = srvsvc_dissect_element_NetTransportInfo3_vcs(tvb, offset, pinfo, tree, di, drep);
14910 offset = srvsvc_dissect_element_NetTransportInfo3_name(tvb, offset, pinfo, tree, di, drep);
14912 offset = srvsvc_dissect_element_NetTransportInfo3_addr(tvb, offset, pinfo, tree, di, drep);
14914 offset = srvsvc_dissect_element_NetTransportInfo3_addr_len(tvb, offset, pinfo, tree, di, drep);
14916 offset = srvsvc_dissect_element_NetTransportInfo3_net_addr(tvb, offset, pinfo, tree, di, drep);
14918 offset = srvsvc_dissect_element_NetTransportInfo3_domain(tvb, offset, pinfo, tree, di, drep);
14920 offset = srvsvc_dissect_element_NetTransportInfo3_unknown1(tvb, offset, pinfo, tree, di, drep);
14922 offset = srvsvc_dissect_element_NetTransportInfo3_unknown2(tvb, offset, pinfo, tree, di, drep);
14924 offset = srvsvc_dissect_element_NetTransportInfo3_unknown3(tvb, offset, pinfo, tree, di, drep);
14927 proto_item_set_len(item, offset-old_offset);
14930 if (di->call_data->flags & DCERPC_IS_NDR64) {
14931 ALIGN_TO_5_BYTES;
14934 return offset;
14938 /* IDL: struct { */
14939 /* IDL: uint32 count; */
14940 /* IDL: [size_is(count)] [unique(1)] srvsvc_NetTransportInfo3 *array; */
14941 /* IDL: } */
14943 static int
14944 srvsvc_dissect_element_NetTransportCtr3_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14946 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportCtr3_count, 0);
14948 return offset;
14951 static int
14952 srvsvc_dissect_element_NetTransportCtr3_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14954 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportCtr3_array_, NDR_POINTER_UNIQUE, "Pointer to Array (srvsvc_NetTransportInfo3)",hf_srvsvc_srvsvc_NetTransportCtr3_array);
14956 return offset;
14959 static int
14960 srvsvc_dissect_element_NetTransportCtr3_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14962 struct ndr_generic_array nga = { .is_conformant = false, };
14964 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
14966 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetTransportCtr3_array__);
14968 return offset;
14971 static int
14972 srvsvc_dissect_element_NetTransportCtr3_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
14974 offset = srvsvc_dissect_struct_NetTransportInfo3(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetTransportCtr3_array,0);
14976 return offset;
14980 srvsvc_dissect_struct_NetTransportCtr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
14982 proto_item *item = NULL;
14983 proto_tree *tree = NULL;
14984 int old_offset;
14986 ALIGN_TO_5_BYTES;
14988 old_offset = offset;
14990 if (parent_tree) {
14991 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
14992 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetTransportCtr3);
14995 offset = srvsvc_dissect_element_NetTransportCtr3_count(tvb, offset, pinfo, tree, di, drep);
14997 offset = srvsvc_dissect_element_NetTransportCtr3_array(tvb, offset, pinfo, tree, di, drep);
15000 proto_item_set_len(item, offset-old_offset);
15003 if (di->call_data->flags & DCERPC_IS_NDR64) {
15004 ALIGN_TO_5_BYTES;
15007 return offset;
15011 /* IDL: union { */
15012 /* IDL: [case(0)] [case(0)] [unique(1)] srvsvc_NetTransportCtr0 *ctr0; */
15013 /* IDL: [case(1)] [case(1)] [unique(1)] srvsvc_NetTransportCtr1 *ctr1; */
15014 /* IDL: [case(2)] [case(2)] [unique(1)] srvsvc_NetTransportCtr2 *ctr2; */
15015 /* IDL: [case(3)] [case(3)] [unique(1)] srvsvc_NetTransportCtr3 *ctr3; */
15016 /* IDL: [default] ; */
15017 /* IDL: } */
15019 static int
15020 srvsvc_dissect_element_NetTransportCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15022 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportCtr_ctr0_, NDR_POINTER_UNIQUE, "Pointer to Ctr0 (srvsvc_NetTransportCtr0)",hf_srvsvc_srvsvc_NetTransportCtr_ctr0);
15024 return offset;
15027 static int
15028 srvsvc_dissect_element_NetTransportCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15030 offset = srvsvc_dissect_struct_NetTransportCtr0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetTransportCtr_ctr0,0);
15032 return offset;
15035 static int
15036 srvsvc_dissect_element_NetTransportCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15038 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportCtr_ctr1_, NDR_POINTER_UNIQUE, "Pointer to Ctr1 (srvsvc_NetTransportCtr1)",hf_srvsvc_srvsvc_NetTransportCtr_ctr1);
15040 return offset;
15043 static int
15044 srvsvc_dissect_element_NetTransportCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15046 offset = srvsvc_dissect_struct_NetTransportCtr1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetTransportCtr_ctr1,0);
15048 return offset;
15051 static int
15052 srvsvc_dissect_element_NetTransportCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15054 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportCtr_ctr2_, NDR_POINTER_UNIQUE, "Pointer to Ctr2 (srvsvc_NetTransportCtr2)",hf_srvsvc_srvsvc_NetTransportCtr_ctr2);
15056 return offset;
15059 static int
15060 srvsvc_dissect_element_NetTransportCtr_ctr2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15062 offset = srvsvc_dissect_struct_NetTransportCtr2(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetTransportCtr_ctr2,0);
15064 return offset;
15067 static int
15068 srvsvc_dissect_element_NetTransportCtr_ctr3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15070 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportCtr_ctr3_, NDR_POINTER_UNIQUE, "Pointer to Ctr3 (srvsvc_NetTransportCtr3)",hf_srvsvc_srvsvc_NetTransportCtr_ctr3);
15072 return offset;
15075 static int
15076 srvsvc_dissect_element_NetTransportCtr_ctr3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15078 offset = srvsvc_dissect_struct_NetTransportCtr3(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetTransportCtr_ctr3,0);
15080 return offset;
15083 static int
15084 srvsvc_dissect_NetTransportCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
15086 proto_item *item = NULL;
15087 proto_tree *tree = NULL;
15088 int old_offset;
15089 uint32_t level;
15091 old_offset = offset;
15092 if (parent_tree) {
15093 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_srvsvc_srvsvc_NetTransportCtr, &item, "srvsvc_NetTransportCtr");
15096 UNION_ALIGN_TO_5_BYTES;
15097 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
15098 UNION_ALIGN_TO_5_BYTES;
15100 switch(level) {
15101 case 0:
15102 offset = srvsvc_dissect_element_NetTransportCtr_ctr0(tvb, offset, pinfo, tree, di, drep);
15103 break;
15105 case 1:
15106 offset = srvsvc_dissect_element_NetTransportCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
15107 break;
15109 case 2:
15110 offset = srvsvc_dissect_element_NetTransportCtr_ctr2(tvb, offset, pinfo, tree, di, drep);
15111 break;
15113 case 3:
15114 offset = srvsvc_dissect_element_NetTransportCtr_ctr3(tvb, offset, pinfo, tree, di, drep);
15115 break;
15117 default:
15118 break;
15120 proto_item_set_len(item, offset-old_offset);
15123 return offset;
15126 /* IDL: struct { */
15127 /* IDL: uint32 level; */
15128 /* IDL: [switch_is(level)] srvsvc_NetTransportCtr ctr; */
15129 /* IDL: } */
15131 static int
15132 srvsvc_dissect_element_NetTransportInfoCtr_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *level)
15134 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfoCtr_level, *level);
15136 return offset;
15139 static int
15140 srvsvc_dissect_element_NetTransportInfoCtr_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t level)
15142 offset = srvsvc_dissect_NetTransportCtr(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportInfoCtr_ctr, level);
15144 return offset;
15148 srvsvc_dissect_struct_NetTransportInfoCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
15150 uint32_t level = 0;
15151 proto_item *item = NULL;
15152 proto_tree *tree = NULL;
15153 int old_offset;
15155 ALIGN_TO_5_BYTES;
15157 old_offset = offset;
15159 if (parent_tree) {
15160 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15161 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetTransportInfoCtr);
15164 offset = srvsvc_dissect_element_NetTransportInfoCtr_level(tvb, offset, pinfo, tree, di, drep, &level);
15166 offset = srvsvc_dissect_element_NetTransportInfoCtr_ctr(tvb, offset, pinfo, tree, di, drep, level);
15169 proto_item_set_len(item, offset-old_offset);
15172 if (di->call_data->flags & DCERPC_IS_NDR64) {
15173 ALIGN_TO_5_BYTES;
15176 return offset;
15180 /* IDL: struct { */
15181 /* IDL: uint32 elapsed; */
15182 /* IDL: uint32 msecs; */
15183 /* IDL: uint32 hours; */
15184 /* IDL: uint32 mins; */
15185 /* IDL: uint32 secs; */
15186 /* IDL: uint32 hunds; */
15187 /* IDL: int32 timezone; */
15188 /* IDL: uint32 tinterval; */
15189 /* IDL: uint32 day; */
15190 /* IDL: uint32 month; */
15191 /* IDL: uint32 year; */
15192 /* IDL: uint32 weekday; */
15193 /* IDL: } */
15195 static int
15196 srvsvc_dissect_element_NetRemoteTODInfo_elapsed(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15198 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetRemoteTODInfo_elapsed, 0);
15200 return offset;
15203 static int
15204 srvsvc_dissect_element_NetRemoteTODInfo_msecs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15206 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetRemoteTODInfo_msecs, 0);
15208 return offset;
15211 static int
15212 srvsvc_dissect_element_NetRemoteTODInfo_hours(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15214 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetRemoteTODInfo_hours, 0);
15216 return offset;
15219 static int
15220 srvsvc_dissect_element_NetRemoteTODInfo_mins(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15222 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetRemoteTODInfo_mins, 0);
15224 return offset;
15227 static int
15228 srvsvc_dissect_element_NetRemoteTODInfo_secs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15230 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetRemoteTODInfo_secs, 0);
15232 return offset;
15235 static int
15236 srvsvc_dissect_element_NetRemoteTODInfo_hunds(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15238 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetRemoteTODInfo_hunds, 0);
15240 return offset;
15243 static int
15244 srvsvc_dissect_element_NetRemoteTODInfo_timezone(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15246 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetRemoteTODInfo_timezone, 0);
15248 return offset;
15251 static int
15252 srvsvc_dissect_element_NetRemoteTODInfo_tinterval(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15254 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetRemoteTODInfo_tinterval, 0);
15256 return offset;
15259 static int
15260 srvsvc_dissect_element_NetRemoteTODInfo_day(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15262 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetRemoteTODInfo_day, 0);
15264 return offset;
15267 static int
15268 srvsvc_dissect_element_NetRemoteTODInfo_month(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15270 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetRemoteTODInfo_month, 0);
15272 return offset;
15275 static int
15276 srvsvc_dissect_element_NetRemoteTODInfo_year(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15278 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetRemoteTODInfo_year, 0);
15280 return offset;
15283 static int
15284 srvsvc_dissect_element_NetRemoteTODInfo_weekday(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15286 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetRemoteTODInfo_weekday, 0);
15288 return offset;
15292 srvsvc_dissect_struct_NetRemoteTODInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
15294 proto_item *item = NULL;
15295 proto_tree *tree = NULL;
15296 int old_offset;
15298 ALIGN_TO_4_BYTES;
15300 old_offset = offset;
15302 if (parent_tree) {
15303 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
15304 tree = proto_item_add_subtree(item, ett_srvsvc_srvsvc_NetRemoteTODInfo);
15307 offset = srvsvc_dissect_element_NetRemoteTODInfo_elapsed(tvb, offset, pinfo, tree, di, drep);
15309 offset = srvsvc_dissect_element_NetRemoteTODInfo_msecs(tvb, offset, pinfo, tree, di, drep);
15311 offset = srvsvc_dissect_element_NetRemoteTODInfo_hours(tvb, offset, pinfo, tree, di, drep);
15313 offset = srvsvc_dissect_element_NetRemoteTODInfo_mins(tvb, offset, pinfo, tree, di, drep);
15315 offset = srvsvc_dissect_element_NetRemoteTODInfo_secs(tvb, offset, pinfo, tree, di, drep);
15317 offset = srvsvc_dissect_element_NetRemoteTODInfo_hunds(tvb, offset, pinfo, tree, di, drep);
15319 offset = srvsvc_dissect_element_NetRemoteTODInfo_timezone(tvb, offset, pinfo, tree, di, drep);
15321 offset = srvsvc_dissect_element_NetRemoteTODInfo_tinterval(tvb, offset, pinfo, tree, di, drep);
15323 offset = srvsvc_dissect_element_NetRemoteTODInfo_day(tvb, offset, pinfo, tree, di, drep);
15325 offset = srvsvc_dissect_element_NetRemoteTODInfo_month(tvb, offset, pinfo, tree, di, drep);
15327 offset = srvsvc_dissect_element_NetRemoteTODInfo_year(tvb, offset, pinfo, tree, di, drep);
15329 offset = srvsvc_dissect_element_NetRemoteTODInfo_weekday(tvb, offset, pinfo, tree, di, drep);
15332 proto_item_set_len(item, offset-old_offset);
15335 if (di->call_data->flags & DCERPC_IS_NDR64) {
15336 ALIGN_TO_4_BYTES;
15339 return offset;
15343 /* IDL: [switch_type(uint32)] union { */
15344 /* IDL: [case(0)] [case(0)] srvsvc_NetTransportInfo0 info0; */
15345 /* IDL: [case(1)] [case(1)] srvsvc_NetTransportInfo1 info1; */
15346 /* IDL: [case(2)] [case(2)] srvsvc_NetTransportInfo2 info2; */
15347 /* IDL: [case(3)] [case(3)] srvsvc_NetTransportInfo3 info3; */
15348 /* IDL: } */
15350 static int
15351 srvsvc_dissect_element_NetTransportInfo_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15353 offset = srvsvc_dissect_struct_NetTransportInfo0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetTransportInfo_info0,0);
15355 return offset;
15358 static int
15359 srvsvc_dissect_element_NetTransportInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15361 offset = srvsvc_dissect_struct_NetTransportInfo1(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetTransportInfo_info1,0);
15363 return offset;
15366 static int
15367 srvsvc_dissect_element_NetTransportInfo_info2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15369 offset = srvsvc_dissect_struct_NetTransportInfo2(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetTransportInfo_info2,0);
15371 return offset;
15374 static int
15375 srvsvc_dissect_element_NetTransportInfo_info3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15377 offset = srvsvc_dissect_struct_NetTransportInfo3(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetTransportInfo_info3,0);
15379 return offset;
15382 static int
15383 srvsvc_dissect_NetTransportInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
15385 proto_item *item = NULL;
15386 proto_tree *tree = NULL;
15387 int old_offset;
15388 uint32_t level;
15390 old_offset = offset;
15391 if (parent_tree) {
15392 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_srvsvc_srvsvc_NetTransportInfo, &item, "srvsvc_NetTransportInfo");
15395 UNION_ALIGN_TO_5_BYTES;
15396 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
15397 UNION_ALIGN_TO_5_BYTES;
15399 switch(level) {
15400 case 0:
15401 offset = srvsvc_dissect_element_NetTransportInfo_info0(tvb, offset, pinfo, tree, di, drep);
15402 break;
15404 case 1:
15405 offset = srvsvc_dissect_element_NetTransportInfo_info1(tvb, offset, pinfo, tree, di, drep);
15406 break;
15408 case 2:
15409 offset = srvsvc_dissect_element_NetTransportInfo_info2(tvb, offset, pinfo, tree, di, drep);
15410 break;
15412 case 3:
15413 offset = srvsvc_dissect_element_NetTransportInfo_info3(tvb, offset, pinfo, tree, di, drep);
15414 break;
15416 proto_item_set_len(item, offset-old_offset);
15419 return offset;
15421 static int
15422 srvsvc_dissect_element_NetCharDevEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15424 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevEnum_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetCharDevEnum_server_unc);
15426 return offset;
15429 static int
15430 srvsvc_dissect_element_NetCharDevEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15432 char *data = NULL;
15433 struct ndr_generic_array nga = { .is_conformant = false, };
15435 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15437 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15438 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevEnum_server_unc, false, &nga, &data);
15439 proto_item_append_text(tree, ": %s", data);
15441 return offset;
15444 static int
15445 srvsvc_dissect_element_NetCharDevEnum_info_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15447 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevEnum_info_ctr_, NDR_POINTER_REF, "Pointer to Info Ctr (srvsvc_NetCharDevInfoCtr)",hf_srvsvc_srvsvc_NetCharDevEnum_info_ctr);
15449 return offset;
15452 static int
15453 srvsvc_dissect_element_NetCharDevEnum_info_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15455 offset = srvsvc_dissect_struct_NetCharDevInfoCtr(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetCharDevEnum_info_ctr,0);
15457 return offset;
15460 static int
15461 srvsvc_dissect_element_NetCharDevEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15463 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevEnum_max_buffer, 0);
15465 return offset;
15468 static int
15469 srvsvc_dissect_element_NetCharDevEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15471 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevEnum_totalentries_, NDR_POINTER_REF, "Pointer to Totalentries (uint32)",hf_srvsvc_srvsvc_NetCharDevEnum_totalentries);
15473 return offset;
15476 static int
15477 srvsvc_dissect_element_NetCharDevEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15479 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevEnum_totalentries, 0);
15481 return offset;
15484 static int
15485 srvsvc_dissect_element_NetCharDevEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15487 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevEnum_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_srvsvc_srvsvc_NetCharDevEnum_resume_handle);
15489 return offset;
15492 static int
15493 srvsvc_dissect_element_NetCharDevEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15495 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevEnum_resume_handle, 0);
15497 return offset;
15500 /* IDL: WERROR srvsvc_NetCharDevEnum( */
15501 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
15502 /* IDL: [in] [out] [ref] srvsvc_NetCharDevInfoCtr *info_ctr, */
15503 /* IDL: [in] uint32 max_buffer, */
15504 /* IDL: [out] [ref] uint32 *totalentries, */
15505 /* IDL: [in] [out] [unique(1)] uint32 *resume_handle */
15506 /* IDL: ); */
15508 static int
15509 srvsvc_dissect_NetCharDevEnum_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15511 uint32_t status;
15513 di->dcerpc_procedure_name="NetCharDevEnum";
15514 offset = srvsvc_dissect_element_NetCharDevEnum_info_ctr(tvb, offset, pinfo, tree, di, drep);
15515 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15517 offset = srvsvc_dissect_element_NetCharDevEnum_totalentries(tvb, offset, pinfo, tree, di, drep);
15518 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15520 offset = srvsvc_dissect_element_NetCharDevEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
15521 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15523 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
15525 if (status != 0)
15526 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
15528 return offset;
15531 static int
15532 srvsvc_dissect_NetCharDevEnum_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15534 di->dcerpc_procedure_name="NetCharDevEnum";
15535 offset = srvsvc_dissect_element_NetCharDevEnum_server_unc(tvb, offset, pinfo, tree, di, drep);
15536 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15537 offset = srvsvc_dissect_element_NetCharDevEnum_info_ctr(tvb, offset, pinfo, tree, di, drep);
15538 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15539 offset = srvsvc_dissect_element_NetCharDevEnum_max_buffer(tvb, offset, pinfo, tree, di, drep);
15540 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15541 offset = srvsvc_dissect_element_NetCharDevEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
15542 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15543 return offset;
15546 static int
15547 srvsvc_dissect_element_NetCharDevGetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15549 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevGetInfo_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetCharDevGetInfo_server_unc);
15551 return offset;
15554 static int
15555 srvsvc_dissect_element_NetCharDevGetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15557 char *data = NULL;
15558 struct ndr_generic_array nga = { .is_conformant = false, };
15560 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15562 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15563 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevGetInfo_server_unc, false, &nga, &data);
15564 proto_item_append_text(tree, ": %s", data);
15566 return offset;
15569 static int
15570 srvsvc_dissect_element_NetCharDevGetInfo_device_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15572 char *data = NULL;
15573 struct ndr_generic_array nga = { .is_conformant = false, };
15575 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15577 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15578 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevGetInfo_device_name, false, &nga, &data);
15579 proto_item_append_text(tree, ": %s", data);
15581 return offset;
15584 static int
15585 srvsvc_dissect_element_NetCharDevGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15587 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevGetInfo_level, 0);
15589 return offset;
15592 static int
15593 srvsvc_dissect_element_NetCharDevGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15595 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevGetInfo_info_, NDR_POINTER_REF, "Pointer to Info (srvsvc_NetCharDevInfo)",hf_srvsvc_srvsvc_NetCharDevGetInfo_info);
15597 return offset;
15600 static int
15601 srvsvc_dissect_element_NetCharDevGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15603 offset = srvsvc_dissect_NetCharDevInfo(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevGetInfo_info, 0);
15605 return offset;
15608 /* IDL: WERROR srvsvc_NetCharDevGetInfo( */
15609 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
15610 /* IDL: [charset(UTF16)] [in] uint16 device_name[*], */
15611 /* IDL: [in] uint32 level, */
15612 /* IDL: [out] [ref] [switch_is(level)] srvsvc_NetCharDevInfo *info */
15613 /* IDL: ); */
15615 static int
15616 srvsvc_dissect_NetCharDevGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15618 uint32_t status;
15620 di->dcerpc_procedure_name="NetCharDevGetInfo";
15621 offset = srvsvc_dissect_element_NetCharDevGetInfo_info(tvb, offset, pinfo, tree, di, drep);
15622 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15624 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
15626 if (status != 0)
15627 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
15629 return offset;
15632 static int
15633 srvsvc_dissect_NetCharDevGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15635 di->dcerpc_procedure_name="NetCharDevGetInfo";
15636 offset = srvsvc_dissect_element_NetCharDevGetInfo_server_unc(tvb, offset, pinfo, tree, di, drep);
15637 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15638 offset = srvsvc_dissect_element_NetCharDevGetInfo_device_name(tvb, offset, pinfo, tree, di, drep);
15639 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15640 offset = srvsvc_dissect_element_NetCharDevGetInfo_level(tvb, offset, pinfo, tree, di, drep);
15641 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15642 return offset;
15645 static int
15646 srvsvc_dissect_element_NetCharDevControl_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15648 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevControl_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetCharDevControl_server_unc);
15650 return offset;
15653 static int
15654 srvsvc_dissect_element_NetCharDevControl_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15656 char *data = NULL;
15657 struct ndr_generic_array nga = { .is_conformant = false, };
15659 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15661 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15662 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevControl_server_unc, false, &nga, &data);
15663 proto_item_append_text(tree, ": %s", data);
15665 return offset;
15668 static int
15669 srvsvc_dissect_element_NetCharDevControl_device_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15671 char *data = NULL;
15672 struct ndr_generic_array nga = { .is_conformant = false, };
15674 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15676 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15677 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevControl_device_name, false, &nga, &data);
15678 proto_item_append_text(tree, ": %s", data);
15680 return offset;
15683 static int
15684 srvsvc_dissect_element_NetCharDevControl_opcode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15686 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevControl_opcode, 0);
15688 return offset;
15691 /* IDL: WERROR srvsvc_NetCharDevControl( */
15692 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
15693 /* IDL: [charset(UTF16)] [in] uint16 device_name[*], */
15694 /* IDL: [in] uint32 opcode */
15695 /* IDL: ); */
15697 static int
15698 srvsvc_dissect_NetCharDevControl_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15700 uint32_t status;
15702 di->dcerpc_procedure_name="NetCharDevControl";
15703 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
15705 if (status != 0)
15706 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
15708 return offset;
15711 static int
15712 srvsvc_dissect_NetCharDevControl_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15714 di->dcerpc_procedure_name="NetCharDevControl";
15715 offset = srvsvc_dissect_element_NetCharDevControl_server_unc(tvb, offset, pinfo, tree, di, drep);
15716 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15717 offset = srvsvc_dissect_element_NetCharDevControl_device_name(tvb, offset, pinfo, tree, di, drep);
15718 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15719 offset = srvsvc_dissect_element_NetCharDevControl_opcode(tvb, offset, pinfo, tree, di, drep);
15720 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15721 return offset;
15724 static int
15725 srvsvc_dissect_element_NetCharDevQEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15727 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQEnum_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetCharDevQEnum_server_unc);
15729 return offset;
15732 static int
15733 srvsvc_dissect_element_NetCharDevQEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15735 char *data = NULL;
15736 struct ndr_generic_array nga = { .is_conformant = false, };
15738 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15740 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15741 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQEnum_server_unc, false, &nga, &data);
15742 proto_item_append_text(tree, ": %s", data);
15744 return offset;
15747 static int
15748 srvsvc_dissect_element_NetCharDevQEnum_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15750 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQEnum_user_, NDR_POINTER_UNIQUE, "Pointer to User (uint16)",hf_srvsvc_srvsvc_NetCharDevQEnum_user);
15752 return offset;
15755 static int
15756 srvsvc_dissect_element_NetCharDevQEnum_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15758 char *data = NULL;
15759 struct ndr_generic_array nga = { .is_conformant = false, };
15761 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15763 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15764 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQEnum_user, false, &nga, &data);
15765 proto_item_append_text(tree, ": %s", data);
15767 return offset;
15770 static int
15771 srvsvc_dissect_element_NetCharDevQEnum_info_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15773 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQEnum_info_ctr_, NDR_POINTER_REF, "Pointer to Info Ctr (srvsvc_NetCharDevQInfoCtr)",hf_srvsvc_srvsvc_NetCharDevQEnum_info_ctr);
15775 return offset;
15778 static int
15779 srvsvc_dissect_element_NetCharDevQEnum_info_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15781 offset = srvsvc_dissect_struct_NetCharDevQInfoCtr(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetCharDevQEnum_info_ctr,0);
15783 return offset;
15786 static int
15787 srvsvc_dissect_element_NetCharDevQEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15789 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQEnum_max_buffer, 0);
15791 return offset;
15794 static int
15795 srvsvc_dissect_element_NetCharDevQEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15797 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQEnum_totalentries_, NDR_POINTER_REF, "Pointer to Totalentries (uint32)",hf_srvsvc_srvsvc_NetCharDevQEnum_totalentries);
15799 return offset;
15802 static int
15803 srvsvc_dissect_element_NetCharDevQEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15805 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQEnum_totalentries, 0);
15807 return offset;
15810 static int
15811 srvsvc_dissect_element_NetCharDevQEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15813 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQEnum_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_srvsvc_srvsvc_NetCharDevQEnum_resume_handle);
15815 return offset;
15818 static int
15819 srvsvc_dissect_element_NetCharDevQEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15821 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQEnum_resume_handle, 0);
15823 return offset;
15826 /* IDL: WERROR srvsvc_NetCharDevQEnum( */
15827 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
15828 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *user, */
15829 /* IDL: [in] [out] [ref] srvsvc_NetCharDevQInfoCtr *info_ctr, */
15830 /* IDL: [in] uint32 max_buffer, */
15831 /* IDL: [out] [ref] uint32 *totalentries, */
15832 /* IDL: [in] [out] [unique(1)] uint32 *resume_handle */
15833 /* IDL: ); */
15835 static int
15836 srvsvc_dissect_NetCharDevQEnum_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15838 uint32_t status;
15840 di->dcerpc_procedure_name="NetCharDevQEnum";
15841 offset = srvsvc_dissect_element_NetCharDevQEnum_info_ctr(tvb, offset, pinfo, tree, di, drep);
15842 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15844 offset = srvsvc_dissect_element_NetCharDevQEnum_totalentries(tvb, offset, pinfo, tree, di, drep);
15845 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15847 offset = srvsvc_dissect_element_NetCharDevQEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
15848 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15850 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
15852 if (status != 0)
15853 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
15855 return offset;
15858 static int
15859 srvsvc_dissect_NetCharDevQEnum_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15861 di->dcerpc_procedure_name="NetCharDevQEnum";
15862 offset = srvsvc_dissect_element_NetCharDevQEnum_server_unc(tvb, offset, pinfo, tree, di, drep);
15863 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15864 offset = srvsvc_dissect_element_NetCharDevQEnum_user(tvb, offset, pinfo, tree, di, drep);
15865 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15866 offset = srvsvc_dissect_element_NetCharDevQEnum_info_ctr(tvb, offset, pinfo, tree, di, drep);
15867 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15868 offset = srvsvc_dissect_element_NetCharDevQEnum_max_buffer(tvb, offset, pinfo, tree, di, drep);
15869 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15870 offset = srvsvc_dissect_element_NetCharDevQEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
15871 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15872 return offset;
15875 static int
15876 srvsvc_dissect_element_NetCharDevQGetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15878 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQGetInfo_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetCharDevQGetInfo_server_unc);
15880 return offset;
15883 static int
15884 srvsvc_dissect_element_NetCharDevQGetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15886 char *data = NULL;
15887 struct ndr_generic_array nga = { .is_conformant = false, };
15889 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15891 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15892 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQGetInfo_server_unc, false, &nga, &data);
15893 proto_item_append_text(tree, ": %s", data);
15895 return offset;
15898 static int
15899 srvsvc_dissect_element_NetCharDevQGetInfo_queue_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15901 char *data = NULL;
15902 struct ndr_generic_array nga = { .is_conformant = false, };
15904 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15906 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15907 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQGetInfo_queue_name, false, &nga, &data);
15908 proto_item_append_text(tree, ": %s", data);
15910 return offset;
15913 static int
15914 srvsvc_dissect_element_NetCharDevQGetInfo_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15916 char *data = NULL;
15917 struct ndr_generic_array nga = { .is_conformant = false, };
15919 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15921 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
15922 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQGetInfo_user, false, &nga, &data);
15923 proto_item_append_text(tree, ": %s", data);
15925 return offset;
15928 static int
15929 srvsvc_dissect_element_NetCharDevQGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15931 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQGetInfo_level, 0);
15933 return offset;
15936 static int
15937 srvsvc_dissect_element_NetCharDevQGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15939 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQGetInfo_info_, NDR_POINTER_REF, "Pointer to Info (srvsvc_NetCharDevQInfo)",hf_srvsvc_srvsvc_NetCharDevQGetInfo_info);
15941 return offset;
15944 static int
15945 srvsvc_dissect_element_NetCharDevQGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15947 offset = srvsvc_dissect_NetCharDevQInfo(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQGetInfo_info, 0);
15949 return offset;
15952 /* IDL: WERROR srvsvc_NetCharDevQGetInfo( */
15953 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
15954 /* IDL: [charset(UTF16)] [in] uint16 queue_name[*], */
15955 /* IDL: [charset(UTF16)] [in] uint16 user[*], */
15956 /* IDL: [in] uint32 level, */
15957 /* IDL: [out] [ref] [switch_is(level)] srvsvc_NetCharDevQInfo *info */
15958 /* IDL: ); */
15960 static int
15961 srvsvc_dissect_NetCharDevQGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15963 uint32_t status;
15965 di->dcerpc_procedure_name="NetCharDevQGetInfo";
15966 offset = srvsvc_dissect_element_NetCharDevQGetInfo_info(tvb, offset, pinfo, tree, di, drep);
15967 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15969 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
15971 if (status != 0)
15972 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
15974 return offset;
15977 static int
15978 srvsvc_dissect_NetCharDevQGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15980 di->dcerpc_procedure_name="NetCharDevQGetInfo";
15981 offset = srvsvc_dissect_element_NetCharDevQGetInfo_server_unc(tvb, offset, pinfo, tree, di, drep);
15982 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15983 offset = srvsvc_dissect_element_NetCharDevQGetInfo_queue_name(tvb, offset, pinfo, tree, di, drep);
15984 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15985 offset = srvsvc_dissect_element_NetCharDevQGetInfo_user(tvb, offset, pinfo, tree, di, drep);
15986 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15987 offset = srvsvc_dissect_element_NetCharDevQGetInfo_level(tvb, offset, pinfo, tree, di, drep);
15988 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
15989 return offset;
15992 static int
15993 srvsvc_dissect_element_NetCharDevQSetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
15995 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQSetInfo_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetCharDevQSetInfo_server_unc);
15997 return offset;
16000 static int
16001 srvsvc_dissect_element_NetCharDevQSetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16003 char *data = NULL;
16004 struct ndr_generic_array nga = { .is_conformant = false, };
16006 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16008 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16009 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQSetInfo_server_unc, false, &nga, &data);
16010 proto_item_append_text(tree, ": %s", data);
16012 return offset;
16015 static int
16016 srvsvc_dissect_element_NetCharDevQSetInfo_queue_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16018 char *data = NULL;
16019 struct ndr_generic_array nga = { .is_conformant = false, };
16021 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16023 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16024 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQSetInfo_queue_name, false, &nga, &data);
16025 proto_item_append_text(tree, ": %s", data);
16027 return offset;
16030 static int
16031 srvsvc_dissect_element_NetCharDevQSetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16033 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQSetInfo_level, 0);
16035 return offset;
16038 static int
16039 srvsvc_dissect_element_NetCharDevQSetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16041 offset = srvsvc_dissect_NetCharDevQInfo(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQSetInfo_info, 0);
16043 return offset;
16046 static int
16047 srvsvc_dissect_element_NetCharDevQSetInfo_parm_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16049 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQSetInfo_parm_error_, NDR_POINTER_UNIQUE, "Pointer to Parm Error (uint32)",hf_srvsvc_srvsvc_NetCharDevQSetInfo_parm_error);
16051 return offset;
16054 static int
16055 srvsvc_dissect_element_NetCharDevQSetInfo_parm_error_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16057 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetCharDevQSetInfo_parm_error, 0);
16059 return offset;
16062 /* IDL: WERROR srvsvc_NetCharDevQSetInfo( */
16063 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
16064 /* IDL: [charset(UTF16)] [in] uint16 queue_name[*], */
16065 /* IDL: [in] uint32 level, */
16066 /* IDL: [in] [switch_is(level)] srvsvc_NetCharDevQInfo info, */
16067 /* IDL: [in] [out] [unique(1)] uint32 *parm_error */
16068 /* IDL: ); */
16070 static int
16071 srvsvc_dissect_NetCharDevQSetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16073 uint32_t status;
16075 di->dcerpc_procedure_name="NetCharDevQSetInfo";
16076 offset = srvsvc_dissect_element_NetCharDevQSetInfo_parm_error(tvb, offset, pinfo, tree, di, drep);
16077 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16079 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
16081 if (status != 0)
16082 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
16084 return offset;
16087 static int
16088 srvsvc_dissect_NetCharDevQSetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16090 di->dcerpc_procedure_name="NetCharDevQSetInfo";
16091 offset = srvsvc_dissect_element_NetCharDevQSetInfo_server_unc(tvb, offset, pinfo, tree, di, drep);
16092 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16093 offset = srvsvc_dissect_element_NetCharDevQSetInfo_queue_name(tvb, offset, pinfo, tree, di, drep);
16094 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16095 offset = srvsvc_dissect_element_NetCharDevQSetInfo_level(tvb, offset, pinfo, tree, di, drep);
16096 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16097 offset = srvsvc_dissect_element_NetCharDevQSetInfo_info(tvb, offset, pinfo, tree, di, drep);
16098 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16099 offset = srvsvc_dissect_element_NetCharDevQSetInfo_parm_error(tvb, offset, pinfo, tree, di, drep);
16100 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16101 return offset;
16104 static int
16105 srvsvc_dissect_element_NetCharDevQPurge_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16107 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQPurge_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetCharDevQPurge_server_unc);
16109 return offset;
16112 static int
16113 srvsvc_dissect_element_NetCharDevQPurge_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16115 char *data = NULL;
16116 struct ndr_generic_array nga = { .is_conformant = false, };
16118 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16120 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16121 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQPurge_server_unc, false, &nga, &data);
16122 proto_item_append_text(tree, ": %s", data);
16124 return offset;
16127 static int
16128 srvsvc_dissect_element_NetCharDevQPurge_queue_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16130 char *data = NULL;
16131 struct ndr_generic_array nga = { .is_conformant = false, };
16133 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16135 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16136 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQPurge_queue_name, false, &nga, &data);
16137 proto_item_append_text(tree, ": %s", data);
16139 return offset;
16142 /* IDL: WERROR srvsvc_NetCharDevQPurge( */
16143 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
16144 /* IDL: [charset(UTF16)] [in] uint16 queue_name[*] */
16145 /* IDL: ); */
16147 static int
16148 srvsvc_dissect_NetCharDevQPurge_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16150 uint32_t status;
16152 di->dcerpc_procedure_name="NetCharDevQPurge";
16153 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
16155 if (status != 0)
16156 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
16158 return offset;
16161 static int
16162 srvsvc_dissect_NetCharDevQPurge_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16164 di->dcerpc_procedure_name="NetCharDevQPurge";
16165 offset = srvsvc_dissect_element_NetCharDevQPurge_server_unc(tvb, offset, pinfo, tree, di, drep);
16166 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16167 offset = srvsvc_dissect_element_NetCharDevQPurge_queue_name(tvb, offset, pinfo, tree, di, drep);
16168 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16169 return offset;
16172 static int
16173 srvsvc_dissect_element_NetCharDevQPurgeSelf_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16175 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetCharDevQPurgeSelf_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetCharDevQPurgeSelf_server_unc);
16177 return offset;
16180 static int
16181 srvsvc_dissect_element_NetCharDevQPurgeSelf_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16183 char *data = NULL;
16184 struct ndr_generic_array nga = { .is_conformant = false, };
16186 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16188 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16189 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQPurgeSelf_server_unc, false, &nga, &data);
16190 proto_item_append_text(tree, ": %s", data);
16192 return offset;
16195 static int
16196 srvsvc_dissect_element_NetCharDevQPurgeSelf_queue_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16198 char *data = NULL;
16199 struct ndr_generic_array nga = { .is_conformant = false, };
16201 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16203 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16204 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQPurgeSelf_queue_name, false, &nga, &data);
16205 proto_item_append_text(tree, ": %s", data);
16207 return offset;
16210 static int
16211 srvsvc_dissect_element_NetCharDevQPurgeSelf_computer_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16213 char *data = NULL;
16214 struct ndr_generic_array nga = { .is_conformant = false, };
16216 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16218 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16219 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetCharDevQPurgeSelf_computer_name, false, &nga, &data);
16220 proto_item_append_text(tree, ": %s", data);
16222 return offset;
16225 /* IDL: WERROR srvsvc_NetCharDevQPurgeSelf( */
16226 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
16227 /* IDL: [charset(UTF16)] [in] uint16 queue_name[*], */
16228 /* IDL: [charset(UTF16)] [in] uint16 computer_name[*] */
16229 /* IDL: ); */
16231 static int
16232 srvsvc_dissect_NetCharDevQPurgeSelf_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16234 uint32_t status;
16236 di->dcerpc_procedure_name="NetCharDevQPurgeSelf";
16237 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
16239 if (status != 0)
16240 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
16242 return offset;
16245 static int
16246 srvsvc_dissect_NetCharDevQPurgeSelf_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16248 di->dcerpc_procedure_name="NetCharDevQPurgeSelf";
16249 offset = srvsvc_dissect_element_NetCharDevQPurgeSelf_server_unc(tvb, offset, pinfo, tree, di, drep);
16250 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16251 offset = srvsvc_dissect_element_NetCharDevQPurgeSelf_queue_name(tvb, offset, pinfo, tree, di, drep);
16252 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16253 offset = srvsvc_dissect_element_NetCharDevQPurgeSelf_computer_name(tvb, offset, pinfo, tree, di, drep);
16254 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16255 return offset;
16258 static int
16259 srvsvc_dissect_element_NetConnEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16261 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetConnEnum_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetConnEnum_server_unc);
16263 return offset;
16266 static int
16267 srvsvc_dissect_element_NetConnEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16269 char *data = NULL;
16270 struct ndr_generic_array nga = { .is_conformant = false, };
16272 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16274 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16275 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetConnEnum_server_unc, false, &nga, &data);
16276 proto_item_append_text(tree, ": %s", data);
16278 return offset;
16281 static int
16282 srvsvc_dissect_element_NetConnEnum_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16284 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetConnEnum_path_, NDR_POINTER_UNIQUE, "Pointer to Path (uint16)",hf_srvsvc_srvsvc_NetConnEnum_path);
16286 return offset;
16289 static int
16290 srvsvc_dissect_element_NetConnEnum_path_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16292 char *data = NULL;
16293 struct ndr_generic_array nga = { .is_conformant = false, };
16295 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16297 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16298 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetConnEnum_path, false, &nga, &data);
16299 proto_item_append_text(tree, ": %s", data);
16301 return offset;
16304 static int
16305 srvsvc_dissect_element_NetConnEnum_info_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16307 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetConnEnum_info_ctr_, NDR_POINTER_REF, "Pointer to Info Ctr (srvsvc_NetConnInfoCtr)",hf_srvsvc_srvsvc_NetConnEnum_info_ctr);
16309 return offset;
16312 static int
16313 srvsvc_dissect_element_NetConnEnum_info_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16315 offset = srvsvc_dissect_struct_NetConnInfoCtr(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetConnEnum_info_ctr,0);
16317 return offset;
16320 static int
16321 srvsvc_dissect_element_NetConnEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16323 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetConnEnum_max_buffer, 0);
16325 return offset;
16328 static int
16329 srvsvc_dissect_element_NetConnEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16331 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetConnEnum_totalentries_, NDR_POINTER_REF, "Pointer to Totalentries (uint32)",hf_srvsvc_srvsvc_NetConnEnum_totalentries);
16333 return offset;
16336 static int
16337 srvsvc_dissect_element_NetConnEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16339 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetConnEnum_totalentries, 0);
16341 return offset;
16344 static int
16345 srvsvc_dissect_element_NetConnEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16347 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetConnEnum_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_srvsvc_srvsvc_NetConnEnum_resume_handle);
16349 return offset;
16352 static int
16353 srvsvc_dissect_element_NetConnEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16355 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetConnEnum_resume_handle, 0);
16357 return offset;
16360 /* IDL: WERROR srvsvc_NetConnEnum( */
16361 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
16362 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *path, */
16363 /* IDL: [in] [out] [ref] srvsvc_NetConnInfoCtr *info_ctr, */
16364 /* IDL: [in] uint32 max_buffer, */
16365 /* IDL: [out] [ref] uint32 *totalentries, */
16366 /* IDL: [in] [out] [unique(1)] uint32 *resume_handle */
16367 /* IDL: ); */
16369 static int
16370 srvsvc_dissect_NetConnEnum_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16372 uint32_t status;
16374 di->dcerpc_procedure_name="NetConnEnum";
16375 offset = srvsvc_dissect_element_NetConnEnum_info_ctr(tvb, offset, pinfo, tree, di, drep);
16376 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16378 offset = srvsvc_dissect_element_NetConnEnum_totalentries(tvb, offset, pinfo, tree, di, drep);
16379 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16381 offset = srvsvc_dissect_element_NetConnEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
16382 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16384 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
16386 if (status != 0)
16387 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
16389 return offset;
16392 static int
16393 srvsvc_dissect_NetConnEnum_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16395 di->dcerpc_procedure_name="NetConnEnum";
16396 offset = srvsvc_dissect_element_NetConnEnum_server_unc(tvb, offset, pinfo, tree, di, drep);
16397 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16398 offset = srvsvc_dissect_element_NetConnEnum_path(tvb, offset, pinfo, tree, di, drep);
16399 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16400 offset = srvsvc_dissect_element_NetConnEnum_info_ctr(tvb, offset, pinfo, tree, di, drep);
16401 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16402 offset = srvsvc_dissect_element_NetConnEnum_max_buffer(tvb, offset, pinfo, tree, di, drep);
16403 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16404 offset = srvsvc_dissect_element_NetConnEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
16405 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16406 return offset;
16409 static int
16410 srvsvc_dissect_element_NetFileEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16412 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileEnum_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetFileEnum_server_unc);
16414 return offset;
16417 static int
16418 srvsvc_dissect_element_NetFileEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16420 char *data = NULL;
16421 struct ndr_generic_array nga = { .is_conformant = false, };
16423 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16425 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16426 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetFileEnum_server_unc, false, &nga, &data);
16427 proto_item_append_text(tree, ": %s", data);
16429 return offset;
16432 static int
16433 srvsvc_dissect_element_NetFileEnum_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16435 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileEnum_path_, NDR_POINTER_UNIQUE, "Pointer to Path (uint16)",hf_srvsvc_srvsvc_NetFileEnum_path);
16437 return offset;
16440 static int
16441 srvsvc_dissect_element_NetFileEnum_path_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16443 char *data = NULL;
16444 struct ndr_generic_array nga = { .is_conformant = false, };
16446 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16448 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16449 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetFileEnum_path, false, &nga, &data);
16450 proto_item_append_text(tree, ": %s", data);
16452 return offset;
16455 static int
16456 srvsvc_dissect_element_NetFileEnum_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16458 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileEnum_user_, NDR_POINTER_UNIQUE, "Pointer to User (uint16)",hf_srvsvc_srvsvc_NetFileEnum_user);
16460 return offset;
16463 static int
16464 srvsvc_dissect_element_NetFileEnum_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16466 char *data = NULL;
16467 struct ndr_generic_array nga = { .is_conformant = false, };
16469 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16471 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16472 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetFileEnum_user, false, &nga, &data);
16473 proto_item_append_text(tree, ": %s", data);
16475 return offset;
16478 static int
16479 srvsvc_dissect_element_NetFileEnum_info_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16481 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileEnum_info_ctr_, NDR_POINTER_REF, "Pointer to Info Ctr (srvsvc_NetFileInfoCtr)",hf_srvsvc_srvsvc_NetFileEnum_info_ctr);
16483 return offset;
16486 static int
16487 srvsvc_dissect_element_NetFileEnum_info_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16489 offset = srvsvc_dissect_struct_NetFileInfoCtr(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetFileEnum_info_ctr,0);
16491 return offset;
16494 static int
16495 srvsvc_dissect_element_NetFileEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16497 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileEnum_max_buffer, 0);
16499 return offset;
16502 static int
16503 srvsvc_dissect_element_NetFileEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16505 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileEnum_totalentries_, NDR_POINTER_REF, "Pointer to Totalentries (uint32)",hf_srvsvc_srvsvc_NetFileEnum_totalentries);
16507 return offset;
16510 static int
16511 srvsvc_dissect_element_NetFileEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16513 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileEnum_totalentries, 0);
16515 return offset;
16518 static int
16519 srvsvc_dissect_element_NetFileEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16521 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileEnum_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_srvsvc_srvsvc_NetFileEnum_resume_handle);
16523 return offset;
16526 static int
16527 srvsvc_dissect_element_NetFileEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16529 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileEnum_resume_handle, 0);
16531 return offset;
16534 /* IDL: WERROR srvsvc_NetFileEnum( */
16535 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
16536 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *path, */
16537 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *user, */
16538 /* IDL: [in] [out] [ref] srvsvc_NetFileInfoCtr *info_ctr, */
16539 /* IDL: [in] uint32 max_buffer, */
16540 /* IDL: [out] [ref] uint32 *totalentries, */
16541 /* IDL: [in] [out] [unique(1)] uint32 *resume_handle */
16542 /* IDL: ); */
16544 static int
16545 srvsvc_dissect_NetFileEnum_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16547 uint32_t status;
16549 di->dcerpc_procedure_name="NetFileEnum";
16550 offset = srvsvc_dissect_element_NetFileEnum_info_ctr(tvb, offset, pinfo, tree, di, drep);
16551 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16553 offset = srvsvc_dissect_element_NetFileEnum_totalentries(tvb, offset, pinfo, tree, di, drep);
16554 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16556 offset = srvsvc_dissect_element_NetFileEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
16557 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16559 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
16561 if (status != 0)
16562 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
16564 return offset;
16567 static int
16568 srvsvc_dissect_NetFileEnum_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16570 di->dcerpc_procedure_name="NetFileEnum";
16571 offset = srvsvc_dissect_element_NetFileEnum_server_unc(tvb, offset, pinfo, tree, di, drep);
16572 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16573 offset = srvsvc_dissect_element_NetFileEnum_path(tvb, offset, pinfo, tree, di, drep);
16574 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16575 offset = srvsvc_dissect_element_NetFileEnum_user(tvb, offset, pinfo, tree, di, drep);
16576 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16577 offset = srvsvc_dissect_element_NetFileEnum_info_ctr(tvb, offset, pinfo, tree, di, drep);
16578 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16579 offset = srvsvc_dissect_element_NetFileEnum_max_buffer(tvb, offset, pinfo, tree, di, drep);
16580 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16581 offset = srvsvc_dissect_element_NetFileEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
16582 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16583 return offset;
16586 static int
16587 srvsvc_dissect_element_NetFileGetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16589 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileGetInfo_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetFileGetInfo_server_unc);
16591 return offset;
16594 static int
16595 srvsvc_dissect_element_NetFileGetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16597 char *data = NULL;
16598 struct ndr_generic_array nga = { .is_conformant = false, };
16600 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16602 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16603 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetFileGetInfo_server_unc, false, &nga, &data);
16604 proto_item_append_text(tree, ": %s", data);
16606 return offset;
16609 static int
16610 srvsvc_dissect_element_NetFileGetInfo_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16612 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileGetInfo_fid, 0);
16614 return offset;
16617 static int
16618 srvsvc_dissect_element_NetFileGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16620 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileGetInfo_level, 0);
16622 return offset;
16625 static int
16626 srvsvc_dissect_element_NetFileGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16628 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileGetInfo_info_, NDR_POINTER_REF, "Pointer to Info (srvsvc_NetFileInfo)",hf_srvsvc_srvsvc_NetFileGetInfo_info);
16630 return offset;
16633 static int
16634 srvsvc_dissect_element_NetFileGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16636 offset = srvsvc_dissect_NetFileInfo(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileGetInfo_info, 0);
16638 return offset;
16641 /* IDL: WERROR srvsvc_NetFileGetInfo( */
16642 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
16643 /* IDL: [in] uint32 fid, */
16644 /* IDL: [in] uint32 level, */
16645 /* IDL: [out] [ref] [switch_is(level)] srvsvc_NetFileInfo *info */
16646 /* IDL: ); */
16648 static int
16649 srvsvc_dissect_NetFileGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16651 uint32_t status;
16653 di->dcerpc_procedure_name="NetFileGetInfo";
16654 offset = srvsvc_dissect_element_NetFileGetInfo_info(tvb, offset, pinfo, tree, di, drep);
16655 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16657 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
16659 if (status != 0)
16660 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
16662 return offset;
16665 static int
16666 srvsvc_dissect_NetFileGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16668 di->dcerpc_procedure_name="NetFileGetInfo";
16669 offset = srvsvc_dissect_element_NetFileGetInfo_server_unc(tvb, offset, pinfo, tree, di, drep);
16670 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16671 offset = srvsvc_dissect_element_NetFileGetInfo_fid(tvb, offset, pinfo, tree, di, drep);
16672 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16673 offset = srvsvc_dissect_element_NetFileGetInfo_level(tvb, offset, pinfo, tree, di, drep);
16674 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16675 return offset;
16678 static int
16679 srvsvc_dissect_element_NetFileClose_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16681 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetFileClose_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetFileClose_server_unc);
16683 return offset;
16686 static int
16687 srvsvc_dissect_element_NetFileClose_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16689 char *data = NULL;
16690 struct ndr_generic_array nga = { .is_conformant = false, };
16692 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16694 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16695 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetFileClose_server_unc, false, &nga, &data);
16696 proto_item_append_text(tree, ": %s", data);
16698 return offset;
16701 static int
16702 srvsvc_dissect_element_NetFileClose_fid(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16704 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetFileClose_fid, 0);
16706 return offset;
16709 /* IDL: WERROR srvsvc_NetFileClose( */
16710 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
16711 /* IDL: [in] uint32 fid */
16712 /* IDL: ); */
16714 static int
16715 srvsvc_dissect_NetFileClose_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16717 uint32_t status;
16719 di->dcerpc_procedure_name="NetFileClose";
16720 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
16722 if (status != 0)
16723 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
16725 return offset;
16728 static int
16729 srvsvc_dissect_NetFileClose_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16731 di->dcerpc_procedure_name="NetFileClose";
16732 offset = srvsvc_dissect_element_NetFileClose_server_unc(tvb, offset, pinfo, tree, di, drep);
16733 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16734 offset = srvsvc_dissect_element_NetFileClose_fid(tvb, offset, pinfo, tree, di, drep);
16735 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16736 return offset;
16739 static int
16740 srvsvc_dissect_element_NetSessEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16742 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessEnum_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetSessEnum_server_unc);
16744 return offset;
16747 static int
16748 srvsvc_dissect_element_NetSessEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16750 char *data = NULL;
16751 struct ndr_generic_array nga = { .is_conformant = false, };
16753 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16755 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16756 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessEnum_server_unc, false, &nga, &data);
16757 proto_item_append_text(tree, ": %s", data);
16759 return offset;
16762 static int
16763 srvsvc_dissect_element_NetSessEnum_client(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16765 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessEnum_client_, NDR_POINTER_UNIQUE, "Pointer to Client (uint16)",hf_srvsvc_srvsvc_NetSessEnum_client);
16767 return offset;
16770 static int
16771 srvsvc_dissect_element_NetSessEnum_client_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16773 char *data = NULL;
16774 struct ndr_generic_array nga = { .is_conformant = false, };
16776 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16778 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16779 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessEnum_client, false, &nga, &data);
16780 proto_item_append_text(tree, ": %s", data);
16782 return offset;
16785 static int
16786 srvsvc_dissect_element_NetSessEnum_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16788 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessEnum_user_, NDR_POINTER_UNIQUE, "Pointer to User (uint16)",hf_srvsvc_srvsvc_NetSessEnum_user);
16790 return offset;
16793 static int
16794 srvsvc_dissect_element_NetSessEnum_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16796 char *data = NULL;
16797 struct ndr_generic_array nga = { .is_conformant = false, };
16799 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16801 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16802 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessEnum_user, false, &nga, &data);
16803 proto_item_append_text(tree, ": %s", data);
16805 return offset;
16808 static int
16809 srvsvc_dissect_element_NetSessEnum_info_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16811 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessEnum_info_ctr_, NDR_POINTER_REF, "Pointer to Info Ctr (srvsvc_NetSessInfoCtr)",hf_srvsvc_srvsvc_NetSessEnum_info_ctr);
16813 return offset;
16816 static int
16817 srvsvc_dissect_element_NetSessEnum_info_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16819 offset = srvsvc_dissect_struct_NetSessInfoCtr(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetSessEnum_info_ctr,0);
16821 return offset;
16824 static int
16825 srvsvc_dissect_element_NetSessEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16827 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessEnum_max_buffer, 0);
16829 return offset;
16832 static int
16833 srvsvc_dissect_element_NetSessEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16835 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessEnum_totalentries_, NDR_POINTER_REF, "Pointer to Totalentries (uint32)",hf_srvsvc_srvsvc_NetSessEnum_totalentries);
16837 return offset;
16840 static int
16841 srvsvc_dissect_element_NetSessEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16843 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessEnum_totalentries, 0);
16845 return offset;
16848 static int
16849 srvsvc_dissect_element_NetSessEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16851 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessEnum_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_srvsvc_srvsvc_NetSessEnum_resume_handle);
16853 return offset;
16856 static int
16857 srvsvc_dissect_element_NetSessEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16859 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSessEnum_resume_handle, 0);
16861 return offset;
16864 /* IDL: WERROR srvsvc_NetSessEnum( */
16865 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
16866 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *client, */
16867 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *user, */
16868 /* IDL: [in] [out] [ref] srvsvc_NetSessInfoCtr *info_ctr, */
16869 /* IDL: [in] uint32 max_buffer, */
16870 /* IDL: [out] [ref] uint32 *totalentries, */
16871 /* IDL: [in] [out] [unique(1)] uint32 *resume_handle */
16872 /* IDL: ); */
16874 static int
16875 srvsvc_dissect_NetSessEnum_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16877 uint32_t status;
16879 di->dcerpc_procedure_name="NetSessEnum";
16880 offset = srvsvc_dissect_element_NetSessEnum_info_ctr(tvb, offset, pinfo, tree, di, drep);
16881 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16883 offset = srvsvc_dissect_element_NetSessEnum_totalentries(tvb, offset, pinfo, tree, di, drep);
16884 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16886 offset = srvsvc_dissect_element_NetSessEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
16887 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16889 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
16891 if (status != 0)
16892 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
16894 return offset;
16897 static int
16898 srvsvc_dissect_NetSessEnum_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16900 di->dcerpc_procedure_name="NetSessEnum";
16901 offset = srvsvc_dissect_element_NetSessEnum_server_unc(tvb, offset, pinfo, tree, di, drep);
16902 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16903 offset = srvsvc_dissect_element_NetSessEnum_client(tvb, offset, pinfo, tree, di, drep);
16904 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16905 offset = srvsvc_dissect_element_NetSessEnum_user(tvb, offset, pinfo, tree, di, drep);
16906 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16907 offset = srvsvc_dissect_element_NetSessEnum_info_ctr(tvb, offset, pinfo, tree, di, drep);
16908 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16909 offset = srvsvc_dissect_element_NetSessEnum_max_buffer(tvb, offset, pinfo, tree, di, drep);
16910 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16911 offset = srvsvc_dissect_element_NetSessEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
16912 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
16913 return offset;
16916 static int
16917 srvsvc_dissect_element_NetSessDel_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16919 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessDel_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetSessDel_server_unc);
16921 return offset;
16924 static int
16925 srvsvc_dissect_element_NetSessDel_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16927 char *data = NULL;
16928 struct ndr_generic_array nga = { .is_conformant = false, };
16930 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16932 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16933 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessDel_server_unc, false, &nga, &data);
16934 proto_item_append_text(tree, ": %s", data);
16936 return offset;
16939 static int
16940 srvsvc_dissect_element_NetSessDel_client(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16942 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessDel_client_, NDR_POINTER_UNIQUE, "Pointer to Client (uint16)",hf_srvsvc_srvsvc_NetSessDel_client);
16944 return offset;
16947 static int
16948 srvsvc_dissect_element_NetSessDel_client_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16950 char *data = NULL;
16951 struct ndr_generic_array nga = { .is_conformant = false, };
16953 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16955 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16956 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessDel_client, false, &nga, &data);
16957 proto_item_append_text(tree, ": %s", data);
16959 return offset;
16962 static int
16963 srvsvc_dissect_element_NetSessDel_user(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16965 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSessDel_user_, NDR_POINTER_UNIQUE, "Pointer to User (uint16)",hf_srvsvc_srvsvc_NetSessDel_user);
16967 return offset;
16970 static int
16971 srvsvc_dissect_element_NetSessDel_user_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16973 char *data = NULL;
16974 struct ndr_generic_array nga = { .is_conformant = false, };
16976 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16978 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
16979 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSessDel_user, false, &nga, &data);
16980 proto_item_append_text(tree, ": %s", data);
16982 return offset;
16985 /* IDL: WERROR srvsvc_NetSessDel( */
16986 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
16987 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *client, */
16988 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *user */
16989 /* IDL: ); */
16991 static int
16992 srvsvc_dissect_NetSessDel_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
16994 uint32_t status;
16996 di->dcerpc_procedure_name="NetSessDel";
16997 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
16999 if (status != 0)
17000 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
17002 return offset;
17005 static int
17006 srvsvc_dissect_NetSessDel_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17008 di->dcerpc_procedure_name="NetSessDel";
17009 offset = srvsvc_dissect_element_NetSessDel_server_unc(tvb, offset, pinfo, tree, di, drep);
17010 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17011 offset = srvsvc_dissect_element_NetSessDel_client(tvb, offset, pinfo, tree, di, drep);
17012 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17013 offset = srvsvc_dissect_element_NetSessDel_user(tvb, offset, pinfo, tree, di, drep);
17014 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17015 return offset;
17018 static int
17019 srvsvc_dissect_element_NetShareAdd_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17021 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareAdd_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetShareAdd_server_unc);
17023 return offset;
17026 static int
17027 srvsvc_dissect_element_NetShareAdd_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17029 char *data = NULL;
17030 struct ndr_generic_array nga = { .is_conformant = false, };
17032 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17034 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17035 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareAdd_server_unc, false, &nga, &data);
17036 proto_item_append_text(tree, ": %s", data);
17038 return offset;
17041 static int
17042 srvsvc_dissect_element_NetShareAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17044 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareAdd_level, 0);
17046 return offset;
17049 static int
17050 srvsvc_dissect_element_NetShareAdd_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17052 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareAdd_info_, NDR_POINTER_REF, "Pointer to Info (srvsvc_NetShareInfo)",hf_srvsvc_srvsvc_NetShareAdd_info);
17054 return offset;
17057 static int
17058 srvsvc_dissect_element_NetShareAdd_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17060 offset = srvsvc_dissect_NetShareInfo(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareAdd_info, 0);
17062 return offset;
17065 static int
17066 srvsvc_dissect_element_NetShareAdd_parm_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17068 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareAdd_parm_error_, NDR_POINTER_UNIQUE, "Pointer to Parm Error (uint32)",hf_srvsvc_srvsvc_NetShareAdd_parm_error);
17070 return offset;
17073 static int
17074 srvsvc_dissect_element_NetShareAdd_parm_error_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17076 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareAdd_parm_error, 0);
17078 return offset;
17081 /* IDL: WERROR srvsvc_NetShareAdd( */
17082 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
17083 /* IDL: [in] uint32 level, */
17084 /* IDL: [in] [ref] [switch_is(level)] srvsvc_NetShareInfo *info, */
17085 /* IDL: [in] [out] [unique(1)] uint32 *parm_error */
17086 /* IDL: ); */
17088 static int
17089 srvsvc_dissect_NetShareAdd_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17091 uint32_t status;
17093 di->dcerpc_procedure_name="NetShareAdd";
17094 offset = srvsvc_dissect_element_NetShareAdd_parm_error(tvb, offset, pinfo, tree, di, drep);
17095 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17097 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
17099 if (status != 0)
17100 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
17102 return offset;
17105 static int
17106 srvsvc_dissect_NetShareAdd_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17108 di->dcerpc_procedure_name="NetShareAdd";
17109 offset = srvsvc_dissect_element_NetShareAdd_server_unc(tvb, offset, pinfo, tree, di, drep);
17110 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17111 offset = srvsvc_dissect_element_NetShareAdd_level(tvb, offset, pinfo, tree, di, drep);
17112 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17113 offset = srvsvc_dissect_element_NetShareAdd_info(tvb, offset, pinfo, tree, di, drep);
17114 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17115 offset = srvsvc_dissect_element_NetShareAdd_parm_error(tvb, offset, pinfo, tree, di, drep);
17116 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17117 return offset;
17120 static int
17121 srvsvc_dissect_element_NetShareEnumAll_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17123 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareEnumAll_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetShareEnumAll_server_unc);
17125 return offset;
17128 static int
17129 srvsvc_dissect_element_NetShareEnumAll_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17131 char *data = NULL;
17132 struct ndr_generic_array nga = { .is_conformant = false, };
17134 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17136 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17137 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareEnumAll_server_unc, false, &nga, &data);
17138 proto_item_append_text(tree, ": %s", data);
17140 return offset;
17143 static int
17144 srvsvc_dissect_element_NetShareEnumAll_info_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17146 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareEnumAll_info_ctr_, NDR_POINTER_REF, "Pointer to Info Ctr (srvsvc_NetShareInfoCtr)",hf_srvsvc_srvsvc_NetShareEnumAll_info_ctr);
17148 return offset;
17151 static int
17152 srvsvc_dissect_element_NetShareEnumAll_info_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17154 offset = srvsvc_dissect_struct_NetShareInfoCtr(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareEnumAll_info_ctr,0);
17156 return offset;
17159 static int
17160 srvsvc_dissect_element_NetShareEnumAll_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17162 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareEnumAll_max_buffer, 0);
17164 return offset;
17167 static int
17168 srvsvc_dissect_element_NetShareEnumAll_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17170 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareEnumAll_totalentries_, NDR_POINTER_REF, "Pointer to Totalentries (uint32)",hf_srvsvc_srvsvc_NetShareEnumAll_totalentries);
17172 return offset;
17175 static int
17176 srvsvc_dissect_element_NetShareEnumAll_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17178 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareEnumAll_totalentries, 0);
17180 return offset;
17183 static int
17184 srvsvc_dissect_element_NetShareEnumAll_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17186 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareEnumAll_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_srvsvc_srvsvc_NetShareEnumAll_resume_handle);
17188 return offset;
17191 static int
17192 srvsvc_dissect_element_NetShareEnumAll_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17194 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareEnumAll_resume_handle, 0);
17196 return offset;
17199 /* IDL: WERROR srvsvc_NetShareEnumAll( */
17200 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
17201 /* IDL: [in] [out] [ref] srvsvc_NetShareInfoCtr *info_ctr, */
17202 /* IDL: [in] uint32 max_buffer, */
17203 /* IDL: [out] [ref] uint32 *totalentries, */
17204 /* IDL: [in] [out] [unique(1)] uint32 *resume_handle */
17205 /* IDL: ); */
17207 static int
17208 srvsvc_dissect_NetShareEnumAll_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17210 uint32_t status;
17212 di->dcerpc_procedure_name="NetShareEnumAll";
17213 offset = srvsvc_dissect_element_NetShareEnumAll_info_ctr(tvb, offset, pinfo, tree, di, drep);
17214 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17216 offset = srvsvc_dissect_element_NetShareEnumAll_totalentries(tvb, offset, pinfo, tree, di, drep);
17217 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17219 offset = srvsvc_dissect_element_NetShareEnumAll_resume_handle(tvb, offset, pinfo, tree, di, drep);
17220 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17222 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
17224 if (status != 0)
17225 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
17227 return offset;
17230 static int
17231 srvsvc_dissect_NetShareEnumAll_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17233 di->dcerpc_procedure_name="NetShareEnumAll";
17234 offset = srvsvc_dissect_element_NetShareEnumAll_server_unc(tvb, offset, pinfo, tree, di, drep);
17235 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17236 offset = srvsvc_dissect_element_NetShareEnumAll_info_ctr(tvb, offset, pinfo, tree, di, drep);
17237 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17238 offset = srvsvc_dissect_element_NetShareEnumAll_max_buffer(tvb, offset, pinfo, tree, di, drep);
17239 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17240 offset = srvsvc_dissect_element_NetShareEnumAll_resume_handle(tvb, offset, pinfo, tree, di, drep);
17241 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17242 return offset;
17245 static int
17246 srvsvc_dissect_element_NetShareGetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17248 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareGetInfo_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetShareGetInfo_server_unc);
17250 return offset;
17253 static int
17254 srvsvc_dissect_element_NetShareGetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17256 char *data = NULL;
17257 struct ndr_generic_array nga = { .is_conformant = false, };
17259 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17261 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17262 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareGetInfo_server_unc, false, &nga, &data);
17263 proto_item_append_text(tree, ": %s", data);
17265 return offset;
17268 static int
17269 srvsvc_dissect_element_NetShareGetInfo_share_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17271 char *data = NULL;
17272 struct ndr_generic_array nga = { .is_conformant = false, };
17274 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17276 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17277 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareGetInfo_share_name, false, &nga, &data);
17278 proto_item_append_text(tree, ": %s", data);
17280 return offset;
17283 static int
17284 srvsvc_dissect_element_NetShareGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17286 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareGetInfo_level, 0);
17288 return offset;
17291 static int
17292 srvsvc_dissect_element_NetShareGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17294 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareGetInfo_info_, NDR_POINTER_REF, "Pointer to Info (srvsvc_NetShareInfo)",hf_srvsvc_srvsvc_NetShareGetInfo_info);
17296 return offset;
17299 static int
17300 srvsvc_dissect_element_NetShareGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17302 offset = srvsvc_dissect_NetShareInfo(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareGetInfo_info, 0);
17304 return offset;
17307 /* IDL: WERROR srvsvc_NetShareGetInfo( */
17308 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
17309 /* IDL: [charset(UTF16)] [in] uint16 share_name[*], */
17310 /* IDL: [in] uint32 level, */
17311 /* IDL: [out] [ref] [switch_is(level)] srvsvc_NetShareInfo *info */
17312 /* IDL: ); */
17314 static int
17315 srvsvc_dissect_NetShareGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17317 uint32_t status;
17319 di->dcerpc_procedure_name="NetShareGetInfo";
17320 offset = srvsvc_dissect_element_NetShareGetInfo_info(tvb, offset, pinfo, tree, di, drep);
17321 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17323 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
17325 if (status != 0)
17326 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
17328 return offset;
17331 static int
17332 srvsvc_dissect_NetShareGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17334 di->dcerpc_procedure_name="NetShareGetInfo";
17335 offset = srvsvc_dissect_element_NetShareGetInfo_server_unc(tvb, offset, pinfo, tree, di, drep);
17336 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17337 offset = srvsvc_dissect_element_NetShareGetInfo_share_name(tvb, offset, pinfo, tree, di, drep);
17338 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17339 offset = srvsvc_dissect_element_NetShareGetInfo_level(tvb, offset, pinfo, tree, di, drep);
17340 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17341 return offset;
17344 static int
17345 srvsvc_dissect_element_NetShareSetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17347 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareSetInfo_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetShareSetInfo_server_unc);
17349 return offset;
17352 static int
17353 srvsvc_dissect_element_NetShareSetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17355 char *data = NULL;
17356 struct ndr_generic_array nga = { .is_conformant = false, };
17358 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17360 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17361 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareSetInfo_server_unc, false, &nga, &data);
17362 proto_item_append_text(tree, ": %s", data);
17364 return offset;
17367 static int
17368 srvsvc_dissect_element_NetShareSetInfo_share_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17370 char *data = NULL;
17371 struct ndr_generic_array nga = { .is_conformant = false, };
17373 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17375 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17376 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareSetInfo_share_name, false, &nga, &data);
17377 proto_item_append_text(tree, ": %s", data);
17379 return offset;
17382 static int
17383 srvsvc_dissect_element_NetShareSetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17385 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareSetInfo_level, 0);
17387 return offset;
17390 static int
17391 srvsvc_dissect_element_NetShareSetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17393 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareSetInfo_info_, NDR_POINTER_REF, "Pointer to Info (srvsvc_NetShareInfo)",hf_srvsvc_srvsvc_NetShareSetInfo_info);
17395 return offset;
17398 static int
17399 srvsvc_dissect_element_NetShareSetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17401 offset = srvsvc_dissect_NetShareInfo(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareSetInfo_info, 0);
17403 return offset;
17406 static int
17407 srvsvc_dissect_element_NetShareSetInfo_parm_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17409 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareSetInfo_parm_error_, NDR_POINTER_UNIQUE, "Pointer to Parm Error (uint32)",hf_srvsvc_srvsvc_NetShareSetInfo_parm_error);
17411 return offset;
17414 static int
17415 srvsvc_dissect_element_NetShareSetInfo_parm_error_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17417 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareSetInfo_parm_error, 0);
17419 return offset;
17422 /* IDL: WERROR srvsvc_NetShareSetInfo( */
17423 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
17424 /* IDL: [charset(UTF16)] [in] uint16 share_name[*], */
17425 /* IDL: [in] uint32 level, */
17426 /* IDL: [in] [ref] [switch_is(level)] srvsvc_NetShareInfo *info, */
17427 /* IDL: [in] [out] [unique(1)] uint32 *parm_error */
17428 /* IDL: ); */
17430 static int
17431 srvsvc_dissect_NetShareSetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17433 uint32_t status;
17435 di->dcerpc_procedure_name="NetShareSetInfo";
17436 offset = srvsvc_dissect_element_NetShareSetInfo_parm_error(tvb, offset, pinfo, tree, di, drep);
17437 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17439 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
17441 if (status != 0)
17442 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
17444 return offset;
17447 static int
17448 srvsvc_dissect_NetShareSetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17450 di->dcerpc_procedure_name="NetShareSetInfo";
17451 offset = srvsvc_dissect_element_NetShareSetInfo_server_unc(tvb, offset, pinfo, tree, di, drep);
17452 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17453 offset = srvsvc_dissect_element_NetShareSetInfo_share_name(tvb, offset, pinfo, tree, di, drep);
17454 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17455 offset = srvsvc_dissect_element_NetShareSetInfo_level(tvb, offset, pinfo, tree, di, drep);
17456 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17457 offset = srvsvc_dissect_element_NetShareSetInfo_info(tvb, offset, pinfo, tree, di, drep);
17458 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17459 offset = srvsvc_dissect_element_NetShareSetInfo_parm_error(tvb, offset, pinfo, tree, di, drep);
17460 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17461 return offset;
17464 static int
17465 srvsvc_dissect_element_NetShareDel_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17467 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareDel_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetShareDel_server_unc);
17469 return offset;
17472 static int
17473 srvsvc_dissect_element_NetShareDel_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17475 char *data = NULL;
17476 struct ndr_generic_array nga = { .is_conformant = false, };
17478 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17480 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17481 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareDel_server_unc, false, &nga, &data);
17482 proto_item_append_text(tree, ": %s", data);
17484 return offset;
17487 static int
17488 srvsvc_dissect_element_NetShareDel_share_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17490 char *data = NULL;
17491 struct ndr_generic_array nga = { .is_conformant = false, };
17493 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17495 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17496 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareDel_share_name, false, &nga, &data);
17497 proto_item_append_text(tree, ": %s", data);
17499 return offset;
17502 static int
17503 srvsvc_dissect_element_NetShareDel_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17505 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareDel_reserved, 0);
17507 return offset;
17510 /* IDL: WERROR srvsvc_NetShareDel( */
17511 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
17512 /* IDL: [charset(UTF16)] [in] uint16 share_name[*], */
17513 /* IDL: [in] uint32 reserved */
17514 /* IDL: ); */
17516 static int
17517 srvsvc_dissect_NetShareDel_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17519 uint32_t status;
17521 di->dcerpc_procedure_name="NetShareDel";
17522 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
17524 if (status != 0)
17525 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
17527 return offset;
17530 static int
17531 srvsvc_dissect_NetShareDel_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17533 di->dcerpc_procedure_name="NetShareDel";
17534 offset = srvsvc_dissect_element_NetShareDel_server_unc(tvb, offset, pinfo, tree, di, drep);
17535 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17536 offset = srvsvc_dissect_element_NetShareDel_share_name(tvb, offset, pinfo, tree, di, drep);
17537 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17538 offset = srvsvc_dissect_element_NetShareDel_reserved(tvb, offset, pinfo, tree, di, drep);
17539 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17540 return offset;
17543 static int
17544 srvsvc_dissect_element_NetShareDelSticky_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17546 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareDelSticky_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetShareDelSticky_server_unc);
17548 return offset;
17551 static int
17552 srvsvc_dissect_element_NetShareDelSticky_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17554 char *data = NULL;
17555 struct ndr_generic_array nga = { .is_conformant = false, };
17557 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17559 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17560 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareDelSticky_server_unc, false, &nga, &data);
17561 proto_item_append_text(tree, ": %s", data);
17563 return offset;
17566 static int
17567 srvsvc_dissect_element_NetShareDelSticky_share_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17569 char *data = NULL;
17570 struct ndr_generic_array nga = { .is_conformant = false, };
17572 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17574 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17575 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareDelSticky_share_name, false, &nga, &data);
17576 proto_item_append_text(tree, ": %s", data);
17578 return offset;
17581 static int
17582 srvsvc_dissect_element_NetShareDelSticky_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17584 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareDelSticky_reserved, 0);
17586 return offset;
17589 /* IDL: WERROR srvsvc_NetShareDelSticky( */
17590 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
17591 /* IDL: [charset(UTF16)] [in] uint16 share_name[*], */
17592 /* IDL: [in] uint32 reserved */
17593 /* IDL: ); */
17595 static int
17596 srvsvc_dissect_NetShareDelSticky_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17598 uint32_t status;
17600 di->dcerpc_procedure_name="NetShareDelSticky";
17601 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
17603 if (status != 0)
17604 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
17606 return offset;
17609 static int
17610 srvsvc_dissect_NetShareDelSticky_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17612 di->dcerpc_procedure_name="NetShareDelSticky";
17613 offset = srvsvc_dissect_element_NetShareDelSticky_server_unc(tvb, offset, pinfo, tree, di, drep);
17614 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17615 offset = srvsvc_dissect_element_NetShareDelSticky_share_name(tvb, offset, pinfo, tree, di, drep);
17616 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17617 offset = srvsvc_dissect_element_NetShareDelSticky_reserved(tvb, offset, pinfo, tree, di, drep);
17618 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17619 return offset;
17622 static int
17623 srvsvc_dissect_element_NetShareCheck_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17625 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCheck_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetShareCheck_server_unc);
17627 return offset;
17630 static int
17631 srvsvc_dissect_element_NetShareCheck_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17633 char *data = NULL;
17634 struct ndr_generic_array nga = { .is_conformant = false, };
17636 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17638 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17639 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareCheck_server_unc, false, &nga, &data);
17640 proto_item_append_text(tree, ": %s", data);
17642 return offset;
17645 static int
17646 srvsvc_dissect_element_NetShareCheck_device_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17648 char *data = NULL;
17649 struct ndr_generic_array nga = { .is_conformant = false, };
17651 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17653 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17654 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareCheck_device_name, false, &nga, &data);
17655 proto_item_append_text(tree, ": %s", data);
17657 return offset;
17660 static int
17661 srvsvc_dissect_element_NetShareCheck_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17663 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareCheck_type_, NDR_POINTER_REF, "Pointer to Type (srvsvc_ShareType)",hf_srvsvc_srvsvc_NetShareCheck_type);
17665 return offset;
17668 static int
17669 srvsvc_dissect_element_NetShareCheck_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17671 offset = srvsvc_dissect_enum_ShareType(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareCheck_type, 0);
17673 return offset;
17676 /* IDL: WERROR srvsvc_NetShareCheck( */
17677 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
17678 /* IDL: [charset(UTF16)] [in] uint16 device_name[*], */
17679 /* IDL: [out] [ref] srvsvc_ShareType *type */
17680 /* IDL: ); */
17682 static int
17683 srvsvc_dissect_NetShareCheck_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17685 uint32_t status;
17687 di->dcerpc_procedure_name="NetShareCheck";
17688 offset = srvsvc_dissect_element_NetShareCheck_type(tvb, offset, pinfo, tree, di, drep);
17689 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17691 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
17693 if (status != 0)
17694 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
17696 return offset;
17699 static int
17700 srvsvc_dissect_NetShareCheck_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17702 di->dcerpc_procedure_name="NetShareCheck";
17703 offset = srvsvc_dissect_element_NetShareCheck_server_unc(tvb, offset, pinfo, tree, di, drep);
17704 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17705 offset = srvsvc_dissect_element_NetShareCheck_device_name(tvb, offset, pinfo, tree, di, drep);
17706 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17707 return offset;
17710 static int
17711 srvsvc_dissect_element_NetSrvGetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17713 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvGetInfo_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetSrvGetInfo_server_unc);
17715 return offset;
17718 static int
17719 srvsvc_dissect_element_NetSrvGetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17721 char *data = NULL;
17722 struct ndr_generic_array nga = { .is_conformant = false, };
17724 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17726 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17727 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvGetInfo_server_unc, false, &nga, &data);
17728 proto_item_append_text(tree, ": %s", data);
17730 return offset;
17733 static int
17734 srvsvc_dissect_element_NetSrvGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17736 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvGetInfo_level, 0);
17738 return offset;
17741 static int
17742 srvsvc_dissect_element_NetSrvGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17744 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvGetInfo_info_, NDR_POINTER_REF, "Pointer to Info (srvsvc_NetSrvInfo)",hf_srvsvc_srvsvc_NetSrvGetInfo_info);
17746 return offset;
17749 static int
17750 srvsvc_dissect_element_NetSrvGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17752 offset = srvsvc_dissect_NetSrvInfo(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvGetInfo_info, 0);
17754 return offset;
17757 /* IDL: WERROR srvsvc_NetSrvGetInfo( */
17758 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
17759 /* IDL: [in] uint32 level, */
17760 /* IDL: [out] [ref] [switch_is(level)] srvsvc_NetSrvInfo *info */
17761 /* IDL: ); */
17763 static int
17764 srvsvc_dissect_NetSrvGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17766 uint32_t status;
17768 di->dcerpc_procedure_name="NetSrvGetInfo";
17769 offset = srvsvc_dissect_element_NetSrvGetInfo_info(tvb, offset, pinfo, tree, di, drep);
17770 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17772 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
17774 if (status != 0)
17775 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
17777 return offset;
17780 static int
17781 srvsvc_dissect_NetSrvGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17783 di->dcerpc_procedure_name="NetSrvGetInfo";
17784 offset = srvsvc_dissect_element_NetSrvGetInfo_server_unc(tvb, offset, pinfo, tree, di, drep);
17785 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17786 offset = srvsvc_dissect_element_NetSrvGetInfo_level(tvb, offset, pinfo, tree, di, drep);
17787 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17788 return offset;
17791 static int
17792 srvsvc_dissect_element_NetSrvSetInfo_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17794 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvSetInfo_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetSrvSetInfo_server_unc);
17796 return offset;
17799 static int
17800 srvsvc_dissect_element_NetSrvSetInfo_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17802 char *data = NULL;
17803 struct ndr_generic_array nga = { .is_conformant = false, };
17805 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17807 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17808 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSrvSetInfo_server_unc, false, &nga, &data);
17809 proto_item_append_text(tree, ": %s", data);
17811 return offset;
17814 static int
17815 srvsvc_dissect_element_NetSrvSetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17817 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvSetInfo_level, 0);
17819 return offset;
17822 static int
17823 srvsvc_dissect_element_NetSrvSetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17825 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvSetInfo_info_, NDR_POINTER_REF, "Pointer to Info (srvsvc_NetSrvInfo)",hf_srvsvc_srvsvc_NetSrvSetInfo_info);
17827 return offset;
17830 static int
17831 srvsvc_dissect_element_NetSrvSetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17833 offset = srvsvc_dissect_NetSrvInfo(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvSetInfo_info, 0);
17835 return offset;
17838 static int
17839 srvsvc_dissect_element_NetSrvSetInfo_parm_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17841 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSrvSetInfo_parm_error_, NDR_POINTER_UNIQUE, "Pointer to Parm Error (uint32)",hf_srvsvc_srvsvc_NetSrvSetInfo_parm_error);
17843 return offset;
17846 static int
17847 srvsvc_dissect_element_NetSrvSetInfo_parm_error_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17849 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSrvSetInfo_parm_error, 0);
17851 return offset;
17854 /* IDL: WERROR srvsvc_NetSrvSetInfo( */
17855 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
17856 /* IDL: [in] uint32 level, */
17857 /* IDL: [in] [ref] [switch_is(level)] srvsvc_NetSrvInfo *info, */
17858 /* IDL: [in] [out] [unique(1)] uint32 *parm_error */
17859 /* IDL: ); */
17861 static int
17862 srvsvc_dissect_NetSrvSetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17864 uint32_t status;
17866 di->dcerpc_procedure_name="NetSrvSetInfo";
17867 offset = srvsvc_dissect_element_NetSrvSetInfo_parm_error(tvb, offset, pinfo, tree, di, drep);
17868 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17870 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
17872 if (status != 0)
17873 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
17875 return offset;
17878 static int
17879 srvsvc_dissect_NetSrvSetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17881 di->dcerpc_procedure_name="NetSrvSetInfo";
17882 offset = srvsvc_dissect_element_NetSrvSetInfo_server_unc(tvb, offset, pinfo, tree, di, drep);
17883 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17884 offset = srvsvc_dissect_element_NetSrvSetInfo_level(tvb, offset, pinfo, tree, di, drep);
17885 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17886 offset = srvsvc_dissect_element_NetSrvSetInfo_info(tvb, offset, pinfo, tree, di, drep);
17887 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17888 offset = srvsvc_dissect_element_NetSrvSetInfo_parm_error(tvb, offset, pinfo, tree, di, drep);
17889 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17890 return offset;
17893 static int
17894 srvsvc_dissect_element_NetDiskEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17896 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetDiskEnum_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetDiskEnum_server_unc);
17898 return offset;
17901 static int
17902 srvsvc_dissect_element_NetDiskEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17904 char *data = NULL;
17905 struct ndr_generic_array nga = { .is_conformant = false, };
17907 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17909 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
17910 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetDiskEnum_server_unc, false, &nga, &data);
17911 proto_item_append_text(tree, ": %s", data);
17913 return offset;
17916 static int
17917 srvsvc_dissect_element_NetDiskEnum_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17919 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetDiskEnum_level, 0);
17921 return offset;
17924 static int
17925 srvsvc_dissect_element_NetDiskEnum_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17927 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetDiskEnum_info_, NDR_POINTER_REF, "Pointer to Info (srvsvc_NetDiskInfo)",hf_srvsvc_srvsvc_NetDiskEnum_info);
17929 return offset;
17932 static int
17933 srvsvc_dissect_element_NetDiskEnum_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17935 offset = srvsvc_dissect_struct_NetDiskInfo(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetDiskEnum_info,0);
17937 return offset;
17940 static int
17941 srvsvc_dissect_element_NetDiskEnum_maxlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17943 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetDiskEnum_maxlen, 0);
17945 return offset;
17948 static int
17949 srvsvc_dissect_element_NetDiskEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17951 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetDiskEnum_totalentries_, NDR_POINTER_REF, "Pointer to Totalentries (uint32)",hf_srvsvc_srvsvc_NetDiskEnum_totalentries);
17953 return offset;
17956 static int
17957 srvsvc_dissect_element_NetDiskEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17959 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetDiskEnum_totalentries, 0);
17961 return offset;
17964 static int
17965 srvsvc_dissect_element_NetDiskEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17967 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetDiskEnum_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_srvsvc_srvsvc_NetDiskEnum_resume_handle);
17969 return offset;
17972 static int
17973 srvsvc_dissect_element_NetDiskEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17975 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetDiskEnum_resume_handle, 0);
17977 return offset;
17980 /* IDL: WERROR srvsvc_NetDiskEnum( */
17981 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
17982 /* IDL: [in] uint32 level, */
17983 /* IDL: [in] [out] [ref] srvsvc_NetDiskInfo *info, */
17984 /* IDL: [in] uint32 maxlen, */
17985 /* IDL: [out] [ref] uint32 *totalentries, */
17986 /* IDL: [in] [out] [unique(1)] uint32 *resume_handle */
17987 /* IDL: ); */
17989 static int
17990 srvsvc_dissect_NetDiskEnum_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
17992 uint32_t status;
17994 di->dcerpc_procedure_name="NetDiskEnum";
17995 offset = srvsvc_dissect_element_NetDiskEnum_info(tvb, offset, pinfo, tree, di, drep);
17996 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
17998 offset = srvsvc_dissect_element_NetDiskEnum_totalentries(tvb, offset, pinfo, tree, di, drep);
17999 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18001 offset = srvsvc_dissect_element_NetDiskEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
18002 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18004 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
18006 if (status != 0)
18007 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
18009 return offset;
18012 static int
18013 srvsvc_dissect_NetDiskEnum_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18015 di->dcerpc_procedure_name="NetDiskEnum";
18016 offset = srvsvc_dissect_element_NetDiskEnum_server_unc(tvb, offset, pinfo, tree, di, drep);
18017 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18018 offset = srvsvc_dissect_element_NetDiskEnum_level(tvb, offset, pinfo, tree, di, drep);
18019 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18020 offset = srvsvc_dissect_element_NetDiskEnum_info(tvb, offset, pinfo, tree, di, drep);
18021 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18022 offset = srvsvc_dissect_element_NetDiskEnum_maxlen(tvb, offset, pinfo, tree, di, drep);
18023 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18024 offset = srvsvc_dissect_element_NetDiskEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
18025 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18026 return offset;
18029 static int
18030 srvsvc_dissect_element_NetServerStatisticsGet_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18032 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetServerStatisticsGet_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetServerStatisticsGet_server_unc);
18034 return offset;
18037 static int
18038 srvsvc_dissect_element_NetServerStatisticsGet_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18040 char *data = NULL;
18041 struct ndr_generic_array nga = { .is_conformant = false, };
18043 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18045 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18046 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetServerStatisticsGet_server_unc, false, &nga, &data);
18047 proto_item_append_text(tree, ": %s", data);
18049 return offset;
18052 static int
18053 srvsvc_dissect_element_NetServerStatisticsGet_service(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18055 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetServerStatisticsGet_service_, NDR_POINTER_UNIQUE, "Pointer to Service (uint16)",hf_srvsvc_srvsvc_NetServerStatisticsGet_service);
18057 return offset;
18060 static int
18061 srvsvc_dissect_element_NetServerStatisticsGet_service_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18063 char *data = NULL;
18064 struct ndr_generic_array nga = { .is_conformant = false, };
18066 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18068 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18069 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetServerStatisticsGet_service, false, &nga, &data);
18070 proto_item_append_text(tree, ": %s", data);
18072 return offset;
18075 static int
18076 srvsvc_dissect_element_NetServerStatisticsGet_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18078 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetServerStatisticsGet_level, 0);
18080 return offset;
18083 static int
18084 srvsvc_dissect_element_NetServerStatisticsGet_options(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18086 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetServerStatisticsGet_options, 0);
18088 return offset;
18091 static int
18092 srvsvc_dissect_element_NetServerStatisticsGet_stats(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18094 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetServerStatisticsGet_stats_, NDR_POINTER_REF, "Pointer to Stats (srvsvc_Statistics)",hf_srvsvc_srvsvc_NetServerStatisticsGet_stats);
18096 return offset;
18099 static int
18100 srvsvc_dissect_element_NetServerStatisticsGet_stats_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18102 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetServerStatisticsGet_stats__, NDR_POINTER_UNIQUE, "Pointer to Stats (srvsvc_Statistics)",hf_srvsvc_srvsvc_NetServerStatisticsGet_stats);
18104 return offset;
18107 static int
18108 srvsvc_dissect_element_NetServerStatisticsGet_stats__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18110 offset = srvsvc_dissect_struct_Statistics(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetServerStatisticsGet_stats,0);
18112 return offset;
18115 /* IDL: WERROR srvsvc_NetServerStatisticsGet( */
18116 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
18117 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *service, */
18118 /* IDL: [in] uint32 level, */
18119 /* IDL: [in] uint32 options, */
18120 /* IDL: [out] [ref] srvsvc_Statistics **stats */
18121 /* IDL: ); */
18123 static int
18124 srvsvc_dissect_NetServerStatisticsGet_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18126 uint32_t status;
18128 di->dcerpc_procedure_name="NetServerStatisticsGet";
18129 offset = srvsvc_dissect_element_NetServerStatisticsGet_stats(tvb, offset, pinfo, tree, di, drep);
18130 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18132 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
18134 if (status != 0)
18135 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
18137 return offset;
18140 static int
18141 srvsvc_dissect_NetServerStatisticsGet_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18143 di->dcerpc_procedure_name="NetServerStatisticsGet";
18144 offset = srvsvc_dissect_element_NetServerStatisticsGet_server_unc(tvb, offset, pinfo, tree, di, drep);
18145 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18146 offset = srvsvc_dissect_element_NetServerStatisticsGet_service(tvb, offset, pinfo, tree, di, drep);
18147 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18148 offset = srvsvc_dissect_element_NetServerStatisticsGet_level(tvb, offset, pinfo, tree, di, drep);
18149 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18150 offset = srvsvc_dissect_element_NetServerStatisticsGet_options(tvb, offset, pinfo, tree, di, drep);
18151 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18152 return offset;
18155 static int
18156 srvsvc_dissect_element_NetTransportAdd_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18158 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportAdd_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetTransportAdd_server_unc);
18160 return offset;
18163 static int
18164 srvsvc_dissect_element_NetTransportAdd_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18166 char *data = NULL;
18167 struct ndr_generic_array nga = { .is_conformant = false, };
18169 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18171 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18172 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetTransportAdd_server_unc, false, &nga, &data);
18173 proto_item_append_text(tree, ": %s", data);
18175 return offset;
18178 static int
18179 srvsvc_dissect_element_NetTransportAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18181 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportAdd_level, 0);
18183 return offset;
18186 static int
18187 srvsvc_dissect_element_NetTransportAdd_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18189 offset = srvsvc_dissect_NetTransportInfo(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportAdd_info, 0);
18191 return offset;
18194 /* IDL: WERROR srvsvc_NetTransportAdd( */
18195 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
18196 /* IDL: [in] uint32 level, */
18197 /* IDL: [in] [switch_is(level)] srvsvc_NetTransportInfo info */
18198 /* IDL: ); */
18200 static int
18201 srvsvc_dissect_NetTransportAdd_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18203 uint32_t status;
18205 di->dcerpc_procedure_name="NetTransportAdd";
18206 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
18208 if (status != 0)
18209 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
18211 return offset;
18214 static int
18215 srvsvc_dissect_NetTransportAdd_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18217 di->dcerpc_procedure_name="NetTransportAdd";
18218 offset = srvsvc_dissect_element_NetTransportAdd_server_unc(tvb, offset, pinfo, tree, di, drep);
18219 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18220 offset = srvsvc_dissect_element_NetTransportAdd_level(tvb, offset, pinfo, tree, di, drep);
18221 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18222 offset = srvsvc_dissect_element_NetTransportAdd_info(tvb, offset, pinfo, tree, di, drep);
18223 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18224 return offset;
18227 static int
18228 srvsvc_dissect_element_NetTransportEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18230 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportEnum_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetTransportEnum_server_unc);
18232 return offset;
18235 static int
18236 srvsvc_dissect_element_NetTransportEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18238 char *data = NULL;
18239 struct ndr_generic_array nga = { .is_conformant = false, };
18241 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18243 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18244 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetTransportEnum_server_unc, false, &nga, &data);
18245 proto_item_append_text(tree, ": %s", data);
18247 return offset;
18250 static int
18251 srvsvc_dissect_element_NetTransportEnum_transports(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18253 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportEnum_transports_, NDR_POINTER_REF, "Pointer to Transports (srvsvc_NetTransportInfoCtr)",hf_srvsvc_srvsvc_NetTransportEnum_transports);
18255 return offset;
18258 static int
18259 srvsvc_dissect_element_NetTransportEnum_transports_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18261 offset = srvsvc_dissect_struct_NetTransportInfoCtr(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetTransportEnum_transports,0);
18263 return offset;
18266 static int
18267 srvsvc_dissect_element_NetTransportEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18269 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportEnum_max_buffer, 0);
18271 return offset;
18274 static int
18275 srvsvc_dissect_element_NetTransportEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18277 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportEnum_totalentries_, NDR_POINTER_REF, "Pointer to Totalentries (uint32)",hf_srvsvc_srvsvc_NetTransportEnum_totalentries);
18279 return offset;
18282 static int
18283 srvsvc_dissect_element_NetTransportEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18285 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportEnum_totalentries, 0);
18287 return offset;
18290 static int
18291 srvsvc_dissect_element_NetTransportEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18293 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportEnum_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_srvsvc_srvsvc_NetTransportEnum_resume_handle);
18295 return offset;
18298 static int
18299 srvsvc_dissect_element_NetTransportEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18301 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportEnum_resume_handle, 0);
18303 return offset;
18306 /* IDL: WERROR srvsvc_NetTransportEnum( */
18307 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
18308 /* IDL: [in] [out] [ref] srvsvc_NetTransportInfoCtr *transports, */
18309 /* IDL: [in] uint32 max_buffer, */
18310 /* IDL: [out] [ref] uint32 *totalentries, */
18311 /* IDL: [in] [out] [unique(1)] uint32 *resume_handle */
18312 /* IDL: ); */
18314 static int
18315 srvsvc_dissect_NetTransportEnum_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18317 uint32_t status;
18319 di->dcerpc_procedure_name="NetTransportEnum";
18320 offset = srvsvc_dissect_element_NetTransportEnum_transports(tvb, offset, pinfo, tree, di, drep);
18321 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18323 offset = srvsvc_dissect_element_NetTransportEnum_totalentries(tvb, offset, pinfo, tree, di, drep);
18324 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18326 offset = srvsvc_dissect_element_NetTransportEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
18327 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18329 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
18331 if (status != 0)
18332 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
18334 return offset;
18337 static int
18338 srvsvc_dissect_NetTransportEnum_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18340 di->dcerpc_procedure_name="NetTransportEnum";
18341 offset = srvsvc_dissect_element_NetTransportEnum_server_unc(tvb, offset, pinfo, tree, di, drep);
18342 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18343 offset = srvsvc_dissect_element_NetTransportEnum_transports(tvb, offset, pinfo, tree, di, drep);
18344 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18345 offset = srvsvc_dissect_element_NetTransportEnum_max_buffer(tvb, offset, pinfo, tree, di, drep);
18346 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18347 offset = srvsvc_dissect_element_NetTransportEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
18348 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18349 return offset;
18352 static int
18353 srvsvc_dissect_element_NetTransportDel_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18355 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportDel_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetTransportDel_server_unc);
18357 return offset;
18360 static int
18361 srvsvc_dissect_element_NetTransportDel_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18363 char *data = NULL;
18364 struct ndr_generic_array nga = { .is_conformant = false, };
18366 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18368 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18369 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetTransportDel_server_unc, false, &nga, &data);
18370 proto_item_append_text(tree, ": %s", data);
18372 return offset;
18375 static int
18376 srvsvc_dissect_element_NetTransportDel_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18378 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetTransportDel_level, 0);
18380 return offset;
18383 static int
18384 srvsvc_dissect_element_NetTransportDel_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18386 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetTransportDel_info0_, NDR_POINTER_REF, "Pointer to Info0 (srvsvc_NetTransportInfo0)",hf_srvsvc_srvsvc_NetTransportDel_info0);
18388 return offset;
18391 static int
18392 srvsvc_dissect_element_NetTransportDel_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18394 offset = srvsvc_dissect_struct_NetTransportInfo0(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetTransportDel_info0,0);
18396 return offset;
18399 /* IDL: WERROR srvsvc_NetTransportDel( */
18400 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
18401 /* IDL: [in] uint32 level, */
18402 /* IDL: [in] [ref] srvsvc_NetTransportInfo0 *info0 */
18403 /* IDL: ); */
18405 static int
18406 srvsvc_dissect_NetTransportDel_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18408 uint32_t status;
18410 di->dcerpc_procedure_name="NetTransportDel";
18411 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
18413 if (status != 0)
18414 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
18416 return offset;
18419 static int
18420 srvsvc_dissect_NetTransportDel_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18422 di->dcerpc_procedure_name="NetTransportDel";
18423 offset = srvsvc_dissect_element_NetTransportDel_server_unc(tvb, offset, pinfo, tree, di, drep);
18424 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18425 offset = srvsvc_dissect_element_NetTransportDel_level(tvb, offset, pinfo, tree, di, drep);
18426 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18427 offset = srvsvc_dissect_element_NetTransportDel_info0(tvb, offset, pinfo, tree, di, drep);
18428 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18429 return offset;
18432 static int
18433 srvsvc_dissect_element_NetRemoteTOD_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18435 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetRemoteTOD_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetRemoteTOD_server_unc);
18437 return offset;
18440 static int
18441 srvsvc_dissect_element_NetRemoteTOD_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18443 char *data = NULL;
18444 struct ndr_generic_array nga = { .is_conformant = false, };
18446 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18448 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18449 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetRemoteTOD_server_unc, false, &nga, &data);
18450 proto_item_append_text(tree, ": %s", data);
18452 return offset;
18455 static int
18456 srvsvc_dissect_element_NetRemoteTOD_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18458 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetRemoteTOD_info_, NDR_POINTER_REF, "Pointer to Info (srvsvc_NetRemoteTODInfo)",hf_srvsvc_srvsvc_NetRemoteTOD_info);
18460 return offset;
18463 static int
18464 srvsvc_dissect_element_NetRemoteTOD_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18466 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetRemoteTOD_info__, NDR_POINTER_UNIQUE, "Pointer to Info (srvsvc_NetRemoteTODInfo)",hf_srvsvc_srvsvc_NetRemoteTOD_info);
18468 return offset;
18471 static int
18472 srvsvc_dissect_element_NetRemoteTOD_info__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18474 offset = srvsvc_dissect_struct_NetRemoteTODInfo(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetRemoteTOD_info,0);
18476 return offset;
18479 /* IDL: WERROR srvsvc_NetRemoteTOD( */
18480 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
18481 /* IDL: [out] [ref] srvsvc_NetRemoteTODInfo **info */
18482 /* IDL: ); */
18484 static int
18485 srvsvc_dissect_NetRemoteTOD_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18487 uint32_t status;
18489 di->dcerpc_procedure_name="NetRemoteTOD";
18490 offset = srvsvc_dissect_element_NetRemoteTOD_info(tvb, offset, pinfo, tree, di, drep);
18491 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18493 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
18495 if (status != 0)
18496 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
18498 return offset;
18501 static int
18502 srvsvc_dissect_NetRemoteTOD_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18504 di->dcerpc_procedure_name="NetRemoteTOD";
18505 offset = srvsvc_dissect_element_NetRemoteTOD_server_unc(tvb, offset, pinfo, tree, di, drep);
18506 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18507 return offset;
18510 static int
18511 srvsvc_dissect_element_NetSetServiceBits_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18513 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSetServiceBits_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetSetServiceBits_server_unc);
18515 return offset;
18518 static int
18519 srvsvc_dissect_element_NetSetServiceBits_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18521 char *data = NULL;
18522 struct ndr_generic_array nga = { .is_conformant = false, };
18524 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18526 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18527 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSetServiceBits_server_unc, false, &nga, &data);
18528 proto_item_append_text(tree, ": %s", data);
18530 return offset;
18533 static int
18534 srvsvc_dissect_element_NetSetServiceBits_transport(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18536 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSetServiceBits_transport_, NDR_POINTER_UNIQUE, "Pointer to Transport (uint16)",hf_srvsvc_srvsvc_NetSetServiceBits_transport);
18538 return offset;
18541 static int
18542 srvsvc_dissect_element_NetSetServiceBits_transport_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18544 char *data = NULL;
18545 struct ndr_generic_array nga = { .is_conformant = false, };
18547 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18549 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18550 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSetServiceBits_transport, false, &nga, &data);
18551 proto_item_append_text(tree, ": %s", data);
18553 return offset;
18556 static int
18557 srvsvc_dissect_element_NetSetServiceBits_servicebits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18559 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSetServiceBits_servicebits, 0);
18561 return offset;
18564 static int
18565 srvsvc_dissect_element_NetSetServiceBits_updateimmediately(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18567 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetSetServiceBits_updateimmediately, 0);
18569 return offset;
18572 /* IDL: WERROR srvsvc_NetSetServiceBits( */
18573 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
18574 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *transport, */
18575 /* IDL: [in] uint32 servicebits, */
18576 /* IDL: [in] uint32 updateimmediately */
18577 /* IDL: ); */
18579 static int
18580 srvsvc_dissect_NetSetServiceBits_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18582 uint32_t status;
18584 di->dcerpc_procedure_name="NetSetServiceBits";
18585 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
18587 if (status != 0)
18588 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
18590 return offset;
18593 static int
18594 srvsvc_dissect_NetSetServiceBits_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18596 di->dcerpc_procedure_name="NetSetServiceBits";
18597 offset = srvsvc_dissect_element_NetSetServiceBits_server_unc(tvb, offset, pinfo, tree, di, drep);
18598 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18599 offset = srvsvc_dissect_element_NetSetServiceBits_transport(tvb, offset, pinfo, tree, di, drep);
18600 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18601 offset = srvsvc_dissect_element_NetSetServiceBits_servicebits(tvb, offset, pinfo, tree, di, drep);
18602 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18603 offset = srvsvc_dissect_element_NetSetServiceBits_updateimmediately(tvb, offset, pinfo, tree, di, drep);
18604 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18605 return offset;
18608 static int
18609 srvsvc_dissect_element_NetPathType_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18611 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetPathType_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetPathType_server_unc);
18613 return offset;
18616 static int
18617 srvsvc_dissect_element_NetPathType_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18619 char *data = NULL;
18620 struct ndr_generic_array nga = { .is_conformant = false, };
18622 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18624 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18625 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetPathType_server_unc, false, &nga, &data);
18626 proto_item_append_text(tree, ": %s", data);
18628 return offset;
18631 static int
18632 srvsvc_dissect_element_NetPathType_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18634 char *data = NULL;
18635 struct ndr_generic_array nga = { .is_conformant = false, };
18637 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18639 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18640 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetPathType_path, false, &nga, &data);
18641 proto_item_append_text(tree, ": %s", data);
18643 return offset;
18646 static int
18647 srvsvc_dissect_element_NetPathType_pathflags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18649 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetPathType_pathflags, 0);
18651 return offset;
18654 static int
18655 srvsvc_dissect_element_NetPathType_pathtype(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18657 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetPathType_pathtype_, NDR_POINTER_REF, "Pointer to Pathtype (uint32)",hf_srvsvc_srvsvc_NetPathType_pathtype);
18659 return offset;
18662 static int
18663 srvsvc_dissect_element_NetPathType_pathtype_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18665 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetPathType_pathtype, 0);
18667 return offset;
18670 /* IDL: WERROR srvsvc_NetPathType( */
18671 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
18672 /* IDL: [charset(UTF16)] [in] uint16 path[*], */
18673 /* IDL: [in] uint32 pathflags, */
18674 /* IDL: [out] [ref] uint32 *pathtype */
18675 /* IDL: ); */
18677 static int
18678 srvsvc_dissect_NetPathType_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18680 uint32_t status;
18682 di->dcerpc_procedure_name="NetPathType";
18683 offset = srvsvc_dissect_element_NetPathType_pathtype(tvb, offset, pinfo, tree, di, drep);
18684 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18686 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
18688 if (status != 0)
18689 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
18691 return offset;
18694 static int
18695 srvsvc_dissect_NetPathType_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18697 di->dcerpc_procedure_name="NetPathType";
18698 offset = srvsvc_dissect_element_NetPathType_server_unc(tvb, offset, pinfo, tree, di, drep);
18699 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18700 offset = srvsvc_dissect_element_NetPathType_path(tvb, offset, pinfo, tree, di, drep);
18701 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18702 offset = srvsvc_dissect_element_NetPathType_pathflags(tvb, offset, pinfo, tree, di, drep);
18703 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18704 return offset;
18707 static int
18708 srvsvc_dissect_element_NetPathCanonicalize_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18710 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetPathCanonicalize_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetPathCanonicalize_server_unc);
18712 return offset;
18715 static int
18716 srvsvc_dissect_element_NetPathCanonicalize_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18718 char *data = NULL;
18719 struct ndr_generic_array nga = { .is_conformant = false, };
18721 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18723 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18724 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetPathCanonicalize_server_unc, false, &nga, &data);
18725 proto_item_append_text(tree, ": %s", data);
18727 return offset;
18730 static int
18731 srvsvc_dissect_element_NetPathCanonicalize_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18733 char *data = NULL;
18734 struct ndr_generic_array nga = { .is_conformant = false, };
18736 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18738 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18739 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetPathCanonicalize_path, false, &nga, &data);
18740 proto_item_append_text(tree, ": %s", data);
18742 return offset;
18745 static int
18746 srvsvc_dissect_element_NetPathCanonicalize_can_path(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18748 struct ndr_generic_array nga = { .is_conformant = false, };
18750 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18752 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, srvsvc_dissect_element_NetPathCanonicalize_can_path_);
18754 return offset;
18757 static int
18758 srvsvc_dissect_element_NetPathCanonicalize_can_path_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18760 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetPathCanonicalize_can_path, 0);
18762 return offset;
18765 static int
18766 srvsvc_dissect_element_NetPathCanonicalize_maxbuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18768 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetPathCanonicalize_maxbuf, 0);
18770 return offset;
18773 static int
18774 srvsvc_dissect_element_NetPathCanonicalize_prefix(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18776 char *data = NULL;
18777 struct ndr_generic_array nga = { .is_conformant = false, };
18779 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18781 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18782 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetPathCanonicalize_prefix, false, &nga, &data);
18783 proto_item_append_text(tree, ": %s", data);
18785 return offset;
18788 static int
18789 srvsvc_dissect_element_NetPathCanonicalize_pathtype(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18791 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetPathCanonicalize_pathtype_, NDR_POINTER_REF, "Pointer to Pathtype (uint32)",hf_srvsvc_srvsvc_NetPathCanonicalize_pathtype);
18793 return offset;
18796 static int
18797 srvsvc_dissect_element_NetPathCanonicalize_pathtype_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18799 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetPathCanonicalize_pathtype, 0);
18801 return offset;
18804 static int
18805 srvsvc_dissect_element_NetPathCanonicalize_pathflags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18807 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetPathCanonicalize_pathflags, 0);
18809 return offset;
18812 /* IDL: WERROR srvsvc_NetPathCanonicalize( */
18813 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
18814 /* IDL: [charset(UTF16)] [in] uint16 path[*], */
18815 /* IDL: [out] [size_is(maxbuf)] uint8 can_path[*], */
18816 /* IDL: [in] uint32 maxbuf, */
18817 /* IDL: [charset(UTF16)] [in] uint16 prefix[*], */
18818 /* IDL: [in] [out] [ref] uint32 *pathtype, */
18819 /* IDL: [in] uint32 pathflags */
18820 /* IDL: ); */
18822 static int
18823 srvsvc_dissect_NetPathCanonicalize_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18825 uint32_t status;
18827 di->dcerpc_procedure_name="NetPathCanonicalize";
18828 offset = srvsvc_dissect_element_NetPathCanonicalize_can_path(tvb, offset, pinfo, tree, di, drep);
18829 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18831 offset = srvsvc_dissect_element_NetPathCanonicalize_pathtype(tvb, offset, pinfo, tree, di, drep);
18832 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18834 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
18836 if (status != 0)
18837 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
18839 return offset;
18842 static int
18843 srvsvc_dissect_NetPathCanonicalize_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18845 di->dcerpc_procedure_name="NetPathCanonicalize";
18846 offset = srvsvc_dissect_element_NetPathCanonicalize_server_unc(tvb, offset, pinfo, tree, di, drep);
18847 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18848 offset = srvsvc_dissect_element_NetPathCanonicalize_path(tvb, offset, pinfo, tree, di, drep);
18849 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18850 offset = srvsvc_dissect_element_NetPathCanonicalize_maxbuf(tvb, offset, pinfo, tree, di, drep);
18851 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18852 offset = srvsvc_dissect_element_NetPathCanonicalize_prefix(tvb, offset, pinfo, tree, di, drep);
18853 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18854 offset = srvsvc_dissect_element_NetPathCanonicalize_pathtype(tvb, offset, pinfo, tree, di, drep);
18855 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18856 offset = srvsvc_dissect_element_NetPathCanonicalize_pathflags(tvb, offset, pinfo, tree, di, drep);
18857 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18858 return offset;
18861 static int
18862 srvsvc_dissect_element_NetPathCompare_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18864 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetPathCompare_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetPathCompare_server_unc);
18866 return offset;
18869 static int
18870 srvsvc_dissect_element_NetPathCompare_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18872 char *data = NULL;
18873 struct ndr_generic_array nga = { .is_conformant = false, };
18875 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18877 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18878 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetPathCompare_server_unc, false, &nga, &data);
18879 proto_item_append_text(tree, ": %s", data);
18881 return offset;
18884 static int
18885 srvsvc_dissect_element_NetPathCompare_path1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18887 char *data = NULL;
18888 struct ndr_generic_array nga = { .is_conformant = false, };
18890 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18892 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18893 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetPathCompare_path1, false, &nga, &data);
18894 proto_item_append_text(tree, ": %s", data);
18896 return offset;
18899 static int
18900 srvsvc_dissect_element_NetPathCompare_path2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18902 char *data = NULL;
18903 struct ndr_generic_array nga = { .is_conformant = false, };
18905 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18907 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18908 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetPathCompare_path2, false, &nga, &data);
18909 proto_item_append_text(tree, ": %s", data);
18911 return offset;
18914 static int
18915 srvsvc_dissect_element_NetPathCompare_pathtype(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18917 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetPathCompare_pathtype, 0);
18919 return offset;
18922 static int
18923 srvsvc_dissect_element_NetPathCompare_pathflags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18925 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetPathCompare_pathflags, 0);
18927 return offset;
18930 /* IDL: WERROR srvsvc_NetPathCompare( */
18931 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
18932 /* IDL: [charset(UTF16)] [in] uint16 path1[*], */
18933 /* IDL: [charset(UTF16)] [in] uint16 path2[*], */
18934 /* IDL: [in] uint32 pathtype, */
18935 /* IDL: [in] uint32 pathflags */
18936 /* IDL: ); */
18938 static int
18939 srvsvc_dissect_NetPathCompare_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18941 uint32_t status;
18943 di->dcerpc_procedure_name="NetPathCompare";
18944 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
18946 if (status != 0)
18947 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
18949 return offset;
18952 static int
18953 srvsvc_dissect_NetPathCompare_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18955 di->dcerpc_procedure_name="NetPathCompare";
18956 offset = srvsvc_dissect_element_NetPathCompare_server_unc(tvb, offset, pinfo, tree, di, drep);
18957 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18958 offset = srvsvc_dissect_element_NetPathCompare_path1(tvb, offset, pinfo, tree, di, drep);
18959 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18960 offset = srvsvc_dissect_element_NetPathCompare_path2(tvb, offset, pinfo, tree, di, drep);
18961 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18962 offset = srvsvc_dissect_element_NetPathCompare_pathtype(tvb, offset, pinfo, tree, di, drep);
18963 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18964 offset = srvsvc_dissect_element_NetPathCompare_pathflags(tvb, offset, pinfo, tree, di, drep);
18965 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
18966 return offset;
18969 static int
18970 srvsvc_dissect_element_NetNameValidate_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18972 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetNameValidate_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetNameValidate_server_unc);
18974 return offset;
18977 static int
18978 srvsvc_dissect_element_NetNameValidate_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18980 char *data = NULL;
18981 struct ndr_generic_array nga = { .is_conformant = false, };
18983 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18985 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
18986 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetNameValidate_server_unc, false, &nga, &data);
18987 proto_item_append_text(tree, ": %s", data);
18989 return offset;
18992 static int
18993 srvsvc_dissect_element_NetNameValidate_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
18995 char *data = NULL;
18996 struct ndr_generic_array nga = { .is_conformant = false, };
18998 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19000 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19001 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetNameValidate_name, false, &nga, &data);
19002 proto_item_append_text(tree, ": %s", data);
19004 return offset;
19007 static int
19008 srvsvc_dissect_element_NetNameValidate_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19010 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetNameValidate_name_type, 0);
19012 return offset;
19015 static int
19016 srvsvc_dissect_element_NetNameValidate_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19018 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetNameValidate_flags, 0);
19020 return offset;
19023 /* IDL: WERROR srvsvc_NetNameValidate( */
19024 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
19025 /* IDL: [charset(UTF16)] [in] uint16 name[*], */
19026 /* IDL: [in] uint32 name_type, */
19027 /* IDL: [in] uint32 flags */
19028 /* IDL: ); */
19030 static int
19031 srvsvc_dissect_NetNameValidate_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19033 uint32_t status;
19035 di->dcerpc_procedure_name="NetNameValidate";
19036 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19038 if (status != 0)
19039 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
19041 return offset;
19044 static int
19045 srvsvc_dissect_NetNameValidate_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19047 di->dcerpc_procedure_name="NetNameValidate";
19048 offset = srvsvc_dissect_element_NetNameValidate_server_unc(tvb, offset, pinfo, tree, di, drep);
19049 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19050 offset = srvsvc_dissect_element_NetNameValidate_name(tvb, offset, pinfo, tree, di, drep);
19051 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19052 offset = srvsvc_dissect_element_NetNameValidate_name_type(tvb, offset, pinfo, tree, di, drep);
19053 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19054 offset = srvsvc_dissect_element_NetNameValidate_flags(tvb, offset, pinfo, tree, di, drep);
19055 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19056 return offset;
19059 /* IDL: WERROR srvsvc_NETRPRNAMECANONICALIZE( */
19060 /* IDL: */
19061 /* IDL: ); */
19063 static int
19064 srvsvc_dissect_NETRPRNAMECANONICALIZE_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19066 uint32_t status;
19068 di->dcerpc_procedure_name="NETRPRNAMECANONICALIZE";
19069 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19071 if (status != 0)
19072 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
19074 return offset;
19077 static int
19078 srvsvc_dissect_NETRPRNAMECANONICALIZE_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19080 di->dcerpc_procedure_name="NETRPRNAMECANONICALIZE";
19081 return offset;
19084 static int
19085 srvsvc_dissect_element_NetPRNameCompare_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19087 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetPRNameCompare_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetPRNameCompare_server_unc);
19089 return offset;
19092 static int
19093 srvsvc_dissect_element_NetPRNameCompare_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19095 char *data = NULL;
19096 struct ndr_generic_array nga = { .is_conformant = false, };
19098 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19100 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19101 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetPRNameCompare_server_unc, false, &nga, &data);
19102 proto_item_append_text(tree, ": %s", data);
19104 return offset;
19107 static int
19108 srvsvc_dissect_element_NetPRNameCompare_name1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19110 char *data = NULL;
19111 struct ndr_generic_array nga = { .is_conformant = false, };
19113 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19115 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19116 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetPRNameCompare_name1, false, &nga, &data);
19117 proto_item_append_text(tree, ": %s", data);
19119 return offset;
19122 static int
19123 srvsvc_dissect_element_NetPRNameCompare_name2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19125 char *data = NULL;
19126 struct ndr_generic_array nga = { .is_conformant = false, };
19128 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19130 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19131 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetPRNameCompare_name2, false, &nga, &data);
19132 proto_item_append_text(tree, ": %s", data);
19134 return offset;
19137 static int
19138 srvsvc_dissect_element_NetPRNameCompare_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19140 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetPRNameCompare_name_type, 0);
19142 return offset;
19145 static int
19146 srvsvc_dissect_element_NetPRNameCompare_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19148 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetPRNameCompare_flags, 0);
19150 return offset;
19153 /* IDL: WERROR srvsvc_NetPRNameCompare( */
19154 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
19155 /* IDL: [charset(UTF16)] [in] uint16 name1[*], */
19156 /* IDL: [charset(UTF16)] [in] uint16 name2[*], */
19157 /* IDL: [in] uint32 name_type, */
19158 /* IDL: [in] uint32 flags */
19159 /* IDL: ); */
19161 static int
19162 srvsvc_dissect_NetPRNameCompare_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19164 uint32_t status;
19166 di->dcerpc_procedure_name="NetPRNameCompare";
19167 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19169 if (status != 0)
19170 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
19172 return offset;
19175 static int
19176 srvsvc_dissect_NetPRNameCompare_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19178 di->dcerpc_procedure_name="NetPRNameCompare";
19179 offset = srvsvc_dissect_element_NetPRNameCompare_server_unc(tvb, offset, pinfo, tree, di, drep);
19180 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19181 offset = srvsvc_dissect_element_NetPRNameCompare_name1(tvb, offset, pinfo, tree, di, drep);
19182 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19183 offset = srvsvc_dissect_element_NetPRNameCompare_name2(tvb, offset, pinfo, tree, di, drep);
19184 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19185 offset = srvsvc_dissect_element_NetPRNameCompare_name_type(tvb, offset, pinfo, tree, di, drep);
19186 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19187 offset = srvsvc_dissect_element_NetPRNameCompare_flags(tvb, offset, pinfo, tree, di, drep);
19188 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19189 return offset;
19192 static int
19193 srvsvc_dissect_element_NetShareEnum_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19195 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareEnum_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetShareEnum_server_unc);
19197 return offset;
19200 static int
19201 srvsvc_dissect_element_NetShareEnum_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19203 char *data = NULL;
19204 struct ndr_generic_array nga = { .is_conformant = false, };
19206 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19208 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19209 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareEnum_server_unc, false, &nga, &data);
19210 proto_item_append_text(tree, ": %s", data);
19212 return offset;
19215 static int
19216 srvsvc_dissect_element_NetShareEnum_info_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19218 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareEnum_info_ctr_, NDR_POINTER_REF, "Pointer to Info Ctr (srvsvc_NetShareInfoCtr)",hf_srvsvc_srvsvc_NetShareEnum_info_ctr);
19220 return offset;
19223 static int
19224 srvsvc_dissect_element_NetShareEnum_info_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19226 offset = srvsvc_dissect_struct_NetShareInfoCtr(tvb,offset,pinfo,tree,di,drep,hf_srvsvc_srvsvc_NetShareEnum_info_ctr,0);
19228 return offset;
19231 static int
19232 srvsvc_dissect_element_NetShareEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19234 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareEnum_max_buffer, 0);
19236 return offset;
19239 static int
19240 srvsvc_dissect_element_NetShareEnum_totalentries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19242 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareEnum_totalentries_, NDR_POINTER_REF, "Pointer to Totalentries (uint32)",hf_srvsvc_srvsvc_NetShareEnum_totalentries);
19244 return offset;
19247 static int
19248 srvsvc_dissect_element_NetShareEnum_totalentries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19250 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareEnum_totalentries, 0);
19252 return offset;
19255 static int
19256 srvsvc_dissect_element_NetShareEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19258 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareEnum_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_srvsvc_srvsvc_NetShareEnum_resume_handle);
19260 return offset;
19263 static int
19264 srvsvc_dissect_element_NetShareEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19266 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareEnum_resume_handle, 0);
19268 return offset;
19271 /* IDL: WERROR srvsvc_NetShareEnum( */
19272 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
19273 /* IDL: [in] [out] [ref] srvsvc_NetShareInfoCtr *info_ctr, */
19274 /* IDL: [in] uint32 max_buffer, */
19275 /* IDL: [out] [ref] uint32 *totalentries, */
19276 /* IDL: [in] [out] [unique(1)] uint32 *resume_handle */
19277 /* IDL: ); */
19279 static int
19280 srvsvc_dissect_NetShareEnum_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19282 uint32_t status;
19284 di->dcerpc_procedure_name="NetShareEnum";
19285 offset = srvsvc_dissect_element_NetShareEnum_info_ctr(tvb, offset, pinfo, tree, di, drep);
19286 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19288 offset = srvsvc_dissect_element_NetShareEnum_totalentries(tvb, offset, pinfo, tree, di, drep);
19289 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19291 offset = srvsvc_dissect_element_NetShareEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
19292 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19294 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19296 if (status != 0)
19297 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
19299 return offset;
19302 static int
19303 srvsvc_dissect_NetShareEnum_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19305 di->dcerpc_procedure_name="NetShareEnum";
19306 offset = srvsvc_dissect_element_NetShareEnum_server_unc(tvb, offset, pinfo, tree, di, drep);
19307 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19308 offset = srvsvc_dissect_element_NetShareEnum_info_ctr(tvb, offset, pinfo, tree, di, drep);
19309 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19310 offset = srvsvc_dissect_element_NetShareEnum_max_buffer(tvb, offset, pinfo, tree, di, drep);
19311 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19312 offset = srvsvc_dissect_element_NetShareEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
19313 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19314 return offset;
19317 static int
19318 srvsvc_dissect_element_NetShareDelStart_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19320 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareDelStart_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetShareDelStart_server_unc);
19322 return offset;
19325 static int
19326 srvsvc_dissect_element_NetShareDelStart_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19328 char *data = NULL;
19329 struct ndr_generic_array nga = { .is_conformant = false, };
19331 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19333 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19334 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareDelStart_server_unc, false, &nga, &data);
19335 proto_item_append_text(tree, ": %s", data);
19337 return offset;
19340 static int
19341 srvsvc_dissect_element_NetShareDelStart_share(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19343 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareDelStart_share_, NDR_POINTER_UNIQUE, "Pointer to Share (uint16)",hf_srvsvc_srvsvc_NetShareDelStart_share);
19345 return offset;
19348 static int
19349 srvsvc_dissect_element_NetShareDelStart_share_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19351 char *data = NULL;
19352 struct ndr_generic_array nga = { .is_conformant = false, };
19354 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19356 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19357 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetShareDelStart_share, false, &nga, &data);
19358 proto_item_append_text(tree, ": %s", data);
19360 return offset;
19363 static int
19364 srvsvc_dissect_element_NetShareDelStart_reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19366 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareDelStart_reserved, 0);
19368 return offset;
19371 static int
19372 srvsvc_dissect_element_NetShareDelStart_hnd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19374 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareDelStart_hnd_, NDR_POINTER_REF, "Pointer to Hnd (policy_handle)",hf_srvsvc_srvsvc_NetShareDelStart_hnd);
19376 return offset;
19379 static int
19380 srvsvc_dissect_element_NetShareDelStart_hnd_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19382 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareDelStart_hnd, 0);
19384 return offset;
19387 /* IDL: WERROR srvsvc_NetShareDelStart( */
19388 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
19389 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *share, */
19390 /* IDL: [in] uint32 reserved, */
19391 /* IDL: [out] [ref] policy_handle *hnd */
19392 /* IDL: ); */
19394 static int
19395 srvsvc_dissect_NetShareDelStart_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19397 uint32_t status;
19399 di->dcerpc_procedure_name="NetShareDelStart";
19400 offset = srvsvc_dissect_element_NetShareDelStart_hnd(tvb, offset, pinfo, tree, di, drep);
19401 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19403 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19405 if (status != 0)
19406 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
19408 return offset;
19411 static int
19412 srvsvc_dissect_NetShareDelStart_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19414 di->dcerpc_procedure_name="NetShareDelStart";
19415 offset = srvsvc_dissect_element_NetShareDelStart_server_unc(tvb, offset, pinfo, tree, di, drep);
19416 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19417 offset = srvsvc_dissect_element_NetShareDelStart_share(tvb, offset, pinfo, tree, di, drep);
19418 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19419 offset = srvsvc_dissect_element_NetShareDelStart_reserved(tvb, offset, pinfo, tree, di, drep);
19420 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19421 return offset;
19424 static int
19425 srvsvc_dissect_element_NetShareDelCommit_hnd(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19427 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetShareDelCommit_hnd_, NDR_POINTER_UNIQUE, "Pointer to Hnd (policy_handle)",hf_srvsvc_srvsvc_NetShareDelCommit_hnd);
19429 return offset;
19432 static int
19433 srvsvc_dissect_element_NetShareDelCommit_hnd_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19435 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetShareDelCommit_hnd, 0);
19437 return offset;
19440 /* IDL: WERROR srvsvc_NetShareDelCommit( */
19441 /* IDL: [in] [out] [unique(1)] policy_handle *hnd */
19442 /* IDL: ); */
19444 static int
19445 srvsvc_dissect_NetShareDelCommit_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19447 uint32_t status;
19449 di->dcerpc_procedure_name="NetShareDelCommit";
19450 offset = srvsvc_dissect_element_NetShareDelCommit_hnd(tvb, offset, pinfo, tree, di, drep);
19451 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19453 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19455 if (status != 0)
19456 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
19458 return offset;
19461 static int
19462 srvsvc_dissect_NetShareDelCommit_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19464 di->dcerpc_procedure_name="NetShareDelCommit";
19465 offset = srvsvc_dissect_element_NetShareDelCommit_hnd(tvb, offset, pinfo, tree, di, drep);
19466 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19467 return offset;
19470 static int
19471 srvsvc_dissect_element_NetGetFileSecurity_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19473 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetGetFileSecurity_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetGetFileSecurity_server_unc);
19475 return offset;
19478 static int
19479 srvsvc_dissect_element_NetGetFileSecurity_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19481 char *data = NULL;
19482 struct ndr_generic_array nga = { .is_conformant = false, };
19484 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19486 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19487 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetGetFileSecurity_server_unc, false, &nga, &data);
19488 proto_item_append_text(tree, ": %s", data);
19490 return offset;
19493 static int
19494 srvsvc_dissect_element_NetGetFileSecurity_share(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19496 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetGetFileSecurity_share_, NDR_POINTER_UNIQUE, "Pointer to Share (uint16)",hf_srvsvc_srvsvc_NetGetFileSecurity_share);
19498 return offset;
19501 static int
19502 srvsvc_dissect_element_NetGetFileSecurity_share_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19504 char *data = NULL;
19505 struct ndr_generic_array nga = { .is_conformant = false, };
19507 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19509 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19510 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetGetFileSecurity_share, false, &nga, &data);
19511 proto_item_append_text(tree, ": %s", data);
19513 return offset;
19516 static int
19517 srvsvc_dissect_element_NetGetFileSecurity_file(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19519 char *data = NULL;
19520 struct ndr_generic_array nga = { .is_conformant = false, };
19522 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19524 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19525 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetGetFileSecurity_file, false, &nga, &data);
19526 proto_item_append_text(tree, ": %s", data);
19528 return offset;
19531 static int
19532 srvsvc_dissect_element_NetGetFileSecurity_sd_buf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19534 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetGetFileSecurity_sd_buf_, NDR_POINTER_REF, "Pointer to Sd Buf (sec_desc_buf)",hf_srvsvc_srvsvc_NetGetFileSecurity_sd_buf);
19536 return offset;
19539 /* IDL: WERROR srvsvc_NetGetFileSecurity( */
19540 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
19541 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *share, */
19542 /* IDL: [charset(UTF16)] [in] uint16 file[*], */
19543 /* IDL: [in] security_secinfo securityinformation, */
19544 /* IDL: [out] [ref] sec_desc_buf **sd_buf */
19545 /* IDL: ); */
19547 static int
19548 srvsvc_dissect_NetGetFileSecurity_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19550 uint32_t status;
19552 di->dcerpc_procedure_name="NetGetFileSecurity";
19553 offset = srvsvc_dissect_element_NetGetFileSecurity_sd_buf(tvb, offset, pinfo, tree, di, drep);
19554 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19556 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19558 if (status != 0)
19559 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
19561 return offset;
19564 static int
19565 srvsvc_dissect_NetGetFileSecurity_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19567 di->dcerpc_procedure_name="NetGetFileSecurity";
19568 offset = srvsvc_dissect_element_NetGetFileSecurity_server_unc(tvb, offset, pinfo, tree, di, drep);
19569 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19570 offset = srvsvc_dissect_element_NetGetFileSecurity_share(tvb, offset, pinfo, tree, di, drep);
19571 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19572 offset = srvsvc_dissect_element_NetGetFileSecurity_file(tvb, offset, pinfo, tree, di, drep);
19573 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19574 offset = srvsvc_dissect_element_NetGetFileSecurity_securityinformation(tvb, offset, pinfo, tree, di, drep);
19575 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19576 return offset;
19579 static int
19580 srvsvc_dissect_element_NetSetFileSecurity_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19582 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSetFileSecurity_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetSetFileSecurity_server_unc);
19584 return offset;
19587 static int
19588 srvsvc_dissect_element_NetSetFileSecurity_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19590 char *data = NULL;
19591 struct ndr_generic_array nga = { .is_conformant = false, };
19593 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19595 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19596 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSetFileSecurity_server_unc, false, &nga, &data);
19597 proto_item_append_text(tree, ": %s", data);
19599 return offset;
19602 static int
19603 srvsvc_dissect_element_NetSetFileSecurity_share(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19605 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetSetFileSecurity_share_, NDR_POINTER_UNIQUE, "Pointer to Share (uint16)",hf_srvsvc_srvsvc_NetSetFileSecurity_share);
19607 return offset;
19610 static int
19611 srvsvc_dissect_element_NetSetFileSecurity_share_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19613 char *data = NULL;
19614 struct ndr_generic_array nga = { .is_conformant = false, };
19616 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19618 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19619 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSetFileSecurity_share, false, &nga, &data);
19620 proto_item_append_text(tree, ": %s", data);
19622 return offset;
19625 static int
19626 srvsvc_dissect_element_NetSetFileSecurity_file(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19628 char *data = NULL;
19629 struct ndr_generic_array nga = { .is_conformant = false, };
19631 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19633 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19634 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetSetFileSecurity_file, false, &nga, &data);
19635 proto_item_append_text(tree, ": %s", data);
19637 return offset;
19640 /* IDL: WERROR srvsvc_NetSetFileSecurity( */
19641 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
19642 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *share, */
19643 /* IDL: [charset(UTF16)] [in] uint16 file[*], */
19644 /* IDL: [in] security_secinfo securityinformation, */
19645 /* IDL: [in] [ref] sec_desc_buf *sd_buf */
19646 /* IDL: ); */
19648 static int
19649 srvsvc_dissect_NetSetFileSecurity_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19651 uint32_t status;
19653 di->dcerpc_procedure_name="NetSetFileSecurity";
19654 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19656 if (status != 0)
19657 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
19659 return offset;
19662 static int
19663 srvsvc_dissect_NetSetFileSecurity_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19665 di->dcerpc_procedure_name="NetSetFileSecurity";
19666 offset = srvsvc_dissect_element_NetSetFileSecurity_server_unc(tvb, offset, pinfo, tree, di, drep);
19667 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19668 offset = srvsvc_dissect_element_NetSetFileSecurity_share(tvb, offset, pinfo, tree, di, drep);
19669 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19670 offset = srvsvc_dissect_element_NetSetFileSecurity_file(tvb, offset, pinfo, tree, di, drep);
19671 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19672 offset = srvsvc_dissect_element_NetSetFileSecurity_securityinformation(tvb, offset, pinfo, tree, di, drep);
19673 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19674 offset = srvsvc_dissect_element_NetSetFileSecurity_sd_buf(tvb, offset, pinfo, tree, di, drep);
19675 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19676 return offset;
19679 static int
19680 srvsvc_dissect_element_NetServerTransportAddEx_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19682 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetServerTransportAddEx_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetServerTransportAddEx_server_unc);
19684 return offset;
19687 static int
19688 srvsvc_dissect_element_NetServerTransportAddEx_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19690 char *data = NULL;
19691 struct ndr_generic_array nga = { .is_conformant = false, };
19693 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19695 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19696 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetServerTransportAddEx_server_unc, false, &nga, &data);
19697 proto_item_append_text(tree, ": %s", data);
19699 return offset;
19702 static int
19703 srvsvc_dissect_element_NetServerTransportAddEx_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19705 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetServerTransportAddEx_level, 0);
19707 return offset;
19710 static int
19711 srvsvc_dissect_element_NetServerTransportAddEx_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19713 offset = srvsvc_dissect_NetTransportInfo(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetServerTransportAddEx_info, 0);
19715 return offset;
19718 /* IDL: WERROR srvsvc_NetServerTransportAddEx( */
19719 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
19720 /* IDL: [in] uint32 level, */
19721 /* IDL: [in] [switch_is(level)] srvsvc_NetTransportInfo info */
19722 /* IDL: ); */
19724 static int
19725 srvsvc_dissect_NetServerTransportAddEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19727 uint32_t status;
19729 di->dcerpc_procedure_name="NetServerTransportAddEx";
19730 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19732 if (status != 0)
19733 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
19735 return offset;
19738 static int
19739 srvsvc_dissect_NetServerTransportAddEx_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19741 di->dcerpc_procedure_name="NetServerTransportAddEx";
19742 offset = srvsvc_dissect_element_NetServerTransportAddEx_server_unc(tvb, offset, pinfo, tree, di, drep);
19743 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19744 offset = srvsvc_dissect_element_NetServerTransportAddEx_level(tvb, offset, pinfo, tree, di, drep);
19745 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19746 offset = srvsvc_dissect_element_NetServerTransportAddEx_info(tvb, offset, pinfo, tree, di, drep);
19747 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19748 return offset;
19751 static int
19752 srvsvc_dissect_element_NetServerSetServiceBitsEx_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19754 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetServerSetServiceBitsEx_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Server Unc (uint16)",hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_server_unc);
19756 return offset;
19759 static int
19760 srvsvc_dissect_element_NetServerSetServiceBitsEx_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19762 char *data = NULL;
19763 struct ndr_generic_array nga = { .is_conformant = false, };
19765 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19767 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19768 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_server_unc, false, &nga, &data);
19769 proto_item_append_text(tree, ": %s", data);
19771 return offset;
19774 static int
19775 srvsvc_dissect_element_NetServerSetServiceBitsEx_emulated_server_unc(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19777 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetServerSetServiceBitsEx_emulated_server_unc_, NDR_POINTER_UNIQUE, "Pointer to Emulated Server Unc (uint16)",hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_emulated_server_unc);
19779 return offset;
19782 static int
19783 srvsvc_dissect_element_NetServerSetServiceBitsEx_emulated_server_unc_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19785 char *data = NULL;
19786 struct ndr_generic_array nga = { .is_conformant = false, };
19788 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19790 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19791 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_emulated_server_unc, false, &nga, &data);
19792 proto_item_append_text(tree, ": %s", data);
19794 return offset;
19797 static int
19798 srvsvc_dissect_element_NetServerSetServiceBitsEx_transport(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19800 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, srvsvc_dissect_element_NetServerSetServiceBitsEx_transport_, NDR_POINTER_UNIQUE, "Pointer to Transport (uint16)",hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_transport);
19802 return offset;
19805 static int
19806 srvsvc_dissect_element_NetServerSetServiceBitsEx_transport_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19808 char *data = NULL;
19809 struct ndr_generic_array nga = { .is_conformant = false, };
19811 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19813 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
19814 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_transport, false, &nga, &data);
19815 proto_item_append_text(tree, ": %s", data);
19817 return offset;
19820 static int
19821 srvsvc_dissect_element_NetServerSetServiceBitsEx_servicebitsofinterest(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19823 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_servicebitsofinterest, 0);
19825 return offset;
19828 static int
19829 srvsvc_dissect_element_NetServerSetServiceBitsEx_servicebits(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19831 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_servicebits, 0);
19833 return offset;
19836 static int
19837 srvsvc_dissect_element_NetServerSetServiceBitsEx_updateimmediately(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19839 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_updateimmediately, 0);
19841 return offset;
19844 /* IDL: WERROR srvsvc_NetServerSetServiceBitsEx( */
19845 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_unc, */
19846 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *emulated_server_unc, */
19847 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *transport, */
19848 /* IDL: [in] uint32 servicebitsofinterest, */
19849 /* IDL: [in] uint32 servicebits, */
19850 /* IDL: [in] uint32 updateimmediately */
19851 /* IDL: ); */
19853 static int
19854 srvsvc_dissect_NetServerSetServiceBitsEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19856 uint32_t status;
19858 di->dcerpc_procedure_name="NetServerSetServiceBitsEx";
19859 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19861 if (status != 0)
19862 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
19864 return offset;
19867 static int
19868 srvsvc_dissect_NetServerSetServiceBitsEx_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19870 di->dcerpc_procedure_name="NetServerSetServiceBitsEx";
19871 offset = srvsvc_dissect_element_NetServerSetServiceBitsEx_server_unc(tvb, offset, pinfo, tree, di, drep);
19872 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19873 offset = srvsvc_dissect_element_NetServerSetServiceBitsEx_emulated_server_unc(tvb, offset, pinfo, tree, di, drep);
19874 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19875 offset = srvsvc_dissect_element_NetServerSetServiceBitsEx_transport(tvb, offset, pinfo, tree, di, drep);
19876 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19877 offset = srvsvc_dissect_element_NetServerSetServiceBitsEx_servicebitsofinterest(tvb, offset, pinfo, tree, di, drep);
19878 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19879 offset = srvsvc_dissect_element_NetServerSetServiceBitsEx_servicebits(tvb, offset, pinfo, tree, di, drep);
19880 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19881 offset = srvsvc_dissect_element_NetServerSetServiceBitsEx_updateimmediately(tvb, offset, pinfo, tree, di, drep);
19882 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
19883 return offset;
19886 /* IDL: WERROR srvsvc_NETRDFSGETVERSION( */
19887 /* IDL: */
19888 /* IDL: ); */
19890 static int
19891 srvsvc_dissect_NETRDFSGETVERSION_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19893 uint32_t status;
19895 di->dcerpc_procedure_name="NETRDFSGETVERSION";
19896 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19898 if (status != 0)
19899 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
19901 return offset;
19904 static int
19905 srvsvc_dissect_NETRDFSGETVERSION_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19907 di->dcerpc_procedure_name="NETRDFSGETVERSION";
19908 return offset;
19911 /* IDL: WERROR srvsvc_NETRDFSCREATELOCALPARTITION( */
19912 /* IDL: */
19913 /* IDL: ); */
19915 static int
19916 srvsvc_dissect_NETRDFSCREATELOCALPARTITION_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19918 uint32_t status;
19920 di->dcerpc_procedure_name="NETRDFSCREATELOCALPARTITION";
19921 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19923 if (status != 0)
19924 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
19926 return offset;
19929 static int
19930 srvsvc_dissect_NETRDFSCREATELOCALPARTITION_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19932 di->dcerpc_procedure_name="NETRDFSCREATELOCALPARTITION";
19933 return offset;
19936 /* IDL: WERROR srvsvc_NETRDFSDELETELOCALPARTITION( */
19937 /* IDL: */
19938 /* IDL: ); */
19940 static int
19941 srvsvc_dissect_NETRDFSDELETELOCALPARTITION_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19943 uint32_t status;
19945 di->dcerpc_procedure_name="NETRDFSDELETELOCALPARTITION";
19946 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19948 if (status != 0)
19949 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
19951 return offset;
19954 static int
19955 srvsvc_dissect_NETRDFSDELETELOCALPARTITION_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19957 di->dcerpc_procedure_name="NETRDFSDELETELOCALPARTITION";
19958 return offset;
19961 /* IDL: WERROR srvsvc_NETRDFSSETLOCALVOLUMESTATE( */
19962 /* IDL: */
19963 /* IDL: ); */
19965 static int
19966 srvsvc_dissect_NETRDFSSETLOCALVOLUMESTATE_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19968 uint32_t status;
19970 di->dcerpc_procedure_name="NETRDFSSETLOCALVOLUMESTATE";
19971 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19973 if (status != 0)
19974 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
19976 return offset;
19979 static int
19980 srvsvc_dissect_NETRDFSSETLOCALVOLUMESTATE_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19982 di->dcerpc_procedure_name="NETRDFSSETLOCALVOLUMESTATE";
19983 return offset;
19986 /* IDL: WERROR srvsvc_NETRDFSSETSERVERINFO( */
19987 /* IDL: */
19988 /* IDL: ); */
19990 static int
19991 srvsvc_dissect_NETRDFSSETSERVERINFO_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
19993 uint32_t status;
19995 di->dcerpc_procedure_name="NETRDFSSETSERVERINFO";
19996 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
19998 if (status != 0)
19999 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
20001 return offset;
20004 static int
20005 srvsvc_dissect_NETRDFSSETSERVERINFO_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20007 di->dcerpc_procedure_name="NETRDFSSETSERVERINFO";
20008 return offset;
20011 /* IDL: WERROR srvsvc_NETRDFSCREATEEXITPOINT( */
20012 /* IDL: */
20013 /* IDL: ); */
20015 static int
20016 srvsvc_dissect_NETRDFSCREATEEXITPOINT_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20018 uint32_t status;
20020 di->dcerpc_procedure_name="NETRDFSCREATEEXITPOINT";
20021 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
20023 if (status != 0)
20024 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
20026 return offset;
20029 static int
20030 srvsvc_dissect_NETRDFSCREATEEXITPOINT_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20032 di->dcerpc_procedure_name="NETRDFSCREATEEXITPOINT";
20033 return offset;
20036 /* IDL: WERROR srvsvc_NETRDFSDELETEEXITPOINT( */
20037 /* IDL: */
20038 /* IDL: ); */
20040 static int
20041 srvsvc_dissect_NETRDFSDELETEEXITPOINT_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20043 uint32_t status;
20045 di->dcerpc_procedure_name="NETRDFSDELETEEXITPOINT";
20046 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
20048 if (status != 0)
20049 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
20051 return offset;
20054 static int
20055 srvsvc_dissect_NETRDFSDELETEEXITPOINT_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20057 di->dcerpc_procedure_name="NETRDFSDELETEEXITPOINT";
20058 return offset;
20061 /* IDL: WERROR srvsvc_NETRDFSMODIFYPREFIX( */
20062 /* IDL: */
20063 /* IDL: ); */
20065 static int
20066 srvsvc_dissect_NETRDFSMODIFYPREFIX_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20068 uint32_t status;
20070 di->dcerpc_procedure_name="NETRDFSMODIFYPREFIX";
20071 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
20073 if (status != 0)
20074 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
20076 return offset;
20079 static int
20080 srvsvc_dissect_NETRDFSMODIFYPREFIX_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20082 di->dcerpc_procedure_name="NETRDFSMODIFYPREFIX";
20083 return offset;
20086 /* IDL: WERROR srvsvc_NETRDFSFIXLOCALVOLUME( */
20087 /* IDL: */
20088 /* IDL: ); */
20090 static int
20091 srvsvc_dissect_NETRDFSFIXLOCALVOLUME_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20093 uint32_t status;
20095 di->dcerpc_procedure_name="NETRDFSFIXLOCALVOLUME";
20096 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
20098 if (status != 0)
20099 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
20101 return offset;
20104 static int
20105 srvsvc_dissect_NETRDFSFIXLOCALVOLUME_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20107 di->dcerpc_procedure_name="NETRDFSFIXLOCALVOLUME";
20108 return offset;
20111 /* IDL: WERROR srvsvc_NETRDFSMANAGERREPORTSITEINFO( */
20112 /* IDL: */
20113 /* IDL: ); */
20115 static int
20116 srvsvc_dissect_NETRDFSMANAGERREPORTSITEINFO_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20118 uint32_t status;
20120 di->dcerpc_procedure_name="NETRDFSMANAGERREPORTSITEINFO";
20121 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
20123 if (status != 0)
20124 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
20126 return offset;
20129 static int
20130 srvsvc_dissect_NETRDFSMANAGERREPORTSITEINFO_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20132 di->dcerpc_procedure_name="NETRDFSMANAGERREPORTSITEINFO";
20133 return offset;
20136 /* IDL: WERROR srvsvc_NETRSERVERTRANSPORTDELEX( */
20137 /* IDL: */
20138 /* IDL: ); */
20140 static int
20141 srvsvc_dissect_NETRSERVERTRANSPORTDELEX_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20143 uint32_t status;
20145 di->dcerpc_procedure_name="NETRSERVERTRANSPORTDELEX";
20146 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_srvsvc_werror, &status);
20148 if (status != 0)
20149 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
20151 return offset;
20154 static int
20155 srvsvc_dissect_NETRSERVERTRANSPORTDELEX_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
20157 di->dcerpc_procedure_name="NETRSERVERTRANSPORTDELEX";
20158 return offset;
20162 static const dcerpc_sub_dissector srvsvc_dissectors[] = {
20163 { 0, "NetCharDevEnum",
20164 srvsvc_dissect_NetCharDevEnum_request, srvsvc_dissect_NetCharDevEnum_response},
20165 { 1, "NetCharDevGetInfo",
20166 srvsvc_dissect_NetCharDevGetInfo_request, srvsvc_dissect_NetCharDevGetInfo_response},
20167 { 2, "NetCharDevControl",
20168 srvsvc_dissect_NetCharDevControl_request, srvsvc_dissect_NetCharDevControl_response},
20169 { 3, "NetCharDevQEnum",
20170 srvsvc_dissect_NetCharDevQEnum_request, srvsvc_dissect_NetCharDevQEnum_response},
20171 { 4, "NetCharDevQGetInfo",
20172 srvsvc_dissect_NetCharDevQGetInfo_request, srvsvc_dissect_NetCharDevQGetInfo_response},
20173 { 5, "NetCharDevQSetInfo",
20174 srvsvc_dissect_NetCharDevQSetInfo_request, srvsvc_dissect_NetCharDevQSetInfo_response},
20175 { 6, "NetCharDevQPurge",
20176 srvsvc_dissect_NetCharDevQPurge_request, srvsvc_dissect_NetCharDevQPurge_response},
20177 { 7, "NetCharDevQPurgeSelf",
20178 srvsvc_dissect_NetCharDevQPurgeSelf_request, srvsvc_dissect_NetCharDevQPurgeSelf_response},
20179 { 8, "NetConnEnum",
20180 srvsvc_dissect_NetConnEnum_request, srvsvc_dissect_NetConnEnum_response},
20181 { 9, "NetFileEnum",
20182 srvsvc_dissect_NetFileEnum_request, srvsvc_dissect_NetFileEnum_response},
20183 { 10, "NetFileGetInfo",
20184 srvsvc_dissect_NetFileGetInfo_request, srvsvc_dissect_NetFileGetInfo_response},
20185 { 11, "NetFileClose",
20186 srvsvc_dissect_NetFileClose_request, srvsvc_dissect_NetFileClose_response},
20187 { 12, "NetSessEnum",
20188 srvsvc_dissect_NetSessEnum_request, srvsvc_dissect_NetSessEnum_response},
20189 { 13, "NetSessDel",
20190 srvsvc_dissect_NetSessDel_request, srvsvc_dissect_NetSessDel_response},
20191 { 14, "NetShareAdd",
20192 srvsvc_dissect_NetShareAdd_request, srvsvc_dissect_NetShareAdd_response},
20193 { 15, "NetShareEnumAll",
20194 srvsvc_dissect_NetShareEnumAll_request, srvsvc_dissect_NetShareEnumAll_response},
20195 { 16, "NetShareGetInfo",
20196 srvsvc_dissect_NetShareGetInfo_request, srvsvc_dissect_NetShareGetInfo_response},
20197 { 17, "NetShareSetInfo",
20198 srvsvc_dissect_NetShareSetInfo_request, srvsvc_dissect_NetShareSetInfo_response},
20199 { 18, "NetShareDel",
20200 srvsvc_dissect_NetShareDel_request, srvsvc_dissect_NetShareDel_response},
20201 { 19, "NetShareDelSticky",
20202 srvsvc_dissect_NetShareDelSticky_request, srvsvc_dissect_NetShareDelSticky_response},
20203 { 20, "NetShareCheck",
20204 srvsvc_dissect_NetShareCheck_request, srvsvc_dissect_NetShareCheck_response},
20205 { 21, "NetSrvGetInfo",
20206 srvsvc_dissect_NetSrvGetInfo_request, srvsvc_dissect_NetSrvGetInfo_response},
20207 { 22, "NetSrvSetInfo",
20208 srvsvc_dissect_NetSrvSetInfo_request, srvsvc_dissect_NetSrvSetInfo_response},
20209 { 23, "NetDiskEnum",
20210 srvsvc_dissect_NetDiskEnum_request, srvsvc_dissect_NetDiskEnum_response},
20211 { 24, "NetServerStatisticsGet",
20212 srvsvc_dissect_NetServerStatisticsGet_request, srvsvc_dissect_NetServerStatisticsGet_response},
20213 { 25, "NetTransportAdd",
20214 srvsvc_dissect_NetTransportAdd_request, srvsvc_dissect_NetTransportAdd_response},
20215 { 26, "NetTransportEnum",
20216 srvsvc_dissect_NetTransportEnum_request, srvsvc_dissect_NetTransportEnum_response},
20217 { 27, "NetTransportDel",
20218 srvsvc_dissect_NetTransportDel_request, srvsvc_dissect_NetTransportDel_response},
20219 { 28, "NetRemoteTOD",
20220 srvsvc_dissect_NetRemoteTOD_request, srvsvc_dissect_NetRemoteTOD_response},
20221 { 29, "NetSetServiceBits",
20222 srvsvc_dissect_NetSetServiceBits_request, srvsvc_dissect_NetSetServiceBits_response},
20223 { 30, "NetPathType",
20224 srvsvc_dissect_NetPathType_request, srvsvc_dissect_NetPathType_response},
20225 { 31, "NetPathCanonicalize",
20226 srvsvc_dissect_NetPathCanonicalize_request, srvsvc_dissect_NetPathCanonicalize_response},
20227 { 32, "NetPathCompare",
20228 srvsvc_dissect_NetPathCompare_request, srvsvc_dissect_NetPathCompare_response},
20229 { 33, "NetNameValidate",
20230 srvsvc_dissect_NetNameValidate_request, srvsvc_dissect_NetNameValidate_response},
20231 { 34, "NETRPRNAMECANONICALIZE",
20232 srvsvc_dissect_NETRPRNAMECANONICALIZE_request, srvsvc_dissect_NETRPRNAMECANONICALIZE_response},
20233 { 35, "NetPRNameCompare",
20234 srvsvc_dissect_NetPRNameCompare_request, srvsvc_dissect_NetPRNameCompare_response},
20235 { 36, "NetShareEnum",
20236 srvsvc_dissect_NetShareEnum_request, srvsvc_dissect_NetShareEnum_response},
20237 { 37, "NetShareDelStart",
20238 srvsvc_dissect_NetShareDelStart_request, srvsvc_dissect_NetShareDelStart_response},
20239 { 38, "NetShareDelCommit",
20240 srvsvc_dissect_NetShareDelCommit_request, srvsvc_dissect_NetShareDelCommit_response},
20241 { 39, "NetGetFileSecurity",
20242 srvsvc_dissect_NetGetFileSecurity_request, srvsvc_dissect_NetGetFileSecurity_response},
20243 { 40, "NetSetFileSecurity",
20244 srvsvc_dissect_NetSetFileSecurity_request, srvsvc_dissect_NetSetFileSecurity_response},
20245 { 41, "NetServerTransportAddEx",
20246 srvsvc_dissect_NetServerTransportAddEx_request, srvsvc_dissect_NetServerTransportAddEx_response},
20247 { 42, "NetServerSetServiceBitsEx",
20248 srvsvc_dissect_NetServerSetServiceBitsEx_request, srvsvc_dissect_NetServerSetServiceBitsEx_response},
20249 { 43, "NETRDFSGETVERSION",
20250 srvsvc_dissect_NETRDFSGETVERSION_request, srvsvc_dissect_NETRDFSGETVERSION_response},
20251 { 44, "NETRDFSCREATELOCALPARTITION",
20252 srvsvc_dissect_NETRDFSCREATELOCALPARTITION_request, srvsvc_dissect_NETRDFSCREATELOCALPARTITION_response},
20253 { 45, "NETRDFSDELETELOCALPARTITION",
20254 srvsvc_dissect_NETRDFSDELETELOCALPARTITION_request, srvsvc_dissect_NETRDFSDELETELOCALPARTITION_response},
20255 { 46, "NETRDFSSETLOCALVOLUMESTATE",
20256 srvsvc_dissect_NETRDFSSETLOCALVOLUMESTATE_request, srvsvc_dissect_NETRDFSSETLOCALVOLUMESTATE_response},
20257 { 47, "NETRDFSSETSERVERINFO",
20258 srvsvc_dissect_NETRDFSSETSERVERINFO_request, srvsvc_dissect_NETRDFSSETSERVERINFO_response},
20259 { 48, "NETRDFSCREATEEXITPOINT",
20260 srvsvc_dissect_NETRDFSCREATEEXITPOINT_request, srvsvc_dissect_NETRDFSCREATEEXITPOINT_response},
20261 { 49, "NETRDFSDELETEEXITPOINT",
20262 srvsvc_dissect_NETRDFSDELETEEXITPOINT_request, srvsvc_dissect_NETRDFSDELETEEXITPOINT_response},
20263 { 50, "NETRDFSMODIFYPREFIX",
20264 srvsvc_dissect_NETRDFSMODIFYPREFIX_request, srvsvc_dissect_NETRDFSMODIFYPREFIX_response},
20265 { 51, "NETRDFSFIXLOCALVOLUME",
20266 srvsvc_dissect_NETRDFSFIXLOCALVOLUME_request, srvsvc_dissect_NETRDFSFIXLOCALVOLUME_response},
20267 { 52, "NETRDFSMANAGERREPORTSITEINFO",
20268 srvsvc_dissect_NETRDFSMANAGERREPORTSITEINFO_request, srvsvc_dissect_NETRDFSMANAGERREPORTSITEINFO_response},
20269 { 53, "NETRSERVERTRANSPORTDELEX",
20270 srvsvc_dissect_NETRSERVERTRANSPORTDELEX_request, srvsvc_dissect_NETRSERVERTRANSPORTDELEX_response},
20271 { 0, NULL, NULL, NULL }
20274 void proto_register_dcerpc_srvsvc(void)
20276 static hf_register_info hf[] = {
20277 { &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ACCESS_BASED_DIRECTORY_ENUM,
20278 { "SHARE 1005 ACCESS BASED DIRECTORY ENUM", "srvsvc.NetShareInfo1005Flags.SHARE_1005_ACCESS_BASED_DIRECTORY_ENUM", FT_BOOLEAN, 32, TFS(&NetShareInfo1005Flags_SHARE_1005_ACCESS_BASED_DIRECTORY_ENUM_tfs), ( 0x00000800 ), NULL, HFILL }},
20279 { &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ALLOW_NAMESPACE_CACHING,
20280 { "SHARE 1005 ALLOW NAMESPACE CACHING", "srvsvc.NetShareInfo1005Flags.SHARE_1005_ALLOW_NAMESPACE_CACHING", FT_BOOLEAN, 32, TFS(&NetShareInfo1005Flags_SHARE_1005_ALLOW_NAMESPACE_CACHING_tfs), ( 0x00000400 ), NULL, HFILL }},
20281 { &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_AUTO_REINT,
20282 { "SHARE 1005 CSC CACHE AUTO REINT", "srvsvc.NetShareInfo1005Flags.SHARE_1005_CSC_CACHE_AUTO_REINT", FT_BOOLEAN, 32, TFS(&NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_AUTO_REINT_tfs), ( 0x00000010 ), NULL, HFILL }},
20283 { &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_NONE,
20284 { "SHARE 1005 CSC CACHE NONE", "srvsvc.NetShareInfo1005Flags.SHARE_1005_CSC_CACHE_NONE", FT_BOOLEAN, 32, TFS(&NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_NONE_tfs), ( 0x00000030 ), NULL, HFILL }},
20285 { &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_VDO,
20286 { "SHARE 1005 CSC CACHE VDO", "srvsvc.NetShareInfo1005Flags.SHARE_1005_CSC_CACHE_VDO", FT_BOOLEAN, 32, TFS(&NetShareInfo1005Flags_SHARE_1005_CSC_CACHE_VDO_tfs), ( 0x00000020 ), NULL, HFILL }},
20287 { &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_DFS_ROOT,
20288 { "SHARE 1005 DFS ROOT", "srvsvc.NetShareInfo1005Flags.SHARE_1005_DFS_ROOT", FT_BOOLEAN, 32, TFS(&NetShareInfo1005Flags_SHARE_1005_DFS_ROOT_tfs), ( 0x00000002 ), NULL, HFILL }},
20289 { &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ENABLE_CA,
20290 { "SHARE 1005 ENABLE CA", "srvsvc.NetShareInfo1005Flags.SHARE_1005_ENABLE_CA", FT_BOOLEAN, 32, TFS(&NetShareInfo1005Flags_SHARE_1005_ENABLE_CA_tfs), ( 0x00004000 ), NULL, HFILL }},
20291 { &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ENABLE_HASH,
20292 { "SHARE 1005 ENABLE HASH", "srvsvc.NetShareInfo1005Flags.SHARE_1005_ENABLE_HASH", FT_BOOLEAN, 32, TFS(&NetShareInfo1005Flags_SHARE_1005_ENABLE_HASH_tfs), ( 0x00002000 ), NULL, HFILL }},
20293 { &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_ENCRYPT_DATA,
20294 { "SHARE 1005 ENCRYPT DATA", "srvsvc.NetShareInfo1005Flags.SHARE_1005_ENCRYPT_DATA", FT_BOOLEAN, 32, TFS(&NetShareInfo1005Flags_SHARE_1005_ENCRYPT_DATA_tfs), ( 0x00008000 ), NULL, HFILL }},
20295 { &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_FORCE_LEVELII_OPLOCK,
20296 { "SHARE 1005 FORCE LEVELII OPLOCK", "srvsvc.NetShareInfo1005Flags.SHARE_1005_FORCE_LEVELII_OPLOCK", FT_BOOLEAN, 32, TFS(&NetShareInfo1005Flags_SHARE_1005_FORCE_LEVELII_OPLOCK_tfs), ( 0x00001000 ), NULL, HFILL }},
20297 { &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_FORCE_SHARED_DELETE,
20298 { "SHARE 1005 FORCE SHARED DELETE", "srvsvc.NetShareInfo1005Flags.SHARE_1005_FORCE_SHARED_DELETE", FT_BOOLEAN, 32, TFS(&NetShareInfo1005Flags_SHARE_1005_FORCE_SHARED_DELETE_tfs), ( 0x00000200 ), NULL, HFILL }},
20299 { &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_IN_DFS,
20300 { "SHARE 1005 IN DFS", "srvsvc.NetShareInfo1005Flags.SHARE_1005_IN_DFS", FT_BOOLEAN, 32, TFS(&NetShareInfo1005Flags_SHARE_1005_IN_DFS_tfs), ( 0x00000001 ), NULL, HFILL }},
20301 { &hf_srvsvc_NetShareInfo1005Flags_SHARE_1005_RESTRICT_EXCLUSIVE_OPENS,
20302 { "SHARE 1005 RESTRICT EXCLUSIVE OPENS", "srvsvc.NetShareInfo1005Flags.SHARE_1005_RESTRICT_EXCLUSIVE_OPENS", FT_BOOLEAN, 32, TFS(&NetShareInfo1005Flags_SHARE_1005_RESTRICT_EXCLUSIVE_OPENS_tfs), ( 0x00000100 ), NULL, HFILL }},
20303 { &hf_srvsvc_opnum,
20304 { "Operation", "srvsvc.opnum", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
20305 { &hf_srvsvc_sec_desc_buf_len,
20306 { "Sec Desc Buf Len", "srvsvc.sec_desc_buf_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20307 { &hf_srvsvc_srvsvc_NetCharDevControl_device_name,
20308 { "Device Name", "srvsvc.srvsvc_NetCharDevControl.device_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20309 { &hf_srvsvc_srvsvc_NetCharDevControl_opcode,
20310 { "Opcode", "srvsvc.srvsvc_NetCharDevControl.opcode", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20311 { &hf_srvsvc_srvsvc_NetCharDevControl_server_unc,
20312 { "Server Unc", "srvsvc.srvsvc_NetCharDevControl.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20313 { &hf_srvsvc_srvsvc_NetCharDevCtr0_array,
20314 { "Array", "srvsvc.srvsvc_NetCharDevCtr0.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20315 { &hf_srvsvc_srvsvc_NetCharDevCtr0_count,
20316 { "Count", "srvsvc.srvsvc_NetCharDevCtr0.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20317 { &hf_srvsvc_srvsvc_NetCharDevCtr1_array,
20318 { "Array", "srvsvc.srvsvc_NetCharDevCtr1.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20319 { &hf_srvsvc_srvsvc_NetCharDevCtr1_count,
20320 { "Count", "srvsvc.srvsvc_NetCharDevCtr1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20321 { &hf_srvsvc_srvsvc_NetCharDevCtr_ctr0,
20322 { "Ctr0", "srvsvc.srvsvc_NetCharDevCtr.ctr0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20323 { &hf_srvsvc_srvsvc_NetCharDevCtr_ctr1,
20324 { "Ctr1", "srvsvc.srvsvc_NetCharDevCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20325 { &hf_srvsvc_srvsvc_NetCharDevEnum_info_ctr,
20326 { "Info Ctr", "srvsvc.srvsvc_NetCharDevEnum.info_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20327 { &hf_srvsvc_srvsvc_NetCharDevEnum_max_buffer,
20328 { "Max Buffer", "srvsvc.srvsvc_NetCharDevEnum.max_buffer", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20329 { &hf_srvsvc_srvsvc_NetCharDevEnum_resume_handle,
20330 { "Resume Handle", "srvsvc.srvsvc_NetCharDevEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20331 { &hf_srvsvc_srvsvc_NetCharDevEnum_server_unc,
20332 { "Server Unc", "srvsvc.srvsvc_NetCharDevEnum.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20333 { &hf_srvsvc_srvsvc_NetCharDevEnum_totalentries,
20334 { "Totalentries", "srvsvc.srvsvc_NetCharDevEnum.totalentries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20335 { &hf_srvsvc_srvsvc_NetCharDevGetInfo_device_name,
20336 { "Device Name", "srvsvc.srvsvc_NetCharDevGetInfo.device_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20337 { &hf_srvsvc_srvsvc_NetCharDevGetInfo_info,
20338 { "Info", "srvsvc.srvsvc_NetCharDevGetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20339 { &hf_srvsvc_srvsvc_NetCharDevGetInfo_level,
20340 { "Level", "srvsvc.srvsvc_NetCharDevGetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20341 { &hf_srvsvc_srvsvc_NetCharDevGetInfo_server_unc,
20342 { "Server Unc", "srvsvc.srvsvc_NetCharDevGetInfo.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20343 { &hf_srvsvc_srvsvc_NetCharDevInfo0_device,
20344 { "Device", "srvsvc.srvsvc_NetCharDevInfo0.device", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20345 { &hf_srvsvc_srvsvc_NetCharDevInfo1_device,
20346 { "Device", "srvsvc.srvsvc_NetCharDevInfo1.device", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20347 { &hf_srvsvc_srvsvc_NetCharDevInfo1_status,
20348 { "Status", "srvsvc.srvsvc_NetCharDevInfo1.status", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20349 { &hf_srvsvc_srvsvc_NetCharDevInfo1_time,
20350 { "Time", "srvsvc.srvsvc_NetCharDevInfo1.time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20351 { &hf_srvsvc_srvsvc_NetCharDevInfo1_user,
20352 { "User", "srvsvc.srvsvc_NetCharDevInfo1.user", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20353 { &hf_srvsvc_srvsvc_NetCharDevInfoCtr_ctr,
20354 { "Ctr", "srvsvc.srvsvc_NetCharDevInfoCtr.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20355 { &hf_srvsvc_srvsvc_NetCharDevInfoCtr_level,
20356 { "Level", "srvsvc.srvsvc_NetCharDevInfoCtr.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20357 { &hf_srvsvc_srvsvc_NetCharDevInfo_info0,
20358 { "Info0", "srvsvc.srvsvc_NetCharDevInfo.info0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20359 { &hf_srvsvc_srvsvc_NetCharDevInfo_info1,
20360 { "Info1", "srvsvc.srvsvc_NetCharDevInfo.info1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20361 { &hf_srvsvc_srvsvc_NetCharDevQCtr0_array,
20362 { "Array", "srvsvc.srvsvc_NetCharDevQCtr0.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20363 { &hf_srvsvc_srvsvc_NetCharDevQCtr0_count,
20364 { "Count", "srvsvc.srvsvc_NetCharDevQCtr0.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20365 { &hf_srvsvc_srvsvc_NetCharDevQCtr1_array,
20366 { "Array", "srvsvc.srvsvc_NetCharDevQCtr1.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20367 { &hf_srvsvc_srvsvc_NetCharDevQCtr1_count,
20368 { "Count", "srvsvc.srvsvc_NetCharDevQCtr1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20369 { &hf_srvsvc_srvsvc_NetCharDevQCtr_ctr0,
20370 { "Ctr0", "srvsvc.srvsvc_NetCharDevQCtr.ctr0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20371 { &hf_srvsvc_srvsvc_NetCharDevQCtr_ctr1,
20372 { "Ctr1", "srvsvc.srvsvc_NetCharDevQCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20373 { &hf_srvsvc_srvsvc_NetCharDevQEnum_info_ctr,
20374 { "Info Ctr", "srvsvc.srvsvc_NetCharDevQEnum.info_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20375 { &hf_srvsvc_srvsvc_NetCharDevQEnum_max_buffer,
20376 { "Max Buffer", "srvsvc.srvsvc_NetCharDevQEnum.max_buffer", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20377 { &hf_srvsvc_srvsvc_NetCharDevQEnum_resume_handle,
20378 { "Resume Handle", "srvsvc.srvsvc_NetCharDevQEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20379 { &hf_srvsvc_srvsvc_NetCharDevQEnum_server_unc,
20380 { "Server Unc", "srvsvc.srvsvc_NetCharDevQEnum.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20381 { &hf_srvsvc_srvsvc_NetCharDevQEnum_totalentries,
20382 { "Totalentries", "srvsvc.srvsvc_NetCharDevQEnum.totalentries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20383 { &hf_srvsvc_srvsvc_NetCharDevQEnum_user,
20384 { "User", "srvsvc.srvsvc_NetCharDevQEnum.user", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20385 { &hf_srvsvc_srvsvc_NetCharDevQGetInfo_info,
20386 { "Info", "srvsvc.srvsvc_NetCharDevQGetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20387 { &hf_srvsvc_srvsvc_NetCharDevQGetInfo_level,
20388 { "Level", "srvsvc.srvsvc_NetCharDevQGetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20389 { &hf_srvsvc_srvsvc_NetCharDevQGetInfo_queue_name,
20390 { "Queue Name", "srvsvc.srvsvc_NetCharDevQGetInfo.queue_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20391 { &hf_srvsvc_srvsvc_NetCharDevQGetInfo_server_unc,
20392 { "Server Unc", "srvsvc.srvsvc_NetCharDevQGetInfo.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20393 { &hf_srvsvc_srvsvc_NetCharDevQGetInfo_user,
20394 { "User", "srvsvc.srvsvc_NetCharDevQGetInfo.user", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20395 { &hf_srvsvc_srvsvc_NetCharDevQInfo0_device,
20396 { "Device", "srvsvc.srvsvc_NetCharDevQInfo0.device", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20397 { &hf_srvsvc_srvsvc_NetCharDevQInfo1_device,
20398 { "Device", "srvsvc.srvsvc_NetCharDevQInfo1.device", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20399 { &hf_srvsvc_srvsvc_NetCharDevQInfo1_devices,
20400 { "Devices", "srvsvc.srvsvc_NetCharDevQInfo1.devices", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20401 { &hf_srvsvc_srvsvc_NetCharDevQInfo1_num_ahead,
20402 { "Num Ahead", "srvsvc.srvsvc_NetCharDevQInfo1.num_ahead", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20403 { &hf_srvsvc_srvsvc_NetCharDevQInfo1_priority,
20404 { "Priority", "srvsvc.srvsvc_NetCharDevQInfo1.priority", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20405 { &hf_srvsvc_srvsvc_NetCharDevQInfo1_users,
20406 { "Users", "srvsvc.srvsvc_NetCharDevQInfo1.users", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20407 { &hf_srvsvc_srvsvc_NetCharDevQInfoCtr_ctr,
20408 { "Ctr", "srvsvc.srvsvc_NetCharDevQInfoCtr.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20409 { &hf_srvsvc_srvsvc_NetCharDevQInfoCtr_level,
20410 { "Level", "srvsvc.srvsvc_NetCharDevQInfoCtr.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20411 { &hf_srvsvc_srvsvc_NetCharDevQInfo_info0,
20412 { "Info0", "srvsvc.srvsvc_NetCharDevQInfo.info0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20413 { &hf_srvsvc_srvsvc_NetCharDevQInfo_info1,
20414 { "Info1", "srvsvc.srvsvc_NetCharDevQInfo.info1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20415 { &hf_srvsvc_srvsvc_NetCharDevQPurgeSelf_computer_name,
20416 { "Computer Name", "srvsvc.srvsvc_NetCharDevQPurgeSelf.computer_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20417 { &hf_srvsvc_srvsvc_NetCharDevQPurgeSelf_queue_name,
20418 { "Queue Name", "srvsvc.srvsvc_NetCharDevQPurgeSelf.queue_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20419 { &hf_srvsvc_srvsvc_NetCharDevQPurgeSelf_server_unc,
20420 { "Server Unc", "srvsvc.srvsvc_NetCharDevQPurgeSelf.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20421 { &hf_srvsvc_srvsvc_NetCharDevQPurge_queue_name,
20422 { "Queue Name", "srvsvc.srvsvc_NetCharDevQPurge.queue_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20423 { &hf_srvsvc_srvsvc_NetCharDevQPurge_server_unc,
20424 { "Server Unc", "srvsvc.srvsvc_NetCharDevQPurge.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20425 { &hf_srvsvc_srvsvc_NetCharDevQSetInfo_info,
20426 { "Info", "srvsvc.srvsvc_NetCharDevQSetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20427 { &hf_srvsvc_srvsvc_NetCharDevQSetInfo_level,
20428 { "Level", "srvsvc.srvsvc_NetCharDevQSetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20429 { &hf_srvsvc_srvsvc_NetCharDevQSetInfo_parm_error,
20430 { "Parm Error", "srvsvc.srvsvc_NetCharDevQSetInfo.parm_error", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20431 { &hf_srvsvc_srvsvc_NetCharDevQSetInfo_queue_name,
20432 { "Queue Name", "srvsvc.srvsvc_NetCharDevQSetInfo.queue_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20433 { &hf_srvsvc_srvsvc_NetCharDevQSetInfo_server_unc,
20434 { "Server Unc", "srvsvc.srvsvc_NetCharDevQSetInfo.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20435 { &hf_srvsvc_srvsvc_NetConnCtr0_array,
20436 { "Array", "srvsvc.srvsvc_NetConnCtr0.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20437 { &hf_srvsvc_srvsvc_NetConnCtr0_count,
20438 { "Count", "srvsvc.srvsvc_NetConnCtr0.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20439 { &hf_srvsvc_srvsvc_NetConnCtr1_array,
20440 { "Array", "srvsvc.srvsvc_NetConnCtr1.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20441 { &hf_srvsvc_srvsvc_NetConnCtr1_count,
20442 { "Count", "srvsvc.srvsvc_NetConnCtr1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20443 { &hf_srvsvc_srvsvc_NetConnCtr_ctr0,
20444 { "Ctr0", "srvsvc.srvsvc_NetConnCtr.ctr0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20445 { &hf_srvsvc_srvsvc_NetConnCtr_ctr1,
20446 { "Ctr1", "srvsvc.srvsvc_NetConnCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20447 { &hf_srvsvc_srvsvc_NetConnEnum_info_ctr,
20448 { "Info Ctr", "srvsvc.srvsvc_NetConnEnum.info_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20449 { &hf_srvsvc_srvsvc_NetConnEnum_max_buffer,
20450 { "Max Buffer", "srvsvc.srvsvc_NetConnEnum.max_buffer", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20451 { &hf_srvsvc_srvsvc_NetConnEnum_path,
20452 { "Path", "srvsvc.srvsvc_NetConnEnum.path", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20453 { &hf_srvsvc_srvsvc_NetConnEnum_resume_handle,
20454 { "Resume Handle", "srvsvc.srvsvc_NetConnEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20455 { &hf_srvsvc_srvsvc_NetConnEnum_server_unc,
20456 { "Server Unc", "srvsvc.srvsvc_NetConnEnum.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20457 { &hf_srvsvc_srvsvc_NetConnEnum_totalentries,
20458 { "Totalentries", "srvsvc.srvsvc_NetConnEnum.totalentries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20459 { &hf_srvsvc_srvsvc_NetConnInfo0_conn_id,
20460 { "Conn Id", "srvsvc.srvsvc_NetConnInfo0.conn_id", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20461 { &hf_srvsvc_srvsvc_NetConnInfo1_conn_id,
20462 { "Conn Id", "srvsvc.srvsvc_NetConnInfo1.conn_id", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20463 { &hf_srvsvc_srvsvc_NetConnInfo1_conn_time,
20464 { "Conn Time", "srvsvc.srvsvc_NetConnInfo1.conn_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20465 { &hf_srvsvc_srvsvc_NetConnInfo1_conn_type,
20466 { "Conn Type", "srvsvc.srvsvc_NetConnInfo1.conn_type", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20467 { &hf_srvsvc_srvsvc_NetConnInfo1_num_open,
20468 { "Num Open", "srvsvc.srvsvc_NetConnInfo1.num_open", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20469 { &hf_srvsvc_srvsvc_NetConnInfo1_num_users,
20470 { "Num Users", "srvsvc.srvsvc_NetConnInfo1.num_users", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20471 { &hf_srvsvc_srvsvc_NetConnInfo1_share,
20472 { "Share", "srvsvc.srvsvc_NetConnInfo1.share", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20473 { &hf_srvsvc_srvsvc_NetConnInfo1_user,
20474 { "User", "srvsvc.srvsvc_NetConnInfo1.user", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20475 { &hf_srvsvc_srvsvc_NetConnInfoCtr_ctr,
20476 { "Ctr", "srvsvc.srvsvc_NetConnInfoCtr.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20477 { &hf_srvsvc_srvsvc_NetConnInfoCtr_level,
20478 { "Level", "srvsvc.srvsvc_NetConnInfoCtr.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20479 { &hf_srvsvc_srvsvc_NetDiskEnum_info,
20480 { "Info", "srvsvc.srvsvc_NetDiskEnum.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20481 { &hf_srvsvc_srvsvc_NetDiskEnum_level,
20482 { "Level", "srvsvc.srvsvc_NetDiskEnum.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20483 { &hf_srvsvc_srvsvc_NetDiskEnum_maxlen,
20484 { "Maxlen", "srvsvc.srvsvc_NetDiskEnum.maxlen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20485 { &hf_srvsvc_srvsvc_NetDiskEnum_resume_handle,
20486 { "Resume Handle", "srvsvc.srvsvc_NetDiskEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20487 { &hf_srvsvc_srvsvc_NetDiskEnum_server_unc,
20488 { "Server Unc", "srvsvc.srvsvc_NetDiskEnum.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20489 { &hf_srvsvc_srvsvc_NetDiskEnum_totalentries,
20490 { "Totalentries", "srvsvc.srvsvc_NetDiskEnum.totalentries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20491 { &hf_srvsvc_srvsvc_NetDiskInfo0_disk,
20492 { "Disk", "srvsvc.srvsvc_NetDiskInfo0.disk", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20493 { &hf_srvsvc_srvsvc_NetDiskInfo_count,
20494 { "Count", "srvsvc.srvsvc_NetDiskInfo.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20495 { &hf_srvsvc_srvsvc_NetDiskInfo_disks,
20496 { "Disks", "srvsvc.srvsvc_NetDiskInfo.disks", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20497 { &hf_srvsvc_srvsvc_NetFileClose_fid,
20498 { "Fid", "srvsvc.srvsvc_NetFileClose.fid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20499 { &hf_srvsvc_srvsvc_NetFileClose_server_unc,
20500 { "Server Unc", "srvsvc.srvsvc_NetFileClose.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20501 { &hf_srvsvc_srvsvc_NetFileCtr2_array,
20502 { "Array", "srvsvc.srvsvc_NetFileCtr2.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20503 { &hf_srvsvc_srvsvc_NetFileCtr2_count,
20504 { "Count", "srvsvc.srvsvc_NetFileCtr2.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20505 { &hf_srvsvc_srvsvc_NetFileCtr3_array,
20506 { "Array", "srvsvc.srvsvc_NetFileCtr3.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20507 { &hf_srvsvc_srvsvc_NetFileCtr3_count,
20508 { "Count", "srvsvc.srvsvc_NetFileCtr3.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20509 { &hf_srvsvc_srvsvc_NetFileCtr_ctr2,
20510 { "Ctr2", "srvsvc.srvsvc_NetFileCtr.ctr2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20511 { &hf_srvsvc_srvsvc_NetFileCtr_ctr3,
20512 { "Ctr3", "srvsvc.srvsvc_NetFileCtr.ctr3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20513 { &hf_srvsvc_srvsvc_NetFileEnum_info_ctr,
20514 { "Info Ctr", "srvsvc.srvsvc_NetFileEnum.info_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20515 { &hf_srvsvc_srvsvc_NetFileEnum_max_buffer,
20516 { "Max Buffer", "srvsvc.srvsvc_NetFileEnum.max_buffer", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20517 { &hf_srvsvc_srvsvc_NetFileEnum_path,
20518 { "Path", "srvsvc.srvsvc_NetFileEnum.path", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20519 { &hf_srvsvc_srvsvc_NetFileEnum_resume_handle,
20520 { "Resume Handle", "srvsvc.srvsvc_NetFileEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20521 { &hf_srvsvc_srvsvc_NetFileEnum_server_unc,
20522 { "Server Unc", "srvsvc.srvsvc_NetFileEnum.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20523 { &hf_srvsvc_srvsvc_NetFileEnum_totalentries,
20524 { "Totalentries", "srvsvc.srvsvc_NetFileEnum.totalentries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20525 { &hf_srvsvc_srvsvc_NetFileEnum_user,
20526 { "User", "srvsvc.srvsvc_NetFileEnum.user", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20527 { &hf_srvsvc_srvsvc_NetFileGetInfo_fid,
20528 { "Fid", "srvsvc.srvsvc_NetFileGetInfo.fid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20529 { &hf_srvsvc_srvsvc_NetFileGetInfo_info,
20530 { "Info", "srvsvc.srvsvc_NetFileGetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20531 { &hf_srvsvc_srvsvc_NetFileGetInfo_level,
20532 { "Level", "srvsvc.srvsvc_NetFileGetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20533 { &hf_srvsvc_srvsvc_NetFileGetInfo_server_unc,
20534 { "Server Unc", "srvsvc.srvsvc_NetFileGetInfo.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20535 { &hf_srvsvc_srvsvc_NetFileInfo2_fid,
20536 { "Fid", "srvsvc.srvsvc_NetFileInfo2.fid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20537 { &hf_srvsvc_srvsvc_NetFileInfo3_fid,
20538 { "Fid", "srvsvc.srvsvc_NetFileInfo3.fid", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20539 { &hf_srvsvc_srvsvc_NetFileInfo3_num_locks,
20540 { "Num Locks", "srvsvc.srvsvc_NetFileInfo3.num_locks", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20541 { &hf_srvsvc_srvsvc_NetFileInfo3_path,
20542 { "Path", "srvsvc.srvsvc_NetFileInfo3.path", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20543 { &hf_srvsvc_srvsvc_NetFileInfo3_permissions,
20544 { "Permissions", "srvsvc.srvsvc_NetFileInfo3.permissions", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20545 { &hf_srvsvc_srvsvc_NetFileInfo3_user,
20546 { "User", "srvsvc.srvsvc_NetFileInfo3.user", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20547 { &hf_srvsvc_srvsvc_NetFileInfoCtr_ctr,
20548 { "Ctr", "srvsvc.srvsvc_NetFileInfoCtr.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20549 { &hf_srvsvc_srvsvc_NetFileInfoCtr_level,
20550 { "Level", "srvsvc.srvsvc_NetFileInfoCtr.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20551 { &hf_srvsvc_srvsvc_NetFileInfo_info2,
20552 { "Info2", "srvsvc.srvsvc_NetFileInfo.info2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20553 { &hf_srvsvc_srvsvc_NetFileInfo_info3,
20554 { "Info3", "srvsvc.srvsvc_NetFileInfo.info3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20555 { &hf_srvsvc_srvsvc_NetGetFileSecurity_file,
20556 { "File", "srvsvc.srvsvc_NetGetFileSecurity.file", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20557 { &hf_srvsvc_srvsvc_NetGetFileSecurity_sd_buf,
20558 { "Sd Buf", "srvsvc.srvsvc_NetGetFileSecurity.sd_buf", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20559 { &hf_srvsvc_srvsvc_NetGetFileSecurity_securityinformation,
20560 { "Securityinformation", "srvsvc.srvsvc_NetGetFileSecurity.securityinformation", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20561 { &hf_srvsvc_srvsvc_NetGetFileSecurity_server_unc,
20562 { "Server Unc", "srvsvc.srvsvc_NetGetFileSecurity.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20563 { &hf_srvsvc_srvsvc_NetGetFileSecurity_share,
20564 { "Share", "srvsvc.srvsvc_NetGetFileSecurity.share", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20565 { &hf_srvsvc_srvsvc_NetNameValidate_flags,
20566 { "Flags", "srvsvc.srvsvc_NetNameValidate.flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20567 { &hf_srvsvc_srvsvc_NetNameValidate_name,
20568 { "Name", "srvsvc.srvsvc_NetNameValidate.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20569 { &hf_srvsvc_srvsvc_NetNameValidate_name_type,
20570 { "Name Type", "srvsvc.srvsvc_NetNameValidate.name_type", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20571 { &hf_srvsvc_srvsvc_NetNameValidate_server_unc,
20572 { "Server Unc", "srvsvc.srvsvc_NetNameValidate.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20573 { &hf_srvsvc_srvsvc_NetPRNameCompare_flags,
20574 { "Flags", "srvsvc.srvsvc_NetPRNameCompare.flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20575 { &hf_srvsvc_srvsvc_NetPRNameCompare_name1,
20576 { "Name1", "srvsvc.srvsvc_NetPRNameCompare.name1", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20577 { &hf_srvsvc_srvsvc_NetPRNameCompare_name2,
20578 { "Name2", "srvsvc.srvsvc_NetPRNameCompare.name2", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20579 { &hf_srvsvc_srvsvc_NetPRNameCompare_name_type,
20580 { "Name Type", "srvsvc.srvsvc_NetPRNameCompare.name_type", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20581 { &hf_srvsvc_srvsvc_NetPRNameCompare_server_unc,
20582 { "Server Unc", "srvsvc.srvsvc_NetPRNameCompare.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20583 { &hf_srvsvc_srvsvc_NetPathCanonicalize_can_path,
20584 { "Can Path", "srvsvc.srvsvc_NetPathCanonicalize.can_path", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
20585 { &hf_srvsvc_srvsvc_NetPathCanonicalize_maxbuf,
20586 { "Maxbuf", "srvsvc.srvsvc_NetPathCanonicalize.maxbuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20587 { &hf_srvsvc_srvsvc_NetPathCanonicalize_path,
20588 { "Path", "srvsvc.srvsvc_NetPathCanonicalize.path", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20589 { &hf_srvsvc_srvsvc_NetPathCanonicalize_pathflags,
20590 { "Pathflags", "srvsvc.srvsvc_NetPathCanonicalize.pathflags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20591 { &hf_srvsvc_srvsvc_NetPathCanonicalize_pathtype,
20592 { "Pathtype", "srvsvc.srvsvc_NetPathCanonicalize.pathtype", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20593 { &hf_srvsvc_srvsvc_NetPathCanonicalize_prefix,
20594 { "Prefix", "srvsvc.srvsvc_NetPathCanonicalize.prefix", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20595 { &hf_srvsvc_srvsvc_NetPathCanonicalize_server_unc,
20596 { "Server Unc", "srvsvc.srvsvc_NetPathCanonicalize.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20597 { &hf_srvsvc_srvsvc_NetPathCompare_path1,
20598 { "Path1", "srvsvc.srvsvc_NetPathCompare.path1", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20599 { &hf_srvsvc_srvsvc_NetPathCompare_path2,
20600 { "Path2", "srvsvc.srvsvc_NetPathCompare.path2", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20601 { &hf_srvsvc_srvsvc_NetPathCompare_pathflags,
20602 { "Pathflags", "srvsvc.srvsvc_NetPathCompare.pathflags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20603 { &hf_srvsvc_srvsvc_NetPathCompare_pathtype,
20604 { "Pathtype", "srvsvc.srvsvc_NetPathCompare.pathtype", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20605 { &hf_srvsvc_srvsvc_NetPathCompare_server_unc,
20606 { "Server Unc", "srvsvc.srvsvc_NetPathCompare.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20607 { &hf_srvsvc_srvsvc_NetPathType_path,
20608 { "Path", "srvsvc.srvsvc_NetPathType.path", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20609 { &hf_srvsvc_srvsvc_NetPathType_pathflags,
20610 { "Pathflags", "srvsvc.srvsvc_NetPathType.pathflags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20611 { &hf_srvsvc_srvsvc_NetPathType_pathtype,
20612 { "Pathtype", "srvsvc.srvsvc_NetPathType.pathtype", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20613 { &hf_srvsvc_srvsvc_NetPathType_server_unc,
20614 { "Server Unc", "srvsvc.srvsvc_NetPathType.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20615 { &hf_srvsvc_srvsvc_NetRemoteTODInfo_day,
20616 { "Day", "srvsvc.srvsvc_NetRemoteTODInfo.day", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20617 { &hf_srvsvc_srvsvc_NetRemoteTODInfo_elapsed,
20618 { "Elapsed", "srvsvc.srvsvc_NetRemoteTODInfo.elapsed", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20619 { &hf_srvsvc_srvsvc_NetRemoteTODInfo_hours,
20620 { "Hours", "srvsvc.srvsvc_NetRemoteTODInfo.hours", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20621 { &hf_srvsvc_srvsvc_NetRemoteTODInfo_hunds,
20622 { "Hunds", "srvsvc.srvsvc_NetRemoteTODInfo.hunds", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20623 { &hf_srvsvc_srvsvc_NetRemoteTODInfo_mins,
20624 { "Mins", "srvsvc.srvsvc_NetRemoteTODInfo.mins", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20625 { &hf_srvsvc_srvsvc_NetRemoteTODInfo_month,
20626 { "Month", "srvsvc.srvsvc_NetRemoteTODInfo.month", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20627 { &hf_srvsvc_srvsvc_NetRemoteTODInfo_msecs,
20628 { "Msecs", "srvsvc.srvsvc_NetRemoteTODInfo.msecs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20629 { &hf_srvsvc_srvsvc_NetRemoteTODInfo_secs,
20630 { "Secs", "srvsvc.srvsvc_NetRemoteTODInfo.secs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20631 { &hf_srvsvc_srvsvc_NetRemoteTODInfo_timezone,
20632 { "Timezone", "srvsvc.srvsvc_NetRemoteTODInfo.timezone", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20633 { &hf_srvsvc_srvsvc_NetRemoteTODInfo_tinterval,
20634 { "Tinterval", "srvsvc.srvsvc_NetRemoteTODInfo.tinterval", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20635 { &hf_srvsvc_srvsvc_NetRemoteTODInfo_weekday,
20636 { "Weekday", "srvsvc.srvsvc_NetRemoteTODInfo.weekday", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20637 { &hf_srvsvc_srvsvc_NetRemoteTODInfo_year,
20638 { "Year", "srvsvc.srvsvc_NetRemoteTODInfo.year", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20639 { &hf_srvsvc_srvsvc_NetRemoteTOD_info,
20640 { "Info", "srvsvc.srvsvc_NetRemoteTOD.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20641 { &hf_srvsvc_srvsvc_NetRemoteTOD_server_unc,
20642 { "Server Unc", "srvsvc.srvsvc_NetRemoteTOD.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20643 { &hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_emulated_server_unc,
20644 { "Emulated Server Unc", "srvsvc.srvsvc_NetServerSetServiceBitsEx.emulated_server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20645 { &hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_server_unc,
20646 { "Server Unc", "srvsvc.srvsvc_NetServerSetServiceBitsEx.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20647 { &hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_servicebits,
20648 { "Servicebits", "srvsvc.srvsvc_NetServerSetServiceBitsEx.servicebits", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20649 { &hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_servicebitsofinterest,
20650 { "Servicebitsofinterest", "srvsvc.srvsvc_NetServerSetServiceBitsEx.servicebitsofinterest", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20651 { &hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_transport,
20652 { "Transport", "srvsvc.srvsvc_NetServerSetServiceBitsEx.transport", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20653 { &hf_srvsvc_srvsvc_NetServerSetServiceBitsEx_updateimmediately,
20654 { "Updateimmediately", "srvsvc.srvsvc_NetServerSetServiceBitsEx.updateimmediately", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20655 { &hf_srvsvc_srvsvc_NetServerStatisticsGet_level,
20656 { "Level", "srvsvc.srvsvc_NetServerStatisticsGet.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20657 { &hf_srvsvc_srvsvc_NetServerStatisticsGet_options,
20658 { "Options", "srvsvc.srvsvc_NetServerStatisticsGet.options", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20659 { &hf_srvsvc_srvsvc_NetServerStatisticsGet_server_unc,
20660 { "Server Unc", "srvsvc.srvsvc_NetServerStatisticsGet.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20661 { &hf_srvsvc_srvsvc_NetServerStatisticsGet_service,
20662 { "Service", "srvsvc.srvsvc_NetServerStatisticsGet.service", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20663 { &hf_srvsvc_srvsvc_NetServerStatisticsGet_stats,
20664 { "Stats", "srvsvc.srvsvc_NetServerStatisticsGet.stats", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20665 { &hf_srvsvc_srvsvc_NetServerTransportAddEx_info,
20666 { "Info", "srvsvc.srvsvc_NetServerTransportAddEx.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20667 { &hf_srvsvc_srvsvc_NetServerTransportAddEx_level,
20668 { "Level", "srvsvc.srvsvc_NetServerTransportAddEx.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20669 { &hf_srvsvc_srvsvc_NetServerTransportAddEx_server_unc,
20670 { "Server Unc", "srvsvc.srvsvc_NetServerTransportAddEx.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20671 { &hf_srvsvc_srvsvc_NetSessCtr0_array,
20672 { "Array", "srvsvc.srvsvc_NetSessCtr0.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20673 { &hf_srvsvc_srvsvc_NetSessCtr0_count,
20674 { "Count", "srvsvc.srvsvc_NetSessCtr0.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20675 { &hf_srvsvc_srvsvc_NetSessCtr10_array,
20676 { "Array", "srvsvc.srvsvc_NetSessCtr10.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20677 { &hf_srvsvc_srvsvc_NetSessCtr10_count,
20678 { "Count", "srvsvc.srvsvc_NetSessCtr10.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20679 { &hf_srvsvc_srvsvc_NetSessCtr1_array,
20680 { "Array", "srvsvc.srvsvc_NetSessCtr1.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20681 { &hf_srvsvc_srvsvc_NetSessCtr1_count,
20682 { "Count", "srvsvc.srvsvc_NetSessCtr1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20683 { &hf_srvsvc_srvsvc_NetSessCtr2_array,
20684 { "Array", "srvsvc.srvsvc_NetSessCtr2.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20685 { &hf_srvsvc_srvsvc_NetSessCtr2_count,
20686 { "Count", "srvsvc.srvsvc_NetSessCtr2.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20687 { &hf_srvsvc_srvsvc_NetSessCtr502_array,
20688 { "Array", "srvsvc.srvsvc_NetSessCtr502.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20689 { &hf_srvsvc_srvsvc_NetSessCtr502_count,
20690 { "Count", "srvsvc.srvsvc_NetSessCtr502.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20691 { &hf_srvsvc_srvsvc_NetSessCtr_ctr0,
20692 { "Ctr0", "srvsvc.srvsvc_NetSessCtr.ctr0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20693 { &hf_srvsvc_srvsvc_NetSessCtr_ctr1,
20694 { "Ctr1", "srvsvc.srvsvc_NetSessCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20695 { &hf_srvsvc_srvsvc_NetSessCtr_ctr10,
20696 { "Ctr10", "srvsvc.srvsvc_NetSessCtr.ctr10", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20697 { &hf_srvsvc_srvsvc_NetSessCtr_ctr2,
20698 { "Ctr2", "srvsvc.srvsvc_NetSessCtr.ctr2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20699 { &hf_srvsvc_srvsvc_NetSessCtr_ctr502,
20700 { "Ctr502", "srvsvc.srvsvc_NetSessCtr.ctr502", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20701 { &hf_srvsvc_srvsvc_NetSessDel_client,
20702 { "Client", "srvsvc.srvsvc_NetSessDel.client", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20703 { &hf_srvsvc_srvsvc_NetSessDel_server_unc,
20704 { "Server Unc", "srvsvc.srvsvc_NetSessDel.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20705 { &hf_srvsvc_srvsvc_NetSessDel_user,
20706 { "User", "srvsvc.srvsvc_NetSessDel.user", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20707 { &hf_srvsvc_srvsvc_NetSessEnum_client,
20708 { "Client", "srvsvc.srvsvc_NetSessEnum.client", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20709 { &hf_srvsvc_srvsvc_NetSessEnum_info_ctr,
20710 { "Info Ctr", "srvsvc.srvsvc_NetSessEnum.info_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20711 { &hf_srvsvc_srvsvc_NetSessEnum_max_buffer,
20712 { "Max Buffer", "srvsvc.srvsvc_NetSessEnum.max_buffer", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20713 { &hf_srvsvc_srvsvc_NetSessEnum_resume_handle,
20714 { "Resume Handle", "srvsvc.srvsvc_NetSessEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20715 { &hf_srvsvc_srvsvc_NetSessEnum_server_unc,
20716 { "Server Unc", "srvsvc.srvsvc_NetSessEnum.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20717 { &hf_srvsvc_srvsvc_NetSessEnum_totalentries,
20718 { "Totalentries", "srvsvc.srvsvc_NetSessEnum.totalentries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20719 { &hf_srvsvc_srvsvc_NetSessEnum_user,
20720 { "User", "srvsvc.srvsvc_NetSessEnum.user", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20721 { &hf_srvsvc_srvsvc_NetSessInfo0_client,
20722 { "Client", "srvsvc.srvsvc_NetSessInfo0.client", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20723 { &hf_srvsvc_srvsvc_NetSessInfo10_client,
20724 { "Client", "srvsvc.srvsvc_NetSessInfo10.client", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20725 { &hf_srvsvc_srvsvc_NetSessInfo10_idle_time,
20726 { "Idle Time", "srvsvc.srvsvc_NetSessInfo10.idle_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20727 { &hf_srvsvc_srvsvc_NetSessInfo10_time,
20728 { "Time", "srvsvc.srvsvc_NetSessInfo10.time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20729 { &hf_srvsvc_srvsvc_NetSessInfo10_user,
20730 { "User", "srvsvc.srvsvc_NetSessInfo10.user", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20731 { &hf_srvsvc_srvsvc_NetSessInfo1_client,
20732 { "Client", "srvsvc.srvsvc_NetSessInfo1.client", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20733 { &hf_srvsvc_srvsvc_NetSessInfo1_idle_time,
20734 { "Idle Time", "srvsvc.srvsvc_NetSessInfo1.idle_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20735 { &hf_srvsvc_srvsvc_NetSessInfo1_num_open,
20736 { "Num Open", "srvsvc.srvsvc_NetSessInfo1.num_open", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20737 { &hf_srvsvc_srvsvc_NetSessInfo1_time,
20738 { "Time", "srvsvc.srvsvc_NetSessInfo1.time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20739 { &hf_srvsvc_srvsvc_NetSessInfo1_user,
20740 { "User", "srvsvc.srvsvc_NetSessInfo1.user", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20741 { &hf_srvsvc_srvsvc_NetSessInfo1_user_flags,
20742 { "User Flags", "srvsvc.srvsvc_NetSessInfo1.user_flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20743 { &hf_srvsvc_srvsvc_NetSessInfo2_client,
20744 { "Client", "srvsvc.srvsvc_NetSessInfo2.client", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20745 { &hf_srvsvc_srvsvc_NetSessInfo2_client_type,
20746 { "Client Type", "srvsvc.srvsvc_NetSessInfo2.client_type", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20747 { &hf_srvsvc_srvsvc_NetSessInfo2_idle_time,
20748 { "Idle Time", "srvsvc.srvsvc_NetSessInfo2.idle_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20749 { &hf_srvsvc_srvsvc_NetSessInfo2_num_open,
20750 { "Num Open", "srvsvc.srvsvc_NetSessInfo2.num_open", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20751 { &hf_srvsvc_srvsvc_NetSessInfo2_time,
20752 { "Time", "srvsvc.srvsvc_NetSessInfo2.time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20753 { &hf_srvsvc_srvsvc_NetSessInfo2_user,
20754 { "User", "srvsvc.srvsvc_NetSessInfo2.user", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20755 { &hf_srvsvc_srvsvc_NetSessInfo2_user_flags,
20756 { "User Flags", "srvsvc.srvsvc_NetSessInfo2.user_flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20757 { &hf_srvsvc_srvsvc_NetSessInfo502_client,
20758 { "Client", "srvsvc.srvsvc_NetSessInfo502.client", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20759 { &hf_srvsvc_srvsvc_NetSessInfo502_client_type,
20760 { "Client Type", "srvsvc.srvsvc_NetSessInfo502.client_type", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20761 { &hf_srvsvc_srvsvc_NetSessInfo502_idle_time,
20762 { "Idle Time", "srvsvc.srvsvc_NetSessInfo502.idle_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20763 { &hf_srvsvc_srvsvc_NetSessInfo502_num_open,
20764 { "Num Open", "srvsvc.srvsvc_NetSessInfo502.num_open", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20765 { &hf_srvsvc_srvsvc_NetSessInfo502_time,
20766 { "Time", "srvsvc.srvsvc_NetSessInfo502.time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20767 { &hf_srvsvc_srvsvc_NetSessInfo502_transport,
20768 { "Transport", "srvsvc.srvsvc_NetSessInfo502.transport", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20769 { &hf_srvsvc_srvsvc_NetSessInfo502_user,
20770 { "User", "srvsvc.srvsvc_NetSessInfo502.user", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20771 { &hf_srvsvc_srvsvc_NetSessInfo502_user_flags,
20772 { "User Flags", "srvsvc.srvsvc_NetSessInfo502.user_flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20773 { &hf_srvsvc_srvsvc_NetSessInfoCtr_ctr,
20774 { "Ctr", "srvsvc.srvsvc_NetSessInfoCtr.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20775 { &hf_srvsvc_srvsvc_NetSessInfoCtr_level,
20776 { "Level", "srvsvc.srvsvc_NetSessInfoCtr.level", FT_UINT1632, BASE_DEC, VALS(srvsvc_SESSION_INFO_LEVEL_vals), 0, NULL, HFILL }},
20777 { &hf_srvsvc_srvsvc_NetSetFileSecurity_file,
20778 { "File", "srvsvc.srvsvc_NetSetFileSecurity.file", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20779 { &hf_srvsvc_srvsvc_NetSetFileSecurity_sd_buf,
20780 { "Sd Buf", "srvsvc.srvsvc_NetSetFileSecurity.sd_buf", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20781 { &hf_srvsvc_srvsvc_NetSetFileSecurity_securityinformation,
20782 { "Securityinformation", "srvsvc.srvsvc_NetSetFileSecurity.securityinformation", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20783 { &hf_srvsvc_srvsvc_NetSetFileSecurity_server_unc,
20784 { "Server Unc", "srvsvc.srvsvc_NetSetFileSecurity.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20785 { &hf_srvsvc_srvsvc_NetSetFileSecurity_share,
20786 { "Share", "srvsvc.srvsvc_NetSetFileSecurity.share", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20787 { &hf_srvsvc_srvsvc_NetSetServiceBits_server_unc,
20788 { "Server Unc", "srvsvc.srvsvc_NetSetServiceBits.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20789 { &hf_srvsvc_srvsvc_NetSetServiceBits_servicebits,
20790 { "Servicebits", "srvsvc.srvsvc_NetSetServiceBits.servicebits", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20791 { &hf_srvsvc_srvsvc_NetSetServiceBits_transport,
20792 { "Transport", "srvsvc.srvsvc_NetSetServiceBits.transport", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20793 { &hf_srvsvc_srvsvc_NetSetServiceBits_updateimmediately,
20794 { "Updateimmediately", "srvsvc.srvsvc_NetSetServiceBits.updateimmediately", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20795 { &hf_srvsvc_srvsvc_NetShareAdd_info,
20796 { "Info", "srvsvc.srvsvc_NetShareAdd.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20797 { &hf_srvsvc_srvsvc_NetShareAdd_level,
20798 { "Level", "srvsvc.srvsvc_NetShareAdd.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20799 { &hf_srvsvc_srvsvc_NetShareAdd_parm_error,
20800 { "Parm Error", "srvsvc.srvsvc_NetShareAdd.parm_error", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20801 { &hf_srvsvc_srvsvc_NetShareAdd_server_unc,
20802 { "Server Unc", "srvsvc.srvsvc_NetShareAdd.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20803 { &hf_srvsvc_srvsvc_NetShareCheck_device_name,
20804 { "Device Name", "srvsvc.srvsvc_NetShareCheck.device_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20805 { &hf_srvsvc_srvsvc_NetShareCheck_server_unc,
20806 { "Server Unc", "srvsvc.srvsvc_NetShareCheck.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20807 { &hf_srvsvc_srvsvc_NetShareCheck_type,
20808 { "Type", "srvsvc.srvsvc_NetShareCheck.type", FT_UINT32, BASE_HEX, VALS(srvsvc_srvsvc_ShareType_vals), 0, NULL, HFILL }},
20809 { &hf_srvsvc_srvsvc_NetShareCtr0_array,
20810 { "Array", "srvsvc.srvsvc_NetShareCtr0.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20811 { &hf_srvsvc_srvsvc_NetShareCtr0_count,
20812 { "Count", "srvsvc.srvsvc_NetShareCtr0.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20813 { &hf_srvsvc_srvsvc_NetShareCtr1004_array,
20814 { "Array", "srvsvc.srvsvc_NetShareCtr1004.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20815 { &hf_srvsvc_srvsvc_NetShareCtr1004_count,
20816 { "Count", "srvsvc.srvsvc_NetShareCtr1004.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20817 { &hf_srvsvc_srvsvc_NetShareCtr1005_array,
20818 { "Array", "srvsvc.srvsvc_NetShareCtr1005.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20819 { &hf_srvsvc_srvsvc_NetShareCtr1005_count,
20820 { "Count", "srvsvc.srvsvc_NetShareCtr1005.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20821 { &hf_srvsvc_srvsvc_NetShareCtr1006_array,
20822 { "Array", "srvsvc.srvsvc_NetShareCtr1006.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20823 { &hf_srvsvc_srvsvc_NetShareCtr1006_count,
20824 { "Count", "srvsvc.srvsvc_NetShareCtr1006.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20825 { &hf_srvsvc_srvsvc_NetShareCtr1007_array,
20826 { "Array", "srvsvc.srvsvc_NetShareCtr1007.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20827 { &hf_srvsvc_srvsvc_NetShareCtr1007_count,
20828 { "Count", "srvsvc.srvsvc_NetShareCtr1007.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20829 { &hf_srvsvc_srvsvc_NetShareCtr1501_array,
20830 { "Array", "srvsvc.srvsvc_NetShareCtr1501.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20831 { &hf_srvsvc_srvsvc_NetShareCtr1501_count,
20832 { "Count", "srvsvc.srvsvc_NetShareCtr1501.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20833 { &hf_srvsvc_srvsvc_NetShareCtr1_array,
20834 { "Array", "srvsvc.srvsvc_NetShareCtr1.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20835 { &hf_srvsvc_srvsvc_NetShareCtr1_count,
20836 { "Count", "srvsvc.srvsvc_NetShareCtr1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20837 { &hf_srvsvc_srvsvc_NetShareCtr2_array,
20838 { "Array", "srvsvc.srvsvc_NetShareCtr2.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20839 { &hf_srvsvc_srvsvc_NetShareCtr2_count,
20840 { "Count", "srvsvc.srvsvc_NetShareCtr2.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20841 { &hf_srvsvc_srvsvc_NetShareCtr501_array,
20842 { "Array", "srvsvc.srvsvc_NetShareCtr501.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20843 { &hf_srvsvc_srvsvc_NetShareCtr501_count,
20844 { "Count", "srvsvc.srvsvc_NetShareCtr501.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20845 { &hf_srvsvc_srvsvc_NetShareCtr502_array,
20846 { "Array", "srvsvc.srvsvc_NetShareCtr502.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20847 { &hf_srvsvc_srvsvc_NetShareCtr502_count,
20848 { "Count", "srvsvc.srvsvc_NetShareCtr502.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20849 { &hf_srvsvc_srvsvc_NetShareCtr_ctr0,
20850 { "Ctr0", "srvsvc.srvsvc_NetShareCtr.ctr0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20851 { &hf_srvsvc_srvsvc_NetShareCtr_ctr1,
20852 { "Ctr1", "srvsvc.srvsvc_NetShareCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20853 { &hf_srvsvc_srvsvc_NetShareCtr_ctr1004,
20854 { "Ctr1004", "srvsvc.srvsvc_NetShareCtr.ctr1004", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20855 { &hf_srvsvc_srvsvc_NetShareCtr_ctr1005,
20856 { "Ctr1005", "srvsvc.srvsvc_NetShareCtr.ctr1005", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20857 { &hf_srvsvc_srvsvc_NetShareCtr_ctr1006,
20858 { "Ctr1006", "srvsvc.srvsvc_NetShareCtr.ctr1006", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20859 { &hf_srvsvc_srvsvc_NetShareCtr_ctr1007,
20860 { "Ctr1007", "srvsvc.srvsvc_NetShareCtr.ctr1007", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20861 { &hf_srvsvc_srvsvc_NetShareCtr_ctr1501,
20862 { "Ctr1501", "srvsvc.srvsvc_NetShareCtr.ctr1501", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20863 { &hf_srvsvc_srvsvc_NetShareCtr_ctr2,
20864 { "Ctr2", "srvsvc.srvsvc_NetShareCtr.ctr2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20865 { &hf_srvsvc_srvsvc_NetShareCtr_ctr501,
20866 { "Ctr501", "srvsvc.srvsvc_NetShareCtr.ctr501", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20867 { &hf_srvsvc_srvsvc_NetShareCtr_ctr502,
20868 { "Ctr502", "srvsvc.srvsvc_NetShareCtr.ctr502", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20869 { &hf_srvsvc_srvsvc_NetShareDelCommit_hnd,
20870 { "Hnd", "srvsvc.srvsvc_NetShareDelCommit.hnd", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20871 { &hf_srvsvc_srvsvc_NetShareDelStart_hnd,
20872 { "Hnd", "srvsvc.srvsvc_NetShareDelStart.hnd", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
20873 { &hf_srvsvc_srvsvc_NetShareDelStart_reserved,
20874 { "Reserved", "srvsvc.srvsvc_NetShareDelStart.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20875 { &hf_srvsvc_srvsvc_NetShareDelStart_server_unc,
20876 { "Server Unc", "srvsvc.srvsvc_NetShareDelStart.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20877 { &hf_srvsvc_srvsvc_NetShareDelStart_share,
20878 { "Share", "srvsvc.srvsvc_NetShareDelStart.share", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20879 { &hf_srvsvc_srvsvc_NetShareDelSticky_reserved,
20880 { "Reserved", "srvsvc.srvsvc_NetShareDelSticky.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20881 { &hf_srvsvc_srvsvc_NetShareDelSticky_server_unc,
20882 { "Server Unc", "srvsvc.srvsvc_NetShareDelSticky.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20883 { &hf_srvsvc_srvsvc_NetShareDelSticky_share_name,
20884 { "Share Name", "srvsvc.srvsvc_NetShareDelSticky.share_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20885 { &hf_srvsvc_srvsvc_NetShareDel_reserved,
20886 { "Reserved", "srvsvc.srvsvc_NetShareDel.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20887 { &hf_srvsvc_srvsvc_NetShareDel_server_unc,
20888 { "Server Unc", "srvsvc.srvsvc_NetShareDel.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20889 { &hf_srvsvc_srvsvc_NetShareDel_share_name,
20890 { "Share Name", "srvsvc.srvsvc_NetShareDel.share_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20891 { &hf_srvsvc_srvsvc_NetShareEnumAll_info_ctr,
20892 { "Info Ctr", "srvsvc.srvsvc_NetShareEnumAll.info_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20893 { &hf_srvsvc_srvsvc_NetShareEnumAll_max_buffer,
20894 { "Max Buffer", "srvsvc.srvsvc_NetShareEnumAll.max_buffer", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20895 { &hf_srvsvc_srvsvc_NetShareEnumAll_resume_handle,
20896 { "Resume Handle", "srvsvc.srvsvc_NetShareEnumAll.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20897 { &hf_srvsvc_srvsvc_NetShareEnumAll_server_unc,
20898 { "Server Unc", "srvsvc.srvsvc_NetShareEnumAll.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20899 { &hf_srvsvc_srvsvc_NetShareEnumAll_totalentries,
20900 { "Totalentries", "srvsvc.srvsvc_NetShareEnumAll.totalentries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20901 { &hf_srvsvc_srvsvc_NetShareEnum_info_ctr,
20902 { "Info Ctr", "srvsvc.srvsvc_NetShareEnum.info_ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20903 { &hf_srvsvc_srvsvc_NetShareEnum_max_buffer,
20904 { "Max Buffer", "srvsvc.srvsvc_NetShareEnum.max_buffer", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20905 { &hf_srvsvc_srvsvc_NetShareEnum_resume_handle,
20906 { "Resume Handle", "srvsvc.srvsvc_NetShareEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20907 { &hf_srvsvc_srvsvc_NetShareEnum_server_unc,
20908 { "Server Unc", "srvsvc.srvsvc_NetShareEnum.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20909 { &hf_srvsvc_srvsvc_NetShareEnum_totalentries,
20910 { "Totalentries", "srvsvc.srvsvc_NetShareEnum.totalentries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20911 { &hf_srvsvc_srvsvc_NetShareGetInfo_info,
20912 { "Info", "srvsvc.srvsvc_NetShareGetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20913 { &hf_srvsvc_srvsvc_NetShareGetInfo_level,
20914 { "Level", "srvsvc.srvsvc_NetShareGetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20915 { &hf_srvsvc_srvsvc_NetShareGetInfo_server_unc,
20916 { "Server Unc", "srvsvc.srvsvc_NetShareGetInfo.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20917 { &hf_srvsvc_srvsvc_NetShareGetInfo_share_name,
20918 { "Share Name", "srvsvc.srvsvc_NetShareGetInfo.share_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20919 { &hf_srvsvc_srvsvc_NetShareInfo0_name,
20920 { "Name", "srvsvc.srvsvc_NetShareInfo0.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20921 { &hf_srvsvc_srvsvc_NetShareInfo1004_comment,
20922 { "Comment", "srvsvc.srvsvc_NetShareInfo1004.comment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20923 { &hf_srvsvc_srvsvc_NetShareInfo1005_dfs_flags,
20924 { "Dfs Flags", "srvsvc.srvsvc_NetShareInfo1005.dfs_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
20925 { &hf_srvsvc_srvsvc_NetShareInfo1006_max_users,
20926 { "Max Users", "srvsvc.srvsvc_NetShareInfo1006.max_users", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20927 { &hf_srvsvc_srvsvc_NetShareInfo1007_alternate_directory_name,
20928 { "Alternate Directory Name", "srvsvc.srvsvc_NetShareInfo1007.alternate_directory_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20929 { &hf_srvsvc_srvsvc_NetShareInfo1007_flags,
20930 { "Flags", "srvsvc.srvsvc_NetShareInfo1007.flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20931 { &hf_srvsvc_srvsvc_NetShareInfo1_comment,
20932 { "Comment", "srvsvc.srvsvc_NetShareInfo1.comment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20933 { &hf_srvsvc_srvsvc_NetShareInfo1_name,
20934 { "Name", "srvsvc.srvsvc_NetShareInfo1.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20935 { &hf_srvsvc_srvsvc_NetShareInfo1_type,
20936 { "Type", "srvsvc.srvsvc_NetShareInfo1.type", FT_UINT32, BASE_HEX, VALS(srvsvc_srvsvc_ShareType_vals), 0, NULL, HFILL }},
20937 { &hf_srvsvc_srvsvc_NetShareInfo2_comment,
20938 { "Comment", "srvsvc.srvsvc_NetShareInfo2.comment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20939 { &hf_srvsvc_srvsvc_NetShareInfo2_current_users,
20940 { "Current Users", "srvsvc.srvsvc_NetShareInfo2.current_users", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20941 { &hf_srvsvc_srvsvc_NetShareInfo2_max_users,
20942 { "Max Users", "srvsvc.srvsvc_NetShareInfo2.max_users", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20943 { &hf_srvsvc_srvsvc_NetShareInfo2_name,
20944 { "Name", "srvsvc.srvsvc_NetShareInfo2.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20945 { &hf_srvsvc_srvsvc_NetShareInfo2_password,
20946 { "Password", "srvsvc.srvsvc_NetShareInfo2.password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20947 { &hf_srvsvc_srvsvc_NetShareInfo2_path,
20948 { "Path", "srvsvc.srvsvc_NetShareInfo2.path", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20949 { &hf_srvsvc_srvsvc_NetShareInfo2_permissions,
20950 { "Permissions", "srvsvc.srvsvc_NetShareInfo2.permissions", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20951 { &hf_srvsvc_srvsvc_NetShareInfo2_type,
20952 { "Type", "srvsvc.srvsvc_NetShareInfo2.type", FT_UINT32, BASE_HEX, VALS(srvsvc_srvsvc_ShareType_vals), 0, NULL, HFILL }},
20953 { &hf_srvsvc_srvsvc_NetShareInfo501_comment,
20954 { "Comment", "srvsvc.srvsvc_NetShareInfo501.comment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20955 { &hf_srvsvc_srvsvc_NetShareInfo501_csc_policy,
20956 { "Csc Policy", "srvsvc.srvsvc_NetShareInfo501.csc_policy", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20957 { &hf_srvsvc_srvsvc_NetShareInfo501_name,
20958 { "Name", "srvsvc.srvsvc_NetShareInfo501.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20959 { &hf_srvsvc_srvsvc_NetShareInfo501_type,
20960 { "Type", "srvsvc.srvsvc_NetShareInfo501.type", FT_UINT32, BASE_HEX, VALS(srvsvc_srvsvc_ShareType_vals), 0, NULL, HFILL }},
20961 { &hf_srvsvc_srvsvc_NetShareInfo502_comment,
20962 { "Comment", "srvsvc.srvsvc_NetShareInfo502.comment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20963 { &hf_srvsvc_srvsvc_NetShareInfo502_current_users,
20964 { "Current Users", "srvsvc.srvsvc_NetShareInfo502.current_users", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20965 { &hf_srvsvc_srvsvc_NetShareInfo502_max_users,
20966 { "Max Users", "srvsvc.srvsvc_NetShareInfo502.max_users", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20967 { &hf_srvsvc_srvsvc_NetShareInfo502_name,
20968 { "Name", "srvsvc.srvsvc_NetShareInfo502.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20969 { &hf_srvsvc_srvsvc_NetShareInfo502_password,
20970 { "Password", "srvsvc.srvsvc_NetShareInfo502.password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20971 { &hf_srvsvc_srvsvc_NetShareInfo502_path,
20972 { "Path", "srvsvc.srvsvc_NetShareInfo502.path", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
20973 { &hf_srvsvc_srvsvc_NetShareInfo502_permissions,
20974 { "Permissions", "srvsvc.srvsvc_NetShareInfo502.permissions", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20975 { &hf_srvsvc_srvsvc_NetShareInfo502_sd_buf,
20976 { "Sd Buf", "srvsvc.srvsvc_NetShareInfo502.sd_buf", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20977 { &hf_srvsvc_srvsvc_NetShareInfo502_type,
20978 { "Type", "srvsvc.srvsvc_NetShareInfo502.type", FT_UINT32, BASE_HEX, VALS(srvsvc_srvsvc_ShareType_vals), 0, NULL, HFILL }},
20979 { &hf_srvsvc_srvsvc_NetShareInfoCtr_ctr,
20980 { "Ctr", "srvsvc.srvsvc_NetShareInfoCtr.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20981 { &hf_srvsvc_srvsvc_NetShareInfoCtr_level,
20982 { "Level", "srvsvc.srvsvc_NetShareInfoCtr.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
20983 { &hf_srvsvc_srvsvc_NetShareInfo_info0,
20984 { "Info0", "srvsvc.srvsvc_NetShareInfo.info0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20985 { &hf_srvsvc_srvsvc_NetShareInfo_info1,
20986 { "Info1", "srvsvc.srvsvc_NetShareInfo.info1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20987 { &hf_srvsvc_srvsvc_NetShareInfo_info1004,
20988 { "Info1004", "srvsvc.srvsvc_NetShareInfo.info1004", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20989 { &hf_srvsvc_srvsvc_NetShareInfo_info1005,
20990 { "Info1005", "srvsvc.srvsvc_NetShareInfo.info1005", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20991 { &hf_srvsvc_srvsvc_NetShareInfo_info1006,
20992 { "Info1006", "srvsvc.srvsvc_NetShareInfo.info1006", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20993 { &hf_srvsvc_srvsvc_NetShareInfo_info1007,
20994 { "Info1007", "srvsvc.srvsvc_NetShareInfo.info1007", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20995 { &hf_srvsvc_srvsvc_NetShareInfo_info1501,
20996 { "Info1501", "srvsvc.srvsvc_NetShareInfo.info1501", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20997 { &hf_srvsvc_srvsvc_NetShareInfo_info2,
20998 { "Info2", "srvsvc.srvsvc_NetShareInfo.info2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
20999 { &hf_srvsvc_srvsvc_NetShareInfo_info501,
21000 { "Info501", "srvsvc.srvsvc_NetShareInfo.info501", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21001 { &hf_srvsvc_srvsvc_NetShareInfo_info502,
21002 { "Info502", "srvsvc.srvsvc_NetShareInfo.info502", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21003 { &hf_srvsvc_srvsvc_NetShareSetInfo_info,
21004 { "Info", "srvsvc.srvsvc_NetShareSetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21005 { &hf_srvsvc_srvsvc_NetShareSetInfo_level,
21006 { "Level", "srvsvc.srvsvc_NetShareSetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21007 { &hf_srvsvc_srvsvc_NetShareSetInfo_parm_error,
21008 { "Parm Error", "srvsvc.srvsvc_NetShareSetInfo.parm_error", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21009 { &hf_srvsvc_srvsvc_NetShareSetInfo_server_unc,
21010 { "Server Unc", "srvsvc.srvsvc_NetShareSetInfo.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21011 { &hf_srvsvc_srvsvc_NetShareSetInfo_share_name,
21012 { "Share Name", "srvsvc.srvsvc_NetShareSetInfo.share_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21013 { &hf_srvsvc_srvsvc_NetSrvGetInfo_info,
21014 { "Info", "srvsvc.srvsvc_NetSrvGetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21015 { &hf_srvsvc_srvsvc_NetSrvGetInfo_level,
21016 { "Level", "srvsvc.srvsvc_NetSrvGetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21017 { &hf_srvsvc_srvsvc_NetSrvGetInfo_server_unc,
21018 { "Server Unc", "srvsvc.srvsvc_NetSrvGetInfo.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21019 { &hf_srvsvc_srvsvc_NetSrvInfo1005_comment,
21020 { "Comment", "srvsvc.srvsvc_NetSrvInfo1005.comment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21021 { &hf_srvsvc_srvsvc_NetSrvInfo100_platform_id,
21022 { "Platform Id", "srvsvc.srvsvc_NetSrvInfo100.platform_id", FT_UINT32, BASE_DEC, VALS(srvsvc_srvsvc_PlatformId_vals), 0, NULL, HFILL }},
21023 { &hf_srvsvc_srvsvc_NetSrvInfo100_server_name,
21024 { "Server Name", "srvsvc.srvsvc_NetSrvInfo100.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21025 { &hf_srvsvc_srvsvc_NetSrvInfo1010_disc,
21026 { "Disc", "srvsvc.srvsvc_NetSrvInfo1010.disc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21027 { &hf_srvsvc_srvsvc_NetSrvInfo1016_hidden,
21028 { "Hidden", "srvsvc.srvsvc_NetSrvInfo1016.hidden", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21029 { &hf_srvsvc_srvsvc_NetSrvInfo1017_announce,
21030 { "Announce", "srvsvc.srvsvc_NetSrvInfo1017.announce", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21031 { &hf_srvsvc_srvsvc_NetSrvInfo1018_anndelta,
21032 { "Anndelta", "srvsvc.srvsvc_NetSrvInfo1018.anndelta", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21033 { &hf_srvsvc_srvsvc_NetSrvInfo101_comment,
21034 { "Comment", "srvsvc.srvsvc_NetSrvInfo101.comment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21035 { &hf_srvsvc_srvsvc_NetSrvInfo101_platform_id,
21036 { "Platform Id", "srvsvc.srvsvc_NetSrvInfo101.platform_id", FT_UINT32, BASE_DEC, VALS(srvsvc_srvsvc_PlatformId_vals), 0, NULL, HFILL }},
21037 { &hf_srvsvc_srvsvc_NetSrvInfo101_server_name,
21038 { "Server Name", "srvsvc.srvsvc_NetSrvInfo101.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21039 { &hf_srvsvc_srvsvc_NetSrvInfo101_server_type,
21040 { "Server Type", "srvsvc.srvsvc_NetSrvInfo101.server_type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
21041 { &hf_srvsvc_srvsvc_NetSrvInfo101_version_major,
21042 { "Version Major", "srvsvc.srvsvc_NetSrvInfo101.version_major", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21043 { &hf_srvsvc_srvsvc_NetSrvInfo101_version_minor,
21044 { "Version Minor", "srvsvc.srvsvc_NetSrvInfo101.version_minor", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21045 { &hf_srvsvc_srvsvc_NetSrvInfo102_anndelta,
21046 { "Anndelta", "srvsvc.srvsvc_NetSrvInfo102.anndelta", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21047 { &hf_srvsvc_srvsvc_NetSrvInfo102_announce,
21048 { "Announce", "srvsvc.srvsvc_NetSrvInfo102.announce", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21049 { &hf_srvsvc_srvsvc_NetSrvInfo102_comment,
21050 { "Comment", "srvsvc.srvsvc_NetSrvInfo102.comment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21051 { &hf_srvsvc_srvsvc_NetSrvInfo102_disc,
21052 { "Disc", "srvsvc.srvsvc_NetSrvInfo102.disc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21053 { &hf_srvsvc_srvsvc_NetSrvInfo102_hidden,
21054 { "Hidden", "srvsvc.srvsvc_NetSrvInfo102.hidden", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21055 { &hf_srvsvc_srvsvc_NetSrvInfo102_licenses,
21056 { "Licenses", "srvsvc.srvsvc_NetSrvInfo102.licenses", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21057 { &hf_srvsvc_srvsvc_NetSrvInfo102_platform_id,
21058 { "Platform Id", "srvsvc.srvsvc_NetSrvInfo102.platform_id", FT_UINT32, BASE_DEC, VALS(srvsvc_srvsvc_PlatformId_vals), 0, NULL, HFILL }},
21059 { &hf_srvsvc_srvsvc_NetSrvInfo102_server_name,
21060 { "Server Name", "srvsvc.srvsvc_NetSrvInfo102.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21061 { &hf_srvsvc_srvsvc_NetSrvInfo102_server_type,
21062 { "Server Type", "srvsvc.srvsvc_NetSrvInfo102.server_type", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
21063 { &hf_srvsvc_srvsvc_NetSrvInfo102_userpath,
21064 { "Userpath", "srvsvc.srvsvc_NetSrvInfo102.userpath", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21065 { &hf_srvsvc_srvsvc_NetSrvInfo102_users,
21066 { "Users", "srvsvc.srvsvc_NetSrvInfo102.users", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21067 { &hf_srvsvc_srvsvc_NetSrvInfo102_version_major,
21068 { "Version Major", "srvsvc.srvsvc_NetSrvInfo102.version_major", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21069 { &hf_srvsvc_srvsvc_NetSrvInfo102_version_minor,
21070 { "Version Minor", "srvsvc.srvsvc_NetSrvInfo102.version_minor", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21071 { &hf_srvsvc_srvsvc_NetSrvInfo1107_users,
21072 { "Users", "srvsvc.srvsvc_NetSrvInfo1107.users", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21073 { &hf_srvsvc_srvsvc_NetSrvInfo1501_sessopens,
21074 { "Sessopens", "srvsvc.srvsvc_NetSrvInfo1501.sessopens", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21075 { &hf_srvsvc_srvsvc_NetSrvInfo1502_sessvcs,
21076 { "Sessvcs", "srvsvc.srvsvc_NetSrvInfo1502.sessvcs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21077 { &hf_srvsvc_srvsvc_NetSrvInfo1503_opensearch,
21078 { "Opensearch", "srvsvc.srvsvc_NetSrvInfo1503.opensearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21079 { &hf_srvsvc_srvsvc_NetSrvInfo1506_maxworkitems,
21080 { "Maxworkitems", "srvsvc.srvsvc_NetSrvInfo1506.maxworkitems", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21081 { &hf_srvsvc_srvsvc_NetSrvInfo1509_maxrawbuflen,
21082 { "Maxrawbuflen", "srvsvc.srvsvc_NetSrvInfo1509.maxrawbuflen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21083 { &hf_srvsvc_srvsvc_NetSrvInfo1510_sessusers,
21084 { "Sessusers", "srvsvc.srvsvc_NetSrvInfo1510.sessusers", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21085 { &hf_srvsvc_srvsvc_NetSrvInfo1511_sesscons,
21086 { "Sesscons", "srvsvc.srvsvc_NetSrvInfo1511.sesscons", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21087 { &hf_srvsvc_srvsvc_NetSrvInfo1512_maxnonpagedmemoryusage,
21088 { "Maxnonpagedmemoryusage", "srvsvc.srvsvc_NetSrvInfo1512.maxnonpagedmemoryusage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21089 { &hf_srvsvc_srvsvc_NetSrvInfo1513_maxpagedmemoryusage,
21090 { "Maxpagedmemoryusage", "srvsvc.srvsvc_NetSrvInfo1513.maxpagedmemoryusage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21091 { &hf_srvsvc_srvsvc_NetSrvInfo1514_enablesoftcompat,
21092 { "Enablesoftcompat", "srvsvc.srvsvc_NetSrvInfo1514.enablesoftcompat", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21093 { &hf_srvsvc_srvsvc_NetSrvInfo1515_enableforcedlogoff,
21094 { "Enableforcedlogoff", "srvsvc.srvsvc_NetSrvInfo1515.enableforcedlogoff", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21095 { &hf_srvsvc_srvsvc_NetSrvInfo1516_timesource,
21096 { "Timesource", "srvsvc.srvsvc_NetSrvInfo1516.timesource", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21097 { &hf_srvsvc_srvsvc_NetSrvInfo1518_lmannounce,
21098 { "Lmannounce", "srvsvc.srvsvc_NetSrvInfo1518.lmannounce", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21099 { &hf_srvsvc_srvsvc_NetSrvInfo1520_maxcopyreadlen,
21100 { "Maxcopyreadlen", "srvsvc.srvsvc_NetSrvInfo1520.maxcopyreadlen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21101 { &hf_srvsvc_srvsvc_NetSrvInfo1521_maxcopywritelen,
21102 { "Maxcopywritelen", "srvsvc.srvsvc_NetSrvInfo1521.maxcopywritelen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21103 { &hf_srvsvc_srvsvc_NetSrvInfo1522_minkeepsearch,
21104 { "Minkeepsearch", "srvsvc.srvsvc_NetSrvInfo1522.minkeepsearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21105 { &hf_srvsvc_srvsvc_NetSrvInfo1523_maxkeepsearch,
21106 { "Maxkeepsearch", "srvsvc.srvsvc_NetSrvInfo1523.maxkeepsearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21107 { &hf_srvsvc_srvsvc_NetSrvInfo1524_minkeepcomplsearch,
21108 { "Minkeepcomplsearch", "srvsvc.srvsvc_NetSrvInfo1524.minkeepcomplsearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21109 { &hf_srvsvc_srvsvc_NetSrvInfo1525_maxkeepcomplsearch,
21110 { "Maxkeepcomplsearch", "srvsvc.srvsvc_NetSrvInfo1525.maxkeepcomplsearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21111 { &hf_srvsvc_srvsvc_NetSrvInfo1528_scavtimeout,
21112 { "Scavtimeout", "srvsvc.srvsvc_NetSrvInfo1528.scavtimeout", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21113 { &hf_srvsvc_srvsvc_NetSrvInfo1529_minrcvqueue,
21114 { "Minrcvqueue", "srvsvc.srvsvc_NetSrvInfo1529.minrcvqueue", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21115 { &hf_srvsvc_srvsvc_NetSrvInfo1530_minfreeworkitems,
21116 { "Minfreeworkitems", "srvsvc.srvsvc_NetSrvInfo1530.minfreeworkitems", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21117 { &hf_srvsvc_srvsvc_NetSrvInfo1533_maxmpxct,
21118 { "Maxmpxct", "srvsvc.srvsvc_NetSrvInfo1533.maxmpxct", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21119 { &hf_srvsvc_srvsvc_NetSrvInfo1534_oplockbreakwait,
21120 { "Oplockbreakwait", "srvsvc.srvsvc_NetSrvInfo1534.oplockbreakwait", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21121 { &hf_srvsvc_srvsvc_NetSrvInfo1535_oplockbreakresponsewait,
21122 { "Oplockbreakresponsewait", "srvsvc.srvsvc_NetSrvInfo1535.oplockbreakresponsewait", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21123 { &hf_srvsvc_srvsvc_NetSrvInfo1536_enableoplocks,
21124 { "Enableoplocks", "srvsvc.srvsvc_NetSrvInfo1536.enableoplocks", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21125 { &hf_srvsvc_srvsvc_NetSrvInfo1537_enableoplockforceclose,
21126 { "Enableoplockforceclose", "srvsvc.srvsvc_NetSrvInfo1537.enableoplockforceclose", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21127 { &hf_srvsvc_srvsvc_NetSrvInfo1538_enablefcbopens,
21128 { "Enablefcbopens", "srvsvc.srvsvc_NetSrvInfo1538.enablefcbopens", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21129 { &hf_srvsvc_srvsvc_NetSrvInfo1539_enableraw,
21130 { "Enableraw", "srvsvc.srvsvc_NetSrvInfo1539.enableraw", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21131 { &hf_srvsvc_srvsvc_NetSrvInfo1540_enablesharednetdrives,
21132 { "Enablesharednetdrives", "srvsvc.srvsvc_NetSrvInfo1540.enablesharednetdrives", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21133 { &hf_srvsvc_srvsvc_NetSrvInfo1541_minfreeconnections,
21134 { "Minfreeconnections", "srvsvc.srvsvc_NetSrvInfo1541.minfreeconnections", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21135 { &hf_srvsvc_srvsvc_NetSrvInfo1542_maxfreeconnections,
21136 { "Maxfreeconnections", "srvsvc.srvsvc_NetSrvInfo1542.maxfreeconnections", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21137 { &hf_srvsvc_srvsvc_NetSrvInfo1543_initsesstable,
21138 { "Initsesstable", "srvsvc.srvsvc_NetSrvInfo1543.initsesstable", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21139 { &hf_srvsvc_srvsvc_NetSrvInfo1544_initconntable,
21140 { "Initconntable", "srvsvc.srvsvc_NetSrvInfo1544.initconntable", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21141 { &hf_srvsvc_srvsvc_NetSrvInfo1545_initfiletable,
21142 { "Initfiletable", "srvsvc.srvsvc_NetSrvInfo1545.initfiletable", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21143 { &hf_srvsvc_srvsvc_NetSrvInfo1546_initsearchtable,
21144 { "Initsearchtable", "srvsvc.srvsvc_NetSrvInfo1546.initsearchtable", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21145 { &hf_srvsvc_srvsvc_NetSrvInfo1547_alertsched,
21146 { "Alertsched", "srvsvc.srvsvc_NetSrvInfo1547.alertsched", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21147 { &hf_srvsvc_srvsvc_NetSrvInfo1548_errortreshold,
21148 { "Errortreshold", "srvsvc.srvsvc_NetSrvInfo1548.errortreshold", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21149 { &hf_srvsvc_srvsvc_NetSrvInfo1549_networkerrortreshold,
21150 { "Networkerrortreshold", "srvsvc.srvsvc_NetSrvInfo1549.networkerrortreshold", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21151 { &hf_srvsvc_srvsvc_NetSrvInfo1550_diskspacetreshold,
21152 { "Diskspacetreshold", "srvsvc.srvsvc_NetSrvInfo1550.diskspacetreshold", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21153 { &hf_srvsvc_srvsvc_NetSrvInfo1552_maxlinkdelay,
21154 { "Maxlinkdelay", "srvsvc.srvsvc_NetSrvInfo1552.maxlinkdelay", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21155 { &hf_srvsvc_srvsvc_NetSrvInfo1553_minlinkthroughput,
21156 { "Minlinkthroughput", "srvsvc.srvsvc_NetSrvInfo1553.minlinkthroughput", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21157 { &hf_srvsvc_srvsvc_NetSrvInfo1554_linkinfovalidtime,
21158 { "Linkinfovalidtime", "srvsvc.srvsvc_NetSrvInfo1554.linkinfovalidtime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21159 { &hf_srvsvc_srvsvc_NetSrvInfo1555_scavqosinfoupdatetime,
21160 { "Scavqosinfoupdatetime", "srvsvc.srvsvc_NetSrvInfo1555.scavqosinfoupdatetime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21161 { &hf_srvsvc_srvsvc_NetSrvInfo1556_maxworkitemidletime,
21162 { "Maxworkitemidletime", "srvsvc.srvsvc_NetSrvInfo1556.maxworkitemidletime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21163 { &hf_srvsvc_srvsvc_NetSrvInfo402_accessalert,
21164 { "Accessalert", "srvsvc.srvsvc_NetSrvInfo402.accessalert", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21165 { &hf_srvsvc_srvsvc_NetSrvInfo402_activelocks,
21166 { "Activelocks", "srvsvc.srvsvc_NetSrvInfo402.activelocks", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21167 { &hf_srvsvc_srvsvc_NetSrvInfo402_alerts,
21168 { "Alerts", "srvsvc.srvsvc_NetSrvInfo402.alerts", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21169 { &hf_srvsvc_srvsvc_NetSrvInfo402_alertsched,
21170 { "Alertsched", "srvsvc.srvsvc_NetSrvInfo402.alertsched", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21171 { &hf_srvsvc_srvsvc_NetSrvInfo402_alist_mtime,
21172 { "Alist Mtime", "srvsvc.srvsvc_NetSrvInfo402.alist_mtime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21173 { &hf_srvsvc_srvsvc_NetSrvInfo402_chdevjobs,
21174 { "Chdevjobs", "srvsvc.srvsvc_NetSrvInfo402.chdevjobs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21175 { &hf_srvsvc_srvsvc_NetSrvInfo402_chdevqs,
21176 { "Chdevqs", "srvsvc.srvsvc_NetSrvInfo402.chdevqs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21177 { &hf_srvsvc_srvsvc_NetSrvInfo402_chdevs,
21178 { "Chdevs", "srvsvc.srvsvc_NetSrvInfo402.chdevs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21179 { &hf_srvsvc_srvsvc_NetSrvInfo402_connections,
21180 { "Connections", "srvsvc.srvsvc_NetSrvInfo402.connections", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21181 { &hf_srvsvc_srvsvc_NetSrvInfo402_diskalert,
21182 { "Diskalert", "srvsvc.srvsvc_NetSrvInfo402.diskalert", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21183 { &hf_srvsvc_srvsvc_NetSrvInfo402_erroralert,
21184 { "Erroralert", "srvsvc.srvsvc_NetSrvInfo402.erroralert", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21185 { &hf_srvsvc_srvsvc_NetSrvInfo402_glist_mtime,
21186 { "Glist Mtime", "srvsvc.srvsvc_NetSrvInfo402.glist_mtime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21187 { &hf_srvsvc_srvsvc_NetSrvInfo402_guestaccount,
21188 { "Guestaccount", "srvsvc.srvsvc_NetSrvInfo402.guestaccount", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21189 { &hf_srvsvc_srvsvc_NetSrvInfo402_lanmask,
21190 { "Lanmask", "srvsvc.srvsvc_NetSrvInfo402.lanmask", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21191 { &hf_srvsvc_srvsvc_NetSrvInfo402_logonalert,
21192 { "Logonalert", "srvsvc.srvsvc_NetSrvInfo402.logonalert", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21193 { &hf_srvsvc_srvsvc_NetSrvInfo402_maxaudits,
21194 { "Maxaudits", "srvsvc.srvsvc_NetSrvInfo402.maxaudits", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21195 { &hf_srvsvc_srvsvc_NetSrvInfo402_netioalert,
21196 { "Netioalert", "srvsvc.srvsvc_NetSrvInfo402.netioalert", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21197 { &hf_srvsvc_srvsvc_NetSrvInfo402_numadmin,
21198 { "Numadmin", "srvsvc.srvsvc_NetSrvInfo402.numadmin", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21199 { &hf_srvsvc_srvsvc_NetSrvInfo402_numbigbufs,
21200 { "Numbigbufs", "srvsvc.srvsvc_NetSrvInfo402.numbigbufs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21201 { &hf_srvsvc_srvsvc_NetSrvInfo402_numfiletasks,
21202 { "Numfiletasks", "srvsvc.srvsvc_NetSrvInfo402.numfiletasks", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21203 { &hf_srvsvc_srvsvc_NetSrvInfo402_numreqbufs,
21204 { "Numreqbufs", "srvsvc.srvsvc_NetSrvInfo402.numreqbufs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21205 { &hf_srvsvc_srvsvc_NetSrvInfo402_openfiles,
21206 { "Openfiles", "srvsvc.srvsvc_NetSrvInfo402.openfiles", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21207 { &hf_srvsvc_srvsvc_NetSrvInfo402_opensearch,
21208 { "Opensearch", "srvsvc.srvsvc_NetSrvInfo402.opensearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21209 { &hf_srvsvc_srvsvc_NetSrvInfo402_security,
21210 { "Security", "srvsvc.srvsvc_NetSrvInfo402.security", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21211 { &hf_srvsvc_srvsvc_NetSrvInfo402_sessopen,
21212 { "Sessopen", "srvsvc.srvsvc_NetSrvInfo402.sessopen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21213 { &hf_srvsvc_srvsvc_NetSrvInfo402_sessreqs,
21214 { "Sessreqs", "srvsvc.srvsvc_NetSrvInfo402.sessreqs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21215 { &hf_srvsvc_srvsvc_NetSrvInfo402_sesssvc,
21216 { "Sesssvc", "srvsvc.srvsvc_NetSrvInfo402.sesssvc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21217 { &hf_srvsvc_srvsvc_NetSrvInfo402_shares,
21218 { "Shares", "srvsvc.srvsvc_NetSrvInfo402.shares", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21219 { &hf_srvsvc_srvsvc_NetSrvInfo402_sizereqbufs,
21220 { "Sizereqbufs", "srvsvc.srvsvc_NetSrvInfo402.sizereqbufs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21221 { &hf_srvsvc_srvsvc_NetSrvInfo402_srvheuristics,
21222 { "Srvheuristics", "srvsvc.srvsvc_NetSrvInfo402.srvheuristics", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21223 { &hf_srvsvc_srvsvc_NetSrvInfo402_ulist_mtime,
21224 { "Ulist Mtime", "srvsvc.srvsvc_NetSrvInfo402.ulist_mtime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21225 { &hf_srvsvc_srvsvc_NetSrvInfo403_accessalert,
21226 { "Accessalert", "srvsvc.srvsvc_NetSrvInfo403.accessalert", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21227 { &hf_srvsvc_srvsvc_NetSrvInfo403_activelocks,
21228 { "Activelocks", "srvsvc.srvsvc_NetSrvInfo403.activelocks", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21229 { &hf_srvsvc_srvsvc_NetSrvInfo403_alerts,
21230 { "Alerts", "srvsvc.srvsvc_NetSrvInfo403.alerts", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21231 { &hf_srvsvc_srvsvc_NetSrvInfo403_alertsched,
21232 { "Alertsched", "srvsvc.srvsvc_NetSrvInfo403.alertsched", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21233 { &hf_srvsvc_srvsvc_NetSrvInfo403_alist_mtime,
21234 { "Alist Mtime", "srvsvc.srvsvc_NetSrvInfo403.alist_mtime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21235 { &hf_srvsvc_srvsvc_NetSrvInfo403_auditedevents,
21236 { "Auditedevents", "srvsvc.srvsvc_NetSrvInfo403.auditedevents", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21237 { &hf_srvsvc_srvsvc_NetSrvInfo403_auditprofile,
21238 { "Auditprofile", "srvsvc.srvsvc_NetSrvInfo403.auditprofile", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21239 { &hf_srvsvc_srvsvc_NetSrvInfo403_autopath,
21240 { "Autopath", "srvsvc.srvsvc_NetSrvInfo403.autopath", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21241 { &hf_srvsvc_srvsvc_NetSrvInfo403_chdevjobs,
21242 { "Chdevjobs", "srvsvc.srvsvc_NetSrvInfo403.chdevjobs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21243 { &hf_srvsvc_srvsvc_NetSrvInfo403_chdevqs,
21244 { "Chdevqs", "srvsvc.srvsvc_NetSrvInfo403.chdevqs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21245 { &hf_srvsvc_srvsvc_NetSrvInfo403_chdevs,
21246 { "Chdevs", "srvsvc.srvsvc_NetSrvInfo403.chdevs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21247 { &hf_srvsvc_srvsvc_NetSrvInfo403_connections,
21248 { "Connections", "srvsvc.srvsvc_NetSrvInfo403.connections", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21249 { &hf_srvsvc_srvsvc_NetSrvInfo403_diskalert,
21250 { "Diskalert", "srvsvc.srvsvc_NetSrvInfo403.diskalert", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21251 { &hf_srvsvc_srvsvc_NetSrvInfo403_erroralert,
21252 { "Erroralert", "srvsvc.srvsvc_NetSrvInfo403.erroralert", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21253 { &hf_srvsvc_srvsvc_NetSrvInfo403_glist_mtime,
21254 { "Glist Mtime", "srvsvc.srvsvc_NetSrvInfo403.glist_mtime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21255 { &hf_srvsvc_srvsvc_NetSrvInfo403_guestaccount,
21256 { "Guestaccount", "srvsvc.srvsvc_NetSrvInfo403.guestaccount", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21257 { &hf_srvsvc_srvsvc_NetSrvInfo403_lanmask,
21258 { "Lanmask", "srvsvc.srvsvc_NetSrvInfo403.lanmask", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21259 { &hf_srvsvc_srvsvc_NetSrvInfo403_logonalert,
21260 { "Logonalert", "srvsvc.srvsvc_NetSrvInfo403.logonalert", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21261 { &hf_srvsvc_srvsvc_NetSrvInfo403_maxaudits,
21262 { "Maxaudits", "srvsvc.srvsvc_NetSrvInfo403.maxaudits", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21263 { &hf_srvsvc_srvsvc_NetSrvInfo403_netioalert,
21264 { "Netioalert", "srvsvc.srvsvc_NetSrvInfo403.netioalert", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21265 { &hf_srvsvc_srvsvc_NetSrvInfo403_numadmin,
21266 { "Numadmin", "srvsvc.srvsvc_NetSrvInfo403.numadmin", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21267 { &hf_srvsvc_srvsvc_NetSrvInfo403_numbigbufs,
21268 { "Numbigbufs", "srvsvc.srvsvc_NetSrvInfo403.numbigbufs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21269 { &hf_srvsvc_srvsvc_NetSrvInfo403_numfiletasks,
21270 { "Numfiletasks", "srvsvc.srvsvc_NetSrvInfo403.numfiletasks", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21271 { &hf_srvsvc_srvsvc_NetSrvInfo403_numreqbufs,
21272 { "Numreqbufs", "srvsvc.srvsvc_NetSrvInfo403.numreqbufs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21273 { &hf_srvsvc_srvsvc_NetSrvInfo403_openfiles,
21274 { "Openfiles", "srvsvc.srvsvc_NetSrvInfo403.openfiles", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21275 { &hf_srvsvc_srvsvc_NetSrvInfo403_opensearch,
21276 { "Opensearch", "srvsvc.srvsvc_NetSrvInfo403.opensearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21277 { &hf_srvsvc_srvsvc_NetSrvInfo403_security,
21278 { "Security", "srvsvc.srvsvc_NetSrvInfo403.security", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21279 { &hf_srvsvc_srvsvc_NetSrvInfo403_sessopen,
21280 { "Sessopen", "srvsvc.srvsvc_NetSrvInfo403.sessopen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21281 { &hf_srvsvc_srvsvc_NetSrvInfo403_sessreqs,
21282 { "Sessreqs", "srvsvc.srvsvc_NetSrvInfo403.sessreqs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21283 { &hf_srvsvc_srvsvc_NetSrvInfo403_sesssvc,
21284 { "Sesssvc", "srvsvc.srvsvc_NetSrvInfo403.sesssvc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21285 { &hf_srvsvc_srvsvc_NetSrvInfo403_shares,
21286 { "Shares", "srvsvc.srvsvc_NetSrvInfo403.shares", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21287 { &hf_srvsvc_srvsvc_NetSrvInfo403_sizereqbufs,
21288 { "Sizereqbufs", "srvsvc.srvsvc_NetSrvInfo403.sizereqbufs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21289 { &hf_srvsvc_srvsvc_NetSrvInfo403_srvheuristics,
21290 { "Srvheuristics", "srvsvc.srvsvc_NetSrvInfo403.srvheuristics", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21291 { &hf_srvsvc_srvsvc_NetSrvInfo403_ulist_mtime,
21292 { "Ulist Mtime", "srvsvc.srvsvc_NetSrvInfo403.ulist_mtime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21293 { &hf_srvsvc_srvsvc_NetSrvInfo502_acceptdownlevelapis,
21294 { "Acceptdownlevelapis", "srvsvc.srvsvc_NetSrvInfo502.acceptdownlevelapis", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21295 { &hf_srvsvc_srvsvc_NetSrvInfo502_enableforcedlogoff,
21296 { "Enableforcedlogoff", "srvsvc.srvsvc_NetSrvInfo502.enableforcedlogoff", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21297 { &hf_srvsvc_srvsvc_NetSrvInfo502_enablesoftcompat,
21298 { "Enablesoftcompat", "srvsvc.srvsvc_NetSrvInfo502.enablesoftcompat", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21299 { &hf_srvsvc_srvsvc_NetSrvInfo502_initworkitems,
21300 { "Initworkitems", "srvsvc.srvsvc_NetSrvInfo502.initworkitems", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21301 { &hf_srvsvc_srvsvc_NetSrvInfo502_irpstacksize,
21302 { "Irpstacksize", "srvsvc.srvsvc_NetSrvInfo502.irpstacksize", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21303 { &hf_srvsvc_srvsvc_NetSrvInfo502_lmannounce,
21304 { "Lmannounce", "srvsvc.srvsvc_NetSrvInfo502.lmannounce", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21305 { &hf_srvsvc_srvsvc_NetSrvInfo502_maxnonpagedmemoryusage,
21306 { "Maxnonpagedmemoryusage", "srvsvc.srvsvc_NetSrvInfo502.maxnonpagedmemoryusage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21307 { &hf_srvsvc_srvsvc_NetSrvInfo502_maxpagedmemoryusage,
21308 { "Maxpagedmemoryusage", "srvsvc.srvsvc_NetSrvInfo502.maxpagedmemoryusage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21309 { &hf_srvsvc_srvsvc_NetSrvInfo502_maxrawbuflen,
21310 { "Maxrawbuflen", "srvsvc.srvsvc_NetSrvInfo502.maxrawbuflen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21311 { &hf_srvsvc_srvsvc_NetSrvInfo502_maxworkitems,
21312 { "Maxworkitems", "srvsvc.srvsvc_NetSrvInfo502.maxworkitems", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21313 { &hf_srvsvc_srvsvc_NetSrvInfo502_opensearch,
21314 { "Opensearch", "srvsvc.srvsvc_NetSrvInfo502.opensearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21315 { &hf_srvsvc_srvsvc_NetSrvInfo502_rawworkitems,
21316 { "Rawworkitems", "srvsvc.srvsvc_NetSrvInfo502.rawworkitems", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21317 { &hf_srvsvc_srvsvc_NetSrvInfo502_sessconns,
21318 { "Sessconns", "srvsvc.srvsvc_NetSrvInfo502.sessconns", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21319 { &hf_srvsvc_srvsvc_NetSrvInfo502_sessopen,
21320 { "Sessopen", "srvsvc.srvsvc_NetSrvInfo502.sessopen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21321 { &hf_srvsvc_srvsvc_NetSrvInfo502_sesssvc,
21322 { "Sesssvc", "srvsvc.srvsvc_NetSrvInfo502.sesssvc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21323 { &hf_srvsvc_srvsvc_NetSrvInfo502_sessusers,
21324 { "Sessusers", "srvsvc.srvsvc_NetSrvInfo502.sessusers", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21325 { &hf_srvsvc_srvsvc_NetSrvInfo502_sizereqbufs,
21326 { "Sizereqbufs", "srvsvc.srvsvc_NetSrvInfo502.sizereqbufs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21327 { &hf_srvsvc_srvsvc_NetSrvInfo502_timesource,
21328 { "Timesource", "srvsvc.srvsvc_NetSrvInfo502.timesource", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21329 { &hf_srvsvc_srvsvc_NetSrvInfo503_acceptdownlevelapis,
21330 { "Acceptdownlevelapis", "srvsvc.srvsvc_NetSrvInfo503.acceptdownlevelapis", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21331 { &hf_srvsvc_srvsvc_NetSrvInfo503_domain,
21332 { "Domain", "srvsvc.srvsvc_NetSrvInfo503.domain", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21333 { &hf_srvsvc_srvsvc_NetSrvInfo503_enablefcbopens,
21334 { "Enablefcbopens", "srvsvc.srvsvc_NetSrvInfo503.enablefcbopens", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21335 { &hf_srvsvc_srvsvc_NetSrvInfo503_enableforcedlogoff,
21336 { "Enableforcedlogoff", "srvsvc.srvsvc_NetSrvInfo503.enableforcedlogoff", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21337 { &hf_srvsvc_srvsvc_NetSrvInfo503_enableoplockforceclose,
21338 { "Enableoplockforceclose", "srvsvc.srvsvc_NetSrvInfo503.enableoplockforceclose", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21339 { &hf_srvsvc_srvsvc_NetSrvInfo503_enableoplocks,
21340 { "Enableoplocks", "srvsvc.srvsvc_NetSrvInfo503.enableoplocks", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21341 { &hf_srvsvc_srvsvc_NetSrvInfo503_enableraw,
21342 { "Enableraw", "srvsvc.srvsvc_NetSrvInfo503.enableraw", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21343 { &hf_srvsvc_srvsvc_NetSrvInfo503_enablesharednetdrives,
21344 { "Enablesharednetdrives", "srvsvc.srvsvc_NetSrvInfo503.enablesharednetdrives", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21345 { &hf_srvsvc_srvsvc_NetSrvInfo503_enablesoftcompat,
21346 { "Enablesoftcompat", "srvsvc.srvsvc_NetSrvInfo503.enablesoftcompat", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21347 { &hf_srvsvc_srvsvc_NetSrvInfo503_initworkitems,
21348 { "Initworkitems", "srvsvc.srvsvc_NetSrvInfo503.initworkitems", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21349 { &hf_srvsvc_srvsvc_NetSrvInfo503_irpstacksize,
21350 { "Irpstacksize", "srvsvc.srvsvc_NetSrvInfo503.irpstacksize", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21351 { &hf_srvsvc_srvsvc_NetSrvInfo503_lmannounce,
21352 { "Lmannounce", "srvsvc.srvsvc_NetSrvInfo503.lmannounce", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21353 { &hf_srvsvc_srvsvc_NetSrvInfo503_maxcopyreadlen,
21354 { "Maxcopyreadlen", "srvsvc.srvsvc_NetSrvInfo503.maxcopyreadlen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21355 { &hf_srvsvc_srvsvc_NetSrvInfo503_maxcopywritelen,
21356 { "Maxcopywritelen", "srvsvc.srvsvc_NetSrvInfo503.maxcopywritelen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21357 { &hf_srvsvc_srvsvc_NetSrvInfo503_maxfreeconnections,
21358 { "Maxfreeconnections", "srvsvc.srvsvc_NetSrvInfo503.maxfreeconnections", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21359 { &hf_srvsvc_srvsvc_NetSrvInfo503_maxkeepcomplsearch,
21360 { "Maxkeepcomplsearch", "srvsvc.srvsvc_NetSrvInfo503.maxkeepcomplsearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21361 { &hf_srvsvc_srvsvc_NetSrvInfo503_maxkeepsearch,
21362 { "Maxkeepsearch", "srvsvc.srvsvc_NetSrvInfo503.maxkeepsearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21363 { &hf_srvsvc_srvsvc_NetSrvInfo503_maxmpxct,
21364 { "Maxmpxct", "srvsvc.srvsvc_NetSrvInfo503.maxmpxct", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21365 { &hf_srvsvc_srvsvc_NetSrvInfo503_maxnonpagedmemoryusage,
21366 { "Maxnonpagedmemoryusage", "srvsvc.srvsvc_NetSrvInfo503.maxnonpagedmemoryusage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21367 { &hf_srvsvc_srvsvc_NetSrvInfo503_maxpagedmemoryusage,
21368 { "Maxpagedmemoryusage", "srvsvc.srvsvc_NetSrvInfo503.maxpagedmemoryusage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21369 { &hf_srvsvc_srvsvc_NetSrvInfo503_maxrawbuflen,
21370 { "Maxrawbuflen", "srvsvc.srvsvc_NetSrvInfo503.maxrawbuflen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21371 { &hf_srvsvc_srvsvc_NetSrvInfo503_maxworkitems,
21372 { "Maxworkitems", "srvsvc.srvsvc_NetSrvInfo503.maxworkitems", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21373 { &hf_srvsvc_srvsvc_NetSrvInfo503_minfreeconnections,
21374 { "Minfreeconnections", "srvsvc.srvsvc_NetSrvInfo503.minfreeconnections", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21375 { &hf_srvsvc_srvsvc_NetSrvInfo503_minfreeworkitems,
21376 { "Minfreeworkitems", "srvsvc.srvsvc_NetSrvInfo503.minfreeworkitems", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21377 { &hf_srvsvc_srvsvc_NetSrvInfo503_minkeepcomplsearch,
21378 { "Minkeepcomplsearch", "srvsvc.srvsvc_NetSrvInfo503.minkeepcomplsearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21379 { &hf_srvsvc_srvsvc_NetSrvInfo503_minkeepsearch,
21380 { "Minkeepsearch", "srvsvc.srvsvc_NetSrvInfo503.minkeepsearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21381 { &hf_srvsvc_srvsvc_NetSrvInfo503_minrcvqueue,
21382 { "Minrcvqueue", "srvsvc.srvsvc_NetSrvInfo503.minrcvqueue", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21383 { &hf_srvsvc_srvsvc_NetSrvInfo503_numlockthreads,
21384 { "Numlockthreads", "srvsvc.srvsvc_NetSrvInfo503.numlockthreads", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21385 { &hf_srvsvc_srvsvc_NetSrvInfo503_opensearch,
21386 { "Opensearch", "srvsvc.srvsvc_NetSrvInfo503.opensearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21387 { &hf_srvsvc_srvsvc_NetSrvInfo503_oplockbreakresponsewait,
21388 { "Oplockbreakresponsewait", "srvsvc.srvsvc_NetSrvInfo503.oplockbreakresponsewait", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21389 { &hf_srvsvc_srvsvc_NetSrvInfo503_oplockbreakwait,
21390 { "Oplockbreakwait", "srvsvc.srvsvc_NetSrvInfo503.oplockbreakwait", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21391 { &hf_srvsvc_srvsvc_NetSrvInfo503_rawworkitems,
21392 { "Rawworkitems", "srvsvc.srvsvc_NetSrvInfo503.rawworkitems", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21393 { &hf_srvsvc_srvsvc_NetSrvInfo503_scavtimeout,
21394 { "Scavtimeout", "srvsvc.srvsvc_NetSrvInfo503.scavtimeout", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21395 { &hf_srvsvc_srvsvc_NetSrvInfo503_sessconns,
21396 { "Sessconns", "srvsvc.srvsvc_NetSrvInfo503.sessconns", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21397 { &hf_srvsvc_srvsvc_NetSrvInfo503_sessopen,
21398 { "Sessopen", "srvsvc.srvsvc_NetSrvInfo503.sessopen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21399 { &hf_srvsvc_srvsvc_NetSrvInfo503_sesssvc,
21400 { "Sesssvc", "srvsvc.srvsvc_NetSrvInfo503.sesssvc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21401 { &hf_srvsvc_srvsvc_NetSrvInfo503_sessusers,
21402 { "Sessusers", "srvsvc.srvsvc_NetSrvInfo503.sessusers", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21403 { &hf_srvsvc_srvsvc_NetSrvInfo503_sizereqbufs,
21404 { "Sizereqbufs", "srvsvc.srvsvc_NetSrvInfo503.sizereqbufs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21405 { &hf_srvsvc_srvsvc_NetSrvInfo503_threadcountadd,
21406 { "Threadcountadd", "srvsvc.srvsvc_NetSrvInfo503.threadcountadd", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21407 { &hf_srvsvc_srvsvc_NetSrvInfo503_threadpriority,
21408 { "Threadpriority", "srvsvc.srvsvc_NetSrvInfo503.threadpriority", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21409 { &hf_srvsvc_srvsvc_NetSrvInfo503_timesource,
21410 { "Timesource", "srvsvc.srvsvc_NetSrvInfo503.timesource", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21411 { &hf_srvsvc_srvsvc_NetSrvInfo503_xactmemsize,
21412 { "Xactmemsize", "srvsvc.srvsvc_NetSrvInfo503.xactmemsize", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21413 { &hf_srvsvc_srvsvc_NetSrvInfo599_acceptdownlevelapis,
21414 { "Acceptdownlevelapis", "srvsvc.srvsvc_NetSrvInfo599.acceptdownlevelapis", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21415 { &hf_srvsvc_srvsvc_NetSrvInfo599_alertsched,
21416 { "Alertsched", "srvsvc.srvsvc_NetSrvInfo599.alertsched", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21417 { &hf_srvsvc_srvsvc_NetSrvInfo599_diskspacetreshold,
21418 { "Diskspacetreshold", "srvsvc.srvsvc_NetSrvInfo599.diskspacetreshold", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21419 { &hf_srvsvc_srvsvc_NetSrvInfo599_domain,
21420 { "Domain", "srvsvc.srvsvc_NetSrvInfo599.domain", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21421 { &hf_srvsvc_srvsvc_NetSrvInfo599_enablefcbopens,
21422 { "Enablefcbopens", "srvsvc.srvsvc_NetSrvInfo599.enablefcbopens", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21423 { &hf_srvsvc_srvsvc_NetSrvInfo599_enableforcedlogoff,
21424 { "Enableforcedlogoff", "srvsvc.srvsvc_NetSrvInfo599.enableforcedlogoff", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21425 { &hf_srvsvc_srvsvc_NetSrvInfo599_enableoplockforceclose,
21426 { "Enableoplockforceclose", "srvsvc.srvsvc_NetSrvInfo599.enableoplockforceclose", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21427 { &hf_srvsvc_srvsvc_NetSrvInfo599_enableoplocks,
21428 { "Enableoplocks", "srvsvc.srvsvc_NetSrvInfo599.enableoplocks", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21429 { &hf_srvsvc_srvsvc_NetSrvInfo599_enableraw,
21430 { "Enableraw", "srvsvc.srvsvc_NetSrvInfo599.enableraw", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21431 { &hf_srvsvc_srvsvc_NetSrvInfo599_enablesharednetdrives,
21432 { "Enablesharednetdrives", "srvsvc.srvsvc_NetSrvInfo599.enablesharednetdrives", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21433 { &hf_srvsvc_srvsvc_NetSrvInfo599_enablesoftcompat,
21434 { "Enablesoftcompat", "srvsvc.srvsvc_NetSrvInfo599.enablesoftcompat", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21435 { &hf_srvsvc_srvsvc_NetSrvInfo599_errortreshold,
21436 { "Errortreshold", "srvsvc.srvsvc_NetSrvInfo599.errortreshold", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21437 { &hf_srvsvc_srvsvc_NetSrvInfo599_initconntable,
21438 { "Initconntable", "srvsvc.srvsvc_NetSrvInfo599.initconntable", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21439 { &hf_srvsvc_srvsvc_NetSrvInfo599_initfiletable,
21440 { "Initfiletable", "srvsvc.srvsvc_NetSrvInfo599.initfiletable", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21441 { &hf_srvsvc_srvsvc_NetSrvInfo599_initsearchtable,
21442 { "Initsearchtable", "srvsvc.srvsvc_NetSrvInfo599.initsearchtable", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21443 { &hf_srvsvc_srvsvc_NetSrvInfo599_initsesstable,
21444 { "Initsesstable", "srvsvc.srvsvc_NetSrvInfo599.initsesstable", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21445 { &hf_srvsvc_srvsvc_NetSrvInfo599_initworkitems,
21446 { "Initworkitems", "srvsvc.srvsvc_NetSrvInfo599.initworkitems", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21447 { &hf_srvsvc_srvsvc_NetSrvInfo599_irpstacksize,
21448 { "Irpstacksize", "srvsvc.srvsvc_NetSrvInfo599.irpstacksize", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21449 { &hf_srvsvc_srvsvc_NetSrvInfo599_linkinfovalidtime,
21450 { "Linkinfovalidtime", "srvsvc.srvsvc_NetSrvInfo599.linkinfovalidtime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21451 { &hf_srvsvc_srvsvc_NetSrvInfo599_lmannounce,
21452 { "Lmannounce", "srvsvc.srvsvc_NetSrvInfo599.lmannounce", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21453 { &hf_srvsvc_srvsvc_NetSrvInfo599_maxcopyreadlen,
21454 { "Maxcopyreadlen", "srvsvc.srvsvc_NetSrvInfo599.maxcopyreadlen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21455 { &hf_srvsvc_srvsvc_NetSrvInfo599_maxcopywritelen,
21456 { "Maxcopywritelen", "srvsvc.srvsvc_NetSrvInfo599.maxcopywritelen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21457 { &hf_srvsvc_srvsvc_NetSrvInfo599_maxfreeconnections,
21458 { "Maxfreeconnections", "srvsvc.srvsvc_NetSrvInfo599.maxfreeconnections", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21459 { &hf_srvsvc_srvsvc_NetSrvInfo599_maxkeepcomplsearch,
21460 { "Maxkeepcomplsearch", "srvsvc.srvsvc_NetSrvInfo599.maxkeepcomplsearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21461 { &hf_srvsvc_srvsvc_NetSrvInfo599_maxlinkdelay,
21462 { "Maxlinkdelay", "srvsvc.srvsvc_NetSrvInfo599.maxlinkdelay", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21463 { &hf_srvsvc_srvsvc_NetSrvInfo599_maxmpxct,
21464 { "Maxmpxct", "srvsvc.srvsvc_NetSrvInfo599.maxmpxct", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21465 { &hf_srvsvc_srvsvc_NetSrvInfo599_maxnonpagedmemoryusage,
21466 { "Maxnonpagedmemoryusage", "srvsvc.srvsvc_NetSrvInfo599.maxnonpagedmemoryusage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21467 { &hf_srvsvc_srvsvc_NetSrvInfo599_maxpagedmemoryusage,
21468 { "Maxpagedmemoryusage", "srvsvc.srvsvc_NetSrvInfo599.maxpagedmemoryusage", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21469 { &hf_srvsvc_srvsvc_NetSrvInfo599_maxrawbuflen,
21470 { "Maxrawbuflen", "srvsvc.srvsvc_NetSrvInfo599.maxrawbuflen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21471 { &hf_srvsvc_srvsvc_NetSrvInfo599_maxworkitemidletime,
21472 { "Maxworkitemidletime", "srvsvc.srvsvc_NetSrvInfo599.maxworkitemidletime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21473 { &hf_srvsvc_srvsvc_NetSrvInfo599_maxworkitems,
21474 { "Maxworkitems", "srvsvc.srvsvc_NetSrvInfo599.maxworkitems", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21475 { &hf_srvsvc_srvsvc_NetSrvInfo599_minfreeconnections,
21476 { "Minfreeconnections", "srvsvc.srvsvc_NetSrvInfo599.minfreeconnections", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21477 { &hf_srvsvc_srvsvc_NetSrvInfo599_minfreeworkitems,
21478 { "Minfreeworkitems", "srvsvc.srvsvc_NetSrvInfo599.minfreeworkitems", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21479 { &hf_srvsvc_srvsvc_NetSrvInfo599_minkeepcomplsearch,
21480 { "Minkeepcomplsearch", "srvsvc.srvsvc_NetSrvInfo599.minkeepcomplsearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21481 { &hf_srvsvc_srvsvc_NetSrvInfo599_minkeepsearch,
21482 { "Minkeepsearch", "srvsvc.srvsvc_NetSrvInfo599.minkeepsearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21483 { &hf_srvsvc_srvsvc_NetSrvInfo599_minlinkthroughput,
21484 { "Minlinkthroughput", "srvsvc.srvsvc_NetSrvInfo599.minlinkthroughput", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21485 { &hf_srvsvc_srvsvc_NetSrvInfo599_minrcvqueue,
21486 { "Minrcvqueue", "srvsvc.srvsvc_NetSrvInfo599.minrcvqueue", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21487 { &hf_srvsvc_srvsvc_NetSrvInfo599_networkerrortreshold,
21488 { "Networkerrortreshold", "srvsvc.srvsvc_NetSrvInfo599.networkerrortreshold", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21489 { &hf_srvsvc_srvsvc_NetSrvInfo599_numlockthreads,
21490 { "Numlockthreads", "srvsvc.srvsvc_NetSrvInfo599.numlockthreads", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21491 { &hf_srvsvc_srvsvc_NetSrvInfo599_opensearch,
21492 { "Opensearch", "srvsvc.srvsvc_NetSrvInfo599.opensearch", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21493 { &hf_srvsvc_srvsvc_NetSrvInfo599_oplockbreakresponsewait,
21494 { "Oplockbreakresponsewait", "srvsvc.srvsvc_NetSrvInfo599.oplockbreakresponsewait", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21495 { &hf_srvsvc_srvsvc_NetSrvInfo599_oplockbreakwait,
21496 { "Oplockbreakwait", "srvsvc.srvsvc_NetSrvInfo599.oplockbreakwait", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21497 { &hf_srvsvc_srvsvc_NetSrvInfo599_rawworkitems,
21498 { "Rawworkitems", "srvsvc.srvsvc_NetSrvInfo599.rawworkitems", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21499 { &hf_srvsvc_srvsvc_NetSrvInfo599_reserved,
21500 { "Reserved", "srvsvc.srvsvc_NetSrvInfo599.reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21501 { &hf_srvsvc_srvsvc_NetSrvInfo599_scavqosinfoupdatetime,
21502 { "Scavqosinfoupdatetime", "srvsvc.srvsvc_NetSrvInfo599.scavqosinfoupdatetime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21503 { &hf_srvsvc_srvsvc_NetSrvInfo599_scavtimeout,
21504 { "Scavtimeout", "srvsvc.srvsvc_NetSrvInfo599.scavtimeout", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21505 { &hf_srvsvc_srvsvc_NetSrvInfo599_sessconns,
21506 { "Sessconns", "srvsvc.srvsvc_NetSrvInfo599.sessconns", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21507 { &hf_srvsvc_srvsvc_NetSrvInfo599_sessopen,
21508 { "Sessopen", "srvsvc.srvsvc_NetSrvInfo599.sessopen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21509 { &hf_srvsvc_srvsvc_NetSrvInfo599_sesssvc,
21510 { "Sesssvc", "srvsvc.srvsvc_NetSrvInfo599.sesssvc", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21511 { &hf_srvsvc_srvsvc_NetSrvInfo599_sessusers,
21512 { "Sessusers", "srvsvc.srvsvc_NetSrvInfo599.sessusers", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21513 { &hf_srvsvc_srvsvc_NetSrvInfo599_sizereqbufs,
21514 { "Sizereqbufs", "srvsvc.srvsvc_NetSrvInfo599.sizereqbufs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21515 { &hf_srvsvc_srvsvc_NetSrvInfo599_threadcountadd,
21516 { "Threadcountadd", "srvsvc.srvsvc_NetSrvInfo599.threadcountadd", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21517 { &hf_srvsvc_srvsvc_NetSrvInfo599_threadpriority,
21518 { "Threadpriority", "srvsvc.srvsvc_NetSrvInfo599.threadpriority", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21519 { &hf_srvsvc_srvsvc_NetSrvInfo599_timesource,
21520 { "Timesource", "srvsvc.srvsvc_NetSrvInfo599.timesource", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21521 { &hf_srvsvc_srvsvc_NetSrvInfo599_xactmemsize,
21522 { "Xactmemsize", "srvsvc.srvsvc_NetSrvInfo599.xactmemsize", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21523 { &hf_srvsvc_srvsvc_NetSrvInfo_info100,
21524 { "Info100", "srvsvc.srvsvc_NetSrvInfo.info100", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21525 { &hf_srvsvc_srvsvc_NetSrvInfo_info1005,
21526 { "Info1005", "srvsvc.srvsvc_NetSrvInfo.info1005", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21527 { &hf_srvsvc_srvsvc_NetSrvInfo_info101,
21528 { "Info101", "srvsvc.srvsvc_NetSrvInfo.info101", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21529 { &hf_srvsvc_srvsvc_NetSrvInfo_info1010,
21530 { "Info1010", "srvsvc.srvsvc_NetSrvInfo.info1010", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21531 { &hf_srvsvc_srvsvc_NetSrvInfo_info1016,
21532 { "Info1016", "srvsvc.srvsvc_NetSrvInfo.info1016", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21533 { &hf_srvsvc_srvsvc_NetSrvInfo_info1017,
21534 { "Info1017", "srvsvc.srvsvc_NetSrvInfo.info1017", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21535 { &hf_srvsvc_srvsvc_NetSrvInfo_info1018,
21536 { "Info1018", "srvsvc.srvsvc_NetSrvInfo.info1018", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21537 { &hf_srvsvc_srvsvc_NetSrvInfo_info102,
21538 { "Info102", "srvsvc.srvsvc_NetSrvInfo.info102", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21539 { &hf_srvsvc_srvsvc_NetSrvInfo_info1107,
21540 { "Info1107", "srvsvc.srvsvc_NetSrvInfo.info1107", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21541 { &hf_srvsvc_srvsvc_NetSrvInfo_info1501,
21542 { "Info1501", "srvsvc.srvsvc_NetSrvInfo.info1501", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21543 { &hf_srvsvc_srvsvc_NetSrvInfo_info1502,
21544 { "Info1502", "srvsvc.srvsvc_NetSrvInfo.info1502", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21545 { &hf_srvsvc_srvsvc_NetSrvInfo_info1503,
21546 { "Info1503", "srvsvc.srvsvc_NetSrvInfo.info1503", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21547 { &hf_srvsvc_srvsvc_NetSrvInfo_info1506,
21548 { "Info1506", "srvsvc.srvsvc_NetSrvInfo.info1506", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21549 { &hf_srvsvc_srvsvc_NetSrvInfo_info1509,
21550 { "Info1509", "srvsvc.srvsvc_NetSrvInfo.info1509", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21551 { &hf_srvsvc_srvsvc_NetSrvInfo_info1510,
21552 { "Info1510", "srvsvc.srvsvc_NetSrvInfo.info1510", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21553 { &hf_srvsvc_srvsvc_NetSrvInfo_info1511,
21554 { "Info1511", "srvsvc.srvsvc_NetSrvInfo.info1511", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21555 { &hf_srvsvc_srvsvc_NetSrvInfo_info1512,
21556 { "Info1512", "srvsvc.srvsvc_NetSrvInfo.info1512", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21557 { &hf_srvsvc_srvsvc_NetSrvInfo_info1513,
21558 { "Info1513", "srvsvc.srvsvc_NetSrvInfo.info1513", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21559 { &hf_srvsvc_srvsvc_NetSrvInfo_info1514,
21560 { "Info1514", "srvsvc.srvsvc_NetSrvInfo.info1514", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21561 { &hf_srvsvc_srvsvc_NetSrvInfo_info1515,
21562 { "Info1515", "srvsvc.srvsvc_NetSrvInfo.info1515", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21563 { &hf_srvsvc_srvsvc_NetSrvInfo_info1516,
21564 { "Info1516", "srvsvc.srvsvc_NetSrvInfo.info1516", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21565 { &hf_srvsvc_srvsvc_NetSrvInfo_info1518,
21566 { "Info1518", "srvsvc.srvsvc_NetSrvInfo.info1518", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21567 { &hf_srvsvc_srvsvc_NetSrvInfo_info1520,
21568 { "Info1520", "srvsvc.srvsvc_NetSrvInfo.info1520", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21569 { &hf_srvsvc_srvsvc_NetSrvInfo_info1521,
21570 { "Info1521", "srvsvc.srvsvc_NetSrvInfo.info1521", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21571 { &hf_srvsvc_srvsvc_NetSrvInfo_info1522,
21572 { "Info1522", "srvsvc.srvsvc_NetSrvInfo.info1522", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21573 { &hf_srvsvc_srvsvc_NetSrvInfo_info1523,
21574 { "Info1523", "srvsvc.srvsvc_NetSrvInfo.info1523", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21575 { &hf_srvsvc_srvsvc_NetSrvInfo_info1524,
21576 { "Info1524", "srvsvc.srvsvc_NetSrvInfo.info1524", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21577 { &hf_srvsvc_srvsvc_NetSrvInfo_info1525,
21578 { "Info1525", "srvsvc.srvsvc_NetSrvInfo.info1525", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21579 { &hf_srvsvc_srvsvc_NetSrvInfo_info1528,
21580 { "Info1528", "srvsvc.srvsvc_NetSrvInfo.info1528", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21581 { &hf_srvsvc_srvsvc_NetSrvInfo_info1529,
21582 { "Info1529", "srvsvc.srvsvc_NetSrvInfo.info1529", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21583 { &hf_srvsvc_srvsvc_NetSrvInfo_info1530,
21584 { "Info1530", "srvsvc.srvsvc_NetSrvInfo.info1530", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21585 { &hf_srvsvc_srvsvc_NetSrvInfo_info1533,
21586 { "Info1533", "srvsvc.srvsvc_NetSrvInfo.info1533", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21587 { &hf_srvsvc_srvsvc_NetSrvInfo_info1534,
21588 { "Info1534", "srvsvc.srvsvc_NetSrvInfo.info1534", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21589 { &hf_srvsvc_srvsvc_NetSrvInfo_info1535,
21590 { "Info1535", "srvsvc.srvsvc_NetSrvInfo.info1535", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21591 { &hf_srvsvc_srvsvc_NetSrvInfo_info1536,
21592 { "Info1536", "srvsvc.srvsvc_NetSrvInfo.info1536", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21593 { &hf_srvsvc_srvsvc_NetSrvInfo_info1537,
21594 { "Info1537", "srvsvc.srvsvc_NetSrvInfo.info1537", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21595 { &hf_srvsvc_srvsvc_NetSrvInfo_info1538,
21596 { "Info1538", "srvsvc.srvsvc_NetSrvInfo.info1538", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21597 { &hf_srvsvc_srvsvc_NetSrvInfo_info1539,
21598 { "Info1539", "srvsvc.srvsvc_NetSrvInfo.info1539", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21599 { &hf_srvsvc_srvsvc_NetSrvInfo_info1540,
21600 { "Info1540", "srvsvc.srvsvc_NetSrvInfo.info1540", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21601 { &hf_srvsvc_srvsvc_NetSrvInfo_info1541,
21602 { "Info1541", "srvsvc.srvsvc_NetSrvInfo.info1541", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21603 { &hf_srvsvc_srvsvc_NetSrvInfo_info1542,
21604 { "Info1542", "srvsvc.srvsvc_NetSrvInfo.info1542", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21605 { &hf_srvsvc_srvsvc_NetSrvInfo_info1543,
21606 { "Info1543", "srvsvc.srvsvc_NetSrvInfo.info1543", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21607 { &hf_srvsvc_srvsvc_NetSrvInfo_info1544,
21608 { "Info1544", "srvsvc.srvsvc_NetSrvInfo.info1544", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21609 { &hf_srvsvc_srvsvc_NetSrvInfo_info1545,
21610 { "Info1545", "srvsvc.srvsvc_NetSrvInfo.info1545", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21611 { &hf_srvsvc_srvsvc_NetSrvInfo_info1546,
21612 { "Info1546", "srvsvc.srvsvc_NetSrvInfo.info1546", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21613 { &hf_srvsvc_srvsvc_NetSrvInfo_info1547,
21614 { "Info1547", "srvsvc.srvsvc_NetSrvInfo.info1547", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21615 { &hf_srvsvc_srvsvc_NetSrvInfo_info1548,
21616 { "Info1548", "srvsvc.srvsvc_NetSrvInfo.info1548", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21617 { &hf_srvsvc_srvsvc_NetSrvInfo_info1549,
21618 { "Info1549", "srvsvc.srvsvc_NetSrvInfo.info1549", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21619 { &hf_srvsvc_srvsvc_NetSrvInfo_info1550,
21620 { "Info1550", "srvsvc.srvsvc_NetSrvInfo.info1550", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21621 { &hf_srvsvc_srvsvc_NetSrvInfo_info1552,
21622 { "Info1552", "srvsvc.srvsvc_NetSrvInfo.info1552", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21623 { &hf_srvsvc_srvsvc_NetSrvInfo_info1553,
21624 { "Info1553", "srvsvc.srvsvc_NetSrvInfo.info1553", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21625 { &hf_srvsvc_srvsvc_NetSrvInfo_info1554,
21626 { "Info1554", "srvsvc.srvsvc_NetSrvInfo.info1554", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21627 { &hf_srvsvc_srvsvc_NetSrvInfo_info1555,
21628 { "Info1555", "srvsvc.srvsvc_NetSrvInfo.info1555", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21629 { &hf_srvsvc_srvsvc_NetSrvInfo_info1556,
21630 { "Info1556", "srvsvc.srvsvc_NetSrvInfo.info1556", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21631 { &hf_srvsvc_srvsvc_NetSrvInfo_info402,
21632 { "Info402", "srvsvc.srvsvc_NetSrvInfo.info402", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21633 { &hf_srvsvc_srvsvc_NetSrvInfo_info403,
21634 { "Info403", "srvsvc.srvsvc_NetSrvInfo.info403", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21635 { &hf_srvsvc_srvsvc_NetSrvInfo_info502,
21636 { "Info502", "srvsvc.srvsvc_NetSrvInfo.info502", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21637 { &hf_srvsvc_srvsvc_NetSrvInfo_info503,
21638 { "Info503", "srvsvc.srvsvc_NetSrvInfo.info503", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21639 { &hf_srvsvc_srvsvc_NetSrvInfo_info599,
21640 { "Info599", "srvsvc.srvsvc_NetSrvInfo.info599", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21641 { &hf_srvsvc_srvsvc_NetSrvSetInfo_info,
21642 { "Info", "srvsvc.srvsvc_NetSrvSetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21643 { &hf_srvsvc_srvsvc_NetSrvSetInfo_level,
21644 { "Level", "srvsvc.srvsvc_NetSrvSetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21645 { &hf_srvsvc_srvsvc_NetSrvSetInfo_parm_error,
21646 { "Parm Error", "srvsvc.srvsvc_NetSrvSetInfo.parm_error", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21647 { &hf_srvsvc_srvsvc_NetSrvSetInfo_server_unc,
21648 { "Server Unc", "srvsvc.srvsvc_NetSrvSetInfo.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21649 { &hf_srvsvc_srvsvc_NetTransportAdd_info,
21650 { "Info", "srvsvc.srvsvc_NetTransportAdd.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21651 { &hf_srvsvc_srvsvc_NetTransportAdd_level,
21652 { "Level", "srvsvc.srvsvc_NetTransportAdd.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21653 { &hf_srvsvc_srvsvc_NetTransportAdd_server_unc,
21654 { "Server Unc", "srvsvc.srvsvc_NetTransportAdd.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21655 { &hf_srvsvc_srvsvc_NetTransportCtr0_array,
21656 { "Array", "srvsvc.srvsvc_NetTransportCtr0.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21657 { &hf_srvsvc_srvsvc_NetTransportCtr0_count,
21658 { "Count", "srvsvc.srvsvc_NetTransportCtr0.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21659 { &hf_srvsvc_srvsvc_NetTransportCtr1_array,
21660 { "Array", "srvsvc.srvsvc_NetTransportCtr1.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21661 { &hf_srvsvc_srvsvc_NetTransportCtr1_count,
21662 { "Count", "srvsvc.srvsvc_NetTransportCtr1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21663 { &hf_srvsvc_srvsvc_NetTransportCtr2_array,
21664 { "Array", "srvsvc.srvsvc_NetTransportCtr2.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21665 { &hf_srvsvc_srvsvc_NetTransportCtr2_count,
21666 { "Count", "srvsvc.srvsvc_NetTransportCtr2.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21667 { &hf_srvsvc_srvsvc_NetTransportCtr3_array,
21668 { "Array", "srvsvc.srvsvc_NetTransportCtr3.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21669 { &hf_srvsvc_srvsvc_NetTransportCtr3_count,
21670 { "Count", "srvsvc.srvsvc_NetTransportCtr3.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21671 { &hf_srvsvc_srvsvc_NetTransportCtr_ctr0,
21672 { "Ctr0", "srvsvc.srvsvc_NetTransportCtr.ctr0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21673 { &hf_srvsvc_srvsvc_NetTransportCtr_ctr1,
21674 { "Ctr1", "srvsvc.srvsvc_NetTransportCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21675 { &hf_srvsvc_srvsvc_NetTransportCtr_ctr2,
21676 { "Ctr2", "srvsvc.srvsvc_NetTransportCtr.ctr2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21677 { &hf_srvsvc_srvsvc_NetTransportCtr_ctr3,
21678 { "Ctr3", "srvsvc.srvsvc_NetTransportCtr.ctr3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21679 { &hf_srvsvc_srvsvc_NetTransportDel_info0,
21680 { "Info0", "srvsvc.srvsvc_NetTransportDel.info0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21681 { &hf_srvsvc_srvsvc_NetTransportDel_level,
21682 { "Level", "srvsvc.srvsvc_NetTransportDel.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21683 { &hf_srvsvc_srvsvc_NetTransportDel_server_unc,
21684 { "Server Unc", "srvsvc.srvsvc_NetTransportDel.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21685 { &hf_srvsvc_srvsvc_NetTransportEnum_max_buffer,
21686 { "Max Buffer", "srvsvc.srvsvc_NetTransportEnum.max_buffer", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21687 { &hf_srvsvc_srvsvc_NetTransportEnum_resume_handle,
21688 { "Resume Handle", "srvsvc.srvsvc_NetTransportEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21689 { &hf_srvsvc_srvsvc_NetTransportEnum_server_unc,
21690 { "Server Unc", "srvsvc.srvsvc_NetTransportEnum.server_unc", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21691 { &hf_srvsvc_srvsvc_NetTransportEnum_totalentries,
21692 { "Totalentries", "srvsvc.srvsvc_NetTransportEnum.totalentries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21693 { &hf_srvsvc_srvsvc_NetTransportEnum_transports,
21694 { "Transports", "srvsvc.srvsvc_NetTransportEnum.transports", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21695 { &hf_srvsvc_srvsvc_NetTransportInfo0_addr,
21696 { "Addr", "srvsvc.srvsvc_NetTransportInfo0.addr", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
21697 { &hf_srvsvc_srvsvc_NetTransportInfo0_addr_len,
21698 { "Addr Len", "srvsvc.srvsvc_NetTransportInfo0.addr_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21699 { &hf_srvsvc_srvsvc_NetTransportInfo0_name,
21700 { "Name", "srvsvc.srvsvc_NetTransportInfo0.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21701 { &hf_srvsvc_srvsvc_NetTransportInfo0_net_addr,
21702 { "Net Addr", "srvsvc.srvsvc_NetTransportInfo0.net_addr", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21703 { &hf_srvsvc_srvsvc_NetTransportInfo0_vcs,
21704 { "Vcs", "srvsvc.srvsvc_NetTransportInfo0.vcs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21705 { &hf_srvsvc_srvsvc_NetTransportInfo1_addr,
21706 { "Addr", "srvsvc.srvsvc_NetTransportInfo1.addr", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
21707 { &hf_srvsvc_srvsvc_NetTransportInfo1_addr_len,
21708 { "Addr Len", "srvsvc.srvsvc_NetTransportInfo1.addr_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21709 { &hf_srvsvc_srvsvc_NetTransportInfo1_domain,
21710 { "Domain", "srvsvc.srvsvc_NetTransportInfo1.domain", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21711 { &hf_srvsvc_srvsvc_NetTransportInfo1_name,
21712 { "Name", "srvsvc.srvsvc_NetTransportInfo1.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21713 { &hf_srvsvc_srvsvc_NetTransportInfo1_net_addr,
21714 { "Net Addr", "srvsvc.srvsvc_NetTransportInfo1.net_addr", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21715 { &hf_srvsvc_srvsvc_NetTransportInfo1_vcs,
21716 { "Vcs", "srvsvc.srvsvc_NetTransportInfo1.vcs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21717 { &hf_srvsvc_srvsvc_NetTransportInfo2_addr,
21718 { "Addr", "srvsvc.srvsvc_NetTransportInfo2.addr", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
21719 { &hf_srvsvc_srvsvc_NetTransportInfo2_addr_len,
21720 { "Addr Len", "srvsvc.srvsvc_NetTransportInfo2.addr_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21721 { &hf_srvsvc_srvsvc_NetTransportInfo2_domain,
21722 { "Domain", "srvsvc.srvsvc_NetTransportInfo2.domain", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21723 { &hf_srvsvc_srvsvc_NetTransportInfo2_name,
21724 { "Name", "srvsvc.srvsvc_NetTransportInfo2.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21725 { &hf_srvsvc_srvsvc_NetTransportInfo2_net_addr,
21726 { "Net Addr", "srvsvc.srvsvc_NetTransportInfo2.net_addr", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21727 { &hf_srvsvc_srvsvc_NetTransportInfo2_unknown,
21728 { "Unknown", "srvsvc.srvsvc_NetTransportInfo2.unknown", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21729 { &hf_srvsvc_srvsvc_NetTransportInfo2_vcs,
21730 { "Vcs", "srvsvc.srvsvc_NetTransportInfo2.vcs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21731 { &hf_srvsvc_srvsvc_NetTransportInfo3_addr,
21732 { "Addr", "srvsvc.srvsvc_NetTransportInfo3.addr", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
21733 { &hf_srvsvc_srvsvc_NetTransportInfo3_addr_len,
21734 { "Addr Len", "srvsvc.srvsvc_NetTransportInfo3.addr_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21735 { &hf_srvsvc_srvsvc_NetTransportInfo3_domain,
21736 { "Domain", "srvsvc.srvsvc_NetTransportInfo3.domain", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21737 { &hf_srvsvc_srvsvc_NetTransportInfo3_name,
21738 { "Name", "srvsvc.srvsvc_NetTransportInfo3.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21739 { &hf_srvsvc_srvsvc_NetTransportInfo3_net_addr,
21740 { "Net Addr", "srvsvc.srvsvc_NetTransportInfo3.net_addr", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
21741 { &hf_srvsvc_srvsvc_NetTransportInfo3_unknown1,
21742 { "Unknown1", "srvsvc.srvsvc_NetTransportInfo3.unknown1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21743 { &hf_srvsvc_srvsvc_NetTransportInfo3_unknown2,
21744 { "Unknown2", "srvsvc.srvsvc_NetTransportInfo3.unknown2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21745 { &hf_srvsvc_srvsvc_NetTransportInfo3_unknown3,
21746 { "Unknown3", "srvsvc.srvsvc_NetTransportInfo3.unknown3", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
21747 { &hf_srvsvc_srvsvc_NetTransportInfo3_vcs,
21748 { "Vcs", "srvsvc.srvsvc_NetTransportInfo3.vcs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21749 { &hf_srvsvc_srvsvc_NetTransportInfoCtr_ctr,
21750 { "Ctr", "srvsvc.srvsvc_NetTransportInfoCtr.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21751 { &hf_srvsvc_srvsvc_NetTransportInfoCtr_level,
21752 { "Level", "srvsvc.srvsvc_NetTransportInfoCtr.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21753 { &hf_srvsvc_srvsvc_NetTransportInfo_info0,
21754 { "Info0", "srvsvc.srvsvc_NetTransportInfo.info0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21755 { &hf_srvsvc_srvsvc_NetTransportInfo_info1,
21756 { "Info1", "srvsvc.srvsvc_NetTransportInfo.info1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21757 { &hf_srvsvc_srvsvc_NetTransportInfo_info2,
21758 { "Info2", "srvsvc.srvsvc_NetTransportInfo.info2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21759 { &hf_srvsvc_srvsvc_NetTransportInfo_info3,
21760 { "Info3", "srvsvc.srvsvc_NetTransportInfo.info3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
21761 { &hf_srvsvc_srvsvc_Statistics_avresponse,
21762 { "Avresponse", "srvsvc.srvsvc_Statistics.avresponse", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21763 { &hf_srvsvc_srvsvc_Statistics_bigbufneed,
21764 { "Bigbufneed", "srvsvc.srvsvc_Statistics.bigbufneed", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21765 { &hf_srvsvc_srvsvc_Statistics_bytesrcvd_high,
21766 { "Bytesrcvd High", "srvsvc.srvsvc_Statistics.bytesrcvd_high", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21767 { &hf_srvsvc_srvsvc_Statistics_bytesrcvd_low,
21768 { "Bytesrcvd Low", "srvsvc.srvsvc_Statistics.bytesrcvd_low", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21769 { &hf_srvsvc_srvsvc_Statistics_bytessent_high,
21770 { "Bytessent High", "srvsvc.srvsvc_Statistics.bytessent_high", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21771 { &hf_srvsvc_srvsvc_Statistics_bytessent_low,
21772 { "Bytessent Low", "srvsvc.srvsvc_Statistics.bytessent_low", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21773 { &hf_srvsvc_srvsvc_Statistics_devopens,
21774 { "Devopens", "srvsvc.srvsvc_Statistics.devopens", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21775 { &hf_srvsvc_srvsvc_Statistics_fopens,
21776 { "Fopens", "srvsvc.srvsvc_Statistics.fopens", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21777 { &hf_srvsvc_srvsvc_Statistics_jobsqueued,
21778 { "Jobsqueued", "srvsvc.srvsvc_Statistics.jobsqueued", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21779 { &hf_srvsvc_srvsvc_Statistics_permerrors,
21780 { "Permerrors", "srvsvc.srvsvc_Statistics.permerrors", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21781 { &hf_srvsvc_srvsvc_Statistics_pwerrors,
21782 { "Pwerrors", "srvsvc.srvsvc_Statistics.pwerrors", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21783 { &hf_srvsvc_srvsvc_Statistics_reqbufneed,
21784 { "Reqbufneed", "srvsvc.srvsvc_Statistics.reqbufneed", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21785 { &hf_srvsvc_srvsvc_Statistics_serrorout,
21786 { "Serrorout", "srvsvc.srvsvc_Statistics.serrorout", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21787 { &hf_srvsvc_srvsvc_Statistics_sopens,
21788 { "Sopens", "srvsvc.srvsvc_Statistics.sopens", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21789 { &hf_srvsvc_srvsvc_Statistics_start,
21790 { "Start", "srvsvc.srvsvc_Statistics.start", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21791 { &hf_srvsvc_srvsvc_Statistics_stimeouts,
21792 { "Stimeouts", "srvsvc.srvsvc_Statistics.stimeouts", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21793 { &hf_srvsvc_srvsvc_Statistics_syserrors,
21794 { "Syserrors", "srvsvc.srvsvc_Statistics.syserrors", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
21795 { &hf_srvsvc_werror,
21796 { "Windows Error", "srvsvc.werror", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
21800 static int *ett[] = {
21801 &ett_dcerpc_srvsvc,
21802 &ett_srvsvc_svcctl_ServerType,
21803 &ett_srvsvc_security_secinfo,
21804 &ett_srvsvc_srvsvc_NetCharDevInfo0,
21805 &ett_srvsvc_srvsvc_NetCharDevCtr0,
21806 &ett_srvsvc_srvsvc_NetCharDevInfo1,
21807 &ett_srvsvc_srvsvc_NetCharDevCtr1,
21808 &ett_srvsvc_srvsvc_NetCharDevInfo,
21809 &ett_srvsvc_srvsvc_NetCharDevCtr,
21810 &ett_srvsvc_srvsvc_NetCharDevInfoCtr,
21811 &ett_srvsvc_srvsvc_NetCharDevQInfo0,
21812 &ett_srvsvc_srvsvc_NetCharDevQCtr0,
21813 &ett_srvsvc_srvsvc_NetCharDevQInfo1,
21814 &ett_srvsvc_srvsvc_NetCharDevQCtr1,
21815 &ett_srvsvc_srvsvc_NetCharDevQInfo,
21816 &ett_srvsvc_srvsvc_NetCharDevQCtr,
21817 &ett_srvsvc_srvsvc_NetCharDevQInfoCtr,
21818 &ett_srvsvc_srvsvc_NetConnInfo0,
21819 &ett_srvsvc_srvsvc_NetConnCtr0,
21820 &ett_srvsvc_srvsvc_NetConnInfo1,
21821 &ett_srvsvc_srvsvc_NetConnCtr1,
21822 &ett_srvsvc_srvsvc_NetConnCtr,
21823 &ett_srvsvc_srvsvc_NetConnInfoCtr,
21824 &ett_srvsvc_srvsvc_NetFileInfo2,
21825 &ett_srvsvc_srvsvc_NetFileCtr2,
21826 &ett_srvsvc_srvsvc_NetFileInfo3,
21827 &ett_srvsvc_srvsvc_NetFileCtr3,
21828 &ett_srvsvc_srvsvc_NetFileInfo,
21829 &ett_srvsvc_srvsvc_NetFileCtr,
21830 &ett_srvsvc_srvsvc_NetFileInfoCtr,
21831 &ett_srvsvc_srvsvc_NetSessInfo0,
21832 &ett_srvsvc_srvsvc_NetSessCtr0,
21833 &ett_srvsvc_srvsvc_NetSessInfo1,
21834 &ett_srvsvc_srvsvc_NetSessCtr1,
21835 &ett_srvsvc_srvsvc_NetSessInfo2,
21836 &ett_srvsvc_srvsvc_NetSessCtr2,
21837 &ett_srvsvc_srvsvc_NetSessInfo10,
21838 &ett_srvsvc_srvsvc_NetSessCtr10,
21839 &ett_srvsvc_srvsvc_NetSessInfo502,
21840 &ett_srvsvc_srvsvc_NetSessCtr502,
21841 &ett_srvsvc_srvsvc_NetSessCtr,
21842 &ett_srvsvc_srvsvc_NetSessInfoCtr,
21843 &ett_srvsvc_srvsvc_NetShareInfo0,
21844 &ett_srvsvc_srvsvc_NetShareCtr0,
21845 &ett_srvsvc_srvsvc_NetShareInfo1,
21846 &ett_srvsvc_srvsvc_NetShareCtr1,
21847 &ett_srvsvc_srvsvc_NetShareInfo2,
21848 &ett_srvsvc_srvsvc_NetShareCtr2,
21849 &ett_srvsvc_srvsvc_NetShareInfo501,
21850 &ett_srvsvc_srvsvc_NetShareCtr501,
21851 &ett_srvsvc_srvsvc_NetShareInfo502,
21852 &ett_srvsvc_srvsvc_NetShareCtr502,
21853 &ett_srvsvc_srvsvc_NetShareInfo1004,
21854 &ett_srvsvc_srvsvc_NetShareCtr1004,
21855 &ett_srvsvc_NetShareInfo1005Flags,
21856 &ett_srvsvc_srvsvc_NetShareInfo1005,
21857 &ett_srvsvc_srvsvc_NetShareCtr1005,
21858 &ett_srvsvc_srvsvc_NetShareInfo1006,
21859 &ett_srvsvc_srvsvc_NetShareCtr1006,
21860 &ett_srvsvc_srvsvc_NetShareInfo1007,
21861 &ett_srvsvc_srvsvc_NetShareCtr1007,
21862 &ett_srvsvc_srvsvc_NetShareCtr1501,
21863 &ett_srvsvc_srvsvc_NetShareInfo,
21864 &ett_srvsvc_srvsvc_NetShareCtr,
21865 &ett_srvsvc_srvsvc_NetShareInfoCtr,
21866 &ett_srvsvc_srvsvc_NetSrvInfo100,
21867 &ett_srvsvc_srvsvc_NetSrvInfo101,
21868 &ett_srvsvc_srvsvc_NetSrvInfo102,
21869 &ett_srvsvc_srvsvc_NetSrvInfo402,
21870 &ett_srvsvc_srvsvc_NetSrvInfo403,
21871 &ett_srvsvc_srvsvc_NetSrvInfo502,
21872 &ett_srvsvc_srvsvc_NetSrvInfo503,
21873 &ett_srvsvc_srvsvc_NetSrvInfo599,
21874 &ett_srvsvc_srvsvc_NetSrvInfo1005,
21875 &ett_srvsvc_srvsvc_NetSrvInfo1010,
21876 &ett_srvsvc_srvsvc_NetSrvInfo1016,
21877 &ett_srvsvc_srvsvc_NetSrvInfo1017,
21878 &ett_srvsvc_srvsvc_NetSrvInfo1018,
21879 &ett_srvsvc_srvsvc_NetSrvInfo1107,
21880 &ett_srvsvc_srvsvc_NetSrvInfo1501,
21881 &ett_srvsvc_srvsvc_NetSrvInfo1502,
21882 &ett_srvsvc_srvsvc_NetSrvInfo1503,
21883 &ett_srvsvc_srvsvc_NetSrvInfo1506,
21884 &ett_srvsvc_srvsvc_NetSrvInfo1509,
21885 &ett_srvsvc_srvsvc_NetSrvInfo1510,
21886 &ett_srvsvc_srvsvc_NetSrvInfo1511,
21887 &ett_srvsvc_srvsvc_NetSrvInfo1512,
21888 &ett_srvsvc_srvsvc_NetSrvInfo1513,
21889 &ett_srvsvc_srvsvc_NetSrvInfo1514,
21890 &ett_srvsvc_srvsvc_NetSrvInfo1515,
21891 &ett_srvsvc_srvsvc_NetSrvInfo1516,
21892 &ett_srvsvc_srvsvc_NetSrvInfo1518,
21893 &ett_srvsvc_srvsvc_NetSrvInfo1520,
21894 &ett_srvsvc_srvsvc_NetSrvInfo1521,
21895 &ett_srvsvc_srvsvc_NetSrvInfo1522,
21896 &ett_srvsvc_srvsvc_NetSrvInfo1523,
21897 &ett_srvsvc_srvsvc_NetSrvInfo1524,
21898 &ett_srvsvc_srvsvc_NetSrvInfo1525,
21899 &ett_srvsvc_srvsvc_NetSrvInfo1528,
21900 &ett_srvsvc_srvsvc_NetSrvInfo1529,
21901 &ett_srvsvc_srvsvc_NetSrvInfo1530,
21902 &ett_srvsvc_srvsvc_NetSrvInfo1533,
21903 &ett_srvsvc_srvsvc_NetSrvInfo1534,
21904 &ett_srvsvc_srvsvc_NetSrvInfo1535,
21905 &ett_srvsvc_srvsvc_NetSrvInfo1536,
21906 &ett_srvsvc_srvsvc_NetSrvInfo1537,
21907 &ett_srvsvc_srvsvc_NetSrvInfo1538,
21908 &ett_srvsvc_srvsvc_NetSrvInfo1539,
21909 &ett_srvsvc_srvsvc_NetSrvInfo1540,
21910 &ett_srvsvc_srvsvc_NetSrvInfo1541,
21911 &ett_srvsvc_srvsvc_NetSrvInfo1542,
21912 &ett_srvsvc_srvsvc_NetSrvInfo1543,
21913 &ett_srvsvc_srvsvc_NetSrvInfo1544,
21914 &ett_srvsvc_srvsvc_NetSrvInfo1545,
21915 &ett_srvsvc_srvsvc_NetSrvInfo1546,
21916 &ett_srvsvc_srvsvc_NetSrvInfo1547,
21917 &ett_srvsvc_srvsvc_NetSrvInfo1548,
21918 &ett_srvsvc_srvsvc_NetSrvInfo1549,
21919 &ett_srvsvc_srvsvc_NetSrvInfo1550,
21920 &ett_srvsvc_srvsvc_NetSrvInfo1552,
21921 &ett_srvsvc_srvsvc_NetSrvInfo1553,
21922 &ett_srvsvc_srvsvc_NetSrvInfo1554,
21923 &ett_srvsvc_srvsvc_NetSrvInfo1555,
21924 &ett_srvsvc_srvsvc_NetSrvInfo1556,
21925 &ett_srvsvc_srvsvc_NetSrvInfo,
21926 &ett_srvsvc_srvsvc_NetDiskInfo0,
21927 &ett_srvsvc_srvsvc_NetDiskInfo,
21928 &ett_srvsvc_srvsvc_Statistics,
21929 &ett_srvsvc_srvsvc_NetTransportInfo0,
21930 &ett_srvsvc_srvsvc_NetTransportCtr0,
21931 &ett_srvsvc_srvsvc_NetTransportInfo1,
21932 &ett_srvsvc_srvsvc_NetTransportCtr1,
21933 &ett_srvsvc_srvsvc_NetTransportInfo2,
21934 &ett_srvsvc_srvsvc_NetTransportCtr2,
21935 &ett_srvsvc_srvsvc_NetTransportInfo3,
21936 &ett_srvsvc_srvsvc_NetTransportCtr3,
21937 &ett_srvsvc_srvsvc_NetTransportCtr,
21938 &ett_srvsvc_srvsvc_NetTransportInfoCtr,
21939 &ett_srvsvc_srvsvc_NetRemoteTODInfo,
21940 &ett_srvsvc_srvsvc_NetTransportInfo,
21943 proto_dcerpc_srvsvc = proto_register_protocol("Server Service", "SRVSVC", "srvsvc");
21944 proto_register_field_array(proto_dcerpc_srvsvc, hf, array_length (hf));
21945 proto_register_subtree_array(ett, array_length(ett));
21948 void proto_reg_handoff_dcerpc_srvsvc(void)
21950 dcerpc_init_uuid(proto_dcerpc_srvsvc, ett_dcerpc_srvsvc,
21951 &uuid_dcerpc_srvsvc, ver_dcerpc_srvsvc,
21952 srvsvc_dissectors, hf_srvsvc_opnum);