Coverage Report

Created: 2026-01-02 06:13

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/wireshark/epan/dissectors/packet-dcerpc-rs_prop_plcy.c
Line
Count
Source
1
/* packet-dcerpc-rs_prop_plcy.c
2
 *
3
 * Routines for rs_prop_plcy 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_plcy.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_plcy (void);
22
void proto_reg_handoff_rs_prop_plcy (void);
23
24
static int proto_rs_prop_plcy;
25
static int hf_rs_prop_plcy_opnum;
26
27
28
static int ett_rs_prop_plcy;
29
static e_guid_t uuid_rs_prop_plcy =
30
  { 0xe6ac5cb8, 0xde3e, 0x11ca, {0x93, 0x76, 0x08, 0x00, 0x1e, 0x03, 0x94,
31
                                 0xc7} };
32
33
static uint16_t ver_rs_prop_plcy = 1;
34
35
36
static const dcerpc_sub_dissector rs_prop_plcy_dissectors[] = {
37
  {0, "rs_prop_properties_set_info",     NULL, NULL},
38
  {1, "rs_prop_plcy_set_info",           NULL, NULL},
39
  {2, "rs_prop_auth_plcy_set_info",      NULL, NULL},
40
  {3, "rs_prop_plcy_set_dom_cache_info", NULL, NULL},
41
  {0, NULL, NULL, NULL}
42
};
43
44
void
45
proto_register_rs_prop_plcy (void)
46
14
{
47
14
  static hf_register_info hf[] = {
48
14
    {&hf_rs_prop_plcy_opnum,
49
14
     {"Operation", "rs_prop_plcy.opnum", FT_UINT16, BASE_DEC, NULL, 0x0,
50
14
      NULL, HFILL}},
51
14
  };
52
53
14
  static int *ett[] = {
54
14
    &ett_rs_prop_plcy,
55
14
  };
56
14
  proto_rs_prop_plcy =
57
14
    proto_register_protocol
58
14
    ("DCE/RPC Registry server propagation interface - properties and policies",
59
14
     "rs_prop_plcy", "rs_prop_plcy");
60
14
  proto_register_field_array (proto_rs_prop_plcy, hf, array_length (hf));
61
14
  proto_register_subtree_array (ett, array_length (ett));
62
14
}
63
64
void
65
proto_reg_handoff_rs_prop_plcy (void)
66
14
{
67
  /* Register the protocol as dcerpc */
68
14
  dcerpc_init_uuid (proto_rs_prop_plcy, ett_rs_prop_plcy, &uuid_rs_prop_plcy,
69
14
                    ver_rs_prop_plcy, rs_prop_plcy_dissectors,
70
14
                    hf_rs_prop_plcy_opnum);
71
14
}
72
73
/*
74
 * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
75
 *
76
 * Local Variables:
77
 * c-basic-offset: 2
78
 * tab-width: 8
79
 * indent-tabs-mode: nil
80
 * End:
81
 *
82
 * ex: set shiftwidth=2 tabstop=8 expandtab:
83
 * :indentSize=2:tabSize=8:noTabs=true:
84
 */