Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-rsec_login.c
blob85e8681c8d37002de16dd0494b5aa35eee02213a
1 /* packet-dcerpc-rsec_login.c
3 * Routines for dcerpc Remote sec_login preauth interface.
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/rsec_login.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_rsec_login (void);
22 void proto_reg_handoff_rsec_login (void);
24 static int proto_rsec_login;
25 static int hf_rsec_login_opnum;
27 static int ett_rsec_login;
30 static e_guid_t uuid_rsec_login = { 0xa76e832a, 0x10df, 0x11cd, { 0x90, 0x56, 0x08, 0x00, 0x09, 0x24, 0x24, 0x44 } };
31 static uint16_t ver_rsec_login = 2;
34 static const dcerpc_sub_dissector rsec_login_dissectors[] = {
35 { 0, "rsec_login_get_trusted_preauth", NULL, NULL},
36 { 0, NULL, NULL, NULL }
39 void
40 proto_register_rsec_login (void)
42 static hf_register_info hf[] = {
43 { &hf_rsec_login_opnum,
44 { "Operation", "rsec_login.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}
47 static int *ett[] = {
48 &ett_rsec_login,
50 proto_rsec_login = proto_register_protocol ("Remote sec_login preauth interface.", "rsec_login", "rsec_login");
51 proto_register_field_array (proto_rsec_login, hf, array_length (hf));
52 proto_register_subtree_array (ett, array_length (ett));
55 void
56 proto_reg_handoff_rsec_login (void)
58 /* Register the protocol as dcerpc */
59 dcerpc_init_uuid (proto_rsec_login, ett_rsec_login, &uuid_rsec_login, ver_rsec_login, rsec_login_dissectors, hf_rsec_login_opnum);
63 * Editor modelines - https://www.wireshark.org/tools/modelines.html
65 * Local variables:
66 * c-basic-offset: 8
67 * tab-width: 8
68 * indent-tabs-mode: t
69 * End:
71 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
72 * :indentSize=8:tabSize=8:noTabs=false: