Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-cds_solicit.c
blobcba5281a6023dd4698a3e9fb270d34a90d56791c
1 /* packet-dcerpc-cds_solicit.c
2 * Routines for cds_solicit 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/directory.tar.gz directory/cds/stubs/cds_solicit.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_cds_solicit (void);
21 void proto_reg_handoff_cds_solicit (void);
23 static int proto_cds_solicit;
24 static int hf_cds_solicit_opnum;
27 static int ett_cds_solicit;
30 static e_guid_t uuid_cds_solicit = { 0xd5579459, 0x8bca, 0x11ca, { 0xb7, 0x71, 0x08, 0x00, 0x2b, 0x1c, 0x8f, 0x1f } };
31 static uint16_t ver_cds_solicit = 1;
34 static const dcerpc_sub_dissector cds_solicit_dissectors[] = {
35 { 0, "cds_Solicit", NULL, NULL},
36 { 1, "cds_Advertise", NULL, NULL},
37 { 2, "cds_SolicitServer", NULL, NULL},
38 { 0, NULL, NULL, NULL }
41 void
42 proto_register_cds_solicit (void)
44 static hf_register_info hf[] = {
45 { &hf_cds_solicit_opnum,
46 { "Operation", "cds_solicit.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }},
49 static int *ett[] = {
50 &ett_cds_solicit,
52 proto_cds_solicit = proto_register_protocol ("DCE/RPC CDS Solicitation", "cds_solicit", "cds_solicit");
53 proto_register_field_array (proto_cds_solicit, hf, array_length (hf));
54 proto_register_subtree_array (ett, array_length (ett));
57 void
58 proto_reg_handoff_cds_solicit (void)
60 /* Register the protocol as dcerpc */
61 dcerpc_init_uuid (proto_cds_solicit, ett_cds_solicit, &uuid_cds_solicit, ver_cds_solicit, cds_solicit_dissectors, hf_cds_solicit_opnum);
65 * Editor modelines - https://www.wireshark.org/tools/modelines.html
67 * Local variables:
68 * c-basic-offset: 8
69 * tab-width: 8
70 * indent-tabs-mode: t
71 * End:
73 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
74 * :indentSize=8:tabSize=8:noTabs=false: