Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-rs_prop_acct.c
blobb36c5a8625f47a8ab9703da2e933e12f29dbe754
1 /* packet-dcerpc-rs_prop_acct.c
2 * Routines for rs_prop_acct dissection
3 * Copyright 2003, Jaime Fournier <Jaime.Fournier@hush.com>
4 * This information is based off the released idl files from opengroup.
5 * ftp://ftp.opengroup.org/pub/dce122/dce/src/file.tar.gz bubasics/rs_prop_acct.idl
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * SPDX-License-Identifier: GPL-2.0-or-later
14 #include "config.h"
17 #include <epan/packet.h>
18 #include "packet-dcerpc.h"
20 void proto_register_rs_prop_acct (void);
21 void proto_reg_handoff_rs_prop_acct (void);
23 static int proto_rs_prop_acct;
24 static int hf_rs_prop_acct_opnum;
27 static int ett_rs_prop_acct;
28 static e_guid_t uuid_rs_prop_acct = { 0x68097130, 0xde43, 0x11ca, { 0xa5, 0x54, 0x08, 0x00, 0x1e, 0x03, 0x94, 0xc7 } };
29 static uint16_t ver_rs_prop_acct = 1;
32 static const dcerpc_sub_dissector rs_prop_acct_dissectors[] = {
33 { 0, "rs_prop_acct_add", NULL, NULL },
34 { 1, "rs_prop_acct_delete", NULL, NULL },
35 { 2, "rs_prop_acct_rename", NULL, NULL },
36 { 3, "rs_prop_acct_replace", NULL, NULL },
37 { 4, "rs_prop_acct_add_key_version", NULL, NULL },
38 { 2, "rs_prop_acct_rename", NULL, NULL },
39 { 0, NULL, NULL, NULL }
42 void
43 proto_register_rs_prop_acct (void)
45 static hf_register_info hf[] = {
46 { &hf_rs_prop_acct_opnum,
47 { "Operation", "rs_prop_acct.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }},
50 static int *ett[] = {
51 &ett_rs_prop_acct,
53 proto_rs_prop_acct = proto_register_protocol ("DCE/RPC RS_PROP_ACCT", "rs_prop_acct", "rs_prop_acct");
54 proto_register_field_array (proto_rs_prop_acct, hf, array_length (hf));
55 proto_register_subtree_array (ett, array_length (ett));
58 void
59 proto_reg_handoff_rs_prop_acct (void)
61 /* Register the protocol as dcerpc */
62 dcerpc_init_uuid (proto_rs_prop_acct, ett_rs_prop_acct, &uuid_rs_prop_acct, ver_rs_prop_acct, rs_prop_acct_dissectors, hf_rs_prop_acct_opnum);
66 * Editor modelines - https://www.wireshark.org/tools/modelines.html
68 * Local variables:
69 * c-basic-offset: 8
70 * tab-width: 8
71 * indent-tabs-mode: t
72 * End:
74 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
75 * :indentSize=8:tabSize=8:noTabs=false: