Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-rs_unix.c
blob9f6ae95fbc5740dc82026777f20bcdf5caab1ded
1 /* packet-dcerpc-rs_unix.c
3 * Routines for dcerpc Unix ops
4 * Copyright 2002, 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_unix.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_unix (void);
22 void proto_reg_handoff_rs_unix (void);
24 static int proto_rs_unix;
25 static int hf_rs_unix_opnum;
27 static int ett_rs_unix;
30 static e_guid_t uuid_rs_unix = { 0x361993c0, 0xb000, 0x0000, { 0x0d, 0x00, 0x00, 0x87, 0x84, 0x00, 0x00, 0x00 } };
31 static uint16_t ver_rs_unix = 1;
34 static const dcerpc_sub_dissector rs_unix_dissectors[] = {
35 { 0, "getpwents", NULL, NULL },
36 { 0, NULL, NULL, NULL },
39 void
40 proto_register_rs_unix (void)
42 static hf_register_info hf[] = {
43 { &hf_rs_unix_opnum,
44 { "Operation", "rs_unix.opnum", FT_UINT16, BASE_DEC,
45 NULL, 0x0, NULL, HFILL }}
48 static int *ett[] = {
49 &ett_rs_unix,
51 proto_rs_unix = proto_register_protocol ("DCE/RPC RS_UNIX", "RS_UNIX", "rs_unix");
52 proto_register_field_array (proto_rs_unix, hf, array_length (hf));
53 proto_register_subtree_array (ett, array_length (ett));
56 void
57 proto_reg_handoff_rs_unix (void)
59 /* Register the protocol as dcerpc */
60 dcerpc_init_uuid (proto_rs_unix, ett_rs_unix, &uuid_rs_unix, ver_rs_unix, rs_unix_dissectors, hf_rs_unix_opnum);
64 * Editor modelines - https://www.wireshark.org/tools/modelines.html
66 * Local variables:
67 * c-basic-offset: 8
68 * tab-width: 8
69 * indent-tabs-mode: t
70 * End:
72 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
73 * :indentSize=8:tabSize=8:noTabs=false: