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
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
}
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
}}
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
));
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
71 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
72 * :indentSize=8:tabSize=8:noTabs=false: