2 This file was automatically generated by Pidl
3 from wzcsvc.idl and wzcsvc.cnf.
5 Pidl is a perl based IDL compiler for DCE/RPC idl files.
6 It is maintained by the Samba team, not the Wireshark team.
7 Instructions on how to download and install Pidl can be
8 found at https://wiki.wireshark.org/Pidl
14 #include <wsutil/array.h>
15 #include <epan/packet.h>
18 #include "packet-dcerpc.h"
19 #include "packet-dcerpc-nt.h"
20 #include "packet-windows-common.h"
21 #include "packet-dcerpc-wzcsvc.h"
22 void proto_register_dcerpc_wzcsvc(void);
23 void proto_reg_handoff_dcerpc_wzcsvc(void);
25 /* Ett declarations */
26 static int ett_dcerpc_wzcsvc
;
29 /* Header field declarations */
30 static int hf_wzcsvc_opnum
;
32 static int proto_dcerpc_wzcsvc
;
33 /* Version information */
36 static e_guid_t uuid_dcerpc_wzcsvc
= {
37 0x621dff68, 0x3c39, 0x4c6c,
38 { 0xaa, 0xe3, 0xe6, 0x8e, 0x2c, 0x65, 0x03, 0xad }
40 static uint16_t ver_dcerpc_wzcsvc
= 1;
43 /* IDL: void wzcsvc_EnumInterfaces( */
48 wzcsvc_dissect_EnumInterfaces_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
50 di
->dcerpc_procedure_name
="EnumInterfaces";
55 wzcsvc_dissect_EnumInterfaces_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
57 di
->dcerpc_procedure_name
="EnumInterfaces";
61 /* IDL: void wzcsvc_QueryInterface( */
66 wzcsvc_dissect_QueryInterface_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
68 di
->dcerpc_procedure_name
="QueryInterface";
73 wzcsvc_dissect_QueryInterface_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
75 di
->dcerpc_procedure_name
="QueryInterface";
79 /* IDL: void wzcsvc_SetInterface( */
84 wzcsvc_dissect_SetInterface_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
86 di
->dcerpc_procedure_name
="SetInterface";
91 wzcsvc_dissect_SetInterface_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
93 di
->dcerpc_procedure_name
="SetInterface";
97 /* IDL: void wzcsvc_RefreshInterface( */
102 wzcsvc_dissect_RefreshInterface_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
104 di
->dcerpc_procedure_name
="RefreshInterface";
109 wzcsvc_dissect_RefreshInterface_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
111 di
->dcerpc_procedure_name
="RefreshInterface";
115 /* IDL: void wzcsvc_QueryContext( */
120 wzcsvc_dissect_QueryContext_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
122 di
->dcerpc_procedure_name
="QueryContext";
127 wzcsvc_dissect_QueryContext_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
129 di
->dcerpc_procedure_name
="QueryContext";
133 /* IDL: void wzcsvc_SetContext( */
138 wzcsvc_dissect_SetContext_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
140 di
->dcerpc_procedure_name
="SetContext";
145 wzcsvc_dissect_SetContext_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
147 di
->dcerpc_procedure_name
="SetContext";
151 /* IDL: void wzcsvc_EapolUIResponse( */
156 wzcsvc_dissect_EapolUIResponse_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
158 di
->dcerpc_procedure_name
="EapolUIResponse";
163 wzcsvc_dissect_EapolUIResponse_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
165 di
->dcerpc_procedure_name
="EapolUIResponse";
169 /* IDL: void wzcsvc_EapolGetCustomAuthData( */
174 wzcsvc_dissect_EapolGetCustomAuthData_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
176 di
->dcerpc_procedure_name
="EapolGetCustomAuthData";
181 wzcsvc_dissect_EapolGetCustomAuthData_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
183 di
->dcerpc_procedure_name
="EapolGetCustomAuthData";
187 /* IDL: void wzcsvc_EapolSetCustomAuthData( */
192 wzcsvc_dissect_EapolSetCustomAuthData_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
194 di
->dcerpc_procedure_name
="EapolSetCustomAuthData";
199 wzcsvc_dissect_EapolSetCustomAuthData_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
201 di
->dcerpc_procedure_name
="EapolSetCustomAuthData";
205 /* IDL: void wzcsvc_EapolGetInterfaceParams( */
210 wzcsvc_dissect_EapolGetInterfaceParams_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
212 di
->dcerpc_procedure_name
="EapolGetInterfaceParams";
217 wzcsvc_dissect_EapolGetInterfaceParams_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
219 di
->dcerpc_procedure_name
="EapolGetInterfaceParams";
223 /* IDL: void wzcsvc_EapolSetInterfaceParams( */
228 wzcsvc_dissect_EapolSetInterfaceParams_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
230 di
->dcerpc_procedure_name
="EapolSetInterfaceParams";
235 wzcsvc_dissect_EapolSetInterfaceParams_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
237 di
->dcerpc_procedure_name
="EapolSetInterfaceParams";
241 /* IDL: void wzcsvc_EapolReAuthenticateInterface( */
246 wzcsvc_dissect_EapolReAuthenticateInterface_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
248 di
->dcerpc_procedure_name
="EapolReAuthenticateInterface";
253 wzcsvc_dissect_EapolReAuthenticateInterface_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
255 di
->dcerpc_procedure_name
="EapolReAuthenticateInterface";
259 /* IDL: void wzcsvc_EapolQueryInterfaceState( */
264 wzcsvc_dissect_EapolQueryInterfaceState_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
266 di
->dcerpc_procedure_name
="EapolQueryInterfaceState";
271 wzcsvc_dissect_EapolQueryInterfaceState_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
273 di
->dcerpc_procedure_name
="EapolQueryInterfaceState";
277 /* IDL: void wzcsvc_OpenWZCDbLogSession( */
282 wzcsvc_dissect_OpenWZCDbLogSession_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
284 di
->dcerpc_procedure_name
="OpenWZCDbLogSession";
289 wzcsvc_dissect_OpenWZCDbLogSession_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
291 di
->dcerpc_procedure_name
="OpenWZCDbLogSession";
295 /* IDL: void wzcsvc_CloseWZCDbLogSession( */
300 wzcsvc_dissect_CloseWZCDbLogSession_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
302 di
->dcerpc_procedure_name
="CloseWZCDbLogSession";
307 wzcsvc_dissect_CloseWZCDbLogSession_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
309 di
->dcerpc_procedure_name
="CloseWZCDbLogSession";
313 /* IDL: void wzcsvc_EnumWZCDbLogRecords( */
318 wzcsvc_dissect_EnumWZCDbLogRecords_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
320 di
->dcerpc_procedure_name
="EnumWZCDbLogRecords";
325 wzcsvc_dissect_EnumWZCDbLogRecords_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
327 di
->dcerpc_procedure_name
="EnumWZCDbLogRecords";
331 /* IDL: void wzcsvc_FlushWZCdbLog( */
336 wzcsvc_dissect_FlushWZCdbLog_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
338 di
->dcerpc_procedure_name
="FlushWZCdbLog";
343 wzcsvc_dissect_FlushWZCdbLog_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
345 di
->dcerpc_procedure_name
="FlushWZCdbLog";
349 /* IDL: void wzcsvc_GetWZCDbLogRecord( */
354 wzcsvc_dissect_GetWZCDbLogRecord_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
356 di
->dcerpc_procedure_name
="GetWZCDbLogRecord";
361 wzcsvc_dissect_GetWZCDbLogRecord_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
363 di
->dcerpc_procedure_name
="GetWZCDbLogRecord";
368 static const dcerpc_sub_dissector wzcsvc_dissectors
[] = {
369 { 0, "EnumInterfaces",
370 wzcsvc_dissect_EnumInterfaces_request
, wzcsvc_dissect_EnumInterfaces_response
},
371 { 1, "QueryInterface",
372 wzcsvc_dissect_QueryInterface_request
, wzcsvc_dissect_QueryInterface_response
},
374 wzcsvc_dissect_SetInterface_request
, wzcsvc_dissect_SetInterface_response
},
375 { 3, "RefreshInterface",
376 wzcsvc_dissect_RefreshInterface_request
, wzcsvc_dissect_RefreshInterface_response
},
378 wzcsvc_dissect_QueryContext_request
, wzcsvc_dissect_QueryContext_response
},
380 wzcsvc_dissect_SetContext_request
, wzcsvc_dissect_SetContext_response
},
381 { 6, "EapolUIResponse",
382 wzcsvc_dissect_EapolUIResponse_request
, wzcsvc_dissect_EapolUIResponse_response
},
383 { 7, "EapolGetCustomAuthData",
384 wzcsvc_dissect_EapolGetCustomAuthData_request
, wzcsvc_dissect_EapolGetCustomAuthData_response
},
385 { 8, "EapolSetCustomAuthData",
386 wzcsvc_dissect_EapolSetCustomAuthData_request
, wzcsvc_dissect_EapolSetCustomAuthData_response
},
387 { 9, "EapolGetInterfaceParams",
388 wzcsvc_dissect_EapolGetInterfaceParams_request
, wzcsvc_dissect_EapolGetInterfaceParams_response
},
389 { 10, "EapolSetInterfaceParams",
390 wzcsvc_dissect_EapolSetInterfaceParams_request
, wzcsvc_dissect_EapolSetInterfaceParams_response
},
391 { 11, "EapolReAuthenticateInterface",
392 wzcsvc_dissect_EapolReAuthenticateInterface_request
, wzcsvc_dissect_EapolReAuthenticateInterface_response
},
393 { 12, "EapolQueryInterfaceState",
394 wzcsvc_dissect_EapolQueryInterfaceState_request
, wzcsvc_dissect_EapolQueryInterfaceState_response
},
395 { 13, "OpenWZCDbLogSession",
396 wzcsvc_dissect_OpenWZCDbLogSession_request
, wzcsvc_dissect_OpenWZCDbLogSession_response
},
397 { 14, "CloseWZCDbLogSession",
398 wzcsvc_dissect_CloseWZCDbLogSession_request
, wzcsvc_dissect_CloseWZCDbLogSession_response
},
399 { 15, "EnumWZCDbLogRecords",
400 wzcsvc_dissect_EnumWZCDbLogRecords_request
, wzcsvc_dissect_EnumWZCDbLogRecords_response
},
401 { 16, "FlushWZCdbLog",
402 wzcsvc_dissect_FlushWZCdbLog_request
, wzcsvc_dissect_FlushWZCdbLog_response
},
403 { 17, "GetWZCDbLogRecord",
404 wzcsvc_dissect_GetWZCDbLogRecord_request
, wzcsvc_dissect_GetWZCDbLogRecord_response
},
405 { 0, NULL
, NULL
, NULL
}
408 void proto_register_dcerpc_wzcsvc(void)
410 static hf_register_info hf
[] = {
412 { "Operation", "wzcsvc.opnum", FT_UINT16
, BASE_DEC
, NULL
, 0, NULL
, HFILL
}},
416 static int *ett
[] = {
420 proto_dcerpc_wzcsvc
= proto_register_protocol("Wireless Configuration Service", "WZCSVC", "wzcsvc");
421 proto_register_field_array(proto_dcerpc_wzcsvc
, hf
, array_length (hf
));
422 proto_register_subtree_array(ett
, array_length(ett
));
425 void proto_reg_handoff_dcerpc_wzcsvc(void)
427 dcerpc_init_uuid(proto_dcerpc_wzcsvc
, ett_dcerpc_wzcsvc
,
428 &uuid_dcerpc_wzcsvc
, ver_dcerpc_wzcsvc
,
429 wzcsvc_dissectors
, hf_wzcsvc_opnum
);