Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-rs_prop_attr.c
blob708376799465d7a4bc8e6ef3ae39dcd8cf8d0e31
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
15 #include "config.h"
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,
31 0xc3} };
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},
39 {0, NULL, NULL, NULL}
42 void
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,
48 NULL, HFILL}},
51 static int *ett[] = {
52 &ett_rs_prop_attr,
54 proto_rs_prop_attr =
55 proto_register_protocol ("DCE/RPC Prop Attr", "rs_prop_attr",
56 "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));
61 void
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
73 * Local Variables:
74 * c-basic-offset: 2
75 * tab-width: 8
76 * indent-tabs-mode: nil
77 * End:
79 * ex: set shiftwidth=2 tabstop=8 expandtab:
80 * :indentSize=2:tabSize=8:noTabs=true: