2 * This dissector is autogenerated
5 /* packet-dcerpc-butc.c
6 * Routines for BUTC packet disassembly
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
17 #include <epan/packet.h>
19 #include <wsutil/array.h>
20 #include "packet-dcerpc.h"
21 #include "packet-dcerpc-nt.h"
22 #include "packet-windows-common.h"
23 #include "packet-dcerpc-butc.h"
25 void proto_register_butc(void);
26 void proto_reg_handoff_butc(void);
28 static int proto_butc
;
34 butc_dissect_NameString_t(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param _U_
)
36 offset
=dissect_ndr_vstring(tvb
, offset
, pinfo
, tree
, di
, drep
, 1, hf_index
, false, NULL
);
43 proto_register_butc(void)
45 static hf_register_info hf
[] = {
54 proto_butc
= proto_register_protocol("DCE/RPC BUTC", "BUTC", "butc");
55 proto_register_field_array(proto_butc
, hf
, array_length(hf
));
56 proto_register_subtree_array(ett
, array_length(ett
));
59 static const dcerpc_sub_dissector function_dissectors
[] = {
61 { 0, NULL
, NULL
, NULL
},
65 proto_reg_handoff_butc(void)