epan/dissectors/pidl/samr/samr.cnf cnf_dissect_lsa_BinaryString => lsarpc_dissect_str...
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-ubikvote.c
bloba6b4ffafda0816e9078511a16f5908fb72b839c8
1 /* packet-dcerpc-ubikvote.c
3 * Routines for DCE DFS Ubik Voting routines.
4 * Copyright 2002, Jaime Fournier <Jaime.Fournier@hush.com>
5 * This information is based off the released idl files from opengroup.
6 * ftp://ftp.opengroup.org/pub/dce122/dce/src/file.tar.gz file/ncsubik/ubikvote_proc.idl
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1998 Gerald Combs
12 * SPDX-License-Identifier: GPL-2.0-or-later
15 #include "config.h"
18 #include <epan/packet.h>
19 #include "packet-dcerpc.h"
21 void proto_register_ubikvote (void);
22 void proto_reg_handoff_ubikvote (void);
24 static int proto_ubikvote;
25 static int hf_ubikvote_opnum;
28 static int ett_ubikvote;
31 static e_guid_t uuid_ubikvote = { 0x4d37f2dd, 0xed43, 0x0003, { 0x02, 0xc0, 0x37, 0xcf, 0x1e, 0x00, 0x00, 0x00 } };
32 static uint16_t ver_ubikvote = 4;
35 static const dcerpc_sub_dissector ubikvote_dissectors[] = {
36 { 0, "Beacon", NULL, NULL},
37 { 1, "Debug", NULL, NULL},
38 { 2, "SDebug", NULL, NULL},
39 { 3, "GetServerInterfaces", NULL, NULL},
40 { 4, "GetSyncSite", NULL, NULL},
41 { 5, "DebugV2", NULL, NULL},
42 { 6, "SDebugV2", NULL, NULL},
43 { 7, "GetSyncSiteIdentity", NULL, NULL},
44 { 0, NULL, NULL, NULL }
47 void
48 proto_register_ubikvote (void)
50 static hf_register_info hf[] = {
51 { &hf_ubikvote_opnum,
52 { "Operation", "ubikvote.opnum", FT_UINT16, BASE_DEC,
53 NULL, 0x0, NULL, HFILL }}
56 static int *ett[] = {
57 &ett_ubikvote,
59 proto_ubikvote = proto_register_protocol ("DCE DFS FLDB UBIKVOTE", "UBIKVOTE", "ubikvote");
60 proto_register_field_array (proto_ubikvote, hf, array_length (hf));
61 proto_register_subtree_array (ett, array_length (ett));
64 void
65 proto_reg_handoff_ubikvote (void)
67 /* Register the protocol as dcerpc */
68 dcerpc_init_uuid (proto_ubikvote, ett_ubikvote, &uuid_ubikvote, ver_ubikvote, ubikvote_dissectors, hf_ubikvote_opnum);
72 * Editor modelines - https://www.wireshark.org/tools/modelines.html
74 * Local variables:
75 * c-basic-offset: 8
76 * tab-width: 8
77 * indent-tabs-mode: t
78 * End:
80 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
81 * :indentSize=8:tabSize=8:noTabs=false: