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