Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-cds_clerkserver.c
blob89eb78fbdfc50ca2edeb678a708364840a54ba77
1 /* packet-dcerpc-cds_clerkserver.c
3 * Routines for cds_clerkserver dissection
4 * Routines for dcerpc Afs4Int dissection
5 * Copyright 2002, Jaime Fournier <Jaime.Fournier@hush.com>
6 * This information is based off the released idl files from opengroup.
7 * ftp://ftp.opengroup.org/pub/dce122/dce/src/directory.tar.gz directory/cds/stubs/cds_clerkserver.idl
9 * Wireshark - Network traffic analyzer
10 * By Gerald Combs <gerald@wireshark.org>
11 * Copyright 1998 Gerald Combs
13 * SPDX-License-Identifier: GPL-2.0-or-later
16 #include "config.h"
19 #include <epan/packet.h>
20 #include "packet-dcerpc.h"
22 void proto_register_cds_clerkserver (void);
23 void proto_reg_handoff_cds_clerkserver (void);
25 static int proto_cds_clerkserver;
26 static int hf_cds_clerkserver_opnum;
29 static int ett_cds_clerkserver;
32 static e_guid_t uuid_cds_clerkserver = { 0x257df1c9, 0xc6d3, 0x11ca, { 0x85, 0x54, 0x08, 0x00, 0x2b, 0x1c, 0x8f, 0x1f } };
33 static uint16_t ver_cds_clerkserver = 1;
37 static const dcerpc_sub_dissector cds_clerkserver_dissectors[] = {
38 { 0, "AddReplica", NULL, NULL},
39 { 1, "AllowClearinghouses", NULL, NULL},
40 { 2, "Combine", NULL, NULL},
41 { 3, "CreateChild", NULL, NULL},
42 { 4, "CreateDirectory", NULL, NULL},
43 { 5, "CreateSoftLink", NULL, NULL},
44 { 6, "CreateObject", NULL, NULL},
45 { 7, "DeleteChild", NULL, NULL},
46 { 8, "DeleteObject", NULL, NULL},
47 { 9, "DeleteSoftLink", NULL, NULL},
48 { 10, "DeleteDirectory", NULL, NULL},
49 { 11, "DisallowClearinghouses", NULL, NULL},
50 { 12, "DoUpdate", NULL, NULL},
51 { 13, "EnumerateAttributes", NULL, NULL},
52 { 14, "EnumerateChildren", NULL, NULL},
53 { 15, "EnumerateObjects", NULL, NULL},
54 { 16, "EnumerateSoftLinks", NULL, NULL},
55 { 17, "LinkReplica", NULL, NULL},
56 { 18, "ModifyAttribute", NULL, NULL},
57 { 19, "ModifyReplica", NULL, NULL},
58 { 20, "NewEpoch", NULL, NULL},
59 { 21, "ReadAttribute", NULL, NULL},
60 { 22, "RemoveReplica", NULL, NULL},
61 { 23, "ResolveName", NULL, NULL},
62 { 24, "Skulk", NULL, NULL},
63 { 25, "TestAttribute", NULL, NULL},
64 { 26, "TestGroup", NULL, NULL},
65 { 0, NULL, NULL, NULL }
68 void
69 proto_register_cds_clerkserver (void)
71 static hf_register_info hf[] = {
72 { &hf_cds_clerkserver_opnum,
73 { "Operation", "cds_clerkserver.opnum", FT_UINT16, BASE_DEC,
74 NULL, 0x0, NULL, HFILL }}
77 static int *ett[] = {
78 &ett_cds_clerkserver,
80 proto_cds_clerkserver = proto_register_protocol ("CDS Clerk Server Calls", "CDS_CLERK", "cds_clerkserver");
81 proto_register_field_array (proto_cds_clerkserver, hf, array_length (hf));
82 proto_register_subtree_array (ett, array_length (ett));
85 void
86 proto_reg_handoff_cds_clerkserver (void)
88 /* Register the protocol as dcerpc */
89 dcerpc_init_uuid (proto_cds_clerkserver, ett_cds_clerkserver, &uuid_cds_clerkserver, ver_cds_clerkserver, cds_clerkserver_dissectors, hf_cds_clerkserver_opnum);
93 * Editor modelines - https://www.wireshark.org/tools/modelines.html
95 * Local variables:
96 * c-basic-offset: 8
97 * tab-width: 8
98 * indent-tabs-mode: t
99 * End:
101 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
102 * :indentSize=8:tabSize=8:noTabs=false: