1 /* packet-dcerpc-rs_repadm.c
3 * Routines for dcerpc Registry server administration operations.
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_repadm.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_rs_repadm (void);
22 void proto_reg_handoff_rs_repadm (void);
24 static int proto_rs_repadm
;
25 static int hf_rs_repadm_opnum
;
28 static int ett_rs_repadm
;
31 static e_guid_t uuid_rs_repadm
= { 0x5b8c2fa8, 0xb60b, 0x11c9, { 0xbe, 0x0f, 0x08, 0x00, 0x1e, 0x01, 0x8f, 0xa0 } };
32 static uint16_t ver_rs_repadm
= 1;
37 static const dcerpc_sub_dissector rs_repadm_dissectors
[] = {
38 { 0, "stop", NULL
, NULL
},
39 { 1, "maint", NULL
, NULL
},
40 { 2, "mkey", NULL
, NULL
},
41 { 3, "info", NULL
, NULL
},
42 { 4, "info_full", NULL
, NULL
},
43 { 5, "destroy", NULL
, NULL
},
44 { 6, "init_replica", NULL
, NULL
},
45 { 7, "change_master", NULL
, NULL
},
46 { 8, "become_master", NULL
, NULL
},
47 { 9, "become_slave", NULL
, NULL
},
48 { 10, "set_sw_rev", NULL
, NULL
},
49 { 11, "get_sw_vers_info", NULL
, NULL
},
50 { 0, NULL
, NULL
, NULL
}
55 proto_register_rs_repadm (void)
57 static hf_register_info hf
[] = {
58 { &hf_rs_repadm_opnum
,
59 { "Operation", "rs_repadm.opnum", FT_UINT16
, BASE_DEC
, NULL
, 0x0, NULL
, HFILL
}}
65 proto_rs_repadm
= proto_register_protocol ("Registry server administration operations.", "RS_REPADM", "rs_repadm");
66 proto_register_field_array (proto_rs_repadm
, hf
, array_length (hf
));
67 proto_register_subtree_array (ett
, array_length (ett
));
71 proto_reg_handoff_rs_repadm (void)
73 /* Register the protocol as dcerpc */
74 dcerpc_init_uuid (proto_rs_repadm
, ett_rs_repadm
, &uuid_rs_repadm
, ver_rs_repadm
, rs_repadm_dissectors
, hf_rs_repadm_opnum
);
78 * Editor modelines - https://www.wireshark.org/tools/modelines.html
86 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
87 * :indentSize=8:tabSize=8:noTabs=false: