Coverage Report

Created: 2026-08-14 06:45

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/wireshark/epan/dissectors/packet-dcerpc-wzcsvc.c
Line
Count
Source
1
/* DO NOT EDIT
2
  This file was automatically generated by Pidl
3
  from wzcsvc.idl and wzcsvc.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 https://wiki.wireshark.org/Pidl
9
*/
10
11
12
#include "config.h"
13
#include <string.h>
14
#include <wsutil/array.h>
15
#include <epan/packet.h>
16
#include <epan/tfs.h>
17
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);
24
25
/* Ett declarations */
26
static int ett_dcerpc_wzcsvc;
27
28
29
/* Header field declarations */
30
static int hf_wzcsvc_opnum;
31
32
static int proto_dcerpc_wzcsvc;
33
/* Version information */
34
35
36
static e_guid_t uuid_dcerpc_wzcsvc = {
37
  0x621dff68, 0x3c39, 0x4c6c,
38
  { 0xaa, 0xe3, 0xe6, 0x8e, 0x2c, 0x65, 0x03, 0xad }
39
};
40
static uint16_t ver_dcerpc_wzcsvc = 1;
41
42
43
/* IDL: void wzcsvc_EnumInterfaces( */
44
/* IDL:  */
45
/* IDL: ); */
46
47
static unsigned
48
wzcsvc_dissect_EnumInterfaces_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
49
0
{
50
0
  di->dcerpc_procedure_name="EnumInterfaces";
51
0
  return offset;
52
0
}
53
54
static unsigned
55
wzcsvc_dissect_EnumInterfaces_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
56
0
{
57
0
  di->dcerpc_procedure_name="EnumInterfaces";
58
0
  return offset;
59
0
}
60
61
/* IDL: void wzcsvc_QueryInterface( */
62
/* IDL:  */
63
/* IDL: ); */
64
65
static unsigned
66
wzcsvc_dissect_QueryInterface_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
67
0
{
68
0
  di->dcerpc_procedure_name="QueryInterface";
69
0
  return offset;
70
0
}
71
72
static unsigned
73
wzcsvc_dissect_QueryInterface_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
74
0
{
75
0
  di->dcerpc_procedure_name="QueryInterface";
76
0
  return offset;
77
0
}
78
79
/* IDL: void wzcsvc_SetInterface( */
80
/* IDL:  */
81
/* IDL: ); */
82
83
static unsigned
84
wzcsvc_dissect_SetInterface_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
85
0
{
86
0
  di->dcerpc_procedure_name="SetInterface";
87
0
  return offset;
88
0
}
89
90
static unsigned
91
wzcsvc_dissect_SetInterface_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
92
0
{
93
0
  di->dcerpc_procedure_name="SetInterface";
94
0
  return offset;
95
0
}
96
97
/* IDL: void wzcsvc_RefreshInterface( */
98
/* IDL:  */
99
/* IDL: ); */
100
101
static unsigned
102
wzcsvc_dissect_RefreshInterface_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
103
0
{
104
0
  di->dcerpc_procedure_name="RefreshInterface";
105
0
  return offset;
106
0
}
107
108
static unsigned
109
wzcsvc_dissect_RefreshInterface_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
110
0
{
111
0
  di->dcerpc_procedure_name="RefreshInterface";
112
0
  return offset;
113
0
}
114
115
/* IDL: void wzcsvc_QueryContext( */
116
/* IDL:  */
117
/* IDL: ); */
118
119
static unsigned
120
wzcsvc_dissect_QueryContext_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
121
0
{
122
0
  di->dcerpc_procedure_name="QueryContext";
123
0
  return offset;
124
0
}
125
126
static unsigned
127
wzcsvc_dissect_QueryContext_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
128
0
{
129
0
  di->dcerpc_procedure_name="QueryContext";
130
0
  return offset;
131
0
}
132
133
/* IDL: void wzcsvc_SetContext( */
134
/* IDL:  */
135
/* IDL: ); */
136
137
static unsigned
138
wzcsvc_dissect_SetContext_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
139
0
{
140
0
  di->dcerpc_procedure_name="SetContext";
141
0
  return offset;
142
0
}
143
144
static unsigned
145
wzcsvc_dissect_SetContext_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
146
0
{
147
0
  di->dcerpc_procedure_name="SetContext";
148
0
  return offset;
149
0
}
150
151
/* IDL: void wzcsvc_EapolUIResponse( */
152
/* IDL:  */
153
/* IDL: ); */
154
155
static unsigned
156
wzcsvc_dissect_EapolUIResponse_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
157
0
{
158
0
  di->dcerpc_procedure_name="EapolUIResponse";
159
0
  return offset;
160
0
}
161
162
static unsigned
163
wzcsvc_dissect_EapolUIResponse_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
164
0
{
165
0
  di->dcerpc_procedure_name="EapolUIResponse";
166
0
  return offset;
167
0
}
168
169
/* IDL: void wzcsvc_EapolGetCustomAuthData( */
170
/* IDL:  */
171
/* IDL: ); */
172
173
static unsigned
174
wzcsvc_dissect_EapolGetCustomAuthData_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
175
0
{
176
0
  di->dcerpc_procedure_name="EapolGetCustomAuthData";
177
0
  return offset;
178
0
}
179
180
static unsigned
181
wzcsvc_dissect_EapolGetCustomAuthData_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
182
0
{
183
0
  di->dcerpc_procedure_name="EapolGetCustomAuthData";
184
0
  return offset;
185
0
}
186
187
/* IDL: void wzcsvc_EapolSetCustomAuthData( */
188
/* IDL:  */
189
/* IDL: ); */
190
191
static unsigned
192
wzcsvc_dissect_EapolSetCustomAuthData_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
193
0
{
194
0
  di->dcerpc_procedure_name="EapolSetCustomAuthData";
195
0
  return offset;
196
0
}
197
198
static unsigned
199
wzcsvc_dissect_EapolSetCustomAuthData_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
200
0
{
201
0
  di->dcerpc_procedure_name="EapolSetCustomAuthData";
202
0
  return offset;
203
0
}
204
205
/* IDL: void wzcsvc_EapolGetInterfaceParams( */
206
/* IDL:  */
207
/* IDL: ); */
208
209
static unsigned
210
wzcsvc_dissect_EapolGetInterfaceParams_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
211
0
{
212
0
  di->dcerpc_procedure_name="EapolGetInterfaceParams";
213
0
  return offset;
214
0
}
215
216
static unsigned
217
wzcsvc_dissect_EapolGetInterfaceParams_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
218
0
{
219
0
  di->dcerpc_procedure_name="EapolGetInterfaceParams";
220
0
  return offset;
221
0
}
222
223
/* IDL: void wzcsvc_EapolSetInterfaceParams( */
224
/* IDL:  */
225
/* IDL: ); */
226
227
static unsigned
228
wzcsvc_dissect_EapolSetInterfaceParams_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
229
0
{
230
0
  di->dcerpc_procedure_name="EapolSetInterfaceParams";
231
0
  return offset;
232
0
}
233
234
static unsigned
235
wzcsvc_dissect_EapolSetInterfaceParams_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
236
0
{
237
0
  di->dcerpc_procedure_name="EapolSetInterfaceParams";
238
0
  return offset;
239
0
}
240
241
/* IDL: void wzcsvc_EapolReAuthenticateInterface( */
242
/* IDL:  */
243
/* IDL: ); */
244
245
static unsigned
246
wzcsvc_dissect_EapolReAuthenticateInterface_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
247
0
{
248
0
  di->dcerpc_procedure_name="EapolReAuthenticateInterface";
249
0
  return offset;
250
0
}
251
252
static unsigned
253
wzcsvc_dissect_EapolReAuthenticateInterface_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
254
0
{
255
0
  di->dcerpc_procedure_name="EapolReAuthenticateInterface";
256
0
  return offset;
257
0
}
258
259
/* IDL: void wzcsvc_EapolQueryInterfaceState( */
260
/* IDL:  */
261
/* IDL: ); */
262
263
static unsigned
264
wzcsvc_dissect_EapolQueryInterfaceState_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
265
0
{
266
0
  di->dcerpc_procedure_name="EapolQueryInterfaceState";
267
0
  return offset;
268
0
}
269
270
static unsigned
271
wzcsvc_dissect_EapolQueryInterfaceState_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
272
0
{
273
0
  di->dcerpc_procedure_name="EapolQueryInterfaceState";
274
0
  return offset;
275
0
}
276
277
/* IDL: void wzcsvc_OpenWZCDbLogSession( */
278
/* IDL:  */
279
/* IDL: ); */
280
281
static unsigned
282
wzcsvc_dissect_OpenWZCDbLogSession_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
283
0
{
284
0
  di->dcerpc_procedure_name="OpenWZCDbLogSession";
285
0
  return offset;
286
0
}
287
288
static unsigned
289
wzcsvc_dissect_OpenWZCDbLogSession_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
290
0
{
291
0
  di->dcerpc_procedure_name="OpenWZCDbLogSession";
292
0
  return offset;
293
0
}
294
295
/* IDL: void wzcsvc_CloseWZCDbLogSession( */
296
/* IDL:  */
297
/* IDL: ); */
298
299
static unsigned
300
wzcsvc_dissect_CloseWZCDbLogSession_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
301
0
{
302
0
  di->dcerpc_procedure_name="CloseWZCDbLogSession";
303
0
  return offset;
304
0
}
305
306
static unsigned
307
wzcsvc_dissect_CloseWZCDbLogSession_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
308
0
{
309
0
  di->dcerpc_procedure_name="CloseWZCDbLogSession";
310
0
  return offset;
311
0
}
312
313
/* IDL: void wzcsvc_EnumWZCDbLogRecords( */
314
/* IDL:  */
315
/* IDL: ); */
316
317
static unsigned
318
wzcsvc_dissect_EnumWZCDbLogRecords_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
319
0
{
320
0
  di->dcerpc_procedure_name="EnumWZCDbLogRecords";
321
0
  return offset;
322
0
}
323
324
static unsigned
325
wzcsvc_dissect_EnumWZCDbLogRecords_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
326
0
{
327
0
  di->dcerpc_procedure_name="EnumWZCDbLogRecords";
328
0
  return offset;
329
0
}
330
331
/* IDL: void wzcsvc_FlushWZCdbLog( */
332
/* IDL:  */
333
/* IDL: ); */
334
335
static unsigned
336
wzcsvc_dissect_FlushWZCdbLog_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
337
0
{
338
0
  di->dcerpc_procedure_name="FlushWZCdbLog";
339
0
  return offset;
340
0
}
341
342
static unsigned
343
wzcsvc_dissect_FlushWZCdbLog_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
344
0
{
345
0
  di->dcerpc_procedure_name="FlushWZCdbLog";
346
0
  return offset;
347
0
}
348
349
/* IDL: void wzcsvc_GetWZCDbLogRecord( */
350
/* IDL:  */
351
/* IDL: ); */
352
353
static unsigned
354
wzcsvc_dissect_GetWZCDbLogRecord_response(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
355
0
{
356
0
  di->dcerpc_procedure_name="GetWZCDbLogRecord";
357
0
  return offset;
358
0
}
359
360
static unsigned
361
wzcsvc_dissect_GetWZCDbLogRecord_request(tvbuff_t *tvb _U_, unsigned offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
362
0
{
363
0
  di->dcerpc_procedure_name="GetWZCDbLogRecord";
364
0
  return offset;
365
0
}
366
367
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},
373
  { 2, "SetInterface",
374
     wzcsvc_dissect_SetInterface_request, wzcsvc_dissect_SetInterface_response},
375
  { 3, "RefreshInterface",
376
     wzcsvc_dissect_RefreshInterface_request, wzcsvc_dissect_RefreshInterface_response},
377
  { 4, "QueryContext",
378
     wzcsvc_dissect_QueryContext_request, wzcsvc_dissect_QueryContext_response},
379
  { 5, "SetContext",
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 }
406
};
407
408
void proto_register_dcerpc_wzcsvc(void)
409
16
{
410
16
  static hf_register_info hf[] = {
411
16
  { &hf_wzcsvc_opnum,
412
16
    { "Operation", "wzcsvc.opnum", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
413
16
  };
414
415
416
16
  static int *ett[] = {
417
16
    &ett_dcerpc_wzcsvc,
418
16
  };
419
420
16
  proto_dcerpc_wzcsvc = proto_register_protocol("Wireless Configuration Service", "WZCSVC", "wzcsvc");
421
16
  proto_register_field_array(proto_dcerpc_wzcsvc, hf, array_length (hf));
422
16
  proto_register_subtree_array(ett, array_length(ett));
423
16
}
424
425
void proto_reg_handoff_dcerpc_wzcsvc(void)
426
16
{
427
16
  dcerpc_init_uuid(proto_dcerpc_wzcsvc, ett_dcerpc_wzcsvc,
428
16
    &uuid_dcerpc_wzcsvc, ver_dcerpc_wzcsvc,
429
16
    wzcsvc_dissectors, hf_wzcsvc_opnum);
430
16
}