1 /* packet-dcerpc-cprpc_server.c
2 * Routines for DNS Control Program Server dissection
3 * Copyright 2002, Jaime Fournier <Jaime.Fournier@hush.com>
4 * This information is based off the released idl files from opengroup.
5 * ftp://ftp.opengroup.org/pub/dce122/dce/src/directory.tar.gz directory/cds/stubs/cprpc_server.idl
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * SPDX-License-Identifier: GPL-2.0-or-later
17 #include <epan/packet.h>
18 #include "packet-dcerpc.h"
20 void proto_register_cprpc_server (void);
21 void proto_reg_handoff_cprpc_server (void);
23 static int proto_cprpc_server
;
24 static int hf_cprpc_server_opnum
;
27 static int ett_cprpc_server
;
30 static e_guid_t uuid_cprpc_server
= { 0x4885772c, 0xc6d3, 0x11ca, { 0x84, 0xc6, 0x08, 0x00, 0x2b, 0x1c, 0x8f, 0x1f } };
31 static uint16_t ver_cprpc_server
= 1;
34 static const dcerpc_sub_dissector cprpc_server_dissectors
[] = {
35 { 0, "dnscp_server", NULL
, NULL
},
36 { 0, NULL
, NULL
, NULL
}
40 proto_register_cprpc_server (void)
42 static hf_register_info hf
[] = {
43 { &hf_cprpc_server_opnum
,
44 { "Operation", "cprpc_server.opnum", FT_UINT16
, BASE_DEC
,
45 NULL
, 0x0, NULL
, HFILL
}}
51 proto_cprpc_server
= proto_register_protocol ("DNS Control Program Server", "cprpc_server", "cprpc_server");
52 proto_register_field_array (proto_cprpc_server
, hf
, array_length (hf
));
53 proto_register_subtree_array (ett
, array_length (ett
));
57 proto_reg_handoff_cprpc_server (void)
59 /* Register the protocol as dcerpc */
60 dcerpc_init_uuid (proto_cprpc_server
, ett_cprpc_server
, &uuid_cprpc_server
, ver_cprpc_server
, cprpc_server_dissectors
, hf_cprpc_server_opnum
);
64 * Editor modelines - https://www.wireshark.org/tools/modelines.html
72 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
73 * :indentSize=8:tabSize=8:noTabs=false: