1 /* packet-dcerpc-trksvr.c
2 * Routines for DCERPC Distributed Link tracking Server packet disassembly
3 * Copyright 2003, Ronnie Sahlberg
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
11 /* The IDL file for this interface can be extracted by grepping for idl
17 #include <epan/packet.h>
18 #include "packet-dcerpc.h"
20 void proto_register_dcerpc_trksvr(void);
21 void proto_reg_handoff_dcerpc_trksvr(void);
23 static int proto_dcerpc_trksvr
;
24 static int hf_trksvr_opnum
;
25 /* static int hf_trksvr_rc; */
27 static int ett_dcerpc_trksvr
;
30 IDL [ uuid(4da1-943d-11d1-acae-00c0afc2aa3f),
32 IDL implicit_handle(handle_t rpc_binding)
33 IDL ] interface trksvr
36 static e_guid_t uuid_dcerpc_trksvr
= {
37 0x4da1c422, 0x943d, 0x11d1,
38 { 0xac, 0xae, 0x00, 0xc0, 0x4f, 0xc2, 0xaa, 0x3f }
41 static uint16_t ver_dcerpc_trksvr
= 1;
43 static const dcerpc_sub_dissector dcerpc_trksvr_dissectors
[] = {
47 {0, NULL
, NULL
, NULL
}
51 proto_register_dcerpc_trksvr(void)
53 static hf_register_info hf
[] = {
55 "Operation", "trksvr.opnum", FT_UINT16
, BASE_DEC
,
56 NULL
, 0x0, NULL
, HFILL
}},
59 "Return code", "trksvr.rc", FT_UINT32
, BASE_HEX
| BASE_EXT_STRING
,
60 &NT_errors_ext
, 0x0, "TRKSVR return code", HFILL
}},
68 proto_dcerpc_trksvr
= proto_register_protocol("Microsoft Distributed Link Tracking Server Service", "TRKSVR", "trksvr");
70 proto_register_field_array(proto_dcerpc_trksvr
, hf
,
73 proto_register_subtree_array(ett
, array_length(ett
));
77 proto_reg_handoff_dcerpc_trksvr(void)
79 /* Register protocol as dcerpc */
81 dcerpc_init_uuid(proto_dcerpc_trksvr
, ett_dcerpc_trksvr
,
82 &uuid_dcerpc_trksvr
, ver_dcerpc_trksvr
,
83 dcerpc_trksvr_dissectors
, hf_trksvr_opnum
);
95 * ex: set shiftwidth=8 tabstop=8 noexpandtab:
96 * :indentSize=8:tabSize=8:noTabs=false: