Revert "WHY??? git add -f bin/default/librpc/gen_ndr/packet-dcerpc-*"
[metze/samba/wip.git] / bin / default / librpc / gen_ndr / packet-dcerpc-wkssvc.c
1 /* DO NOT EDIT
2         This filter was automatically generated
3         from /home/metze/devel/samba/4.0/master4-franky/librpc/idl/wkssvc.idl and /home/metze/devel/samba/4.0/master4-franky/librpc/idl/wkssvc.cnf.
4         
5         Pidl is a perl based IDL compiler for DCE/RPC idl files.
6         It is maintained by the Samba team, not the Wireshark team.
7         Instructions on how to download and install Pidl can be
8         found at http://wiki.wireshark.org/Pidl
9
10         $Id$
11 */
12
13
14 #include "config.h"
15 #ifdef _MSC_VER
16 #pragma warning(disable:4005)
17 #pragma warning(disable:4013)
18 #pragma warning(disable:4018)
19 #pragma warning(disable:4101)
20 #endif
21
22 #include <glib.h>
23 #include <string.h>
24 #include <epan/packet.h>
25
26 #include "packet-dcerpc.h"
27 #include "packet-dcerpc-nt.h"
28 #include "packet-windows-common.h"
29 #include "packet-dcerpc-wkssvc.h"
30
31 /* Ett declarations */
32 static gint ett_dcerpc_wkssvc = -1;
33 static gint ett_wkssvc_wkssvc_NetWkstaInfo100 = -1;
34 static gint ett_wkssvc_wkssvc_NetWkstaInfo101 = -1;
35 static gint ett_wkssvc_wkssvc_NetWkstaInfo102 = -1;
36 static gint ett_wkssvc_wkssvc_NetWkstaInfo502 = -1;
37 static gint ett_wkssvc_wkssvc_NetWkstaInfo1010 = -1;
38 static gint ett_wkssvc_wkssvc_NetWkstaInfo1011 = -1;
39 static gint ett_wkssvc_wkssvc_NetWkstaInfo1012 = -1;
40 static gint ett_wkssvc_wkssvc_NetWkstaInfo1013 = -1;
41 static gint ett_wkssvc_wkssvc_NetWkstaInfo1018 = -1;
42 static gint ett_wkssvc_wkssvc_NetWkstaInfo1023 = -1;
43 static gint ett_wkssvc_wkssvc_NetWkstaInfo1027 = -1;
44 static gint ett_wkssvc_wkssvc_NetWkstaInfo1028 = -1;
45 static gint ett_wkssvc_wkssvc_NetWkstaInfo1032 = -1;
46 static gint ett_wkssvc_wkssvc_NetWkstaInfo1033 = -1;
47 static gint ett_wkssvc_wkssvc_NetWkstaInfo1041 = -1;
48 static gint ett_wkssvc_wkssvc_NetWkstaInfo1042 = -1;
49 static gint ett_wkssvc_wkssvc_NetWkstaInfo1043 = -1;
50 static gint ett_wkssvc_wkssvc_NetWkstaInfo1044 = -1;
51 static gint ett_wkssvc_wkssvc_NetWkstaInfo1045 = -1;
52 static gint ett_wkssvc_wkssvc_NetWkstaInfo1046 = -1;
53 static gint ett_wkssvc_wkssvc_NetWkstaInfo1047 = -1;
54 static gint ett_wkssvc_wkssvc_NetWkstaInfo1048 = -1;
55 static gint ett_wkssvc_wkssvc_NetWkstaInfo1049 = -1;
56 static gint ett_wkssvc_wkssvc_NetWkstaInfo1050 = -1;
57 static gint ett_wkssvc_wkssvc_NetWkstaInfo1051 = -1;
58 static gint ett_wkssvc_wkssvc_NetWkstaInfo1052 = -1;
59 static gint ett_wkssvc_wkssvc_NetWkstaInfo1053 = -1;
60 static gint ett_wkssvc_wkssvc_NetWkstaInfo1054 = -1;
61 static gint ett_wkssvc_wkssvc_NetWkstaInfo1055 = -1;
62 static gint ett_wkssvc_wkssvc_NetWkstaInfo1056 = -1;
63 static gint ett_wkssvc_wkssvc_NetWkstaInfo1057 = -1;
64 static gint ett_wkssvc_wkssvc_NetWkstaInfo1058 = -1;
65 static gint ett_wkssvc_wkssvc_NetWkstaInfo1059 = -1;
66 static gint ett_wkssvc_wkssvc_NetWkstaInfo1060 = -1;
67 static gint ett_wkssvc_wkssvc_NetWkstaInfo1061 = -1;
68 static gint ett_wkssvc_wkssvc_NetWkstaInfo1062 = -1;
69 static gint ett_wkssvc_wkssvc_NetWkstaInfo = -1;
70 static gint ett_wkssvc_wkssvc_NetrWkstaUserInfo0 = -1;
71 static gint ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr0 = -1;
72 static gint ett_wkssvc_wkssvc_NetrWkstaUserInfo1 = -1;
73 static gint ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr1 = -1;
74 static gint ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr = -1;
75 static gint ett_wkssvc_wkssvc_NetWkstaEnumUsersInfo = -1;
76 static gint ett_wkssvc_wkssvc_NetrWkstaUserInfo1101 = -1;
77 static gint ett_wkssvc_wkssvc_NetrWkstaUserInfo = -1;
78 static gint ett_wkssvc_wkssvc_NetWkstaTransportInfo0 = -1;
79 static gint ett_wkssvc_wkssvc_NetWkstaTransportCtr0 = -1;
80 static gint ett_wkssvc_wkssvc_NetWkstaTransportCtr = -1;
81 static gint ett_wkssvc_wkssvc_NetWkstaTransportInfo = -1;
82 static gint ett_wkssvc_wkssvc_NetrUseInfo3 = -1;
83 static gint ett_wkssvc_wkssvc_NetrUseInfo2 = -1;
84 static gint ett_wkssvc_wkssvc_NetrUseInfo1 = -1;
85 static gint ett_wkssvc_wkssvc_NetrUseInfo0 = -1;
86 static gint ett_wkssvc_wkssvc_NetrUseGetInfoCtr = -1;
87 static gint ett_wkssvc_wkssvc_NetrUseEnumCtr2 = -1;
88 static gint ett_wkssvc_wkssvc_NetrUseEnumCtr1 = -1;
89 static gint ett_wkssvc_wkssvc_NetrUseEnumCtr0 = -1;
90 static gint ett_wkssvc_wkssvc_NetrUseEnumCtr = -1;
91 static gint ett_wkssvc_wkssvc_NetrUseEnumInfo = -1;
92 static gint ett_wkssvc_wkssvc_NetrWorkstationStatistics = -1;
93 static gint ett_wkssvc_wkssvc_renameflags = -1;
94 static gint ett_wkssvc_wkssvc_PasswordBuffer = -1;
95 static gint ett_wkssvc_wkssvc_joinflags = -1;
96 static gint ett_wkssvc_wkssvc_ComputerNamesCtr = -1;
97
98
99 /* Header field declarations */
100 static gint hf_wkssvc_wkssvc_NetrUseInfo2_use_count = -1;
101 static gint hf_wkssvc_wkssvc_NetWkstaTransportInfo0_quality_of_service = -1;
102 static gint hf_wkssvc_wkssvc_NetWkstaInfo1045_pipe_maximum = -1;
103 static gint hf_wkssvc_wkssvc_NetrUseInfo2_password = -1;
104 static gint hf_wkssvc_wkssvc_NetrJoinDomain2_join_flags = -1;
105 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr1 = -1;
106 static gint hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_level = -1;
107 static gint hf_wkssvc_wkssvc_NetrUseEnum_entries_read = -1;
108 static gint hf_wkssvc_wkssvc_NetrSetPrimaryComputername_EncryptedPassword = -1;
109 static gint hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_parm_err = -1;
110 static gint hf_wkssvc_wkssvc_NetrUseEnum_info = -1;
111 static gint hf_wkssvc_wkssvc_NetrSetPrimaryComputername_Account = -1;
112 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown14 = -1;
113 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user0 = -1;
114 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus_domain_name = -1;
115 static gint hf_wkssvc_wkssvc_NetrUseInfo2_user_name = -1;
116 static gint hf_wkssvc_wkssvc_NetWkstaInfo101_version_major = -1;
117 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo1_other_domains = -1;
118 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus_Account = -1;
119 static gint hf_wkssvc_wkssvc_NetWkstaTransportCtr_ctr0 = -1;
120 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_dgram_event_reset_freq = -1;
121 static gint hf_wkssvc_wkssvc_NetWkstaInfo102_lan_root = -1;
122 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo1_user_name = -1;
123 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info502 = -1;
124 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown32 = -1;
125 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown29 = -1;
126 static gint hf_wkssvc_wkssvc_NetWkstaInfo1055_use_raw_write = -1;
127 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1051 = -1;
128 static gint hf_wkssvc_wkssvc_NetrValidateName2_name = -1;
129 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_dormant_file_limit = -1;
130 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_maximum_collection_count = -1;
131 static gint hf_wkssvc_wkssvc_NetrMessageBufferSend_server_name = -1;
132 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_write_raw_data = -1;
133 static gint hf_wkssvc_wkssvc_NetrEnumerateComputerNames_Reserved = -1;
134 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_size_char_buf = -1;
135 static gint hf_wkssvc_wkssvc_NetWkstaTransportCtr0_array = -1;
136 static gint hf_wkssvc_wkssvc_NetrEnumerateComputerNames_name_type = -1;
137 static gint hf_wkssvc_wkssvc_NetrUseAdd_parm_err = -1;
138 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown9 = -1;
139 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus2_num_ous = -1;
140 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain_server_name = -1;
141 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown38 = -1;
142 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo1101_other_domains = -1;
143 static gint hf_wkssvc_wkssvc_NetWkstaGetInfo_level = -1;
144 static gint hf_wkssvc_wkssvc_NetrUseInfo1_ref_count = -1;
145 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown4 = -1;
146 static gint hf_wkssvc_wkssvc_NetrJoinDomain2_domain_name = -1;
147 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr2 = -1;
148 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown3 = -1;
149 static gint hf_wkssvc_wkssvc_NetrJoinDomain_join_flags = -1;
150 static gint hf_wkssvc_wkssvc_NetrUseDel_use_name = -1;
151 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_buf_files_deny_write = -1;
152 static gint hf_wkssvc_wkssvc_NetrUseGetInfo_use_name = -1;
153 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1060 = -1;
154 static gint hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown4 = -1;
155 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1057 = -1;
156 static gint hf_wkssvc_wkssvc_NetWkstaTransportInfo_level = -1;
157 static gint hf_wkssvc_wkssvc_NetWkstaTransportInfo0_name = -1;
158 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr1_array = -1;
159 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown20 = -1;
160 static gint hf_wkssvc_wkssvc_NetrUseEnum_server_name = -1;
161 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr1_entries_read = -1;
162 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown37 = -1;
163 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1058 = -1;
164 static gint hf_wkssvc_wkssvc_NetrUseGetInfo_server_name = -1;
165 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE = -1;
166 static gint hf_wkssvc_wkssvc_NetWkstaInfo1043_lock_maximum = -1;
167 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown24 = -1;
168 static gint hf_wkssvc_wkssvc_NetWkstaInfo102_domain_name = -1;
169 static gint hf_wkssvc_wkssvc_NetrUseDel_force_cond = -1;
170 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsers_resume_handle = -1;
171 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr0_count = -1;
172 static gint hf_wkssvc_wkssvc_NetWkstaInfo1053_utilize_nt_caching = -1;
173 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_num_srv_announce_buffers = -1;
174 static gint hf_wkssvc_wkssvc_NetWkstaInfo100_platform_id = -1;
175 static gint hf_wkssvc_wkssvc_NetrSetPrimaryComputername_primary_name = -1;
176 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown36 = -1;
177 static gint hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info0 = -1;
178 static gint hf_wkssvc_wkssvc_NetrUseGetInfo_ctr = -1;
179 static gint hf_wkssvc_wkssvc_NetrUseInfo3_unknown2 = -1;
180 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1 = -1;
181 static gint hf_wkssvc_wkssvc_NetWkstaInfo1048_use_opportunistic_locking = -1;
182 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown27 = -1;
183 static gint hf_wkssvc_wkssvc_NetWkstaTransportInfo0_vc_count = -1;
184 static gint hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_EncryptedPassword = -1;
185 static gint hf_wkssvc_wkssvc_NetrAddAlternateComputerName_Account = -1;
186 static gint hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_info = -1;
187 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsers_entries_read = -1;
188 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsers_prefmaxlen = -1;
189 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_domain = -1;
190 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown16 = -1;
191 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_log_election_packets = -1;
192 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_raw_read = -1;
193 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus_unknown = -1;
194 static gint hf_wkssvc_wkssvc_NetrSetPrimaryComputername_Reserved = -1;
195 static gint hf_wkssvc_wkssvc_NetWkstaInfo1027_errorlog_sz = -1;
196 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1052 = -1;
197 static gint hf_wkssvc_wkssvc_NetWkstaInfo1012_maximum_collection_count = -1;
198 static gint hf_wkssvc_wkssvc_NetrJoinDomain2_admin_account = -1;
199 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr0 = -1;
200 static gint hf_wkssvc_wkssvc_NetWkstaInfo1050_use_close_behind = -1;
201 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_unlock_behind = -1;
202 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user1 = -1;
203 static gint hf_wkssvc_wkssvc_NetWkstaInfo102_version_minor = -1;
204 static gint hf_wkssvc_wkssvc_ComputerNamesCtr_count = -1;
205 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1048 = -1;
206 static gint hf_wkssvc_wkssvc_NetWkstaInfo1018_session_timeout = -1;
207 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_keep_connection = -1;
208 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown31 = -1;
209 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_max_commands = -1;
210 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_lock_quota = -1;
211 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown40 = -1;
212 static gint hf_wkssvc_wkssvc_NetWkstaInfo1033_max_threads = -1;
213 static gint hf_wkssvc_wkssvc_NetrUseAdd_level = -1;
214 static gint hf_wkssvc_wkssvc_renameflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE = -1;
215 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown25 = -1;
216 static gint hf_wkssvc_wkssvc_NetrUseDel_server_name = -1;
217 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_server = -1;
218 static gint hf_wkssvc_wkssvc_PasswordBuffer_data = -1;
219 static gint hf_wkssvc_wkssvc_NetrUseInfo3_unknown1 = -1;
220 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_cache_file_timeout = -1;
221 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_num_mailslot_buffers = -1;
222 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1055 = -1;
223 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain_password = -1;
224 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown13 = -1;
225 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_utilize_nt_caching = -1;
226 static gint hf_wkssvc_wkssvc_NetWkstaInfo1061_use_512_byte_max_transfer = -1;
227 static gint hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_info = -1;
228 static gint hf_wkssvc_wkssvc_NetWkstaSetInfo_server_name = -1;
229 static gint hf_wkssvc_wkssvc_NetrJoinDomain2_encrypted_password = -1;
230 static gint hf_wkssvc_wkssvc_NetrUseEnum_prefmaxlen = -1;
231 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown2 = -1;
232 static gint hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_server_name = -1;
233 static gint hf_wkssvc_wkssvc_NetrWkstaTransportDel_server_name = -1;
234 static gint hf_wkssvc_wkssvc_NetrJoinDomain2_account_ou = -1;
235 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DEFER_SPN = -1;
236 static gint hf_wkssvc_wkssvc_NetWkstaInfo1010_char_wait = -1;
237 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain_RenameOptions = -1;
238 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsers_server_name = -1;
239 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain_Account = -1;
240 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown23 = -1;
241 static gint hf_wkssvc_wkssvc_NetrUseEnumInfo_ctr = -1;
242 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersInfo_ctr = -1;
243 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr0_user0 = -1;
244 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_buf_read_only_files = -1;
245 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain_server_name = -1;
246 static gint hf_wkssvc_wkssvc_NetWkstaInfo101_lan_root = -1;
247 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_TYPE = -1;
248 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_buf_named_pipes = -1;
249 static gint hf_wkssvc_wkssvc_NetrUseInfo2_ref_count = -1;
250 static gint hf_wkssvc_wkssvc_NetWkstaInfo1044_pipe_increment = -1;
251 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED = -1;
252 static gint hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove = -1;
253 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr2_array = -1;
254 static gint hf_wkssvc_wkssvc_NetWkstaGetInfo_info = -1;
255 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_max_illegal_dgram_events = -1;
256 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1047 = -1;
257 static gint hf_wkssvc_wkssvc_NetrValidateName_Password = -1;
258 static gint hf_wkssvc_wkssvc_NetWkstaInfo1028_print_buf_time = -1;
259 static gint hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info3 = -1;
260 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus2_Account = -1;
261 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_RenameOptions = -1;
262 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1101 = -1;
263 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown17 = -1;
264 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1013 = -1;
265 static gint hf_wkssvc_wkssvc_NetrValidateName2_server_name = -1;
266 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown34 = -1;
267 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1018 = -1;
268 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr0_entries_read = -1;
269 static gint hf_wkssvc_wkssvc_NetWkstaInfo1057_use_encryption = -1;
270 static gint hf_wkssvc_wkssvc_NetrUseInfo1_status = -1;
271 static gint hf_wkssvc_wkssvc_NetWkstaTransportInfo0_wan_link = -1;
272 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown35 = -1;
273 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown7 = -1;
274 static gint hf_wkssvc_wkssvc_NetWkstaSetInfo_parm_error = -1;
275 static gint hf_wkssvc_wkssvc_NetrUseInfo0_remote = -1;
276 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo_info0 = -1;
277 static gint hf_wkssvc_wkssvc_NetWkstaInfo1060_force_core_create_mode = -1;
278 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo0_user_name = -1;
279 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info101 = -1;
280 static gint hf_wkssvc_wkssvc_NetWkstaTransportInfo0_address = -1;
281 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown39 = -1;
282 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr2_count = -1;
283 static gint hf_wkssvc_wkssvc_NetrGetJoinInformation_name_buffer = -1;
284 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain_NewMachineName = -1;
285 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_lock_maximum = -1;
286 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain_Account = -1;
287 static gint hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_level = -1;
288 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1049 = -1;
289 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus_num_ous = -1;
290 static gint hf_wkssvc_wkssvc_NetrUseInfo2_asg_type = -1;
291 static gint hf_wkssvc_wkssvc_NetrUseInfo1_password = -1;
292 static gint hf_wkssvc_wkssvc_NetrUseInfo1_local = -1;
293 static gint hf_wkssvc_wkssvc_NetWkstaInfo1054_use_raw_read = -1;
294 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_server_name = -1;
295 static gint hf_wkssvc_wkssvc_NetWkstaInfo1023_size_char_buf = -1;
296 static gint hf_wkssvc_wkssvc_NetWkstaInfo100_domain_name = -1;
297 static gint hf_wkssvc_wkssvc_NetWkstaTransportEnum_max_buffer = -1;
298 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT = -1;
299 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1042 = -1;
300 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1045 = -1;
301 static gint hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_unknown = -1;
302 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1011 = -1;
303 static gint hf_wkssvc_wkssvc_NetWkstaInfo1049_use_unlock_behind = -1;
304 static gint hf_wkssvc_wkssvc_NetWkstaInfo1062_read_ahead_throughput = -1;
305 static gint hf_wkssvc_wkssvc_NetWkstaInfo1056_use_write_raw_data = -1;
306 static gint hf_wkssvc_wkssvc_NetrWkstaTransportAdd_info0 = -1;
307 static gint hf_wkssvc_wkssvc_NetrValidateName_name = -1;
308 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown18 = -1;
309 static gint hf_wkssvc_wkssvc_NetrMessageBufferSend_message_size = -1;
310 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_UNSECURE = -1;
311 static gint hf_wkssvc_wkssvc_ComputerNamesCtr_computer_name = -1;
312 static gint hf_wkssvc_wkssvc_NetrValidateName2_name_type = -1;
313 static gint hf_wkssvc_wkssvc_NetrValidateName2_Account = -1;
314 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus_server_name = -1;
315 static gint hf_wkssvc_wkssvc_NetWkstaTransportEnum_total_entries = -1;
316 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE = -1;
317 static gint hf_wkssvc_wkssvc_NetrValidateName2_EncryptedPassword = -1;
318 static gint hf_wkssvc_wkssvc_NetrWkstaTransportDel_unknown3 = -1;
319 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1062 = -1;
320 static gint hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_unknown = -1;
321 static gint hf_wkssvc_wkssvc_NetrAddAlternateComputerName_server_name = -1;
322 static gint hf_wkssvc_wkssvc_NetrJoinDomain2_server_name = -1;
323 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info102 = -1;
324 static gint hf_wkssvc_wkssvc_NetrJoinDomain_Account = -1;
325 static gint hf_wkssvc_wkssvc_NetWkstaInfo1046_dormant_file_limit = -1;
326 static gint hf_wkssvc_wkssvc_NetrWkstaTransportAdd_parm_err = -1;
327 static gint hf_wkssvc_wkssvc_NetWkstaInfo102_version_major = -1;
328 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown22 = -1;
329 static gint hf_wkssvc_wkssvc_NetrUseInfo1_use_count = -1;
330 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain2_server_name = -1;
331 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_512_byte_max_transfer = -1;
332 static gint hf_wkssvc_wkssvc_NetWkstaTransportEnum_info = -1;
333 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1033 = -1;
334 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1046 = -1;
335 static gint hf_wkssvc_wkssvc_NetWkstaSetInfo_info = -1;
336 static gint hf_wkssvc_wkssvc_NetrMessageBufferSend_message_sender_name = -1;
337 static gint hf_wkssvc_wkssvc_NetrUseInfo1_remote = -1;
338 static gint hf_wkssvc_wkssvc_NetrUseInfo2_domain_name = -1;
339 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr1_count = -1;
340 static gint hf_wkssvc_wkssvc_NetWkstaInfo1047_cache_file_timeout = -1;
341 static gint hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info2 = -1;
342 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown30 = -1;
343 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1028 = -1;
344 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info100 = -1;
345 static gint hf_wkssvc_wkssvc_NetrLogonDomainNameDel_domain_name = -1;
346 static gint hf_wkssvc_wkssvc_NetWkstaInfo1013_keep_connection = -1;
347 static gint hf_wkssvc_wkssvc_NetrEnumerateComputerNames_server_name = -1;
348 static gint hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_info = -1;
349 static gint hf_wkssvc_wkssvc_NetrMessageBufferSend_message_name = -1;
350 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_session_timeout = -1;
351 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr0_array = -1;
352 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown6 = -1;
353 static gint hf_wkssvc_wkssvc_NetWkstaTransportInfo_ctr = -1;
354 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_collection_time = -1;
355 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS = -1;
356 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1054 = -1;
357 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown10 = -1;
358 static gint hf_wkssvc_wkssvc_NetWkstaInfo1032_wrk_heuristics = -1;
359 static gint hf_wkssvc_wkssvc_NetWkstaInfo101_version_minor = -1;
360 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED = -1;
361 static gint hf_wkssvc_wkssvc_NetrWkstaTransportAdd_level = -1;
362 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown33 = -1;
363 static gint hf_wkssvc_wkssvc_NetrEnumerateComputerNames_ctr = -1;
364 static gint hf_wkssvc_wkssvc_NetWkstaTransportEnum_server_name = -1;
365 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_max_threads = -1;
366 static gint hf_wkssvc_wkssvc_NetWkstaInfo1042_lock_increment = -1;
367 static gint hf_wkssvc_wkssvc_NetrUseGetInfo_level = -1;
368 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1050 = -1;
369 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_lock_increment = -1;
370 static gint hf_wkssvc_wkssvc_NetrUseInfo2_local = -1;
371 static gint hf_wkssvc_wkssvc_NetrValidateName_server_name = -1;
372 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1041 = -1;
373 static gint hf_wkssvc_wkssvc_NetrUseInfo2_status = -1;
374 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown12 = -1;
375 static gint hf_wkssvc_wkssvc_NetrJoinDomain_account_ou = -1;
376 static gint hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown3 = -1;
377 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown19 = -1;
378 static gint hf_wkssvc_wkssvc_NetrAddAlternateComputerName_EncryptedPassword = -1;
379 static gint hf_wkssvc_wkssvc_NetWkstaInfo1058_buf_files_deny_write = -1;
380 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain2_account = -1;
381 static gint hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown2 = -1;
382 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1043 = -1;
383 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown21 = -1;
384 static gint hf_wkssvc_wkssvc_NetWkstaInfo102_server_name = -1;
385 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_encryption = -1;
386 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1059 = -1;
387 static gint hf_wkssvc_wkssvc_NetrValidateName_name_type = -1;
388 static gint hf_wkssvc_wkssvc_NetrMessageBufferSend_message_buffer = -1;
389 static gint hf_wkssvc_wkssvc_NetWkstaTransportCtr0_count = -1;
390 static gint hf_wkssvc_wkssvc_NetrUseEnumInfo_level = -1;
391 static gint hf_wkssvc_wkssvc_NetWkstaInfo1041_lock_quota = -1;
392 static gint hf_wkssvc_wkssvc_NetrUseAdd_ctr = -1;
393 static gint hf_wkssvc_wkssvc_NetrUseEnum_resume_handle = -1;
394 static gint hf_wkssvc_wkssvc_NetWkstaInfo100_version_major = -1;
395 static gint hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_Reserved = -1;
396 static gint hf_wkssvc_wkssvc_NetrUseAdd_server_name = -1;
397 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown11 = -1;
398 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1012 = -1;
399 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain_password = -1;
400 static gint hf_wkssvc_wkssvc_NetrJoinDomain_password = -1;
401 static gint hf_wkssvc_werror = -1;
402 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus2_domain_name = -1;
403 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_pipe_increment = -1;
404 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1044 = -1;
405 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus2_EncryptedPassword = -1;
406 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1010 = -1;
407 static gint hf_wkssvc_wkssvc_NetWkstaInfo1051_buf_named_pipes = -1;
408 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_read_ahead_throughput = -1;
409 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus_ous = -1;
410 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown5 = -1;
411 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_NewMachineName = -1;
412 static gint hf_wkssvc_wkssvc_NetrWkstaTransportDel_transport_name = -1;
413 static gint hf_wkssvc_wkssvc_NetrUseInfo0_local = -1;
414 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_raw_write = -1;
415 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus2_ous = -1;
416 static gint hf_wkssvc_wkssvc_NetWkstaInfo101_server_name = -1;
417 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus2_server_name = -1;
418 static gint hf_wkssvc_wkssvc_NetWkstaInfo1059_buf_read_only_files = -1;
419 static gint hf_wkssvc_wkssvc_NetWkstaInfo100_version_minor = -1;
420 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE = -1;
421 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_close_behind = -1;
422 static gint hf_wkssvc_opnum = -1;
423 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_force_core_create_mode = -1;
424 static gint hf_wkssvc_wkssvc_NetWkstaInfo1011_collection_time = -1;
425 static gint hf_wkssvc_wkssvc_NetrGetJoinInformation_server_name = -1;
426 static gint hf_wkssvc_wkssvc_NetWkstaInfo101_domain_name = -1;
427 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1061 = -1;
428 static gint hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info1 = -1;
429 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersInfo_level = -1;
430 static gint hf_wkssvc_wkssvc_NetrSetPrimaryComputername_server_name = -1;
431 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain_unjoin_flags = -1;
432 static gint hf_wkssvc_wkssvc_NetWkstaTransportEnum_resume_handle = -1;
433 static gint hf_wkssvc_wkssvc_NetrJoinDomain_server_name = -1;
434 static gint hf_wkssvc_wkssvc_NetWkstaInfo102_platform_id = -1;
435 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown8 = -1;
436 static gint hf_wkssvc_wkssvc_NetrAddAlternateComputerName_Reserved = -1;
437 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME = -1;
438 static gint hf_wkssvc_wkssvc_NetrWkstaTransportAdd_server_name = -1;
439 static gint hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_server_name = -1;
440 static gint hf_wkssvc_wkssvc_NetWkstaInfo101_platform_id = -1;
441 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_opportunistic_locking = -1;
442 static gint hf_wkssvc_wkssvc_NetWkstaInfo100_server_name = -1;
443 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown28 = -1;
444 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr1_user1 = -1;
445 static gint hf_wkssvc_wkssvc_NetWkstaGetInfo_server_name = -1;
446 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1023 = -1;
447 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown15 = -1;
448 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_lock_read_unlock = -1;
449 static gint hf_wkssvc_wkssvc_NetrUseInfo1_asg_type = -1;
450 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain2_unjoin_flags = -1;
451 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown1 = -1;
452 static gint hf_wkssvc_wkssvc_NetrLogonDomainNameAdd_domain_name = -1;
453 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown26 = -1;
454 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_Account = -1;
455 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsers_info = -1;
456 static gint hf_wkssvc_wkssvc_NetrGetJoinInformation_name_type = -1;
457 static gint hf_wkssvc_wkssvc_NetrAddAlternateComputerName_NewAlternateMachineName = -1;
458 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain2_encrypted_password = -1;
459 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_pipe_maximum = -1;
460 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_char_wait = -1;
461 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1027 = -1;
462 static gint hf_wkssvc_wkssvc_NetWkstaInfo1052_use_lock_read_unlock = -1;
463 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1056 = -1;
464 static gint hf_wkssvc_wkssvc_NetrValidateName_Account = -1;
465 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1032 = -1;
466 static gint hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_Account = -1;
467 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1053 = -1;
468 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_EncryptedPassword = -1;
469 static gint hf_wkssvc_wkssvc_NetWkstaSetInfo_level = -1;
470 static gint hf_wkssvc_wkssvc_NetrJoinDomain_domain_name = -1;
471 static gint hf_wkssvc_wkssvc_NetWkstaInfo102_logged_on_users = -1;
472 static gint hf_wkssvc_wkssvc_NetrUseInfo2_remote = -1;
473
474 static gint proto_dcerpc_wkssvc = -1;
475 /* Version information */
476
477
478 static e_uuid_t uuid_dcerpc_wkssvc = {
479         0x6bffd098, 0xa112, 0x3610,
480         { 0x98, 0x33, 0x46, 0xc3, 0xf8, 0x7e, 0x34, 0x5a }
481 };
482 static guint16 ver_dcerpc_wkssvc = 1;
483
484 const value_string wkssvc_srvsvc_PlatformId_vals[] = {
485 { 0, NULL }
486 };
487 static int wkssvc_dissect_element_NetWkstaInfo100_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
488 static int wkssvc_dissect_element_NetWkstaInfo100_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
489 static int wkssvc_dissect_element_NetWkstaInfo100_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
490 static int wkssvc_dissect_element_NetWkstaInfo100_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
491 static int wkssvc_dissect_element_NetWkstaInfo100_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
492 static int wkssvc_dissect_element_NetWkstaInfo100_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
493 static int wkssvc_dissect_element_NetWkstaInfo100_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
494 static int wkssvc_dissect_element_NetWkstaInfo101_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
495 static int wkssvc_dissect_element_NetWkstaInfo101_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
496 static int wkssvc_dissect_element_NetWkstaInfo101_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
497 static int wkssvc_dissect_element_NetWkstaInfo101_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
498 static int wkssvc_dissect_element_NetWkstaInfo101_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
499 static int wkssvc_dissect_element_NetWkstaInfo101_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
500 static int wkssvc_dissect_element_NetWkstaInfo101_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
501 static int wkssvc_dissect_element_NetWkstaInfo101_lan_root(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
502 static int wkssvc_dissect_element_NetWkstaInfo101_lan_root_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
503 static int wkssvc_dissect_element_NetWkstaInfo102_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
504 static int wkssvc_dissect_element_NetWkstaInfo102_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
505 static int wkssvc_dissect_element_NetWkstaInfo102_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
506 static int wkssvc_dissect_element_NetWkstaInfo102_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
507 static int wkssvc_dissect_element_NetWkstaInfo102_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
508 static int wkssvc_dissect_element_NetWkstaInfo102_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
509 static int wkssvc_dissect_element_NetWkstaInfo102_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
510 static int wkssvc_dissect_element_NetWkstaInfo102_lan_root(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
511 static int wkssvc_dissect_element_NetWkstaInfo102_lan_root_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
512 static int wkssvc_dissect_element_NetWkstaInfo102_logged_on_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
513 static int wkssvc_dissect_element_NetWkstaInfo502_char_wait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
514 static int wkssvc_dissect_element_NetWkstaInfo502_collection_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
515 static int wkssvc_dissect_element_NetWkstaInfo502_maximum_collection_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
516 static int wkssvc_dissect_element_NetWkstaInfo502_keep_connection(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
517 static int wkssvc_dissect_element_NetWkstaInfo502_max_commands(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
518 static int wkssvc_dissect_element_NetWkstaInfo502_session_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
519 static int wkssvc_dissect_element_NetWkstaInfo502_size_char_buf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
520 static int wkssvc_dissect_element_NetWkstaInfo502_max_threads(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
521 static int wkssvc_dissect_element_NetWkstaInfo502_lock_quota(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
522 static int wkssvc_dissect_element_NetWkstaInfo502_lock_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
523 static int wkssvc_dissect_element_NetWkstaInfo502_lock_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
524 static int wkssvc_dissect_element_NetWkstaInfo502_pipe_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
525 static int wkssvc_dissect_element_NetWkstaInfo502_pipe_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
526 static int wkssvc_dissect_element_NetWkstaInfo502_cache_file_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
527 static int wkssvc_dissect_element_NetWkstaInfo502_dormant_file_limit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
528 static int wkssvc_dissect_element_NetWkstaInfo502_read_ahead_throughput(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
529 static int wkssvc_dissect_element_NetWkstaInfo502_num_mailslot_buffers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
530 static int wkssvc_dissect_element_NetWkstaInfo502_num_srv_announce_buffers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
531 static int wkssvc_dissect_element_NetWkstaInfo502_max_illegal_dgram_events(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
532 static int wkssvc_dissect_element_NetWkstaInfo502_dgram_event_reset_freq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
533 static int wkssvc_dissect_element_NetWkstaInfo502_log_election_packets(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
534 static int wkssvc_dissect_element_NetWkstaInfo502_use_opportunistic_locking(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
535 static int wkssvc_dissect_element_NetWkstaInfo502_use_unlock_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
536 static int wkssvc_dissect_element_NetWkstaInfo502_use_close_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
537 static int wkssvc_dissect_element_NetWkstaInfo502_buf_named_pipes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
538 static int wkssvc_dissect_element_NetWkstaInfo502_use_lock_read_unlock(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
539 static int wkssvc_dissect_element_NetWkstaInfo502_utilize_nt_caching(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
540 static int wkssvc_dissect_element_NetWkstaInfo502_use_raw_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
541 static int wkssvc_dissect_element_NetWkstaInfo502_use_raw_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
542 static int wkssvc_dissect_element_NetWkstaInfo502_use_write_raw_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
543 static int wkssvc_dissect_element_NetWkstaInfo502_use_encryption(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
544 static int wkssvc_dissect_element_NetWkstaInfo502_buf_files_deny_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
545 static int wkssvc_dissect_element_NetWkstaInfo502_buf_read_only_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
546 static int wkssvc_dissect_element_NetWkstaInfo502_force_core_create_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
547 static int wkssvc_dissect_element_NetWkstaInfo502_use_512_byte_max_transfer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
548 static int wkssvc_dissect_element_NetWkstaInfo1010_char_wait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
549 static int wkssvc_dissect_element_NetWkstaInfo1011_collection_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
550 static int wkssvc_dissect_element_NetWkstaInfo1012_maximum_collection_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
551 static int wkssvc_dissect_element_NetWkstaInfo1013_keep_connection(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
552 static int wkssvc_dissect_element_NetWkstaInfo1018_session_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
553 static int wkssvc_dissect_element_NetWkstaInfo1023_size_char_buf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
554 static int wkssvc_dissect_element_NetWkstaInfo1027_errorlog_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
555 static int wkssvc_dissect_element_NetWkstaInfo1028_print_buf_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
556 static int wkssvc_dissect_element_NetWkstaInfo1032_wrk_heuristics(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
557 static int wkssvc_dissect_element_NetWkstaInfo1033_max_threads(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
558 static int wkssvc_dissect_element_NetWkstaInfo1041_lock_quota(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
559 static int wkssvc_dissect_element_NetWkstaInfo1042_lock_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
560 static int wkssvc_dissect_element_NetWkstaInfo1043_lock_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
561 static int wkssvc_dissect_element_NetWkstaInfo1044_pipe_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
562 static int wkssvc_dissect_element_NetWkstaInfo1045_pipe_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
563 static int wkssvc_dissect_element_NetWkstaInfo1046_dormant_file_limit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
564 static int wkssvc_dissect_element_NetWkstaInfo1047_cache_file_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
565 static int wkssvc_dissect_element_NetWkstaInfo1048_use_opportunistic_locking(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
566 static int wkssvc_dissect_element_NetWkstaInfo1049_use_unlock_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
567 static int wkssvc_dissect_element_NetWkstaInfo1050_use_close_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
568 static int wkssvc_dissect_element_NetWkstaInfo1051_buf_named_pipes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
569 static int wkssvc_dissect_element_NetWkstaInfo1052_use_lock_read_unlock(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
570 static int wkssvc_dissect_element_NetWkstaInfo1053_utilize_nt_caching(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
571 static int wkssvc_dissect_element_NetWkstaInfo1054_use_raw_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
572 static int wkssvc_dissect_element_NetWkstaInfo1055_use_raw_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
573 static int wkssvc_dissect_element_NetWkstaInfo1056_use_write_raw_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
574 static int wkssvc_dissect_element_NetWkstaInfo1057_use_encryption(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
575 static int wkssvc_dissect_element_NetWkstaInfo1058_buf_files_deny_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
576 static int wkssvc_dissect_element_NetWkstaInfo1059_buf_read_only_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
577 static int wkssvc_dissect_element_NetWkstaInfo1060_force_core_create_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
578 static int wkssvc_dissect_element_NetWkstaInfo1061_use_512_byte_max_transfer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
579 static int wkssvc_dissect_element_NetWkstaInfo1062_read_ahead_throughput(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
580 static int wkssvc_dissect_element_NetWkstaInfo_info100(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
581 static int wkssvc_dissect_element_NetWkstaInfo_info100_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
582 static int wkssvc_dissect_element_NetWkstaInfo_info101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
583 static int wkssvc_dissect_element_NetWkstaInfo_info101_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
584 static int wkssvc_dissect_element_NetWkstaInfo_info102(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
585 static int wkssvc_dissect_element_NetWkstaInfo_info102_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
586 static int wkssvc_dissect_element_NetWkstaInfo_info502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
587 static int wkssvc_dissect_element_NetWkstaInfo_info502_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
588 static int wkssvc_dissect_element_NetWkstaInfo_info1010(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
589 static int wkssvc_dissect_element_NetWkstaInfo_info1010_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
590 static int wkssvc_dissect_element_NetWkstaInfo_info1011(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
591 static int wkssvc_dissect_element_NetWkstaInfo_info1011_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
592 static int wkssvc_dissect_element_NetWkstaInfo_info1012(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
593 static int wkssvc_dissect_element_NetWkstaInfo_info1012_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
594 static int wkssvc_dissect_element_NetWkstaInfo_info1013(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
595 static int wkssvc_dissect_element_NetWkstaInfo_info1013_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
596 static int wkssvc_dissect_element_NetWkstaInfo_info1018(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
597 static int wkssvc_dissect_element_NetWkstaInfo_info1018_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
598 static int wkssvc_dissect_element_NetWkstaInfo_info1023(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
599 static int wkssvc_dissect_element_NetWkstaInfo_info1023_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
600 static int wkssvc_dissect_element_NetWkstaInfo_info1027(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
601 static int wkssvc_dissect_element_NetWkstaInfo_info1027_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
602 static int wkssvc_dissect_element_NetWkstaInfo_info1028(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
603 static int wkssvc_dissect_element_NetWkstaInfo_info1028_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
604 static int wkssvc_dissect_element_NetWkstaInfo_info1032(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
605 static int wkssvc_dissect_element_NetWkstaInfo_info1032_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
606 static int wkssvc_dissect_element_NetWkstaInfo_info1033(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
607 static int wkssvc_dissect_element_NetWkstaInfo_info1033_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
608 static int wkssvc_dissect_element_NetWkstaInfo_info1041(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
609 static int wkssvc_dissect_element_NetWkstaInfo_info1041_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
610 static int wkssvc_dissect_element_NetWkstaInfo_info1042(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
611 static int wkssvc_dissect_element_NetWkstaInfo_info1042_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
612 static int wkssvc_dissect_element_NetWkstaInfo_info1043(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
613 static int wkssvc_dissect_element_NetWkstaInfo_info1043_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
614 static int wkssvc_dissect_element_NetWkstaInfo_info1044(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
615 static int wkssvc_dissect_element_NetWkstaInfo_info1044_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
616 static int wkssvc_dissect_element_NetWkstaInfo_info1045(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
617 static int wkssvc_dissect_element_NetWkstaInfo_info1045_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
618 static int wkssvc_dissect_element_NetWkstaInfo_info1046(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
619 static int wkssvc_dissect_element_NetWkstaInfo_info1046_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
620 static int wkssvc_dissect_element_NetWkstaInfo_info1047(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
621 static int wkssvc_dissect_element_NetWkstaInfo_info1047_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
622 static int wkssvc_dissect_element_NetWkstaInfo_info1048(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
623 static int wkssvc_dissect_element_NetWkstaInfo_info1048_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
624 static int wkssvc_dissect_element_NetWkstaInfo_info1049(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
625 static int wkssvc_dissect_element_NetWkstaInfo_info1049_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
626 static int wkssvc_dissect_element_NetWkstaInfo_info1050(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
627 static int wkssvc_dissect_element_NetWkstaInfo_info1050_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
628 static int wkssvc_dissect_element_NetWkstaInfo_info1051(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
629 static int wkssvc_dissect_element_NetWkstaInfo_info1051_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
630 static int wkssvc_dissect_element_NetWkstaInfo_info1052(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
631 static int wkssvc_dissect_element_NetWkstaInfo_info1052_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
632 static int wkssvc_dissect_element_NetWkstaInfo_info1053(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
633 static int wkssvc_dissect_element_NetWkstaInfo_info1053_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
634 static int wkssvc_dissect_element_NetWkstaInfo_info1054(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
635 static int wkssvc_dissect_element_NetWkstaInfo_info1054_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
636 static int wkssvc_dissect_element_NetWkstaInfo_info1055(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
637 static int wkssvc_dissect_element_NetWkstaInfo_info1055_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
638 static int wkssvc_dissect_element_NetWkstaInfo_info1056(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
639 static int wkssvc_dissect_element_NetWkstaInfo_info1056_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
640 static int wkssvc_dissect_element_NetWkstaInfo_info1057(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
641 static int wkssvc_dissect_element_NetWkstaInfo_info1057_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
642 static int wkssvc_dissect_element_NetWkstaInfo_info1058(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
643 static int wkssvc_dissect_element_NetWkstaInfo_info1058_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
644 static int wkssvc_dissect_element_NetWkstaInfo_info1059(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
645 static int wkssvc_dissect_element_NetWkstaInfo_info1059_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
646 static int wkssvc_dissect_element_NetWkstaInfo_info1060(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
647 static int wkssvc_dissect_element_NetWkstaInfo_info1060_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
648 static int wkssvc_dissect_element_NetWkstaInfo_info1061(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
649 static int wkssvc_dissect_element_NetWkstaInfo_info1061_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
650 static int wkssvc_dissect_element_NetWkstaInfo_info1062(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
651 static int wkssvc_dissect_element_NetWkstaInfo_info1062_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
652 static int wkssvc_dissect_element_NetrWkstaUserInfo0_user_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
653 static int wkssvc_dissect_element_NetrWkstaUserInfo0_user_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
654 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr0_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
655 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
656 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
657 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
658 static int wkssvc_dissect_element_NetrWkstaUserInfo1_user_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
659 static int wkssvc_dissect_element_NetrWkstaUserInfo1_user_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
660 static int wkssvc_dissect_element_NetrWkstaUserInfo1_logon_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
661 static int wkssvc_dissect_element_NetrWkstaUserInfo1_logon_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
662 static int wkssvc_dissect_element_NetrWkstaUserInfo1_other_domains(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
663 static int wkssvc_dissect_element_NetrWkstaUserInfo1_other_domains_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
664 static int wkssvc_dissect_element_NetrWkstaUserInfo1_logon_server(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
665 static int wkssvc_dissect_element_NetrWkstaUserInfo1_logon_server_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
666 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr1_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
667 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
668 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
669 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
670 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr_user0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
671 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr_user0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
672 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr_user1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
673 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr_user1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
674 static int wkssvc_dissect_element_NetWkstaEnumUsersInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *level);
675 static int wkssvc_dissect_element_NetWkstaEnumUsersInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *level);
676 static int wkssvc_dissect_element_NetrWkstaUserInfo1101_other_domains(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
677 static int wkssvc_dissect_element_NetrWkstaUserInfo1101_other_domains_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
678 static int wkssvc_dissect_element_NetrWkstaUserInfo_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
679 static int wkssvc_dissect_element_NetrWkstaUserInfo_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
680 static int wkssvc_dissect_element_NetrWkstaUserInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
681 static int wkssvc_dissect_element_NetrWkstaUserInfo_info1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
682 static int wkssvc_dissect_element_NetrWkstaUserInfo_info1101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
683 static int wkssvc_dissect_element_NetrWkstaUserInfo_info1101_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
684 static int wkssvc_dissect_element_NetWkstaTransportInfo0_quality_of_service(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
685 static int wkssvc_dissect_element_NetWkstaTransportInfo0_vc_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
686 static int wkssvc_dissect_element_NetWkstaTransportInfo0_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
687 static int wkssvc_dissect_element_NetWkstaTransportInfo0_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
688 static int wkssvc_dissect_element_NetWkstaTransportInfo0_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
689 static int wkssvc_dissect_element_NetWkstaTransportInfo0_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
690 static int wkssvc_dissect_element_NetWkstaTransportInfo0_wan_link(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
691 static int wkssvc_dissect_element_NetWkstaTransportCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
692 static int wkssvc_dissect_element_NetWkstaTransportCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
693 static int wkssvc_dissect_element_NetWkstaTransportCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
694 static int wkssvc_dissect_element_NetWkstaTransportCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
695 static int wkssvc_dissect_element_NetWkstaTransportCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
696 static int wkssvc_dissect_element_NetWkstaTransportCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
697 static int wkssvc_dissect_element_NetWkstaTransportInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *level);
698 static int wkssvc_dissect_element_NetWkstaTransportInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *level);
699 static int wkssvc_dissect_element_NetrUseInfo3_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
700 static int wkssvc_dissect_element_NetrUseInfo3_unknown1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
701 static int wkssvc_dissect_element_NetrUseInfo3_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
702 static int wkssvc_dissect_element_NetrUseInfo3_unknown2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
703 static int wkssvc_dissect_element_NetrUseInfo2_local(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
704 static int wkssvc_dissect_element_NetrUseInfo2_local_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
705 static int wkssvc_dissect_element_NetrUseInfo2_remote(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
706 static int wkssvc_dissect_element_NetrUseInfo2_remote_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
707 static int wkssvc_dissect_element_NetrUseInfo2_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
708 static int wkssvc_dissect_element_NetrUseInfo2_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
709 static int wkssvc_dissect_element_NetrUseInfo2_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
710 static int wkssvc_dissect_element_NetrUseInfo2_asg_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
711 static int wkssvc_dissect_element_NetrUseInfo2_ref_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
712 static int wkssvc_dissect_element_NetrUseInfo2_use_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
713 static int wkssvc_dissect_element_NetrUseInfo2_user_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
714 static int wkssvc_dissect_element_NetrUseInfo2_user_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
715 static int wkssvc_dissect_element_NetrUseInfo2_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
716 static int wkssvc_dissect_element_NetrUseInfo2_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
717 static int wkssvc_dissect_element_NetrUseInfo1_local(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
718 static int wkssvc_dissect_element_NetrUseInfo1_local_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
719 static int wkssvc_dissect_element_NetrUseInfo1_remote(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
720 static int wkssvc_dissect_element_NetrUseInfo1_remote_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
721 static int wkssvc_dissect_element_NetrUseInfo1_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
722 static int wkssvc_dissect_element_NetrUseInfo1_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
723 static int wkssvc_dissect_element_NetrUseInfo1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
724 static int wkssvc_dissect_element_NetrUseInfo1_asg_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
725 static int wkssvc_dissect_element_NetrUseInfo1_ref_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
726 static int wkssvc_dissect_element_NetrUseInfo1_use_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
727 static int wkssvc_dissect_element_NetrUseInfo0_local(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
728 static int wkssvc_dissect_element_NetrUseInfo0_local_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
729 static int wkssvc_dissect_element_NetrUseInfo0_remote(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
730 static int wkssvc_dissect_element_NetrUseInfo0_remote_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
731 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
732 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
733 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
734 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
735 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
736 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
737 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
738 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
739 static int wkssvc_dissect_element_NetrUseEnumCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
740 static int wkssvc_dissect_element_NetrUseEnumCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
741 static int wkssvc_dissect_element_NetrUseEnumCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
742 static int wkssvc_dissect_element_NetrUseEnumCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
743 static int wkssvc_dissect_element_NetrUseEnumCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
744 static int wkssvc_dissect_element_NetrUseEnumCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
745 static int wkssvc_dissect_element_NetrUseEnumCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
746 static int wkssvc_dissect_element_NetrUseEnumCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
747 static int wkssvc_dissect_element_NetrUseEnumCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
748 static int wkssvc_dissect_element_NetrUseEnumCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
749 static int wkssvc_dissect_element_NetrUseEnumCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
750 static int wkssvc_dissect_element_NetrUseEnumCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
751 static int wkssvc_dissect_element_NetrUseEnumCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
752 static int wkssvc_dissect_element_NetrUseEnumCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
753 static int wkssvc_dissect_element_NetrUseEnumCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
754 static int wkssvc_dissect_element_NetrUseEnumCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
755 static int wkssvc_dissect_element_NetrUseEnumCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
756 static int wkssvc_dissect_element_NetrUseEnumCtr_ctr2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
757 static int wkssvc_dissect_element_NetrUseEnumInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *level);
758 static int wkssvc_dissect_element_NetrUseEnumInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *level);
759 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
760 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
761 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
762 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
763 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
764 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
765 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
766 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
767 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
768 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
769 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown11(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
770 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown12(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
771 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown13(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
772 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown14(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
773 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown15(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
774 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown16(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
775 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown17(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
776 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown18(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
777 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown19(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
778 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown20(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
779 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown21(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
780 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown22(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
781 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown23(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
782 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown24(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
783 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown25(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
784 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown26(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
785 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown27(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
786 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown28(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
787 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown29(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
788 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown30(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
789 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown31(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
790 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown32(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
791 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown33(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
792 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown34(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
793 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown35(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
794 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown36(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
795 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown37(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
796 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown38(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
797 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown39(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
798 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown40(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
799 static const true_false_string wkssvc_renameflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE_tfs = {
800    "WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE is SET",
801    "WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE is NOT SET",
802 };
803 const value_string wkssvc_wkssvc_NetValidateNameType_vals[] = {
804         { NetSetupUnknown, "NetSetupUnknown" },
805         { NetSetupMachine, "NetSetupMachine" },
806         { NetSetupWorkgroup, "NetSetupWorkgroup" },
807         { NetSetupDomain, "NetSetupDomain" },
808         { NetSetupNonExistentDomain, "NetSetupNonExistentDomain" },
809         { NetSetupDnsMachine, "NetSetupDnsMachine" },
810 { 0, NULL }
811 };
812 const value_string wkssvc_wkssvc_NetJoinStatus_vals[] = {
813         { NET_SETUP_UNKNOWN_STATUS, "NET_SETUP_UNKNOWN_STATUS" },
814         { NET_SETUP_UNJOINED, "NET_SETUP_UNJOINED" },
815         { NET_SETUP_WORKGROUP_NAME, "NET_SETUP_WORKGROUP_NAME" },
816         { NET_SETUP_DOMAIN_NAME, "NET_SETUP_DOMAIN_NAME" },
817 { 0, NULL }
818 };
819 static int wkssvc_dissect_element_PasswordBuffer_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
820 static int wkssvc_dissect_element_PasswordBuffer_data_(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
821 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS_tfs = {
822    "WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS is SET",
823    "WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS is NOT SET",
824 };
825 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME_tfs = {
826    "WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME is SET",
827    "WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME is NOT SET",
828 };
829 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT_tfs = {
830    "WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT is SET",
831    "WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT is NOT SET",
832 };
833 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DEFER_SPN_tfs = {
834    "WKSSVC_JOIN_FLAGS_DEFER_SPN is SET",
835    "WKSSVC_JOIN_FLAGS_DEFER_SPN is NOT SET",
836 };
837 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED_tfs = {
838    "WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED is SET",
839    "WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED is NOT SET",
840 };
841 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_UNSECURE_tfs = {
842    "WKSSVC_JOIN_FLAGS_JOIN_UNSECURE is SET",
843    "WKSSVC_JOIN_FLAGS_JOIN_UNSECURE is NOT SET",
844 };
845 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED_tfs = {
846    "WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED is SET",
847    "WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED is NOT SET",
848 };
849 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE_tfs = {
850    "WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE is SET",
851    "WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE is NOT SET",
852 };
853 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE_tfs = {
854    "WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE is SET",
855    "WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE is NOT SET",
856 };
857 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE_tfs = {
858    "WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE is SET",
859    "WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE is NOT SET",
860 };
861 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_TYPE_tfs = {
862    "WKSSVC_JOIN_FLAGS_JOIN_TYPE is SET",
863    "WKSSVC_JOIN_FLAGS_JOIN_TYPE is NOT SET",
864 };
865 const value_string wkssvc_wkssvc_ComputerNameType_vals[] = {
866         { NetPrimaryComputerName, "NetPrimaryComputerName" },
867         { NetAlternateComputerNames, "NetAlternateComputerNames" },
868         { NetAllComputerNames, "NetAllComputerNames" },
869         { NetComputerNameTypeMax, "NetComputerNameTypeMax" },
870 { 0, NULL }
871 };
872 static int wkssvc_dissect_element_ComputerNamesCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
873 static int wkssvc_dissect_element_ComputerNamesCtr_computer_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
874 static int wkssvc_dissect_element_ComputerNamesCtr_computer_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
875 static int wkssvc_dissect_element_ComputerNamesCtr_computer_name__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
876 static int wkssvc_dissect_element_NetWkstaGetInfo_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
877 static int wkssvc_dissect_element_NetWkstaGetInfo_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
878 static int wkssvc_dissect_element_NetWkstaGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
879 static int wkssvc_dissect_element_NetWkstaGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
880 static int wkssvc_dissect_element_NetWkstaGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
881 static int wkssvc_dissect_element_NetWkstaSetInfo_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
882 static int wkssvc_dissect_element_NetWkstaSetInfo_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
883 static int wkssvc_dissect_element_NetWkstaSetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
884 static int wkssvc_dissect_element_NetWkstaSetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
885 static int wkssvc_dissect_element_NetWkstaSetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
886 static int wkssvc_dissect_element_NetWkstaSetInfo_parm_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
887 static int wkssvc_dissect_element_NetWkstaSetInfo_parm_error_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
888 static int wkssvc_dissect_element_NetWkstaEnumUsers_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
889 static int wkssvc_dissect_element_NetWkstaEnumUsers_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
890 static int wkssvc_dissect_element_NetWkstaEnumUsers_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
891 static int wkssvc_dissect_element_NetWkstaEnumUsers_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
892 static int wkssvc_dissect_element_NetWkstaEnumUsers_prefmaxlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
893 static int wkssvc_dissect_element_NetWkstaEnumUsers_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
894 static int wkssvc_dissect_element_NetWkstaEnumUsers_entries_read_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
895 static int wkssvc_dissect_element_NetWkstaEnumUsers_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
896 static int wkssvc_dissect_element_NetWkstaEnumUsers_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
897 static int wkssvc_dissect_element_NetrWkstaUserGetInfo_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
898 static int wkssvc_dissect_element_NetrWkstaUserGetInfo_unknown_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
899 static int wkssvc_dissect_element_NetrWkstaUserGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
900 static int wkssvc_dissect_element_NetrWkstaUserGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
901 static int wkssvc_dissect_element_NetrWkstaUserGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
902 static int wkssvc_dissect_element_NetrWkstaUserSetInfo_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
903 static int wkssvc_dissect_element_NetrWkstaUserSetInfo_unknown_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
904 static int wkssvc_dissect_element_NetrWkstaUserSetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
905 static int wkssvc_dissect_element_NetrWkstaUserSetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
906 static int wkssvc_dissect_element_NetrWkstaUserSetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
907 static int wkssvc_dissect_element_NetrWkstaUserSetInfo_parm_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
908 static int wkssvc_dissect_element_NetrWkstaUserSetInfo_parm_err_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
909 static int wkssvc_dissect_element_NetWkstaTransportEnum_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
910 static int wkssvc_dissect_element_NetWkstaTransportEnum_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
911 static int wkssvc_dissect_element_NetWkstaTransportEnum_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
912 static int wkssvc_dissect_element_NetWkstaTransportEnum_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
913 static int wkssvc_dissect_element_NetWkstaTransportEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
914 static int wkssvc_dissect_element_NetWkstaTransportEnum_total_entries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
915 static int wkssvc_dissect_element_NetWkstaTransportEnum_total_entries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
916 static int wkssvc_dissect_element_NetWkstaTransportEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
917 static int wkssvc_dissect_element_NetWkstaTransportEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
918 static int wkssvc_dissect_element_NetrWkstaTransportAdd_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
919 static int wkssvc_dissect_element_NetrWkstaTransportAdd_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
920 static int wkssvc_dissect_element_NetrWkstaTransportAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
921 static int wkssvc_dissect_element_NetrWkstaTransportAdd_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
922 static int wkssvc_dissect_element_NetrWkstaTransportAdd_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
923 static int wkssvc_dissect_element_NetrWkstaTransportAdd_parm_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
924 static int wkssvc_dissect_element_NetrWkstaTransportAdd_parm_err_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
925 static int wkssvc_dissect_element_NetrWkstaTransportDel_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
926 static int wkssvc_dissect_element_NetrWkstaTransportDel_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
927 static int wkssvc_dissect_element_NetrWkstaTransportDel_transport_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
928 static int wkssvc_dissect_element_NetrWkstaTransportDel_transport_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
929 static int wkssvc_dissect_element_NetrWkstaTransportDel_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
930 static int wkssvc_dissect_element_NetrUseAdd_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
931 static int wkssvc_dissect_element_NetrUseAdd_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
932 static int wkssvc_dissect_element_NetrUseAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
933 static int wkssvc_dissect_element_NetrUseAdd_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
934 static int wkssvc_dissect_element_NetrUseAdd_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
935 static int wkssvc_dissect_element_NetrUseAdd_parm_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
936 static int wkssvc_dissect_element_NetrUseAdd_parm_err_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
937 static int wkssvc_dissect_element_NetrUseGetInfo_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
938 static int wkssvc_dissect_element_NetrUseGetInfo_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
939 static int wkssvc_dissect_element_NetrUseGetInfo_use_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
940 static int wkssvc_dissect_element_NetrUseGetInfo_use_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
941 static int wkssvc_dissect_element_NetrUseGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
942 static int wkssvc_dissect_element_NetrUseGetInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
943 static int wkssvc_dissect_element_NetrUseGetInfo_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
944 static int wkssvc_dissect_element_NetrUseDel_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
945 static int wkssvc_dissect_element_NetrUseDel_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
946 static int wkssvc_dissect_element_NetrUseDel_use_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
947 static int wkssvc_dissect_element_NetrUseDel_use_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
948 static int wkssvc_dissect_element_NetrUseDel_force_cond(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
949 static int wkssvc_dissect_element_NetrUseEnum_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
950 static int wkssvc_dissect_element_NetrUseEnum_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
951 static int wkssvc_dissect_element_NetrUseEnum_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
952 static int wkssvc_dissect_element_NetrUseEnum_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
953 static int wkssvc_dissect_element_NetrUseEnum_prefmaxlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
954 static int wkssvc_dissect_element_NetrUseEnum_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
955 static int wkssvc_dissect_element_NetrUseEnum_entries_read_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
956 static int wkssvc_dissect_element_NetrUseEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
957 static int wkssvc_dissect_element_NetrUseEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
958 static int wkssvc_dissect_element_NetrMessageBufferSend_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
959 static int wkssvc_dissect_element_NetrMessageBufferSend_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
960 static int wkssvc_dissect_element_NetrMessageBufferSend_message_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
961 static int wkssvc_dissect_element_NetrMessageBufferSend_message_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
962 static int wkssvc_dissect_element_NetrMessageBufferSend_message_sender_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
963 static int wkssvc_dissect_element_NetrMessageBufferSend_message_sender_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
964 static int wkssvc_dissect_element_NetrMessageBufferSend_message_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
965 static int wkssvc_dissect_element_NetrMessageBufferSend_message_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
966 static int wkssvc_dissect_element_NetrMessageBufferSend_message_buffer__(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
967 static int wkssvc_dissect_element_NetrMessageBufferSend_message_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
968 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
969 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
970 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
971 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
972 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
973 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
974 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
975 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
976 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_info__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
977 static int wkssvc_dissect_element_NetrLogonDomainNameAdd_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
978 static int wkssvc_dissect_element_NetrLogonDomainNameAdd_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
979 static int wkssvc_dissect_element_NetrLogonDomainNameDel_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
980 static int wkssvc_dissect_element_NetrLogonDomainNameDel_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
981 static int wkssvc_dissect_element_NetrJoinDomain_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
982 static int wkssvc_dissect_element_NetrJoinDomain_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
983 static int wkssvc_dissect_element_NetrJoinDomain_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
984 static int wkssvc_dissect_element_NetrJoinDomain_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
985 static int wkssvc_dissect_element_NetrJoinDomain_account_ou(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
986 static int wkssvc_dissect_element_NetrJoinDomain_account_ou_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
987 static int wkssvc_dissect_element_NetrJoinDomain_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
988 static int wkssvc_dissect_element_NetrJoinDomain_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
989 static int wkssvc_dissect_element_NetrJoinDomain_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
990 static int wkssvc_dissect_element_NetrJoinDomain_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
991 static int wkssvc_dissect_element_NetrJoinDomain_join_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
992 static int wkssvc_dissect_element_NetrUnjoinDomain_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
993 static int wkssvc_dissect_element_NetrUnjoinDomain_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
994 static int wkssvc_dissect_element_NetrUnjoinDomain_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
995 static int wkssvc_dissect_element_NetrUnjoinDomain_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
996 static int wkssvc_dissect_element_NetrUnjoinDomain_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
997 static int wkssvc_dissect_element_NetrUnjoinDomain_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
998 static int wkssvc_dissect_element_NetrUnjoinDomain_unjoin_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
999 static int wkssvc_dissect_element_NetrRenameMachineInDomain_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1000 static int wkssvc_dissect_element_NetrRenameMachineInDomain_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1001 static int wkssvc_dissect_element_NetrRenameMachineInDomain_NewMachineName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1002 static int wkssvc_dissect_element_NetrRenameMachineInDomain_NewMachineName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1003 static int wkssvc_dissect_element_NetrRenameMachineInDomain_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1004 static int wkssvc_dissect_element_NetrRenameMachineInDomain_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1005 static int wkssvc_dissect_element_NetrRenameMachineInDomain_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1006 static int wkssvc_dissect_element_NetrRenameMachineInDomain_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1007 static int wkssvc_dissect_element_NetrRenameMachineInDomain_RenameOptions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1008 static int wkssvc_dissect_element_NetrValidateName_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1009 static int wkssvc_dissect_element_NetrValidateName_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1010 static int wkssvc_dissect_element_NetrValidateName_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1011 static int wkssvc_dissect_element_NetrValidateName_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1012 static int wkssvc_dissect_element_NetrValidateName_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1013 static int wkssvc_dissect_element_NetrValidateName_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1014 static int wkssvc_dissect_element_NetrValidateName_Password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1015 static int wkssvc_dissect_element_NetrValidateName_Password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1016 static int wkssvc_dissect_element_NetrValidateName_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1017 static int wkssvc_dissect_element_NetrGetJoinInformation_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1018 static int wkssvc_dissect_element_NetrGetJoinInformation_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1019 static int wkssvc_dissect_element_NetrGetJoinInformation_name_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1020 static int wkssvc_dissect_element_NetrGetJoinInformation_name_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1021 static int wkssvc_dissect_element_NetrGetJoinInformation_name_buffer__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1022 static int wkssvc_dissect_element_NetrGetJoinInformation_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1023 static int wkssvc_dissect_element_NetrGetJoinInformation_name_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1024 static int wkssvc_dissect_element_NetrGetJoinableOus_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1025 static int wkssvc_dissect_element_NetrGetJoinableOus_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1026 static int wkssvc_dissect_element_NetrGetJoinableOus_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1027 static int wkssvc_dissect_element_NetrGetJoinableOus_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1028 static int wkssvc_dissect_element_NetrGetJoinableOus_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1029 static int wkssvc_dissect_element_NetrGetJoinableOus_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1030 static int wkssvc_dissect_element_NetrGetJoinableOus_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1031 static int wkssvc_dissect_element_NetrGetJoinableOus_unknown_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1032 static int wkssvc_dissect_element_NetrGetJoinableOus_num_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1033 static int wkssvc_dissect_element_NetrGetJoinableOus_num_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1034 static int wkssvc_dissect_element_NetrGetJoinableOus_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1035 static int wkssvc_dissect_element_NetrGetJoinableOus_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1036 static int wkssvc_dissect_element_NetrGetJoinableOus_ous__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1037 static int wkssvc_dissect_element_NetrGetJoinableOus_ous___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1038 static int wkssvc_dissect_element_NetrGetJoinableOus_ous____(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1039 static int wkssvc_dissect_element_NetrJoinDomain2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1040 static int wkssvc_dissect_element_NetrJoinDomain2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1041 static int wkssvc_dissect_element_NetrJoinDomain2_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1042 static int wkssvc_dissect_element_NetrJoinDomain2_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1043 static int wkssvc_dissect_element_NetrJoinDomain2_account_ou(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1044 static int wkssvc_dissect_element_NetrJoinDomain2_account_ou_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1045 static int wkssvc_dissect_element_NetrJoinDomain2_admin_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1046 static int wkssvc_dissect_element_NetrJoinDomain2_admin_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1047 static int wkssvc_dissect_element_NetrJoinDomain2_encrypted_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1048 static int wkssvc_dissect_element_NetrJoinDomain2_encrypted_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1049 static int wkssvc_dissect_element_NetrJoinDomain2_join_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1050 static int wkssvc_dissect_element_NetrUnjoinDomain2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1051 static int wkssvc_dissect_element_NetrUnjoinDomain2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1052 static int wkssvc_dissect_element_NetrUnjoinDomain2_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1053 static int wkssvc_dissect_element_NetrUnjoinDomain2_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1054 static int wkssvc_dissect_element_NetrUnjoinDomain2_encrypted_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1055 static int wkssvc_dissect_element_NetrUnjoinDomain2_encrypted_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1056 static int wkssvc_dissect_element_NetrUnjoinDomain2_unjoin_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1057 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1058 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1059 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_NewMachineName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1060 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_NewMachineName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1061 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1062 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1063 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1064 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1065 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_RenameOptions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1066 static int wkssvc_dissect_element_NetrValidateName2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1067 static int wkssvc_dissect_element_NetrValidateName2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1068 static int wkssvc_dissect_element_NetrValidateName2_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1069 static int wkssvc_dissect_element_NetrValidateName2_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1070 static int wkssvc_dissect_element_NetrValidateName2_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1071 static int wkssvc_dissect_element_NetrValidateName2_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1072 static int wkssvc_dissect_element_NetrValidateName2_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1073 static int wkssvc_dissect_element_NetrValidateName2_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1074 static int wkssvc_dissect_element_NetrValidateName2_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1075 static int wkssvc_dissect_element_NetrGetJoinableOus2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1076 static int wkssvc_dissect_element_NetrGetJoinableOus2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1077 static int wkssvc_dissect_element_NetrGetJoinableOus2_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1078 static int wkssvc_dissect_element_NetrGetJoinableOus2_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1079 static int wkssvc_dissect_element_NetrGetJoinableOus2_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1080 static int wkssvc_dissect_element_NetrGetJoinableOus2_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1081 static int wkssvc_dissect_element_NetrGetJoinableOus2_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1082 static int wkssvc_dissect_element_NetrGetJoinableOus2_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1083 static int wkssvc_dissect_element_NetrGetJoinableOus2_num_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1084 static int wkssvc_dissect_element_NetrGetJoinableOus2_num_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1085 static int wkssvc_dissect_element_NetrGetJoinableOus2_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1086 static int wkssvc_dissect_element_NetrGetJoinableOus2_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1087 static int wkssvc_dissect_element_NetrGetJoinableOus2_ous__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1088 static int wkssvc_dissect_element_NetrGetJoinableOus2_ous___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1089 static int wkssvc_dissect_element_NetrGetJoinableOus2_ous____(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1090 static int wkssvc_dissect_element_NetrAddAlternateComputerName_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1091 static int wkssvc_dissect_element_NetrAddAlternateComputerName_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1092 static int wkssvc_dissect_element_NetrAddAlternateComputerName_NewAlternateMachineName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1093 static int wkssvc_dissect_element_NetrAddAlternateComputerName_NewAlternateMachineName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1094 static int wkssvc_dissect_element_NetrAddAlternateComputerName_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1095 static int wkssvc_dissect_element_NetrAddAlternateComputerName_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1096 static int wkssvc_dissect_element_NetrAddAlternateComputerName_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1097 static int wkssvc_dissect_element_NetrAddAlternateComputerName_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1098 static int wkssvc_dissect_element_NetrAddAlternateComputerName_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1099 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1100 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1101 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1102 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1103 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1104 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1105 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1106 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1107 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1108 static int wkssvc_dissect_element_NetrSetPrimaryComputername_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1109 static int wkssvc_dissect_element_NetrSetPrimaryComputername_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1110 static int wkssvc_dissect_element_NetrSetPrimaryComputername_primary_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1111 static int wkssvc_dissect_element_NetrSetPrimaryComputername_primary_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1112 static int wkssvc_dissect_element_NetrSetPrimaryComputername_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1113 static int wkssvc_dissect_element_NetrSetPrimaryComputername_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1114 static int wkssvc_dissect_element_NetrSetPrimaryComputername_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1115 static int wkssvc_dissect_element_NetrSetPrimaryComputername_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1116 static int wkssvc_dissect_element_NetrSetPrimaryComputername_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1117 static int wkssvc_dissect_element_NetrEnumerateComputerNames_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1118 static int wkssvc_dissect_element_NetrEnumerateComputerNames_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1119 static int wkssvc_dissect_element_NetrEnumerateComputerNames_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1120 static int wkssvc_dissect_element_NetrEnumerateComputerNames_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1121 static int wkssvc_dissect_element_NetrEnumerateComputerNames_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1122 static int wkssvc_dissect_element_NetrEnumerateComputerNames_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1123 static int wkssvc_dissect_element_NetrEnumerateComputerNames_ctr__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
1124
1125
1126 /* IDL: enum { */
1127 /* IDL: } */
1128
1129 int
1130 wkssvc_dissect_enum_srvsvc_PlatformId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
1131 {
1132         guint32 parameter=0;
1133         if(param){
1134                 parameter=(guint32)*param;
1135         }
1136         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
1137         if(param){
1138                 *param=(guint32)parameter;
1139         }
1140         return offset;
1141 }
1142
1143
1144 /* IDL: struct { */
1145 /* IDL:         srvsvc_PlatformId platform_id; */
1146 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *server_name; */
1147 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *domain_name; */
1148 /* IDL:         uint32 version_major; */
1149 /* IDL:         uint32 version_minor; */
1150 /* IDL: } */
1151
1152 static int
1153 wkssvc_dissect_element_NetWkstaInfo100_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1154 {
1155         offset = wkssvc_dissect_enum_srvsvc_PlatformId(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo100_platform_id, 0);
1156
1157         return offset;
1158 }
1159
1160 static int
1161 wkssvc_dissect_element_NetWkstaInfo100_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1162 {
1163         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo100_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo100_server_name);
1164
1165         return offset;
1166 }
1167
1168 static int
1169 wkssvc_dissect_element_NetWkstaInfo100_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1170 {
1171         char *data;
1172
1173         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo100_server_name, FALSE, &data);
1174         proto_item_append_text(tree, ": %s", data);
1175
1176         return offset;
1177 }
1178
1179 static int
1180 wkssvc_dissect_element_NetWkstaInfo100_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1181 {
1182         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo100_domain_name_, NDR_POINTER_UNIQUE, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo100_domain_name);
1183
1184         return offset;
1185 }
1186
1187 static int
1188 wkssvc_dissect_element_NetWkstaInfo100_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1189 {
1190         char *data;
1191
1192         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo100_domain_name, FALSE, &data);
1193         proto_item_append_text(tree, ": %s", data);
1194
1195         return offset;
1196 }
1197
1198 static int
1199 wkssvc_dissect_element_NetWkstaInfo100_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1200 {
1201         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo100_version_major, 0);
1202
1203         return offset;
1204 }
1205
1206 static int
1207 wkssvc_dissect_element_NetWkstaInfo100_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1208 {
1209         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo100_version_minor, 0);
1210
1211         return offset;
1212 }
1213
1214 int
1215 wkssvc_dissect_struct_NetWkstaInfo100(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
1216 {
1217         proto_item *item = NULL;
1218         proto_tree *tree = NULL;
1219         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
1220         int old_offset;
1221
1222         ALIGN_TO_5_BYTES;
1223
1224         old_offset = offset;
1225
1226         if (parent_tree) {
1227                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1228                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo100);
1229         }
1230         
1231         offset = wkssvc_dissect_element_NetWkstaInfo100_platform_id(tvb, offset, pinfo, tree, drep);
1232
1233         offset = wkssvc_dissect_element_NetWkstaInfo100_server_name(tvb, offset, pinfo, tree, drep);
1234
1235         offset = wkssvc_dissect_element_NetWkstaInfo100_domain_name(tvb, offset, pinfo, tree, drep);
1236
1237         offset = wkssvc_dissect_element_NetWkstaInfo100_version_major(tvb, offset, pinfo, tree, drep);
1238
1239         offset = wkssvc_dissect_element_NetWkstaInfo100_version_minor(tvb, offset, pinfo, tree, drep);
1240
1241
1242         proto_item_set_len(item, offset-old_offset);
1243
1244
1245         if (di->call_data->flags & DCERPC_IS_NDR64) {
1246                 ALIGN_TO_5_BYTES;
1247         }
1248
1249         return offset;
1250 }
1251
1252
1253 /* IDL: struct { */
1254 /* IDL:         srvsvc_PlatformId platform_id; */
1255 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *server_name; */
1256 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *domain_name; */
1257 /* IDL:         uint32 version_major; */
1258 /* IDL:         uint32 version_minor; */
1259 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *lan_root; */
1260 /* IDL: } */
1261
1262 static int
1263 wkssvc_dissect_element_NetWkstaInfo101_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1264 {
1265         offset = wkssvc_dissect_enum_srvsvc_PlatformId(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo101_platform_id, 0);
1266
1267         return offset;
1268 }
1269
1270 static int
1271 wkssvc_dissect_element_NetWkstaInfo101_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1272 {
1273         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo101_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo101_server_name);
1274
1275         return offset;
1276 }
1277
1278 static int
1279 wkssvc_dissect_element_NetWkstaInfo101_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1280 {
1281         char *data;
1282
1283         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo101_server_name, FALSE, &data);
1284         proto_item_append_text(tree, ": %s", data);
1285
1286         return offset;
1287 }
1288
1289 static int
1290 wkssvc_dissect_element_NetWkstaInfo101_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1291 {
1292         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo101_domain_name_, NDR_POINTER_UNIQUE, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo101_domain_name);
1293
1294         return offset;
1295 }
1296
1297 static int
1298 wkssvc_dissect_element_NetWkstaInfo101_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1299 {
1300         char *data;
1301
1302         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo101_domain_name, FALSE, &data);
1303         proto_item_append_text(tree, ": %s", data);
1304
1305         return offset;
1306 }
1307
1308 static int
1309 wkssvc_dissect_element_NetWkstaInfo101_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1310 {
1311         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo101_version_major, 0);
1312
1313         return offset;
1314 }
1315
1316 static int
1317 wkssvc_dissect_element_NetWkstaInfo101_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1318 {
1319         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo101_version_minor, 0);
1320
1321         return offset;
1322 }
1323
1324 static int
1325 wkssvc_dissect_element_NetWkstaInfo101_lan_root(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1326 {
1327         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo101_lan_root_, NDR_POINTER_UNIQUE, "Pointer to Lan Root (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo101_lan_root);
1328
1329         return offset;
1330 }
1331
1332 static int
1333 wkssvc_dissect_element_NetWkstaInfo101_lan_root_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1334 {
1335         char *data;
1336
1337         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo101_lan_root, FALSE, &data);
1338         proto_item_append_text(tree, ": %s", data);
1339
1340         return offset;
1341 }
1342
1343 int
1344 wkssvc_dissect_struct_NetWkstaInfo101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
1345 {
1346         proto_item *item = NULL;
1347         proto_tree *tree = NULL;
1348         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
1349         int old_offset;
1350
1351         ALIGN_TO_5_BYTES;
1352
1353         old_offset = offset;
1354
1355         if (parent_tree) {
1356                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1357                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo101);
1358         }
1359         
1360         offset = wkssvc_dissect_element_NetWkstaInfo101_platform_id(tvb, offset, pinfo, tree, drep);
1361
1362         offset = wkssvc_dissect_element_NetWkstaInfo101_server_name(tvb, offset, pinfo, tree, drep);
1363
1364         offset = wkssvc_dissect_element_NetWkstaInfo101_domain_name(tvb, offset, pinfo, tree, drep);
1365
1366         offset = wkssvc_dissect_element_NetWkstaInfo101_version_major(tvb, offset, pinfo, tree, drep);
1367
1368         offset = wkssvc_dissect_element_NetWkstaInfo101_version_minor(tvb, offset, pinfo, tree, drep);
1369
1370         offset = wkssvc_dissect_element_NetWkstaInfo101_lan_root(tvb, offset, pinfo, tree, drep);
1371
1372
1373         proto_item_set_len(item, offset-old_offset);
1374
1375
1376         if (di->call_data->flags & DCERPC_IS_NDR64) {
1377                 ALIGN_TO_5_BYTES;
1378         }
1379
1380         return offset;
1381 }
1382
1383
1384 /* IDL: struct { */
1385 /* IDL:         srvsvc_PlatformId platform_id; */
1386 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *server_name; */
1387 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *domain_name; */
1388 /* IDL:         uint32 version_major; */
1389 /* IDL:         uint32 version_minor; */
1390 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *lan_root; */
1391 /* IDL:         uint32 logged_on_users; */
1392 /* IDL: } */
1393
1394 static int
1395 wkssvc_dissect_element_NetWkstaInfo102_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1396 {
1397         offset = wkssvc_dissect_enum_srvsvc_PlatformId(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo102_platform_id, 0);
1398
1399         return offset;
1400 }
1401
1402 static int
1403 wkssvc_dissect_element_NetWkstaInfo102_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1404 {
1405         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo102_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo102_server_name);
1406
1407         return offset;
1408 }
1409
1410 static int
1411 wkssvc_dissect_element_NetWkstaInfo102_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1412 {
1413         char *data;
1414
1415         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo102_server_name, FALSE, &data);
1416         proto_item_append_text(tree, ": %s", data);
1417
1418         return offset;
1419 }
1420
1421 static int
1422 wkssvc_dissect_element_NetWkstaInfo102_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1423 {
1424         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo102_domain_name_, NDR_POINTER_UNIQUE, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo102_domain_name);
1425
1426         return offset;
1427 }
1428
1429 static int
1430 wkssvc_dissect_element_NetWkstaInfo102_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1431 {
1432         char *data;
1433
1434         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo102_domain_name, FALSE, &data);
1435         proto_item_append_text(tree, ": %s", data);
1436
1437         return offset;
1438 }
1439
1440 static int
1441 wkssvc_dissect_element_NetWkstaInfo102_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1442 {
1443         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo102_version_major, 0);
1444
1445         return offset;
1446 }
1447
1448 static int
1449 wkssvc_dissect_element_NetWkstaInfo102_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1450 {
1451         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo102_version_minor, 0);
1452
1453         return offset;
1454 }
1455
1456 static int
1457 wkssvc_dissect_element_NetWkstaInfo102_lan_root(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1458 {
1459         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo102_lan_root_, NDR_POINTER_UNIQUE, "Pointer to Lan Root (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo102_lan_root);
1460
1461         return offset;
1462 }
1463
1464 static int
1465 wkssvc_dissect_element_NetWkstaInfo102_lan_root_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1466 {
1467         char *data;
1468
1469         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo102_lan_root, FALSE, &data);
1470         proto_item_append_text(tree, ": %s", data);
1471
1472         return offset;
1473 }
1474
1475 static int
1476 wkssvc_dissect_element_NetWkstaInfo102_logged_on_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1477 {
1478         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo102_logged_on_users, 0);
1479
1480         return offset;
1481 }
1482
1483 int
1484 wkssvc_dissect_struct_NetWkstaInfo102(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
1485 {
1486         proto_item *item = NULL;
1487         proto_tree *tree = NULL;
1488         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
1489         int old_offset;
1490
1491         ALIGN_TO_5_BYTES;
1492
1493         old_offset = offset;
1494
1495         if (parent_tree) {
1496                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1497                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo102);
1498         }
1499         
1500         offset = wkssvc_dissect_element_NetWkstaInfo102_platform_id(tvb, offset, pinfo, tree, drep);
1501
1502         offset = wkssvc_dissect_element_NetWkstaInfo102_server_name(tvb, offset, pinfo, tree, drep);
1503
1504         offset = wkssvc_dissect_element_NetWkstaInfo102_domain_name(tvb, offset, pinfo, tree, drep);
1505
1506         offset = wkssvc_dissect_element_NetWkstaInfo102_version_major(tvb, offset, pinfo, tree, drep);
1507
1508         offset = wkssvc_dissect_element_NetWkstaInfo102_version_minor(tvb, offset, pinfo, tree, drep);
1509
1510         offset = wkssvc_dissect_element_NetWkstaInfo102_lan_root(tvb, offset, pinfo, tree, drep);
1511
1512         offset = wkssvc_dissect_element_NetWkstaInfo102_logged_on_users(tvb, offset, pinfo, tree, drep);
1513
1514
1515         proto_item_set_len(item, offset-old_offset);
1516
1517
1518         if (di->call_data->flags & DCERPC_IS_NDR64) {
1519                 ALIGN_TO_5_BYTES;
1520         }
1521
1522         return offset;
1523 }
1524
1525
1526 /* IDL: struct { */
1527 /* IDL:         uint32 char_wait; */
1528 /* IDL:         uint32 collection_time; */
1529 /* IDL:         uint32 maximum_collection_count; */
1530 /* IDL:         uint32 keep_connection; */
1531 /* IDL:         uint32 max_commands; */
1532 /* IDL:         uint32 session_timeout; */
1533 /* IDL:         uint32 size_char_buf; */
1534 /* IDL:         uint32 max_threads; */
1535 /* IDL:         uint32 lock_quota; */
1536 /* IDL:         uint32 lock_increment; */
1537 /* IDL:         uint32 lock_maximum; */
1538 /* IDL:         uint32 pipe_increment; */
1539 /* IDL:         uint32 pipe_maximum; */
1540 /* IDL:         uint32 cache_file_timeout; */
1541 /* IDL:         uint32 dormant_file_limit; */
1542 /* IDL:         uint32 read_ahead_throughput; */
1543 /* IDL:         uint32 num_mailslot_buffers; */
1544 /* IDL:         uint32 num_srv_announce_buffers; */
1545 /* IDL:         uint32 max_illegal_dgram_events; */
1546 /* IDL:         uint32 dgram_event_reset_freq; */
1547 /* IDL:         uint32 log_election_packets; */
1548 /* IDL:         uint32 use_opportunistic_locking; */
1549 /* IDL:         uint32 use_unlock_behind; */
1550 /* IDL:         uint32 use_close_behind; */
1551 /* IDL:         uint32 buf_named_pipes; */
1552 /* IDL:         uint32 use_lock_read_unlock; */
1553 /* IDL:         uint32 utilize_nt_caching; */
1554 /* IDL:         uint32 use_raw_read; */
1555 /* IDL:         uint32 use_raw_write; */
1556 /* IDL:         uint32 use_write_raw_data; */
1557 /* IDL:         uint32 use_encryption; */
1558 /* IDL:         uint32 buf_files_deny_write; */
1559 /* IDL:         uint32 buf_read_only_files; */
1560 /* IDL:         uint32 force_core_create_mode; */
1561 /* IDL:         uint32 use_512_byte_max_transfer; */
1562 /* IDL: } */
1563
1564 static int
1565 wkssvc_dissect_element_NetWkstaInfo502_char_wait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1566 {
1567         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_char_wait, 0);
1568
1569         return offset;
1570 }
1571
1572 static int
1573 wkssvc_dissect_element_NetWkstaInfo502_collection_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1574 {
1575         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_collection_time, 0);
1576
1577         return offset;
1578 }
1579
1580 static int
1581 wkssvc_dissect_element_NetWkstaInfo502_maximum_collection_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1582 {
1583         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_maximum_collection_count, 0);
1584
1585         return offset;
1586 }
1587
1588 static int
1589 wkssvc_dissect_element_NetWkstaInfo502_keep_connection(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1590 {
1591         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_keep_connection, 0);
1592
1593         return offset;
1594 }
1595
1596 static int
1597 wkssvc_dissect_element_NetWkstaInfo502_max_commands(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1598 {
1599         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_max_commands, 0);
1600
1601         return offset;
1602 }
1603
1604 static int
1605 wkssvc_dissect_element_NetWkstaInfo502_session_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1606 {
1607         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_session_timeout, 0);
1608
1609         return offset;
1610 }
1611
1612 static int
1613 wkssvc_dissect_element_NetWkstaInfo502_size_char_buf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1614 {
1615         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_size_char_buf, 0);
1616
1617         return offset;
1618 }
1619
1620 static int
1621 wkssvc_dissect_element_NetWkstaInfo502_max_threads(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1622 {
1623         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_max_threads, 0);
1624
1625         return offset;
1626 }
1627
1628 static int
1629 wkssvc_dissect_element_NetWkstaInfo502_lock_quota(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1630 {
1631         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_lock_quota, 0);
1632
1633         return offset;
1634 }
1635
1636 static int
1637 wkssvc_dissect_element_NetWkstaInfo502_lock_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1638 {
1639         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_lock_increment, 0);
1640
1641         return offset;
1642 }
1643
1644 static int
1645 wkssvc_dissect_element_NetWkstaInfo502_lock_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1646 {
1647         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_lock_maximum, 0);
1648
1649         return offset;
1650 }
1651
1652 static int
1653 wkssvc_dissect_element_NetWkstaInfo502_pipe_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1654 {
1655         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_pipe_increment, 0);
1656
1657         return offset;
1658 }
1659
1660 static int
1661 wkssvc_dissect_element_NetWkstaInfo502_pipe_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1662 {
1663         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_pipe_maximum, 0);
1664
1665         return offset;
1666 }
1667
1668 static int
1669 wkssvc_dissect_element_NetWkstaInfo502_cache_file_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1670 {
1671         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_cache_file_timeout, 0);
1672
1673         return offset;
1674 }
1675
1676 static int
1677 wkssvc_dissect_element_NetWkstaInfo502_dormant_file_limit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1678 {
1679         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_dormant_file_limit, 0);
1680
1681         return offset;
1682 }
1683
1684 static int
1685 wkssvc_dissect_element_NetWkstaInfo502_read_ahead_throughput(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1686 {
1687         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_read_ahead_throughput, 0);
1688
1689         return offset;
1690 }
1691
1692 static int
1693 wkssvc_dissect_element_NetWkstaInfo502_num_mailslot_buffers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1694 {
1695         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_num_mailslot_buffers, 0);
1696
1697         return offset;
1698 }
1699
1700 static int
1701 wkssvc_dissect_element_NetWkstaInfo502_num_srv_announce_buffers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1702 {
1703         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_num_srv_announce_buffers, 0);
1704
1705         return offset;
1706 }
1707
1708 static int
1709 wkssvc_dissect_element_NetWkstaInfo502_max_illegal_dgram_events(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1710 {
1711         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_max_illegal_dgram_events, 0);
1712
1713         return offset;
1714 }
1715
1716 static int
1717 wkssvc_dissect_element_NetWkstaInfo502_dgram_event_reset_freq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1718 {
1719         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_dgram_event_reset_freq, 0);
1720
1721         return offset;
1722 }
1723
1724 static int
1725 wkssvc_dissect_element_NetWkstaInfo502_log_election_packets(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1726 {
1727         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_log_election_packets, 0);
1728
1729         return offset;
1730 }
1731
1732 static int
1733 wkssvc_dissect_element_NetWkstaInfo502_use_opportunistic_locking(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1734 {
1735         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_opportunistic_locking, 0);
1736
1737         return offset;
1738 }
1739
1740 static int
1741 wkssvc_dissect_element_NetWkstaInfo502_use_unlock_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1742 {
1743         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_unlock_behind, 0);
1744
1745         return offset;
1746 }
1747
1748 static int
1749 wkssvc_dissect_element_NetWkstaInfo502_use_close_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1750 {
1751         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_close_behind, 0);
1752
1753         return offset;
1754 }
1755
1756 static int
1757 wkssvc_dissect_element_NetWkstaInfo502_buf_named_pipes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1758 {
1759         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_buf_named_pipes, 0);
1760
1761         return offset;
1762 }
1763
1764 static int
1765 wkssvc_dissect_element_NetWkstaInfo502_use_lock_read_unlock(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1766 {
1767         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_lock_read_unlock, 0);
1768
1769         return offset;
1770 }
1771
1772 static int
1773 wkssvc_dissect_element_NetWkstaInfo502_utilize_nt_caching(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1774 {
1775         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_utilize_nt_caching, 0);
1776
1777         return offset;
1778 }
1779
1780 static int
1781 wkssvc_dissect_element_NetWkstaInfo502_use_raw_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1782 {
1783         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_raw_read, 0);
1784
1785         return offset;
1786 }
1787
1788 static int
1789 wkssvc_dissect_element_NetWkstaInfo502_use_raw_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1790 {
1791         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_raw_write, 0);
1792
1793         return offset;
1794 }
1795
1796 static int
1797 wkssvc_dissect_element_NetWkstaInfo502_use_write_raw_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1798 {
1799         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_write_raw_data, 0);
1800
1801         return offset;
1802 }
1803
1804 static int
1805 wkssvc_dissect_element_NetWkstaInfo502_use_encryption(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1806 {
1807         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_encryption, 0);
1808
1809         return offset;
1810 }
1811
1812 static int
1813 wkssvc_dissect_element_NetWkstaInfo502_buf_files_deny_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1814 {
1815         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_buf_files_deny_write, 0);
1816
1817         return offset;
1818 }
1819
1820 static int
1821 wkssvc_dissect_element_NetWkstaInfo502_buf_read_only_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1822 {
1823         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_buf_read_only_files, 0);
1824
1825         return offset;
1826 }
1827
1828 static int
1829 wkssvc_dissect_element_NetWkstaInfo502_force_core_create_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1830 {
1831         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_force_core_create_mode, 0);
1832
1833         return offset;
1834 }
1835
1836 static int
1837 wkssvc_dissect_element_NetWkstaInfo502_use_512_byte_max_transfer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1838 {
1839         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_512_byte_max_transfer, 0);
1840
1841         return offset;
1842 }
1843
1844 int
1845 wkssvc_dissect_struct_NetWkstaInfo502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
1846 {
1847         proto_item *item = NULL;
1848         proto_tree *tree = NULL;
1849         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
1850         int old_offset;
1851
1852         ALIGN_TO_4_BYTES;
1853
1854         old_offset = offset;
1855
1856         if (parent_tree) {
1857                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1858                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo502);
1859         }
1860         
1861         offset = wkssvc_dissect_element_NetWkstaInfo502_char_wait(tvb, offset, pinfo, tree, drep);
1862
1863         offset = wkssvc_dissect_element_NetWkstaInfo502_collection_time(tvb, offset, pinfo, tree, drep);
1864
1865         offset = wkssvc_dissect_element_NetWkstaInfo502_maximum_collection_count(tvb, offset, pinfo, tree, drep);
1866
1867         offset = wkssvc_dissect_element_NetWkstaInfo502_keep_connection(tvb, offset, pinfo, tree, drep);
1868
1869         offset = wkssvc_dissect_element_NetWkstaInfo502_max_commands(tvb, offset, pinfo, tree, drep);
1870
1871         offset = wkssvc_dissect_element_NetWkstaInfo502_session_timeout(tvb, offset, pinfo, tree, drep);
1872
1873         offset = wkssvc_dissect_element_NetWkstaInfo502_size_char_buf(tvb, offset, pinfo, tree, drep);
1874
1875         offset = wkssvc_dissect_element_NetWkstaInfo502_max_threads(tvb, offset, pinfo, tree, drep);
1876
1877         offset = wkssvc_dissect_element_NetWkstaInfo502_lock_quota(tvb, offset, pinfo, tree, drep);
1878
1879         offset = wkssvc_dissect_element_NetWkstaInfo502_lock_increment(tvb, offset, pinfo, tree, drep);
1880
1881         offset = wkssvc_dissect_element_NetWkstaInfo502_lock_maximum(tvb, offset, pinfo, tree, drep);
1882
1883         offset = wkssvc_dissect_element_NetWkstaInfo502_pipe_increment(tvb, offset, pinfo, tree, drep);
1884
1885         offset = wkssvc_dissect_element_NetWkstaInfo502_pipe_maximum(tvb, offset, pinfo, tree, drep);
1886
1887         offset = wkssvc_dissect_element_NetWkstaInfo502_cache_file_timeout(tvb, offset, pinfo, tree, drep);
1888
1889         offset = wkssvc_dissect_element_NetWkstaInfo502_dormant_file_limit(tvb, offset, pinfo, tree, drep);
1890
1891         offset = wkssvc_dissect_element_NetWkstaInfo502_read_ahead_throughput(tvb, offset, pinfo, tree, drep);
1892
1893         offset = wkssvc_dissect_element_NetWkstaInfo502_num_mailslot_buffers(tvb, offset, pinfo, tree, drep);
1894
1895         offset = wkssvc_dissect_element_NetWkstaInfo502_num_srv_announce_buffers(tvb, offset, pinfo, tree, drep);
1896
1897         offset = wkssvc_dissect_element_NetWkstaInfo502_max_illegal_dgram_events(tvb, offset, pinfo, tree, drep);
1898
1899         offset = wkssvc_dissect_element_NetWkstaInfo502_dgram_event_reset_freq(tvb, offset, pinfo, tree, drep);
1900
1901         offset = wkssvc_dissect_element_NetWkstaInfo502_log_election_packets(tvb, offset, pinfo, tree, drep);
1902
1903         offset = wkssvc_dissect_element_NetWkstaInfo502_use_opportunistic_locking(tvb, offset, pinfo, tree, drep);
1904
1905         offset = wkssvc_dissect_element_NetWkstaInfo502_use_unlock_behind(tvb, offset, pinfo, tree, drep);
1906
1907         offset = wkssvc_dissect_element_NetWkstaInfo502_use_close_behind(tvb, offset, pinfo, tree, drep);
1908
1909         offset = wkssvc_dissect_element_NetWkstaInfo502_buf_named_pipes(tvb, offset, pinfo, tree, drep);
1910
1911         offset = wkssvc_dissect_element_NetWkstaInfo502_use_lock_read_unlock(tvb, offset, pinfo, tree, drep);
1912
1913         offset = wkssvc_dissect_element_NetWkstaInfo502_utilize_nt_caching(tvb, offset, pinfo, tree, drep);
1914
1915         offset = wkssvc_dissect_element_NetWkstaInfo502_use_raw_read(tvb, offset, pinfo, tree, drep);
1916
1917         offset = wkssvc_dissect_element_NetWkstaInfo502_use_raw_write(tvb, offset, pinfo, tree, drep);
1918
1919         offset = wkssvc_dissect_element_NetWkstaInfo502_use_write_raw_data(tvb, offset, pinfo, tree, drep);
1920
1921         offset = wkssvc_dissect_element_NetWkstaInfo502_use_encryption(tvb, offset, pinfo, tree, drep);
1922
1923         offset = wkssvc_dissect_element_NetWkstaInfo502_buf_files_deny_write(tvb, offset, pinfo, tree, drep);
1924
1925         offset = wkssvc_dissect_element_NetWkstaInfo502_buf_read_only_files(tvb, offset, pinfo, tree, drep);
1926
1927         offset = wkssvc_dissect_element_NetWkstaInfo502_force_core_create_mode(tvb, offset, pinfo, tree, drep);
1928
1929         offset = wkssvc_dissect_element_NetWkstaInfo502_use_512_byte_max_transfer(tvb, offset, pinfo, tree, drep);
1930
1931
1932         proto_item_set_len(item, offset-old_offset);
1933
1934
1935         if (di->call_data->flags & DCERPC_IS_NDR64) {
1936                 ALIGN_TO_4_BYTES;
1937         }
1938
1939         return offset;
1940 }
1941
1942
1943 /* IDL: struct { */
1944 /* IDL:         uint32 char_wait; */
1945 /* IDL: } */
1946
1947 static int
1948 wkssvc_dissect_element_NetWkstaInfo1010_char_wait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1949 {
1950         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1010_char_wait, 0);
1951
1952         return offset;
1953 }
1954
1955 int
1956 wkssvc_dissect_struct_NetWkstaInfo1010(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
1957 {
1958         proto_item *item = NULL;
1959         proto_tree *tree = NULL;
1960         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
1961         int old_offset;
1962
1963         ALIGN_TO_4_BYTES;
1964
1965         old_offset = offset;
1966
1967         if (parent_tree) {
1968                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1969                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1010);
1970         }
1971         
1972         offset = wkssvc_dissect_element_NetWkstaInfo1010_char_wait(tvb, offset, pinfo, tree, drep);
1973
1974
1975         proto_item_set_len(item, offset-old_offset);
1976
1977
1978         if (di->call_data->flags & DCERPC_IS_NDR64) {
1979                 ALIGN_TO_4_BYTES;
1980         }
1981
1982         return offset;
1983 }
1984
1985
1986 /* IDL: struct { */
1987 /* IDL:         uint32 collection_time; */
1988 /* IDL: } */
1989
1990 static int
1991 wkssvc_dissect_element_NetWkstaInfo1011_collection_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1992 {
1993         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1011_collection_time, 0);
1994
1995         return offset;
1996 }
1997
1998 int
1999 wkssvc_dissect_struct_NetWkstaInfo1011(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2000 {
2001         proto_item *item = NULL;
2002         proto_tree *tree = NULL;
2003         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2004         int old_offset;
2005
2006         ALIGN_TO_4_BYTES;
2007
2008         old_offset = offset;
2009
2010         if (parent_tree) {
2011                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2012                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1011);
2013         }
2014         
2015         offset = wkssvc_dissect_element_NetWkstaInfo1011_collection_time(tvb, offset, pinfo, tree, drep);
2016
2017
2018         proto_item_set_len(item, offset-old_offset);
2019
2020
2021         if (di->call_data->flags & DCERPC_IS_NDR64) {
2022                 ALIGN_TO_4_BYTES;
2023         }
2024
2025         return offset;
2026 }
2027
2028
2029 /* IDL: struct { */
2030 /* IDL:         uint32 maximum_collection_count; */
2031 /* IDL: } */
2032
2033 static int
2034 wkssvc_dissect_element_NetWkstaInfo1012_maximum_collection_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2035 {
2036         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1012_maximum_collection_count, 0);
2037
2038         return offset;
2039 }
2040
2041 int
2042 wkssvc_dissect_struct_NetWkstaInfo1012(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2043 {
2044         proto_item *item = NULL;
2045         proto_tree *tree = NULL;
2046         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2047         int old_offset;
2048
2049         ALIGN_TO_4_BYTES;
2050
2051         old_offset = offset;
2052
2053         if (parent_tree) {
2054                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2055                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1012);
2056         }
2057         
2058         offset = wkssvc_dissect_element_NetWkstaInfo1012_maximum_collection_count(tvb, offset, pinfo, tree, drep);
2059
2060
2061         proto_item_set_len(item, offset-old_offset);
2062
2063
2064         if (di->call_data->flags & DCERPC_IS_NDR64) {
2065                 ALIGN_TO_4_BYTES;
2066         }
2067
2068         return offset;
2069 }
2070
2071
2072 /* IDL: struct { */
2073 /* IDL:         uint32 keep_connection; */
2074 /* IDL: } */
2075
2076 static int
2077 wkssvc_dissect_element_NetWkstaInfo1013_keep_connection(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2078 {
2079         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1013_keep_connection, 0);
2080
2081         return offset;
2082 }
2083
2084 int
2085 wkssvc_dissect_struct_NetWkstaInfo1013(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2086 {
2087         proto_item *item = NULL;
2088         proto_tree *tree = NULL;
2089         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2090         int old_offset;
2091
2092         ALIGN_TO_4_BYTES;
2093
2094         old_offset = offset;
2095
2096         if (parent_tree) {
2097                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2098                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1013);
2099         }
2100         
2101         offset = wkssvc_dissect_element_NetWkstaInfo1013_keep_connection(tvb, offset, pinfo, tree, drep);
2102
2103
2104         proto_item_set_len(item, offset-old_offset);
2105
2106
2107         if (di->call_data->flags & DCERPC_IS_NDR64) {
2108                 ALIGN_TO_4_BYTES;
2109         }
2110
2111         return offset;
2112 }
2113
2114
2115 /* IDL: struct { */
2116 /* IDL:         uint32 session_timeout; */
2117 /* IDL: } */
2118
2119 static int
2120 wkssvc_dissect_element_NetWkstaInfo1018_session_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2121 {
2122         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1018_session_timeout, 0);
2123
2124         return offset;
2125 }
2126
2127 int
2128 wkssvc_dissect_struct_NetWkstaInfo1018(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2129 {
2130         proto_item *item = NULL;
2131         proto_tree *tree = NULL;
2132         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2133         int old_offset;
2134
2135         ALIGN_TO_4_BYTES;
2136
2137         old_offset = offset;
2138
2139         if (parent_tree) {
2140                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2141                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1018);
2142         }
2143         
2144         offset = wkssvc_dissect_element_NetWkstaInfo1018_session_timeout(tvb, offset, pinfo, tree, drep);
2145
2146
2147         proto_item_set_len(item, offset-old_offset);
2148
2149
2150         if (di->call_data->flags & DCERPC_IS_NDR64) {
2151                 ALIGN_TO_4_BYTES;
2152         }
2153
2154         return offset;
2155 }
2156
2157
2158 /* IDL: struct { */
2159 /* IDL:         uint32 size_char_buf; */
2160 /* IDL: } */
2161
2162 static int
2163 wkssvc_dissect_element_NetWkstaInfo1023_size_char_buf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2164 {
2165         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1023_size_char_buf, 0);
2166
2167         return offset;
2168 }
2169
2170 int
2171 wkssvc_dissect_struct_NetWkstaInfo1023(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2172 {
2173         proto_item *item = NULL;
2174         proto_tree *tree = NULL;
2175         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2176         int old_offset;
2177
2178         ALIGN_TO_4_BYTES;
2179
2180         old_offset = offset;
2181
2182         if (parent_tree) {
2183                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2184                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1023);
2185         }
2186         
2187         offset = wkssvc_dissect_element_NetWkstaInfo1023_size_char_buf(tvb, offset, pinfo, tree, drep);
2188
2189
2190         proto_item_set_len(item, offset-old_offset);
2191
2192
2193         if (di->call_data->flags & DCERPC_IS_NDR64) {
2194                 ALIGN_TO_4_BYTES;
2195         }
2196
2197         return offset;
2198 }
2199
2200
2201 /* IDL: struct { */
2202 /* IDL:         uint32 errorlog_sz; */
2203 /* IDL: } */
2204
2205 static int
2206 wkssvc_dissect_element_NetWkstaInfo1027_errorlog_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2207 {
2208         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1027_errorlog_sz, 0);
2209
2210         return offset;
2211 }
2212
2213 int
2214 wkssvc_dissect_struct_NetWkstaInfo1027(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2215 {
2216         proto_item *item = NULL;
2217         proto_tree *tree = NULL;
2218         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2219         int old_offset;
2220
2221         ALIGN_TO_4_BYTES;
2222
2223         old_offset = offset;
2224
2225         if (parent_tree) {
2226                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2227                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1027);
2228         }
2229         
2230         offset = wkssvc_dissect_element_NetWkstaInfo1027_errorlog_sz(tvb, offset, pinfo, tree, drep);
2231
2232
2233         proto_item_set_len(item, offset-old_offset);
2234
2235
2236         if (di->call_data->flags & DCERPC_IS_NDR64) {
2237                 ALIGN_TO_4_BYTES;
2238         }
2239
2240         return offset;
2241 }
2242
2243
2244 /* IDL: struct { */
2245 /* IDL:         uint32 print_buf_time; */
2246 /* IDL: } */
2247
2248 static int
2249 wkssvc_dissect_element_NetWkstaInfo1028_print_buf_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2250 {
2251         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1028_print_buf_time, 0);
2252
2253         return offset;
2254 }
2255
2256 int
2257 wkssvc_dissect_struct_NetWkstaInfo1028(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2258 {
2259         proto_item *item = NULL;
2260         proto_tree *tree = NULL;
2261         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2262         int old_offset;
2263
2264         ALIGN_TO_4_BYTES;
2265
2266         old_offset = offset;
2267
2268         if (parent_tree) {
2269                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2270                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1028);
2271         }
2272         
2273         offset = wkssvc_dissect_element_NetWkstaInfo1028_print_buf_time(tvb, offset, pinfo, tree, drep);
2274
2275
2276         proto_item_set_len(item, offset-old_offset);
2277
2278
2279         if (di->call_data->flags & DCERPC_IS_NDR64) {
2280                 ALIGN_TO_4_BYTES;
2281         }
2282
2283         return offset;
2284 }
2285
2286
2287 /* IDL: struct { */
2288 /* IDL:         uint32 wrk_heuristics; */
2289 /* IDL: } */
2290
2291 static int
2292 wkssvc_dissect_element_NetWkstaInfo1032_wrk_heuristics(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2293 {
2294         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1032_wrk_heuristics, 0);
2295
2296         return offset;
2297 }
2298
2299 int
2300 wkssvc_dissect_struct_NetWkstaInfo1032(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2301 {
2302         proto_item *item = NULL;
2303         proto_tree *tree = NULL;
2304         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2305         int old_offset;
2306
2307         ALIGN_TO_4_BYTES;
2308
2309         old_offset = offset;
2310
2311         if (parent_tree) {
2312                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2313                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1032);
2314         }
2315         
2316         offset = wkssvc_dissect_element_NetWkstaInfo1032_wrk_heuristics(tvb, offset, pinfo, tree, drep);
2317
2318
2319         proto_item_set_len(item, offset-old_offset);
2320
2321
2322         if (di->call_data->flags & DCERPC_IS_NDR64) {
2323                 ALIGN_TO_4_BYTES;
2324         }
2325
2326         return offset;
2327 }
2328
2329
2330 /* IDL: struct { */
2331 /* IDL:         uint32 max_threads; */
2332 /* IDL: } */
2333
2334 static int
2335 wkssvc_dissect_element_NetWkstaInfo1033_max_threads(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2336 {
2337         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1033_max_threads, 0);
2338
2339         return offset;
2340 }
2341
2342 int
2343 wkssvc_dissect_struct_NetWkstaInfo1033(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2344 {
2345         proto_item *item = NULL;
2346         proto_tree *tree = NULL;
2347         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2348         int old_offset;
2349
2350         ALIGN_TO_4_BYTES;
2351
2352         old_offset = offset;
2353
2354         if (parent_tree) {
2355                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2356                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1033);
2357         }
2358         
2359         offset = wkssvc_dissect_element_NetWkstaInfo1033_max_threads(tvb, offset, pinfo, tree, drep);
2360
2361
2362         proto_item_set_len(item, offset-old_offset);
2363
2364
2365         if (di->call_data->flags & DCERPC_IS_NDR64) {
2366                 ALIGN_TO_4_BYTES;
2367         }
2368
2369         return offset;
2370 }
2371
2372
2373 /* IDL: struct { */
2374 /* IDL:         uint32 lock_quota; */
2375 /* IDL: } */
2376
2377 static int
2378 wkssvc_dissect_element_NetWkstaInfo1041_lock_quota(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2379 {
2380         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1041_lock_quota, 0);
2381
2382         return offset;
2383 }
2384
2385 int
2386 wkssvc_dissect_struct_NetWkstaInfo1041(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2387 {
2388         proto_item *item = NULL;
2389         proto_tree *tree = NULL;
2390         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2391         int old_offset;
2392
2393         ALIGN_TO_4_BYTES;
2394
2395         old_offset = offset;
2396
2397         if (parent_tree) {
2398                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2399                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1041);
2400         }
2401         
2402         offset = wkssvc_dissect_element_NetWkstaInfo1041_lock_quota(tvb, offset, pinfo, tree, drep);
2403
2404
2405         proto_item_set_len(item, offset-old_offset);
2406
2407
2408         if (di->call_data->flags & DCERPC_IS_NDR64) {
2409                 ALIGN_TO_4_BYTES;
2410         }
2411
2412         return offset;
2413 }
2414
2415
2416 /* IDL: struct { */
2417 /* IDL:         uint32 lock_increment; */
2418 /* IDL: } */
2419
2420 static int
2421 wkssvc_dissect_element_NetWkstaInfo1042_lock_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2422 {
2423         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1042_lock_increment, 0);
2424
2425         return offset;
2426 }
2427
2428 int
2429 wkssvc_dissect_struct_NetWkstaInfo1042(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2430 {
2431         proto_item *item = NULL;
2432         proto_tree *tree = NULL;
2433         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2434         int old_offset;
2435
2436         ALIGN_TO_4_BYTES;
2437
2438         old_offset = offset;
2439
2440         if (parent_tree) {
2441                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2442                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1042);
2443         }
2444         
2445         offset = wkssvc_dissect_element_NetWkstaInfo1042_lock_increment(tvb, offset, pinfo, tree, drep);
2446
2447
2448         proto_item_set_len(item, offset-old_offset);
2449
2450
2451         if (di->call_data->flags & DCERPC_IS_NDR64) {
2452                 ALIGN_TO_4_BYTES;
2453         }
2454
2455         return offset;
2456 }
2457
2458
2459 /* IDL: struct { */
2460 /* IDL:         uint32 lock_maximum; */
2461 /* IDL: } */
2462
2463 static int
2464 wkssvc_dissect_element_NetWkstaInfo1043_lock_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2465 {
2466         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1043_lock_maximum, 0);
2467
2468         return offset;
2469 }
2470
2471 int
2472 wkssvc_dissect_struct_NetWkstaInfo1043(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2473 {
2474         proto_item *item = NULL;
2475         proto_tree *tree = NULL;
2476         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2477         int old_offset;
2478
2479         ALIGN_TO_4_BYTES;
2480
2481         old_offset = offset;
2482
2483         if (parent_tree) {
2484                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2485                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1043);
2486         }
2487         
2488         offset = wkssvc_dissect_element_NetWkstaInfo1043_lock_maximum(tvb, offset, pinfo, tree, drep);
2489
2490
2491         proto_item_set_len(item, offset-old_offset);
2492
2493
2494         if (di->call_data->flags & DCERPC_IS_NDR64) {
2495                 ALIGN_TO_4_BYTES;
2496         }
2497
2498         return offset;
2499 }
2500
2501
2502 /* IDL: struct { */
2503 /* IDL:         uint32 pipe_increment; */
2504 /* IDL: } */
2505
2506 static int
2507 wkssvc_dissect_element_NetWkstaInfo1044_pipe_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2508 {
2509         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1044_pipe_increment, 0);
2510
2511         return offset;
2512 }
2513
2514 int
2515 wkssvc_dissect_struct_NetWkstaInfo1044(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2516 {
2517         proto_item *item = NULL;
2518         proto_tree *tree = NULL;
2519         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2520         int old_offset;
2521
2522         ALIGN_TO_4_BYTES;
2523
2524         old_offset = offset;
2525
2526         if (parent_tree) {
2527                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2528                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1044);
2529         }
2530         
2531         offset = wkssvc_dissect_element_NetWkstaInfo1044_pipe_increment(tvb, offset, pinfo, tree, drep);
2532
2533
2534         proto_item_set_len(item, offset-old_offset);
2535
2536
2537         if (di->call_data->flags & DCERPC_IS_NDR64) {
2538                 ALIGN_TO_4_BYTES;
2539         }
2540
2541         return offset;
2542 }
2543
2544
2545 /* IDL: struct { */
2546 /* IDL:         uint32 pipe_maximum; */
2547 /* IDL: } */
2548
2549 static int
2550 wkssvc_dissect_element_NetWkstaInfo1045_pipe_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2551 {
2552         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1045_pipe_maximum, 0);
2553
2554         return offset;
2555 }
2556
2557 int
2558 wkssvc_dissect_struct_NetWkstaInfo1045(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2559 {
2560         proto_item *item = NULL;
2561         proto_tree *tree = NULL;
2562         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2563         int old_offset;
2564
2565         ALIGN_TO_4_BYTES;
2566
2567         old_offset = offset;
2568
2569         if (parent_tree) {
2570                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2571                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1045);
2572         }
2573         
2574         offset = wkssvc_dissect_element_NetWkstaInfo1045_pipe_maximum(tvb, offset, pinfo, tree, drep);
2575
2576
2577         proto_item_set_len(item, offset-old_offset);
2578
2579
2580         if (di->call_data->flags & DCERPC_IS_NDR64) {
2581                 ALIGN_TO_4_BYTES;
2582         }
2583
2584         return offset;
2585 }
2586
2587
2588 /* IDL: struct { */
2589 /* IDL:         uint32 dormant_file_limit; */
2590 /* IDL: } */
2591
2592 static int
2593 wkssvc_dissect_element_NetWkstaInfo1046_dormant_file_limit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2594 {
2595         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1046_dormant_file_limit, 0);
2596
2597         return offset;
2598 }
2599
2600 int
2601 wkssvc_dissect_struct_NetWkstaInfo1046(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2602 {
2603         proto_item *item = NULL;
2604         proto_tree *tree = NULL;
2605         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2606         int old_offset;
2607
2608         ALIGN_TO_4_BYTES;
2609
2610         old_offset = offset;
2611
2612         if (parent_tree) {
2613                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2614                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1046);
2615         }
2616         
2617         offset = wkssvc_dissect_element_NetWkstaInfo1046_dormant_file_limit(tvb, offset, pinfo, tree, drep);
2618
2619
2620         proto_item_set_len(item, offset-old_offset);
2621
2622
2623         if (di->call_data->flags & DCERPC_IS_NDR64) {
2624                 ALIGN_TO_4_BYTES;
2625         }
2626
2627         return offset;
2628 }
2629
2630
2631 /* IDL: struct { */
2632 /* IDL:         uint32 cache_file_timeout; */
2633 /* IDL: } */
2634
2635 static int
2636 wkssvc_dissect_element_NetWkstaInfo1047_cache_file_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2637 {
2638         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1047_cache_file_timeout, 0);
2639
2640         return offset;
2641 }
2642
2643 int
2644 wkssvc_dissect_struct_NetWkstaInfo1047(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2645 {
2646         proto_item *item = NULL;
2647         proto_tree *tree = NULL;
2648         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2649         int old_offset;
2650
2651         ALIGN_TO_4_BYTES;
2652
2653         old_offset = offset;
2654
2655         if (parent_tree) {
2656                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2657                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1047);
2658         }
2659         
2660         offset = wkssvc_dissect_element_NetWkstaInfo1047_cache_file_timeout(tvb, offset, pinfo, tree, drep);
2661
2662
2663         proto_item_set_len(item, offset-old_offset);
2664
2665
2666         if (di->call_data->flags & DCERPC_IS_NDR64) {
2667                 ALIGN_TO_4_BYTES;
2668         }
2669
2670         return offset;
2671 }
2672
2673
2674 /* IDL: struct { */
2675 /* IDL:         uint32 use_opportunistic_locking; */
2676 /* IDL: } */
2677
2678 static int
2679 wkssvc_dissect_element_NetWkstaInfo1048_use_opportunistic_locking(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2680 {
2681         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1048_use_opportunistic_locking, 0);
2682
2683         return offset;
2684 }
2685
2686 int
2687 wkssvc_dissect_struct_NetWkstaInfo1048(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2688 {
2689         proto_item *item = NULL;
2690         proto_tree *tree = NULL;
2691         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2692         int old_offset;
2693
2694         ALIGN_TO_4_BYTES;
2695
2696         old_offset = offset;
2697
2698         if (parent_tree) {
2699                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2700                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1048);
2701         }
2702         
2703         offset = wkssvc_dissect_element_NetWkstaInfo1048_use_opportunistic_locking(tvb, offset, pinfo, tree, drep);
2704
2705
2706         proto_item_set_len(item, offset-old_offset);
2707
2708
2709         if (di->call_data->flags & DCERPC_IS_NDR64) {
2710                 ALIGN_TO_4_BYTES;
2711         }
2712
2713         return offset;
2714 }
2715
2716
2717 /* IDL: struct { */
2718 /* IDL:         uint32 use_unlock_behind; */
2719 /* IDL: } */
2720
2721 static int
2722 wkssvc_dissect_element_NetWkstaInfo1049_use_unlock_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2723 {
2724         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1049_use_unlock_behind, 0);
2725
2726         return offset;
2727 }
2728
2729 int
2730 wkssvc_dissect_struct_NetWkstaInfo1049(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2731 {
2732         proto_item *item = NULL;
2733         proto_tree *tree = NULL;
2734         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2735         int old_offset;
2736
2737         ALIGN_TO_4_BYTES;
2738
2739         old_offset = offset;
2740
2741         if (parent_tree) {
2742                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2743                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1049);
2744         }
2745         
2746         offset = wkssvc_dissect_element_NetWkstaInfo1049_use_unlock_behind(tvb, offset, pinfo, tree, drep);
2747
2748
2749         proto_item_set_len(item, offset-old_offset);
2750
2751
2752         if (di->call_data->flags & DCERPC_IS_NDR64) {
2753                 ALIGN_TO_4_BYTES;
2754         }
2755
2756         return offset;
2757 }
2758
2759
2760 /* IDL: struct { */
2761 /* IDL:         uint32 use_close_behind; */
2762 /* IDL: } */
2763
2764 static int
2765 wkssvc_dissect_element_NetWkstaInfo1050_use_close_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2766 {
2767         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1050_use_close_behind, 0);
2768
2769         return offset;
2770 }
2771
2772 int
2773 wkssvc_dissect_struct_NetWkstaInfo1050(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2774 {
2775         proto_item *item = NULL;
2776         proto_tree *tree = NULL;
2777         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2778         int old_offset;
2779
2780         ALIGN_TO_4_BYTES;
2781
2782         old_offset = offset;
2783
2784         if (parent_tree) {
2785                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2786                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1050);
2787         }
2788         
2789         offset = wkssvc_dissect_element_NetWkstaInfo1050_use_close_behind(tvb, offset, pinfo, tree, drep);
2790
2791
2792         proto_item_set_len(item, offset-old_offset);
2793
2794
2795         if (di->call_data->flags & DCERPC_IS_NDR64) {
2796                 ALIGN_TO_4_BYTES;
2797         }
2798
2799         return offset;
2800 }
2801
2802
2803 /* IDL: struct { */
2804 /* IDL:         uint32 buf_named_pipes; */
2805 /* IDL: } */
2806
2807 static int
2808 wkssvc_dissect_element_NetWkstaInfo1051_buf_named_pipes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2809 {
2810         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1051_buf_named_pipes, 0);
2811
2812         return offset;
2813 }
2814
2815 int
2816 wkssvc_dissect_struct_NetWkstaInfo1051(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2817 {
2818         proto_item *item = NULL;
2819         proto_tree *tree = NULL;
2820         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2821         int old_offset;
2822
2823         ALIGN_TO_4_BYTES;
2824
2825         old_offset = offset;
2826
2827         if (parent_tree) {
2828                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2829                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1051);
2830         }
2831         
2832         offset = wkssvc_dissect_element_NetWkstaInfo1051_buf_named_pipes(tvb, offset, pinfo, tree, drep);
2833
2834
2835         proto_item_set_len(item, offset-old_offset);
2836
2837
2838         if (di->call_data->flags & DCERPC_IS_NDR64) {
2839                 ALIGN_TO_4_BYTES;
2840         }
2841
2842         return offset;
2843 }
2844
2845
2846 /* IDL: struct { */
2847 /* IDL:         uint32 use_lock_read_unlock; */
2848 /* IDL: } */
2849
2850 static int
2851 wkssvc_dissect_element_NetWkstaInfo1052_use_lock_read_unlock(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2852 {
2853         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1052_use_lock_read_unlock, 0);
2854
2855         return offset;
2856 }
2857
2858 int
2859 wkssvc_dissect_struct_NetWkstaInfo1052(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2860 {
2861         proto_item *item = NULL;
2862         proto_tree *tree = NULL;
2863         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2864         int old_offset;
2865
2866         ALIGN_TO_4_BYTES;
2867
2868         old_offset = offset;
2869
2870         if (parent_tree) {
2871                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2872                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1052);
2873         }
2874         
2875         offset = wkssvc_dissect_element_NetWkstaInfo1052_use_lock_read_unlock(tvb, offset, pinfo, tree, drep);
2876
2877
2878         proto_item_set_len(item, offset-old_offset);
2879
2880
2881         if (di->call_data->flags & DCERPC_IS_NDR64) {
2882                 ALIGN_TO_4_BYTES;
2883         }
2884
2885         return offset;
2886 }
2887
2888
2889 /* IDL: struct { */
2890 /* IDL:         uint32 utilize_nt_caching; */
2891 /* IDL: } */
2892
2893 static int
2894 wkssvc_dissect_element_NetWkstaInfo1053_utilize_nt_caching(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2895 {
2896         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1053_utilize_nt_caching, 0);
2897
2898         return offset;
2899 }
2900
2901 int
2902 wkssvc_dissect_struct_NetWkstaInfo1053(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2903 {
2904         proto_item *item = NULL;
2905         proto_tree *tree = NULL;
2906         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2907         int old_offset;
2908
2909         ALIGN_TO_4_BYTES;
2910
2911         old_offset = offset;
2912
2913         if (parent_tree) {
2914                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2915                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1053);
2916         }
2917         
2918         offset = wkssvc_dissect_element_NetWkstaInfo1053_utilize_nt_caching(tvb, offset, pinfo, tree, drep);
2919
2920
2921         proto_item_set_len(item, offset-old_offset);
2922
2923
2924         if (di->call_data->flags & DCERPC_IS_NDR64) {
2925                 ALIGN_TO_4_BYTES;
2926         }
2927
2928         return offset;
2929 }
2930
2931
2932 /* IDL: struct { */
2933 /* IDL:         uint32 use_raw_read; */
2934 /* IDL: } */
2935
2936 static int
2937 wkssvc_dissect_element_NetWkstaInfo1054_use_raw_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2938 {
2939         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1054_use_raw_read, 0);
2940
2941         return offset;
2942 }
2943
2944 int
2945 wkssvc_dissect_struct_NetWkstaInfo1054(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2946 {
2947         proto_item *item = NULL;
2948         proto_tree *tree = NULL;
2949         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2950         int old_offset;
2951
2952         ALIGN_TO_4_BYTES;
2953
2954         old_offset = offset;
2955
2956         if (parent_tree) {
2957                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
2958                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1054);
2959         }
2960         
2961         offset = wkssvc_dissect_element_NetWkstaInfo1054_use_raw_read(tvb, offset, pinfo, tree, drep);
2962
2963
2964         proto_item_set_len(item, offset-old_offset);
2965
2966
2967         if (di->call_data->flags & DCERPC_IS_NDR64) {
2968                 ALIGN_TO_4_BYTES;
2969         }
2970
2971         return offset;
2972 }
2973
2974
2975 /* IDL: struct { */
2976 /* IDL:         uint32 use_raw_write; */
2977 /* IDL: } */
2978
2979 static int
2980 wkssvc_dissect_element_NetWkstaInfo1055_use_raw_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2981 {
2982         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1055_use_raw_write, 0);
2983
2984         return offset;
2985 }
2986
2987 int
2988 wkssvc_dissect_struct_NetWkstaInfo1055(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2989 {
2990         proto_item *item = NULL;
2991         proto_tree *tree = NULL;
2992         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
2993         int old_offset;
2994
2995         ALIGN_TO_4_BYTES;
2996
2997         old_offset = offset;
2998
2999         if (parent_tree) {
3000                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3001                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1055);
3002         }
3003         
3004         offset = wkssvc_dissect_element_NetWkstaInfo1055_use_raw_write(tvb, offset, pinfo, tree, drep);
3005
3006
3007         proto_item_set_len(item, offset-old_offset);
3008
3009
3010         if (di->call_data->flags & DCERPC_IS_NDR64) {
3011                 ALIGN_TO_4_BYTES;
3012         }
3013
3014         return offset;
3015 }
3016
3017
3018 /* IDL: struct { */
3019 /* IDL:         uint32 use_write_raw_data; */
3020 /* IDL: } */
3021
3022 static int
3023 wkssvc_dissect_element_NetWkstaInfo1056_use_write_raw_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3024 {
3025         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1056_use_write_raw_data, 0);
3026
3027         return offset;
3028 }
3029
3030 int
3031 wkssvc_dissect_struct_NetWkstaInfo1056(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3032 {
3033         proto_item *item = NULL;
3034         proto_tree *tree = NULL;
3035         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
3036         int old_offset;
3037
3038         ALIGN_TO_4_BYTES;
3039
3040         old_offset = offset;
3041
3042         if (parent_tree) {
3043                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3044                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1056);
3045         }
3046         
3047         offset = wkssvc_dissect_element_NetWkstaInfo1056_use_write_raw_data(tvb, offset, pinfo, tree, drep);
3048
3049
3050         proto_item_set_len(item, offset-old_offset);
3051
3052
3053         if (di->call_data->flags & DCERPC_IS_NDR64) {
3054                 ALIGN_TO_4_BYTES;
3055         }
3056
3057         return offset;
3058 }
3059
3060
3061 /* IDL: struct { */
3062 /* IDL:         uint32 use_encryption; */
3063 /* IDL: } */
3064
3065 static int
3066 wkssvc_dissect_element_NetWkstaInfo1057_use_encryption(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3067 {
3068         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1057_use_encryption, 0);
3069
3070         return offset;
3071 }
3072
3073 int
3074 wkssvc_dissect_struct_NetWkstaInfo1057(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3075 {
3076         proto_item *item = NULL;
3077         proto_tree *tree = NULL;
3078         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
3079         int old_offset;
3080
3081         ALIGN_TO_4_BYTES;
3082
3083         old_offset = offset;
3084
3085         if (parent_tree) {
3086                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3087                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1057);
3088         }
3089         
3090         offset = wkssvc_dissect_element_NetWkstaInfo1057_use_encryption(tvb, offset, pinfo, tree, drep);
3091
3092
3093         proto_item_set_len(item, offset-old_offset);
3094
3095
3096         if (di->call_data->flags & DCERPC_IS_NDR64) {
3097                 ALIGN_TO_4_BYTES;
3098         }
3099
3100         return offset;
3101 }
3102
3103
3104 /* IDL: struct { */
3105 /* IDL:         uint32 buf_files_deny_write; */
3106 /* IDL: } */
3107
3108 static int
3109 wkssvc_dissect_element_NetWkstaInfo1058_buf_files_deny_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3110 {
3111         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1058_buf_files_deny_write, 0);
3112
3113         return offset;
3114 }
3115
3116 int
3117 wkssvc_dissect_struct_NetWkstaInfo1058(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3118 {
3119         proto_item *item = NULL;
3120         proto_tree *tree = NULL;
3121         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
3122         int old_offset;
3123
3124         ALIGN_TO_4_BYTES;
3125
3126         old_offset = offset;
3127
3128         if (parent_tree) {
3129                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3130                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1058);
3131         }
3132         
3133         offset = wkssvc_dissect_element_NetWkstaInfo1058_buf_files_deny_write(tvb, offset, pinfo, tree, drep);
3134
3135
3136         proto_item_set_len(item, offset-old_offset);
3137
3138
3139         if (di->call_data->flags & DCERPC_IS_NDR64) {
3140                 ALIGN_TO_4_BYTES;
3141         }
3142
3143         return offset;
3144 }
3145
3146
3147 /* IDL: struct { */
3148 /* IDL:         uint32 buf_read_only_files; */
3149 /* IDL: } */
3150
3151 static int
3152 wkssvc_dissect_element_NetWkstaInfo1059_buf_read_only_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3153 {
3154         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1059_buf_read_only_files, 0);
3155
3156         return offset;
3157 }
3158
3159 int
3160 wkssvc_dissect_struct_NetWkstaInfo1059(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3161 {
3162         proto_item *item = NULL;
3163         proto_tree *tree = NULL;
3164         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
3165         int old_offset;
3166
3167         ALIGN_TO_4_BYTES;
3168
3169         old_offset = offset;
3170
3171         if (parent_tree) {
3172                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3173                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1059);
3174         }
3175         
3176         offset = wkssvc_dissect_element_NetWkstaInfo1059_buf_read_only_files(tvb, offset, pinfo, tree, drep);
3177
3178
3179         proto_item_set_len(item, offset-old_offset);
3180
3181
3182         if (di->call_data->flags & DCERPC_IS_NDR64) {
3183                 ALIGN_TO_4_BYTES;
3184         }
3185
3186         return offset;
3187 }
3188
3189
3190 /* IDL: struct { */
3191 /* IDL:         uint32 force_core_create_mode; */
3192 /* IDL: } */
3193
3194 static int
3195 wkssvc_dissect_element_NetWkstaInfo1060_force_core_create_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3196 {
3197         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1060_force_core_create_mode, 0);
3198
3199         return offset;
3200 }
3201
3202 int
3203 wkssvc_dissect_struct_NetWkstaInfo1060(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3204 {
3205         proto_item *item = NULL;
3206         proto_tree *tree = NULL;
3207         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
3208         int old_offset;
3209
3210         ALIGN_TO_4_BYTES;
3211
3212         old_offset = offset;
3213
3214         if (parent_tree) {
3215                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3216                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1060);
3217         }
3218         
3219         offset = wkssvc_dissect_element_NetWkstaInfo1060_force_core_create_mode(tvb, offset, pinfo, tree, drep);
3220
3221
3222         proto_item_set_len(item, offset-old_offset);
3223
3224
3225         if (di->call_data->flags & DCERPC_IS_NDR64) {
3226                 ALIGN_TO_4_BYTES;
3227         }
3228
3229         return offset;
3230 }
3231
3232
3233 /* IDL: struct { */
3234 /* IDL:         uint32 use_512_byte_max_transfer; */
3235 /* IDL: } */
3236
3237 static int
3238 wkssvc_dissect_element_NetWkstaInfo1061_use_512_byte_max_transfer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3239 {
3240         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1061_use_512_byte_max_transfer, 0);
3241
3242         return offset;
3243 }
3244
3245 int
3246 wkssvc_dissect_struct_NetWkstaInfo1061(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3247 {
3248         proto_item *item = NULL;
3249         proto_tree *tree = NULL;
3250         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
3251         int old_offset;
3252
3253         ALIGN_TO_4_BYTES;
3254
3255         old_offset = offset;
3256
3257         if (parent_tree) {
3258                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3259                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1061);
3260         }
3261         
3262         offset = wkssvc_dissect_element_NetWkstaInfo1061_use_512_byte_max_transfer(tvb, offset, pinfo, tree, drep);
3263
3264
3265         proto_item_set_len(item, offset-old_offset);
3266
3267
3268         if (di->call_data->flags & DCERPC_IS_NDR64) {
3269                 ALIGN_TO_4_BYTES;
3270         }
3271
3272         return offset;
3273 }
3274
3275
3276 /* IDL: struct { */
3277 /* IDL:         uint32 read_ahead_throughput; */
3278 /* IDL: } */
3279
3280 static int
3281 wkssvc_dissect_element_NetWkstaInfo1062_read_ahead_throughput(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3282 {
3283         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaInfo1062_read_ahead_throughput, 0);
3284
3285         return offset;
3286 }
3287
3288 int
3289 wkssvc_dissect_struct_NetWkstaInfo1062(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3290 {
3291         proto_item *item = NULL;
3292         proto_tree *tree = NULL;
3293         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
3294         int old_offset;
3295
3296         ALIGN_TO_4_BYTES;
3297
3298         old_offset = offset;
3299
3300         if (parent_tree) {
3301                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3302                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1062);
3303         }
3304         
3305         offset = wkssvc_dissect_element_NetWkstaInfo1062_read_ahead_throughput(tvb, offset, pinfo, tree, drep);
3306
3307
3308         proto_item_set_len(item, offset-old_offset);
3309
3310
3311         if (di->call_data->flags & DCERPC_IS_NDR64) {
3312                 ALIGN_TO_4_BYTES;
3313         }
3314
3315         return offset;
3316 }
3317
3318
3319 /* IDL: union { */
3320 /* IDL: [case(100)] [unique(1)] [case(100)] wkssvc_NetWkstaInfo100 *info100; */
3321 /* IDL: [case(101)] [unique(1)] [case(101)] wkssvc_NetWkstaInfo101 *info101; */
3322 /* IDL: [case(102)] [unique(1)] [case(102)] wkssvc_NetWkstaInfo102 *info102; */
3323 /* IDL: [case(502)] [unique(1)] [case(502)] wkssvc_NetWkstaInfo502 *info502; */
3324 /* IDL: [case(1010)] [unique(1)] [case(1010)] wkssvc_NetWkstaInfo1010 *info1010; */
3325 /* IDL: [case(1011)] [unique(1)] [case(1011)] wkssvc_NetWkstaInfo1011 *info1011; */
3326 /* IDL: [case(1012)] [unique(1)] [case(1012)] wkssvc_NetWkstaInfo1012 *info1012; */
3327 /* IDL: [case(1013)] [unique(1)] [case(1013)] wkssvc_NetWkstaInfo1013 *info1013; */
3328 /* IDL: [case(1018)] [unique(1)] [case(1018)] wkssvc_NetWkstaInfo1018 *info1018; */
3329 /* IDL: [case(1023)] [unique(1)] [case(1023)] wkssvc_NetWkstaInfo1023 *info1023; */
3330 /* IDL: [case(1027)] [unique(1)] [case(1027)] wkssvc_NetWkstaInfo1027 *info1027; */
3331 /* IDL: [case(1028)] [unique(1)] [case(1028)] wkssvc_NetWkstaInfo1028 *info1028; */
3332 /* IDL: [case(1032)] [unique(1)] [case(1032)] wkssvc_NetWkstaInfo1032 *info1032; */
3333 /* IDL: [case(1033)] [unique(1)] [case(1033)] wkssvc_NetWkstaInfo1033 *info1033; */
3334 /* IDL: [case(1041)] [unique(1)] [case(1041)] wkssvc_NetWkstaInfo1041 *info1041; */
3335 /* IDL: [case(1042)] [unique(1)] [case(1042)] wkssvc_NetWkstaInfo1042 *info1042; */
3336 /* IDL: [case(1043)] [unique(1)] [case(1043)] wkssvc_NetWkstaInfo1043 *info1043; */
3337 /* IDL: [case(1044)] [unique(1)] [case(1044)] wkssvc_NetWkstaInfo1044 *info1044; */
3338 /* IDL: [case(1045)] [unique(1)] [case(1045)] wkssvc_NetWkstaInfo1045 *info1045; */
3339 /* IDL: [case(1046)] [unique(1)] [case(1046)] wkssvc_NetWkstaInfo1046 *info1046; */
3340 /* IDL: [case(1047)] [unique(1)] [case(1047)] wkssvc_NetWkstaInfo1047 *info1047; */
3341 /* IDL: [case(1048)] [unique(1)] [case(1048)] wkssvc_NetWkstaInfo1048 *info1048; */
3342 /* IDL: [case(1049)] [unique(1)] [case(1049)] wkssvc_NetWkstaInfo1049 *info1049; */
3343 /* IDL: [case(1050)] [unique(1)] [case(1050)] wkssvc_NetWkstaInfo1050 *info1050; */
3344 /* IDL: [case(1051)] [unique(1)] [case(1051)] wkssvc_NetWkstaInfo1051 *info1051; */
3345 /* IDL: [case(1052)] [unique(1)] [case(1052)] wkssvc_NetWkstaInfo1052 *info1052; */
3346 /* IDL: [case(1053)] [unique(1)] [case(1053)] wkssvc_NetWkstaInfo1053 *info1053; */
3347 /* IDL: [case(1054)] [unique(1)] [case(1054)] wkssvc_NetWkstaInfo1054 *info1054; */
3348 /* IDL: [case(1055)] [unique(1)] [case(1055)] wkssvc_NetWkstaInfo1055 *info1055; */
3349 /* IDL: [case(1056)] [unique(1)] [case(1056)] wkssvc_NetWkstaInfo1056 *info1056; */
3350 /* IDL: [case(1057)] [unique(1)] [case(1057)] wkssvc_NetWkstaInfo1057 *info1057; */
3351 /* IDL: [case(1058)] [unique(1)] [case(1058)] wkssvc_NetWkstaInfo1058 *info1058; */
3352 /* IDL: [case(1059)] [unique(1)] [case(1059)] wkssvc_NetWkstaInfo1059 *info1059; */
3353 /* IDL: [case(1060)] [unique(1)] [case(1060)] wkssvc_NetWkstaInfo1060 *info1060; */
3354 /* IDL: [case(1061)] [unique(1)] [case(1061)] wkssvc_NetWkstaInfo1061 *info1061; */
3355 /* IDL: [case(1062)] [unique(1)] [case(1062)] wkssvc_NetWkstaInfo1062 *info1062; */
3356 /* IDL: [default] ; */
3357 /* IDL: } */
3358
3359 static int
3360 wkssvc_dissect_element_NetWkstaInfo_info100(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3361 {
3362         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info100_, NDR_POINTER_UNIQUE, "Pointer to Info100 (wkssvc_NetWkstaInfo100)",hf_wkssvc_wkssvc_NetWkstaInfo_info100);
3363
3364         return offset;
3365 }
3366
3367 static int
3368 wkssvc_dissect_element_NetWkstaInfo_info100_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3369 {
3370         offset = wkssvc_dissect_struct_NetWkstaInfo100(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info100,0);
3371
3372         return offset;
3373 }
3374
3375 static int
3376 wkssvc_dissect_element_NetWkstaInfo_info101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3377 {
3378         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info101_, NDR_POINTER_UNIQUE, "Pointer to Info101 (wkssvc_NetWkstaInfo101)",hf_wkssvc_wkssvc_NetWkstaInfo_info101);
3379
3380         return offset;
3381 }
3382
3383 static int
3384 wkssvc_dissect_element_NetWkstaInfo_info101_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3385 {
3386         offset = wkssvc_dissect_struct_NetWkstaInfo101(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info101,0);
3387
3388         return offset;
3389 }
3390
3391 static int
3392 wkssvc_dissect_element_NetWkstaInfo_info102(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3393 {
3394         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info102_, NDR_POINTER_UNIQUE, "Pointer to Info102 (wkssvc_NetWkstaInfo102)",hf_wkssvc_wkssvc_NetWkstaInfo_info102);
3395
3396         return offset;
3397 }
3398
3399 static int
3400 wkssvc_dissect_element_NetWkstaInfo_info102_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3401 {
3402         offset = wkssvc_dissect_struct_NetWkstaInfo102(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info102,0);
3403
3404         return offset;
3405 }
3406
3407 static int
3408 wkssvc_dissect_element_NetWkstaInfo_info502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3409 {
3410         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info502_, NDR_POINTER_UNIQUE, "Pointer to Info502 (wkssvc_NetWkstaInfo502)",hf_wkssvc_wkssvc_NetWkstaInfo_info502);
3411
3412         return offset;
3413 }
3414
3415 static int
3416 wkssvc_dissect_element_NetWkstaInfo_info502_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3417 {
3418         offset = wkssvc_dissect_struct_NetWkstaInfo502(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info502,0);
3419
3420         return offset;
3421 }
3422
3423 static int
3424 wkssvc_dissect_element_NetWkstaInfo_info1010(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3425 {
3426         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1010_, NDR_POINTER_UNIQUE, "Pointer to Info1010 (wkssvc_NetWkstaInfo1010)",hf_wkssvc_wkssvc_NetWkstaInfo_info1010);
3427
3428         return offset;
3429 }
3430
3431 static int
3432 wkssvc_dissect_element_NetWkstaInfo_info1010_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3433 {
3434         offset = wkssvc_dissect_struct_NetWkstaInfo1010(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1010,0);
3435
3436         return offset;
3437 }
3438
3439 static int
3440 wkssvc_dissect_element_NetWkstaInfo_info1011(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3441 {
3442         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1011_, NDR_POINTER_UNIQUE, "Pointer to Info1011 (wkssvc_NetWkstaInfo1011)",hf_wkssvc_wkssvc_NetWkstaInfo_info1011);
3443
3444         return offset;
3445 }
3446
3447 static int
3448 wkssvc_dissect_element_NetWkstaInfo_info1011_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3449 {
3450         offset = wkssvc_dissect_struct_NetWkstaInfo1011(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1011,0);
3451
3452         return offset;
3453 }
3454
3455 static int
3456 wkssvc_dissect_element_NetWkstaInfo_info1012(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3457 {
3458         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1012_, NDR_POINTER_UNIQUE, "Pointer to Info1012 (wkssvc_NetWkstaInfo1012)",hf_wkssvc_wkssvc_NetWkstaInfo_info1012);
3459
3460         return offset;
3461 }
3462
3463 static int
3464 wkssvc_dissect_element_NetWkstaInfo_info1012_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3465 {
3466         offset = wkssvc_dissect_struct_NetWkstaInfo1012(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1012,0);
3467
3468         return offset;
3469 }
3470
3471 static int
3472 wkssvc_dissect_element_NetWkstaInfo_info1013(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3473 {
3474         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1013_, NDR_POINTER_UNIQUE, "Pointer to Info1013 (wkssvc_NetWkstaInfo1013)",hf_wkssvc_wkssvc_NetWkstaInfo_info1013);
3475
3476         return offset;
3477 }
3478
3479 static int
3480 wkssvc_dissect_element_NetWkstaInfo_info1013_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3481 {
3482         offset = wkssvc_dissect_struct_NetWkstaInfo1013(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1013,0);
3483
3484         return offset;
3485 }
3486
3487 static int
3488 wkssvc_dissect_element_NetWkstaInfo_info1018(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3489 {
3490         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1018_, NDR_POINTER_UNIQUE, "Pointer to Info1018 (wkssvc_NetWkstaInfo1018)",hf_wkssvc_wkssvc_NetWkstaInfo_info1018);
3491
3492         return offset;
3493 }
3494
3495 static int
3496 wkssvc_dissect_element_NetWkstaInfo_info1018_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3497 {
3498         offset = wkssvc_dissect_struct_NetWkstaInfo1018(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1018,0);
3499
3500         return offset;
3501 }
3502
3503 static int
3504 wkssvc_dissect_element_NetWkstaInfo_info1023(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3505 {
3506         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1023_, NDR_POINTER_UNIQUE, "Pointer to Info1023 (wkssvc_NetWkstaInfo1023)",hf_wkssvc_wkssvc_NetWkstaInfo_info1023);
3507
3508         return offset;
3509 }
3510
3511 static int
3512 wkssvc_dissect_element_NetWkstaInfo_info1023_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3513 {
3514         offset = wkssvc_dissect_struct_NetWkstaInfo1023(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1023,0);
3515
3516         return offset;
3517 }
3518
3519 static int
3520 wkssvc_dissect_element_NetWkstaInfo_info1027(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3521 {
3522         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1027_, NDR_POINTER_UNIQUE, "Pointer to Info1027 (wkssvc_NetWkstaInfo1027)",hf_wkssvc_wkssvc_NetWkstaInfo_info1027);
3523
3524         return offset;
3525 }
3526
3527 static int
3528 wkssvc_dissect_element_NetWkstaInfo_info1027_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3529 {
3530         offset = wkssvc_dissect_struct_NetWkstaInfo1027(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1027,0);
3531
3532         return offset;
3533 }
3534
3535 static int
3536 wkssvc_dissect_element_NetWkstaInfo_info1028(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3537 {
3538         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1028_, NDR_POINTER_UNIQUE, "Pointer to Info1028 (wkssvc_NetWkstaInfo1028)",hf_wkssvc_wkssvc_NetWkstaInfo_info1028);
3539
3540         return offset;
3541 }
3542
3543 static int
3544 wkssvc_dissect_element_NetWkstaInfo_info1028_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3545 {
3546         offset = wkssvc_dissect_struct_NetWkstaInfo1028(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1028,0);
3547
3548         return offset;
3549 }
3550
3551 static int
3552 wkssvc_dissect_element_NetWkstaInfo_info1032(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3553 {
3554         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1032_, NDR_POINTER_UNIQUE, "Pointer to Info1032 (wkssvc_NetWkstaInfo1032)",hf_wkssvc_wkssvc_NetWkstaInfo_info1032);
3555
3556         return offset;
3557 }
3558
3559 static int
3560 wkssvc_dissect_element_NetWkstaInfo_info1032_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3561 {
3562         offset = wkssvc_dissect_struct_NetWkstaInfo1032(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1032,0);
3563
3564         return offset;
3565 }
3566
3567 static int
3568 wkssvc_dissect_element_NetWkstaInfo_info1033(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3569 {
3570         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1033_, NDR_POINTER_UNIQUE, "Pointer to Info1033 (wkssvc_NetWkstaInfo1033)",hf_wkssvc_wkssvc_NetWkstaInfo_info1033);
3571
3572         return offset;
3573 }
3574
3575 static int
3576 wkssvc_dissect_element_NetWkstaInfo_info1033_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3577 {
3578         offset = wkssvc_dissect_struct_NetWkstaInfo1033(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1033,0);
3579
3580         return offset;
3581 }
3582
3583 static int
3584 wkssvc_dissect_element_NetWkstaInfo_info1041(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3585 {
3586         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1041_, NDR_POINTER_UNIQUE, "Pointer to Info1041 (wkssvc_NetWkstaInfo1041)",hf_wkssvc_wkssvc_NetWkstaInfo_info1041);
3587
3588         return offset;
3589 }
3590
3591 static int
3592 wkssvc_dissect_element_NetWkstaInfo_info1041_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3593 {
3594         offset = wkssvc_dissect_struct_NetWkstaInfo1041(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1041,0);
3595
3596         return offset;
3597 }
3598
3599 static int
3600 wkssvc_dissect_element_NetWkstaInfo_info1042(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3601 {
3602         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1042_, NDR_POINTER_UNIQUE, "Pointer to Info1042 (wkssvc_NetWkstaInfo1042)",hf_wkssvc_wkssvc_NetWkstaInfo_info1042);
3603
3604         return offset;
3605 }
3606
3607 static int
3608 wkssvc_dissect_element_NetWkstaInfo_info1042_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3609 {
3610         offset = wkssvc_dissect_struct_NetWkstaInfo1042(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1042,0);
3611
3612         return offset;
3613 }
3614
3615 static int
3616 wkssvc_dissect_element_NetWkstaInfo_info1043(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3617 {
3618         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1043_, NDR_POINTER_UNIQUE, "Pointer to Info1043 (wkssvc_NetWkstaInfo1043)",hf_wkssvc_wkssvc_NetWkstaInfo_info1043);
3619
3620         return offset;
3621 }
3622
3623 static int
3624 wkssvc_dissect_element_NetWkstaInfo_info1043_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3625 {
3626         offset = wkssvc_dissect_struct_NetWkstaInfo1043(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1043,0);
3627
3628         return offset;
3629 }
3630
3631 static int
3632 wkssvc_dissect_element_NetWkstaInfo_info1044(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3633 {
3634         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1044_, NDR_POINTER_UNIQUE, "Pointer to Info1044 (wkssvc_NetWkstaInfo1044)",hf_wkssvc_wkssvc_NetWkstaInfo_info1044);
3635
3636         return offset;
3637 }
3638
3639 static int
3640 wkssvc_dissect_element_NetWkstaInfo_info1044_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3641 {
3642         offset = wkssvc_dissect_struct_NetWkstaInfo1044(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1044,0);
3643
3644         return offset;
3645 }
3646
3647 static int
3648 wkssvc_dissect_element_NetWkstaInfo_info1045(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3649 {
3650         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1045_, NDR_POINTER_UNIQUE, "Pointer to Info1045 (wkssvc_NetWkstaInfo1045)",hf_wkssvc_wkssvc_NetWkstaInfo_info1045);
3651
3652         return offset;
3653 }
3654
3655 static int
3656 wkssvc_dissect_element_NetWkstaInfo_info1045_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3657 {
3658         offset = wkssvc_dissect_struct_NetWkstaInfo1045(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1045,0);
3659
3660         return offset;
3661 }
3662
3663 static int
3664 wkssvc_dissect_element_NetWkstaInfo_info1046(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3665 {
3666         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1046_, NDR_POINTER_UNIQUE, "Pointer to Info1046 (wkssvc_NetWkstaInfo1046)",hf_wkssvc_wkssvc_NetWkstaInfo_info1046);
3667
3668         return offset;
3669 }
3670
3671 static int
3672 wkssvc_dissect_element_NetWkstaInfo_info1046_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3673 {
3674         offset = wkssvc_dissect_struct_NetWkstaInfo1046(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1046,0);
3675
3676         return offset;
3677 }
3678
3679 static int
3680 wkssvc_dissect_element_NetWkstaInfo_info1047(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3681 {
3682         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1047_, NDR_POINTER_UNIQUE, "Pointer to Info1047 (wkssvc_NetWkstaInfo1047)",hf_wkssvc_wkssvc_NetWkstaInfo_info1047);
3683
3684         return offset;
3685 }
3686
3687 static int
3688 wkssvc_dissect_element_NetWkstaInfo_info1047_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3689 {
3690         offset = wkssvc_dissect_struct_NetWkstaInfo1047(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1047,0);
3691
3692         return offset;
3693 }
3694
3695 static int
3696 wkssvc_dissect_element_NetWkstaInfo_info1048(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3697 {
3698         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1048_, NDR_POINTER_UNIQUE, "Pointer to Info1048 (wkssvc_NetWkstaInfo1048)",hf_wkssvc_wkssvc_NetWkstaInfo_info1048);
3699
3700         return offset;
3701 }
3702
3703 static int
3704 wkssvc_dissect_element_NetWkstaInfo_info1048_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3705 {
3706         offset = wkssvc_dissect_struct_NetWkstaInfo1048(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1048,0);
3707
3708         return offset;
3709 }
3710
3711 static int
3712 wkssvc_dissect_element_NetWkstaInfo_info1049(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3713 {
3714         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1049_, NDR_POINTER_UNIQUE, "Pointer to Info1049 (wkssvc_NetWkstaInfo1049)",hf_wkssvc_wkssvc_NetWkstaInfo_info1049);
3715
3716         return offset;
3717 }
3718
3719 static int
3720 wkssvc_dissect_element_NetWkstaInfo_info1049_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3721 {
3722         offset = wkssvc_dissect_struct_NetWkstaInfo1049(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1049,0);
3723
3724         return offset;
3725 }
3726
3727 static int
3728 wkssvc_dissect_element_NetWkstaInfo_info1050(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3729 {
3730         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1050_, NDR_POINTER_UNIQUE, "Pointer to Info1050 (wkssvc_NetWkstaInfo1050)",hf_wkssvc_wkssvc_NetWkstaInfo_info1050);
3731
3732         return offset;
3733 }
3734
3735 static int
3736 wkssvc_dissect_element_NetWkstaInfo_info1050_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3737 {
3738         offset = wkssvc_dissect_struct_NetWkstaInfo1050(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1050,0);
3739
3740         return offset;
3741 }
3742
3743 static int
3744 wkssvc_dissect_element_NetWkstaInfo_info1051(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3745 {
3746         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1051_, NDR_POINTER_UNIQUE, "Pointer to Info1051 (wkssvc_NetWkstaInfo1051)",hf_wkssvc_wkssvc_NetWkstaInfo_info1051);
3747
3748         return offset;
3749 }
3750
3751 static int
3752 wkssvc_dissect_element_NetWkstaInfo_info1051_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3753 {
3754         offset = wkssvc_dissect_struct_NetWkstaInfo1051(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1051,0);
3755
3756         return offset;
3757 }
3758
3759 static int
3760 wkssvc_dissect_element_NetWkstaInfo_info1052(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3761 {
3762         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1052_, NDR_POINTER_UNIQUE, "Pointer to Info1052 (wkssvc_NetWkstaInfo1052)",hf_wkssvc_wkssvc_NetWkstaInfo_info1052);
3763
3764         return offset;
3765 }
3766
3767 static int
3768 wkssvc_dissect_element_NetWkstaInfo_info1052_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3769 {
3770         offset = wkssvc_dissect_struct_NetWkstaInfo1052(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1052,0);
3771
3772         return offset;
3773 }
3774
3775 static int
3776 wkssvc_dissect_element_NetWkstaInfo_info1053(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3777 {
3778         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1053_, NDR_POINTER_UNIQUE, "Pointer to Info1053 (wkssvc_NetWkstaInfo1053)",hf_wkssvc_wkssvc_NetWkstaInfo_info1053);
3779
3780         return offset;
3781 }
3782
3783 static int
3784 wkssvc_dissect_element_NetWkstaInfo_info1053_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3785 {
3786         offset = wkssvc_dissect_struct_NetWkstaInfo1053(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1053,0);
3787
3788         return offset;
3789 }
3790
3791 static int
3792 wkssvc_dissect_element_NetWkstaInfo_info1054(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3793 {
3794         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1054_, NDR_POINTER_UNIQUE, "Pointer to Info1054 (wkssvc_NetWkstaInfo1054)",hf_wkssvc_wkssvc_NetWkstaInfo_info1054);
3795
3796         return offset;
3797 }
3798
3799 static int
3800 wkssvc_dissect_element_NetWkstaInfo_info1054_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3801 {
3802         offset = wkssvc_dissect_struct_NetWkstaInfo1054(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1054,0);
3803
3804         return offset;
3805 }
3806
3807 static int
3808 wkssvc_dissect_element_NetWkstaInfo_info1055(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3809 {
3810         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1055_, NDR_POINTER_UNIQUE, "Pointer to Info1055 (wkssvc_NetWkstaInfo1055)",hf_wkssvc_wkssvc_NetWkstaInfo_info1055);
3811
3812         return offset;
3813 }
3814
3815 static int
3816 wkssvc_dissect_element_NetWkstaInfo_info1055_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3817 {
3818         offset = wkssvc_dissect_struct_NetWkstaInfo1055(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1055,0);
3819
3820         return offset;
3821 }
3822
3823 static int
3824 wkssvc_dissect_element_NetWkstaInfo_info1056(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3825 {
3826         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1056_, NDR_POINTER_UNIQUE, "Pointer to Info1056 (wkssvc_NetWkstaInfo1056)",hf_wkssvc_wkssvc_NetWkstaInfo_info1056);
3827
3828         return offset;
3829 }
3830
3831 static int
3832 wkssvc_dissect_element_NetWkstaInfo_info1056_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3833 {
3834         offset = wkssvc_dissect_struct_NetWkstaInfo1056(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1056,0);
3835
3836         return offset;
3837 }
3838
3839 static int
3840 wkssvc_dissect_element_NetWkstaInfo_info1057(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3841 {
3842         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1057_, NDR_POINTER_UNIQUE, "Pointer to Info1057 (wkssvc_NetWkstaInfo1057)",hf_wkssvc_wkssvc_NetWkstaInfo_info1057);
3843
3844         return offset;
3845 }
3846
3847 static int
3848 wkssvc_dissect_element_NetWkstaInfo_info1057_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3849 {
3850         offset = wkssvc_dissect_struct_NetWkstaInfo1057(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1057,0);
3851
3852         return offset;
3853 }
3854
3855 static int
3856 wkssvc_dissect_element_NetWkstaInfo_info1058(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3857 {
3858         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1058_, NDR_POINTER_UNIQUE, "Pointer to Info1058 (wkssvc_NetWkstaInfo1058)",hf_wkssvc_wkssvc_NetWkstaInfo_info1058);
3859
3860         return offset;
3861 }
3862
3863 static int
3864 wkssvc_dissect_element_NetWkstaInfo_info1058_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3865 {
3866         offset = wkssvc_dissect_struct_NetWkstaInfo1058(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1058,0);
3867
3868         return offset;
3869 }
3870
3871 static int
3872 wkssvc_dissect_element_NetWkstaInfo_info1059(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3873 {
3874         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1059_, NDR_POINTER_UNIQUE, "Pointer to Info1059 (wkssvc_NetWkstaInfo1059)",hf_wkssvc_wkssvc_NetWkstaInfo_info1059);
3875
3876         return offset;
3877 }
3878
3879 static int
3880 wkssvc_dissect_element_NetWkstaInfo_info1059_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3881 {
3882         offset = wkssvc_dissect_struct_NetWkstaInfo1059(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1059,0);
3883
3884         return offset;
3885 }
3886
3887 static int
3888 wkssvc_dissect_element_NetWkstaInfo_info1060(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3889 {
3890         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1060_, NDR_POINTER_UNIQUE, "Pointer to Info1060 (wkssvc_NetWkstaInfo1060)",hf_wkssvc_wkssvc_NetWkstaInfo_info1060);
3891
3892         return offset;
3893 }
3894
3895 static int
3896 wkssvc_dissect_element_NetWkstaInfo_info1060_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3897 {
3898         offset = wkssvc_dissect_struct_NetWkstaInfo1060(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1060,0);
3899
3900         return offset;
3901 }
3902
3903 static int
3904 wkssvc_dissect_element_NetWkstaInfo_info1061(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3905 {
3906         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1061_, NDR_POINTER_UNIQUE, "Pointer to Info1061 (wkssvc_NetWkstaInfo1061)",hf_wkssvc_wkssvc_NetWkstaInfo_info1061);
3907
3908         return offset;
3909 }
3910
3911 static int
3912 wkssvc_dissect_element_NetWkstaInfo_info1061_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3913 {
3914         offset = wkssvc_dissect_struct_NetWkstaInfo1061(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1061,0);
3915
3916         return offset;
3917 }
3918
3919 static int
3920 wkssvc_dissect_element_NetWkstaInfo_info1062(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3921 {
3922         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaInfo_info1062_, NDR_POINTER_UNIQUE, "Pointer to Info1062 (wkssvc_NetWkstaInfo1062)",hf_wkssvc_wkssvc_NetWkstaInfo_info1062);
3923
3924         return offset;
3925 }
3926
3927 static int
3928 wkssvc_dissect_element_NetWkstaInfo_info1062_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3929 {
3930         offset = wkssvc_dissect_struct_NetWkstaInfo1062(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1062,0);
3931
3932         return offset;
3933 }
3934
3935 static int
3936 wkssvc_dissect_NetWkstaInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3937 {
3938         proto_item *item = NULL;
3939         proto_tree *tree = NULL;
3940         int old_offset;
3941         guint32 level;
3942
3943         old_offset = offset;
3944         if (parent_tree) {
3945                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "wkssvc_NetWkstaInfo");
3946                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo);
3947         }
3948
3949         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
3950         ALIGN_TO_5_BYTES;
3951
3952         switch(level) {
3953                 case 100:
3954                         offset = wkssvc_dissect_element_NetWkstaInfo_info100(tvb, offset, pinfo, tree, drep);
3955                 break;
3956
3957                 case 101:
3958                         offset = wkssvc_dissect_element_NetWkstaInfo_info101(tvb, offset, pinfo, tree, drep);
3959                 break;
3960
3961                 case 102:
3962                         offset = wkssvc_dissect_element_NetWkstaInfo_info102(tvb, offset, pinfo, tree, drep);
3963                 break;
3964
3965                 case 502:
3966                         offset = wkssvc_dissect_element_NetWkstaInfo_info502(tvb, offset, pinfo, tree, drep);
3967                 break;
3968
3969                 case 1010:
3970                         offset = wkssvc_dissect_element_NetWkstaInfo_info1010(tvb, offset, pinfo, tree, drep);
3971                 break;
3972
3973                 case 1011:
3974                         offset = wkssvc_dissect_element_NetWkstaInfo_info1011(tvb, offset, pinfo, tree, drep);
3975                 break;
3976
3977                 case 1012:
3978                         offset = wkssvc_dissect_element_NetWkstaInfo_info1012(tvb, offset, pinfo, tree, drep);
3979                 break;
3980
3981                 case 1013:
3982                         offset = wkssvc_dissect_element_NetWkstaInfo_info1013(tvb, offset, pinfo, tree, drep);
3983                 break;
3984
3985                 case 1018:
3986                         offset = wkssvc_dissect_element_NetWkstaInfo_info1018(tvb, offset, pinfo, tree, drep);
3987                 break;
3988
3989                 case 1023:
3990                         offset = wkssvc_dissect_element_NetWkstaInfo_info1023(tvb, offset, pinfo, tree, drep);
3991                 break;
3992
3993                 case 1027:
3994                         offset = wkssvc_dissect_element_NetWkstaInfo_info1027(tvb, offset, pinfo, tree, drep);
3995                 break;
3996
3997                 case 1028:
3998                         offset = wkssvc_dissect_element_NetWkstaInfo_info1028(tvb, offset, pinfo, tree, drep);
3999                 break;
4000
4001                 case 1032:
4002                         offset = wkssvc_dissect_element_NetWkstaInfo_info1032(tvb, offset, pinfo, tree, drep);
4003                 break;
4004
4005                 case 1033:
4006                         offset = wkssvc_dissect_element_NetWkstaInfo_info1033(tvb, offset, pinfo, tree, drep);
4007                 break;
4008
4009                 case 1041:
4010                         offset = wkssvc_dissect_element_NetWkstaInfo_info1041(tvb, offset, pinfo, tree, drep);
4011                 break;
4012
4013                 case 1042:
4014                         offset = wkssvc_dissect_element_NetWkstaInfo_info1042(tvb, offset, pinfo, tree, drep);
4015                 break;
4016
4017                 case 1043:
4018                         offset = wkssvc_dissect_element_NetWkstaInfo_info1043(tvb, offset, pinfo, tree, drep);
4019                 break;
4020
4021                 case 1044:
4022                         offset = wkssvc_dissect_element_NetWkstaInfo_info1044(tvb, offset, pinfo, tree, drep);
4023                 break;
4024
4025                 case 1045:
4026                         offset = wkssvc_dissect_element_NetWkstaInfo_info1045(tvb, offset, pinfo, tree, drep);
4027                 break;
4028
4029                 case 1046:
4030                         offset = wkssvc_dissect_element_NetWkstaInfo_info1046(tvb, offset, pinfo, tree, drep);
4031                 break;
4032
4033                 case 1047:
4034                         offset = wkssvc_dissect_element_NetWkstaInfo_info1047(tvb, offset, pinfo, tree, drep);
4035                 break;
4036
4037                 case 1048:
4038                         offset = wkssvc_dissect_element_NetWkstaInfo_info1048(tvb, offset, pinfo, tree, drep);
4039                 break;
4040
4041                 case 1049:
4042                         offset = wkssvc_dissect_element_NetWkstaInfo_info1049(tvb, offset, pinfo, tree, drep);
4043                 break;
4044
4045                 case 1050:
4046                         offset = wkssvc_dissect_element_NetWkstaInfo_info1050(tvb, offset, pinfo, tree, drep);
4047                 break;
4048
4049                 case 1051:
4050                         offset = wkssvc_dissect_element_NetWkstaInfo_info1051(tvb, offset, pinfo, tree, drep);
4051                 break;
4052
4053                 case 1052:
4054                         offset = wkssvc_dissect_element_NetWkstaInfo_info1052(tvb, offset, pinfo, tree, drep);
4055                 break;
4056
4057                 case 1053:
4058                         offset = wkssvc_dissect_element_NetWkstaInfo_info1053(tvb, offset, pinfo, tree, drep);
4059                 break;
4060
4061                 case 1054:
4062                         offset = wkssvc_dissect_element_NetWkstaInfo_info1054(tvb, offset, pinfo, tree, drep);
4063                 break;
4064
4065                 case 1055:
4066                         offset = wkssvc_dissect_element_NetWkstaInfo_info1055(tvb, offset, pinfo, tree, drep);
4067                 break;
4068
4069                 case 1056:
4070                         offset = wkssvc_dissect_element_NetWkstaInfo_info1056(tvb, offset, pinfo, tree, drep);
4071                 break;
4072
4073                 case 1057:
4074                         offset = wkssvc_dissect_element_NetWkstaInfo_info1057(tvb, offset, pinfo, tree, drep);
4075                 break;
4076
4077                 case 1058:
4078                         offset = wkssvc_dissect_element_NetWkstaInfo_info1058(tvb, offset, pinfo, tree, drep);
4079                 break;
4080
4081                 case 1059:
4082                         offset = wkssvc_dissect_element_NetWkstaInfo_info1059(tvb, offset, pinfo, tree, drep);
4083                 break;
4084
4085                 case 1060:
4086                         offset = wkssvc_dissect_element_NetWkstaInfo_info1060(tvb, offset, pinfo, tree, drep);
4087                 break;
4088
4089                 case 1061:
4090                         offset = wkssvc_dissect_element_NetWkstaInfo_info1061(tvb, offset, pinfo, tree, drep);
4091                 break;
4092
4093                 case 1062:
4094                         offset = wkssvc_dissect_element_NetWkstaInfo_info1062(tvb, offset, pinfo, tree, drep);
4095                 break;
4096
4097                 default:
4098                 break;
4099         }
4100         proto_item_set_len(item, offset-old_offset);
4101
4102
4103         return offset;
4104 }
4105
4106 /* IDL: struct { */
4107 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *user_name; */
4108 /* IDL: } */
4109
4110 static int
4111 wkssvc_dissect_element_NetrWkstaUserInfo0_user_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4112 {
4113         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaUserInfo0_user_name_, NDR_POINTER_UNIQUE, "Pointer to User Name (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserInfo0_user_name);
4114
4115         return offset;
4116 }
4117
4118 static int
4119 wkssvc_dissect_element_NetrWkstaUserInfo0_user_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4120 {
4121         char *data;
4122
4123         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserInfo0_user_name, FALSE, &data);
4124         proto_item_append_text(tree, ": %s", data);
4125
4126         return offset;
4127 }
4128
4129 int
4130 wkssvc_dissect_struct_NetrWkstaUserInfo0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4131 {
4132         proto_item *item = NULL;
4133         proto_tree *tree = NULL;
4134         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4135         int old_offset;
4136
4137         ALIGN_TO_5_BYTES;
4138
4139         old_offset = offset;
4140
4141         if (parent_tree) {
4142                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4143                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrWkstaUserInfo0);
4144         }
4145         
4146         offset = wkssvc_dissect_element_NetrWkstaUserInfo0_user_name(tvb, offset, pinfo, tree, drep);
4147
4148
4149         proto_item_set_len(item, offset-old_offset);
4150
4151
4152         if (di->call_data->flags & DCERPC_IS_NDR64) {
4153                 ALIGN_TO_5_BYTES;
4154         }
4155
4156         return offset;
4157 }
4158
4159
4160 /* IDL: struct { */
4161 /* IDL:         uint32 entries_read; */
4162 /* IDL:         [unique(1)] [size_is(entries_read)] wkssvc_NetrWkstaUserInfo0 *user0; */
4163 /* IDL: } */
4164
4165 static int
4166 wkssvc_dissect_element_NetWkstaEnumUsersCtr0_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4167 {
4168         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr0_entries_read, 0);
4169
4170         return offset;
4171 }
4172
4173 static int
4174 wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4175 {
4176         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0_, NDR_POINTER_UNIQUE, "Pointer to User0 (wkssvc_NetrWkstaUserInfo0)",hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr0_user0);
4177
4178         return offset;
4179 }
4180
4181 static int
4182 wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4183 {
4184         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0__);
4185
4186         return offset;
4187 }
4188
4189 static int
4190 wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4191 {
4192         offset = wkssvc_dissect_struct_NetrWkstaUserInfo0(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr0_user0,0);
4193
4194         return offset;
4195 }
4196
4197 int
4198 wkssvc_dissect_struct_NetWkstaEnumUsersCtr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4199 {
4200         proto_item *item = NULL;
4201         proto_tree *tree = NULL;
4202         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4203         int old_offset;
4204
4205         ALIGN_TO_5_BYTES;
4206
4207         old_offset = offset;
4208
4209         if (parent_tree) {
4210                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4211                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr0);
4212         }
4213         
4214         offset = wkssvc_dissect_element_NetWkstaEnumUsersCtr0_entries_read(tvb, offset, pinfo, tree, drep);
4215
4216         offset = wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0(tvb, offset, pinfo, tree, drep);
4217
4218
4219         proto_item_set_len(item, offset-old_offset);
4220
4221
4222         if (di->call_data->flags & DCERPC_IS_NDR64) {
4223                 ALIGN_TO_5_BYTES;
4224         }
4225
4226         return offset;
4227 }
4228
4229
4230 /* IDL: struct { */
4231 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *user_name; */
4232 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *logon_domain; */
4233 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *other_domains; */
4234 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *logon_server; */
4235 /* IDL: } */
4236
4237 static int
4238 wkssvc_dissect_element_NetrWkstaUserInfo1_user_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4239 {
4240         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaUserInfo1_user_name_, NDR_POINTER_UNIQUE, "Pointer to User Name (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserInfo1_user_name);
4241
4242         return offset;
4243 }
4244
4245 static int
4246 wkssvc_dissect_element_NetrWkstaUserInfo1_user_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4247 {
4248         char *data;
4249
4250         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserInfo1_user_name, FALSE, &data);
4251         proto_item_append_text(tree, ": %s", data);
4252
4253         return offset;
4254 }
4255
4256 static int
4257 wkssvc_dissect_element_NetrWkstaUserInfo1_logon_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4258 {
4259         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaUserInfo1_logon_domain_, NDR_POINTER_UNIQUE, "Pointer to Logon Domain (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_domain);
4260
4261         return offset;
4262 }
4263
4264 static int
4265 wkssvc_dissect_element_NetrWkstaUserInfo1_logon_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4266 {
4267         char *data;
4268
4269         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_domain, FALSE, &data);
4270         proto_item_append_text(tree, ": %s", data);
4271
4272         return offset;
4273 }
4274
4275 static int
4276 wkssvc_dissect_element_NetrWkstaUserInfo1_other_domains(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4277 {
4278         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaUserInfo1_other_domains_, NDR_POINTER_UNIQUE, "Pointer to Other Domains (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserInfo1_other_domains);
4279
4280         return offset;
4281 }
4282
4283 static int
4284 wkssvc_dissect_element_NetrWkstaUserInfo1_other_domains_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4285 {
4286         char *data;
4287
4288         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserInfo1_other_domains, FALSE, &data);
4289         proto_item_append_text(tree, ": %s", data);
4290
4291         return offset;
4292 }
4293
4294 static int
4295 wkssvc_dissect_element_NetrWkstaUserInfo1_logon_server(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4296 {
4297         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaUserInfo1_logon_server_, NDR_POINTER_UNIQUE, "Pointer to Logon Server (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_server);
4298
4299         return offset;
4300 }
4301
4302 static int
4303 wkssvc_dissect_element_NetrWkstaUserInfo1_logon_server_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4304 {
4305         char *data;
4306
4307         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_server, FALSE, &data);
4308         proto_item_append_text(tree, ": %s", data);
4309
4310         return offset;
4311 }
4312
4313 int
4314 wkssvc_dissect_struct_NetrWkstaUserInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4315 {
4316         proto_item *item = NULL;
4317         proto_tree *tree = NULL;
4318         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4319         int old_offset;
4320
4321         ALIGN_TO_5_BYTES;
4322
4323         old_offset = offset;
4324
4325         if (parent_tree) {
4326                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4327                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrWkstaUserInfo1);
4328         }
4329         
4330         offset = wkssvc_dissect_element_NetrWkstaUserInfo1_user_name(tvb, offset, pinfo, tree, drep);
4331
4332         offset = wkssvc_dissect_element_NetrWkstaUserInfo1_logon_domain(tvb, offset, pinfo, tree, drep);
4333
4334         offset = wkssvc_dissect_element_NetrWkstaUserInfo1_other_domains(tvb, offset, pinfo, tree, drep);
4335
4336         offset = wkssvc_dissect_element_NetrWkstaUserInfo1_logon_server(tvb, offset, pinfo, tree, drep);
4337
4338
4339         proto_item_set_len(item, offset-old_offset);
4340
4341
4342         if (di->call_data->flags & DCERPC_IS_NDR64) {
4343                 ALIGN_TO_5_BYTES;
4344         }
4345
4346         return offset;
4347 }
4348
4349
4350 /* IDL: struct { */
4351 /* IDL:         uint32 entries_read; */
4352 /* IDL:         [unique(1)] [size_is(entries_read)] wkssvc_NetrWkstaUserInfo1 *user1; */
4353 /* IDL: } */
4354
4355 static int
4356 wkssvc_dissect_element_NetWkstaEnumUsersCtr1_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4357 {
4358         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr1_entries_read, 0);
4359
4360         return offset;
4361 }
4362
4363 static int
4364 wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4365 {
4366         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1_, NDR_POINTER_UNIQUE, "Pointer to User1 (wkssvc_NetrWkstaUserInfo1)",hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr1_user1);
4367
4368         return offset;
4369 }
4370
4371 static int
4372 wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4373 {
4374         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1__);
4375
4376         return offset;
4377 }
4378
4379 static int
4380 wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4381 {
4382         offset = wkssvc_dissect_struct_NetrWkstaUserInfo1(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr1_user1,0);
4383
4384         return offset;
4385 }
4386
4387 int
4388 wkssvc_dissect_struct_NetWkstaEnumUsersCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4389 {
4390         proto_item *item = NULL;
4391         proto_tree *tree = NULL;
4392         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4393         int old_offset;
4394
4395         ALIGN_TO_5_BYTES;
4396
4397         old_offset = offset;
4398
4399         if (parent_tree) {
4400                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4401                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr1);
4402         }
4403         
4404         offset = wkssvc_dissect_element_NetWkstaEnumUsersCtr1_entries_read(tvb, offset, pinfo, tree, drep);
4405
4406         offset = wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1(tvb, offset, pinfo, tree, drep);
4407
4408
4409         proto_item_set_len(item, offset-old_offset);
4410
4411
4412         if (di->call_data->flags & DCERPC_IS_NDR64) {
4413                 ALIGN_TO_5_BYTES;
4414         }
4415
4416         return offset;
4417 }
4418
4419
4420 /* IDL: [switch_type(uint32)] union { */
4421 /* IDL: [case(0)] [unique(1)] [case(0)] wkssvc_NetWkstaEnumUsersCtr0 *user0; */
4422 /* IDL: [case(1)] [unique(1)] [case(1)] wkssvc_NetWkstaEnumUsersCtr1 *user1; */
4423 /* IDL: } */
4424
4425 static int
4426 wkssvc_dissect_element_NetWkstaEnumUsersCtr_user0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4427 {
4428         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaEnumUsersCtr_user0_, NDR_POINTER_UNIQUE, "Pointer to User0 (wkssvc_NetWkstaEnumUsersCtr0)",hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user0);
4429
4430         return offset;
4431 }
4432
4433 static int
4434 wkssvc_dissect_element_NetWkstaEnumUsersCtr_user0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4435 {
4436         offset = wkssvc_dissect_struct_NetWkstaEnumUsersCtr0(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user0,0);
4437
4438         return offset;
4439 }
4440
4441 static int
4442 wkssvc_dissect_element_NetWkstaEnumUsersCtr_user1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4443 {
4444         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaEnumUsersCtr_user1_, NDR_POINTER_UNIQUE, "Pointer to User1 (wkssvc_NetWkstaEnumUsersCtr1)",hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user1);
4445
4446         return offset;
4447 }
4448
4449 static int
4450 wkssvc_dissect_element_NetWkstaEnumUsersCtr_user1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4451 {
4452         offset = wkssvc_dissect_struct_NetWkstaEnumUsersCtr1(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user1,0);
4453
4454         return offset;
4455 }
4456
4457 static int
4458 wkssvc_dissect_NetWkstaEnumUsersCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4459 {
4460         proto_item *item = NULL;
4461         proto_tree *tree = NULL;
4462         int old_offset;
4463         guint32 level;
4464
4465         old_offset = offset;
4466         if (parent_tree) {
4467                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "wkssvc_NetWkstaEnumUsersCtr");
4468                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr);
4469         }
4470
4471         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
4472         ALIGN_TO_5_BYTES;
4473
4474         switch(level) {
4475                 case 0:
4476                         offset = wkssvc_dissect_element_NetWkstaEnumUsersCtr_user0(tvb, offset, pinfo, tree, drep);
4477                 break;
4478
4479                 case 1:
4480                         offset = wkssvc_dissect_element_NetWkstaEnumUsersCtr_user1(tvb, offset, pinfo, tree, drep);
4481                 break;
4482         }
4483         proto_item_set_len(item, offset-old_offset);
4484
4485
4486         return offset;
4487 }
4488
4489 /* IDL: struct { */
4490 /* IDL:         uint32 level; */
4491 /* IDL:         [switch_is(level)] wkssvc_NetWkstaEnumUsersCtr ctr; */
4492 /* IDL: } */
4493
4494 static int
4495 wkssvc_dissect_element_NetWkstaEnumUsersInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *level)
4496 {
4497         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaEnumUsersInfo_level, level);
4498
4499         return offset;
4500 }
4501
4502 static int
4503 wkssvc_dissect_element_NetWkstaEnumUsersInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *level)
4504 {
4505         offset = wkssvc_dissect_NetWkstaEnumUsersCtr(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaEnumUsersInfo_ctr, *level);
4506
4507         return offset;
4508 }
4509
4510 int
4511 wkssvc_dissect_struct_NetWkstaEnumUsersInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4512 {
4513         guint32 level;
4514         proto_item *item = NULL;
4515         proto_tree *tree = NULL;
4516         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4517         int old_offset;
4518
4519         ALIGN_TO_5_BYTES;
4520
4521         old_offset = offset;
4522
4523         if (parent_tree) {
4524                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4525                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaEnumUsersInfo);
4526         }
4527         
4528         offset = wkssvc_dissect_element_NetWkstaEnumUsersInfo_level(tvb, offset, pinfo, tree, drep, &level);
4529
4530         offset = wkssvc_dissect_element_NetWkstaEnumUsersInfo_ctr(tvb, offset, pinfo, tree, drep, &level);
4531
4532
4533         proto_item_set_len(item, offset-old_offset);
4534
4535
4536         if (di->call_data->flags & DCERPC_IS_NDR64) {
4537                 ALIGN_TO_5_BYTES;
4538         }
4539
4540         return offset;
4541 }
4542
4543
4544 /* IDL: struct { */
4545 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *other_domains; */
4546 /* IDL: } */
4547
4548 static int
4549 wkssvc_dissect_element_NetrWkstaUserInfo1101_other_domains(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4550 {
4551         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaUserInfo1101_other_domains_, NDR_POINTER_UNIQUE, "Pointer to Other Domains (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserInfo1101_other_domains);
4552
4553         return offset;
4554 }
4555
4556 static int
4557 wkssvc_dissect_element_NetrWkstaUserInfo1101_other_domains_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4558 {
4559         char *data;
4560
4561         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserInfo1101_other_domains, FALSE, &data);
4562         proto_item_append_text(tree, ": %s", data);
4563
4564         return offset;
4565 }
4566
4567 int
4568 wkssvc_dissect_struct_NetrWkstaUserInfo1101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4569 {
4570         proto_item *item = NULL;
4571         proto_tree *tree = NULL;
4572         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4573         int old_offset;
4574
4575         ALIGN_TO_5_BYTES;
4576
4577         old_offset = offset;
4578
4579         if (parent_tree) {
4580                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4581                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrWkstaUserInfo1101);
4582         }
4583         
4584         offset = wkssvc_dissect_element_NetrWkstaUserInfo1101_other_domains(tvb, offset, pinfo, tree, drep);
4585
4586
4587         proto_item_set_len(item, offset-old_offset);
4588
4589
4590         if (di->call_data->flags & DCERPC_IS_NDR64) {
4591                 ALIGN_TO_5_BYTES;
4592         }
4593
4594         return offset;
4595 }
4596
4597
4598 /* IDL: [switch_type(uint32)] union { */
4599 /* IDL: [case(0)] [unique(1)] [case(0)] wkssvc_NetrWkstaUserInfo0 *info0; */
4600 /* IDL: [case(1)] [unique(1)] [case(1)] wkssvc_NetrWkstaUserInfo1 *info1; */
4601 /* IDL: [case(1101)] [unique(1)] [case(1101)] wkssvc_NetrWkstaUserInfo1101 *info1101; */
4602 /* IDL: } */
4603
4604 static int
4605 wkssvc_dissect_element_NetrWkstaUserInfo_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4606 {
4607         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaUserInfo_info0_, NDR_POINTER_UNIQUE, "Pointer to Info0 (wkssvc_NetrWkstaUserInfo0)",hf_wkssvc_wkssvc_NetrWkstaUserInfo_info0);
4608
4609         return offset;
4610 }
4611
4612 static int
4613 wkssvc_dissect_element_NetrWkstaUserInfo_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4614 {
4615         offset = wkssvc_dissect_struct_NetrWkstaUserInfo0(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrWkstaUserInfo_info0,0);
4616
4617         return offset;
4618 }
4619
4620 static int
4621 wkssvc_dissect_element_NetrWkstaUserInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4622 {
4623         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaUserInfo_info1_, NDR_POINTER_UNIQUE, "Pointer to Info1 (wkssvc_NetrWkstaUserInfo1)",hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1);
4624
4625         return offset;
4626 }
4627
4628 static int
4629 wkssvc_dissect_element_NetrWkstaUserInfo_info1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4630 {
4631         offset = wkssvc_dissect_struct_NetrWkstaUserInfo1(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1,0);
4632
4633         return offset;
4634 }
4635
4636 static int
4637 wkssvc_dissect_element_NetrWkstaUserInfo_info1101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4638 {
4639         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaUserInfo_info1101_, NDR_POINTER_UNIQUE, "Pointer to Info1101 (wkssvc_NetrWkstaUserInfo1101)",hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1101);
4640
4641         return offset;
4642 }
4643
4644 static int
4645 wkssvc_dissect_element_NetrWkstaUserInfo_info1101_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4646 {
4647         offset = wkssvc_dissect_struct_NetrWkstaUserInfo1101(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1101,0);
4648
4649         return offset;
4650 }
4651
4652 static int
4653 wkssvc_dissect_NetrWkstaUserInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4654 {
4655         proto_item *item = NULL;
4656         proto_tree *tree = NULL;
4657         int old_offset;
4658         guint32 level;
4659
4660         old_offset = offset;
4661         if (parent_tree) {
4662                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "wkssvc_NetrWkstaUserInfo");
4663                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrWkstaUserInfo);
4664         }
4665
4666         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
4667         ALIGN_TO_5_BYTES;
4668
4669         switch(level) {
4670                 case 0:
4671                         offset = wkssvc_dissect_element_NetrWkstaUserInfo_info0(tvb, offset, pinfo, tree, drep);
4672                 break;
4673
4674                 case 1:
4675                         offset = wkssvc_dissect_element_NetrWkstaUserInfo_info1(tvb, offset, pinfo, tree, drep);
4676                 break;
4677
4678                 case 1101:
4679                         offset = wkssvc_dissect_element_NetrWkstaUserInfo_info1101(tvb, offset, pinfo, tree, drep);
4680                 break;
4681         }
4682         proto_item_set_len(item, offset-old_offset);
4683
4684
4685         return offset;
4686 }
4687
4688 /* IDL: struct { */
4689 /* IDL:         uint32 quality_of_service; */
4690 /* IDL:         uint32 vc_count; */
4691 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *name; */
4692 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *address; */
4693 /* IDL:         uint32 wan_link; */
4694 /* IDL: } */
4695
4696 static int
4697 wkssvc_dissect_element_NetWkstaTransportInfo0_quality_of_service(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4698 {
4699         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaTransportInfo0_quality_of_service, 0);
4700
4701         return offset;
4702 }
4703
4704 static int
4705 wkssvc_dissect_element_NetWkstaTransportInfo0_vc_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4706 {
4707         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaTransportInfo0_vc_count, 0);
4708
4709         return offset;
4710 }
4711
4712 static int
4713 wkssvc_dissect_element_NetWkstaTransportInfo0_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4714 {
4715         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaTransportInfo0_name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_wkssvc_wkssvc_NetWkstaTransportInfo0_name);
4716
4717         return offset;
4718 }
4719
4720 static int
4721 wkssvc_dissect_element_NetWkstaTransportInfo0_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4722 {
4723         char *data;
4724
4725         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaTransportInfo0_name, FALSE, &data);
4726         proto_item_append_text(tree, ": %s", data);
4727
4728         return offset;
4729 }
4730
4731 static int
4732 wkssvc_dissect_element_NetWkstaTransportInfo0_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4733 {
4734         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaTransportInfo0_address_, NDR_POINTER_UNIQUE, "Pointer to Address (uint16)",hf_wkssvc_wkssvc_NetWkstaTransportInfo0_address);
4735
4736         return offset;
4737 }
4738
4739 static int
4740 wkssvc_dissect_element_NetWkstaTransportInfo0_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4741 {
4742         char *data;
4743
4744         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaTransportInfo0_address, FALSE, &data);
4745         proto_item_append_text(tree, ": %s", data);
4746
4747         return offset;
4748 }
4749
4750 static int
4751 wkssvc_dissect_element_NetWkstaTransportInfo0_wan_link(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4752 {
4753         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaTransportInfo0_wan_link, 0);
4754
4755         return offset;
4756 }
4757
4758 int
4759 wkssvc_dissect_struct_NetWkstaTransportInfo0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4760 {
4761         proto_item *item = NULL;
4762         proto_tree *tree = NULL;
4763         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4764         int old_offset;
4765
4766         ALIGN_TO_5_BYTES;
4767
4768         old_offset = offset;
4769
4770         if (parent_tree) {
4771                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4772                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaTransportInfo0);
4773         }
4774         
4775         offset = wkssvc_dissect_element_NetWkstaTransportInfo0_quality_of_service(tvb, offset, pinfo, tree, drep);
4776
4777         offset = wkssvc_dissect_element_NetWkstaTransportInfo0_vc_count(tvb, offset, pinfo, tree, drep);
4778
4779         offset = wkssvc_dissect_element_NetWkstaTransportInfo0_name(tvb, offset, pinfo, tree, drep);
4780
4781         offset = wkssvc_dissect_element_NetWkstaTransportInfo0_address(tvb, offset, pinfo, tree, drep);
4782
4783         offset = wkssvc_dissect_element_NetWkstaTransportInfo0_wan_link(tvb, offset, pinfo, tree, drep);
4784
4785
4786         proto_item_set_len(item, offset-old_offset);
4787
4788
4789         if (di->call_data->flags & DCERPC_IS_NDR64) {
4790                 ALIGN_TO_5_BYTES;
4791         }
4792
4793         return offset;
4794 }
4795
4796
4797 /* IDL: struct { */
4798 /* IDL:         uint32 count; */
4799 /* IDL:         [unique(1)] [size_is(count)] wkssvc_NetWkstaTransportInfo0 *array; */
4800 /* IDL: } */
4801
4802 static int
4803 wkssvc_dissect_element_NetWkstaTransportCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4804 {
4805         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaTransportCtr0_count, 0);
4806
4807         return offset;
4808 }
4809
4810 static int
4811 wkssvc_dissect_element_NetWkstaTransportCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4812 {
4813         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaTransportCtr0_array_, NDR_POINTER_UNIQUE, "Pointer to Array (wkssvc_NetWkstaTransportInfo0)",hf_wkssvc_wkssvc_NetWkstaTransportCtr0_array);
4814
4815         return offset;
4816 }
4817
4818 static int
4819 wkssvc_dissect_element_NetWkstaTransportCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4820 {
4821         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaTransportCtr0_array__);
4822
4823         return offset;
4824 }
4825
4826 static int
4827 wkssvc_dissect_element_NetWkstaTransportCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4828 {
4829         offset = wkssvc_dissect_struct_NetWkstaTransportInfo0(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaTransportCtr0_array,0);
4830
4831         return offset;
4832 }
4833
4834 int
4835 wkssvc_dissect_struct_NetWkstaTransportCtr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4836 {
4837         proto_item *item = NULL;
4838         proto_tree *tree = NULL;
4839         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4840         int old_offset;
4841
4842         ALIGN_TO_5_BYTES;
4843
4844         old_offset = offset;
4845
4846         if (parent_tree) {
4847                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4848                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaTransportCtr0);
4849         }
4850         
4851         offset = wkssvc_dissect_element_NetWkstaTransportCtr0_count(tvb, offset, pinfo, tree, drep);
4852
4853         offset = wkssvc_dissect_element_NetWkstaTransportCtr0_array(tvb, offset, pinfo, tree, drep);
4854
4855
4856         proto_item_set_len(item, offset-old_offset);
4857
4858
4859         if (di->call_data->flags & DCERPC_IS_NDR64) {
4860                 ALIGN_TO_5_BYTES;
4861         }
4862
4863         return offset;
4864 }
4865
4866
4867 /* IDL: union { */
4868 /* IDL: [case(0)] [unique(1)] [case(0)] wkssvc_NetWkstaTransportCtr0 *ctr0; */
4869 /* IDL: } */
4870
4871 static int
4872 wkssvc_dissect_element_NetWkstaTransportCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4873 {
4874         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaTransportCtr_ctr0_, NDR_POINTER_UNIQUE, "Pointer to Ctr0 (wkssvc_NetWkstaTransportCtr0)",hf_wkssvc_wkssvc_NetWkstaTransportCtr_ctr0);
4875
4876         return offset;
4877 }
4878
4879 static int
4880 wkssvc_dissect_element_NetWkstaTransportCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4881 {
4882         offset = wkssvc_dissect_struct_NetWkstaTransportCtr0(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaTransportCtr_ctr0,0);
4883
4884         return offset;
4885 }
4886
4887 static int
4888 wkssvc_dissect_NetWkstaTransportCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4889 {
4890         proto_item *item = NULL;
4891         proto_tree *tree = NULL;
4892         int old_offset;
4893         guint32 level;
4894
4895         old_offset = offset;
4896         if (parent_tree) {
4897                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "wkssvc_NetWkstaTransportCtr");
4898                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaTransportCtr);
4899         }
4900
4901         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
4902         ALIGN_TO_5_BYTES;
4903
4904         switch(level) {
4905                 case 0:
4906                         offset = wkssvc_dissect_element_NetWkstaTransportCtr_ctr0(tvb, offset, pinfo, tree, drep);
4907                 break;
4908         }
4909         proto_item_set_len(item, offset-old_offset);
4910
4911
4912         return offset;
4913 }
4914
4915 /* IDL: struct { */
4916 /* IDL:         uint32 level; */
4917 /* IDL:         [switch_is(level)] wkssvc_NetWkstaTransportCtr ctr; */
4918 /* IDL: } */
4919
4920 static int
4921 wkssvc_dissect_element_NetWkstaTransportInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *level)
4922 {
4923         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaTransportInfo_level, level);
4924
4925         return offset;
4926 }
4927
4928 static int
4929 wkssvc_dissect_element_NetWkstaTransportInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *level)
4930 {
4931         offset = wkssvc_dissect_NetWkstaTransportCtr(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaTransportInfo_ctr, *level);
4932
4933         return offset;
4934 }
4935
4936 int
4937 wkssvc_dissect_struct_NetWkstaTransportInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4938 {
4939         guint32 level;
4940         proto_item *item = NULL;
4941         proto_tree *tree = NULL;
4942         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
4943         int old_offset;
4944
4945         ALIGN_TO_5_BYTES;
4946
4947         old_offset = offset;
4948
4949         if (parent_tree) {
4950                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
4951                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaTransportInfo);
4952         }
4953         
4954         offset = wkssvc_dissect_element_NetWkstaTransportInfo_level(tvb, offset, pinfo, tree, drep, &level);
4955
4956         offset = wkssvc_dissect_element_NetWkstaTransportInfo_ctr(tvb, offset, pinfo, tree, drep, &level);
4957
4958
4959         proto_item_set_len(item, offset-old_offset);
4960
4961
4962         if (di->call_data->flags & DCERPC_IS_NDR64) {
4963                 ALIGN_TO_5_BYTES;
4964         }
4965
4966         return offset;
4967 }
4968
4969
4970 /* IDL: struct { */
4971 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *unknown1; */
4972 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *unknown2; */
4973 /* IDL: } */
4974
4975 static int
4976 wkssvc_dissect_element_NetrUseInfo3_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4977 {
4978         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseInfo3_unknown1_, NDR_POINTER_UNIQUE, "Pointer to Unknown1 (uint16)",hf_wkssvc_wkssvc_NetrUseInfo3_unknown1);
4979
4980         return offset;
4981 }
4982
4983 static int
4984 wkssvc_dissect_element_NetrUseInfo3_unknown1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4985 {
4986         char *data;
4987
4988         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo3_unknown1, FALSE, &data);
4989         proto_item_append_text(tree, ": %s", data);
4990
4991         return offset;
4992 }
4993
4994 static int
4995 wkssvc_dissect_element_NetrUseInfo3_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4996 {
4997         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseInfo3_unknown2_, NDR_POINTER_UNIQUE, "Pointer to Unknown2 (uint16)",hf_wkssvc_wkssvc_NetrUseInfo3_unknown2);
4998
4999         return offset;
5000 }
5001
5002 static int
5003 wkssvc_dissect_element_NetrUseInfo3_unknown2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5004 {
5005         char *data;
5006
5007         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo3_unknown2, FALSE, &data);
5008         proto_item_append_text(tree, ": %s", data);
5009
5010         return offset;
5011 }
5012
5013 int
5014 wkssvc_dissect_struct_NetrUseInfo3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5015 {
5016         proto_item *item = NULL;
5017         proto_tree *tree = NULL;
5018         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5019         int old_offset;
5020
5021         ALIGN_TO_5_BYTES;
5022
5023         old_offset = offset;
5024
5025         if (parent_tree) {
5026                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5027                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseInfo3);
5028         }
5029         
5030         offset = wkssvc_dissect_element_NetrUseInfo3_unknown1(tvb, offset, pinfo, tree, drep);
5031
5032         offset = wkssvc_dissect_element_NetrUseInfo3_unknown2(tvb, offset, pinfo, tree, drep);
5033
5034
5035         proto_item_set_len(item, offset-old_offset);
5036
5037
5038         if (di->call_data->flags & DCERPC_IS_NDR64) {
5039                 ALIGN_TO_5_BYTES;
5040         }
5041
5042         return offset;
5043 }
5044
5045
5046 /* IDL: struct { */
5047 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *local; */
5048 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *remote; */
5049 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *password; */
5050 /* IDL:         uint32 status; */
5051 /* IDL:         uint32 asg_type; */
5052 /* IDL:         uint32 ref_count; */
5053 /* IDL:         uint32 use_count; */
5054 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *user_name; */
5055 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *domain_name; */
5056 /* IDL: } */
5057
5058 static int
5059 wkssvc_dissect_element_NetrUseInfo2_local(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5060 {
5061         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseInfo2_local_, NDR_POINTER_UNIQUE, "Pointer to Local (uint16)",hf_wkssvc_wkssvc_NetrUseInfo2_local);
5062
5063         return offset;
5064 }
5065
5066 static int
5067 wkssvc_dissect_element_NetrUseInfo2_local_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5068 {
5069         char *data;
5070
5071         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo2_local, FALSE, &data);
5072         proto_item_append_text(tree, ": %s", data);
5073
5074         return offset;
5075 }
5076
5077 static int
5078 wkssvc_dissect_element_NetrUseInfo2_remote(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5079 {
5080         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseInfo2_remote_, NDR_POINTER_UNIQUE, "Pointer to Remote (uint16)",hf_wkssvc_wkssvc_NetrUseInfo2_remote);
5081
5082         return offset;
5083 }
5084
5085 static int
5086 wkssvc_dissect_element_NetrUseInfo2_remote_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5087 {
5088         char *data;
5089
5090         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo2_remote, FALSE, &data);
5091         proto_item_append_text(tree, ": %s", data);
5092
5093         return offset;
5094 }
5095
5096 static int
5097 wkssvc_dissect_element_NetrUseInfo2_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5098 {
5099         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseInfo2_password_, NDR_POINTER_UNIQUE, "Pointer to Password (uint16)",hf_wkssvc_wkssvc_NetrUseInfo2_password);
5100
5101         return offset;
5102 }
5103
5104 static int
5105 wkssvc_dissect_element_NetrUseInfo2_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5106 {
5107         char *data;
5108
5109         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo2_password, FALSE, &data);
5110         proto_item_append_text(tree, ": %s", data);
5111
5112         return offset;
5113 }
5114
5115 static int
5116 wkssvc_dissect_element_NetrUseInfo2_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5117 {
5118         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseInfo2_status, 0);
5119
5120         return offset;
5121 }
5122
5123 static int
5124 wkssvc_dissect_element_NetrUseInfo2_asg_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5125 {
5126         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseInfo2_asg_type, 0);
5127
5128         return offset;
5129 }
5130
5131 static int
5132 wkssvc_dissect_element_NetrUseInfo2_ref_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5133 {
5134         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseInfo2_ref_count, 0);
5135
5136         return offset;
5137 }
5138
5139 static int
5140 wkssvc_dissect_element_NetrUseInfo2_use_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5141 {
5142         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseInfo2_use_count, 0);
5143
5144         return offset;
5145 }
5146
5147 static int
5148 wkssvc_dissect_element_NetrUseInfo2_user_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5149 {
5150         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseInfo2_user_name_, NDR_POINTER_UNIQUE, "Pointer to User Name (uint16)",hf_wkssvc_wkssvc_NetrUseInfo2_user_name);
5151
5152         return offset;
5153 }
5154
5155 static int
5156 wkssvc_dissect_element_NetrUseInfo2_user_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5157 {
5158         char *data;
5159
5160         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo2_user_name, FALSE, &data);
5161         proto_item_append_text(tree, ": %s", data);
5162
5163         return offset;
5164 }
5165
5166 static int
5167 wkssvc_dissect_element_NetrUseInfo2_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5168 {
5169         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseInfo2_domain_name_, NDR_POINTER_UNIQUE, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetrUseInfo2_domain_name);
5170
5171         return offset;
5172 }
5173
5174 static int
5175 wkssvc_dissect_element_NetrUseInfo2_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5176 {
5177         char *data;
5178
5179         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo2_domain_name, FALSE, &data);
5180         proto_item_append_text(tree, ": %s", data);
5181
5182         return offset;
5183 }
5184
5185 int
5186 wkssvc_dissect_struct_NetrUseInfo2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5187 {
5188         proto_item *item = NULL;
5189         proto_tree *tree = NULL;
5190         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5191         int old_offset;
5192
5193         ALIGN_TO_5_BYTES;
5194
5195         old_offset = offset;
5196
5197         if (parent_tree) {
5198                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5199                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseInfo2);
5200         }
5201         
5202         offset = wkssvc_dissect_element_NetrUseInfo2_local(tvb, offset, pinfo, tree, drep);
5203
5204         offset = wkssvc_dissect_element_NetrUseInfo2_remote(tvb, offset, pinfo, tree, drep);
5205
5206         offset = wkssvc_dissect_element_NetrUseInfo2_password(tvb, offset, pinfo, tree, drep);
5207
5208         offset = wkssvc_dissect_element_NetrUseInfo2_status(tvb, offset, pinfo, tree, drep);
5209
5210         offset = wkssvc_dissect_element_NetrUseInfo2_asg_type(tvb, offset, pinfo, tree, drep);
5211
5212         offset = wkssvc_dissect_element_NetrUseInfo2_ref_count(tvb, offset, pinfo, tree, drep);
5213
5214         offset = wkssvc_dissect_element_NetrUseInfo2_use_count(tvb, offset, pinfo, tree, drep);
5215
5216         offset = wkssvc_dissect_element_NetrUseInfo2_user_name(tvb, offset, pinfo, tree, drep);
5217
5218         offset = wkssvc_dissect_element_NetrUseInfo2_domain_name(tvb, offset, pinfo, tree, drep);
5219
5220
5221         proto_item_set_len(item, offset-old_offset);
5222
5223
5224         if (di->call_data->flags & DCERPC_IS_NDR64) {
5225                 ALIGN_TO_5_BYTES;
5226         }
5227
5228         return offset;
5229 }
5230
5231
5232 /* IDL: struct { */
5233 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *local; */
5234 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *remote; */
5235 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *password; */
5236 /* IDL:         uint32 status; */
5237 /* IDL:         uint32 asg_type; */
5238 /* IDL:         uint32 ref_count; */
5239 /* IDL:         uint32 use_count; */
5240 /* IDL: } */
5241
5242 static int
5243 wkssvc_dissect_element_NetrUseInfo1_local(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5244 {
5245         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseInfo1_local_, NDR_POINTER_UNIQUE, "Pointer to Local (uint16)",hf_wkssvc_wkssvc_NetrUseInfo1_local);
5246
5247         return offset;
5248 }
5249
5250 static int
5251 wkssvc_dissect_element_NetrUseInfo1_local_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5252 {
5253         char *data;
5254
5255         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo1_local, FALSE, &data);
5256         proto_item_append_text(tree, ": %s", data);
5257
5258         return offset;
5259 }
5260
5261 static int
5262 wkssvc_dissect_element_NetrUseInfo1_remote(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5263 {
5264         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseInfo1_remote_, NDR_POINTER_UNIQUE, "Pointer to Remote (uint16)",hf_wkssvc_wkssvc_NetrUseInfo1_remote);
5265
5266         return offset;
5267 }
5268
5269 static int
5270 wkssvc_dissect_element_NetrUseInfo1_remote_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5271 {
5272         char *data;
5273
5274         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo1_remote, FALSE, &data);
5275         proto_item_append_text(tree, ": %s", data);
5276
5277         return offset;
5278 }
5279
5280 static int
5281 wkssvc_dissect_element_NetrUseInfo1_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5282 {
5283         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseInfo1_password_, NDR_POINTER_UNIQUE, "Pointer to Password (uint16)",hf_wkssvc_wkssvc_NetrUseInfo1_password);
5284
5285         return offset;
5286 }
5287
5288 static int
5289 wkssvc_dissect_element_NetrUseInfo1_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5290 {
5291         char *data;
5292
5293         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo1_password, FALSE, &data);
5294         proto_item_append_text(tree, ": %s", data);
5295
5296         return offset;
5297 }
5298
5299 static int
5300 wkssvc_dissect_element_NetrUseInfo1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5301 {
5302         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseInfo1_status, 0);
5303
5304         return offset;
5305 }
5306
5307 static int
5308 wkssvc_dissect_element_NetrUseInfo1_asg_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5309 {
5310         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseInfo1_asg_type, 0);
5311
5312         return offset;
5313 }
5314
5315 static int
5316 wkssvc_dissect_element_NetrUseInfo1_ref_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5317 {
5318         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseInfo1_ref_count, 0);
5319
5320         return offset;
5321 }
5322
5323 static int
5324 wkssvc_dissect_element_NetrUseInfo1_use_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5325 {
5326         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseInfo1_use_count, 0);
5327
5328         return offset;
5329 }
5330
5331 int
5332 wkssvc_dissect_struct_NetrUseInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5333 {
5334         proto_item *item = NULL;
5335         proto_tree *tree = NULL;
5336         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5337         int old_offset;
5338
5339         ALIGN_TO_5_BYTES;
5340
5341         old_offset = offset;
5342
5343         if (parent_tree) {
5344                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5345                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseInfo1);
5346         }
5347         
5348         offset = wkssvc_dissect_element_NetrUseInfo1_local(tvb, offset, pinfo, tree, drep);
5349
5350         offset = wkssvc_dissect_element_NetrUseInfo1_remote(tvb, offset, pinfo, tree, drep);
5351
5352         offset = wkssvc_dissect_element_NetrUseInfo1_password(tvb, offset, pinfo, tree, drep);
5353
5354         offset = wkssvc_dissect_element_NetrUseInfo1_status(tvb, offset, pinfo, tree, drep);
5355
5356         offset = wkssvc_dissect_element_NetrUseInfo1_asg_type(tvb, offset, pinfo, tree, drep);
5357
5358         offset = wkssvc_dissect_element_NetrUseInfo1_ref_count(tvb, offset, pinfo, tree, drep);
5359
5360         offset = wkssvc_dissect_element_NetrUseInfo1_use_count(tvb, offset, pinfo, tree, drep);
5361
5362
5363         proto_item_set_len(item, offset-old_offset);
5364
5365
5366         if (di->call_data->flags & DCERPC_IS_NDR64) {
5367                 ALIGN_TO_5_BYTES;
5368         }
5369
5370         return offset;
5371 }
5372
5373
5374 /* IDL: struct { */
5375 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *local; */
5376 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *remote; */
5377 /* IDL: } */
5378
5379 static int
5380 wkssvc_dissect_element_NetrUseInfo0_local(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5381 {
5382         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseInfo0_local_, NDR_POINTER_UNIQUE, "Pointer to Local (uint16)",hf_wkssvc_wkssvc_NetrUseInfo0_local);
5383
5384         return offset;
5385 }
5386
5387 static int
5388 wkssvc_dissect_element_NetrUseInfo0_local_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5389 {
5390         char *data;
5391
5392         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo0_local, FALSE, &data);
5393         proto_item_append_text(tree, ": %s", data);
5394
5395         return offset;
5396 }
5397
5398 static int
5399 wkssvc_dissect_element_NetrUseInfo0_remote(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5400 {
5401         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseInfo0_remote_, NDR_POINTER_UNIQUE, "Pointer to Remote (uint16)",hf_wkssvc_wkssvc_NetrUseInfo0_remote);
5402
5403         return offset;
5404 }
5405
5406 static int
5407 wkssvc_dissect_element_NetrUseInfo0_remote_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5408 {
5409         char *data;
5410
5411         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo0_remote, FALSE, &data);
5412         proto_item_append_text(tree, ": %s", data);
5413
5414         return offset;
5415 }
5416
5417 int
5418 wkssvc_dissect_struct_NetrUseInfo0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5419 {
5420         proto_item *item = NULL;
5421         proto_tree *tree = NULL;
5422         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5423         int old_offset;
5424
5425         ALIGN_TO_5_BYTES;
5426
5427         old_offset = offset;
5428
5429         if (parent_tree) {
5430                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5431                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseInfo0);
5432         }
5433         
5434         offset = wkssvc_dissect_element_NetrUseInfo0_local(tvb, offset, pinfo, tree, drep);
5435
5436         offset = wkssvc_dissect_element_NetrUseInfo0_remote(tvb, offset, pinfo, tree, drep);
5437
5438
5439         proto_item_set_len(item, offset-old_offset);
5440
5441
5442         if (di->call_data->flags & DCERPC_IS_NDR64) {
5443                 ALIGN_TO_5_BYTES;
5444         }
5445
5446         return offset;
5447 }
5448
5449
5450 /* IDL: [switch_type(uint32)] union { */
5451 /* IDL: [case(0)] [unique(1)] [case(0)] wkssvc_NetrUseInfo0 *info0; */
5452 /* IDL: [case(1)] [unique(1)] [case(1)] wkssvc_NetrUseInfo1 *info1; */
5453 /* IDL: [case(2)] [unique(1)] [case(2)] wkssvc_NetrUseInfo2 *info2; */
5454 /* IDL: [case(3)] [unique(1)] [case(3)] wkssvc_NetrUseInfo3 *info3; */
5455 /* IDL: } */
5456
5457 static int
5458 wkssvc_dissect_element_NetrUseGetInfoCtr_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5459 {
5460         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseGetInfoCtr_info0_, NDR_POINTER_UNIQUE, "Pointer to Info0 (wkssvc_NetrUseInfo0)",hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info0);
5461
5462         return offset;
5463 }
5464
5465 static int
5466 wkssvc_dissect_element_NetrUseGetInfoCtr_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5467 {
5468         offset = wkssvc_dissect_struct_NetrUseInfo0(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info0,0);
5469
5470         return offset;
5471 }
5472
5473 static int
5474 wkssvc_dissect_element_NetrUseGetInfoCtr_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5475 {
5476         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseGetInfoCtr_info1_, NDR_POINTER_UNIQUE, "Pointer to Info1 (wkssvc_NetrUseInfo1)",hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info1);
5477
5478         return offset;
5479 }
5480
5481 static int
5482 wkssvc_dissect_element_NetrUseGetInfoCtr_info1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5483 {
5484         offset = wkssvc_dissect_struct_NetrUseInfo1(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info1,0);
5485
5486         return offset;
5487 }
5488
5489 static int
5490 wkssvc_dissect_element_NetrUseGetInfoCtr_info2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5491 {
5492         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseGetInfoCtr_info2_, NDR_POINTER_UNIQUE, "Pointer to Info2 (wkssvc_NetrUseInfo2)",hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info2);
5493
5494         return offset;
5495 }
5496
5497 static int
5498 wkssvc_dissect_element_NetrUseGetInfoCtr_info2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5499 {
5500         offset = wkssvc_dissect_struct_NetrUseInfo2(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info2,0);
5501
5502         return offset;
5503 }
5504
5505 static int
5506 wkssvc_dissect_element_NetrUseGetInfoCtr_info3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5507 {
5508         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseGetInfoCtr_info3_, NDR_POINTER_UNIQUE, "Pointer to Info3 (wkssvc_NetrUseInfo3)",hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info3);
5509
5510         return offset;
5511 }
5512
5513 static int
5514 wkssvc_dissect_element_NetrUseGetInfoCtr_info3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5515 {
5516         offset = wkssvc_dissect_struct_NetrUseInfo3(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info3,0);
5517
5518         return offset;
5519 }
5520
5521 static int
5522 wkssvc_dissect_NetrUseGetInfoCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5523 {
5524         proto_item *item = NULL;
5525         proto_tree *tree = NULL;
5526         int old_offset;
5527         guint32 level;
5528
5529         old_offset = offset;
5530         if (parent_tree) {
5531                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "wkssvc_NetrUseGetInfoCtr");
5532                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseGetInfoCtr);
5533         }
5534
5535         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
5536         ALIGN_TO_5_BYTES;
5537
5538         switch(level) {
5539                 case 0:
5540                         offset = wkssvc_dissect_element_NetrUseGetInfoCtr_info0(tvb, offset, pinfo, tree, drep);
5541                 break;
5542
5543                 case 1:
5544                         offset = wkssvc_dissect_element_NetrUseGetInfoCtr_info1(tvb, offset, pinfo, tree, drep);
5545                 break;
5546
5547                 case 2:
5548                         offset = wkssvc_dissect_element_NetrUseGetInfoCtr_info2(tvb, offset, pinfo, tree, drep);
5549                 break;
5550
5551                 case 3:
5552                         offset = wkssvc_dissect_element_NetrUseGetInfoCtr_info3(tvb, offset, pinfo, tree, drep);
5553                 break;
5554         }
5555         proto_item_set_len(item, offset-old_offset);
5556
5557
5558         return offset;
5559 }
5560
5561 /* IDL: struct { */
5562 /* IDL:         uint32 count; */
5563 /* IDL:         [unique(1)] [size_is(count)] wkssvc_NetrUseInfo2 *array; */
5564 /* IDL: } */
5565
5566 static int
5567 wkssvc_dissect_element_NetrUseEnumCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5568 {
5569         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseEnumCtr2_count, 0);
5570
5571         return offset;
5572 }
5573
5574 static int
5575 wkssvc_dissect_element_NetrUseEnumCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5576 {
5577         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseEnumCtr2_array_, NDR_POINTER_UNIQUE, "Pointer to Array (wkssvc_NetrUseInfo2)",hf_wkssvc_wkssvc_NetrUseEnumCtr2_array);
5578
5579         return offset;
5580 }
5581
5582 static int
5583 wkssvc_dissect_element_NetrUseEnumCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5584 {
5585         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseEnumCtr2_array__);
5586
5587         return offset;
5588 }
5589
5590 static int
5591 wkssvc_dissect_element_NetrUseEnumCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5592 {
5593         offset = wkssvc_dissect_struct_NetrUseInfo2(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrUseEnumCtr2_array,0);
5594
5595         return offset;
5596 }
5597
5598 int
5599 wkssvc_dissect_struct_NetrUseEnumCtr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5600 {
5601         proto_item *item = NULL;
5602         proto_tree *tree = NULL;
5603         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5604         int old_offset;
5605
5606         ALIGN_TO_5_BYTES;
5607
5608         old_offset = offset;
5609
5610         if (parent_tree) {
5611                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5612                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseEnumCtr2);
5613         }
5614         
5615         offset = wkssvc_dissect_element_NetrUseEnumCtr2_count(tvb, offset, pinfo, tree, drep);
5616
5617         offset = wkssvc_dissect_element_NetrUseEnumCtr2_array(tvb, offset, pinfo, tree, drep);
5618
5619
5620         proto_item_set_len(item, offset-old_offset);
5621
5622
5623         if (di->call_data->flags & DCERPC_IS_NDR64) {
5624                 ALIGN_TO_5_BYTES;
5625         }
5626
5627         return offset;
5628 }
5629
5630
5631 /* IDL: struct { */
5632 /* IDL:         uint32 count; */
5633 /* IDL:         [unique(1)] [size_is(count)] wkssvc_NetrUseInfo1 *array; */
5634 /* IDL: } */
5635
5636 static int
5637 wkssvc_dissect_element_NetrUseEnumCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5638 {
5639         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseEnumCtr1_count, 0);
5640
5641         return offset;
5642 }
5643
5644 static int
5645 wkssvc_dissect_element_NetrUseEnumCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5646 {
5647         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseEnumCtr1_array_, NDR_POINTER_UNIQUE, "Pointer to Array (wkssvc_NetrUseInfo1)",hf_wkssvc_wkssvc_NetrUseEnumCtr1_array);
5648
5649         return offset;
5650 }
5651
5652 static int
5653 wkssvc_dissect_element_NetrUseEnumCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5654 {
5655         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseEnumCtr1_array__);
5656
5657         return offset;
5658 }
5659
5660 static int
5661 wkssvc_dissect_element_NetrUseEnumCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5662 {
5663         offset = wkssvc_dissect_struct_NetrUseInfo1(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrUseEnumCtr1_array,0);
5664
5665         return offset;
5666 }
5667
5668 int
5669 wkssvc_dissect_struct_NetrUseEnumCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5670 {
5671         proto_item *item = NULL;
5672         proto_tree *tree = NULL;
5673         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5674         int old_offset;
5675
5676         ALIGN_TO_5_BYTES;
5677
5678         old_offset = offset;
5679
5680         if (parent_tree) {
5681                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5682                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseEnumCtr1);
5683         }
5684         
5685         offset = wkssvc_dissect_element_NetrUseEnumCtr1_count(tvb, offset, pinfo, tree, drep);
5686
5687         offset = wkssvc_dissect_element_NetrUseEnumCtr1_array(tvb, offset, pinfo, tree, drep);
5688
5689
5690         proto_item_set_len(item, offset-old_offset);
5691
5692
5693         if (di->call_data->flags & DCERPC_IS_NDR64) {
5694                 ALIGN_TO_5_BYTES;
5695         }
5696
5697         return offset;
5698 }
5699
5700
5701 /* IDL: struct { */
5702 /* IDL:         uint32 count; */
5703 /* IDL:         [unique(1)] [size_is(count)] wkssvc_NetrUseInfo0 *array; */
5704 /* IDL: } */
5705
5706 static int
5707 wkssvc_dissect_element_NetrUseEnumCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5708 {
5709         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseEnumCtr0_count, 0);
5710
5711         return offset;
5712 }
5713
5714 static int
5715 wkssvc_dissect_element_NetrUseEnumCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5716 {
5717         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseEnumCtr0_array_, NDR_POINTER_UNIQUE, "Pointer to Array (wkssvc_NetrUseInfo0)",hf_wkssvc_wkssvc_NetrUseEnumCtr0_array);
5718
5719         return offset;
5720 }
5721
5722 static int
5723 wkssvc_dissect_element_NetrUseEnumCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5724 {
5725         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseEnumCtr0_array__);
5726
5727         return offset;
5728 }
5729
5730 static int
5731 wkssvc_dissect_element_NetrUseEnumCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5732 {
5733         offset = wkssvc_dissect_struct_NetrUseInfo0(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrUseEnumCtr0_array,0);
5734
5735         return offset;
5736 }
5737
5738 int
5739 wkssvc_dissect_struct_NetrUseEnumCtr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5740 {
5741         proto_item *item = NULL;
5742         proto_tree *tree = NULL;
5743         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5744         int old_offset;
5745
5746         ALIGN_TO_5_BYTES;
5747
5748         old_offset = offset;
5749
5750         if (parent_tree) {
5751                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5752                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseEnumCtr0);
5753         }
5754         
5755         offset = wkssvc_dissect_element_NetrUseEnumCtr0_count(tvb, offset, pinfo, tree, drep);
5756
5757         offset = wkssvc_dissect_element_NetrUseEnumCtr0_array(tvb, offset, pinfo, tree, drep);
5758
5759
5760         proto_item_set_len(item, offset-old_offset);
5761
5762
5763         if (di->call_data->flags & DCERPC_IS_NDR64) {
5764                 ALIGN_TO_5_BYTES;
5765         }
5766
5767         return offset;
5768 }
5769
5770
5771 /* IDL: [switch_type(uint32)] union { */
5772 /* IDL: [case(0)] [unique(1)] [case(0)] wkssvc_NetrUseEnumCtr0 *ctr0; */
5773 /* IDL: [case(1)] [unique(1)] [case(1)] wkssvc_NetrUseEnumCtr1 *ctr1; */
5774 /* IDL: [case(2)] [unique(1)] [case(2)] wkssvc_NetrUseEnumCtr2 *ctr2; */
5775 /* IDL: } */
5776
5777 static int
5778 wkssvc_dissect_element_NetrUseEnumCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5779 {
5780         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseEnumCtr_ctr0_, NDR_POINTER_UNIQUE, "Pointer to Ctr0 (wkssvc_NetrUseEnumCtr0)",hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr0);
5781
5782         return offset;
5783 }
5784
5785 static int
5786 wkssvc_dissect_element_NetrUseEnumCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5787 {
5788         offset = wkssvc_dissect_struct_NetrUseEnumCtr0(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr0,0);
5789
5790         return offset;
5791 }
5792
5793 static int
5794 wkssvc_dissect_element_NetrUseEnumCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5795 {
5796         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseEnumCtr_ctr1_, NDR_POINTER_UNIQUE, "Pointer to Ctr1 (wkssvc_NetrUseEnumCtr1)",hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr1);
5797
5798         return offset;
5799 }
5800
5801 static int
5802 wkssvc_dissect_element_NetrUseEnumCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5803 {
5804         offset = wkssvc_dissect_struct_NetrUseEnumCtr1(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr1,0);
5805
5806         return offset;
5807 }
5808
5809 static int
5810 wkssvc_dissect_element_NetrUseEnumCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5811 {
5812         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseEnumCtr_ctr2_, NDR_POINTER_UNIQUE, "Pointer to Ctr2 (wkssvc_NetrUseEnumCtr2)",hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr2);
5813
5814         return offset;
5815 }
5816
5817 static int
5818 wkssvc_dissect_element_NetrUseEnumCtr_ctr2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5819 {
5820         offset = wkssvc_dissect_struct_NetrUseEnumCtr2(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr2,0);
5821
5822         return offset;
5823 }
5824
5825 static int
5826 wkssvc_dissect_NetrUseEnumCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5827 {
5828         proto_item *item = NULL;
5829         proto_tree *tree = NULL;
5830         int old_offset;
5831         guint32 level;
5832
5833         old_offset = offset;
5834         if (parent_tree) {
5835                 item = proto_tree_add_text(parent_tree, tvb, offset, -1, "wkssvc_NetrUseEnumCtr");
5836                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseEnumCtr);
5837         }
5838
5839         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level);
5840         ALIGN_TO_5_BYTES;
5841
5842         switch(level) {
5843                 case 0:
5844                         offset = wkssvc_dissect_element_NetrUseEnumCtr_ctr0(tvb, offset, pinfo, tree, drep);
5845                 break;
5846
5847                 case 1:
5848                         offset = wkssvc_dissect_element_NetrUseEnumCtr_ctr1(tvb, offset, pinfo, tree, drep);
5849                 break;
5850
5851                 case 2:
5852                         offset = wkssvc_dissect_element_NetrUseEnumCtr_ctr2(tvb, offset, pinfo, tree, drep);
5853                 break;
5854         }
5855         proto_item_set_len(item, offset-old_offset);
5856
5857
5858         return offset;
5859 }
5860
5861 /* IDL: struct { */
5862 /* IDL:         uint32 level; */
5863 /* IDL:         [switch_is(level)] wkssvc_NetrUseEnumCtr ctr; */
5864 /* IDL: } */
5865
5866 static int
5867 wkssvc_dissect_element_NetrUseEnumInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *level)
5868 {
5869         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseEnumInfo_level, level);
5870
5871         return offset;
5872 }
5873
5874 static int
5875 wkssvc_dissect_element_NetrUseEnumInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *level)
5876 {
5877         offset = wkssvc_dissect_NetrUseEnumCtr(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseEnumInfo_ctr, *level);
5878
5879         return offset;
5880 }
5881
5882 int
5883 wkssvc_dissect_struct_NetrUseEnumInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5884 {
5885         guint32 level;
5886         proto_item *item = NULL;
5887         proto_tree *tree = NULL;
5888         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
5889         int old_offset;
5890
5891         ALIGN_TO_5_BYTES;
5892
5893         old_offset = offset;
5894
5895         if (parent_tree) {
5896                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
5897                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseEnumInfo);
5898         }
5899         
5900         offset = wkssvc_dissect_element_NetrUseEnumInfo_level(tvb, offset, pinfo, tree, drep, &level);
5901
5902         offset = wkssvc_dissect_element_NetrUseEnumInfo_ctr(tvb, offset, pinfo, tree, drep, &level);
5903
5904
5905         proto_item_set_len(item, offset-old_offset);
5906
5907
5908         if (di->call_data->flags & DCERPC_IS_NDR64) {
5909                 ALIGN_TO_5_BYTES;
5910         }
5911
5912         return offset;
5913 }
5914
5915
5916 /* IDL: struct { */
5917 /* IDL:         hyper unknown1; */
5918 /* IDL:         hyper unknown2; */
5919 /* IDL:         hyper unknown3; */
5920 /* IDL:         hyper unknown4; */
5921 /* IDL:         hyper unknown5; */
5922 /* IDL:         hyper unknown6; */
5923 /* IDL:         hyper unknown7; */
5924 /* IDL:         hyper unknown8; */
5925 /* IDL:         hyper unknown9; */
5926 /* IDL:         hyper unknown10; */
5927 /* IDL:         hyper unknown11; */
5928 /* IDL:         hyper unknown12; */
5929 /* IDL:         hyper unknown13; */
5930 /* IDL:         uint32 unknown14; */
5931 /* IDL:         uint32 unknown15; */
5932 /* IDL:         uint32 unknown16; */
5933 /* IDL:         uint32 unknown17; */
5934 /* IDL:         uint32 unknown18; */
5935 /* IDL:         uint32 unknown19; */
5936 /* IDL:         uint32 unknown20; */
5937 /* IDL:         uint32 unknown21; */
5938 /* IDL:         uint32 unknown22; */
5939 /* IDL:         uint32 unknown23; */
5940 /* IDL:         uint32 unknown24; */
5941 /* IDL:         uint32 unknown25; */
5942 /* IDL:         uint32 unknown26; */
5943 /* IDL:         uint32 unknown27; */
5944 /* IDL:         uint32 unknown28; */
5945 /* IDL:         uint32 unknown29; */
5946 /* IDL:         uint32 unknown30; */
5947 /* IDL:         uint32 unknown31; */
5948 /* IDL:         uint32 unknown32; */
5949 /* IDL:         uint32 unknown33; */
5950 /* IDL:         uint32 unknown34; */
5951 /* IDL:         uint32 unknown35; */
5952 /* IDL:         uint32 unknown36; */
5953 /* IDL:         uint32 unknown37; */
5954 /* IDL:         uint32 unknown38; */
5955 /* IDL:         uint32 unknown39; */
5956 /* IDL:         uint32 unknown40; */
5957 /* IDL: } */
5958
5959 static int
5960 wkssvc_dissect_element_NetrWorkstationStatistics_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5961 {
5962         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown1, NULL);
5963
5964         return offset;
5965 }
5966
5967 static int
5968 wkssvc_dissect_element_NetrWorkstationStatistics_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5969 {
5970         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown2, NULL);
5971
5972         return offset;
5973 }
5974
5975 static int
5976 wkssvc_dissect_element_NetrWorkstationStatistics_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5977 {
5978         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown3, NULL);
5979
5980         return offset;
5981 }
5982
5983 static int
5984 wkssvc_dissect_element_NetrWorkstationStatistics_unknown4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5985 {
5986         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown4, NULL);
5987
5988         return offset;
5989 }
5990
5991 static int
5992 wkssvc_dissect_element_NetrWorkstationStatistics_unknown5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5993 {
5994         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown5, NULL);
5995
5996         return offset;
5997 }
5998
5999 static int
6000 wkssvc_dissect_element_NetrWorkstationStatistics_unknown6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6001 {
6002         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown6, NULL);
6003
6004         return offset;
6005 }
6006
6007 static int
6008 wkssvc_dissect_element_NetrWorkstationStatistics_unknown7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6009 {
6010         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown7, NULL);
6011
6012         return offset;
6013 }
6014
6015 static int
6016 wkssvc_dissect_element_NetrWorkstationStatistics_unknown8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6017 {
6018         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown8, NULL);
6019
6020         return offset;
6021 }
6022
6023 static int
6024 wkssvc_dissect_element_NetrWorkstationStatistics_unknown9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6025 {
6026         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown9, NULL);
6027
6028         return offset;
6029 }
6030
6031 static int
6032 wkssvc_dissect_element_NetrWorkstationStatistics_unknown10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6033 {
6034         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown10, NULL);
6035
6036         return offset;
6037 }
6038
6039 static int
6040 wkssvc_dissect_element_NetrWorkstationStatistics_unknown11(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6041 {
6042         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown11, NULL);
6043
6044         return offset;
6045 }
6046
6047 static int
6048 wkssvc_dissect_element_NetrWorkstationStatistics_unknown12(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6049 {
6050         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown12, NULL);
6051
6052         return offset;
6053 }
6054
6055 static int
6056 wkssvc_dissect_element_NetrWorkstationStatistics_unknown13(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6057 {
6058         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown13, NULL);
6059
6060         return offset;
6061 }
6062
6063 static int
6064 wkssvc_dissect_element_NetrWorkstationStatistics_unknown14(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6065 {
6066         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown14, 0);
6067
6068         return offset;
6069 }
6070
6071 static int
6072 wkssvc_dissect_element_NetrWorkstationStatistics_unknown15(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6073 {
6074         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown15, 0);
6075
6076         return offset;
6077 }
6078
6079 static int
6080 wkssvc_dissect_element_NetrWorkstationStatistics_unknown16(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6081 {
6082         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown16, 0);
6083
6084         return offset;
6085 }
6086
6087 static int
6088 wkssvc_dissect_element_NetrWorkstationStatistics_unknown17(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6089 {
6090         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown17, 0);
6091
6092         return offset;
6093 }
6094
6095 static int
6096 wkssvc_dissect_element_NetrWorkstationStatistics_unknown18(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6097 {
6098         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown18, 0);
6099
6100         return offset;
6101 }
6102
6103 static int
6104 wkssvc_dissect_element_NetrWorkstationStatistics_unknown19(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6105 {
6106         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown19, 0);
6107
6108         return offset;
6109 }
6110
6111 static int
6112 wkssvc_dissect_element_NetrWorkstationStatistics_unknown20(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6113 {
6114         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown20, 0);
6115
6116         return offset;
6117 }
6118
6119 static int
6120 wkssvc_dissect_element_NetrWorkstationStatistics_unknown21(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6121 {
6122         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown21, 0);
6123
6124         return offset;
6125 }
6126
6127 static int
6128 wkssvc_dissect_element_NetrWorkstationStatistics_unknown22(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6129 {
6130         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown22, 0);
6131
6132         return offset;
6133 }
6134
6135 static int
6136 wkssvc_dissect_element_NetrWorkstationStatistics_unknown23(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6137 {
6138         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown23, 0);
6139
6140         return offset;
6141 }
6142
6143 static int
6144 wkssvc_dissect_element_NetrWorkstationStatistics_unknown24(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6145 {
6146         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown24, 0);
6147
6148         return offset;
6149 }
6150
6151 static int
6152 wkssvc_dissect_element_NetrWorkstationStatistics_unknown25(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6153 {
6154         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown25, 0);
6155
6156         return offset;
6157 }
6158
6159 static int
6160 wkssvc_dissect_element_NetrWorkstationStatistics_unknown26(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6161 {
6162         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown26, 0);
6163
6164         return offset;
6165 }
6166
6167 static int
6168 wkssvc_dissect_element_NetrWorkstationStatistics_unknown27(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6169 {
6170         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown27, 0);
6171
6172         return offset;
6173 }
6174
6175 static int
6176 wkssvc_dissect_element_NetrWorkstationStatistics_unknown28(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6177 {
6178         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown28, 0);
6179
6180         return offset;
6181 }
6182
6183 static int
6184 wkssvc_dissect_element_NetrWorkstationStatistics_unknown29(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6185 {
6186         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown29, 0);
6187
6188         return offset;
6189 }
6190
6191 static int
6192 wkssvc_dissect_element_NetrWorkstationStatistics_unknown30(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6193 {
6194         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown30, 0);
6195
6196         return offset;
6197 }
6198
6199 static int
6200 wkssvc_dissect_element_NetrWorkstationStatistics_unknown31(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6201 {
6202         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown31, 0);
6203
6204         return offset;
6205 }
6206
6207 static int
6208 wkssvc_dissect_element_NetrWorkstationStatistics_unknown32(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6209 {
6210         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown32, 0);
6211
6212         return offset;
6213 }
6214
6215 static int
6216 wkssvc_dissect_element_NetrWorkstationStatistics_unknown33(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6217 {
6218         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown33, 0);
6219
6220         return offset;
6221 }
6222
6223 static int
6224 wkssvc_dissect_element_NetrWorkstationStatistics_unknown34(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6225 {
6226         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown34, 0);
6227
6228         return offset;
6229 }
6230
6231 static int
6232 wkssvc_dissect_element_NetrWorkstationStatistics_unknown35(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6233 {
6234         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown35, 0);
6235
6236         return offset;
6237 }
6238
6239 static int
6240 wkssvc_dissect_element_NetrWorkstationStatistics_unknown36(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6241 {
6242         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown36, 0);
6243
6244         return offset;
6245 }
6246
6247 static int
6248 wkssvc_dissect_element_NetrWorkstationStatistics_unknown37(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6249 {
6250         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown37, 0);
6251
6252         return offset;
6253 }
6254
6255 static int
6256 wkssvc_dissect_element_NetrWorkstationStatistics_unknown38(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6257 {
6258         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown38, 0);
6259
6260         return offset;
6261 }
6262
6263 static int
6264 wkssvc_dissect_element_NetrWorkstationStatistics_unknown39(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6265 {
6266         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown39, 0);
6267
6268         return offset;
6269 }
6270
6271 static int
6272 wkssvc_dissect_element_NetrWorkstationStatistics_unknown40(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6273 {
6274         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown40, 0);
6275
6276         return offset;
6277 }
6278
6279 int
6280 wkssvc_dissect_struct_NetrWorkstationStatistics(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6281 {
6282         proto_item *item = NULL;
6283         proto_tree *tree = NULL;
6284         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
6285         int old_offset;
6286
6287         ALIGN_TO_8_BYTES;
6288
6289         old_offset = offset;
6290
6291         if (parent_tree) {
6292                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6293                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrWorkstationStatistics);
6294         }
6295         
6296         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown1(tvb, offset, pinfo, tree, drep);
6297
6298         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown2(tvb, offset, pinfo, tree, drep);
6299
6300         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown3(tvb, offset, pinfo, tree, drep);
6301
6302         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown4(tvb, offset, pinfo, tree, drep);
6303
6304         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown5(tvb, offset, pinfo, tree, drep);
6305
6306         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown6(tvb, offset, pinfo, tree, drep);
6307
6308         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown7(tvb, offset, pinfo, tree, drep);
6309
6310         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown8(tvb, offset, pinfo, tree, drep);
6311
6312         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown9(tvb, offset, pinfo, tree, drep);
6313
6314         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown10(tvb, offset, pinfo, tree, drep);
6315
6316         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown11(tvb, offset, pinfo, tree, drep);
6317
6318         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown12(tvb, offset, pinfo, tree, drep);
6319
6320         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown13(tvb, offset, pinfo, tree, drep);
6321
6322         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown14(tvb, offset, pinfo, tree, drep);
6323
6324         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown15(tvb, offset, pinfo, tree, drep);
6325
6326         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown16(tvb, offset, pinfo, tree, drep);
6327
6328         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown17(tvb, offset, pinfo, tree, drep);
6329
6330         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown18(tvb, offset, pinfo, tree, drep);
6331
6332         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown19(tvb, offset, pinfo, tree, drep);
6333
6334         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown20(tvb, offset, pinfo, tree, drep);
6335
6336         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown21(tvb, offset, pinfo, tree, drep);
6337
6338         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown22(tvb, offset, pinfo, tree, drep);
6339
6340         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown23(tvb, offset, pinfo, tree, drep);
6341
6342         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown24(tvb, offset, pinfo, tree, drep);
6343
6344         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown25(tvb, offset, pinfo, tree, drep);
6345
6346         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown26(tvb, offset, pinfo, tree, drep);
6347
6348         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown27(tvb, offset, pinfo, tree, drep);
6349
6350         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown28(tvb, offset, pinfo, tree, drep);
6351
6352         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown29(tvb, offset, pinfo, tree, drep);
6353
6354         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown30(tvb, offset, pinfo, tree, drep);
6355
6356         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown31(tvb, offset, pinfo, tree, drep);
6357
6358         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown32(tvb, offset, pinfo, tree, drep);
6359
6360         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown33(tvb, offset, pinfo, tree, drep);
6361
6362         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown34(tvb, offset, pinfo, tree, drep);
6363
6364         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown35(tvb, offset, pinfo, tree, drep);
6365
6366         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown36(tvb, offset, pinfo, tree, drep);
6367
6368         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown37(tvb, offset, pinfo, tree, drep);
6369
6370         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown38(tvb, offset, pinfo, tree, drep);
6371
6372         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown39(tvb, offset, pinfo, tree, drep);
6373
6374         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown40(tvb, offset, pinfo, tree, drep);
6375
6376
6377         proto_item_set_len(item, offset-old_offset);
6378
6379
6380         if (di->call_data->flags & DCERPC_IS_NDR64) {
6381                 ALIGN_TO_8_BYTES;
6382         }
6383
6384         return offset;
6385 }
6386
6387
6388 /* IDL: bitmap { */
6389 /* IDL:         WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE =  0x00000002 , */
6390 /* IDL: } */
6391
6392 int
6393 wkssvc_dissect_bitmap_renameflags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6394 {
6395         proto_item *item = NULL;
6396         proto_tree *tree = NULL;
6397
6398         guint32 flags;
6399         ALIGN_TO_4_BYTES;
6400
6401         if (parent_tree) {
6402                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, DREP_ENC_INTEGER(drep));
6403                 tree = proto_item_add_subtree(item,ett_wkssvc_wkssvc_renameflags);
6404         }
6405
6406         offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
6407         proto_item_append_text(item, ": ");
6408
6409         if (!flags)
6410                 proto_item_append_text(item, "(No values set)");
6411
6412         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_renameflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE, tvb, offset-4, 4, flags);
6413         if (flags&( 0x00000002 )){
6414                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE");
6415                 if (flags & (~( 0x00000002 )))
6416                         proto_item_append_text(item, ", ");
6417         }
6418         flags&=(~( 0x00000002 ));
6419
6420         if (flags) {
6421                 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
6422         }
6423
6424         return offset;
6425 }
6426
6427
6428 /* IDL: enum { */
6429 /* IDL:         NetSetupUnknown=0, */
6430 /* IDL:         NetSetupMachine=1, */
6431 /* IDL:         NetSetupWorkgroup=2, */
6432 /* IDL:         NetSetupDomain=3, */
6433 /* IDL:         NetSetupNonExistentDomain=4, */
6434 /* IDL:         NetSetupDnsMachine=5, */
6435 /* IDL: } */
6436
6437 int
6438 wkssvc_dissect_enum_NetValidateNameType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
6439 {
6440         guint1632 parameter=0;
6441         if(param){
6442                 parameter=(guint1632)*param;
6443         }
6444         offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
6445         if(param){
6446                 *param=(guint32)parameter;
6447         }
6448         return offset;
6449 }
6450
6451
6452 /* IDL: enum { */
6453 /* IDL:         NET_SETUP_UNKNOWN_STATUS=0, */
6454 /* IDL:         NET_SETUP_UNJOINED=1, */
6455 /* IDL:         NET_SETUP_WORKGROUP_NAME=2, */
6456 /* IDL:         NET_SETUP_DOMAIN_NAME=3, */
6457 /* IDL: } */
6458
6459 int
6460 wkssvc_dissect_enum_NetJoinStatus(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
6461 {
6462         guint1632 parameter=0;
6463         if(param){
6464                 parameter=(guint1632)*param;
6465         }
6466         offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
6467         if(param){
6468                 *param=(guint32)parameter;
6469         }
6470         return offset;
6471 }
6472
6473
6474 /* IDL: struct { */
6475 /* IDL:         uint8 data[524]; */
6476 /* IDL: } */
6477
6478 static int
6479 wkssvc_dissect_element_PasswordBuffer_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6480 {
6481         dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
6482         int conformant = di->conformant_run;
6483         if (!conformant) {
6484                 offset = wkssvc_dissect_element_PasswordBuffer_data_(tvb, offset, 524, pinfo, tree, drep);
6485         }
6486
6487         return offset;
6488 }
6489
6490 static int
6491 wkssvc_dissect_element_PasswordBuffer_data_(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6492 {
6493         proto_tree_add_bytes(tree, hf_wkssvc_wkssvc_PasswordBuffer_data, tvb, offset, length, tvb_get_ptr(tvb, offset,length)); offset += length;
6494
6495         return offset;
6496 }
6497
6498 int
6499 wkssvc_dissect_struct_PasswordBuffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6500 {
6501         proto_item *item = NULL;
6502         proto_tree *tree = NULL;
6503         int old_offset;
6504
6505
6506         old_offset = offset;
6507
6508         if (parent_tree) {
6509                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6510                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_PasswordBuffer);
6511         }
6512         
6513         offset = wkssvc_dissect_element_PasswordBuffer_data(tvb, offset, pinfo, tree, drep);
6514
6515
6516         proto_item_set_len(item, offset-old_offset);
6517
6518
6519         return offset;
6520 }
6521
6522
6523 /* IDL: bitmap { */
6524 /* IDL:         WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS =  0x10000000 , */
6525 /* IDL:         WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME =  0x00000400 , */
6526 /* IDL:         WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT =  0x00000200 , */
6527 /* IDL:         WKSSVC_JOIN_FLAGS_DEFER_SPN =  0x00000100 , */
6528 /* IDL:         WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED =  0x00000080 , */
6529 /* IDL:         WKSSVC_JOIN_FLAGS_JOIN_UNSECURE =  0x00000040 , */
6530 /* IDL:         WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED =  0x00000020 , */
6531 /* IDL:         WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE =  0x00000010 , */
6532 /* IDL:         WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE =  0x00000004 , */
6533 /* IDL:         WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE =  0x00000002 , */
6534 /* IDL:         WKSSVC_JOIN_FLAGS_JOIN_TYPE =  0x00000001 , */
6535 /* IDL: } */
6536
6537 int
6538 wkssvc_dissect_bitmap_joinflags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6539 {
6540         proto_item *item = NULL;
6541         proto_tree *tree = NULL;
6542
6543         guint32 flags;
6544         ALIGN_TO_4_BYTES;
6545
6546         if (parent_tree) {
6547                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, DREP_ENC_INTEGER(drep));
6548                 tree = proto_item_add_subtree(item,ett_wkssvc_wkssvc_joinflags);
6549         }
6550
6551         offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
6552         proto_item_append_text(item, ": ");
6553
6554         if (!flags)
6555                 proto_item_append_text(item, "(No values set)");
6556
6557         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS, tvb, offset-4, 4, flags);
6558         if (flags&( 0x10000000 )){
6559                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS");
6560                 if (flags & (~( 0x10000000 )))
6561                         proto_item_append_text(item, ", ");
6562         }
6563         flags&=(~( 0x10000000 ));
6564
6565         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME, tvb, offset-4, 4, flags);
6566         if (flags&( 0x00000400 )){
6567                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME");
6568                 if (flags & (~( 0x00000400 )))
6569                         proto_item_append_text(item, ", ");
6570         }
6571         flags&=(~( 0x00000400 ));
6572
6573         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT, tvb, offset-4, 4, flags);
6574         if (flags&( 0x00000200 )){
6575                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT");
6576                 if (flags & (~( 0x00000200 )))
6577                         proto_item_append_text(item, ", ");
6578         }
6579         flags&=(~( 0x00000200 ));
6580
6581         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DEFER_SPN, tvb, offset-4, 4, flags);
6582         if (flags&( 0x00000100 )){
6583                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_DEFER_SPN");
6584                 if (flags & (~( 0x00000100 )))
6585                         proto_item_append_text(item, ", ");
6586         }
6587         flags&=(~( 0x00000100 ));
6588
6589         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED, tvb, offset-4, 4, flags);
6590         if (flags&( 0x00000080 )){
6591                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED");
6592                 if (flags & (~( 0x00000080 )))
6593                         proto_item_append_text(item, ", ");
6594         }
6595         flags&=(~( 0x00000080 ));
6596
6597         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_UNSECURE, tvb, offset-4, 4, flags);
6598         if (flags&( 0x00000040 )){
6599                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_JOIN_UNSECURE");
6600                 if (flags & (~( 0x00000040 )))
6601                         proto_item_append_text(item, ", ");
6602         }
6603         flags&=(~( 0x00000040 ));
6604
6605         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED, tvb, offset-4, 4, flags);
6606         if (flags&( 0x00000020 )){
6607                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED");
6608                 if (flags & (~( 0x00000020 )))
6609                         proto_item_append_text(item, ", ");
6610         }
6611         flags&=(~( 0x00000020 ));
6612
6613         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE, tvb, offset-4, 4, flags);
6614         if (flags&( 0x00000010 )){
6615                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE");
6616                 if (flags & (~( 0x00000010 )))
6617                         proto_item_append_text(item, ", ");
6618         }
6619         flags&=(~( 0x00000010 ));
6620
6621         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE, tvb, offset-4, 4, flags);
6622         if (flags&( 0x00000004 )){
6623                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE");
6624                 if (flags & (~( 0x00000004 )))
6625                         proto_item_append_text(item, ", ");
6626         }
6627         flags&=(~( 0x00000004 ));
6628
6629         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE, tvb, offset-4, 4, flags);
6630         if (flags&( 0x00000002 )){
6631                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE");
6632                 if (flags & (~( 0x00000002 )))
6633                         proto_item_append_text(item, ", ");
6634         }
6635         flags&=(~( 0x00000002 ));
6636
6637         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_TYPE, tvb, offset-4, 4, flags);
6638         if (flags&( 0x00000001 )){
6639                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_JOIN_TYPE");
6640                 if (flags & (~( 0x00000001 )))
6641                         proto_item_append_text(item, ", ");
6642         }
6643         flags&=(~( 0x00000001 ));
6644
6645         if (flags) {
6646                 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
6647         }
6648
6649         return offset;
6650 }
6651
6652
6653 /* IDL: enum { */
6654 /* IDL:         NetPrimaryComputerName=0, */
6655 /* IDL:         NetAlternateComputerNames=1, */
6656 /* IDL:         NetAllComputerNames=2, */
6657 /* IDL:         NetComputerNameTypeMax=3, */
6658 /* IDL: } */
6659
6660 int
6661 wkssvc_dissect_enum_ComputerNameType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
6662 {
6663         guint1632 parameter=0;
6664         if(param){
6665                 parameter=(guint1632)*param;
6666         }
6667         offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, drep, hf_index, &parameter);
6668         if(param){
6669                 *param=(guint32)parameter;
6670         }
6671         return offset;
6672 }
6673
6674
6675 /* IDL: struct { */
6676 /* IDL:         uint32 count; */
6677 /* IDL:         [unique(1)] [size_is(count)] lsa_String *computer_name; */
6678 /* IDL: } */
6679
6680 static int
6681 wkssvc_dissect_element_ComputerNamesCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6682 {
6683         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_ComputerNamesCtr_count, 0);
6684
6685         return offset;
6686 }
6687
6688 static int
6689 wkssvc_dissect_element_ComputerNamesCtr_computer_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6690 {
6691         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_ComputerNamesCtr_computer_name_, NDR_POINTER_UNIQUE, "Pointer to Computer Name (lsa_String)",hf_wkssvc_wkssvc_ComputerNamesCtr_computer_name);
6692
6693         return offset;
6694 }
6695
6696 static int
6697 wkssvc_dissect_element_ComputerNamesCtr_computer_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6698 {
6699         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_ComputerNamesCtr_computer_name__);
6700
6701         return offset;
6702 }
6703
6704 static int
6705 wkssvc_dissect_element_ComputerNamesCtr_computer_name__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6706 {
6707         offset = wkssvc_dissect_struct_lsa_String(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_ComputerNamesCtr_computer_name,0);
6708
6709         return offset;
6710 }
6711
6712 int
6713 wkssvc_dissect_struct_ComputerNamesCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6714 {
6715         proto_item *item = NULL;
6716         proto_tree *tree = NULL;
6717         dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
6718         int old_offset;
6719
6720         ALIGN_TO_5_BYTES;
6721
6722         old_offset = offset;
6723
6724         if (parent_tree) {
6725                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
6726                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_ComputerNamesCtr);
6727         }
6728         
6729         offset = wkssvc_dissect_element_ComputerNamesCtr_count(tvb, offset, pinfo, tree, drep);
6730
6731         offset = wkssvc_dissect_element_ComputerNamesCtr_computer_name(tvb, offset, pinfo, tree, drep);
6732
6733
6734         proto_item_set_len(item, offset-old_offset);
6735
6736
6737         if (di->call_data->flags & DCERPC_IS_NDR64) {
6738                 ALIGN_TO_5_BYTES;
6739         }
6740
6741         return offset;
6742 }
6743
6744 static int
6745 wkssvc_dissect_element_NetWkstaGetInfo_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6746 {
6747         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaGetInfo_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetWkstaGetInfo_server_name);
6748
6749         return offset;
6750 }
6751
6752 static int
6753 wkssvc_dissect_element_NetWkstaGetInfo_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6754 {
6755         char *data;
6756
6757         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaGetInfo_server_name, FALSE, &data);
6758         proto_item_append_text(tree, ": %s", data);
6759
6760         return offset;
6761 }
6762
6763 static int
6764 wkssvc_dissect_element_NetWkstaGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6765 {
6766         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaGetInfo_level, 0);
6767
6768         return offset;
6769 }
6770
6771 static int
6772 wkssvc_dissect_element_NetWkstaGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6773 {
6774         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaGetInfo_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetWkstaInfo)",hf_wkssvc_wkssvc_NetWkstaGetInfo_info);
6775
6776         return offset;
6777 }
6778
6779 static int
6780 wkssvc_dissect_element_NetWkstaGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6781 {
6782         offset = wkssvc_dissect_NetWkstaInfo(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaGetInfo_info, *0);
6783
6784         return offset;
6785 }
6786
6787 /* IDL: WERROR wkssvc_NetWkstaGetInfo( */
6788 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
6789 /* IDL: [in] uint32 level, */
6790 /* IDL: [out] [ref] [switch_is(level)] wkssvc_NetWkstaInfo *info */
6791 /* IDL: ); */
6792
6793 static int
6794 wkssvc_dissect_NetWkstaGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6795 {
6796         guint32 status;
6797
6798         pinfo->dcerpc_procedure_name="NetWkstaGetInfo";
6799         offset = wkssvc_dissect_element_NetWkstaGetInfo_info(tvb, offset, pinfo, tree, drep);
6800         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
6801
6802         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
6803
6804         if (status != 0)
6805                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
6806
6807         return offset;
6808 }
6809
6810 static int
6811 wkssvc_dissect_NetWkstaGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6812 {
6813         pinfo->dcerpc_procedure_name="NetWkstaGetInfo";
6814         offset = wkssvc_dissect_element_NetWkstaGetInfo_server_name(tvb, offset, pinfo, tree, drep);
6815         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
6816         offset = wkssvc_dissect_element_NetWkstaGetInfo_level(tvb, offset, pinfo, tree, drep);
6817         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
6818         return offset;
6819 }
6820
6821 static int
6822 wkssvc_dissect_element_NetWkstaSetInfo_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6823 {
6824         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaSetInfo_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetWkstaSetInfo_server_name);
6825
6826         return offset;
6827 }
6828
6829 static int
6830 wkssvc_dissect_element_NetWkstaSetInfo_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6831 {
6832         char *data;
6833
6834         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaSetInfo_server_name, FALSE, &data);
6835         proto_item_append_text(tree, ": %s", data);
6836
6837         return offset;
6838 }
6839
6840 static int
6841 wkssvc_dissect_element_NetWkstaSetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6842 {
6843         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaSetInfo_level, 0);
6844
6845         return offset;
6846 }
6847
6848 static int
6849 wkssvc_dissect_element_NetWkstaSetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6850 {
6851         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaSetInfo_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetWkstaInfo)",hf_wkssvc_wkssvc_NetWkstaSetInfo_info);
6852
6853         return offset;
6854 }
6855
6856 static int
6857 wkssvc_dissect_element_NetWkstaSetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6858 {
6859         offset = wkssvc_dissect_NetWkstaInfo(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaSetInfo_info, *0);
6860
6861         return offset;
6862 }
6863
6864 static int
6865 wkssvc_dissect_element_NetWkstaSetInfo_parm_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6866 {
6867         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaSetInfo_parm_error_, NDR_POINTER_REF, "Pointer to Parm Error (uint32)",hf_wkssvc_wkssvc_NetWkstaSetInfo_parm_error);
6868
6869         return offset;
6870 }
6871
6872 static int
6873 wkssvc_dissect_element_NetWkstaSetInfo_parm_error_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6874 {
6875         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaSetInfo_parm_error, 0);
6876
6877         return offset;
6878 }
6879
6880 /* IDL: WERROR wkssvc_NetWkstaSetInfo( */
6881 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
6882 /* IDL: [in] uint32 level, */
6883 /* IDL: [in] [ref] [switch_is(level)] wkssvc_NetWkstaInfo *info, */
6884 /* IDL: [out] [in] [ref] uint32 *parm_error */
6885 /* IDL: ); */
6886
6887 static int
6888 wkssvc_dissect_NetWkstaSetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6889 {
6890         guint32 status;
6891
6892         pinfo->dcerpc_procedure_name="NetWkstaSetInfo";
6893         offset = wkssvc_dissect_element_NetWkstaSetInfo_parm_error(tvb, offset, pinfo, tree, drep);
6894         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
6895
6896         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
6897
6898         if (status != 0)
6899                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
6900
6901         return offset;
6902 }
6903
6904 static int
6905 wkssvc_dissect_NetWkstaSetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6906 {
6907         pinfo->dcerpc_procedure_name="NetWkstaSetInfo";
6908         offset = wkssvc_dissect_element_NetWkstaSetInfo_server_name(tvb, offset, pinfo, tree, drep);
6909         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
6910         offset = wkssvc_dissect_element_NetWkstaSetInfo_level(tvb, offset, pinfo, tree, drep);
6911         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
6912         offset = wkssvc_dissect_element_NetWkstaSetInfo_info(tvb, offset, pinfo, tree, drep);
6913         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
6914         offset = wkssvc_dissect_element_NetWkstaSetInfo_parm_error(tvb, offset, pinfo, tree, drep);
6915         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
6916         return offset;
6917 }
6918
6919 static int
6920 wkssvc_dissect_element_NetWkstaEnumUsers_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6921 {
6922         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaEnumUsers_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetWkstaEnumUsers_server_name);
6923
6924         return offset;
6925 }
6926
6927 static int
6928 wkssvc_dissect_element_NetWkstaEnumUsers_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6929 {
6930         char *data;
6931
6932         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaEnumUsers_server_name, FALSE, &data);
6933         proto_item_append_text(tree, ": %s", data);
6934
6935         return offset;
6936 }
6937
6938 static int
6939 wkssvc_dissect_element_NetWkstaEnumUsers_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6940 {
6941         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaEnumUsers_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetWkstaEnumUsersInfo)",hf_wkssvc_wkssvc_NetWkstaEnumUsers_info);
6942
6943         return offset;
6944 }
6945
6946 static int
6947 wkssvc_dissect_element_NetWkstaEnumUsers_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6948 {
6949         offset = wkssvc_dissect_struct_NetWkstaEnumUsersInfo(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaEnumUsers_info,0);
6950
6951         return offset;
6952 }
6953
6954 static int
6955 wkssvc_dissect_element_NetWkstaEnumUsers_prefmaxlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6956 {
6957         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaEnumUsers_prefmaxlen, 0);
6958
6959         return offset;
6960 }
6961
6962 static int
6963 wkssvc_dissect_element_NetWkstaEnumUsers_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6964 {
6965         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaEnumUsers_entries_read_, NDR_POINTER_REF, "Pointer to Entries Read (uint32)",hf_wkssvc_wkssvc_NetWkstaEnumUsers_entries_read);
6966
6967         return offset;
6968 }
6969
6970 static int
6971 wkssvc_dissect_element_NetWkstaEnumUsers_entries_read_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6972 {
6973         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaEnumUsers_entries_read, 0);
6974
6975         return offset;
6976 }
6977
6978 static int
6979 wkssvc_dissect_element_NetWkstaEnumUsers_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6980 {
6981         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaEnumUsers_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_wkssvc_wkssvc_NetWkstaEnumUsers_resume_handle);
6982
6983         return offset;
6984 }
6985
6986 static int
6987 wkssvc_dissect_element_NetWkstaEnumUsers_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
6988 {
6989         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaEnumUsers_resume_handle, 0);
6990
6991         return offset;
6992 }
6993
6994 /* IDL: WERROR wkssvc_NetWkstaEnumUsers( */
6995 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
6996 /* IDL: [out] [in] [ref] wkssvc_NetWkstaEnumUsersInfo *info, */
6997 /* IDL: [in] uint32 prefmaxlen, */
6998 /* IDL: [out] [ref] uint32 *entries_read, */
6999 /* IDL: [out] [unique(1)] [in] uint32 *resume_handle */
7000 /* IDL: ); */
7001
7002 static int
7003 wkssvc_dissect_NetWkstaEnumUsers_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7004 {
7005         guint32 status;
7006
7007         pinfo->dcerpc_procedure_name="NetWkstaEnumUsers";
7008         offset = wkssvc_dissect_element_NetWkstaEnumUsers_info(tvb, offset, pinfo, tree, drep);
7009         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7010
7011         offset = wkssvc_dissect_element_NetWkstaEnumUsers_entries_read(tvb, offset, pinfo, tree, drep);
7012         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7013
7014         offset = wkssvc_dissect_element_NetWkstaEnumUsers_resume_handle(tvb, offset, pinfo, tree, drep);
7015         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7016
7017         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
7018
7019         if (status != 0)
7020                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7021
7022         return offset;
7023 }
7024
7025 static int
7026 wkssvc_dissect_NetWkstaEnumUsers_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7027 {
7028         pinfo->dcerpc_procedure_name="NetWkstaEnumUsers";
7029         offset = wkssvc_dissect_element_NetWkstaEnumUsers_server_name(tvb, offset, pinfo, tree, drep);
7030         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7031         offset = wkssvc_dissect_element_NetWkstaEnumUsers_info(tvb, offset, pinfo, tree, drep);
7032         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7033         offset = wkssvc_dissect_element_NetWkstaEnumUsers_prefmaxlen(tvb, offset, pinfo, tree, drep);
7034         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7035         offset = wkssvc_dissect_element_NetWkstaEnumUsers_resume_handle(tvb, offset, pinfo, tree, drep);
7036         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7037         return offset;
7038 }
7039
7040 static int
7041 wkssvc_dissect_element_NetrWkstaUserGetInfo_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7042 {
7043         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaUserGetInfo_unknown_, NDR_POINTER_UNIQUE, "Pointer to Unknown (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_unknown);
7044
7045         return offset;
7046 }
7047
7048 static int
7049 wkssvc_dissect_element_NetrWkstaUserGetInfo_unknown_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7050 {
7051         char *data;
7052
7053         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_unknown, FALSE, &data);
7054         proto_item_append_text(tree, ": %s", data);
7055
7056         return offset;
7057 }
7058
7059 static int
7060 wkssvc_dissect_element_NetrWkstaUserGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7061 {
7062         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_level, 0);
7063
7064         return offset;
7065 }
7066
7067 static int
7068 wkssvc_dissect_element_NetrWkstaUserGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7069 {
7070         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaUserGetInfo_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetrWkstaUserInfo)",hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_info);
7071
7072         return offset;
7073 }
7074
7075 static int
7076 wkssvc_dissect_element_NetrWkstaUserGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7077 {
7078         offset = wkssvc_dissect_NetrWkstaUserInfo(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_info, *0);
7079
7080         return offset;
7081 }
7082
7083 /* IDL: WERROR wkssvc_NetrWkstaUserGetInfo( */
7084 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *unknown, */
7085 /* IDL: [in] uint32 level, */
7086 /* IDL: [out] [ref] [switch_is(level)] wkssvc_NetrWkstaUserInfo *info */
7087 /* IDL: ); */
7088
7089 static int
7090 wkssvc_dissect_NetrWkstaUserGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7091 {
7092         guint32 status;
7093
7094         pinfo->dcerpc_procedure_name="NetrWkstaUserGetInfo";
7095         offset = wkssvc_dissect_element_NetrWkstaUserGetInfo_info(tvb, offset, pinfo, tree, drep);
7096         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7097
7098         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
7099
7100         if (status != 0)
7101                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7102
7103         return offset;
7104 }
7105
7106 static int
7107 wkssvc_dissect_NetrWkstaUserGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7108 {
7109         pinfo->dcerpc_procedure_name="NetrWkstaUserGetInfo";
7110         offset = wkssvc_dissect_element_NetrWkstaUserGetInfo_unknown(tvb, offset, pinfo, tree, drep);
7111         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7112         offset = wkssvc_dissect_element_NetrWkstaUserGetInfo_level(tvb, offset, pinfo, tree, drep);
7113         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7114         return offset;
7115 }
7116
7117 static int
7118 wkssvc_dissect_element_NetrWkstaUserSetInfo_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7119 {
7120         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaUserSetInfo_unknown_, NDR_POINTER_UNIQUE, "Pointer to Unknown (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_unknown);
7121
7122         return offset;
7123 }
7124
7125 static int
7126 wkssvc_dissect_element_NetrWkstaUserSetInfo_unknown_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7127 {
7128         char *data;
7129
7130         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_unknown, FALSE, &data);
7131         proto_item_append_text(tree, ": %s", data);
7132
7133         return offset;
7134 }
7135
7136 static int
7137 wkssvc_dissect_element_NetrWkstaUserSetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7138 {
7139         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_level, 0);
7140
7141         return offset;
7142 }
7143
7144 static int
7145 wkssvc_dissect_element_NetrWkstaUserSetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7146 {
7147         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaUserSetInfo_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetrWkstaUserInfo)",hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_info);
7148
7149         return offset;
7150 }
7151
7152 static int
7153 wkssvc_dissect_element_NetrWkstaUserSetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7154 {
7155         offset = wkssvc_dissect_NetrWkstaUserInfo(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_info, *0);
7156
7157         return offset;
7158 }
7159
7160 static int
7161 wkssvc_dissect_element_NetrWkstaUserSetInfo_parm_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7162 {
7163         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaUserSetInfo_parm_err_, NDR_POINTER_UNIQUE, "Pointer to Parm Err (uint32)",hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_parm_err);
7164
7165         return offset;
7166 }
7167
7168 static int
7169 wkssvc_dissect_element_NetrWkstaUserSetInfo_parm_err_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7170 {
7171         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_parm_err, 0);
7172
7173         return offset;
7174 }
7175
7176 /* IDL: WERROR wkssvc_NetrWkstaUserSetInfo( */
7177 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *unknown, */
7178 /* IDL: [in] uint32 level, */
7179 /* IDL: [ref] [in] [switch_is(level)] wkssvc_NetrWkstaUserInfo *info, */
7180 /* IDL: [out] [unique(1)] [in] uint32 *parm_err */
7181 /* IDL: ); */
7182
7183 static int
7184 wkssvc_dissect_NetrWkstaUserSetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7185 {
7186         guint32 status;
7187
7188         pinfo->dcerpc_procedure_name="NetrWkstaUserSetInfo";
7189         offset = wkssvc_dissect_element_NetrWkstaUserSetInfo_parm_err(tvb, offset, pinfo, tree, drep);
7190         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7191
7192         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
7193
7194         if (status != 0)
7195                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7196
7197         return offset;
7198 }
7199
7200 static int
7201 wkssvc_dissect_NetrWkstaUserSetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7202 {
7203         pinfo->dcerpc_procedure_name="NetrWkstaUserSetInfo";
7204         offset = wkssvc_dissect_element_NetrWkstaUserSetInfo_unknown(tvb, offset, pinfo, tree, drep);
7205         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7206         offset = wkssvc_dissect_element_NetrWkstaUserSetInfo_level(tvb, offset, pinfo, tree, drep);
7207         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7208         offset = wkssvc_dissect_element_NetrWkstaUserSetInfo_info(tvb, offset, pinfo, tree, drep);
7209         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7210         offset = wkssvc_dissect_element_NetrWkstaUserSetInfo_parm_err(tvb, offset, pinfo, tree, drep);
7211         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7212         return offset;
7213 }
7214
7215 static int
7216 wkssvc_dissect_element_NetWkstaTransportEnum_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7217 {
7218         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaTransportEnum_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetWkstaTransportEnum_server_name);
7219
7220         return offset;
7221 }
7222
7223 static int
7224 wkssvc_dissect_element_NetWkstaTransportEnum_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7225 {
7226         char *data;
7227
7228         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaTransportEnum_server_name, FALSE, &data);
7229         proto_item_append_text(tree, ": %s", data);
7230
7231         return offset;
7232 }
7233
7234 static int
7235 wkssvc_dissect_element_NetWkstaTransportEnum_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7236 {
7237         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaTransportEnum_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetWkstaTransportInfo)",hf_wkssvc_wkssvc_NetWkstaTransportEnum_info);
7238
7239         return offset;
7240 }
7241
7242 static int
7243 wkssvc_dissect_element_NetWkstaTransportEnum_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7244 {
7245         offset = wkssvc_dissect_struct_NetWkstaTransportInfo(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetWkstaTransportEnum_info,0);
7246
7247         return offset;
7248 }
7249
7250 static int
7251 wkssvc_dissect_element_NetWkstaTransportEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7252 {
7253         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaTransportEnum_max_buffer, 0);
7254
7255         return offset;
7256 }
7257
7258 static int
7259 wkssvc_dissect_element_NetWkstaTransportEnum_total_entries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7260 {
7261         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaTransportEnum_total_entries_, NDR_POINTER_REF, "Pointer to Total Entries (uint32)",hf_wkssvc_wkssvc_NetWkstaTransportEnum_total_entries);
7262
7263         return offset;
7264 }
7265
7266 static int
7267 wkssvc_dissect_element_NetWkstaTransportEnum_total_entries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7268 {
7269         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaTransportEnum_total_entries, 0);
7270
7271         return offset;
7272 }
7273
7274 static int
7275 wkssvc_dissect_element_NetWkstaTransportEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7276 {
7277         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetWkstaTransportEnum_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_wkssvc_wkssvc_NetWkstaTransportEnum_resume_handle);
7278
7279         return offset;
7280 }
7281
7282 static int
7283 wkssvc_dissect_element_NetWkstaTransportEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7284 {
7285         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetWkstaTransportEnum_resume_handle, 0);
7286
7287         return offset;
7288 }
7289
7290 /* IDL: WERROR wkssvc_NetWkstaTransportEnum( */
7291 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7292 /* IDL: [out] [in] [ref] wkssvc_NetWkstaTransportInfo *info, */
7293 /* IDL: [in] uint32 max_buffer, */
7294 /* IDL: [out] [ref] uint32 *total_entries, */
7295 /* IDL: [out] [unique(1)] [in] uint32 *resume_handle */
7296 /* IDL: ); */
7297
7298 static int
7299 wkssvc_dissect_NetWkstaTransportEnum_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7300 {
7301         guint32 status;
7302
7303         pinfo->dcerpc_procedure_name="NetWkstaTransportEnum";
7304         offset = wkssvc_dissect_element_NetWkstaTransportEnum_info(tvb, offset, pinfo, tree, drep);
7305         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7306
7307         offset = wkssvc_dissect_element_NetWkstaTransportEnum_total_entries(tvb, offset, pinfo, tree, drep);
7308         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7309
7310         offset = wkssvc_dissect_element_NetWkstaTransportEnum_resume_handle(tvb, offset, pinfo, tree, drep);
7311         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7312
7313         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
7314
7315         if (status != 0)
7316                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7317
7318         return offset;
7319 }
7320
7321 static int
7322 wkssvc_dissect_NetWkstaTransportEnum_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7323 {
7324         pinfo->dcerpc_procedure_name="NetWkstaTransportEnum";
7325         offset = wkssvc_dissect_element_NetWkstaTransportEnum_server_name(tvb, offset, pinfo, tree, drep);
7326         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7327         offset = wkssvc_dissect_element_NetWkstaTransportEnum_info(tvb, offset, pinfo, tree, drep);
7328         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7329         offset = wkssvc_dissect_element_NetWkstaTransportEnum_max_buffer(tvb, offset, pinfo, tree, drep);
7330         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7331         offset = wkssvc_dissect_element_NetWkstaTransportEnum_resume_handle(tvb, offset, pinfo, tree, drep);
7332         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7333         return offset;
7334 }
7335
7336 static int
7337 wkssvc_dissect_element_NetrWkstaTransportAdd_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7338 {
7339         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaTransportAdd_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrWkstaTransportAdd_server_name);
7340
7341         return offset;
7342 }
7343
7344 static int
7345 wkssvc_dissect_element_NetrWkstaTransportAdd_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7346 {
7347         char *data;
7348
7349         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaTransportAdd_server_name, FALSE, &data);
7350         proto_item_append_text(tree, ": %s", data);
7351
7352         return offset;
7353 }
7354
7355 static int
7356 wkssvc_dissect_element_NetrWkstaTransportAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7357 {
7358         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWkstaTransportAdd_level, 0);
7359
7360         return offset;
7361 }
7362
7363 static int
7364 wkssvc_dissect_element_NetrWkstaTransportAdd_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7365 {
7366         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaTransportAdd_info0_, NDR_POINTER_REF, "Pointer to Info0 (wkssvc_NetWkstaTransportInfo0)",hf_wkssvc_wkssvc_NetrWkstaTransportAdd_info0);
7367
7368         return offset;
7369 }
7370
7371 static int
7372 wkssvc_dissect_element_NetrWkstaTransportAdd_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7373 {
7374         offset = wkssvc_dissect_struct_NetWkstaTransportInfo0(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrWkstaTransportAdd_info0,0);
7375
7376         return offset;
7377 }
7378
7379 static int
7380 wkssvc_dissect_element_NetrWkstaTransportAdd_parm_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7381 {
7382         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaTransportAdd_parm_err_, NDR_POINTER_UNIQUE, "Pointer to Parm Err (uint32)",hf_wkssvc_wkssvc_NetrWkstaTransportAdd_parm_err);
7383
7384         return offset;
7385 }
7386
7387 static int
7388 wkssvc_dissect_element_NetrWkstaTransportAdd_parm_err_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7389 {
7390         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWkstaTransportAdd_parm_err, 0);
7391
7392         return offset;
7393 }
7394
7395 /* IDL: WERROR wkssvc_NetrWkstaTransportAdd( */
7396 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7397 /* IDL: [in] uint32 level, */
7398 /* IDL: [in] [ref] wkssvc_NetWkstaTransportInfo0 *info0, */
7399 /* IDL: [out] [unique(1)] [in] uint32 *parm_err */
7400 /* IDL: ); */
7401
7402 static int
7403 wkssvc_dissect_NetrWkstaTransportAdd_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7404 {
7405         guint32 status;
7406
7407         pinfo->dcerpc_procedure_name="NetrWkstaTransportAdd";
7408         offset = wkssvc_dissect_element_NetrWkstaTransportAdd_parm_err(tvb, offset, pinfo, tree, drep);
7409         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7410
7411         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
7412
7413         if (status != 0)
7414                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7415
7416         return offset;
7417 }
7418
7419 static int
7420 wkssvc_dissect_NetrWkstaTransportAdd_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7421 {
7422         pinfo->dcerpc_procedure_name="NetrWkstaTransportAdd";
7423         offset = wkssvc_dissect_element_NetrWkstaTransportAdd_server_name(tvb, offset, pinfo, tree, drep);
7424         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7425         offset = wkssvc_dissect_element_NetrWkstaTransportAdd_level(tvb, offset, pinfo, tree, drep);
7426         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7427         offset = wkssvc_dissect_element_NetrWkstaTransportAdd_info0(tvb, offset, pinfo, tree, drep);
7428         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7429         offset = wkssvc_dissect_element_NetrWkstaTransportAdd_parm_err(tvb, offset, pinfo, tree, drep);
7430         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7431         return offset;
7432 }
7433
7434 static int
7435 wkssvc_dissect_element_NetrWkstaTransportDel_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7436 {
7437         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaTransportDel_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrWkstaTransportDel_server_name);
7438
7439         return offset;
7440 }
7441
7442 static int
7443 wkssvc_dissect_element_NetrWkstaTransportDel_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7444 {
7445         char *data;
7446
7447         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaTransportDel_server_name, FALSE, &data);
7448         proto_item_append_text(tree, ": %s", data);
7449
7450         return offset;
7451 }
7452
7453 static int
7454 wkssvc_dissect_element_NetrWkstaTransportDel_transport_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7455 {
7456         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWkstaTransportDel_transport_name_, NDR_POINTER_UNIQUE, "Pointer to Transport Name (uint16)",hf_wkssvc_wkssvc_NetrWkstaTransportDel_transport_name);
7457
7458         return offset;
7459 }
7460
7461 static int
7462 wkssvc_dissect_element_NetrWkstaTransportDel_transport_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7463 {
7464         char *data;
7465
7466         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaTransportDel_transport_name, FALSE, &data);
7467         proto_item_append_text(tree, ": %s", data);
7468
7469         return offset;
7470 }
7471
7472 static int
7473 wkssvc_dissect_element_NetrWkstaTransportDel_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7474 {
7475         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWkstaTransportDel_unknown3, 0);
7476
7477         return offset;
7478 }
7479
7480 /* IDL: WERROR wkssvc_NetrWkstaTransportDel( */
7481 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7482 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *transport_name, */
7483 /* IDL: [in] uint32 unknown3 */
7484 /* IDL: ); */
7485
7486 static int
7487 wkssvc_dissect_NetrWkstaTransportDel_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7488 {
7489         guint32 status;
7490
7491         pinfo->dcerpc_procedure_name="NetrWkstaTransportDel";
7492         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
7493
7494         if (status != 0)
7495                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7496
7497         return offset;
7498 }
7499
7500 static int
7501 wkssvc_dissect_NetrWkstaTransportDel_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7502 {
7503         pinfo->dcerpc_procedure_name="NetrWkstaTransportDel";
7504         offset = wkssvc_dissect_element_NetrWkstaTransportDel_server_name(tvb, offset, pinfo, tree, drep);
7505         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7506         offset = wkssvc_dissect_element_NetrWkstaTransportDel_transport_name(tvb, offset, pinfo, tree, drep);
7507         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7508         offset = wkssvc_dissect_element_NetrWkstaTransportDel_unknown3(tvb, offset, pinfo, tree, drep);
7509         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7510         return offset;
7511 }
7512
7513 static int
7514 wkssvc_dissect_element_NetrUseAdd_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7515 {
7516         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseAdd_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrUseAdd_server_name);
7517
7518         return offset;
7519 }
7520
7521 static int
7522 wkssvc_dissect_element_NetrUseAdd_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7523 {
7524         char *data;
7525
7526         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseAdd_server_name, FALSE, &data);
7527         proto_item_append_text(tree, ": %s", data);
7528
7529         return offset;
7530 }
7531
7532 static int
7533 wkssvc_dissect_element_NetrUseAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7534 {
7535         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseAdd_level, 0);
7536
7537         return offset;
7538 }
7539
7540 static int
7541 wkssvc_dissect_element_NetrUseAdd_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7542 {
7543         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseAdd_ctr_, NDR_POINTER_REF, "Pointer to Ctr (wkssvc_NetrUseGetInfoCtr)",hf_wkssvc_wkssvc_NetrUseAdd_ctr);
7544
7545         return offset;
7546 }
7547
7548 static int
7549 wkssvc_dissect_element_NetrUseAdd_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7550 {
7551         offset = wkssvc_dissect_NetrUseGetInfoCtr(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseAdd_ctr, *0);
7552
7553         return offset;
7554 }
7555
7556 static int
7557 wkssvc_dissect_element_NetrUseAdd_parm_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7558 {
7559         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseAdd_parm_err_, NDR_POINTER_UNIQUE, "Pointer to Parm Err (uint32)",hf_wkssvc_wkssvc_NetrUseAdd_parm_err);
7560
7561         return offset;
7562 }
7563
7564 static int
7565 wkssvc_dissect_element_NetrUseAdd_parm_err_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7566 {
7567         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseAdd_parm_err, 0);
7568
7569         return offset;
7570 }
7571
7572 /* IDL: WERROR wkssvc_NetrUseAdd( */
7573 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7574 /* IDL: [in] uint32 level, */
7575 /* IDL: [ref] [in] [switch_is(level)] wkssvc_NetrUseGetInfoCtr *ctr, */
7576 /* IDL: [out] [unique(1)] [in] uint32 *parm_err */
7577 /* IDL: ); */
7578
7579 static int
7580 wkssvc_dissect_NetrUseAdd_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7581 {
7582         guint32 status;
7583
7584         pinfo->dcerpc_procedure_name="NetrUseAdd";
7585         offset = wkssvc_dissect_element_NetrUseAdd_parm_err(tvb, offset, pinfo, tree, drep);
7586         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7587
7588         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
7589
7590         if (status != 0)
7591                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7592
7593         return offset;
7594 }
7595
7596 static int
7597 wkssvc_dissect_NetrUseAdd_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7598 {
7599         pinfo->dcerpc_procedure_name="NetrUseAdd";
7600         offset = wkssvc_dissect_element_NetrUseAdd_server_name(tvb, offset, pinfo, tree, drep);
7601         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7602         offset = wkssvc_dissect_element_NetrUseAdd_level(tvb, offset, pinfo, tree, drep);
7603         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7604         offset = wkssvc_dissect_element_NetrUseAdd_ctr(tvb, offset, pinfo, tree, drep);
7605         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7606         offset = wkssvc_dissect_element_NetrUseAdd_parm_err(tvb, offset, pinfo, tree, drep);
7607         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7608         return offset;
7609 }
7610
7611 static int
7612 wkssvc_dissect_element_NetrUseGetInfo_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7613 {
7614         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseGetInfo_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrUseGetInfo_server_name);
7615
7616         return offset;
7617 }
7618
7619 static int
7620 wkssvc_dissect_element_NetrUseGetInfo_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7621 {
7622         char *data;
7623
7624         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseGetInfo_server_name, FALSE, &data);
7625         proto_item_append_text(tree, ": %s", data);
7626
7627         return offset;
7628 }
7629
7630 static int
7631 wkssvc_dissect_element_NetrUseGetInfo_use_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7632 {
7633         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseGetInfo_use_name_, NDR_POINTER_REF, "Pointer to Use Name (uint16)",hf_wkssvc_wkssvc_NetrUseGetInfo_use_name);
7634
7635         return offset;
7636 }
7637
7638 static int
7639 wkssvc_dissect_element_NetrUseGetInfo_use_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7640 {
7641         char *data;
7642
7643         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseGetInfo_use_name, FALSE, &data);
7644         proto_item_append_text(tree, ": %s", data);
7645
7646         return offset;
7647 }
7648
7649 static int
7650 wkssvc_dissect_element_NetrUseGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7651 {
7652         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseGetInfo_level, 0);
7653
7654         return offset;
7655 }
7656
7657 static int
7658 wkssvc_dissect_element_NetrUseGetInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7659 {
7660         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseGetInfo_ctr_, NDR_POINTER_REF, "Pointer to Ctr (wkssvc_NetrUseGetInfoCtr)",hf_wkssvc_wkssvc_NetrUseGetInfo_ctr);
7661
7662         return offset;
7663 }
7664
7665 static int
7666 wkssvc_dissect_element_NetrUseGetInfo_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7667 {
7668         offset = wkssvc_dissect_NetrUseGetInfoCtr(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseGetInfo_ctr, *0);
7669
7670         return offset;
7671 }
7672
7673 /* IDL: WERROR wkssvc_NetrUseGetInfo( */
7674 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7675 /* IDL: [ref] [in] [charset(UTF16)] uint16 *use_name, */
7676 /* IDL: [in] uint32 level, */
7677 /* IDL: [out] [ref] [switch_is(level)] wkssvc_NetrUseGetInfoCtr *ctr */
7678 /* IDL: ); */
7679
7680 static int
7681 wkssvc_dissect_NetrUseGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7682 {
7683         guint32 status;
7684
7685         pinfo->dcerpc_procedure_name="NetrUseGetInfo";
7686         offset = wkssvc_dissect_element_NetrUseGetInfo_ctr(tvb, offset, pinfo, tree, drep);
7687         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7688
7689         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
7690
7691         if (status != 0)
7692                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7693
7694         return offset;
7695 }
7696
7697 static int
7698 wkssvc_dissect_NetrUseGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7699 {
7700         pinfo->dcerpc_procedure_name="NetrUseGetInfo";
7701         offset = wkssvc_dissect_element_NetrUseGetInfo_server_name(tvb, offset, pinfo, tree, drep);
7702         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7703         offset = wkssvc_dissect_element_NetrUseGetInfo_use_name(tvb, offset, pinfo, tree, drep);
7704         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7705         offset = wkssvc_dissect_element_NetrUseGetInfo_level(tvb, offset, pinfo, tree, drep);
7706         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7707         return offset;
7708 }
7709
7710 static int
7711 wkssvc_dissect_element_NetrUseDel_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7712 {
7713         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseDel_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrUseDel_server_name);
7714
7715         return offset;
7716 }
7717
7718 static int
7719 wkssvc_dissect_element_NetrUseDel_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7720 {
7721         char *data;
7722
7723         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseDel_server_name, FALSE, &data);
7724         proto_item_append_text(tree, ": %s", data);
7725
7726         return offset;
7727 }
7728
7729 static int
7730 wkssvc_dissect_element_NetrUseDel_use_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7731 {
7732         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseDel_use_name_, NDR_POINTER_REF, "Pointer to Use Name (uint16)",hf_wkssvc_wkssvc_NetrUseDel_use_name);
7733
7734         return offset;
7735 }
7736
7737 static int
7738 wkssvc_dissect_element_NetrUseDel_use_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7739 {
7740         char *data;
7741
7742         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseDel_use_name, FALSE, &data);
7743         proto_item_append_text(tree, ": %s", data);
7744
7745         return offset;
7746 }
7747
7748 static int
7749 wkssvc_dissect_element_NetrUseDel_force_cond(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7750 {
7751         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseDel_force_cond, 0);
7752
7753         return offset;
7754 }
7755
7756 /* IDL: WERROR wkssvc_NetrUseDel( */
7757 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7758 /* IDL: [ref] [in] [charset(UTF16)] uint16 *use_name, */
7759 /* IDL: [in] uint32 force_cond */
7760 /* IDL: ); */
7761
7762 static int
7763 wkssvc_dissect_NetrUseDel_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7764 {
7765         guint32 status;
7766
7767         pinfo->dcerpc_procedure_name="NetrUseDel";
7768         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
7769
7770         if (status != 0)
7771                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7772
7773         return offset;
7774 }
7775
7776 static int
7777 wkssvc_dissect_NetrUseDel_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7778 {
7779         pinfo->dcerpc_procedure_name="NetrUseDel";
7780         offset = wkssvc_dissect_element_NetrUseDel_server_name(tvb, offset, pinfo, tree, drep);
7781         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7782         offset = wkssvc_dissect_element_NetrUseDel_use_name(tvb, offset, pinfo, tree, drep);
7783         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7784         offset = wkssvc_dissect_element_NetrUseDel_force_cond(tvb, offset, pinfo, tree, drep);
7785         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7786         return offset;
7787 }
7788
7789 static int
7790 wkssvc_dissect_element_NetrUseEnum_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7791 {
7792         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseEnum_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrUseEnum_server_name);
7793
7794         return offset;
7795 }
7796
7797 static int
7798 wkssvc_dissect_element_NetrUseEnum_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7799 {
7800         char *data;
7801
7802         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseEnum_server_name, FALSE, &data);
7803         proto_item_append_text(tree, ": %s", data);
7804
7805         return offset;
7806 }
7807
7808 static int
7809 wkssvc_dissect_element_NetrUseEnum_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7810 {
7811         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseEnum_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetrUseEnumInfo)",hf_wkssvc_wkssvc_NetrUseEnum_info);
7812
7813         return offset;
7814 }
7815
7816 static int
7817 wkssvc_dissect_element_NetrUseEnum_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7818 {
7819         offset = wkssvc_dissect_struct_NetrUseEnumInfo(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrUseEnum_info,0);
7820
7821         return offset;
7822 }
7823
7824 static int
7825 wkssvc_dissect_element_NetrUseEnum_prefmaxlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7826 {
7827         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseEnum_prefmaxlen, 0);
7828
7829         return offset;
7830 }
7831
7832 static int
7833 wkssvc_dissect_element_NetrUseEnum_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7834 {
7835         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseEnum_entries_read_, NDR_POINTER_REF, "Pointer to Entries Read (uint32)",hf_wkssvc_wkssvc_NetrUseEnum_entries_read);
7836
7837         return offset;
7838 }
7839
7840 static int
7841 wkssvc_dissect_element_NetrUseEnum_entries_read_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7842 {
7843         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseEnum_entries_read, 0);
7844
7845         return offset;
7846 }
7847
7848 static int
7849 wkssvc_dissect_element_NetrUseEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7850 {
7851         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUseEnum_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_wkssvc_wkssvc_NetrUseEnum_resume_handle);
7852
7853         return offset;
7854 }
7855
7856 static int
7857 wkssvc_dissect_element_NetrUseEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7858 {
7859         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUseEnum_resume_handle, 0);
7860
7861         return offset;
7862 }
7863
7864 /* IDL: WERROR wkssvc_NetrUseEnum( */
7865 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7866 /* IDL: [out] [in] [ref] wkssvc_NetrUseEnumInfo *info, */
7867 /* IDL: [in] uint32 prefmaxlen, */
7868 /* IDL: [out] [ref] uint32 *entries_read, */
7869 /* IDL: [out] [unique(1)] [in] uint32 *resume_handle */
7870 /* IDL: ); */
7871
7872 static int
7873 wkssvc_dissect_NetrUseEnum_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7874 {
7875         guint32 status;
7876
7877         pinfo->dcerpc_procedure_name="NetrUseEnum";
7878         offset = wkssvc_dissect_element_NetrUseEnum_info(tvb, offset, pinfo, tree, drep);
7879         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7880
7881         offset = wkssvc_dissect_element_NetrUseEnum_entries_read(tvb, offset, pinfo, tree, drep);
7882         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7883
7884         offset = wkssvc_dissect_element_NetrUseEnum_resume_handle(tvb, offset, pinfo, tree, drep);
7885         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7886
7887         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
7888
7889         if (status != 0)
7890                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7891
7892         return offset;
7893 }
7894
7895 static int
7896 wkssvc_dissect_NetrUseEnum_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7897 {
7898         pinfo->dcerpc_procedure_name="NetrUseEnum";
7899         offset = wkssvc_dissect_element_NetrUseEnum_server_name(tvb, offset, pinfo, tree, drep);
7900         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7901         offset = wkssvc_dissect_element_NetrUseEnum_info(tvb, offset, pinfo, tree, drep);
7902         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7903         offset = wkssvc_dissect_element_NetrUseEnum_prefmaxlen(tvb, offset, pinfo, tree, drep);
7904         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7905         offset = wkssvc_dissect_element_NetrUseEnum_resume_handle(tvb, offset, pinfo, tree, drep);
7906         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
7907         return offset;
7908 }
7909
7910 static int
7911 wkssvc_dissect_element_NetrMessageBufferSend_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7912 {
7913         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrMessageBufferSend_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrMessageBufferSend_server_name);
7914
7915         return offset;
7916 }
7917
7918 static int
7919 wkssvc_dissect_element_NetrMessageBufferSend_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7920 {
7921         char *data;
7922
7923         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrMessageBufferSend_server_name, FALSE, &data);
7924         proto_item_append_text(tree, ": %s", data);
7925
7926         return offset;
7927 }
7928
7929 static int
7930 wkssvc_dissect_element_NetrMessageBufferSend_message_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7931 {
7932         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrMessageBufferSend_message_name_, NDR_POINTER_REF, "Pointer to Message Name (uint16)",hf_wkssvc_wkssvc_NetrMessageBufferSend_message_name);
7933
7934         return offset;
7935 }
7936
7937 static int
7938 wkssvc_dissect_element_NetrMessageBufferSend_message_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7939 {
7940         char *data;
7941
7942         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrMessageBufferSend_message_name, FALSE, &data);
7943         proto_item_append_text(tree, ": %s", data);
7944
7945         return offset;
7946 }
7947
7948 static int
7949 wkssvc_dissect_element_NetrMessageBufferSend_message_sender_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7950 {
7951         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrMessageBufferSend_message_sender_name_, NDR_POINTER_UNIQUE, "Pointer to Message Sender Name (uint16)",hf_wkssvc_wkssvc_NetrMessageBufferSend_message_sender_name);
7952
7953         return offset;
7954 }
7955
7956 static int
7957 wkssvc_dissect_element_NetrMessageBufferSend_message_sender_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7958 {
7959         char *data;
7960
7961         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrMessageBufferSend_message_sender_name, FALSE, &data);
7962         proto_item_append_text(tree, ": %s", data);
7963
7964         return offset;
7965 }
7966
7967 static int
7968 wkssvc_dissect_element_NetrMessageBufferSend_message_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7969 {
7970         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrMessageBufferSend_message_buffer_, NDR_POINTER_REF, "Pointer to Message Buffer (uint8)",hf_wkssvc_wkssvc_NetrMessageBufferSend_message_buffer);
7971
7972         return offset;
7973 }
7974
7975 static int
7976 wkssvc_dissect_element_NetrMessageBufferSend_message_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7977 {
7978         offset = dissect_ndr_ucarray_block(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrMessageBufferSend_message_buffer__);
7979
7980         return offset;
7981 }
7982
7983 static int
7984 wkssvc_dissect_element_NetrMessageBufferSend_message_buffer__(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7985 {
7986         proto_tree_add_bytes(tree, hf_wkssvc_wkssvc_NetrMessageBufferSend_message_buffer, tvb, offset, length, tvb_get_ptr(tvb, offset,length)); offset += length;
7987
7988         return offset;
7989 }
7990
7991 static int
7992 wkssvc_dissect_element_NetrMessageBufferSend_message_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7993 {
7994         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrMessageBufferSend_message_size, 0);
7995
7996         return offset;
7997 }
7998
7999 /* IDL: WERROR wkssvc_NetrMessageBufferSend( */
8000 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8001 /* IDL: [ref] [in] [charset(UTF16)] uint16 *message_name, */
8002 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *message_sender_name, */
8003 /* IDL: [ref] [in] [size_is(message_size)] uint8 *message_buffer, */
8004 /* IDL: [in] uint32 message_size */
8005 /* IDL: ); */
8006
8007 static int
8008 wkssvc_dissect_NetrMessageBufferSend_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8009 {
8010         guint32 status;
8011
8012         pinfo->dcerpc_procedure_name="NetrMessageBufferSend";
8013         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
8014
8015         if (status != 0)
8016                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8017
8018         return offset;
8019 }
8020
8021 static int
8022 wkssvc_dissect_NetrMessageBufferSend_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8023 {
8024         pinfo->dcerpc_procedure_name="NetrMessageBufferSend";
8025         offset = wkssvc_dissect_element_NetrMessageBufferSend_server_name(tvb, offset, pinfo, tree, drep);
8026         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8027         offset = wkssvc_dissect_element_NetrMessageBufferSend_message_name(tvb, offset, pinfo, tree, drep);
8028         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8029         offset = wkssvc_dissect_element_NetrMessageBufferSend_message_sender_name(tvb, offset, pinfo, tree, drep);
8030         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8031         offset = wkssvc_dissect_element_NetrMessageBufferSend_message_buffer(tvb, offset, pinfo, tree, drep);
8032         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8033         offset = wkssvc_dissect_element_NetrMessageBufferSend_message_size(tvb, offset, pinfo, tree, drep);
8034         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8035         return offset;
8036 }
8037
8038 static int
8039 wkssvc_dissect_element_NetrWorkstationStatisticsGet_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8040 {
8041         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWorkstationStatisticsGet_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_server_name);
8042
8043         return offset;
8044 }
8045
8046 static int
8047 wkssvc_dissect_element_NetrWorkstationStatisticsGet_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8048 {
8049         char *data;
8050
8051         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_server_name, FALSE, &data);
8052         proto_item_append_text(tree, ": %s", data);
8053
8054         return offset;
8055 }
8056
8057 static int
8058 wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8059 {
8060         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown2_, NDR_POINTER_UNIQUE, "Pointer to Unknown2 (uint16)",hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown2);
8061
8062         return offset;
8063 }
8064
8065 static int
8066 wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8067 {
8068         char *data;
8069
8070         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown2, FALSE, &data);
8071         proto_item_append_text(tree, ": %s", data);
8072
8073         return offset;
8074 }
8075
8076 static int
8077 wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8078 {
8079         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown3, 0);
8080
8081         return offset;
8082 }
8083
8084 static int
8085 wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8086 {
8087         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown4, 0);
8088
8089         return offset;
8090 }
8091
8092 static int
8093 wkssvc_dissect_element_NetrWorkstationStatisticsGet_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8094 {
8095         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWorkstationStatisticsGet_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetrWorkstationStatistics)",hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_info);
8096
8097         return offset;
8098 }
8099
8100 static int
8101 wkssvc_dissect_element_NetrWorkstationStatisticsGet_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8102 {
8103         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrWorkstationStatisticsGet_info__, NDR_POINTER_UNIQUE, "Pointer to Info (wkssvc_NetrWorkstationStatistics)",hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_info);
8104
8105         return offset;
8106 }
8107
8108 static int
8109 wkssvc_dissect_element_NetrWorkstationStatisticsGet_info__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8110 {
8111         offset = wkssvc_dissect_struct_NetrWorkstationStatistics(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_info,0);
8112
8113         return offset;
8114 }
8115
8116 /* IDL: WERROR wkssvc_NetrWorkstationStatisticsGet( */
8117 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8118 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *unknown2, */
8119 /* IDL: [in] uint32 unknown3, */
8120 /* IDL: [in] uint32 unknown4, */
8121 /* IDL: [out] [ref] wkssvc_NetrWorkstationStatistics **info */
8122 /* IDL: ); */
8123
8124 static int
8125 wkssvc_dissect_NetrWorkstationStatisticsGet_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8126 {
8127         guint32 status;
8128
8129         pinfo->dcerpc_procedure_name="NetrWorkstationStatisticsGet";
8130         offset = wkssvc_dissect_element_NetrWorkstationStatisticsGet_info(tvb, offset, pinfo, tree, drep);
8131         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8132
8133         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
8134
8135         if (status != 0)
8136                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8137
8138         return offset;
8139 }
8140
8141 static int
8142 wkssvc_dissect_NetrWorkstationStatisticsGet_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8143 {
8144         pinfo->dcerpc_procedure_name="NetrWorkstationStatisticsGet";
8145         offset = wkssvc_dissect_element_NetrWorkstationStatisticsGet_server_name(tvb, offset, pinfo, tree, drep);
8146         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8147         offset = wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown2(tvb, offset, pinfo, tree, drep);
8148         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8149         offset = wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown3(tvb, offset, pinfo, tree, drep);
8150         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8151         offset = wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown4(tvb, offset, pinfo, tree, drep);
8152         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8153         return offset;
8154 }
8155
8156 static int
8157 wkssvc_dissect_element_NetrLogonDomainNameAdd_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8158 {
8159         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrLogonDomainNameAdd_domain_name_, NDR_POINTER_REF, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetrLogonDomainNameAdd_domain_name);
8160
8161         return offset;
8162 }
8163
8164 static int
8165 wkssvc_dissect_element_NetrLogonDomainNameAdd_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8166 {
8167         char *data;
8168
8169         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrLogonDomainNameAdd_domain_name, FALSE, &data);
8170         proto_item_append_text(tree, ": %s", data);
8171
8172         return offset;
8173 }
8174
8175 /* IDL: WERROR wkssvc_NetrLogonDomainNameAdd( */
8176 /* IDL: [ref] [in] [charset(UTF16)] uint16 *domain_name */
8177 /* IDL: ); */
8178
8179 static int
8180 wkssvc_dissect_NetrLogonDomainNameAdd_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8181 {
8182         guint32 status;
8183
8184         pinfo->dcerpc_procedure_name="NetrLogonDomainNameAdd";
8185         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
8186
8187         if (status != 0)
8188                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8189
8190         return offset;
8191 }
8192
8193 static int
8194 wkssvc_dissect_NetrLogonDomainNameAdd_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8195 {
8196         pinfo->dcerpc_procedure_name="NetrLogonDomainNameAdd";
8197         offset = wkssvc_dissect_element_NetrLogonDomainNameAdd_domain_name(tvb, offset, pinfo, tree, drep);
8198         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8199         return offset;
8200 }
8201
8202 static int
8203 wkssvc_dissect_element_NetrLogonDomainNameDel_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8204 {
8205         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrLogonDomainNameDel_domain_name_, NDR_POINTER_REF, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetrLogonDomainNameDel_domain_name);
8206
8207         return offset;
8208 }
8209
8210 static int
8211 wkssvc_dissect_element_NetrLogonDomainNameDel_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8212 {
8213         char *data;
8214
8215         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrLogonDomainNameDel_domain_name, FALSE, &data);
8216         proto_item_append_text(tree, ": %s", data);
8217
8218         return offset;
8219 }
8220
8221 /* IDL: WERROR wkssvc_NetrLogonDomainNameDel( */
8222 /* IDL: [ref] [in] [charset(UTF16)] uint16 *domain_name */
8223 /* IDL: ); */
8224
8225 static int
8226 wkssvc_dissect_NetrLogonDomainNameDel_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8227 {
8228         guint32 status;
8229
8230         pinfo->dcerpc_procedure_name="NetrLogonDomainNameDel";
8231         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
8232
8233         if (status != 0)
8234                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8235
8236         return offset;
8237 }
8238
8239 static int
8240 wkssvc_dissect_NetrLogonDomainNameDel_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8241 {
8242         pinfo->dcerpc_procedure_name="NetrLogonDomainNameDel";
8243         offset = wkssvc_dissect_element_NetrLogonDomainNameDel_domain_name(tvb, offset, pinfo, tree, drep);
8244         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8245         return offset;
8246 }
8247
8248 static int
8249 wkssvc_dissect_element_NetrJoinDomain_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8250 {
8251         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrJoinDomain_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain_server_name);
8252
8253         return offset;
8254 }
8255
8256 static int
8257 wkssvc_dissect_element_NetrJoinDomain_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8258 {
8259         char *data;
8260
8261         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain_server_name, FALSE, &data);
8262         proto_item_append_text(tree, ": %s", data);
8263
8264         return offset;
8265 }
8266
8267 static int
8268 wkssvc_dissect_element_NetrJoinDomain_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8269 {
8270         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrJoinDomain_domain_name_, NDR_POINTER_REF, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain_domain_name);
8271
8272         return offset;
8273 }
8274
8275 static int
8276 wkssvc_dissect_element_NetrJoinDomain_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8277 {
8278         char *data;
8279
8280         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain_domain_name, FALSE, &data);
8281         proto_item_append_text(tree, ": %s", data);
8282
8283         return offset;
8284 }
8285
8286 static int
8287 wkssvc_dissect_element_NetrJoinDomain_account_ou(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8288 {
8289         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrJoinDomain_account_ou_, NDR_POINTER_UNIQUE, "Pointer to Account Ou (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain_account_ou);
8290
8291         return offset;
8292 }
8293
8294 static int
8295 wkssvc_dissect_element_NetrJoinDomain_account_ou_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8296 {
8297         char *data;
8298
8299         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain_account_ou, FALSE, &data);
8300         proto_item_append_text(tree, ": %s", data);
8301
8302         return offset;
8303 }
8304
8305 static int
8306 wkssvc_dissect_element_NetrJoinDomain_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8307 {
8308         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrJoinDomain_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain_Account);
8309
8310         return offset;
8311 }
8312
8313 static int
8314 wkssvc_dissect_element_NetrJoinDomain_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8315 {
8316         char *data;
8317
8318         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain_Account, FALSE, &data);
8319         proto_item_append_text(tree, ": %s", data);
8320
8321         return offset;
8322 }
8323
8324 static int
8325 wkssvc_dissect_element_NetrJoinDomain_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8326 {
8327         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrJoinDomain_password_, NDR_POINTER_UNIQUE, "Pointer to Password (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain_password);
8328
8329         return offset;
8330 }
8331
8332 static int
8333 wkssvc_dissect_element_NetrJoinDomain_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8334 {
8335         char *data;
8336
8337         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain_password, FALSE, &data);
8338         proto_item_append_text(tree, ": %s", data);
8339
8340         return offset;
8341 }
8342
8343 static int
8344 wkssvc_dissect_element_NetrJoinDomain_join_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8345 {
8346         offset = wkssvc_dissect_bitmap_joinflags(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrJoinDomain_join_flags, 0);
8347
8348         return offset;
8349 }
8350
8351 /* IDL: WERROR wkssvc_NetrJoinDomain( */
8352 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8353 /* IDL: [ref] [in] [charset(UTF16)] uint16 *domain_name, */
8354 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *account_ou, */
8355 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
8356 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *password, */
8357 /* IDL: [in] wkssvc_joinflags join_flags */
8358 /* IDL: ); */
8359
8360 static int
8361 wkssvc_dissect_NetrJoinDomain_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8362 {
8363         guint32 status;
8364
8365         pinfo->dcerpc_procedure_name="NetrJoinDomain";
8366         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
8367
8368         if (status != 0)
8369                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8370
8371         return offset;
8372 }
8373
8374 static int
8375 wkssvc_dissect_NetrJoinDomain_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8376 {
8377         pinfo->dcerpc_procedure_name="NetrJoinDomain";
8378         offset = wkssvc_dissect_element_NetrJoinDomain_server_name(tvb, offset, pinfo, tree, drep);
8379         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8380         offset = wkssvc_dissect_element_NetrJoinDomain_domain_name(tvb, offset, pinfo, tree, drep);
8381         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8382         offset = wkssvc_dissect_element_NetrJoinDomain_account_ou(tvb, offset, pinfo, tree, drep);
8383         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8384         offset = wkssvc_dissect_element_NetrJoinDomain_Account(tvb, offset, pinfo, tree, drep);
8385         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8386         offset = wkssvc_dissect_element_NetrJoinDomain_password(tvb, offset, pinfo, tree, drep);
8387         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8388         offset = wkssvc_dissect_element_NetrJoinDomain_join_flags(tvb, offset, pinfo, tree, drep);
8389         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8390         return offset;
8391 }
8392
8393 static int
8394 wkssvc_dissect_element_NetrUnjoinDomain_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8395 {
8396         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUnjoinDomain_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrUnjoinDomain_server_name);
8397
8398         return offset;
8399 }
8400
8401 static int
8402 wkssvc_dissect_element_NetrUnjoinDomain_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8403 {
8404         char *data;
8405
8406         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUnjoinDomain_server_name, FALSE, &data);
8407         proto_item_append_text(tree, ": %s", data);
8408
8409         return offset;
8410 }
8411
8412 static int
8413 wkssvc_dissect_element_NetrUnjoinDomain_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8414 {
8415         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUnjoinDomain_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrUnjoinDomain_Account);
8416
8417         return offset;
8418 }
8419
8420 static int
8421 wkssvc_dissect_element_NetrUnjoinDomain_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8422 {
8423         char *data;
8424
8425         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUnjoinDomain_Account, FALSE, &data);
8426         proto_item_append_text(tree, ": %s", data);
8427
8428         return offset;
8429 }
8430
8431 static int
8432 wkssvc_dissect_element_NetrUnjoinDomain_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8433 {
8434         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUnjoinDomain_password_, NDR_POINTER_UNIQUE, "Pointer to Password (uint16)",hf_wkssvc_wkssvc_NetrUnjoinDomain_password);
8435
8436         return offset;
8437 }
8438
8439 static int
8440 wkssvc_dissect_element_NetrUnjoinDomain_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8441 {
8442         char *data;
8443
8444         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUnjoinDomain_password, FALSE, &data);
8445         proto_item_append_text(tree, ": %s", data);
8446
8447         return offset;
8448 }
8449
8450 static int
8451 wkssvc_dissect_element_NetrUnjoinDomain_unjoin_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8452 {
8453         offset = wkssvc_dissect_bitmap_joinflags(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUnjoinDomain_unjoin_flags, 0);
8454
8455         return offset;
8456 }
8457
8458 /* IDL: WERROR wkssvc_NetrUnjoinDomain( */
8459 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8460 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
8461 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *password, */
8462 /* IDL: [in] wkssvc_joinflags unjoin_flags */
8463 /* IDL: ); */
8464
8465 static int
8466 wkssvc_dissect_NetrUnjoinDomain_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8467 {
8468         guint32 status;
8469
8470         pinfo->dcerpc_procedure_name="NetrUnjoinDomain";
8471         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
8472
8473         if (status != 0)
8474                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8475
8476         return offset;
8477 }
8478
8479 static int
8480 wkssvc_dissect_NetrUnjoinDomain_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8481 {
8482         pinfo->dcerpc_procedure_name="NetrUnjoinDomain";
8483         offset = wkssvc_dissect_element_NetrUnjoinDomain_server_name(tvb, offset, pinfo, tree, drep);
8484         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8485         offset = wkssvc_dissect_element_NetrUnjoinDomain_Account(tvb, offset, pinfo, tree, drep);
8486         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8487         offset = wkssvc_dissect_element_NetrUnjoinDomain_password(tvb, offset, pinfo, tree, drep);
8488         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8489         offset = wkssvc_dissect_element_NetrUnjoinDomain_unjoin_flags(tvb, offset, pinfo, tree, drep);
8490         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8491         return offset;
8492 }
8493
8494 static int
8495 wkssvc_dissect_element_NetrRenameMachineInDomain_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8496 {
8497         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrRenameMachineInDomain_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain_server_name);
8498
8499         return offset;
8500 }
8501
8502 static int
8503 wkssvc_dissect_element_NetrRenameMachineInDomain_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8504 {
8505         char *data;
8506
8507         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRenameMachineInDomain_server_name, FALSE, &data);
8508         proto_item_append_text(tree, ": %s", data);
8509
8510         return offset;
8511 }
8512
8513 static int
8514 wkssvc_dissect_element_NetrRenameMachineInDomain_NewMachineName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8515 {
8516         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrRenameMachineInDomain_NewMachineName_, NDR_POINTER_UNIQUE, "Pointer to Newmachinename (uint16)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain_NewMachineName);
8517
8518         return offset;
8519 }
8520
8521 static int
8522 wkssvc_dissect_element_NetrRenameMachineInDomain_NewMachineName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8523 {
8524         char *data;
8525
8526         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRenameMachineInDomain_NewMachineName, FALSE, &data);
8527         proto_item_append_text(tree, ": %s", data);
8528
8529         return offset;
8530 }
8531
8532 static int
8533 wkssvc_dissect_element_NetrRenameMachineInDomain_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8534 {
8535         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrRenameMachineInDomain_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain_Account);
8536
8537         return offset;
8538 }
8539
8540 static int
8541 wkssvc_dissect_element_NetrRenameMachineInDomain_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8542 {
8543         char *data;
8544
8545         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRenameMachineInDomain_Account, FALSE, &data);
8546         proto_item_append_text(tree, ": %s", data);
8547
8548         return offset;
8549 }
8550
8551 static int
8552 wkssvc_dissect_element_NetrRenameMachineInDomain_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8553 {
8554         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrRenameMachineInDomain_password_, NDR_POINTER_UNIQUE, "Pointer to Password (uint16)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain_password);
8555
8556         return offset;
8557 }
8558
8559 static int
8560 wkssvc_dissect_element_NetrRenameMachineInDomain_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8561 {
8562         char *data;
8563
8564         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRenameMachineInDomain_password, FALSE, &data);
8565         proto_item_append_text(tree, ": %s", data);
8566
8567         return offset;
8568 }
8569
8570 static int
8571 wkssvc_dissect_element_NetrRenameMachineInDomain_RenameOptions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8572 {
8573         offset = wkssvc_dissect_bitmap_renameflags(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrRenameMachineInDomain_RenameOptions, 0);
8574
8575         return offset;
8576 }
8577
8578 /* IDL: WERROR wkssvc_NetrRenameMachineInDomain( */
8579 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8580 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *NewMachineName, */
8581 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
8582 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *password, */
8583 /* IDL: [in] wkssvc_renameflags RenameOptions */
8584 /* IDL: ); */
8585
8586 static int
8587 wkssvc_dissect_NetrRenameMachineInDomain_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8588 {
8589         guint32 status;
8590
8591         pinfo->dcerpc_procedure_name="NetrRenameMachineInDomain";
8592         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
8593
8594         if (status != 0)
8595                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8596
8597         return offset;
8598 }
8599
8600 static int
8601 wkssvc_dissect_NetrRenameMachineInDomain_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8602 {
8603         pinfo->dcerpc_procedure_name="NetrRenameMachineInDomain";
8604         offset = wkssvc_dissect_element_NetrRenameMachineInDomain_server_name(tvb, offset, pinfo, tree, drep);
8605         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8606         offset = wkssvc_dissect_element_NetrRenameMachineInDomain_NewMachineName(tvb, offset, pinfo, tree, drep);
8607         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8608         offset = wkssvc_dissect_element_NetrRenameMachineInDomain_Account(tvb, offset, pinfo, tree, drep);
8609         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8610         offset = wkssvc_dissect_element_NetrRenameMachineInDomain_password(tvb, offset, pinfo, tree, drep);
8611         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8612         offset = wkssvc_dissect_element_NetrRenameMachineInDomain_RenameOptions(tvb, offset, pinfo, tree, drep);
8613         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8614         return offset;
8615 }
8616
8617 static int
8618 wkssvc_dissect_element_NetrValidateName_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8619 {
8620         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrValidateName_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrValidateName_server_name);
8621
8622         return offset;
8623 }
8624
8625 static int
8626 wkssvc_dissect_element_NetrValidateName_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8627 {
8628         char *data;
8629
8630         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrValidateName_server_name, FALSE, &data);
8631         proto_item_append_text(tree, ": %s", data);
8632
8633         return offset;
8634 }
8635
8636 static int
8637 wkssvc_dissect_element_NetrValidateName_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8638 {
8639         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrValidateName_name_, NDR_POINTER_REF, "Pointer to Name (uint16)",hf_wkssvc_wkssvc_NetrValidateName_name);
8640
8641         return offset;
8642 }
8643
8644 static int
8645 wkssvc_dissect_element_NetrValidateName_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8646 {
8647         char *data;
8648
8649         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrValidateName_name, FALSE, &data);
8650         proto_item_append_text(tree, ": %s", data);
8651
8652         return offset;
8653 }
8654
8655 static int
8656 wkssvc_dissect_element_NetrValidateName_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8657 {
8658         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrValidateName_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrValidateName_Account);
8659
8660         return offset;
8661 }
8662
8663 static int
8664 wkssvc_dissect_element_NetrValidateName_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8665 {
8666         char *data;
8667
8668         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrValidateName_Account, FALSE, &data);
8669         proto_item_append_text(tree, ": %s", data);
8670
8671         return offset;
8672 }
8673
8674 static int
8675 wkssvc_dissect_element_NetrValidateName_Password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8676 {
8677         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrValidateName_Password_, NDR_POINTER_UNIQUE, "Pointer to Password (uint16)",hf_wkssvc_wkssvc_NetrValidateName_Password);
8678
8679         return offset;
8680 }
8681
8682 static int
8683 wkssvc_dissect_element_NetrValidateName_Password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8684 {
8685         char *data;
8686
8687         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrValidateName_Password, FALSE, &data);
8688         proto_item_append_text(tree, ": %s", data);
8689
8690         return offset;
8691 }
8692
8693 static int
8694 wkssvc_dissect_element_NetrValidateName_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8695 {
8696         offset = wkssvc_dissect_enum_NetValidateNameType(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrValidateName_name_type, 0);
8697
8698         return offset;
8699 }
8700
8701 /* IDL: WERROR wkssvc_NetrValidateName( */
8702 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8703 /* IDL: [ref] [in] [charset(UTF16)] uint16 *name, */
8704 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
8705 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Password, */
8706 /* IDL: [in] wkssvc_NetValidateNameType name_type */
8707 /* IDL: ); */
8708
8709 static int
8710 wkssvc_dissect_NetrValidateName_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8711 {
8712         guint32 status;
8713
8714         pinfo->dcerpc_procedure_name="NetrValidateName";
8715         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
8716
8717         if (status != 0)
8718                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8719
8720         return offset;
8721 }
8722
8723 static int
8724 wkssvc_dissect_NetrValidateName_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8725 {
8726         pinfo->dcerpc_procedure_name="NetrValidateName";
8727         offset = wkssvc_dissect_element_NetrValidateName_server_name(tvb, offset, pinfo, tree, drep);
8728         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8729         offset = wkssvc_dissect_element_NetrValidateName_name(tvb, offset, pinfo, tree, drep);
8730         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8731         offset = wkssvc_dissect_element_NetrValidateName_Account(tvb, offset, pinfo, tree, drep);
8732         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8733         offset = wkssvc_dissect_element_NetrValidateName_Password(tvb, offset, pinfo, tree, drep);
8734         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8735         offset = wkssvc_dissect_element_NetrValidateName_name_type(tvb, offset, pinfo, tree, drep);
8736         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8737         return offset;
8738 }
8739
8740 static int
8741 wkssvc_dissect_element_NetrGetJoinInformation_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8742 {
8743         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinInformation_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrGetJoinInformation_server_name);
8744
8745         return offset;
8746 }
8747
8748 static int
8749 wkssvc_dissect_element_NetrGetJoinInformation_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8750 {
8751         char *data;
8752
8753         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinInformation_server_name, FALSE, &data);
8754         proto_item_append_text(tree, ": %s", data);
8755
8756         return offset;
8757 }
8758
8759 static int
8760 wkssvc_dissect_element_NetrGetJoinInformation_name_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8761 {
8762         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinInformation_name_buffer_, NDR_POINTER_REF, "Pointer to Name Buffer (uint16)",hf_wkssvc_wkssvc_NetrGetJoinInformation_name_buffer);
8763
8764         return offset;
8765 }
8766
8767 static int
8768 wkssvc_dissect_element_NetrGetJoinInformation_name_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8769 {
8770         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinInformation_name_buffer__, NDR_POINTER_UNIQUE, "Pointer to Name Buffer (uint16)",hf_wkssvc_wkssvc_NetrGetJoinInformation_name_buffer);
8771
8772         return offset;
8773 }
8774
8775 static int
8776 wkssvc_dissect_element_NetrGetJoinInformation_name_buffer__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8777 {
8778         char *data;
8779
8780         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinInformation_name_buffer, FALSE, &data);
8781         proto_item_append_text(tree, ": %s", data);
8782
8783         return offset;
8784 }
8785
8786 static int
8787 wkssvc_dissect_element_NetrGetJoinInformation_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8788 {
8789         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinInformation_name_type_, NDR_POINTER_REF, "Pointer to Name Type (wkssvc_NetJoinStatus)",hf_wkssvc_wkssvc_NetrGetJoinInformation_name_type);
8790
8791         return offset;
8792 }
8793
8794 static int
8795 wkssvc_dissect_element_NetrGetJoinInformation_name_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8796 {
8797         offset = wkssvc_dissect_enum_NetJoinStatus(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrGetJoinInformation_name_type, 0);
8798
8799         return offset;
8800 }
8801
8802 /* IDL: WERROR wkssvc_NetrGetJoinInformation( */
8803 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8804 /* IDL: [out] [ref] [in] [charset(UTF16)] uint16 **name_buffer, */
8805 /* IDL: [out] [ref] wkssvc_NetJoinStatus *name_type */
8806 /* IDL: ); */
8807
8808 static int
8809 wkssvc_dissect_NetrGetJoinInformation_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8810 {
8811         guint32 status;
8812
8813         pinfo->dcerpc_procedure_name="NetrGetJoinInformation";
8814         offset = wkssvc_dissect_element_NetrGetJoinInformation_name_buffer(tvb, offset, pinfo, tree, drep);
8815         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8816
8817         offset = wkssvc_dissect_element_NetrGetJoinInformation_name_type(tvb, offset, pinfo, tree, drep);
8818         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8819
8820         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
8821
8822         if (status != 0)
8823                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8824
8825         return offset;
8826 }
8827
8828 static int
8829 wkssvc_dissect_NetrGetJoinInformation_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8830 {
8831         pinfo->dcerpc_procedure_name="NetrGetJoinInformation";
8832         offset = wkssvc_dissect_element_NetrGetJoinInformation_server_name(tvb, offset, pinfo, tree, drep);
8833         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8834         offset = wkssvc_dissect_element_NetrGetJoinInformation_name_buffer(tvb, offset, pinfo, tree, drep);
8835         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8836         return offset;
8837 }
8838
8839 static int
8840 wkssvc_dissect_element_NetrGetJoinableOus_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8841 {
8842         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus_server_name);
8843
8844         return offset;
8845 }
8846
8847 static int
8848 wkssvc_dissect_element_NetrGetJoinableOus_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8849 {
8850         char *data;
8851
8852         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus_server_name, FALSE, &data);
8853         proto_item_append_text(tree, ": %s", data);
8854
8855         return offset;
8856 }
8857
8858 static int
8859 wkssvc_dissect_element_NetrGetJoinableOus_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8860 {
8861         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus_domain_name_, NDR_POINTER_REF, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus_domain_name);
8862
8863         return offset;
8864 }
8865
8866 static int
8867 wkssvc_dissect_element_NetrGetJoinableOus_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8868 {
8869         char *data;
8870
8871         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus_domain_name, FALSE, &data);
8872         proto_item_append_text(tree, ": %s", data);
8873
8874         return offset;
8875 }
8876
8877 static int
8878 wkssvc_dissect_element_NetrGetJoinableOus_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8879 {
8880         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus_Account);
8881
8882         return offset;
8883 }
8884
8885 static int
8886 wkssvc_dissect_element_NetrGetJoinableOus_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8887 {
8888         char *data;
8889
8890         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus_Account, FALSE, &data);
8891         proto_item_append_text(tree, ": %s", data);
8892
8893         return offset;
8894 }
8895
8896 static int
8897 wkssvc_dissect_element_NetrGetJoinableOus_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8898 {
8899         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus_unknown_, NDR_POINTER_UNIQUE, "Pointer to Unknown (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus_unknown);
8900
8901         return offset;
8902 }
8903
8904 static int
8905 wkssvc_dissect_element_NetrGetJoinableOus_unknown_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8906 {
8907         char *data;
8908
8909         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus_unknown, FALSE, &data);
8910         proto_item_append_text(tree, ": %s", data);
8911
8912         return offset;
8913 }
8914
8915 static int
8916 wkssvc_dissect_element_NetrGetJoinableOus_num_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8917 {
8918         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus_num_ous_, NDR_POINTER_REF, "Pointer to Num Ous (uint32)",hf_wkssvc_wkssvc_NetrGetJoinableOus_num_ous);
8919
8920         return offset;
8921 }
8922
8923 static int
8924 wkssvc_dissect_element_NetrGetJoinableOus_num_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8925 {
8926         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrGetJoinableOus_num_ous, 0);
8927
8928         return offset;
8929 }
8930
8931 static int
8932 wkssvc_dissect_element_NetrGetJoinableOus_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8933 {
8934         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus_ous_, NDR_POINTER_REF, "Pointer to Ous (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus_ous);
8935
8936         return offset;
8937 }
8938
8939 static int
8940 wkssvc_dissect_element_NetrGetJoinableOus_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8941 {
8942         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus_ous__, NDR_POINTER_UNIQUE, "Pointer to Ous (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus_ous);
8943
8944         return offset;
8945 }
8946
8947 static int
8948 wkssvc_dissect_element_NetrGetJoinableOus_ous__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8949 {
8950         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus_ous___);
8951
8952         return offset;
8953 }
8954
8955 static int
8956 wkssvc_dissect_element_NetrGetJoinableOus_ous___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8957 {
8958         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus_ous____, NDR_POINTER_UNIQUE, "Pointer to Ous (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus_ous);
8959
8960         return offset;
8961 }
8962
8963 static int
8964 wkssvc_dissect_element_NetrGetJoinableOus_ous____(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8965 {
8966         char *data;
8967
8968         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus_ous, FALSE, &data);
8969         proto_item_append_text(tree, ": %s", data);
8970
8971         return offset;
8972 }
8973
8974 /* IDL: WERROR wkssvc_NetrGetJoinableOus( */
8975 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8976 /* IDL: [ref] [in] [charset(UTF16)] uint16 *domain_name, */
8977 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
8978 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *unknown, */
8979 /* IDL: [out] [in] [ref] uint32 *num_ous, */
8980 /* IDL: [out] [ref] [charset(UTF16)] [size_is(,*num_ous)] uint16 ***ous */
8981 /* IDL: ); */
8982
8983 static int
8984 wkssvc_dissect_NetrGetJoinableOus_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8985 {
8986         guint32 status;
8987
8988         pinfo->dcerpc_procedure_name="NetrGetJoinableOus";
8989         offset = wkssvc_dissect_element_NetrGetJoinableOus_num_ous(tvb, offset, pinfo, tree, drep);
8990         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8991
8992         offset = wkssvc_dissect_element_NetrGetJoinableOus_ous(tvb, offset, pinfo, tree, drep);
8993         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
8994
8995         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
8996
8997         if (status != 0)
8998                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8999
9000         return offset;
9001 }
9002
9003 static int
9004 wkssvc_dissect_NetrGetJoinableOus_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9005 {
9006         pinfo->dcerpc_procedure_name="NetrGetJoinableOus";
9007         offset = wkssvc_dissect_element_NetrGetJoinableOus_server_name(tvb, offset, pinfo, tree, drep);
9008         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9009         offset = wkssvc_dissect_element_NetrGetJoinableOus_domain_name(tvb, offset, pinfo, tree, drep);
9010         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9011         offset = wkssvc_dissect_element_NetrGetJoinableOus_Account(tvb, offset, pinfo, tree, drep);
9012         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9013         offset = wkssvc_dissect_element_NetrGetJoinableOus_unknown(tvb, offset, pinfo, tree, drep);
9014         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9015         offset = wkssvc_dissect_element_NetrGetJoinableOus_num_ous(tvb, offset, pinfo, tree, drep);
9016         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9017         return offset;
9018 }
9019
9020 static int
9021 wkssvc_dissect_element_NetrJoinDomain2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9022 {
9023         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrJoinDomain2_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain2_server_name);
9024
9025         return offset;
9026 }
9027
9028 static int
9029 wkssvc_dissect_element_NetrJoinDomain2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9030 {
9031         char *data;
9032
9033         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain2_server_name, FALSE, &data);
9034         proto_item_append_text(tree, ": %s", data);
9035
9036         return offset;
9037 }
9038
9039 static int
9040 wkssvc_dissect_element_NetrJoinDomain2_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9041 {
9042         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrJoinDomain2_domain_name_, NDR_POINTER_REF, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain2_domain_name);
9043
9044         return offset;
9045 }
9046
9047 static int
9048 wkssvc_dissect_element_NetrJoinDomain2_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9049 {
9050         char *data;
9051
9052         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain2_domain_name, FALSE, &data);
9053         proto_item_append_text(tree, ": %s", data);
9054
9055         return offset;
9056 }
9057
9058 static int
9059 wkssvc_dissect_element_NetrJoinDomain2_account_ou(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9060 {
9061         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrJoinDomain2_account_ou_, NDR_POINTER_UNIQUE, "Pointer to Account Ou (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain2_account_ou);
9062
9063         return offset;
9064 }
9065
9066 static int
9067 wkssvc_dissect_element_NetrJoinDomain2_account_ou_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9068 {
9069         char *data;
9070
9071         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain2_account_ou, FALSE, &data);
9072         proto_item_append_text(tree, ": %s", data);
9073
9074         return offset;
9075 }
9076
9077 static int
9078 wkssvc_dissect_element_NetrJoinDomain2_admin_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9079 {
9080         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrJoinDomain2_admin_account_, NDR_POINTER_UNIQUE, "Pointer to Admin Account (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain2_admin_account);
9081
9082         return offset;
9083 }
9084
9085 static int
9086 wkssvc_dissect_element_NetrJoinDomain2_admin_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9087 {
9088         char *data;
9089
9090         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain2_admin_account, FALSE, &data);
9091         proto_item_append_text(tree, ": %s", data);
9092
9093         return offset;
9094 }
9095
9096 static int
9097 wkssvc_dissect_element_NetrJoinDomain2_encrypted_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9098 {
9099         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrJoinDomain2_encrypted_password_, NDR_POINTER_UNIQUE, "Pointer to Encrypted Password (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrJoinDomain2_encrypted_password);
9100
9101         return offset;
9102 }
9103
9104 static int
9105 wkssvc_dissect_element_NetrJoinDomain2_encrypted_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9106 {
9107         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrJoinDomain2_encrypted_password,0);
9108
9109         return offset;
9110 }
9111
9112 static int
9113 wkssvc_dissect_element_NetrJoinDomain2_join_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9114 {
9115         offset = wkssvc_dissect_bitmap_joinflags(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrJoinDomain2_join_flags, 0);
9116
9117         return offset;
9118 }
9119
9120 /* IDL: WERROR wkssvc_NetrJoinDomain2( */
9121 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
9122 /* IDL: [ref] [in] [charset(UTF16)] uint16 *domain_name, */
9123 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *account_ou, */
9124 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *admin_account, */
9125 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *encrypted_password, */
9126 /* IDL: [in] wkssvc_joinflags join_flags */
9127 /* IDL: ); */
9128
9129 static int
9130 wkssvc_dissect_NetrJoinDomain2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9131 {
9132         guint32 status;
9133
9134         pinfo->dcerpc_procedure_name="NetrJoinDomain2";
9135         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
9136
9137         if (status != 0)
9138                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
9139
9140         return offset;
9141 }
9142
9143 static int
9144 wkssvc_dissect_NetrJoinDomain2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9145 {
9146         pinfo->dcerpc_procedure_name="NetrJoinDomain2";
9147         offset = wkssvc_dissect_element_NetrJoinDomain2_server_name(tvb, offset, pinfo, tree, drep);
9148         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9149         offset = wkssvc_dissect_element_NetrJoinDomain2_domain_name(tvb, offset, pinfo, tree, drep);
9150         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9151         offset = wkssvc_dissect_element_NetrJoinDomain2_account_ou(tvb, offset, pinfo, tree, drep);
9152         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9153         offset = wkssvc_dissect_element_NetrJoinDomain2_admin_account(tvb, offset, pinfo, tree, drep);
9154         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9155         offset = wkssvc_dissect_element_NetrJoinDomain2_encrypted_password(tvb, offset, pinfo, tree, drep);
9156         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9157         offset = wkssvc_dissect_element_NetrJoinDomain2_join_flags(tvb, offset, pinfo, tree, drep);
9158         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9159         return offset;
9160 }
9161
9162 static int
9163 wkssvc_dissect_element_NetrUnjoinDomain2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9164 {
9165         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUnjoinDomain2_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrUnjoinDomain2_server_name);
9166
9167         return offset;
9168 }
9169
9170 static int
9171 wkssvc_dissect_element_NetrUnjoinDomain2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9172 {
9173         char *data;
9174
9175         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUnjoinDomain2_server_name, FALSE, &data);
9176         proto_item_append_text(tree, ": %s", data);
9177
9178         return offset;
9179 }
9180
9181 static int
9182 wkssvc_dissect_element_NetrUnjoinDomain2_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9183 {
9184         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUnjoinDomain2_account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrUnjoinDomain2_account);
9185
9186         return offset;
9187 }
9188
9189 static int
9190 wkssvc_dissect_element_NetrUnjoinDomain2_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9191 {
9192         char *data;
9193
9194         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUnjoinDomain2_account, FALSE, &data);
9195         proto_item_append_text(tree, ": %s", data);
9196
9197         return offset;
9198 }
9199
9200 static int
9201 wkssvc_dissect_element_NetrUnjoinDomain2_encrypted_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9202 {
9203         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrUnjoinDomain2_encrypted_password_, NDR_POINTER_UNIQUE, "Pointer to Encrypted Password (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrUnjoinDomain2_encrypted_password);
9204
9205         return offset;
9206 }
9207
9208 static int
9209 wkssvc_dissect_element_NetrUnjoinDomain2_encrypted_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9210 {
9211         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrUnjoinDomain2_encrypted_password,0);
9212
9213         return offset;
9214 }
9215
9216 static int
9217 wkssvc_dissect_element_NetrUnjoinDomain2_unjoin_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9218 {
9219         offset = wkssvc_dissect_bitmap_joinflags(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrUnjoinDomain2_unjoin_flags, 0);
9220
9221         return offset;
9222 }
9223
9224 /* IDL: WERROR wkssvc_NetrUnjoinDomain2( */
9225 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
9226 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *account, */
9227 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *encrypted_password, */
9228 /* IDL: [in] wkssvc_joinflags unjoin_flags */
9229 /* IDL: ); */
9230
9231 static int
9232 wkssvc_dissect_NetrUnjoinDomain2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9233 {
9234         guint32 status;
9235
9236         pinfo->dcerpc_procedure_name="NetrUnjoinDomain2";
9237         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
9238
9239         if (status != 0)
9240                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
9241
9242         return offset;
9243 }
9244
9245 static int
9246 wkssvc_dissect_NetrUnjoinDomain2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9247 {
9248         pinfo->dcerpc_procedure_name="NetrUnjoinDomain2";
9249         offset = wkssvc_dissect_element_NetrUnjoinDomain2_server_name(tvb, offset, pinfo, tree, drep);
9250         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9251         offset = wkssvc_dissect_element_NetrUnjoinDomain2_account(tvb, offset, pinfo, tree, drep);
9252         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9253         offset = wkssvc_dissect_element_NetrUnjoinDomain2_encrypted_password(tvb, offset, pinfo, tree, drep);
9254         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9255         offset = wkssvc_dissect_element_NetrUnjoinDomain2_unjoin_flags(tvb, offset, pinfo, tree, drep);
9256         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9257         return offset;
9258 }
9259
9260 static int
9261 wkssvc_dissect_element_NetrRenameMachineInDomain2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9262 {
9263         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrRenameMachineInDomain2_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_server_name);
9264
9265         return offset;
9266 }
9267
9268 static int
9269 wkssvc_dissect_element_NetrRenameMachineInDomain2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9270 {
9271         char *data;
9272
9273         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_server_name, FALSE, &data);
9274         proto_item_append_text(tree, ": %s", data);
9275
9276         return offset;
9277 }
9278
9279 static int
9280 wkssvc_dissect_element_NetrRenameMachineInDomain2_NewMachineName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9281 {
9282         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrRenameMachineInDomain2_NewMachineName_, NDR_POINTER_UNIQUE, "Pointer to Newmachinename (uint16)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_NewMachineName);
9283
9284         return offset;
9285 }
9286
9287 static int
9288 wkssvc_dissect_element_NetrRenameMachineInDomain2_NewMachineName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9289 {
9290         char *data;
9291
9292         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_NewMachineName, FALSE, &data);
9293         proto_item_append_text(tree, ": %s", data);
9294
9295         return offset;
9296 }
9297
9298 static int
9299 wkssvc_dissect_element_NetrRenameMachineInDomain2_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9300 {
9301         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrRenameMachineInDomain2_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_Account);
9302
9303         return offset;
9304 }
9305
9306 static int
9307 wkssvc_dissect_element_NetrRenameMachineInDomain2_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9308 {
9309         char *data;
9310
9311         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_Account, FALSE, &data);
9312         proto_item_append_text(tree, ": %s", data);
9313
9314         return offset;
9315 }
9316
9317 static int
9318 wkssvc_dissect_element_NetrRenameMachineInDomain2_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9319 {
9320         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrRenameMachineInDomain2_EncryptedPassword_, NDR_POINTER_UNIQUE, "Pointer to Encryptedpassword (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_EncryptedPassword);
9321
9322         return offset;
9323 }
9324
9325 static int
9326 wkssvc_dissect_element_NetrRenameMachineInDomain2_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9327 {
9328         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_EncryptedPassword,0);
9329
9330         return offset;
9331 }
9332
9333 static int
9334 wkssvc_dissect_element_NetrRenameMachineInDomain2_RenameOptions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9335 {
9336         offset = wkssvc_dissect_bitmap_renameflags(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_RenameOptions, 0);
9337
9338         return offset;
9339 }
9340
9341 /* IDL: WERROR wkssvc_NetrRenameMachineInDomain2( */
9342 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
9343 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *NewMachineName, */
9344 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
9345 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *EncryptedPassword, */
9346 /* IDL: [in] wkssvc_renameflags RenameOptions */
9347 /* IDL: ); */
9348
9349 static int
9350 wkssvc_dissect_NetrRenameMachineInDomain2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9351 {
9352         guint32 status;
9353
9354         pinfo->dcerpc_procedure_name="NetrRenameMachineInDomain2";
9355         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
9356
9357         if (status != 0)
9358                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
9359
9360         return offset;
9361 }
9362
9363 static int
9364 wkssvc_dissect_NetrRenameMachineInDomain2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9365 {
9366         pinfo->dcerpc_procedure_name="NetrRenameMachineInDomain2";
9367         offset = wkssvc_dissect_element_NetrRenameMachineInDomain2_server_name(tvb, offset, pinfo, tree, drep);
9368         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9369         offset = wkssvc_dissect_element_NetrRenameMachineInDomain2_NewMachineName(tvb, offset, pinfo, tree, drep);
9370         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9371         offset = wkssvc_dissect_element_NetrRenameMachineInDomain2_Account(tvb, offset, pinfo, tree, drep);
9372         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9373         offset = wkssvc_dissect_element_NetrRenameMachineInDomain2_EncryptedPassword(tvb, offset, pinfo, tree, drep);
9374         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9375         offset = wkssvc_dissect_element_NetrRenameMachineInDomain2_RenameOptions(tvb, offset, pinfo, tree, drep);
9376         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9377         return offset;
9378 }
9379
9380 static int
9381 wkssvc_dissect_element_NetrValidateName2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9382 {
9383         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrValidateName2_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrValidateName2_server_name);
9384
9385         return offset;
9386 }
9387
9388 static int
9389 wkssvc_dissect_element_NetrValidateName2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9390 {
9391         char *data;
9392
9393         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrValidateName2_server_name, FALSE, &data);
9394         proto_item_append_text(tree, ": %s", data);
9395
9396         return offset;
9397 }
9398
9399 static int
9400 wkssvc_dissect_element_NetrValidateName2_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9401 {
9402         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrValidateName2_name_, NDR_POINTER_REF, "Pointer to Name (uint16)",hf_wkssvc_wkssvc_NetrValidateName2_name);
9403
9404         return offset;
9405 }
9406
9407 static int
9408 wkssvc_dissect_element_NetrValidateName2_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9409 {
9410         char *data;
9411
9412         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrValidateName2_name, FALSE, &data);
9413         proto_item_append_text(tree, ": %s", data);
9414
9415         return offset;
9416 }
9417
9418 static int
9419 wkssvc_dissect_element_NetrValidateName2_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9420 {
9421         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrValidateName2_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrValidateName2_Account);
9422
9423         return offset;
9424 }
9425
9426 static int
9427 wkssvc_dissect_element_NetrValidateName2_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9428 {
9429         char *data;
9430
9431         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrValidateName2_Account, FALSE, &data);
9432         proto_item_append_text(tree, ": %s", data);
9433
9434         return offset;
9435 }
9436
9437 static int
9438 wkssvc_dissect_element_NetrValidateName2_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9439 {
9440         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrValidateName2_EncryptedPassword_, NDR_POINTER_UNIQUE, "Pointer to Encryptedpassword (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrValidateName2_EncryptedPassword);
9441
9442         return offset;
9443 }
9444
9445 static int
9446 wkssvc_dissect_element_NetrValidateName2_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9447 {
9448         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrValidateName2_EncryptedPassword,0);
9449
9450         return offset;
9451 }
9452
9453 static int
9454 wkssvc_dissect_element_NetrValidateName2_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9455 {
9456         offset = wkssvc_dissect_enum_NetValidateNameType(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrValidateName2_name_type, 0);
9457
9458         return offset;
9459 }
9460
9461 /* IDL: WERROR wkssvc_NetrValidateName2( */
9462 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
9463 /* IDL: [ref] [in] [charset(UTF16)] uint16 *name, */
9464 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
9465 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *EncryptedPassword, */
9466 /* IDL: [in] wkssvc_NetValidateNameType name_type */
9467 /* IDL: ); */
9468
9469 static int
9470 wkssvc_dissect_NetrValidateName2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9471 {
9472         guint32 status;
9473
9474         pinfo->dcerpc_procedure_name="NetrValidateName2";
9475         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
9476
9477         if (status != 0)
9478                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
9479
9480         return offset;
9481 }
9482
9483 static int
9484 wkssvc_dissect_NetrValidateName2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9485 {
9486         pinfo->dcerpc_procedure_name="NetrValidateName2";
9487         offset = wkssvc_dissect_element_NetrValidateName2_server_name(tvb, offset, pinfo, tree, drep);
9488         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9489         offset = wkssvc_dissect_element_NetrValidateName2_name(tvb, offset, pinfo, tree, drep);
9490         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9491         offset = wkssvc_dissect_element_NetrValidateName2_Account(tvb, offset, pinfo, tree, drep);
9492         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9493         offset = wkssvc_dissect_element_NetrValidateName2_EncryptedPassword(tvb, offset, pinfo, tree, drep);
9494         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9495         offset = wkssvc_dissect_element_NetrValidateName2_name_type(tvb, offset, pinfo, tree, drep);
9496         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9497         return offset;
9498 }
9499
9500 static int
9501 wkssvc_dissect_element_NetrGetJoinableOus2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9502 {
9503         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus2_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_server_name);
9504
9505         return offset;
9506 }
9507
9508 static int
9509 wkssvc_dissect_element_NetrGetJoinableOus2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9510 {
9511         char *data;
9512
9513         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus2_server_name, FALSE, &data);
9514         proto_item_append_text(tree, ": %s", data);
9515
9516         return offset;
9517 }
9518
9519 static int
9520 wkssvc_dissect_element_NetrGetJoinableOus2_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9521 {
9522         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus2_domain_name_, NDR_POINTER_REF, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_domain_name);
9523
9524         return offset;
9525 }
9526
9527 static int
9528 wkssvc_dissect_element_NetrGetJoinableOus2_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9529 {
9530         char *data;
9531
9532         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus2_domain_name, FALSE, &data);
9533         proto_item_append_text(tree, ": %s", data);
9534
9535         return offset;
9536 }
9537
9538 static int
9539 wkssvc_dissect_element_NetrGetJoinableOus2_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9540 {
9541         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus2_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_Account);
9542
9543         return offset;
9544 }
9545
9546 static int
9547 wkssvc_dissect_element_NetrGetJoinableOus2_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9548 {
9549         char *data;
9550
9551         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus2_Account, FALSE, &data);
9552         proto_item_append_text(tree, ": %s", data);
9553
9554         return offset;
9555 }
9556
9557 static int
9558 wkssvc_dissect_element_NetrGetJoinableOus2_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9559 {
9560         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus2_EncryptedPassword_, NDR_POINTER_UNIQUE, "Pointer to Encryptedpassword (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_EncryptedPassword);
9561
9562         return offset;
9563 }
9564
9565 static int
9566 wkssvc_dissect_element_NetrGetJoinableOus2_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9567 {
9568         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrGetJoinableOus2_EncryptedPassword,0);
9569
9570         return offset;
9571 }
9572
9573 static int
9574 wkssvc_dissect_element_NetrGetJoinableOus2_num_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9575 {
9576         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus2_num_ous_, NDR_POINTER_REF, "Pointer to Num Ous (uint32)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_num_ous);
9577
9578         return offset;
9579 }
9580
9581 static int
9582 wkssvc_dissect_element_NetrGetJoinableOus2_num_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9583 {
9584         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrGetJoinableOus2_num_ous, 0);
9585
9586         return offset;
9587 }
9588
9589 static int
9590 wkssvc_dissect_element_NetrGetJoinableOus2_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9591 {
9592         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus2_ous_, NDR_POINTER_REF, "Pointer to Ous (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_ous);
9593
9594         return offset;
9595 }
9596
9597 static int
9598 wkssvc_dissect_element_NetrGetJoinableOus2_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9599 {
9600         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus2_ous__, NDR_POINTER_UNIQUE, "Pointer to Ous (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_ous);
9601
9602         return offset;
9603 }
9604
9605 static int
9606 wkssvc_dissect_element_NetrGetJoinableOus2_ous__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9607 {
9608         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus2_ous___);
9609
9610         return offset;
9611 }
9612
9613 static int
9614 wkssvc_dissect_element_NetrGetJoinableOus2_ous___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9615 {
9616         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrGetJoinableOus2_ous____, NDR_POINTER_UNIQUE, "Pointer to Ous (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_ous);
9617
9618         return offset;
9619 }
9620
9621 static int
9622 wkssvc_dissect_element_NetrGetJoinableOus2_ous____(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9623 {
9624         char *data;
9625
9626         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus2_ous, FALSE, &data);
9627         proto_item_append_text(tree, ": %s", data);
9628
9629         return offset;
9630 }
9631
9632 /* IDL: WERROR wkssvc_NetrGetJoinableOus2( */
9633 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
9634 /* IDL: [ref] [in] [charset(UTF16)] uint16 *domain_name, */
9635 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
9636 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *EncryptedPassword, */
9637 /* IDL: [out] [in] [ref] uint32 *num_ous, */
9638 /* IDL: [out] [ref] [charset(UTF16)] [size_is(,*num_ous)] uint16 ***ous */
9639 /* IDL: ); */
9640
9641 static int
9642 wkssvc_dissect_NetrGetJoinableOus2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9643 {
9644         guint32 status;
9645
9646         pinfo->dcerpc_procedure_name="NetrGetJoinableOus2";
9647         offset = wkssvc_dissect_element_NetrGetJoinableOus2_num_ous(tvb, offset, pinfo, tree, drep);
9648         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9649
9650         offset = wkssvc_dissect_element_NetrGetJoinableOus2_ous(tvb, offset, pinfo, tree, drep);
9651         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9652
9653         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
9654
9655         if (status != 0)
9656                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
9657
9658         return offset;
9659 }
9660
9661 static int
9662 wkssvc_dissect_NetrGetJoinableOus2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9663 {
9664         pinfo->dcerpc_procedure_name="NetrGetJoinableOus2";
9665         offset = wkssvc_dissect_element_NetrGetJoinableOus2_server_name(tvb, offset, pinfo, tree, drep);
9666         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9667         offset = wkssvc_dissect_element_NetrGetJoinableOus2_domain_name(tvb, offset, pinfo, tree, drep);
9668         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9669         offset = wkssvc_dissect_element_NetrGetJoinableOus2_Account(tvb, offset, pinfo, tree, drep);
9670         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9671         offset = wkssvc_dissect_element_NetrGetJoinableOus2_EncryptedPassword(tvb, offset, pinfo, tree, drep);
9672         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9673         offset = wkssvc_dissect_element_NetrGetJoinableOus2_num_ous(tvb, offset, pinfo, tree, drep);
9674         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9675         return offset;
9676 }
9677
9678 static int
9679 wkssvc_dissect_element_NetrAddAlternateComputerName_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9680 {
9681         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrAddAlternateComputerName_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrAddAlternateComputerName_server_name);
9682
9683         return offset;
9684 }
9685
9686 static int
9687 wkssvc_dissect_element_NetrAddAlternateComputerName_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9688 {
9689         char *data;
9690
9691         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrAddAlternateComputerName_server_name, FALSE, &data);
9692         proto_item_append_text(tree, ": %s", data);
9693
9694         return offset;
9695 }
9696
9697 static int
9698 wkssvc_dissect_element_NetrAddAlternateComputerName_NewAlternateMachineName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9699 {
9700         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrAddAlternateComputerName_NewAlternateMachineName_, NDR_POINTER_UNIQUE, "Pointer to Newalternatemachinename (uint16)",hf_wkssvc_wkssvc_NetrAddAlternateComputerName_NewAlternateMachineName);
9701
9702         return offset;
9703 }
9704
9705 static int
9706 wkssvc_dissect_element_NetrAddAlternateComputerName_NewAlternateMachineName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9707 {
9708         char *data;
9709
9710         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrAddAlternateComputerName_NewAlternateMachineName, FALSE, &data);
9711         proto_item_append_text(tree, ": %s", data);
9712
9713         return offset;
9714 }
9715
9716 static int
9717 wkssvc_dissect_element_NetrAddAlternateComputerName_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9718 {
9719         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrAddAlternateComputerName_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrAddAlternateComputerName_Account);
9720
9721         return offset;
9722 }
9723
9724 static int
9725 wkssvc_dissect_element_NetrAddAlternateComputerName_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9726 {
9727         char *data;
9728
9729         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrAddAlternateComputerName_Account, FALSE, &data);
9730         proto_item_append_text(tree, ": %s", data);
9731
9732         return offset;
9733 }
9734
9735 static int
9736 wkssvc_dissect_element_NetrAddAlternateComputerName_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9737 {
9738         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrAddAlternateComputerName_EncryptedPassword_, NDR_POINTER_UNIQUE, "Pointer to Encryptedpassword (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrAddAlternateComputerName_EncryptedPassword);
9739
9740         return offset;
9741 }
9742
9743 static int
9744 wkssvc_dissect_element_NetrAddAlternateComputerName_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9745 {
9746         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrAddAlternateComputerName_EncryptedPassword,0);
9747
9748         return offset;
9749 }
9750
9751 static int
9752 wkssvc_dissect_element_NetrAddAlternateComputerName_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9753 {
9754         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrAddAlternateComputerName_Reserved, 0);
9755
9756         return offset;
9757 }
9758
9759 /* IDL: WERROR wkssvc_NetrAddAlternateComputerName( */
9760 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
9761 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *NewAlternateMachineName, */
9762 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
9763 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *EncryptedPassword, */
9764 /* IDL: [in] uint32 Reserved */
9765 /* IDL: ); */
9766
9767 static int
9768 wkssvc_dissect_NetrAddAlternateComputerName_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9769 {
9770         guint32 status;
9771
9772         pinfo->dcerpc_procedure_name="NetrAddAlternateComputerName";
9773         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
9774
9775         if (status != 0)
9776                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
9777
9778         return offset;
9779 }
9780
9781 static int
9782 wkssvc_dissect_NetrAddAlternateComputerName_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9783 {
9784         pinfo->dcerpc_procedure_name="NetrAddAlternateComputerName";
9785         offset = wkssvc_dissect_element_NetrAddAlternateComputerName_server_name(tvb, offset, pinfo, tree, drep);
9786         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9787         offset = wkssvc_dissect_element_NetrAddAlternateComputerName_NewAlternateMachineName(tvb, offset, pinfo, tree, drep);
9788         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9789         offset = wkssvc_dissect_element_NetrAddAlternateComputerName_Account(tvb, offset, pinfo, tree, drep);
9790         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9791         offset = wkssvc_dissect_element_NetrAddAlternateComputerName_EncryptedPassword(tvb, offset, pinfo, tree, drep);
9792         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9793         offset = wkssvc_dissect_element_NetrAddAlternateComputerName_Reserved(tvb, offset, pinfo, tree, drep);
9794         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9795         return offset;
9796 }
9797
9798 static int
9799 wkssvc_dissect_element_NetrRemoveAlternateComputerName_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9800 {
9801         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrRemoveAlternateComputerName_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_server_name);
9802
9803         return offset;
9804 }
9805
9806 static int
9807 wkssvc_dissect_element_NetrRemoveAlternateComputerName_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9808 {
9809         char *data;
9810
9811         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_server_name, FALSE, &data);
9812         proto_item_append_text(tree, ": %s", data);
9813
9814         return offset;
9815 }
9816
9817 static int
9818 wkssvc_dissect_element_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9819 {
9820         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove_, NDR_POINTER_UNIQUE, "Pointer to Alternatemachinenametoremove (uint16)",hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove);
9821
9822         return offset;
9823 }
9824
9825 static int
9826 wkssvc_dissect_element_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9827 {
9828         char *data;
9829
9830         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove, FALSE, &data);
9831         proto_item_append_text(tree, ": %s", data);
9832
9833         return offset;
9834 }
9835
9836 static int
9837 wkssvc_dissect_element_NetrRemoveAlternateComputerName_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9838 {
9839         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrRemoveAlternateComputerName_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_Account);
9840
9841         return offset;
9842 }
9843
9844 static int
9845 wkssvc_dissect_element_NetrRemoveAlternateComputerName_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9846 {
9847         char *data;
9848
9849         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_Account, FALSE, &data);
9850         proto_item_append_text(tree, ": %s", data);
9851
9852         return offset;
9853 }
9854
9855 static int
9856 wkssvc_dissect_element_NetrRemoveAlternateComputerName_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9857 {
9858         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrRemoveAlternateComputerName_EncryptedPassword_, NDR_POINTER_UNIQUE, "Pointer to Encryptedpassword (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_EncryptedPassword);
9859
9860         return offset;
9861 }
9862
9863 static int
9864 wkssvc_dissect_element_NetrRemoveAlternateComputerName_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9865 {
9866         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_EncryptedPassword,0);
9867
9868         return offset;
9869 }
9870
9871 static int
9872 wkssvc_dissect_element_NetrRemoveAlternateComputerName_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9873 {
9874         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_Reserved, 0);
9875
9876         return offset;
9877 }
9878
9879 /* IDL: WERROR wkssvc_NetrRemoveAlternateComputerName( */
9880 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
9881 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *AlternateMachineNameToRemove, */
9882 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
9883 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *EncryptedPassword, */
9884 /* IDL: [in] uint32 Reserved */
9885 /* IDL: ); */
9886
9887 static int
9888 wkssvc_dissect_NetrRemoveAlternateComputerName_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9889 {
9890         guint32 status;
9891
9892         pinfo->dcerpc_procedure_name="NetrRemoveAlternateComputerName";
9893         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
9894
9895         if (status != 0)
9896                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
9897
9898         return offset;
9899 }
9900
9901 static int
9902 wkssvc_dissect_NetrRemoveAlternateComputerName_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9903 {
9904         pinfo->dcerpc_procedure_name="NetrRemoveAlternateComputerName";
9905         offset = wkssvc_dissect_element_NetrRemoveAlternateComputerName_server_name(tvb, offset, pinfo, tree, drep);
9906         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9907         offset = wkssvc_dissect_element_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove(tvb, offset, pinfo, tree, drep);
9908         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9909         offset = wkssvc_dissect_element_NetrRemoveAlternateComputerName_Account(tvb, offset, pinfo, tree, drep);
9910         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9911         offset = wkssvc_dissect_element_NetrRemoveAlternateComputerName_EncryptedPassword(tvb, offset, pinfo, tree, drep);
9912         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9913         offset = wkssvc_dissect_element_NetrRemoveAlternateComputerName_Reserved(tvb, offset, pinfo, tree, drep);
9914         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
9915         return offset;
9916 }
9917
9918 static int
9919 wkssvc_dissect_element_NetrSetPrimaryComputername_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9920 {
9921         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrSetPrimaryComputername_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrSetPrimaryComputername_server_name);
9922
9923         return offset;
9924 }
9925
9926 static int
9927 wkssvc_dissect_element_NetrSetPrimaryComputername_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9928 {
9929         char *data;
9930
9931         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrSetPrimaryComputername_server_name, FALSE, &data);
9932         proto_item_append_text(tree, ": %s", data);
9933
9934         return offset;
9935 }
9936
9937 static int
9938 wkssvc_dissect_element_NetrSetPrimaryComputername_primary_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9939 {
9940         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrSetPrimaryComputername_primary_name_, NDR_POINTER_UNIQUE, "Pointer to Primary Name (uint16)",hf_wkssvc_wkssvc_NetrSetPrimaryComputername_primary_name);
9941
9942         return offset;
9943 }
9944
9945 static int
9946 wkssvc_dissect_element_NetrSetPrimaryComputername_primary_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9947 {
9948         char *data;
9949
9950         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrSetPrimaryComputername_primary_name, FALSE, &data);
9951         proto_item_append_text(tree, ": %s", data);
9952
9953         return offset;
9954 }
9955
9956 static int
9957 wkssvc_dissect_element_NetrSetPrimaryComputername_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9958 {
9959         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrSetPrimaryComputername_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrSetPrimaryComputername_Account);
9960
9961         return offset;
9962 }
9963
9964 static int
9965 wkssvc_dissect_element_NetrSetPrimaryComputername_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9966 {
9967         char *data;
9968
9969         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrSetPrimaryComputername_Account, FALSE, &data);
9970         proto_item_append_text(tree, ": %s", data);
9971
9972         return offset;
9973 }
9974
9975 static int
9976 wkssvc_dissect_element_NetrSetPrimaryComputername_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9977 {
9978         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrSetPrimaryComputername_EncryptedPassword_, NDR_POINTER_UNIQUE, "Pointer to Encryptedpassword (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrSetPrimaryComputername_EncryptedPassword);
9979
9980         return offset;
9981 }
9982
9983 static int
9984 wkssvc_dissect_element_NetrSetPrimaryComputername_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9985 {
9986         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrSetPrimaryComputername_EncryptedPassword,0);
9987
9988         return offset;
9989 }
9990
9991 static int
9992 wkssvc_dissect_element_NetrSetPrimaryComputername_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
9993 {
9994         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrSetPrimaryComputername_Reserved, 0);
9995
9996         return offset;
9997 }
9998
9999 /* IDL: WERROR wkssvc_NetrSetPrimaryComputername( */
10000 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
10001 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *primary_name, */
10002 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
10003 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *EncryptedPassword, */
10004 /* IDL: [in] uint32 Reserved */
10005 /* IDL: ); */
10006
10007 static int
10008 wkssvc_dissect_NetrSetPrimaryComputername_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10009 {
10010         guint32 status;
10011
10012         pinfo->dcerpc_procedure_name="NetrSetPrimaryComputername";
10013         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
10014
10015         if (status != 0)
10016                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
10017
10018         return offset;
10019 }
10020
10021 static int
10022 wkssvc_dissect_NetrSetPrimaryComputername_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10023 {
10024         pinfo->dcerpc_procedure_name="NetrSetPrimaryComputername";
10025         offset = wkssvc_dissect_element_NetrSetPrimaryComputername_server_name(tvb, offset, pinfo, tree, drep);
10026         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
10027         offset = wkssvc_dissect_element_NetrSetPrimaryComputername_primary_name(tvb, offset, pinfo, tree, drep);
10028         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
10029         offset = wkssvc_dissect_element_NetrSetPrimaryComputername_Account(tvb, offset, pinfo, tree, drep);
10030         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
10031         offset = wkssvc_dissect_element_NetrSetPrimaryComputername_EncryptedPassword(tvb, offset, pinfo, tree, drep);
10032         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
10033         offset = wkssvc_dissect_element_NetrSetPrimaryComputername_Reserved(tvb, offset, pinfo, tree, drep);
10034         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
10035         return offset;
10036 }
10037
10038 static int
10039 wkssvc_dissect_element_NetrEnumerateComputerNames_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10040 {
10041         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrEnumerateComputerNames_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrEnumerateComputerNames_server_name);
10042
10043         return offset;
10044 }
10045
10046 static int
10047 wkssvc_dissect_element_NetrEnumerateComputerNames_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10048 {
10049         char *data;
10050
10051         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrEnumerateComputerNames_server_name, FALSE, &data);
10052         proto_item_append_text(tree, ": %s", data);
10053
10054         return offset;
10055 }
10056
10057 static int
10058 wkssvc_dissect_element_NetrEnumerateComputerNames_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10059 {
10060         offset = wkssvc_dissect_enum_ComputerNameType(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrEnumerateComputerNames_name_type, 0);
10061
10062         return offset;
10063 }
10064
10065 static int
10066 wkssvc_dissect_element_NetrEnumerateComputerNames_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10067 {
10068         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_wkssvc_NetrEnumerateComputerNames_Reserved, 0);
10069
10070         return offset;
10071 }
10072
10073 static int
10074 wkssvc_dissect_element_NetrEnumerateComputerNames_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10075 {
10076         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrEnumerateComputerNames_ctr_, NDR_POINTER_REF, "Pointer to Ctr (wkssvc_ComputerNamesCtr)",hf_wkssvc_wkssvc_NetrEnumerateComputerNames_ctr);
10077
10078         return offset;
10079 }
10080
10081 static int
10082 wkssvc_dissect_element_NetrEnumerateComputerNames_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10083 {
10084         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, wkssvc_dissect_element_NetrEnumerateComputerNames_ctr__, NDR_POINTER_UNIQUE, "Pointer to Ctr (wkssvc_ComputerNamesCtr)",hf_wkssvc_wkssvc_NetrEnumerateComputerNames_ctr);
10085
10086         return offset;
10087 }
10088
10089 static int
10090 wkssvc_dissect_element_NetrEnumerateComputerNames_ctr__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10091 {
10092         offset = wkssvc_dissect_struct_ComputerNamesCtr(tvb,offset,pinfo,tree,drep,hf_wkssvc_wkssvc_NetrEnumerateComputerNames_ctr,0);
10093
10094         return offset;
10095 }
10096
10097 /* IDL: WERROR wkssvc_NetrEnumerateComputerNames( */
10098 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
10099 /* IDL: [in] wkssvc_ComputerNameType name_type, */
10100 /* IDL: [in] uint32 Reserved, */
10101 /* IDL: [out] [ref] wkssvc_ComputerNamesCtr **ctr */
10102 /* IDL: ); */
10103
10104 static int
10105 wkssvc_dissect_NetrEnumerateComputerNames_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10106 {
10107         guint32 status;
10108
10109         pinfo->dcerpc_procedure_name="NetrEnumerateComputerNames";
10110         offset = wkssvc_dissect_element_NetrEnumerateComputerNames_ctr(tvb, offset, pinfo, tree, drep);
10111         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
10112
10113         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_wkssvc_werror, &status);
10114
10115         if (status != 0)
10116                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
10117
10118         return offset;
10119 }
10120
10121 static int
10122 wkssvc_dissect_NetrEnumerateComputerNames_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
10123 {
10124         pinfo->dcerpc_procedure_name="NetrEnumerateComputerNames";
10125         offset = wkssvc_dissect_element_NetrEnumerateComputerNames_server_name(tvb, offset, pinfo, tree, drep);
10126         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
10127         offset = wkssvc_dissect_element_NetrEnumerateComputerNames_name_type(tvb, offset, pinfo, tree, drep);
10128         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
10129         offset = wkssvc_dissect_element_NetrEnumerateComputerNames_Reserved(tvb, offset, pinfo, tree, drep);
10130         offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
10131         return offset;
10132 }
10133
10134
10135 static dcerpc_sub_dissector wkssvc_dissectors[] = {
10136         { 0, "NetWkstaGetInfo",
10137            wkssvc_dissect_NetWkstaGetInfo_request, wkssvc_dissect_NetWkstaGetInfo_response},
10138         { 1, "NetWkstaSetInfo",
10139            wkssvc_dissect_NetWkstaSetInfo_request, wkssvc_dissect_NetWkstaSetInfo_response},
10140         { 2, "NetWkstaEnumUsers",
10141            wkssvc_dissect_NetWkstaEnumUsers_request, wkssvc_dissect_NetWkstaEnumUsers_response},
10142         { 3, "NetrWkstaUserGetInfo",
10143            wkssvc_dissect_NetrWkstaUserGetInfo_request, wkssvc_dissect_NetrWkstaUserGetInfo_response},
10144         { 4, "NetrWkstaUserSetInfo",
10145            wkssvc_dissect_NetrWkstaUserSetInfo_request, wkssvc_dissect_NetrWkstaUserSetInfo_response},
10146         { 5, "NetWkstaTransportEnum",
10147            wkssvc_dissect_NetWkstaTransportEnum_request, wkssvc_dissect_NetWkstaTransportEnum_response},
10148         { 6, "NetrWkstaTransportAdd",
10149            wkssvc_dissect_NetrWkstaTransportAdd_request, wkssvc_dissect_NetrWkstaTransportAdd_response},
10150         { 7, "NetrWkstaTransportDel",
10151            wkssvc_dissect_NetrWkstaTransportDel_request, wkssvc_dissect_NetrWkstaTransportDel_response},
10152         { 8, "NetrUseAdd",
10153            wkssvc_dissect_NetrUseAdd_request, wkssvc_dissect_NetrUseAdd_response},
10154         { 9, "NetrUseGetInfo",
10155            wkssvc_dissect_NetrUseGetInfo_request, wkssvc_dissect_NetrUseGetInfo_response},
10156         { 10, "NetrUseDel",
10157            wkssvc_dissect_NetrUseDel_request, wkssvc_dissect_NetrUseDel_response},
10158         { 11, "NetrUseEnum",
10159            wkssvc_dissect_NetrUseEnum_request, wkssvc_dissect_NetrUseEnum_response},
10160         { 12, "NetrMessageBufferSend",
10161            wkssvc_dissect_NetrMessageBufferSend_request, wkssvc_dissect_NetrMessageBufferSend_response},
10162         { 13, "NetrWorkstationStatisticsGet",
10163            wkssvc_dissect_NetrWorkstationStatisticsGet_request, wkssvc_dissect_NetrWorkstationStatisticsGet_response},
10164         { 14, "NetrLogonDomainNameAdd",
10165            wkssvc_dissect_NetrLogonDomainNameAdd_request, wkssvc_dissect_NetrLogonDomainNameAdd_response},
10166         { 15, "NetrLogonDomainNameDel",
10167            wkssvc_dissect_NetrLogonDomainNameDel_request, wkssvc_dissect_NetrLogonDomainNameDel_response},
10168         { 16, "NetrJoinDomain",
10169            wkssvc_dissect_NetrJoinDomain_request, wkssvc_dissect_NetrJoinDomain_response},
10170         { 17, "NetrUnjoinDomain",
10171            wkssvc_dissect_NetrUnjoinDomain_request, wkssvc_dissect_NetrUnjoinDomain_response},
10172         { 18, "NetrRenameMachineInDomain",
10173            wkssvc_dissect_NetrRenameMachineInDomain_request, wkssvc_dissect_NetrRenameMachineInDomain_response},
10174         { 19, "NetrValidateName",
10175            wkssvc_dissect_NetrValidateName_request, wkssvc_dissect_NetrValidateName_response},
10176         { 20, "NetrGetJoinInformation",
10177            wkssvc_dissect_NetrGetJoinInformation_request, wkssvc_dissect_NetrGetJoinInformation_response},
10178         { 21, "NetrGetJoinableOus",
10179            wkssvc_dissect_NetrGetJoinableOus_request, wkssvc_dissect_NetrGetJoinableOus_response},
10180         { 22, "NetrJoinDomain2",
10181            wkssvc_dissect_NetrJoinDomain2_request, wkssvc_dissect_NetrJoinDomain2_response},
10182         { 23, "NetrUnjoinDomain2",
10183            wkssvc_dissect_NetrUnjoinDomain2_request, wkssvc_dissect_NetrUnjoinDomain2_response},
10184         { 24, "NetrRenameMachineInDomain2",
10185            wkssvc_dissect_NetrRenameMachineInDomain2_request, wkssvc_dissect_NetrRenameMachineInDomain2_response},
10186         { 25, "NetrValidateName2",
10187            wkssvc_dissect_NetrValidateName2_request, wkssvc_dissect_NetrValidateName2_response},
10188         { 26, "NetrGetJoinableOus2",
10189            wkssvc_dissect_NetrGetJoinableOus2_request, wkssvc_dissect_NetrGetJoinableOus2_response},
10190         { 27, "NetrAddAlternateComputerName",
10191            wkssvc_dissect_NetrAddAlternateComputerName_request, wkssvc_dissect_NetrAddAlternateComputerName_response},
10192         { 28, "NetrRemoveAlternateComputerName",
10193            wkssvc_dissect_NetrRemoveAlternateComputerName_request, wkssvc_dissect_NetrRemoveAlternateComputerName_response},
10194         { 29, "NetrSetPrimaryComputername",
10195            wkssvc_dissect_NetrSetPrimaryComputername_request, wkssvc_dissect_NetrSetPrimaryComputername_response},
10196         { 30, "NetrEnumerateComputerNames",
10197            wkssvc_dissect_NetrEnumerateComputerNames_request, wkssvc_dissect_NetrEnumerateComputerNames_response},
10198         { 0, NULL, NULL, NULL }
10199 };
10200
10201 void proto_register_dcerpc_wkssvc(void)
10202 {
10203         static hf_register_info hf[] = {
10204         { &hf_wkssvc_wkssvc_NetrUseInfo2_use_count,
10205           { "Use Count", "wkssvc.wkssvc_NetrUseInfo2.use_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10206         { &hf_wkssvc_wkssvc_NetWkstaTransportInfo0_quality_of_service,
10207           { "Quality Of Service", "wkssvc.wkssvc_NetWkstaTransportInfo0.quality_of_service", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10208         { &hf_wkssvc_wkssvc_NetWkstaInfo1045_pipe_maximum,
10209           { "Pipe Maximum", "wkssvc.wkssvc_NetWkstaInfo1045.pipe_maximum", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10210         { &hf_wkssvc_wkssvc_NetrUseInfo2_password,
10211           { "Password", "wkssvc.wkssvc_NetrUseInfo2.password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10212         { &hf_wkssvc_wkssvc_NetrJoinDomain2_join_flags,
10213           { "Join Flags", "wkssvc.wkssvc_NetrJoinDomain2.join_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
10214         { &hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr1,
10215           { "Ctr1", "wkssvc.wkssvc_NetrUseEnumCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10216         { &hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_level,
10217           { "Level", "wkssvc.wkssvc_NetrWkstaUserSetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10218         { &hf_wkssvc_wkssvc_NetrUseEnum_entries_read,
10219           { "Entries Read", "wkssvc.wkssvc_NetrUseEnum.entries_read", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10220         { &hf_wkssvc_wkssvc_NetrSetPrimaryComputername_EncryptedPassword,
10221           { "Encryptedpassword", "wkssvc.wkssvc_NetrSetPrimaryComputername.EncryptedPassword", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10222         { &hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_parm_err,
10223           { "Parm Err", "wkssvc.wkssvc_NetrWkstaUserSetInfo.parm_err", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10224         { &hf_wkssvc_wkssvc_NetrUseEnum_info,
10225           { "Info", "wkssvc.wkssvc_NetrUseEnum.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10226         { &hf_wkssvc_wkssvc_NetrSetPrimaryComputername_Account,
10227           { "Account", "wkssvc.wkssvc_NetrSetPrimaryComputername.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10228         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown14,
10229           { "Unknown14", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown14", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10230         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user0,
10231           { "User0", "wkssvc.wkssvc_NetWkstaEnumUsersCtr.user0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10232         { &hf_wkssvc_wkssvc_NetrGetJoinableOus_domain_name,
10233           { "Domain Name", "wkssvc.wkssvc_NetrGetJoinableOus.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10234         { &hf_wkssvc_wkssvc_NetrUseInfo2_user_name,
10235           { "User Name", "wkssvc.wkssvc_NetrUseInfo2.user_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10236         { &hf_wkssvc_wkssvc_NetWkstaInfo101_version_major,
10237           { "Version Major", "wkssvc.wkssvc_NetWkstaInfo101.version_major", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10238         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo1_other_domains,
10239           { "Other Domains", "wkssvc.wkssvc_NetrWkstaUserInfo1.other_domains", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10240         { &hf_wkssvc_wkssvc_NetrGetJoinableOus_Account,
10241           { "Account", "wkssvc.wkssvc_NetrGetJoinableOus.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10242         { &hf_wkssvc_wkssvc_NetWkstaTransportCtr_ctr0,
10243           { "Ctr0", "wkssvc.wkssvc_NetWkstaTransportCtr.ctr0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10244         { &hf_wkssvc_wkssvc_NetWkstaInfo502_dgram_event_reset_freq,
10245           { "Dgram Event Reset Freq", "wkssvc.wkssvc_NetWkstaInfo502.dgram_event_reset_freq", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10246         { &hf_wkssvc_wkssvc_NetWkstaInfo102_lan_root,
10247           { "Lan Root", "wkssvc.wkssvc_NetWkstaInfo102.lan_root", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10248         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo1_user_name,
10249           { "User Name", "wkssvc.wkssvc_NetrWkstaUserInfo1.user_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10250         { &hf_wkssvc_wkssvc_NetWkstaInfo_info502,
10251           { "Info502", "wkssvc.wkssvc_NetWkstaInfo.info502", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10252         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown32,
10253           { "Unknown32", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown32", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10254         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown29,
10255           { "Unknown29", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown29", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10256         { &hf_wkssvc_wkssvc_NetWkstaInfo1055_use_raw_write,
10257           { "Use Raw Write", "wkssvc.wkssvc_NetWkstaInfo1055.use_raw_write", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10258         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1051,
10259           { "Info1051", "wkssvc.wkssvc_NetWkstaInfo.info1051", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10260         { &hf_wkssvc_wkssvc_NetrValidateName2_name,
10261           { "Name", "wkssvc.wkssvc_NetrValidateName2.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10262         { &hf_wkssvc_wkssvc_NetWkstaInfo502_dormant_file_limit,
10263           { "Dormant File Limit", "wkssvc.wkssvc_NetWkstaInfo502.dormant_file_limit", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10264         { &hf_wkssvc_wkssvc_NetWkstaInfo502_maximum_collection_count,
10265           { "Maximum Collection Count", "wkssvc.wkssvc_NetWkstaInfo502.maximum_collection_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10266         { &hf_wkssvc_wkssvc_NetrMessageBufferSend_server_name,
10267           { "Server Name", "wkssvc.wkssvc_NetrMessageBufferSend.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10268         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_write_raw_data,
10269           { "Use Write Raw Data", "wkssvc.wkssvc_NetWkstaInfo502.use_write_raw_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10270         { &hf_wkssvc_wkssvc_NetrEnumerateComputerNames_Reserved,
10271           { "Reserved", "wkssvc.wkssvc_NetrEnumerateComputerNames.Reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10272         { &hf_wkssvc_wkssvc_NetWkstaInfo502_size_char_buf,
10273           { "Size Char Buf", "wkssvc.wkssvc_NetWkstaInfo502.size_char_buf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10274         { &hf_wkssvc_wkssvc_NetWkstaTransportCtr0_array,
10275           { "Array", "wkssvc.wkssvc_NetWkstaTransportCtr0.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10276         { &hf_wkssvc_wkssvc_NetrEnumerateComputerNames_name_type,
10277           { "Name Type", "wkssvc.wkssvc_NetrEnumerateComputerNames.name_type", FT_UINT1632, BASE_DEC, VALS(wkssvc_wkssvc_ComputerNameType_vals), 0, NULL, HFILL }},
10278         { &hf_wkssvc_wkssvc_NetrUseAdd_parm_err,
10279           { "Parm Err", "wkssvc.wkssvc_NetrUseAdd.parm_err", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10280         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown9,
10281           { "Unknown9", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown9", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10282         { &hf_wkssvc_wkssvc_NetrGetJoinableOus2_num_ous,
10283           { "Num Ous", "wkssvc.wkssvc_NetrGetJoinableOus2.num_ous", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10284         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain_server_name,
10285           { "Server Name", "wkssvc.wkssvc_NetrRenameMachineInDomain.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10286         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown38,
10287           { "Unknown38", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown38", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10288         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo1101_other_domains,
10289           { "Other Domains", "wkssvc.wkssvc_NetrWkstaUserInfo1101.other_domains", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10290         { &hf_wkssvc_wkssvc_NetWkstaGetInfo_level,
10291           { "Level", "wkssvc.wkssvc_NetWkstaGetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10292         { &hf_wkssvc_wkssvc_NetrUseInfo1_ref_count,
10293           { "Ref Count", "wkssvc.wkssvc_NetrUseInfo1.ref_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10294         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown4,
10295           { "Unknown4", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown4", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10296         { &hf_wkssvc_wkssvc_NetrJoinDomain2_domain_name,
10297           { "Domain Name", "wkssvc.wkssvc_NetrJoinDomain2.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10298         { &hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr2,
10299           { "Ctr2", "wkssvc.wkssvc_NetrUseEnumCtr.ctr2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10300         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown3,
10301           { "Unknown3", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown3", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10302         { &hf_wkssvc_wkssvc_NetrJoinDomain_join_flags,
10303           { "Join Flags", "wkssvc.wkssvc_NetrJoinDomain.join_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
10304         { &hf_wkssvc_wkssvc_NetrUseDel_use_name,
10305           { "Use Name", "wkssvc.wkssvc_NetrUseDel.use_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10306         { &hf_wkssvc_wkssvc_NetWkstaInfo502_buf_files_deny_write,
10307           { "Buf Files Deny Write", "wkssvc.wkssvc_NetWkstaInfo502.buf_files_deny_write", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10308         { &hf_wkssvc_wkssvc_NetrUseGetInfo_use_name,
10309           { "Use Name", "wkssvc.wkssvc_NetrUseGetInfo.use_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10310         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1060,
10311           { "Info1060", "wkssvc.wkssvc_NetWkstaInfo.info1060", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10312         { &hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown4,
10313           { "Unknown4", "wkssvc.wkssvc_NetrWorkstationStatisticsGet.unknown4", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10314         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1057,
10315           { "Info1057", "wkssvc.wkssvc_NetWkstaInfo.info1057", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10316         { &hf_wkssvc_wkssvc_NetWkstaTransportInfo_level,
10317           { "Level", "wkssvc.wkssvc_NetWkstaTransportInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10318         { &hf_wkssvc_wkssvc_NetWkstaTransportInfo0_name,
10319           { "Name", "wkssvc.wkssvc_NetWkstaTransportInfo0.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10320         { &hf_wkssvc_wkssvc_NetrUseEnumCtr1_array,
10321           { "Array", "wkssvc.wkssvc_NetrUseEnumCtr1.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10322         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown20,
10323           { "Unknown20", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown20", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10324         { &hf_wkssvc_wkssvc_NetrUseEnum_server_name,
10325           { "Server Name", "wkssvc.wkssvc_NetrUseEnum.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10326         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr1_entries_read,
10327           { "Entries Read", "wkssvc.wkssvc_NetWkstaEnumUsersCtr1.entries_read", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10328         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown37,
10329           { "Unknown37", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown37", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10330         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1058,
10331           { "Info1058", "wkssvc.wkssvc_NetWkstaInfo.info1058", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10332         { &hf_wkssvc_wkssvc_NetrUseGetInfo_server_name,
10333           { "Server Name", "wkssvc.wkssvc_NetrUseGetInfo.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10334         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE,
10335           { "Wkssvc Join Flags Account Delete", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE_tfs), ( 0x00000004 ), NULL, HFILL }},
10336         { &hf_wkssvc_wkssvc_NetWkstaInfo1043_lock_maximum,
10337           { "Lock Maximum", "wkssvc.wkssvc_NetWkstaInfo1043.lock_maximum", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10338         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown24,
10339           { "Unknown24", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown24", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10340         { &hf_wkssvc_wkssvc_NetWkstaInfo102_domain_name,
10341           { "Domain Name", "wkssvc.wkssvc_NetWkstaInfo102.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10342         { &hf_wkssvc_wkssvc_NetrUseDel_force_cond,
10343           { "Force Cond", "wkssvc.wkssvc_NetrUseDel.force_cond", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10344         { &hf_wkssvc_wkssvc_NetWkstaEnumUsers_resume_handle,
10345           { "Resume Handle", "wkssvc.wkssvc_NetWkstaEnumUsers.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10346         { &hf_wkssvc_wkssvc_NetrUseEnumCtr0_count,
10347           { "Count", "wkssvc.wkssvc_NetrUseEnumCtr0.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10348         { &hf_wkssvc_wkssvc_NetWkstaInfo1053_utilize_nt_caching,
10349           { "Utilize Nt Caching", "wkssvc.wkssvc_NetWkstaInfo1053.utilize_nt_caching", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10350         { &hf_wkssvc_wkssvc_NetWkstaInfo502_num_srv_announce_buffers,
10351           { "Num Srv Announce Buffers", "wkssvc.wkssvc_NetWkstaInfo502.num_srv_announce_buffers", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10352         { &hf_wkssvc_wkssvc_NetWkstaInfo100_platform_id,
10353           { "Platform Id", "wkssvc.wkssvc_NetWkstaInfo100.platform_id", FT_UINT32, BASE_DEC, VALS(wkssvc_srvsvc_PlatformId_vals), 0, NULL, HFILL }},
10354         { &hf_wkssvc_wkssvc_NetrSetPrimaryComputername_primary_name,
10355           { "Primary Name", "wkssvc.wkssvc_NetrSetPrimaryComputername.primary_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10356         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown36,
10357           { "Unknown36", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown36", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10358         { &hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info0,
10359           { "Info0", "wkssvc.wkssvc_NetrUseGetInfoCtr.info0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10360         { &hf_wkssvc_wkssvc_NetrUseGetInfo_ctr,
10361           { "Ctr", "wkssvc.wkssvc_NetrUseGetInfo.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10362         { &hf_wkssvc_wkssvc_NetrUseInfo3_unknown2,
10363           { "Unknown2", "wkssvc.wkssvc_NetrUseInfo3.unknown2", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10364         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1,
10365           { "Info1", "wkssvc.wkssvc_NetrWkstaUserInfo.info1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10366         { &hf_wkssvc_wkssvc_NetWkstaInfo1048_use_opportunistic_locking,
10367           { "Use Opportunistic Locking", "wkssvc.wkssvc_NetWkstaInfo1048.use_opportunistic_locking", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10368         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown27,
10369           { "Unknown27", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown27", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10370         { &hf_wkssvc_wkssvc_NetWkstaTransportInfo0_vc_count,
10371           { "Vc Count", "wkssvc.wkssvc_NetWkstaTransportInfo0.vc_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10372         { &hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_EncryptedPassword,
10373           { "Encryptedpassword", "wkssvc.wkssvc_NetrRemoveAlternateComputerName.EncryptedPassword", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10374         { &hf_wkssvc_wkssvc_NetrAddAlternateComputerName_Account,
10375           { "Account", "wkssvc.wkssvc_NetrAddAlternateComputerName.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10376         { &hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_info,
10377           { "Info", "wkssvc.wkssvc_NetrWkstaUserGetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10378         { &hf_wkssvc_wkssvc_NetWkstaEnumUsers_entries_read,
10379           { "Entries Read", "wkssvc.wkssvc_NetWkstaEnumUsers.entries_read", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10380         { &hf_wkssvc_wkssvc_NetWkstaEnumUsers_prefmaxlen,
10381           { "Prefmaxlen", "wkssvc.wkssvc_NetWkstaEnumUsers.prefmaxlen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10382         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_domain,
10383           { "Logon Domain", "wkssvc.wkssvc_NetrWkstaUserInfo1.logon_domain", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10384         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown16,
10385           { "Unknown16", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown16", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10386         { &hf_wkssvc_wkssvc_NetWkstaInfo502_log_election_packets,
10387           { "Log Election Packets", "wkssvc.wkssvc_NetWkstaInfo502.log_election_packets", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10388         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_raw_read,
10389           { "Use Raw Read", "wkssvc.wkssvc_NetWkstaInfo502.use_raw_read", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10390         { &hf_wkssvc_wkssvc_NetrGetJoinableOus_unknown,
10391           { "Unknown", "wkssvc.wkssvc_NetrGetJoinableOus.unknown", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10392         { &hf_wkssvc_wkssvc_NetrSetPrimaryComputername_Reserved,
10393           { "Reserved", "wkssvc.wkssvc_NetrSetPrimaryComputername.Reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10394         { &hf_wkssvc_wkssvc_NetWkstaInfo1027_errorlog_sz,
10395           { "Errorlog Sz", "wkssvc.wkssvc_NetWkstaInfo1027.errorlog_sz", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10396         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1052,
10397           { "Info1052", "wkssvc.wkssvc_NetWkstaInfo.info1052", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10398         { &hf_wkssvc_wkssvc_NetWkstaInfo1012_maximum_collection_count,
10399           { "Maximum Collection Count", "wkssvc.wkssvc_NetWkstaInfo1012.maximum_collection_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10400         { &hf_wkssvc_wkssvc_NetrJoinDomain2_admin_account,
10401           { "Admin Account", "wkssvc.wkssvc_NetrJoinDomain2.admin_account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10402         { &hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr0,
10403           { "Ctr0", "wkssvc.wkssvc_NetrUseEnumCtr.ctr0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10404         { &hf_wkssvc_wkssvc_NetWkstaInfo1050_use_close_behind,
10405           { "Use Close Behind", "wkssvc.wkssvc_NetWkstaInfo1050.use_close_behind", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10406         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_unlock_behind,
10407           { "Use Unlock Behind", "wkssvc.wkssvc_NetWkstaInfo502.use_unlock_behind", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10408         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user1,
10409           { "User1", "wkssvc.wkssvc_NetWkstaEnumUsersCtr.user1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10410         { &hf_wkssvc_wkssvc_NetWkstaInfo102_version_minor,
10411           { "Version Minor", "wkssvc.wkssvc_NetWkstaInfo102.version_minor", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10412         { &hf_wkssvc_wkssvc_ComputerNamesCtr_count,
10413           { "Count", "wkssvc.wkssvc_ComputerNamesCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10414         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1048,
10415           { "Info1048", "wkssvc.wkssvc_NetWkstaInfo.info1048", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10416         { &hf_wkssvc_wkssvc_NetWkstaInfo1018_session_timeout,
10417           { "Session Timeout", "wkssvc.wkssvc_NetWkstaInfo1018.session_timeout", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10418         { &hf_wkssvc_wkssvc_NetWkstaInfo502_keep_connection,
10419           { "Keep Connection", "wkssvc.wkssvc_NetWkstaInfo502.keep_connection", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10420         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown31,
10421           { "Unknown31", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown31", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10422         { &hf_wkssvc_wkssvc_NetWkstaInfo502_max_commands,
10423           { "Max Commands", "wkssvc.wkssvc_NetWkstaInfo502.max_commands", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10424         { &hf_wkssvc_wkssvc_NetWkstaInfo502_lock_quota,
10425           { "Lock Quota", "wkssvc.wkssvc_NetWkstaInfo502.lock_quota", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10426         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown40,
10427           { "Unknown40", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown40", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10428         { &hf_wkssvc_wkssvc_NetWkstaInfo1033_max_threads,
10429           { "Max Threads", "wkssvc.wkssvc_NetWkstaInfo1033.max_threads", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10430         { &hf_wkssvc_wkssvc_NetrUseAdd_level,
10431           { "Level", "wkssvc.wkssvc_NetrUseAdd.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10432         { &hf_wkssvc_wkssvc_renameflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE,
10433           { "Wkssvc Join Flags Account Create", "wkssvc.wkssvc_renameflags.WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE", FT_BOOLEAN, 32, TFS(&wkssvc_renameflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE_tfs), ( 0x00000002 ), NULL, HFILL }},
10434         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown25,
10435           { "Unknown25", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown25", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10436         { &hf_wkssvc_wkssvc_NetrUseDel_server_name,
10437           { "Server Name", "wkssvc.wkssvc_NetrUseDel.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10438         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_server,
10439           { "Logon Server", "wkssvc.wkssvc_NetrWkstaUserInfo1.logon_server", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10440         { &hf_wkssvc_wkssvc_PasswordBuffer_data,
10441           { "Data", "wkssvc.wkssvc_PasswordBuffer.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10442         { &hf_wkssvc_wkssvc_NetrUseInfo3_unknown1,
10443           { "Unknown1", "wkssvc.wkssvc_NetrUseInfo3.unknown1", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10444         { &hf_wkssvc_wkssvc_NetWkstaInfo502_cache_file_timeout,
10445           { "Cache File Timeout", "wkssvc.wkssvc_NetWkstaInfo502.cache_file_timeout", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10446         { &hf_wkssvc_wkssvc_NetWkstaInfo502_num_mailslot_buffers,
10447           { "Num Mailslot Buffers", "wkssvc.wkssvc_NetWkstaInfo502.num_mailslot_buffers", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10448         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1055,
10449           { "Info1055", "wkssvc.wkssvc_NetWkstaInfo.info1055", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10450         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain_password,
10451           { "Password", "wkssvc.wkssvc_NetrRenameMachineInDomain.password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10452         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown13,
10453           { "Unknown13", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown13", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10454         { &hf_wkssvc_wkssvc_NetWkstaInfo502_utilize_nt_caching,
10455           { "Utilize Nt Caching", "wkssvc.wkssvc_NetWkstaInfo502.utilize_nt_caching", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10456         { &hf_wkssvc_wkssvc_NetWkstaInfo1061_use_512_byte_max_transfer,
10457           { "Use 512 Byte Max Transfer", "wkssvc.wkssvc_NetWkstaInfo1061.use_512_byte_max_transfer", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10458         { &hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_info,
10459           { "Info", "wkssvc.wkssvc_NetrWorkstationStatisticsGet.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10460         { &hf_wkssvc_wkssvc_NetWkstaSetInfo_server_name,
10461           { "Server Name", "wkssvc.wkssvc_NetWkstaSetInfo.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10462         { &hf_wkssvc_wkssvc_NetrJoinDomain2_encrypted_password,
10463           { "Encrypted Password", "wkssvc.wkssvc_NetrJoinDomain2.encrypted_password", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10464         { &hf_wkssvc_wkssvc_NetrUseEnum_prefmaxlen,
10465           { "Prefmaxlen", "wkssvc.wkssvc_NetrUseEnum.prefmaxlen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10466         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown2,
10467           { "Unknown2", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown2", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10468         { &hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_server_name,
10469           { "Server Name", "wkssvc.wkssvc_NetrWorkstationStatisticsGet.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10470         { &hf_wkssvc_wkssvc_NetrWkstaTransportDel_server_name,
10471           { "Server Name", "wkssvc.wkssvc_NetrWkstaTransportDel.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10472         { &hf_wkssvc_wkssvc_NetrJoinDomain2_account_ou,
10473           { "Account Ou", "wkssvc.wkssvc_NetrJoinDomain2.account_ou", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10474         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DEFER_SPN,
10475           { "Wkssvc Join Flags Defer Spn", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_DEFER_SPN", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DEFER_SPN_tfs), ( 0x00000100 ), NULL, HFILL }},
10476         { &hf_wkssvc_wkssvc_NetWkstaInfo1010_char_wait,
10477           { "Char Wait", "wkssvc.wkssvc_NetWkstaInfo1010.char_wait", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10478         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain_RenameOptions,
10479           { "Renameoptions", "wkssvc.wkssvc_NetrRenameMachineInDomain.RenameOptions", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
10480         { &hf_wkssvc_wkssvc_NetWkstaEnumUsers_server_name,
10481           { "Server Name", "wkssvc.wkssvc_NetWkstaEnumUsers.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10482         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain_Account,
10483           { "Account", "wkssvc.wkssvc_NetrRenameMachineInDomain.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10484         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown23,
10485           { "Unknown23", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown23", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10486         { &hf_wkssvc_wkssvc_NetrUseEnumInfo_ctr,
10487           { "Ctr", "wkssvc.wkssvc_NetrUseEnumInfo.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10488         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersInfo_ctr,
10489           { "Ctr", "wkssvc.wkssvc_NetWkstaEnumUsersInfo.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10490         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr0_user0,
10491           { "User0", "wkssvc.wkssvc_NetWkstaEnumUsersCtr0.user0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10492         { &hf_wkssvc_wkssvc_NetWkstaInfo502_buf_read_only_files,
10493           { "Buf Read Only Files", "wkssvc.wkssvc_NetWkstaInfo502.buf_read_only_files", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10494         { &hf_wkssvc_wkssvc_NetrUnjoinDomain_server_name,
10495           { "Server Name", "wkssvc.wkssvc_NetrUnjoinDomain.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10496         { &hf_wkssvc_wkssvc_NetWkstaInfo101_lan_root,
10497           { "Lan Root", "wkssvc.wkssvc_NetWkstaInfo101.lan_root", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10498         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_TYPE,
10499           { "Wkssvc Join Flags Join Type", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_JOIN_TYPE", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_TYPE_tfs), ( 0x00000001 ), NULL, HFILL }},
10500         { &hf_wkssvc_wkssvc_NetWkstaInfo502_buf_named_pipes,
10501           { "Buf Named Pipes", "wkssvc.wkssvc_NetWkstaInfo502.buf_named_pipes", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10502         { &hf_wkssvc_wkssvc_NetrUseInfo2_ref_count,
10503           { "Ref Count", "wkssvc.wkssvc_NetrUseInfo2.ref_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10504         { &hf_wkssvc_wkssvc_NetWkstaInfo1044_pipe_increment,
10505           { "Pipe Increment", "wkssvc.wkssvc_NetWkstaInfo1044.pipe_increment", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10506         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED,
10507           { "Wkssvc Join Flags Domain Join If Joined", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED_tfs), ( 0x00000020 ), NULL, HFILL }},
10508         { &hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove,
10509           { "Alternatemachinenametoremove", "wkssvc.wkssvc_NetrRemoveAlternateComputerName.AlternateMachineNameToRemove", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10510         { &hf_wkssvc_wkssvc_NetrUseEnumCtr2_array,
10511           { "Array", "wkssvc.wkssvc_NetrUseEnumCtr2.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10512         { &hf_wkssvc_wkssvc_NetWkstaGetInfo_info,
10513           { "Info", "wkssvc.wkssvc_NetWkstaGetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10514         { &hf_wkssvc_wkssvc_NetWkstaInfo502_max_illegal_dgram_events,
10515           { "Max Illegal Dgram Events", "wkssvc.wkssvc_NetWkstaInfo502.max_illegal_dgram_events", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10516         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1047,
10517           { "Info1047", "wkssvc.wkssvc_NetWkstaInfo.info1047", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10518         { &hf_wkssvc_wkssvc_NetrValidateName_Password,
10519           { "Password", "wkssvc.wkssvc_NetrValidateName.Password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10520         { &hf_wkssvc_wkssvc_NetWkstaInfo1028_print_buf_time,
10521           { "Print Buf Time", "wkssvc.wkssvc_NetWkstaInfo1028.print_buf_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10522         { &hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info3,
10523           { "Info3", "wkssvc.wkssvc_NetrUseGetInfoCtr.info3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10524         { &hf_wkssvc_wkssvc_NetrGetJoinableOus2_Account,
10525           { "Account", "wkssvc.wkssvc_NetrGetJoinableOus2.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10526         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_RenameOptions,
10527           { "Renameoptions", "wkssvc.wkssvc_NetrRenameMachineInDomain2.RenameOptions", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
10528         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1101,
10529           { "Info1101", "wkssvc.wkssvc_NetrWkstaUserInfo.info1101", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10530         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown17,
10531           { "Unknown17", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown17", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10532         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1013,
10533           { "Info1013", "wkssvc.wkssvc_NetWkstaInfo.info1013", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10534         { &hf_wkssvc_wkssvc_NetrValidateName2_server_name,
10535           { "Server Name", "wkssvc.wkssvc_NetrValidateName2.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10536         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown34,
10537           { "Unknown34", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown34", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10538         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1018,
10539           { "Info1018", "wkssvc.wkssvc_NetWkstaInfo.info1018", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10540         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr0_entries_read,
10541           { "Entries Read", "wkssvc.wkssvc_NetWkstaEnumUsersCtr0.entries_read", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10542         { &hf_wkssvc_wkssvc_NetWkstaInfo1057_use_encryption,
10543           { "Use Encryption", "wkssvc.wkssvc_NetWkstaInfo1057.use_encryption", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10544         { &hf_wkssvc_wkssvc_NetrUseInfo1_status,
10545           { "Status", "wkssvc.wkssvc_NetrUseInfo1.status", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10546         { &hf_wkssvc_wkssvc_NetWkstaTransportInfo0_wan_link,
10547           { "Wan Link", "wkssvc.wkssvc_NetWkstaTransportInfo0.wan_link", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10548         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown35,
10549           { "Unknown35", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown35", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10550         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown7,
10551           { "Unknown7", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown7", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10552         { &hf_wkssvc_wkssvc_NetWkstaSetInfo_parm_error,
10553           { "Parm Error", "wkssvc.wkssvc_NetWkstaSetInfo.parm_error", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10554         { &hf_wkssvc_wkssvc_NetrUseInfo0_remote,
10555           { "Remote", "wkssvc.wkssvc_NetrUseInfo0.remote", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10556         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo_info0,
10557           { "Info0", "wkssvc.wkssvc_NetrWkstaUserInfo.info0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10558         { &hf_wkssvc_wkssvc_NetWkstaInfo1060_force_core_create_mode,
10559           { "Force Core Create Mode", "wkssvc.wkssvc_NetWkstaInfo1060.force_core_create_mode", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10560         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo0_user_name,
10561           { "User Name", "wkssvc.wkssvc_NetrWkstaUserInfo0.user_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10562         { &hf_wkssvc_wkssvc_NetWkstaInfo_info101,
10563           { "Info101", "wkssvc.wkssvc_NetWkstaInfo.info101", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10564         { &hf_wkssvc_wkssvc_NetWkstaTransportInfo0_address,
10565           { "Address", "wkssvc.wkssvc_NetWkstaTransportInfo0.address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10566         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown39,
10567           { "Unknown39", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown39", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10568         { &hf_wkssvc_wkssvc_NetrUseEnumCtr2_count,
10569           { "Count", "wkssvc.wkssvc_NetrUseEnumCtr2.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10570         { &hf_wkssvc_wkssvc_NetrGetJoinInformation_name_buffer,
10571           { "Name Buffer", "wkssvc.wkssvc_NetrGetJoinInformation.name_buffer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10572         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain_NewMachineName,
10573           { "Newmachinename", "wkssvc.wkssvc_NetrRenameMachineInDomain.NewMachineName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10574         { &hf_wkssvc_wkssvc_NetWkstaInfo502_lock_maximum,
10575           { "Lock Maximum", "wkssvc.wkssvc_NetWkstaInfo502.lock_maximum", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10576         { &hf_wkssvc_wkssvc_NetrUnjoinDomain_Account,
10577           { "Account", "wkssvc.wkssvc_NetrUnjoinDomain.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10578         { &hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_level,
10579           { "Level", "wkssvc.wkssvc_NetrWkstaUserGetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10580         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1049,
10581           { "Info1049", "wkssvc.wkssvc_NetWkstaInfo.info1049", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10582         { &hf_wkssvc_wkssvc_NetrGetJoinableOus_num_ous,
10583           { "Num Ous", "wkssvc.wkssvc_NetrGetJoinableOus.num_ous", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10584         { &hf_wkssvc_wkssvc_NetrUseInfo2_asg_type,
10585           { "Asg Type", "wkssvc.wkssvc_NetrUseInfo2.asg_type", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10586         { &hf_wkssvc_wkssvc_NetrUseInfo1_password,
10587           { "Password", "wkssvc.wkssvc_NetrUseInfo1.password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10588         { &hf_wkssvc_wkssvc_NetrUseInfo1_local,
10589           { "Local", "wkssvc.wkssvc_NetrUseInfo1.local", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10590         { &hf_wkssvc_wkssvc_NetWkstaInfo1054_use_raw_read,
10591           { "Use Raw Read", "wkssvc.wkssvc_NetWkstaInfo1054.use_raw_read", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10592         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_server_name,
10593           { "Server Name", "wkssvc.wkssvc_NetrRenameMachineInDomain2.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10594         { &hf_wkssvc_wkssvc_NetWkstaInfo1023_size_char_buf,
10595           { "Size Char Buf", "wkssvc.wkssvc_NetWkstaInfo1023.size_char_buf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10596         { &hf_wkssvc_wkssvc_NetWkstaInfo100_domain_name,
10597           { "Domain Name", "wkssvc.wkssvc_NetWkstaInfo100.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10598         { &hf_wkssvc_wkssvc_NetWkstaTransportEnum_max_buffer,
10599           { "Max Buffer", "wkssvc.wkssvc_NetWkstaTransportEnum.max_buffer", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10600         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT,
10601           { "Wkssvc Join Flags Join Dc Account", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT_tfs), ( 0x00000200 ), NULL, HFILL }},
10602         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1042,
10603           { "Info1042", "wkssvc.wkssvc_NetWkstaInfo.info1042", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10604         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1045,
10605           { "Info1045", "wkssvc.wkssvc_NetWkstaInfo.info1045", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10606         { &hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_unknown,
10607           { "Unknown", "wkssvc.wkssvc_NetrWkstaUserSetInfo.unknown", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10608         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1011,
10609           { "Info1011", "wkssvc.wkssvc_NetWkstaInfo.info1011", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10610         { &hf_wkssvc_wkssvc_NetWkstaInfo1049_use_unlock_behind,
10611           { "Use Unlock Behind", "wkssvc.wkssvc_NetWkstaInfo1049.use_unlock_behind", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10612         { &hf_wkssvc_wkssvc_NetWkstaInfo1062_read_ahead_throughput,
10613           { "Read Ahead Throughput", "wkssvc.wkssvc_NetWkstaInfo1062.read_ahead_throughput", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10614         { &hf_wkssvc_wkssvc_NetWkstaInfo1056_use_write_raw_data,
10615           { "Use Write Raw Data", "wkssvc.wkssvc_NetWkstaInfo1056.use_write_raw_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10616         { &hf_wkssvc_wkssvc_NetrWkstaTransportAdd_info0,
10617           { "Info0", "wkssvc.wkssvc_NetrWkstaTransportAdd.info0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10618         { &hf_wkssvc_wkssvc_NetrValidateName_name,
10619           { "Name", "wkssvc.wkssvc_NetrValidateName.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10620         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown18,
10621           { "Unknown18", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown18", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10622         { &hf_wkssvc_wkssvc_NetrMessageBufferSend_message_size,
10623           { "Message Size", "wkssvc.wkssvc_NetrMessageBufferSend.message_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10624         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_UNSECURE,
10625           { "Wkssvc Join Flags Join Unsecure", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_JOIN_UNSECURE", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_UNSECURE_tfs), ( 0x00000040 ), NULL, HFILL }},
10626         { &hf_wkssvc_wkssvc_ComputerNamesCtr_computer_name,
10627           { "Computer Name", "wkssvc.wkssvc_ComputerNamesCtr.computer_name", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10628         { &hf_wkssvc_wkssvc_NetrValidateName2_name_type,
10629           { "Name Type", "wkssvc.wkssvc_NetrValidateName2.name_type", FT_UINT1632, BASE_DEC, VALS(wkssvc_wkssvc_NetValidateNameType_vals), 0, NULL, HFILL }},
10630         { &hf_wkssvc_wkssvc_NetrValidateName2_Account,
10631           { "Account", "wkssvc.wkssvc_NetrValidateName2.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10632         { &hf_wkssvc_wkssvc_NetrGetJoinableOus_server_name,
10633           { "Server Name", "wkssvc.wkssvc_NetrGetJoinableOus.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10634         { &hf_wkssvc_wkssvc_NetWkstaTransportEnum_total_entries,
10635           { "Total Entries", "wkssvc.wkssvc_NetWkstaTransportEnum.total_entries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10636         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE,
10637           { "Wkssvc Join Flags Win9x Upgrade", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE_tfs), ( 0x00000010 ), NULL, HFILL }},
10638         { &hf_wkssvc_wkssvc_NetrValidateName2_EncryptedPassword,
10639           { "Encryptedpassword", "wkssvc.wkssvc_NetrValidateName2.EncryptedPassword", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10640         { &hf_wkssvc_wkssvc_NetrWkstaTransportDel_unknown3,
10641           { "Unknown3", "wkssvc.wkssvc_NetrWkstaTransportDel.unknown3", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10642         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1062,
10643           { "Info1062", "wkssvc.wkssvc_NetWkstaInfo.info1062", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10644         { &hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_unknown,
10645           { "Unknown", "wkssvc.wkssvc_NetrWkstaUserGetInfo.unknown", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10646         { &hf_wkssvc_wkssvc_NetrAddAlternateComputerName_server_name,
10647           { "Server Name", "wkssvc.wkssvc_NetrAddAlternateComputerName.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10648         { &hf_wkssvc_wkssvc_NetrJoinDomain2_server_name,
10649           { "Server Name", "wkssvc.wkssvc_NetrJoinDomain2.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10650         { &hf_wkssvc_wkssvc_NetWkstaInfo_info102,
10651           { "Info102", "wkssvc.wkssvc_NetWkstaInfo.info102", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10652         { &hf_wkssvc_wkssvc_NetrJoinDomain_Account,
10653           { "Account", "wkssvc.wkssvc_NetrJoinDomain.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10654         { &hf_wkssvc_wkssvc_NetWkstaInfo1046_dormant_file_limit,
10655           { "Dormant File Limit", "wkssvc.wkssvc_NetWkstaInfo1046.dormant_file_limit", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10656         { &hf_wkssvc_wkssvc_NetrWkstaTransportAdd_parm_err,
10657           { "Parm Err", "wkssvc.wkssvc_NetrWkstaTransportAdd.parm_err", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10658         { &hf_wkssvc_wkssvc_NetWkstaInfo102_version_major,
10659           { "Version Major", "wkssvc.wkssvc_NetWkstaInfo102.version_major", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10660         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown22,
10661           { "Unknown22", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown22", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10662         { &hf_wkssvc_wkssvc_NetrUseInfo1_use_count,
10663           { "Use Count", "wkssvc.wkssvc_NetrUseInfo1.use_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10664         { &hf_wkssvc_wkssvc_NetrUnjoinDomain2_server_name,
10665           { "Server Name", "wkssvc.wkssvc_NetrUnjoinDomain2.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10666         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_512_byte_max_transfer,
10667           { "Use 512 Byte Max Transfer", "wkssvc.wkssvc_NetWkstaInfo502.use_512_byte_max_transfer", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10668         { &hf_wkssvc_wkssvc_NetWkstaTransportEnum_info,
10669           { "Info", "wkssvc.wkssvc_NetWkstaTransportEnum.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10670         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1033,
10671           { "Info1033", "wkssvc.wkssvc_NetWkstaInfo.info1033", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10672         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1046,
10673           { "Info1046", "wkssvc.wkssvc_NetWkstaInfo.info1046", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10674         { &hf_wkssvc_wkssvc_NetWkstaSetInfo_info,
10675           { "Info", "wkssvc.wkssvc_NetWkstaSetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10676         { &hf_wkssvc_wkssvc_NetrMessageBufferSend_message_sender_name,
10677           { "Message Sender Name", "wkssvc.wkssvc_NetrMessageBufferSend.message_sender_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10678         { &hf_wkssvc_wkssvc_NetrUseInfo1_remote,
10679           { "Remote", "wkssvc.wkssvc_NetrUseInfo1.remote", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10680         { &hf_wkssvc_wkssvc_NetrUseInfo2_domain_name,
10681           { "Domain Name", "wkssvc.wkssvc_NetrUseInfo2.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10682         { &hf_wkssvc_wkssvc_NetrUseEnumCtr1_count,
10683           { "Count", "wkssvc.wkssvc_NetrUseEnumCtr1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10684         { &hf_wkssvc_wkssvc_NetWkstaInfo1047_cache_file_timeout,
10685           { "Cache File Timeout", "wkssvc.wkssvc_NetWkstaInfo1047.cache_file_timeout", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10686         { &hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info2,
10687           { "Info2", "wkssvc.wkssvc_NetrUseGetInfoCtr.info2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10688         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown30,
10689           { "Unknown30", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown30", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10690         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1028,
10691           { "Info1028", "wkssvc.wkssvc_NetWkstaInfo.info1028", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10692         { &hf_wkssvc_wkssvc_NetWkstaInfo_info100,
10693           { "Info100", "wkssvc.wkssvc_NetWkstaInfo.info100", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10694         { &hf_wkssvc_wkssvc_NetrLogonDomainNameDel_domain_name,
10695           { "Domain Name", "wkssvc.wkssvc_NetrLogonDomainNameDel.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10696         { &hf_wkssvc_wkssvc_NetWkstaInfo1013_keep_connection,
10697           { "Keep Connection", "wkssvc.wkssvc_NetWkstaInfo1013.keep_connection", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10698         { &hf_wkssvc_wkssvc_NetrEnumerateComputerNames_server_name,
10699           { "Server Name", "wkssvc.wkssvc_NetrEnumerateComputerNames.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10700         { &hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_info,
10701           { "Info", "wkssvc.wkssvc_NetrWkstaUserSetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10702         { &hf_wkssvc_wkssvc_NetrMessageBufferSend_message_name,
10703           { "Message Name", "wkssvc.wkssvc_NetrMessageBufferSend.message_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10704         { &hf_wkssvc_wkssvc_NetWkstaInfo502_session_timeout,
10705           { "Session Timeout", "wkssvc.wkssvc_NetWkstaInfo502.session_timeout", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10706         { &hf_wkssvc_wkssvc_NetrUseEnumCtr0_array,
10707           { "Array", "wkssvc.wkssvc_NetrUseEnumCtr0.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10708         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown6,
10709           { "Unknown6", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown6", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10710         { &hf_wkssvc_wkssvc_NetWkstaTransportInfo_ctr,
10711           { "Ctr", "wkssvc.wkssvc_NetWkstaTransportInfo.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10712         { &hf_wkssvc_wkssvc_NetWkstaInfo502_collection_time,
10713           { "Collection Time", "wkssvc.wkssvc_NetWkstaInfo502.collection_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10714         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS,
10715           { "Wkssvc Join Flags Ignore Unsupported Flags", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS_tfs), ( 0x10000000 ), NULL, HFILL }},
10716         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1054,
10717           { "Info1054", "wkssvc.wkssvc_NetWkstaInfo.info1054", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10718         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown10,
10719           { "Unknown10", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown10", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10720         { &hf_wkssvc_wkssvc_NetWkstaInfo1032_wrk_heuristics,
10721           { "Wrk Heuristics", "wkssvc.wkssvc_NetWkstaInfo1032.wrk_heuristics", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10722         { &hf_wkssvc_wkssvc_NetWkstaInfo101_version_minor,
10723           { "Version Minor", "wkssvc.wkssvc_NetWkstaInfo101.version_minor", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10724         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED,
10725           { "Wkssvc Join Flags Machine Pwd Passed", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED_tfs), ( 0x00000080 ), NULL, HFILL }},
10726         { &hf_wkssvc_wkssvc_NetrWkstaTransportAdd_level,
10727           { "Level", "wkssvc.wkssvc_NetrWkstaTransportAdd.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10728         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown33,
10729           { "Unknown33", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown33", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10730         { &hf_wkssvc_wkssvc_NetrEnumerateComputerNames_ctr,
10731           { "Ctr", "wkssvc.wkssvc_NetrEnumerateComputerNames.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10732         { &hf_wkssvc_wkssvc_NetWkstaTransportEnum_server_name,
10733           { "Server Name", "wkssvc.wkssvc_NetWkstaTransportEnum.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10734         { &hf_wkssvc_wkssvc_NetWkstaInfo502_max_threads,
10735           { "Max Threads", "wkssvc.wkssvc_NetWkstaInfo502.max_threads", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10736         { &hf_wkssvc_wkssvc_NetWkstaInfo1042_lock_increment,
10737           { "Lock Increment", "wkssvc.wkssvc_NetWkstaInfo1042.lock_increment", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10738         { &hf_wkssvc_wkssvc_NetrUseGetInfo_level,
10739           { "Level", "wkssvc.wkssvc_NetrUseGetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10740         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1050,
10741           { "Info1050", "wkssvc.wkssvc_NetWkstaInfo.info1050", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10742         { &hf_wkssvc_wkssvc_NetWkstaInfo502_lock_increment,
10743           { "Lock Increment", "wkssvc.wkssvc_NetWkstaInfo502.lock_increment", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10744         { &hf_wkssvc_wkssvc_NetrUseInfo2_local,
10745           { "Local", "wkssvc.wkssvc_NetrUseInfo2.local", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10746         { &hf_wkssvc_wkssvc_NetrValidateName_server_name,
10747           { "Server Name", "wkssvc.wkssvc_NetrValidateName.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10748         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1041,
10749           { "Info1041", "wkssvc.wkssvc_NetWkstaInfo.info1041", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10750         { &hf_wkssvc_wkssvc_NetrUseInfo2_status,
10751           { "Status", "wkssvc.wkssvc_NetrUseInfo2.status", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10752         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown12,
10753           { "Unknown12", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown12", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10754         { &hf_wkssvc_wkssvc_NetrJoinDomain_account_ou,
10755           { "Account Ou", "wkssvc.wkssvc_NetrJoinDomain.account_ou", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10756         { &hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown3,
10757           { "Unknown3", "wkssvc.wkssvc_NetrWorkstationStatisticsGet.unknown3", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10758         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown19,
10759           { "Unknown19", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown19", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10760         { &hf_wkssvc_wkssvc_NetrAddAlternateComputerName_EncryptedPassword,
10761           { "Encryptedpassword", "wkssvc.wkssvc_NetrAddAlternateComputerName.EncryptedPassword", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10762         { &hf_wkssvc_wkssvc_NetWkstaInfo1058_buf_files_deny_write,
10763           { "Buf Files Deny Write", "wkssvc.wkssvc_NetWkstaInfo1058.buf_files_deny_write", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10764         { &hf_wkssvc_wkssvc_NetrUnjoinDomain2_account,
10765           { "Account", "wkssvc.wkssvc_NetrUnjoinDomain2.account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10766         { &hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown2,
10767           { "Unknown2", "wkssvc.wkssvc_NetrWorkstationStatisticsGet.unknown2", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10768         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1043,
10769           { "Info1043", "wkssvc.wkssvc_NetWkstaInfo.info1043", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10770         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown21,
10771           { "Unknown21", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown21", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10772         { &hf_wkssvc_wkssvc_NetWkstaInfo102_server_name,
10773           { "Server Name", "wkssvc.wkssvc_NetWkstaInfo102.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10774         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_encryption,
10775           { "Use Encryption", "wkssvc.wkssvc_NetWkstaInfo502.use_encryption", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10776         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1059,
10777           { "Info1059", "wkssvc.wkssvc_NetWkstaInfo.info1059", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10778         { &hf_wkssvc_wkssvc_NetrValidateName_name_type,
10779           { "Name Type", "wkssvc.wkssvc_NetrValidateName.name_type", FT_UINT1632, BASE_DEC, VALS(wkssvc_wkssvc_NetValidateNameType_vals), 0, NULL, HFILL }},
10780         { &hf_wkssvc_wkssvc_NetrMessageBufferSend_message_buffer,
10781           { "Message Buffer", "wkssvc.wkssvc_NetrMessageBufferSend.message_buffer", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10782         { &hf_wkssvc_wkssvc_NetWkstaTransportCtr0_count,
10783           { "Count", "wkssvc.wkssvc_NetWkstaTransportCtr0.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10784         { &hf_wkssvc_wkssvc_NetrUseEnumInfo_level,
10785           { "Level", "wkssvc.wkssvc_NetrUseEnumInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10786         { &hf_wkssvc_wkssvc_NetWkstaInfo1041_lock_quota,
10787           { "Lock Quota", "wkssvc.wkssvc_NetWkstaInfo1041.lock_quota", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10788         { &hf_wkssvc_wkssvc_NetrUseAdd_ctr,
10789           { "Ctr", "wkssvc.wkssvc_NetrUseAdd.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10790         { &hf_wkssvc_wkssvc_NetrUseEnum_resume_handle,
10791           { "Resume Handle", "wkssvc.wkssvc_NetrUseEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10792         { &hf_wkssvc_wkssvc_NetWkstaInfo100_version_major,
10793           { "Version Major", "wkssvc.wkssvc_NetWkstaInfo100.version_major", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10794         { &hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_Reserved,
10795           { "Reserved", "wkssvc.wkssvc_NetrRemoveAlternateComputerName.Reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10796         { &hf_wkssvc_wkssvc_NetrUseAdd_server_name,
10797           { "Server Name", "wkssvc.wkssvc_NetrUseAdd.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10798         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown11,
10799           { "Unknown11", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown11", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10800         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1012,
10801           { "Info1012", "wkssvc.wkssvc_NetWkstaInfo.info1012", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10802         { &hf_wkssvc_wkssvc_NetrUnjoinDomain_password,
10803           { "Password", "wkssvc.wkssvc_NetrUnjoinDomain.password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10804         { &hf_wkssvc_wkssvc_NetrJoinDomain_password,
10805           { "Password", "wkssvc.wkssvc_NetrJoinDomain.password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10806         { &hf_wkssvc_werror,
10807           { "Windows Error", "wkssvc.werror", FT_UINT32, BASE_HEX, VALS(WERR_errors), 0, NULL, HFILL }},
10808         { &hf_wkssvc_wkssvc_NetrGetJoinableOus2_domain_name,
10809           { "Domain Name", "wkssvc.wkssvc_NetrGetJoinableOus2.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10810         { &hf_wkssvc_wkssvc_NetWkstaInfo502_pipe_increment,
10811           { "Pipe Increment", "wkssvc.wkssvc_NetWkstaInfo502.pipe_increment", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10812         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1044,
10813           { "Info1044", "wkssvc.wkssvc_NetWkstaInfo.info1044", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10814         { &hf_wkssvc_wkssvc_NetrGetJoinableOus2_EncryptedPassword,
10815           { "Encryptedpassword", "wkssvc.wkssvc_NetrGetJoinableOus2.EncryptedPassword", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10816         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1010,
10817           { "Info1010", "wkssvc.wkssvc_NetWkstaInfo.info1010", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10818         { &hf_wkssvc_wkssvc_NetWkstaInfo1051_buf_named_pipes,
10819           { "Buf Named Pipes", "wkssvc.wkssvc_NetWkstaInfo1051.buf_named_pipes", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10820         { &hf_wkssvc_wkssvc_NetWkstaInfo502_read_ahead_throughput,
10821           { "Read Ahead Throughput", "wkssvc.wkssvc_NetWkstaInfo502.read_ahead_throughput", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10822         { &hf_wkssvc_wkssvc_NetrGetJoinableOus_ous,
10823           { "Ous", "wkssvc.wkssvc_NetrGetJoinableOus.ous", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10824         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown5,
10825           { "Unknown5", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown5", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10826         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_NewMachineName,
10827           { "Newmachinename", "wkssvc.wkssvc_NetrRenameMachineInDomain2.NewMachineName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10828         { &hf_wkssvc_wkssvc_NetrWkstaTransportDel_transport_name,
10829           { "Transport Name", "wkssvc.wkssvc_NetrWkstaTransportDel.transport_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10830         { &hf_wkssvc_wkssvc_NetrUseInfo0_local,
10831           { "Local", "wkssvc.wkssvc_NetrUseInfo0.local", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10832         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_raw_write,
10833           { "Use Raw Write", "wkssvc.wkssvc_NetWkstaInfo502.use_raw_write", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10834         { &hf_wkssvc_wkssvc_NetrGetJoinableOus2_ous,
10835           { "Ous", "wkssvc.wkssvc_NetrGetJoinableOus2.ous", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10836         { &hf_wkssvc_wkssvc_NetWkstaInfo101_server_name,
10837           { "Server Name", "wkssvc.wkssvc_NetWkstaInfo101.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10838         { &hf_wkssvc_wkssvc_NetrGetJoinableOus2_server_name,
10839           { "Server Name", "wkssvc.wkssvc_NetrGetJoinableOus2.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10840         { &hf_wkssvc_wkssvc_NetWkstaInfo1059_buf_read_only_files,
10841           { "Buf Read Only Files", "wkssvc.wkssvc_NetWkstaInfo1059.buf_read_only_files", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10842         { &hf_wkssvc_wkssvc_NetWkstaInfo100_version_minor,
10843           { "Version Minor", "wkssvc.wkssvc_NetWkstaInfo100.version_minor", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10844         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE,
10845           { "Wkssvc Join Flags Account Create", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE_tfs), ( 0x00000002 ), NULL, HFILL }},
10846         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_close_behind,
10847           { "Use Close Behind", "wkssvc.wkssvc_NetWkstaInfo502.use_close_behind", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10848         { &hf_wkssvc_opnum,
10849           { "Operation", "wkssvc.opnum", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
10850         { &hf_wkssvc_wkssvc_NetWkstaInfo502_force_core_create_mode,
10851           { "Force Core Create Mode", "wkssvc.wkssvc_NetWkstaInfo502.force_core_create_mode", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10852         { &hf_wkssvc_wkssvc_NetWkstaInfo1011_collection_time,
10853           { "Collection Time", "wkssvc.wkssvc_NetWkstaInfo1011.collection_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10854         { &hf_wkssvc_wkssvc_NetrGetJoinInformation_server_name,
10855           { "Server Name", "wkssvc.wkssvc_NetrGetJoinInformation.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10856         { &hf_wkssvc_wkssvc_NetWkstaInfo101_domain_name,
10857           { "Domain Name", "wkssvc.wkssvc_NetWkstaInfo101.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10858         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1061,
10859           { "Info1061", "wkssvc.wkssvc_NetWkstaInfo.info1061", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10860         { &hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info1,
10861           { "Info1", "wkssvc.wkssvc_NetrUseGetInfoCtr.info1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10862         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersInfo_level,
10863           { "Level", "wkssvc.wkssvc_NetWkstaEnumUsersInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10864         { &hf_wkssvc_wkssvc_NetrSetPrimaryComputername_server_name,
10865           { "Server Name", "wkssvc.wkssvc_NetrSetPrimaryComputername.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10866         { &hf_wkssvc_wkssvc_NetrUnjoinDomain_unjoin_flags,
10867           { "Unjoin Flags", "wkssvc.wkssvc_NetrUnjoinDomain.unjoin_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
10868         { &hf_wkssvc_wkssvc_NetWkstaTransportEnum_resume_handle,
10869           { "Resume Handle", "wkssvc.wkssvc_NetWkstaTransportEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10870         { &hf_wkssvc_wkssvc_NetrJoinDomain_server_name,
10871           { "Server Name", "wkssvc.wkssvc_NetrJoinDomain.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10872         { &hf_wkssvc_wkssvc_NetWkstaInfo102_platform_id,
10873           { "Platform Id", "wkssvc.wkssvc_NetWkstaInfo102.platform_id", FT_UINT32, BASE_DEC, VALS(wkssvc_srvsvc_PlatformId_vals), 0, NULL, HFILL }},
10874         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown8,
10875           { "Unknown8", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown8", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10876         { &hf_wkssvc_wkssvc_NetrAddAlternateComputerName_Reserved,
10877           { "Reserved", "wkssvc.wkssvc_NetrAddAlternateComputerName.Reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10878         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME,
10879           { "Wkssvc Join Flags Join With New Name", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME_tfs), ( 0x00000400 ), NULL, HFILL }},
10880         { &hf_wkssvc_wkssvc_NetrWkstaTransportAdd_server_name,
10881           { "Server Name", "wkssvc.wkssvc_NetrWkstaTransportAdd.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10882         { &hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_server_name,
10883           { "Server Name", "wkssvc.wkssvc_NetrRemoveAlternateComputerName.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10884         { &hf_wkssvc_wkssvc_NetWkstaInfo101_platform_id,
10885           { "Platform Id", "wkssvc.wkssvc_NetWkstaInfo101.platform_id", FT_UINT32, BASE_DEC, VALS(wkssvc_srvsvc_PlatformId_vals), 0, NULL, HFILL }},
10886         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_opportunistic_locking,
10887           { "Use Opportunistic Locking", "wkssvc.wkssvc_NetWkstaInfo502.use_opportunistic_locking", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10888         { &hf_wkssvc_wkssvc_NetWkstaInfo100_server_name,
10889           { "Server Name", "wkssvc.wkssvc_NetWkstaInfo100.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10890         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown28,
10891           { "Unknown28", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown28", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10892         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr1_user1,
10893           { "User1", "wkssvc.wkssvc_NetWkstaEnumUsersCtr1.user1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10894         { &hf_wkssvc_wkssvc_NetWkstaGetInfo_server_name,
10895           { "Server Name", "wkssvc.wkssvc_NetWkstaGetInfo.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10896         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1023,
10897           { "Info1023", "wkssvc.wkssvc_NetWkstaInfo.info1023", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10898         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown15,
10899           { "Unknown15", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown15", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10900         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_lock_read_unlock,
10901           { "Use Lock Read Unlock", "wkssvc.wkssvc_NetWkstaInfo502.use_lock_read_unlock", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10902         { &hf_wkssvc_wkssvc_NetrUseInfo1_asg_type,
10903           { "Asg Type", "wkssvc.wkssvc_NetrUseInfo1.asg_type", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10904         { &hf_wkssvc_wkssvc_NetrUnjoinDomain2_unjoin_flags,
10905           { "Unjoin Flags", "wkssvc.wkssvc_NetrUnjoinDomain2.unjoin_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
10906         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown1,
10907           { "Unknown1", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown1", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10908         { &hf_wkssvc_wkssvc_NetrLogonDomainNameAdd_domain_name,
10909           { "Domain Name", "wkssvc.wkssvc_NetrLogonDomainNameAdd.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10910         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown26,
10911           { "Unknown26", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown26", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10912         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_Account,
10913           { "Account", "wkssvc.wkssvc_NetrRenameMachineInDomain2.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10914         { &hf_wkssvc_wkssvc_NetWkstaEnumUsers_info,
10915           { "Info", "wkssvc.wkssvc_NetWkstaEnumUsers.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10916         { &hf_wkssvc_wkssvc_NetrGetJoinInformation_name_type,
10917           { "Name Type", "wkssvc.wkssvc_NetrGetJoinInformation.name_type", FT_UINT1632, BASE_DEC, VALS(wkssvc_wkssvc_NetJoinStatus_vals), 0, NULL, HFILL }},
10918         { &hf_wkssvc_wkssvc_NetrAddAlternateComputerName_NewAlternateMachineName,
10919           { "Newalternatemachinename", "wkssvc.wkssvc_NetrAddAlternateComputerName.NewAlternateMachineName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10920         { &hf_wkssvc_wkssvc_NetrUnjoinDomain2_encrypted_password,
10921           { "Encrypted Password", "wkssvc.wkssvc_NetrUnjoinDomain2.encrypted_password", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10922         { &hf_wkssvc_wkssvc_NetWkstaInfo502_pipe_maximum,
10923           { "Pipe Maximum", "wkssvc.wkssvc_NetWkstaInfo502.pipe_maximum", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10924         { &hf_wkssvc_wkssvc_NetWkstaInfo502_char_wait,
10925           { "Char Wait", "wkssvc.wkssvc_NetWkstaInfo502.char_wait", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10926         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1027,
10927           { "Info1027", "wkssvc.wkssvc_NetWkstaInfo.info1027", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10928         { &hf_wkssvc_wkssvc_NetWkstaInfo1052_use_lock_read_unlock,
10929           { "Use Lock Read Unlock", "wkssvc.wkssvc_NetWkstaInfo1052.use_lock_read_unlock", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10930         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1056,
10931           { "Info1056", "wkssvc.wkssvc_NetWkstaInfo.info1056", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10932         { &hf_wkssvc_wkssvc_NetrValidateName_Account,
10933           { "Account", "wkssvc.wkssvc_NetrValidateName.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10934         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1032,
10935           { "Info1032", "wkssvc.wkssvc_NetWkstaInfo.info1032", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10936         { &hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_Account,
10937           { "Account", "wkssvc.wkssvc_NetrRemoveAlternateComputerName.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10938         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1053,
10939           { "Info1053", "wkssvc.wkssvc_NetWkstaInfo.info1053", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10940         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_EncryptedPassword,
10941           { "Encryptedpassword", "wkssvc.wkssvc_NetrRenameMachineInDomain2.EncryptedPassword", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10942         { &hf_wkssvc_wkssvc_NetWkstaSetInfo_level,
10943           { "Level", "wkssvc.wkssvc_NetWkstaSetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10944         { &hf_wkssvc_wkssvc_NetrJoinDomain_domain_name,
10945           { "Domain Name", "wkssvc.wkssvc_NetrJoinDomain.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10946         { &hf_wkssvc_wkssvc_NetWkstaInfo102_logged_on_users,
10947           { "Logged On Users", "wkssvc.wkssvc_NetWkstaInfo102.logged_on_users", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10948         { &hf_wkssvc_wkssvc_NetrUseInfo2_remote,
10949           { "Remote", "wkssvc.wkssvc_NetrUseInfo2.remote", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10950         };
10951
10952
10953         static gint *ett[] = {
10954                 &ett_dcerpc_wkssvc,
10955                 &ett_wkssvc_wkssvc_NetWkstaInfo100,
10956                 &ett_wkssvc_wkssvc_NetWkstaInfo101,
10957                 &ett_wkssvc_wkssvc_NetWkstaInfo102,
10958                 &ett_wkssvc_wkssvc_NetWkstaInfo502,
10959                 &ett_wkssvc_wkssvc_NetWkstaInfo1010,
10960                 &ett_wkssvc_wkssvc_NetWkstaInfo1011,
10961                 &ett_wkssvc_wkssvc_NetWkstaInfo1012,
10962                 &ett_wkssvc_wkssvc_NetWkstaInfo1013,
10963                 &ett_wkssvc_wkssvc_NetWkstaInfo1018,
10964                 &ett_wkssvc_wkssvc_NetWkstaInfo1023,
10965                 &ett_wkssvc_wkssvc_NetWkstaInfo1027,
10966                 &ett_wkssvc_wkssvc_NetWkstaInfo1028,
10967                 &ett_wkssvc_wkssvc_NetWkstaInfo1032,
10968                 &ett_wkssvc_wkssvc_NetWkstaInfo1033,
10969                 &ett_wkssvc_wkssvc_NetWkstaInfo1041,
10970                 &ett_wkssvc_wkssvc_NetWkstaInfo1042,
10971                 &ett_wkssvc_wkssvc_NetWkstaInfo1043,
10972                 &ett_wkssvc_wkssvc_NetWkstaInfo1044,
10973                 &ett_wkssvc_wkssvc_NetWkstaInfo1045,
10974                 &ett_wkssvc_wkssvc_NetWkstaInfo1046,
10975                 &ett_wkssvc_wkssvc_NetWkstaInfo1047,
10976                 &ett_wkssvc_wkssvc_NetWkstaInfo1048,
10977                 &ett_wkssvc_wkssvc_NetWkstaInfo1049,
10978                 &ett_wkssvc_wkssvc_NetWkstaInfo1050,
10979                 &ett_wkssvc_wkssvc_NetWkstaInfo1051,
10980                 &ett_wkssvc_wkssvc_NetWkstaInfo1052,
10981                 &ett_wkssvc_wkssvc_NetWkstaInfo1053,
10982                 &ett_wkssvc_wkssvc_NetWkstaInfo1054,
10983                 &ett_wkssvc_wkssvc_NetWkstaInfo1055,
10984                 &ett_wkssvc_wkssvc_NetWkstaInfo1056,
10985                 &ett_wkssvc_wkssvc_NetWkstaInfo1057,
10986                 &ett_wkssvc_wkssvc_NetWkstaInfo1058,
10987                 &ett_wkssvc_wkssvc_NetWkstaInfo1059,
10988                 &ett_wkssvc_wkssvc_NetWkstaInfo1060,
10989                 &ett_wkssvc_wkssvc_NetWkstaInfo1061,
10990                 &ett_wkssvc_wkssvc_NetWkstaInfo1062,
10991                 &ett_wkssvc_wkssvc_NetWkstaInfo,
10992                 &ett_wkssvc_wkssvc_NetrWkstaUserInfo0,
10993                 &ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr0,
10994                 &ett_wkssvc_wkssvc_NetrWkstaUserInfo1,
10995                 &ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr1,
10996                 &ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr,
10997                 &ett_wkssvc_wkssvc_NetWkstaEnumUsersInfo,
10998                 &ett_wkssvc_wkssvc_NetrWkstaUserInfo1101,
10999                 &ett_wkssvc_wkssvc_NetrWkstaUserInfo,
11000                 &ett_wkssvc_wkssvc_NetWkstaTransportInfo0,
11001                 &ett_wkssvc_wkssvc_NetWkstaTransportCtr0,
11002                 &ett_wkssvc_wkssvc_NetWkstaTransportCtr,
11003                 &ett_wkssvc_wkssvc_NetWkstaTransportInfo,
11004                 &ett_wkssvc_wkssvc_NetrUseInfo3,
11005                 &ett_wkssvc_wkssvc_NetrUseInfo2,
11006                 &ett_wkssvc_wkssvc_NetrUseInfo1,
11007                 &ett_wkssvc_wkssvc_NetrUseInfo0,
11008                 &ett_wkssvc_wkssvc_NetrUseGetInfoCtr,
11009                 &ett_wkssvc_wkssvc_NetrUseEnumCtr2,
11010                 &ett_wkssvc_wkssvc_NetrUseEnumCtr1,
11011                 &ett_wkssvc_wkssvc_NetrUseEnumCtr0,
11012                 &ett_wkssvc_wkssvc_NetrUseEnumCtr,
11013                 &ett_wkssvc_wkssvc_NetrUseEnumInfo,
11014                 &ett_wkssvc_wkssvc_NetrWorkstationStatistics,
11015                 &ett_wkssvc_wkssvc_renameflags,
11016                 &ett_wkssvc_wkssvc_PasswordBuffer,
11017                 &ett_wkssvc_wkssvc_joinflags,
11018                 &ett_wkssvc_wkssvc_ComputerNamesCtr,
11019         };
11020
11021         proto_dcerpc_wkssvc = proto_register_protocol("Workstation Service", "WKSSVC", "wkssvc");
11022         proto_register_field_array(proto_dcerpc_wkssvc, hf, array_length (hf));
11023         proto_register_subtree_array(ett, array_length(ett));
11024 }
11025
11026 void proto_reg_handoff_dcerpc_wkssvc(void)
11027 {
11028         dcerpc_init_uuid(proto_dcerpc_wkssvc, ett_dcerpc_wkssvc,
11029                 &uuid_dcerpc_wkssvc, ver_dcerpc_wkssvc,
11030                 wkssvc_dissectors, hf_wkssvc_opnum);
11031 }