Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-rs_replist.c
blobecba3476a0860944097ef0064dd5a72a85802bae
1 /* packet-dcerpc-rs_replist.c
3 * Routines for dcerpc RepServer Calls
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/security.tar.gz security/idl/rs_repadm.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_rs_replist (void);
22 void proto_reg_handoff_rs_replist (void);
24 static int proto_rs_replist;
25 static int hf_rs_replist_opnum;
28 static int ett_rs_replist;
31 static e_guid_t uuid_rs_replist = { 0x850446b0, 0xe95b, 0x11CA, { 0xad, 0x90, 0x08, 0x00, 0x1e, 0x01, 0x45, 0xb1 } };
32 static uint16_t ver_rs_replist = 2;
35 static const dcerpc_sub_dissector rs_replist_dissectors[] = {
36 { 0, "rs_replist_add_replica", NULL, NULL},
37 { 1, "rs_replist_replace_replica", NULL, NULL},
38 { 2, "rs_replist_delete_replica", NULL, NULL},
39 { 3, "rs_replist_read", NULL, NULL},
40 { 4, "rs_replist_read_full", NULL, NULL},
41 { 5, "rs_replist_add_replica", NULL, NULL},
42 { 6, "rs_replist_replace_replica", NULL, NULL},
43 { 7, "rs_replist_delete_replica", NULL, NULL},
44 { 8, "rs_replist_read", NULL, NULL},
45 { 9, "rs_replist_read_full", NULL, NULL},
46 { 0, NULL, NULL, NULL }
49 void
50 proto_register_rs_replist (void)
52 static hf_register_info hf[] = {
53 { &hf_rs_replist_opnum,
54 { "Operation", "rs_replist.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }},
57 static int *ett[] = {
58 &ett_rs_replist,
60 proto_rs_replist = proto_register_protocol ("DCE/RPC Repserver Calls", "RS_REPLIST", "rs_replist");
62 proto_register_field_array (proto_rs_replist, hf, array_length (hf));
63 proto_register_subtree_array (ett, array_length (ett));
66 void
67 proto_reg_handoff_rs_replist (void)
69 /* Register the protocol as dcerpc */
70 dcerpc_init_uuid (proto_rs_replist, ett_rs_replist, &uuid_rs_replist, ver_rs_replist, rs_replist_dissectors, hf_rs_replist_opnum);
74 * Editor modelines - https://www.wireshark.org/tools/modelines.html
76 * Local variables:
77 * c-basic-offset: 8
78 * tab-width: 8
79 * indent-tabs-mode: t
80 * End:
82 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
83 * :indentSize=8:tabSize=8:noTabs=false: