1 /* packet-dcerpc-rs_prop_pgo.c
3 * Routines for rs_prop_pgo dissection
4 * Copyright 2004, 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_prop_pgo.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
18 #include <epan/packet.h>
19 #include "packet-dcerpc.h"
21 void proto_register_rs_prop_pgo (void);
22 void proto_reg_handoff_rs_prop_pgo (void);
24 static int proto_rs_prop_pgo
;
25 static int hf_rs_prop_pgo_opnum
;
28 static int ett_rs_prop_pgo
;
29 static e_guid_t uuid_rs_prop_pgo
=
30 { 0xc23626e8, 0xde34, 0x11ca, {0x8c, 0xbc, 0x08, 0x00, 0x1e, 0x03, 0x94,
33 static uint16_t ver_rs_prop_pgo
= 1;
36 static const dcerpc_sub_dissector rs_prop_pgo_dissectors
[] = {
37 {0, "add", NULL
, NULL
},
38 {1, "rename", NULL
, NULL
},
39 {2, "replace", NULL
, NULL
},
40 {3, "add_member", NULL
, NULL
},
41 {4, "delete_member", NULL
, NULL
},
42 {5, "add_member_global", NULL
, NULL
},
47 proto_register_rs_prop_pgo (void)
49 static hf_register_info hf
[] = {
50 {&hf_rs_prop_pgo_opnum
,
51 {"Operation", "rs_prop_pgo.opnum", FT_UINT16
, BASE_DEC
, NULL
, 0x0,
59 proto_register_protocol
60 ("DCE/RPC Registry server propagation interface - PGO items",
61 "rs_prop_pgo", "rs_prop_pgo");
62 proto_register_field_array (proto_rs_prop_pgo
, hf
, array_length (hf
));
63 proto_register_subtree_array (ett
, array_length (ett
));
67 proto_reg_handoff_rs_prop_pgo (void)
69 /* Register the protocol as dcerpc */
70 dcerpc_init_uuid (proto_rs_prop_pgo
, ett_rs_prop_pgo
, &uuid_rs_prop_pgo
,
71 ver_rs_prop_pgo
, rs_prop_pgo_dissectors
,
72 hf_rs_prop_pgo_opnum
);
76 * Editor modelines - https://www.wireshark.org/tools/modelines.html
81 * indent-tabs-mode: nil
84 * ex: set shiftwidth=2 tabstop=8 expandtab:
85 * :indentSize=2:tabSize=8:noTabs=true: