1 /* packet-dcerpc-rs_prop_attr.c
3 * Routines for rs_prop_attr 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_attr.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_attr (void);
22 void proto_reg_handoff_rs_prop_attr (void);
24 static int proto_rs_prop_attr
;
25 static int hf_rs_prop_attr_opnum
;
28 static int ett_rs_prop_attr
;
29 static e_guid_t uuid_rs_prop_attr
=
30 { 0x0eff23e6, 0x555a, 0x11cd, {0x95, 0xbf, 0x08, 0x00, 0x09, 0x27, 0x84,
33 static uint16_t ver_rs_prop_attr
= 1;
36 static const dcerpc_sub_dissector rs_prop_attr_dissectors
[] = {
37 {0, "update", NULL
, NULL
},
38 {1, "delete", NULL
, NULL
},
43 proto_register_rs_prop_attr (void)
45 static hf_register_info hf
[] = {
46 {&hf_rs_prop_attr_opnum
,
47 {"Operation", "rs_prop_attr.opnum", FT_UINT16
, BASE_DEC
, NULL
, 0x0,
55 proto_register_protocol ("DCE/RPC Prop Attr", "rs_prop_attr",
57 proto_register_field_array (proto_rs_prop_attr
, hf
, array_length (hf
));
58 proto_register_subtree_array (ett
, array_length (ett
));
62 proto_reg_handoff_rs_prop_attr (void)
64 /* Register the protocol as dcerpc */
65 dcerpc_init_uuid (proto_rs_prop_attr
, ett_rs_prop_attr
, &uuid_rs_prop_attr
,
66 ver_rs_prop_attr
, rs_prop_attr_dissectors
,
67 hf_rs_prop_attr_opnum
);
71 * Editor modelines - https://www.wireshark.org/tools/modelines.html
76 * indent-tabs-mode: nil
79 * ex: set shiftwidth=2 tabstop=8 expandtab:
80 * :indentSize=2:tabSize=8:noTabs=true: