Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-trksvr.c
blob67aa5ec9cf95921e5db4ea4a3f6f72d0c3343553
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
12 * in capitals.
15 #include "config.h"
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),
31 IDL version(1.0),
32 IDL implicit_handle(handle_t rpc_binding)
33 IDL ] interface trksvr
34 IDL {
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[] = {
44 { 0, "LnkSvrMessage",
45 NULL,
46 NULL },
47 {0, NULL, NULL, NULL }
50 void
51 proto_register_dcerpc_trksvr(void)
53 static hf_register_info hf[] = {
54 { &hf_trksvr_opnum, {
55 "Operation", "trksvr.opnum", FT_UINT16, BASE_DEC,
56 NULL, 0x0, NULL, HFILL }},
57 #if 0
58 { &hf_trksvr_rc, {
59 "Return code", "trksvr.rc", FT_UINT32, BASE_HEX | BASE_EXT_STRING,
60 &NT_errors_ext, 0x0, "TRKSVR return code", HFILL }},
61 #endif
64 static int *ett[] = {
65 &ett_dcerpc_trksvr
68 proto_dcerpc_trksvr = proto_register_protocol("Microsoft Distributed Link Tracking Server Service", "TRKSVR", "trksvr");
70 proto_register_field_array(proto_dcerpc_trksvr, hf,
71 array_length(hf));
73 proto_register_subtree_array(ett, array_length(ett));
76 void
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);
87 * Editor modelines
89 * Local Variables:
90 * c-basic-offset: 8
91 * tab-width: 8
92 * indent-tabs-mode: t
93 * End:
95 * ex: set shiftwidth=8 tabstop=8 noexpandtab:
96 * :indentSize=8:tabSize=8:noTabs=false: