Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-icl_rpc.c
blobb38142a4311d302384c472295c2985117156fccf
1 /* packet-dcerpc-icl_rpc.c
2 * Routines for DCE DFS Scout dissection
3 * Copyright 2002, Jaime Fournier <Jaime.Fournier@hush.com>
4 * This information is based off the released idl files from opengroup.
5 * ftp://ftp.opengroup.org/pub/dce122/dce/src/file.tar.gz icl_rpc.idl
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * SPDX-License-Identifier: GPL-2.0-or-later
14 #include "config.h"
17 #include <epan/packet.h>
18 #include "packet-dcerpc.h"
20 void proto_register_icl_rpc (void);
21 void proto_reg_handoff_icl_rpc (void);
23 static int proto_icl_rpc;
24 static int hf_icl_rpc_opnum;
27 static int ett_icl_rpc;
29 static e_guid_t uuid_icl_rpc = { 0x003fd39c, 0x7feb, 0x1bbc, { 0xbe, 0xbe, 0x02, 0x60, 0x8c, 0x2e, 0xf4, 0xd2 } };
30 static uint16_t ver_icl_rpc = 1;
34 static const dcerpc_sub_dissector icl_rpc_dissectors[] = {
35 { 0, "DFSTRACE_GetSetInfo", NULL, NULL },
36 { 1, "DFSTRACE_SetSetInfo", NULL, NULL },
37 { 2, "DFSTRACE_GetLogInfo", NULL, NULL },
38 { 3, "DFSTRACE_SetLogInfo", NULL, NULL },
39 { 4, "DFSTRACE_ClearSet", NULL, NULL },
40 { 5, "DFSTRACE_ClearLog", NULL, NULL },
41 { 6, "DFSTRACE_DumpSet", NULL, NULL },
42 { 0, NULL, NULL, NULL }
45 void
46 proto_register_icl_rpc (void)
48 static hf_register_info hf[] = {
49 { &hf_icl_rpc_opnum,
50 { "Operation", "icl_rpc.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }},
53 static int *ett[] = {
54 &ett_icl_rpc,
56 proto_icl_rpc = proto_register_protocol ("DCE DFS ICL RPC", "ICL_RPC", "icl_rpc");
57 proto_register_field_array (proto_icl_rpc, hf, array_length (hf));
58 proto_register_subtree_array (ett, array_length (ett));
61 void
62 proto_reg_handoff_icl_rpc (void)
64 /* Register the protocol as dcerpc */
65 dcerpc_init_uuid (proto_icl_rpc, ett_icl_rpc, &uuid_icl_rpc, ver_icl_rpc, icl_rpc_dissectors, hf_icl_rpc_opnum);
69 * Editor modelines - https://www.wireshark.org/tools/modelines.html
71 * Local variables:
72 * c-basic-offset: 8
73 * tab-width: 8
74 * indent-tabs-mode: t
75 * End:
77 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
78 * :indentSize=8:tabSize=8:noTabs=false: