1 /* packet-dcerpc-trksvr.c
2 * Routines for DCERPC Distributed Link tracking Server packet disassembly
3 * Copyright 2003, Ronnie Sahlberg
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25 /* The IDL file for this interface can be extracted by grepping for idl
32 #include <epan/packet.h>
33 #include "packet-dcerpc.h"
34 #include "packet-dcerpc-nt.h"
35 #include "packet-windows-common.h"
37 static int proto_dcerpc_trksvr
= -1;
38 static int hf_trksvr_opnum
= -1;
39 /* static int hf_trksvr_rc = -1; */
41 static gint ett_dcerpc_trksvr
= -1;
44 IDL [ uuid(4da1-943d-11d1-acae-00c0afc2aa3f),
46 IDL implicit_handle(handle_t rpc_binding)
47 IDL ] interface trksvr
50 static e_uuid_t uuid_dcerpc_trksvr
= {
51 0x4da1c422, 0x943d, 0x11d1,
52 { 0xac, 0xae, 0x00, 0xc0, 0x4f, 0xc2, 0xaa, 0x3f }
55 static guint16 ver_dcerpc_trksvr
= 1;
57 static dcerpc_sub_dissector dcerpc_trksvr_dissectors
[] = {
61 {0, NULL
, NULL
, NULL
}
65 proto_register_dcerpc_trksvr(void)
67 static hf_register_info hf
[] = {
69 "Operation", "trksvr.opnum", FT_UINT16
, BASE_DEC
,
70 NULL
, 0x0, NULL
, HFILL
}},
73 "Return code", "trksvr.rc", FT_UINT32
, BASE_HEX
,
74 VALS(NT_errors
), 0x0, "TRKSVR return code", HFILL
}},
78 static gint
*ett
[] = {
82 proto_dcerpc_trksvr
= proto_register_protocol(
83 "Microsoft Distributed Link Tracking Server Service", "TRKSVR", "trksvr");
85 proto_register_field_array(proto_dcerpc_trksvr
, hf
,
88 proto_register_subtree_array(ett
, array_length(ett
));
92 proto_reg_handoff_dcerpc_trksvr(void)
94 /* Register protocol as dcerpc */
96 dcerpc_init_uuid(proto_dcerpc_trksvr
, ett_dcerpc_trksvr
,
97 &uuid_dcerpc_trksvr
, ver_dcerpc_trksvr
,
98 dcerpc_trksvr_dissectors
, hf_trksvr_opnum
);