/src/wireshark/epan/dissectors/packet-dcerpc-rs_prop_acl.c
Line | Count | Source |
1 | | /* packet-dcerpc-rs_prop_acl.c |
2 | | * |
3 | | * Routines for rs_prop_acl 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_acl.idl |
7 | | * |
8 | | * Wireshark - Network traffic analyzer |
9 | | * By Gerald Combs <gerald@wireshark.org> |
10 | | * Copyright 1998 Gerald Combs |
11 | | * |
12 | | * SPDX-License-Identifier: GPL-2.0-or-later |
13 | | */ |
14 | | |
15 | | #include "config.h" |
16 | | |
17 | | |
18 | | #include <epan/packet.h> |
19 | | #include "packet-dcerpc.h" |
20 | | |
21 | | void proto_register_rs_prop_acl (void); |
22 | | void proto_reg_handoff_rs_prop_acl (void); |
23 | | |
24 | | static int proto_rs_prop_acl; |
25 | | static int hf_rs_prop_acl_opnum; |
26 | | |
27 | | |
28 | | static int ett_rs_prop_acl; |
29 | | static e_guid_t uuid_rs_prop_acl = |
30 | | { 0x591d87d0, 0xde64, 0x11ca, {0xa1, 0x1c, 0x08, 0x00, 0x1e, 0x03, 0x94, |
31 | | 0xc7} }; |
32 | | |
33 | | static uint16_t ver_rs_prop_acl = 1; |
34 | | |
35 | | |
36 | | static const dcerpc_sub_dissector rs_prop_acl_dissectors[] = { |
37 | | {0, "replace", NULL, NULL}, |
38 | | {0, NULL, NULL, NULL} |
39 | | }; |
40 | | |
41 | | void |
42 | | proto_register_rs_prop_acl (void) |
43 | 16 | { |
44 | 16 | static hf_register_info hf[] = { |
45 | 16 | {&hf_rs_prop_acl_opnum, |
46 | 16 | {"Operation", "rs_prop_acl.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, |
47 | 16 | NULL, HFILL}}, |
48 | 16 | }; |
49 | | |
50 | 16 | static int *ett[] = { |
51 | 16 | &ett_rs_prop_acl, |
52 | 16 | }; |
53 | 16 | proto_rs_prop_acl = |
54 | 16 | proto_register_protocol |
55 | 16 | ("DCE/RPC Registry server propagation interface - ACLs", "rs_prop_acl", |
56 | 16 | "rs_prop_acl"); |
57 | 16 | proto_register_field_array (proto_rs_prop_acl, hf, array_length (hf)); |
58 | 16 | proto_register_subtree_array (ett, array_length (ett)); |
59 | 16 | } |
60 | | |
61 | | void |
62 | | proto_reg_handoff_rs_prop_acl (void) |
63 | 16 | { |
64 | | /* Register the protocol as dcerpc */ |
65 | 16 | dcerpc_init_uuid (proto_rs_prop_acl, ett_rs_prop_acl, &uuid_rs_prop_acl, |
66 | 16 | ver_rs_prop_acl, rs_prop_acl_dissectors, |
67 | 16 | hf_rs_prop_acl_opnum); |
68 | 16 | } |
69 | | |
70 | | /* |
71 | | * Editor modelines - https://www.wireshark.org/tools/modelines.html |
72 | | * |
73 | | * Local Variables: |
74 | | * c-basic-offset: 2 |
75 | | * tab-width: 8 |
76 | | * indent-tabs-mode: nil |
77 | | * End: |
78 | | * |
79 | | * ex: set shiftwidth=2 tabstop=8 expandtab: |
80 | | * :indentSize=2:tabSize=8:noTabs=true: |
81 | | */ |