Coverage Report

Created: 2026-06-30 07:22

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/wireshark/epan/dissectors/packet-dcerpc-rsec_login.c
Line
Count
Source
1
/* packet-dcerpc-rsec_login.c
2
 *
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
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_rsec_login (void);
22
void proto_reg_handoff_rsec_login (void);
23
24
static int proto_rsec_login;
25
static int hf_rsec_login_opnum;
26
27
static int ett_rsec_login;
28
29
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;
32
33
34
static const dcerpc_sub_dissector rsec_login_dissectors[] = {
35
  { 0, "rsec_login_get_trusted_preauth", NULL, NULL},
36
  { 0, NULL, NULL, NULL }
37
};
38
39
void
40
proto_register_rsec_login (void)
41
14
{
42
14
  static hf_register_info hf[] = {
43
14
    { &hf_rsec_login_opnum,
44
14
    { "Operation", "rsec_login.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}
45
14
  };
46
47
14
  static int *ett[] = {
48
14
    &ett_rsec_login,
49
14
  };
50
14
  proto_rsec_login = proto_register_protocol ("Remote sec_login preauth interface.", "rsec_login", "rsec_login");
51
14
  proto_register_field_array (proto_rsec_login, hf, array_length (hf));
52
14
  proto_register_subtree_array (ett, array_length (ett));
53
14
}
54
55
void
56
proto_reg_handoff_rsec_login (void)
57
14
{
58
  /* Register the protocol as dcerpc */
59
14
  dcerpc_init_uuid (proto_rsec_login, ett_rsec_login, &uuid_rsec_login, ver_rsec_login, rsec_login_dissectors, hf_rsec_login_opnum);
60
14
}
61
62
/*
63
 * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
64
 *
65
 * Local variables:
66
 * c-basic-offset: 8
67
 * tab-width: 8
68
 * indent-tabs-mode: t
69
 * End:
70
 *
71
 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
72
 * :indentSize=8:tabSize=8:noTabs=false:
73
 */