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
;
31 /* INCLUDED FILE : ETH_HF */
32 static int hf_butc_opnum
;
33 static int hf_butc_rc
;
34 static int hf_butc_Restore_flags_TC_RESTORE_CREATE
;
35 static int hf_butc_Restore_flags_TC_RESTORE_INCR
;
36 static int hf_butc_afsNetAddr_type
;
37 static int hf_butc_afsNetAddr_data
;
38 static int hf_butc_tc_dumpDesc_vid
;
39 static int hf_butc_tc_dumpDesc_name
;
40 static int hf_butc_tc_dumpDesc_partition
;
41 static int hf_butc_tc_dumpDesc_date
;
42 static int hf_butc_tc_dumpDesc_cloneDate
;
43 static int hf_butc_tc_dumpDesc_hostAddr
;
44 static int hf_butc_tc_dumpDesc_spare1
;
45 static int hf_butc_tc_dumpDesc_spare2
;
46 static int hf_butc_tc_dumpDesc_spare3
;
47 static int hf_butc_tc_dumpDesc_spare4
;
48 static int hf_butc_tc_restoreDesc_frag
;
49 static int hf_butc_tc_restoreDesc_tapeName
;
50 static int hf_butc_tc_restoreDesc_position
;
51 static int hf_butc_tc_restoreDesc_origVid
;
52 static int hf_butc_tc_restoreDesc_vid
;
53 static int hf_butc_tc_restoreDesc_partition
;
54 static int hf_butc_tc_restoreDesc_flags
;
55 static int hf_butc_tc_restoreDesc_hostAddr
;
56 static int hf_butc_tc_restoreDesc_realDumpId
;
57 static int hf_butc_tc_restoreDesc_spare2
;
58 static int hf_butc_tc_restoreDesc_spare3
;
59 static int hf_butc_tc_restoreDesc_spare4
;
60 static int hf_butc_tc_restoreDesc_oldName
;
61 static int hf_butc_tc_restoreDesc_newName
;
62 static int hf_butc_tc_dumpStat_dumpID
;
63 static int hf_butc_tc_dumpStat_bytesDumped
;
64 static int hf_butc_tc_dumpStat_volumeBeingDumped
;
65 static int hf_butc_tc_dumpStat_numVolErrs
;
66 static int hf_butc_tc_dumpStat_flags
;
67 static int hf_butc_tc_dumpStat_spare1
;
68 static int hf_butc_tc_dumpStat_spare2
;
69 static int hf_butc_tc_dumpStat_spare3
;
70 static int hf_butc_tc_dumpStat_spare4
;
71 static int hf_butc_tc_tapeLabel_size
;
72 static int hf_butc_tc_tapeLabel_size_ext
;
73 static int hf_butc_tc_tapeLabel_spare1
;
74 static int hf_butc_tc_tapeLabel_spare2
;
75 static int hf_butc_tc_tapeLabel_spare3
;
76 static int hf_butc_tc_tapeLabel_spare4
;
77 static int hf_butc_tc_tapeLabel_nameLen
;
78 static int hf_butc_tc_tapeLabel_name
;
79 static int hf_butc_tc_tapeSet_id
;
80 static int hf_butc_tc_tapeSet_tapeServer
;
81 static int hf_butc_tc_tapeSet_format
;
82 static int hf_butc_tc_tapeSet_maxTapes
;
83 static int hf_butc_tc_tapeSet_a
;
84 static int hf_butc_tc_tapeSet_b
;
85 static int hf_butc_tc_tapeSet_expDate
;
86 static int hf_butc_tc_tapeSet_expType
;
87 static int hf_butc_tc_tapeSet_spare1
;
88 static int hf_butc_tc_tapeSet_spare2
;
89 static int hf_butc_tc_tapeSet_spare3
;
90 static int hf_butc_tc_tapeSet_spare4
;
91 static int hf_butc_tc_tcInfo_tcVersion
;
92 static int hf_butc_tc_tcInfo_spare1
;
93 static int hf_butc_tc_tcInfo_spare2
;
94 static int hf_butc_tc_tcInfo_spare3
;
95 static int hf_butc_tc_tcInfo_spare4
;
96 static int hf_butc_tc_restoreArray_tc_restoreArray_len
;
97 static int hf_butc_tc_restoreArray_tc_restoreArray_val
;
98 static int hf_butc_tc_dumpArray_tc_dumpArray_len
;
99 static int hf_butc_tc_dumpArray_tc_dumpArray
;
100 static int hf_butc_tc_dumpInterface_dumpPath
;
101 static int hf_butc_tc_dumpInterface_volumeSetName
;
102 static int hf_butc_tc_dumpInterface_dumpName
;
103 static int hf_butc_tc_dumpInterface_tapeSet
;
104 static int hf_butc_tc_dumpInterface_parentDumpId
;
105 static int hf_butc_tc_dumpInterface_dumpLevel
;
106 static int hf_butc_tc_dumpInterface_spare1
;
107 static int hf_butc_tc_dumpInterface_spare2
;
108 static int hf_butc_tc_dumpInterface_spare3
;
109 static int hf_butc_tc_dumpInterface_spare4
;
110 static int hf_butc_tc_statusInfoSwitchVol_nKBytes
;
111 static int hf_butc_tc_statusInfoSwitchVol_volumeName
;
112 static int hf_butc_tc_statusInfoSwitchVol_volsFailed
;
113 static int hf_butc_tc_statusInfoSwitchVol_spare1
;
114 static int hf_butc_tc_statusInfoSwitchLabel_tapeLabel
;
115 static int hf_butc_tc_statusInfoSwitchLabel_spare1
;
116 static int hf_butc_tc_statusInfoSwitch_TCOP_NONE_none
;
117 static int hf_butc_tc_statusInfoSwitch_TCOP_DUMP_vol
;
118 static int hf_butc_tc_statusInfoSwitch_TCOP_RESTORE_vol
;
119 static int hf_butc_tc_statusInfoSwitch_TCOP_LABELTAPE_label
;
120 static int hf_butc_tc_statusInfoSwitch_TCOP_READLABEL_label
;
121 static int hf_butc_tc_statusInfoSwitch_TCOP_SCANTAPE_spare1
;
122 static int hf_butc_tc_statusInfoSwitch_TCOP_STATUS_spare2
;
123 static int hf_butc_tc_statusInfoSwitch_TCOP_SAVEDB_spare3
;
124 static int hf_butc_tc_statusInfoSwitch_TCOP_RESTOREDB_spare4
;
125 static int hf_butc_tc_statusInfoSwitch_TCOP_SPARE_spare5
;
126 static int hf_butc_tciStatusS_taskName
;
127 static int hf_butc_tciStatusS_flags
;
128 static int hf_butc_tciStatusS_lastPolled
;
129 static int hf_butc_tciStatusS_info
;
130 static int hf_butc_tciStatusS_taskId
;
131 static int hf_butc_tciStatusS_spare2
;
132 static int hf_butc_tciStatusS_spare3
;
133 static int hf_butc_tciStatusS_spare4
;
134 static int hf_butc_BUTC_PerformDump_tcdiPtr
;
135 static int hf_butc_BUTC_PerformDump_dumps
;
136 static int hf_butc_BUTC_PerformDump_dumpID
;
137 static int hf_butc_BUTC_PerformRestore_dumpSetName
;
138 static int hf_butc_BUTC_PerformRestore_restores
;
139 static int hf_butc_BUTC_PerformRestore_dumpID
;
140 static int hf_butc_BUTC_AbortDump_dumpID
;
141 static int hf_butc_BUTC_LabelTape_label
;
142 static int hf_butc_BUTC_LabelTape_taskId
;
143 static int hf_butc_BUTC_ReadLabel_taskId
;
144 static int hf_butc_BUTC_ScanDumps_addDbFlag
;
145 static int hf_butc_BUTC_ScanDumps_taskId
;
146 static int hf_butc_BUTC_TCInfo_tciptr
;
147 static int hf_butc_BUTC_SaveDb_taskId
;
148 static int hf_butc_BUTC_RestoreDb_taskId
;
149 static int hf_butc_BUTC_EndStatus_taskId
;
150 static int hf_butc_BUTC_GetStatus_taskId
;
151 static int hf_butc_BUTC_GetStatus_statusPtr
;
152 static int hf_butc_BUTC_RequestAbort_taskId
;
153 static int hf_butc_BUTC_ScanStatus_taskId
;
154 static int hf_butc_BUTC_ScanStatus_statusPtr
;
155 static int hf_butc_BUTC_ScanStatus_flags
;
156 /* END OF INCLUDED FILE : ETH_HF */
162 /* INCLUDED FILE : ETH_ETT */
164 static int ett_butc_Restore_flags
;
165 static int ett_butc_afsNetAddr
;
166 static int ett_butc_tc_dumpDesc
;
167 static int ett_butc_tc_restoreDesc
;
168 static int ett_butc_tc_dumpStat
;
169 static int ett_butc_tc_tapeLabel
;
170 static int ett_butc_tc_tapeSet
;
171 static int ett_butc_tc_tcInfo
;
172 static int ett_butc_tc_restoreArray
;
173 static int ett_butc_tc_dumpArray
;
174 static int ett_butc_tc_dumpInterface
;
175 static int ett_butc_tc_statusInfoSwitchVol
;
176 static int ett_butc_tc_statusInfoSwitchLabel
;
177 static int ett_butc_tc_statusInfoSwitch
;
178 static int ett_butc_tciStatusS
;
179 /* END OF INCLUDED FILE : ETH_ETT */
184 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_
)
186 offset
=dissect_ndr_vstring(tvb
, offset
, pinfo
, tree
, di
, drep
, 1, hf_index
, false, NULL
);
192 /* INCLUDED FILE : ETH_CODE */
193 static e_guid_t uuid_dcerpc_butc
= {
194 0x1d193c08, 0x000b, 0x11ca,
195 { 0xba, 0x1d, 0x02, 0x60, 0x8c, 0x2e, 0xa9, 0x6e}
198 static uint16_t ver_butc
= 4;
200 static const true_false_string TC_RESTORE_CREATE_tfs
= {
201 "TC_RESTORE_CREATE is SET",
202 "TC_RESTORE_CREATE is NOT set"
205 static const true_false_string TC_RESTORE_INCR_tfs
= {
206 "TC_RESTORE_INCR is SET",
207 "TC_RESTORE_INCR is NOT set"
212 butc_dissect_Restore_flags(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*parent_tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param _U_
)
214 proto_item
*item
=NULL
;
215 proto_tree
*tree
=NULL
;
221 item
=proto_tree_add_item(parent_tree
, hf_index
, tvb
, offset
, 4, ENC_LITTLE_ENDIAN
);
222 tree
=proto_item_add_subtree(item
, ett_butc_Restore_flags
);
225 offset
=dissect_ndr_uint32(tvb
, offset
, pinfo
, NULL
, di
, drep
, -1, &flags
);
228 proto_tree_add_boolean(tree
, hf_butc_Restore_flags_TC_RESTORE_CREATE
, tvb
, offset
-4, 4, flags
);
229 if(flags
&0x00000001){
230 proto_item_append_text(item
, " TC_RESTORE_CREATE");
232 flags
&=(~0x00000001);
234 proto_tree_add_boolean(tree
, hf_butc_Restore_flags_TC_RESTORE_INCR
, tvb
, offset
-4, 4, flags
);
235 if(flags
&0x00000002){
236 proto_item_append_text(item
, " TC_RESTORE_INCR");
238 flags
&=(~0x00000002);
241 proto_item_append_text(item
, "UNKNOWN-FLAGS");
248 butc_dissect_uint16(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param _U_
)
250 offset
=dissect_ndr_uint16(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_index
, NULL
);
255 butc_dissect_afsNetAddr_type(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
258 offset
=butc_dissect_uint16(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_afsNetAddr_type
, param
);
264 butc_dissect_uint8(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param _U_
)
266 offset
=dissect_ndr_uint8(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_index
, NULL
);
271 butc_dissect_afsNetAddr_data(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
274 offset
=butc_dissect_uint8(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_afsNetAddr_data
, param
);
279 fixedarray_butc_dissect_afsNetAddr_data(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
283 offset
=butc_dissect_afsNetAddr_data(tvb
, offset
, pinfo
, tree
, di
, drep
);
291 butc_dissect_afsNetAddr(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo _U_
, proto_tree
*parent_tree
, dcerpc_info
*di _U_
, uint8_t *drep _U_
, int hf_index
, uint32_t param _U_
)
293 proto_item
*item
=NULL
;
294 proto_tree
*tree
=NULL
;
301 item
=proto_tree_add_item(parent_tree
, hf_index
, tvb
, offset
, -1, ENC_NA
);
302 tree
=proto_item_add_subtree(item
, ett_butc_afsNetAddr
);
305 offset
=butc_dissect_afsNetAddr_type(tvb
, offset
, pinfo
, tree
, di
, drep
);
307 offset
=fixedarray_butc_dissect_afsNetAddr_data(tvb
, offset
, pinfo
, tree
, di
, drep
);
309 proto_item_set_len(item
, offset
-old_offset
);
315 butc_dissect_udlong(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param _U_
)
318 offset
=dissect_ndr_duint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_index
, NULL
);
324 butc_dissect_tc_dumpDesc_vid(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
327 offset
=butc_dissect_udlong(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpDesc_vid
, param
);
332 butc_dissect_tc_dumpDesc_name(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
335 offset
=butc_dissect_NameString_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpDesc_name
, param
);
341 butc_dissect_int32(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param _U_
)
343 offset
=dissect_ndr_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_index
, NULL
);
348 butc_dissect_tc_dumpDesc_partition(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
351 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpDesc_partition
, param
);
357 butc_dissect_time_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_
)
360 offset
=dissect_ndr_time_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_index
, NULL
);
366 butc_dissect_tc_dumpDesc_date(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
369 offset
=butc_dissect_time_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpDesc_date
, param
);
374 butc_dissect_tc_dumpDesc_cloneDate(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
377 offset
=butc_dissect_time_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpDesc_cloneDate
, param
);
382 butc_dissect_tc_dumpDesc_hostAddr(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
385 offset
=butc_dissect_afsNetAddr(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpDesc_hostAddr
, param
);
391 butc_dissect_uint32(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param _U_
)
393 offset
=dissect_ndr_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_index
, NULL
);
398 butc_dissect_tc_dumpDesc_spare1(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
401 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpDesc_spare1
, param
);
406 butc_dissect_tc_dumpDesc_spare2(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
409 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpDesc_spare2
, param
);
414 butc_dissect_tc_dumpDesc_spare3(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
417 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpDesc_spare3
, param
);
422 butc_dissect_tc_dumpDesc_spare4(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
425 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpDesc_spare4
, param
);
431 butc_dissect_tc_dumpDesc(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo _U_
, proto_tree
*parent_tree
, dcerpc_info
*di _U_
, uint8_t *drep _U_
, int hf_index
, uint32_t param _U_
)
433 proto_item
*item
=NULL
;
434 proto_tree
*tree
=NULL
;
441 item
=proto_tree_add_item(parent_tree
, hf_index
, tvb
, offset
, -1, ENC_NA
);
442 tree
=proto_item_add_subtree(item
, ett_butc_tc_dumpDesc
);
445 offset
=butc_dissect_tc_dumpDesc_vid(tvb
, offset
, pinfo
, tree
, di
, drep
);
447 offset
=butc_dissect_tc_dumpDesc_name(tvb
, offset
, pinfo
, tree
, di
, drep
);
449 offset
=butc_dissect_tc_dumpDesc_partition(tvb
, offset
, pinfo
, tree
, di
, drep
);
451 offset
=butc_dissect_tc_dumpDesc_date(tvb
, offset
, pinfo
, tree
, di
, drep
);
453 offset
=butc_dissect_tc_dumpDesc_cloneDate(tvb
, offset
, pinfo
, tree
, di
, drep
);
455 offset
=butc_dissect_tc_dumpDesc_hostAddr(tvb
, offset
, pinfo
, tree
, di
, drep
);
457 offset
=butc_dissect_tc_dumpDesc_spare1(tvb
, offset
, pinfo
, tree
, di
, drep
);
459 offset
=butc_dissect_tc_dumpDesc_spare2(tvb
, offset
, pinfo
, tree
, di
, drep
);
461 offset
=butc_dissect_tc_dumpDesc_spare3(tvb
, offset
, pinfo
, tree
, di
, drep
);
463 offset
=butc_dissect_tc_dumpDesc_spare4(tvb
, offset
, pinfo
, tree
, di
, drep
);
465 proto_item_set_len(item
, offset
-old_offset
);
470 butc_dissect_tc_restoreDesc_frag(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
473 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreDesc_frag
, param
);
478 butc_dissect_tc_restoreDesc_tapeName(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
481 offset
=butc_dissect_NameString_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreDesc_tapeName
, param
);
486 butc_dissect_tc_restoreDesc_position(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
489 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreDesc_position
, param
);
494 butc_dissect_tc_restoreDesc_origVid(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
497 offset
=butc_dissect_udlong(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreDesc_origVid
, param
);
502 butc_dissect_tc_restoreDesc_vid(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
505 offset
=butc_dissect_udlong(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreDesc_vid
, param
);
510 butc_dissect_tc_restoreDesc_partition(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
513 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreDesc_partition
, param
);
518 butc_dissect_tc_restoreDesc_flags(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
521 offset
=butc_dissect_Restore_flags(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreDesc_flags
, param
);
526 butc_dissect_tc_restoreDesc_hostAddr(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
529 offset
=butc_dissect_afsNetAddr(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreDesc_hostAddr
, param
);
534 butc_dissect_tc_restoreDesc_realDumpId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
537 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreDesc_realDumpId
, param
);
542 butc_dissect_tc_restoreDesc_spare2(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
545 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreDesc_spare2
, param
);
550 butc_dissect_tc_restoreDesc_spare3(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
553 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreDesc_spare3
, param
);
558 butc_dissect_tc_restoreDesc_spare4(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
561 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreDesc_spare4
, param
);
566 butc_dissect_tc_restoreDesc_oldName(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
569 offset
=butc_dissect_NameString_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreDesc_oldName
, param
);
574 butc_dissect_tc_restoreDesc_newName(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
577 offset
=butc_dissect_NameString_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreDesc_newName
, param
);
583 butc_dissect_tc_restoreDesc(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo _U_
, proto_tree
*parent_tree
, dcerpc_info
*di _U_
, uint8_t *drep _U_
, int hf_index
, uint32_t param _U_
)
585 proto_item
*item
=NULL
;
586 proto_tree
*tree
=NULL
;
593 item
=proto_tree_add_item(parent_tree
, hf_index
, tvb
, offset
, -1, ENC_NA
);
594 tree
=proto_item_add_subtree(item
, ett_butc_tc_restoreDesc
);
597 offset
=butc_dissect_tc_restoreDesc_frag(tvb
, offset
, pinfo
, tree
, di
, drep
);
599 offset
=butc_dissect_tc_restoreDesc_tapeName(tvb
, offset
, pinfo
, tree
, di
, drep
);
601 offset
=butc_dissect_tc_restoreDesc_position(tvb
, offset
, pinfo
, tree
, di
, drep
);
603 offset
=butc_dissect_tc_restoreDesc_origVid(tvb
, offset
, pinfo
, tree
, di
, drep
);
605 offset
=butc_dissect_tc_restoreDesc_vid(tvb
, offset
, pinfo
, tree
, di
, drep
);
607 offset
=butc_dissect_tc_restoreDesc_partition(tvb
, offset
, pinfo
, tree
, di
, drep
);
609 offset
=butc_dissect_tc_restoreDesc_flags(tvb
, offset
, pinfo
, tree
, di
, drep
);
611 offset
=butc_dissect_tc_restoreDesc_hostAddr(tvb
, offset
, pinfo
, tree
, di
, drep
);
613 offset
=butc_dissect_tc_restoreDesc_realDumpId(tvb
, offset
, pinfo
, tree
, di
, drep
);
615 offset
=butc_dissect_tc_restoreDesc_spare2(tvb
, offset
, pinfo
, tree
, di
, drep
);
617 offset
=butc_dissect_tc_restoreDesc_spare3(tvb
, offset
, pinfo
, tree
, di
, drep
);
619 offset
=butc_dissect_tc_restoreDesc_spare4(tvb
, offset
, pinfo
, tree
, di
, drep
);
621 offset
=butc_dissect_tc_restoreDesc_oldName(tvb
, offset
, pinfo
, tree
, di
, drep
);
623 offset
=butc_dissect_tc_restoreDesc_newName(tvb
, offset
, pinfo
, tree
, di
, drep
);
625 proto_item_set_len(item
, offset
-old_offset
);
630 butc_dissect_tc_dumpStat_dumpID(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
633 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpStat_dumpID
, param
);
638 butc_dissect_tc_dumpStat_bytesDumped(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
641 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpStat_bytesDumped
, param
);
646 butc_dissect_tc_dumpStat_volumeBeingDumped(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
649 offset
=butc_dissect_udlong(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpStat_volumeBeingDumped
, param
);
654 butc_dissect_tc_dumpStat_numVolErrs(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
657 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpStat_numVolErrs
, param
);
662 butc_dissect_tc_dumpStat_flags(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
665 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpStat_flags
, param
);
670 butc_dissect_tc_dumpStat_spare1(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
673 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpStat_spare1
, param
);
678 butc_dissect_tc_dumpStat_spare2(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
681 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpStat_spare2
, param
);
686 butc_dissect_tc_dumpStat_spare3(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
689 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpStat_spare3
, param
);
694 butc_dissect_tc_dumpStat_spare4(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
697 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpStat_spare4
, param
);
703 butc_dissect_tc_dumpStat(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo _U_
, proto_tree
*parent_tree
, dcerpc_info
*di _U_
, uint8_t *drep _U_
, int hf_index
, uint32_t param _U_
)
705 proto_item
*item
=NULL
;
706 proto_tree
*tree
=NULL
;
713 item
=proto_tree_add_item(parent_tree
, hf_index
, tvb
, offset
, -1, ENC_NA
);
714 tree
=proto_item_add_subtree(item
, ett_butc_tc_dumpStat
);
717 offset
=butc_dissect_tc_dumpStat_dumpID(tvb
, offset
, pinfo
, tree
, di
, drep
);
719 offset
=butc_dissect_tc_dumpStat_bytesDumped(tvb
, offset
, pinfo
, tree
, di
, drep
);
721 offset
=butc_dissect_tc_dumpStat_volumeBeingDumped(tvb
, offset
, pinfo
, tree
, di
, drep
);
723 offset
=butc_dissect_tc_dumpStat_numVolErrs(tvb
, offset
, pinfo
, tree
, di
, drep
);
725 offset
=butc_dissect_tc_dumpStat_flags(tvb
, offset
, pinfo
, tree
, di
, drep
);
727 offset
=butc_dissect_tc_dumpStat_spare1(tvb
, offset
, pinfo
, tree
, di
, drep
);
729 offset
=butc_dissect_tc_dumpStat_spare2(tvb
, offset
, pinfo
, tree
, di
, drep
);
731 offset
=butc_dissect_tc_dumpStat_spare3(tvb
, offset
, pinfo
, tree
, di
, drep
);
733 offset
=butc_dissect_tc_dumpStat_spare4(tvb
, offset
, pinfo
, tree
, di
, drep
);
735 proto_item_set_len(item
, offset
-old_offset
);
740 butc_dissect_tc_tapeLabel_size(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
743 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeLabel_size
, param
);
748 butc_dissect_tc_tapeLabel_size_ext(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
751 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeLabel_size_ext
, param
);
756 butc_dissect_tc_tapeLabel_spare1(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
759 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeLabel_spare1
, param
);
764 butc_dissect_tc_tapeLabel_spare2(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
767 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeLabel_spare2
, param
);
772 butc_dissect_tc_tapeLabel_spare3(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
775 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeLabel_spare3
, param
);
780 butc_dissect_tc_tapeLabel_spare4(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
783 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeLabel_spare4
, param
);
788 butc_dissect_tc_tapeLabel_nameLen(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
791 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeLabel_nameLen
, param
);
796 butc_dissect_tc_tapeLabel_name(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
799 offset
=butc_dissect_NameString_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeLabel_name
, param
);
805 butc_dissect_tc_tapeLabel(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo _U_
, proto_tree
*parent_tree
, dcerpc_info
*di _U_
, uint8_t *drep _U_
, int hf_index
, uint32_t param _U_
)
807 proto_item
*item
=NULL
;
808 proto_tree
*tree
=NULL
;
815 item
=proto_tree_add_item(parent_tree
, hf_index
, tvb
, offset
, -1, ENC_NA
);
816 tree
=proto_item_add_subtree(item
, ett_butc_tc_tapeLabel
);
819 offset
=butc_dissect_tc_tapeLabel_size(tvb
, offset
, pinfo
, tree
, di
, drep
);
821 offset
=butc_dissect_tc_tapeLabel_size_ext(tvb
, offset
, pinfo
, tree
, di
, drep
);
823 offset
=butc_dissect_tc_tapeLabel_spare1(tvb
, offset
, pinfo
, tree
, di
, drep
);
825 offset
=butc_dissect_tc_tapeLabel_spare2(tvb
, offset
, pinfo
, tree
, di
, drep
);
827 offset
=butc_dissect_tc_tapeLabel_spare3(tvb
, offset
, pinfo
, tree
, di
, drep
);
829 offset
=butc_dissect_tc_tapeLabel_spare4(tvb
, offset
, pinfo
, tree
, di
, drep
);
831 offset
=butc_dissect_tc_tapeLabel_nameLen(tvb
, offset
, pinfo
, tree
, di
, drep
);
833 offset
=butc_dissect_tc_tapeLabel_name(tvb
, offset
, pinfo
, tree
, di
, drep
);
835 proto_item_set_len(item
, offset
-old_offset
);
840 butc_dissect_tc_tapeSet_id(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
843 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeSet_id
, param
);
848 butc_dissect_tc_tapeSet_tapeServer(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
851 offset
=butc_dissect_NameString_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeSet_tapeServer
, param
);
856 butc_dissect_tc_tapeSet_format(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
859 offset
=butc_dissect_NameString_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeSet_format
, param
);
864 butc_dissect_tc_tapeSet_maxTapes(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
867 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeSet_maxTapes
, param
);
872 butc_dissect_tc_tapeSet_a(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
875 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeSet_a
, param
);
880 butc_dissect_tc_tapeSet_b(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
883 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeSet_b
, param
);
888 butc_dissect_tc_tapeSet_expDate(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
891 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeSet_expDate
, param
);
896 butc_dissect_tc_tapeSet_expType(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
899 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeSet_expType
, param
);
904 butc_dissect_tc_tapeSet_spare1(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
907 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeSet_spare1
, param
);
912 butc_dissect_tc_tapeSet_spare2(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
915 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeSet_spare2
, param
);
920 butc_dissect_tc_tapeSet_spare3(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
923 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeSet_spare3
, param
);
928 butc_dissect_tc_tapeSet_spare4(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
931 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tapeSet_spare4
, param
);
937 butc_dissect_tc_tapeSet(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo _U_
, proto_tree
*parent_tree
, dcerpc_info
*di _U_
, uint8_t *drep _U_
, int hf_index
, uint32_t param _U_
)
939 proto_item
*item
=NULL
;
940 proto_tree
*tree
=NULL
;
947 item
=proto_tree_add_item(parent_tree
, hf_index
, tvb
, offset
, -1, ENC_NA
);
948 tree
=proto_item_add_subtree(item
, ett_butc_tc_tapeSet
);
951 offset
=butc_dissect_tc_tapeSet_id(tvb
, offset
, pinfo
, tree
, di
, drep
);
953 offset
=butc_dissect_tc_tapeSet_tapeServer(tvb
, offset
, pinfo
, tree
, di
, drep
);
955 offset
=butc_dissect_tc_tapeSet_format(tvb
, offset
, pinfo
, tree
, di
, drep
);
957 offset
=butc_dissect_tc_tapeSet_maxTapes(tvb
, offset
, pinfo
, tree
, di
, drep
);
959 offset
=butc_dissect_tc_tapeSet_a(tvb
, offset
, pinfo
, tree
, di
, drep
);
961 offset
=butc_dissect_tc_tapeSet_b(tvb
, offset
, pinfo
, tree
, di
, drep
);
963 offset
=butc_dissect_tc_tapeSet_expDate(tvb
, offset
, pinfo
, tree
, di
, drep
);
965 offset
=butc_dissect_tc_tapeSet_expType(tvb
, offset
, pinfo
, tree
, di
, drep
);
967 offset
=butc_dissect_tc_tapeSet_spare1(tvb
, offset
, pinfo
, tree
, di
, drep
);
969 offset
=butc_dissect_tc_tapeSet_spare2(tvb
, offset
, pinfo
, tree
, di
, drep
);
971 offset
=butc_dissect_tc_tapeSet_spare3(tvb
, offset
, pinfo
, tree
, di
, drep
);
973 offset
=butc_dissect_tc_tapeSet_spare4(tvb
, offset
, pinfo
, tree
, di
, drep
);
975 proto_item_set_len(item
, offset
-old_offset
);
980 butc_dissect_tc_tcInfo_tcVersion(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
983 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tcInfo_tcVersion
, param
);
988 butc_dissect_tc_tcInfo_spare1(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
991 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tcInfo_spare1
, param
);
996 butc_dissect_tc_tcInfo_spare2(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
999 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tcInfo_spare2
, param
);
1004 butc_dissect_tc_tcInfo_spare3(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1007 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tcInfo_spare3
, param
);
1012 butc_dissect_tc_tcInfo_spare4(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1015 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_tcInfo_spare4
, param
);
1021 butc_dissect_tc_tcInfo(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo _U_
, proto_tree
*parent_tree
, dcerpc_info
*di _U_
, uint8_t *drep _U_
, int hf_index
, uint32_t param _U_
)
1023 proto_item
*item
=NULL
;
1024 proto_tree
*tree
=NULL
;
1031 item
=proto_tree_add_item(parent_tree
, hf_index
, tvb
, offset
, -1, ENC_NA
);
1032 tree
=proto_item_add_subtree(item
, ett_butc_tc_tcInfo
);
1035 offset
=butc_dissect_tc_tcInfo_tcVersion(tvb
, offset
, pinfo
, tree
, di
, drep
);
1037 offset
=butc_dissect_tc_tcInfo_spare1(tvb
, offset
, pinfo
, tree
, di
, drep
);
1039 offset
=butc_dissect_tc_tcInfo_spare2(tvb
, offset
, pinfo
, tree
, di
, drep
);
1041 offset
=butc_dissect_tc_tcInfo_spare3(tvb
, offset
, pinfo
, tree
, di
, drep
);
1043 offset
=butc_dissect_tc_tcInfo_spare4(tvb
, offset
, pinfo
, tree
, di
, drep
);
1045 proto_item_set_len(item
, offset
-old_offset
);
1050 butc_dissect_tc_restoreArray_tc_restoreArray_len(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1053 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreArray_tc_restoreArray_len
, param
);
1058 butc_dissect_tc_restoreArray_tc_restoreArray_val(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1061 offset
=butc_dissect_tc_restoreDesc(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_restoreArray_tc_restoreArray_val
, param
);
1066 ptr_butc_dissect_tc_restoreArray_tc_restoreArray_val(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1068 offset
=dissect_ndr_embedded_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_tc_restoreArray_tc_restoreArray_val
, NDR_POINTER_PTR
, "tc_restoreArray_val", -1);
1073 ucarray_ptr_butc_dissect_tc_restoreArray_tc_restoreArray_val(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1075 offset
=dissect_ndr_ucarray(tvb
, offset
, pinfo
, tree
, di
, drep
, ptr_butc_dissect_tc_restoreArray_tc_restoreArray_val
);
1081 butc_dissect_tc_restoreArray(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo _U_
, proto_tree
*parent_tree
, dcerpc_info
*di _U_
, uint8_t *drep _U_
, int hf_index
, uint32_t param _U_
)
1083 proto_item
*item
=NULL
;
1084 proto_tree
*tree
=NULL
;
1091 item
=proto_tree_add_item(parent_tree
, hf_index
, tvb
, offset
, -1, ENC_NA
);
1092 tree
=proto_item_add_subtree(item
, ett_butc_tc_restoreArray
);
1095 offset
=butc_dissect_tc_restoreArray_tc_restoreArray_len(tvb
, offset
, pinfo
, tree
, di
, drep
);
1097 offset
=ucarray_ptr_butc_dissect_tc_restoreArray_tc_restoreArray_val(tvb
, offset
, pinfo
, tree
, di
, drep
);
1099 proto_item_set_len(item
, offset
-old_offset
);
1104 butc_dissect_tc_dumpArray_tc_dumpArray_len(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1107 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpArray_tc_dumpArray_len
, param
);
1112 butc_dissect_tc_dumpArray_tc_dumpArray(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1115 offset
=butc_dissect_tc_dumpDesc(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpArray_tc_dumpArray
, param
);
1120 ptr_butc_dissect_tc_dumpArray_tc_dumpArray(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1122 offset
=dissect_ndr_embedded_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_tc_dumpArray_tc_dumpArray
, NDR_POINTER_PTR
, "tc_dumpArray", -1);
1127 ucarray_ptr_butc_dissect_tc_dumpArray_tc_dumpArray(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1129 offset
=dissect_ndr_ucarray(tvb
, offset
, pinfo
, tree
, di
, drep
, ptr_butc_dissect_tc_dumpArray_tc_dumpArray
);
1135 butc_dissect_tc_dumpArray(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo _U_
, proto_tree
*parent_tree
, dcerpc_info
*di _U_
, uint8_t *drep _U_
, int hf_index
, uint32_t param _U_
)
1137 proto_item
*item
=NULL
;
1138 proto_tree
*tree
=NULL
;
1145 item
=proto_tree_add_item(parent_tree
, hf_index
, tvb
, offset
, -1, ENC_NA
);
1146 tree
=proto_item_add_subtree(item
, ett_butc_tc_dumpArray
);
1149 offset
=butc_dissect_tc_dumpArray_tc_dumpArray_len(tvb
, offset
, pinfo
, tree
, di
, drep
);
1151 offset
=ucarray_ptr_butc_dissect_tc_dumpArray_tc_dumpArray(tvb
, offset
, pinfo
, tree
, di
, drep
);
1153 proto_item_set_len(item
, offset
-old_offset
);
1158 butc_dissect_tc_dumpInterface_dumpPath(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1161 offset
=butc_dissect_NameString_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpInterface_dumpPath
, param
);
1166 butc_dissect_tc_dumpInterface_volumeSetName(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1169 offset
=butc_dissect_NameString_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpInterface_volumeSetName
, param
);
1174 butc_dissect_tc_dumpInterface_dumpName(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1177 offset
=butc_dissect_NameString_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpInterface_dumpName
, param
);
1182 butc_dissect_tc_dumpInterface_tapeSet(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1185 offset
=butc_dissect_tc_tapeSet(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpInterface_tapeSet
, param
);
1190 butc_dissect_tc_dumpInterface_parentDumpId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1193 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpInterface_parentDumpId
, param
);
1198 butc_dissect_tc_dumpInterface_dumpLevel(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1201 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpInterface_dumpLevel
, param
);
1206 butc_dissect_tc_dumpInterface_spare1(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1209 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpInterface_spare1
, param
);
1214 butc_dissect_tc_dumpInterface_spare2(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1217 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpInterface_spare2
, param
);
1222 butc_dissect_tc_dumpInterface_spare3(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1225 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpInterface_spare3
, param
);
1230 butc_dissect_tc_dumpInterface_spare4(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1233 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_dumpInterface_spare4
, param
);
1239 butc_dissect_tc_dumpInterface(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo _U_
, proto_tree
*parent_tree
, dcerpc_info
*di _U_
, uint8_t *drep _U_
, int hf_index
, uint32_t param _U_
)
1241 proto_item
*item
=NULL
;
1242 proto_tree
*tree
=NULL
;
1249 item
=proto_tree_add_item(parent_tree
, hf_index
, tvb
, offset
, -1, ENC_NA
);
1250 tree
=proto_item_add_subtree(item
, ett_butc_tc_dumpInterface
);
1253 offset
=butc_dissect_tc_dumpInterface_dumpPath(tvb
, offset
, pinfo
, tree
, di
, drep
);
1255 offset
=butc_dissect_tc_dumpInterface_volumeSetName(tvb
, offset
, pinfo
, tree
, di
, drep
);
1257 offset
=butc_dissect_tc_dumpInterface_dumpName(tvb
, offset
, pinfo
, tree
, di
, drep
);
1259 offset
=butc_dissect_tc_dumpInterface_tapeSet(tvb
, offset
, pinfo
, tree
, di
, drep
);
1261 offset
=butc_dissect_tc_dumpInterface_parentDumpId(tvb
, offset
, pinfo
, tree
, di
, drep
);
1263 offset
=butc_dissect_tc_dumpInterface_dumpLevel(tvb
, offset
, pinfo
, tree
, di
, drep
);
1265 offset
=butc_dissect_tc_dumpInterface_spare1(tvb
, offset
, pinfo
, tree
, di
, drep
);
1267 offset
=butc_dissect_tc_dumpInterface_spare2(tvb
, offset
, pinfo
, tree
, di
, drep
);
1269 offset
=butc_dissect_tc_dumpInterface_spare3(tvb
, offset
, pinfo
, tree
, di
, drep
);
1271 offset
=butc_dissect_tc_dumpInterface_spare4(tvb
, offset
, pinfo
, tree
, di
, drep
);
1273 proto_item_set_len(item
, offset
-old_offset
);
1278 butc_dissect_tc_statusInfoSwitchVol_nKBytes(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1281 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitchVol_nKBytes
, param
);
1286 butc_dissect_tc_statusInfoSwitchVol_volumeName(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1289 offset
=butc_dissect_NameString_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitchVol_volumeName
, param
);
1294 butc_dissect_tc_statusInfoSwitchVol_volsFailed(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1297 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitchVol_volsFailed
, param
);
1302 butc_dissect_tc_statusInfoSwitchVol_spare1(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1305 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitchVol_spare1
, param
);
1311 butc_dissect_tc_statusInfoSwitchVol(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo _U_
, proto_tree
*parent_tree
, dcerpc_info
*di _U_
, uint8_t *drep _U_
, int hf_index
, uint32_t param _U_
)
1313 proto_item
*item
=NULL
;
1314 proto_tree
*tree
=NULL
;
1321 item
=proto_tree_add_item(parent_tree
, hf_index
, tvb
, offset
, -1, ENC_NA
);
1322 tree
=proto_item_add_subtree(item
, ett_butc_tc_statusInfoSwitchVol
);
1325 offset
=butc_dissect_tc_statusInfoSwitchVol_nKBytes(tvb
, offset
, pinfo
, tree
, di
, drep
);
1327 offset
=butc_dissect_tc_statusInfoSwitchVol_volumeName(tvb
, offset
, pinfo
, tree
, di
, drep
);
1329 offset
=butc_dissect_tc_statusInfoSwitchVol_volsFailed(tvb
, offset
, pinfo
, tree
, di
, drep
);
1331 offset
=butc_dissect_tc_statusInfoSwitchVol_spare1(tvb
, offset
, pinfo
, tree
, di
, drep
);
1333 proto_item_set_len(item
, offset
-old_offset
);
1338 butc_dissect_tc_statusInfoSwitchLabel_tapeLabel(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1341 offset
=butc_dissect_tc_tapeLabel(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitchLabel_tapeLabel
, param
);
1346 butc_dissect_tc_statusInfoSwitchLabel_spare1(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1349 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitchLabel_spare1
, param
);
1355 butc_dissect_tc_statusInfoSwitchLabel(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo _U_
, proto_tree
*parent_tree
, dcerpc_info
*di _U_
, uint8_t *drep _U_
, int hf_index
, uint32_t param _U_
)
1357 proto_item
*item
=NULL
;
1358 proto_tree
*tree
=NULL
;
1365 item
=proto_tree_add_item(parent_tree
, hf_index
, tvb
, offset
, -1, ENC_NA
);
1366 tree
=proto_item_add_subtree(item
, ett_butc_tc_statusInfoSwitchLabel
);
1369 offset
=butc_dissect_tc_statusInfoSwitchLabel_tapeLabel(tvb
, offset
, pinfo
, tree
, di
, drep
);
1371 offset
=butc_dissect_tc_statusInfoSwitchLabel_spare1(tvb
, offset
, pinfo
, tree
, di
, drep
);
1373 proto_item_set_len(item
, offset
-old_offset
);
1378 butc_dissect_union_tc_statusInfoSwitch_TCOP_NONE_none(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1381 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitch_TCOP_NONE_none
, param
);
1386 butc_dissect_union_tc_statusInfoSwitch_TCOP_DUMP_vol(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1389 offset
=butc_dissect_tc_statusInfoSwitchVol(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitch_TCOP_DUMP_vol
, param
);
1394 butc_dissect_union_tc_statusInfoSwitch_TCOP_RESTORE_vol(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1397 offset
=butc_dissect_tc_statusInfoSwitchVol(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitch_TCOP_RESTORE_vol
, param
);
1402 butc_dissect_union_tc_statusInfoSwitch_TCOP_LABELTAPE_label(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1405 offset
=butc_dissect_tc_statusInfoSwitchLabel(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitch_TCOP_LABELTAPE_label
, param
);
1410 butc_dissect_union_tc_statusInfoSwitch_TCOP_READLABEL_label(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1413 offset
=butc_dissect_tc_statusInfoSwitchLabel(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitch_TCOP_READLABEL_label
, param
);
1418 butc_dissect_union_tc_statusInfoSwitch_TCOP_SCANTAPE_spare1(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1421 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitch_TCOP_SCANTAPE_spare1
, param
);
1426 butc_dissect_union_tc_statusInfoSwitch_TCOP_STATUS_spare2(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1429 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitch_TCOP_STATUS_spare2
, param
);
1434 butc_dissect_union_tc_statusInfoSwitch_TCOP_SAVEDB_spare3(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1437 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitch_TCOP_SAVEDB_spare3
, param
);
1442 butc_dissect_union_tc_statusInfoSwitch_TCOP_RESTOREDB_spare4(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1445 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitch_TCOP_RESTOREDB_spare4
, param
);
1450 butc_dissect_union_tc_statusInfoSwitch_TCOP_SPARE_spare5(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1453 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tc_statusInfoSwitch_TCOP_SPARE_spare5
, param
);
1459 butc_dissect_union_tc_statusInfoSwitch(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*parent_tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param _U_
)
1461 proto_item
*item
=NULL
;
1462 proto_tree
*tree
=NULL
;
1470 tree
=proto_tree_add_subtree(parent_tree
, tvb
, offset
, -1, ett_butc_tc_statusInfoSwitch
, &item
, "tc_statusInfoSwitch");
1473 offset
=dissect_ndr_uint32(tvb
, offset
, pinfo
, tree
,
1474 di
, drep
, hf_index
, &level
);
1479 offset
=butc_dissect_union_tc_statusInfoSwitch_TCOP_NONE_none(tvb
, offset
, pinfo
, tree
, di
, drep
);
1484 offset
=butc_dissect_union_tc_statusInfoSwitch_TCOP_DUMP_vol(tvb
, offset
, pinfo
, tree
, di
, drep
);
1489 offset
=butc_dissect_union_tc_statusInfoSwitch_TCOP_RESTORE_vol(tvb
, offset
, pinfo
, tree
, di
, drep
);
1492 case TCOP_LABELTAPE
:
1494 offset
=butc_dissect_union_tc_statusInfoSwitch_TCOP_LABELTAPE_label(tvb
, offset
, pinfo
, tree
, di
, drep
);
1497 case TCOP_READLABEL
:
1499 offset
=butc_dissect_union_tc_statusInfoSwitch_TCOP_READLABEL_label(tvb
, offset
, pinfo
, tree
, di
, drep
);
1504 offset
=butc_dissect_union_tc_statusInfoSwitch_TCOP_SCANTAPE_spare1(tvb
, offset
, pinfo
, tree
, di
, drep
);
1509 offset
=butc_dissect_union_tc_statusInfoSwitch_TCOP_STATUS_spare2(tvb
, offset
, pinfo
, tree
, di
, drep
);
1514 offset
=butc_dissect_union_tc_statusInfoSwitch_TCOP_SAVEDB_spare3(tvb
, offset
, pinfo
, tree
, di
, drep
);
1517 case TCOP_RESTOREDB
:
1519 offset
=butc_dissect_union_tc_statusInfoSwitch_TCOP_RESTOREDB_spare4(tvb
, offset
, pinfo
, tree
, di
, drep
);
1524 offset
=butc_dissect_union_tc_statusInfoSwitch_TCOP_SPARE_spare5(tvb
, offset
, pinfo
, tree
, di
, drep
);
1529 proto_item_set_len(item
, offset
-old_offset
);
1534 butc_dissect_tciStatusS_taskName(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1537 offset
=butc_dissect_NameString_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tciStatusS_taskName
, param
);
1542 butc_dissect_tciStatusS_flags(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1545 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tciStatusS_flags
, param
);
1550 butc_dissect_tciStatusS_lastPolled(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1553 offset
=butc_dissect_time_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tciStatusS_lastPolled
, param
);
1558 butc_dissect_tciStatusS_info(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1561 offset
=butc_dissect_union_tc_statusInfoSwitch(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tciStatusS_info
, param
);
1566 butc_dissect_tciStatusS_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1569 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tciStatusS_taskId
, param
);
1574 butc_dissect_tciStatusS_spare2(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1577 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tciStatusS_spare2
, param
);
1582 butc_dissect_tciStatusS_spare3(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1585 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tciStatusS_spare3
, param
);
1590 butc_dissect_tciStatusS_spare4(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1593 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_tciStatusS_spare4
, param
);
1599 butc_dissect_tciStatusS(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo _U_
, proto_tree
*parent_tree
, dcerpc_info
*di _U_
, uint8_t *drep _U_
, int hf_index
, uint32_t param _U_
)
1601 proto_item
*item
=NULL
;
1602 proto_tree
*tree
=NULL
;
1609 item
=proto_tree_add_item(parent_tree
, hf_index
, tvb
, offset
, -1, ENC_NA
);
1610 tree
=proto_item_add_subtree(item
, ett_butc_tciStatusS
);
1613 offset
=butc_dissect_tciStatusS_taskName(tvb
, offset
, pinfo
, tree
, di
, drep
);
1615 offset
=butc_dissect_tciStatusS_flags(tvb
, offset
, pinfo
, tree
, di
, drep
);
1617 offset
=butc_dissect_tciStatusS_lastPolled(tvb
, offset
, pinfo
, tree
, di
, drep
);
1619 offset
=butc_dissect_tciStatusS_info(tvb
, offset
, pinfo
, tree
, di
, drep
);
1621 offset
=butc_dissect_tciStatusS_taskId(tvb
, offset
, pinfo
, tree
, di
, drep
);
1623 offset
=butc_dissect_tciStatusS_spare2(tvb
, offset
, pinfo
, tree
, di
, drep
);
1625 offset
=butc_dissect_tciStatusS_spare3(tvb
, offset
, pinfo
, tree
, di
, drep
);
1627 offset
=butc_dissect_tciStatusS_spare4(tvb
, offset
, pinfo
, tree
, di
, drep
);
1629 proto_item_set_len(item
, offset
-old_offset
);
1634 butc_dissect_BUTC_PerformDump_tcdiPtr(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1637 offset
=butc_dissect_tc_dumpInterface(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_PerformDump_tcdiPtr
, param
);
1642 ref_butc_dissect_BUTC_PerformDump_tcdiPtr(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1644 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_PerformDump_tcdiPtr
, NDR_POINTER_REF
, "tcdiPtr", -1);
1649 butc_dissect_BUTC_PerformDump_dumps(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1652 offset
=butc_dissect_tc_dumpArray(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_PerformDump_dumps
, param
);
1657 ref_butc_dissect_BUTC_PerformDump_dumps(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1659 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_PerformDump_dumps
, NDR_POINTER_REF
, "dumps", -1);
1664 butc_dissect_BUTC_PerformDump_dumpID(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1667 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_PerformDump_dumpID
, param
);
1672 ref_butc_dissect_BUTC_PerformDump_dumpID(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1674 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_PerformDump_dumpID
, NDR_POINTER_REF
, "dumpID", -1);
1680 butc_dissect_BUTC_PerformDump_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1682 offset
=ref_butc_dissect_BUTC_PerformDump_tcdiPtr(tvb
, offset
, pinfo
, tree
, di
, drep
);
1683 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
1685 offset
=ref_butc_dissect_BUTC_PerformDump_dumps(tvb
, offset
, pinfo
, tree
, di
, drep
);
1686 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
1693 butc_dissect_BUTC_PerformDump_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1695 offset
=ref_butc_dissect_BUTC_PerformDump_dumpID(tvb
, offset
, pinfo
, tree
, di
, drep
);
1696 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
1698 offset
=dissect_ntstatus(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_rc
, NULL
);
1704 butc_dissect_BUTC_PerformRestore_dumpSetName(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1707 offset
=butc_dissect_NameString_t(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_PerformRestore_dumpSetName
, param
);
1712 ptr_butc_dissect_BUTC_PerformRestore_dumpSetName(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1714 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_PerformRestore_dumpSetName
, NDR_POINTER_PTR
, "dumpSetName", -1);
1719 butc_dissect_BUTC_PerformRestore_restores(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1722 offset
=butc_dissect_tc_restoreArray(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_PerformRestore_restores
, param
);
1727 ref_butc_dissect_BUTC_PerformRestore_restores(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1729 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_PerformRestore_restores
, NDR_POINTER_REF
, "restores", -1);
1734 butc_dissect_BUTC_PerformRestore_dumpID(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1737 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_PerformRestore_dumpID
, param
);
1742 ref_butc_dissect_BUTC_PerformRestore_dumpID(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1744 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_PerformRestore_dumpID
, NDR_POINTER_REF
, "dumpID", -1);
1750 butc_dissect_BUTC_PerformRestore_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1752 offset
=ptr_butc_dissect_BUTC_PerformRestore_dumpSetName(tvb
, offset
, pinfo
, tree
, di
, drep
);
1753 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
1755 offset
=ref_butc_dissect_BUTC_PerformRestore_restores(tvb
, offset
, pinfo
, tree
, di
, drep
);
1756 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
1763 butc_dissect_BUTC_PerformRestore_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1765 offset
=ref_butc_dissect_BUTC_PerformRestore_dumpID(tvb
, offset
, pinfo
, tree
, di
, drep
);
1766 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
1768 offset
=dissect_ntstatus(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_rc
, NULL
);
1774 butc_dissect_BUTC_AbortDump_dumpID(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1777 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_AbortDump_dumpID
, param
);
1783 butc_dissect_BUTC_AbortDump_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1785 offset
=butc_dissect_BUTC_AbortDump_dumpID(tvb
, offset
, pinfo
, tree
, di
, drep
);
1786 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
1793 butc_dissect_BUTC_AbortDump_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1795 offset
=dissect_ntstatus(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_rc
, NULL
);
1801 butc_dissect_BUTC_LabelTape_label(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1804 offset
=butc_dissect_tc_tapeLabel(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_LabelTape_label
, param
);
1809 ref_butc_dissect_BUTC_LabelTape_label(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1811 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_LabelTape_label
, NDR_POINTER_REF
, "label", -1);
1816 butc_dissect_BUTC_LabelTape_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1819 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_LabelTape_taskId
, param
);
1824 ref_butc_dissect_BUTC_LabelTape_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1826 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_LabelTape_taskId
, NDR_POINTER_REF
, "taskId", -1);
1832 butc_dissect_BUTC_LabelTape_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1834 offset
=ref_butc_dissect_BUTC_LabelTape_label(tvb
, offset
, pinfo
, tree
, di
, drep
);
1835 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
1842 butc_dissect_BUTC_LabelTape_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1844 offset
=ref_butc_dissect_BUTC_LabelTape_taskId(tvb
, offset
, pinfo
, tree
, di
, drep
);
1845 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
1847 offset
=dissect_ntstatus(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_rc
, NULL
);
1853 butc_dissect_BUTC_ReadLabel_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1856 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_ReadLabel_taskId
, param
);
1861 ref_butc_dissect_BUTC_ReadLabel_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1863 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_ReadLabel_taskId
, NDR_POINTER_REF
, "taskId", -1);
1869 butc_dissect_BUTC_ReadLabel_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1876 butc_dissect_BUTC_ReadLabel_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1878 offset
=ref_butc_dissect_BUTC_ReadLabel_taskId(tvb
, offset
, pinfo
, tree
, di
, drep
);
1879 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
1881 offset
=dissect_ntstatus(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_rc
, NULL
);
1887 butc_dissect_BUTC_ScanDumps_addDbFlag(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1890 offset
=butc_dissect_int32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_ScanDumps_addDbFlag
, param
);
1895 butc_dissect_BUTC_ScanDumps_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1898 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_ScanDumps_taskId
, param
);
1903 ref_butc_dissect_BUTC_ScanDumps_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1905 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_ScanDumps_taskId
, NDR_POINTER_REF
, "taskId", -1);
1911 butc_dissect_BUTC_ScanDumps_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1913 offset
=butc_dissect_BUTC_ScanDumps_addDbFlag(tvb
, offset
, pinfo
, tree
, di
, drep
);
1914 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
1921 butc_dissect_BUTC_ScanDumps_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1923 offset
=ref_butc_dissect_BUTC_ScanDumps_taskId(tvb
, offset
, pinfo
, tree
, di
, drep
);
1924 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
1926 offset
=dissect_ntstatus(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_rc
, NULL
);
1932 butc_dissect_BUTC_TCInfo_tciptr(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1935 offset
=butc_dissect_tc_tcInfo(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_TCInfo_tciptr
, param
);
1940 ref_butc_dissect_BUTC_TCInfo_tciptr(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1942 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_TCInfo_tciptr
, NDR_POINTER_REF
, "tciptr", -1);
1948 butc_dissect_BUTC_TCInfo_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1955 butc_dissect_BUTC_TCInfo_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1957 offset
=ref_butc_dissect_BUTC_TCInfo_tciptr(tvb
, offset
, pinfo
, tree
, di
, drep
);
1958 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
1960 offset
=dissect_ntstatus(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_rc
, NULL
);
1966 butc_dissect_BUTC_SaveDb_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1969 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_SaveDb_taskId
, param
);
1974 ref_butc_dissect_BUTC_SaveDb_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
1976 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_SaveDb_taskId
, NDR_POINTER_REF
, "taskId", -1);
1982 butc_dissect_BUTC_SaveDb_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1989 butc_dissect_BUTC_SaveDb_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
1991 offset
=ref_butc_dissect_BUTC_SaveDb_taskId(tvb
, offset
, pinfo
, tree
, di
, drep
);
1992 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
1994 offset
=dissect_ntstatus(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_rc
, NULL
);
2000 butc_dissect_BUTC_RestoreDb_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
2003 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_RestoreDb_taskId
, param
);
2008 ref_butc_dissect_BUTC_RestoreDb_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
2010 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_RestoreDb_taskId
, NDR_POINTER_REF
, "taskId", -1);
2016 butc_dissect_BUTC_RestoreDb_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
2023 butc_dissect_BUTC_RestoreDb_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
2025 offset
=ref_butc_dissect_BUTC_RestoreDb_taskId(tvb
, offset
, pinfo
, tree
, di
, drep
);
2026 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
2028 offset
=dissect_ntstatus(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_rc
, NULL
);
2034 butc_dissect_BUTC_EndStatus_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
2037 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_EndStatus_taskId
, param
);
2043 butc_dissect_BUTC_EndStatus_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
2045 offset
=butc_dissect_BUTC_EndStatus_taskId(tvb
, offset
, pinfo
, tree
, di
, drep
);
2046 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
2053 butc_dissect_BUTC_EndStatus_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
2055 offset
=dissect_ntstatus(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_rc
, NULL
);
2061 butc_dissect_BUTC_GetStatus_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
2064 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_GetStatus_taskId
, param
);
2069 butc_dissect_BUTC_GetStatus_statusPtr(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
2072 offset
=butc_dissect_tciStatusS(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_GetStatus_statusPtr
, param
);
2077 ref_butc_dissect_BUTC_GetStatus_statusPtr(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
2079 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_GetStatus_statusPtr
, NDR_POINTER_REF
, "statusPtr", -1);
2085 butc_dissect_BUTC_GetStatus_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
2087 offset
=butc_dissect_BUTC_GetStatus_taskId(tvb
, offset
, pinfo
, tree
, di
, drep
);
2088 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
2095 butc_dissect_BUTC_GetStatus_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
2097 offset
=ref_butc_dissect_BUTC_GetStatus_statusPtr(tvb
, offset
, pinfo
, tree
, di
, drep
);
2098 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
2100 offset
=dissect_ntstatus(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_rc
, NULL
);
2106 butc_dissect_BUTC_RequestAbort_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
2109 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_RequestAbort_taskId
, param
);
2115 butc_dissect_BUTC_RequestAbort_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
2117 offset
=butc_dissect_BUTC_RequestAbort_taskId(tvb
, offset
, pinfo
, tree
, di
, drep
);
2118 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
2125 butc_dissect_BUTC_RequestAbort_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
2127 offset
=dissect_ntstatus(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_rc
, NULL
);
2133 butc_dissect_BUTC_ScanStatus_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
2136 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_ScanStatus_taskId
, param
);
2141 ref_butc_dissect_BUTC_ScanStatus_taskId(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
2143 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_ScanStatus_taskId
, NDR_POINTER_REF
, "taskId", -1);
2148 butc_dissect_BUTC_ScanStatus_statusPtr(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
2151 offset
=butc_dissect_tciStatusS(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_ScanStatus_statusPtr
, param
);
2156 ref_butc_dissect_BUTC_ScanStatus_statusPtr(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
2158 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_ScanStatus_statusPtr
, NDR_POINTER_REF
, "statusPtr", -1);
2163 butc_dissect_BUTC_ScanStatus_flags(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
2166 offset
=butc_dissect_uint32(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_BUTC_ScanStatus_flags
, param
);
2171 ref_butc_dissect_BUTC_ScanStatus_flags(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
)
2173 offset
=dissect_ndr_toplevel_pointer(tvb
, offset
, pinfo
, tree
, di
, drep
, butc_dissect_BUTC_ScanStatus_flags
, NDR_POINTER_REF
, "flags", -1);
2179 butc_dissect_BUTC_ScanStatus_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
2181 offset
=ref_butc_dissect_BUTC_ScanStatus_taskId(tvb
, offset
, pinfo
, tree
, di
, drep
);
2182 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
2184 offset
=ref_butc_dissect_BUTC_ScanStatus_flags(tvb
, offset
, pinfo
, tree
, di
, drep
);
2185 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
2192 butc_dissect_BUTC_ScanStatus_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
2194 offset
=ref_butc_dissect_BUTC_ScanStatus_taskId(tvb
, offset
, pinfo
, tree
, di
, drep
);
2195 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
2197 offset
=ref_butc_dissect_BUTC_ScanStatus_statusPtr(tvb
, offset
, pinfo
, tree
, di
, drep
);
2198 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
2200 offset
=ref_butc_dissect_BUTC_ScanStatus_flags(tvb
, offset
, pinfo
, tree
, di
, drep
);
2201 offset
=dissect_deferred_pointers(pinfo
, tvb
, offset
, di
, drep
);
2203 offset
=dissect_ntstatus(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_rc
, NULL
);
2210 butc_dissect_BUTC_GetServerInterfaces_request(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
2217 butc_dissect_BUTC_GetServerInterfaces_response(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, uint8_t *drep _U_
)
2219 offset
=dissect_ntstatus(tvb
, offset
, pinfo
, tree
, di
, drep
, hf_butc_rc
, NULL
);
2224 /* END OF INCLUDED FILE : ETH_CODE */
2229 proto_register_butc(void)
2231 static hf_register_info hf
[] = {
2235 /* INCLUDED FILE : ETH_HFARR */
2237 { "Operation", "butc.opnum", FT_UINT16
, BASE_DEC
,
2242 { "Return code", "butc.rc", FT_UINT32
, BASE_HEX
|BASE_EXT_STRING
,
2246 { &hf_butc_Restore_flags_TC_RESTORE_CREATE
,
2247 { "TC_RESTORE_CREATE", "butc.Restore_flags.TC_RESTORE_CREATE", FT_BOOLEAN
, 32,
2248 TFS(&TC_RESTORE_CREATE_tfs
), 0x00000001,
2251 { &hf_butc_Restore_flags_TC_RESTORE_INCR
,
2252 { "TC_RESTORE_INCR", "butc.Restore_flags.TC_RESTORE_INCR", FT_BOOLEAN
, 32,
2253 TFS(&TC_RESTORE_INCR_tfs
), 0x00000002,
2256 { &hf_butc_afsNetAddr_type
,
2257 { "type", "butc.afsNetAddr.type", FT_UINT16
, BASE_DEC
,
2261 { &hf_butc_afsNetAddr_data
,
2262 { "data", "butc.afsNetAddr.data", FT_UINT8
, BASE_DEC
,
2266 { &hf_butc_tc_dumpDesc_vid
,
2267 { "vid", "butc.tc_dumpDesc.vid", FT_UINT64
, BASE_DEC
,
2271 { &hf_butc_tc_dumpDesc_name
,
2272 { "name", "butc.tc_dumpDesc.name", FT_STRING
, BASE_NONE
,
2276 { &hf_butc_tc_dumpDesc_partition
,
2277 { "partition", "butc.tc_dumpDesc.partition", FT_INT32
, BASE_DEC
,
2281 { &hf_butc_tc_dumpDesc_date
,
2282 { "date", "butc.tc_dumpDesc.date", FT_ABSOLUTE_TIME
, ABSOLUTE_TIME_LOCAL
,
2286 { &hf_butc_tc_dumpDesc_cloneDate
,
2287 { "cloneDate", "butc.tc_dumpDesc.cloneDate", FT_ABSOLUTE_TIME
, ABSOLUTE_TIME_LOCAL
,
2291 { &hf_butc_tc_dumpDesc_hostAddr
,
2292 { "hostAddr", "butc.tc_dumpDesc.hostAddr", FT_NONE
, BASE_NONE
,
2296 { &hf_butc_tc_dumpDesc_spare1
,
2297 { "spare1", "butc.tc_dumpDesc.spare1", FT_UINT32
, BASE_DEC
,
2301 { &hf_butc_tc_dumpDesc_spare2
,
2302 { "spare2", "butc.tc_dumpDesc.spare2", FT_UINT32
, BASE_DEC
,
2306 { &hf_butc_tc_dumpDesc_spare3
,
2307 { "spare3", "butc.tc_dumpDesc.spare3", FT_UINT32
, BASE_DEC
,
2311 { &hf_butc_tc_dumpDesc_spare4
,
2312 { "spare4", "butc.tc_dumpDesc.spare4", FT_UINT32
, BASE_DEC
,
2316 { &hf_butc_tc_restoreDesc_frag
,
2317 { "frag", "butc.tc_restoreDesc.frag", FT_INT32
, BASE_DEC
,
2321 { &hf_butc_tc_restoreDesc_tapeName
,
2322 { "tapeName", "butc.tc_restoreDesc.tapeName", FT_STRING
, BASE_NONE
,
2326 { &hf_butc_tc_restoreDesc_position
,
2327 { "position", "butc.tc_restoreDesc.position", FT_INT32
, BASE_DEC
,
2331 { &hf_butc_tc_restoreDesc_origVid
,
2332 { "origVid", "butc.tc_restoreDesc.origVid", FT_UINT64
, BASE_DEC
,
2336 { &hf_butc_tc_restoreDesc_vid
,
2337 { "vid", "butc.tc_restoreDesc.vid", FT_UINT64
, BASE_DEC
,
2341 { &hf_butc_tc_restoreDesc_partition
,
2342 { "partition", "butc.tc_restoreDesc.partition", FT_INT32
, BASE_DEC
,
2346 { &hf_butc_tc_restoreDesc_flags
,
2347 { "flags", "butc.tc_restoreDesc.flags", FT_UINT32
, BASE_HEX
,
2351 { &hf_butc_tc_restoreDesc_hostAddr
,
2352 { "hostAddr", "butc.tc_restoreDesc.hostAddr", FT_NONE
, BASE_NONE
,
2356 { &hf_butc_tc_restoreDesc_realDumpId
,
2357 { "realDumpId", "butc.tc_restoreDesc.realDumpId", FT_UINT32
, BASE_DEC
,
2361 { &hf_butc_tc_restoreDesc_spare2
,
2362 { "spare2", "butc.tc_restoreDesc.spare2", FT_UINT32
, BASE_DEC
,
2366 { &hf_butc_tc_restoreDesc_spare3
,
2367 { "spare3", "butc.tc_restoreDesc.spare3", FT_UINT32
, BASE_DEC
,
2371 { &hf_butc_tc_restoreDesc_spare4
,
2372 { "spare4", "butc.tc_restoreDesc.spare4", FT_UINT32
, BASE_DEC
,
2376 { &hf_butc_tc_restoreDesc_oldName
,
2377 { "oldName", "butc.tc_restoreDesc.oldName", FT_STRING
, BASE_NONE
,
2381 { &hf_butc_tc_restoreDesc_newName
,
2382 { "newName", "butc.tc_restoreDesc.newName", FT_STRING
, BASE_NONE
,
2386 { &hf_butc_tc_dumpStat_dumpID
,
2387 { "dumpID", "butc.tc_dumpStat.dumpID", FT_INT32
, BASE_DEC
,
2391 { &hf_butc_tc_dumpStat_bytesDumped
,
2392 { "bytesDumped", "butc.tc_dumpStat.bytesDumped", FT_INT32
, BASE_DEC
,
2396 { &hf_butc_tc_dumpStat_volumeBeingDumped
,
2397 { "volumeBeingDumped", "butc.tc_dumpStat.volumeBeingDumped", FT_UINT64
, BASE_DEC
,
2401 { &hf_butc_tc_dumpStat_numVolErrs
,
2402 { "numVolErrs", "butc.tc_dumpStat.numVolErrs", FT_INT32
, BASE_DEC
,
2406 { &hf_butc_tc_dumpStat_flags
,
2407 { "flags", "butc.tc_dumpStat.flags", FT_INT32
, BASE_DEC
,
2411 { &hf_butc_tc_dumpStat_spare1
,
2412 { "spare1", "butc.tc_dumpStat.spare1", FT_UINT32
, BASE_DEC
,
2416 { &hf_butc_tc_dumpStat_spare2
,
2417 { "spare2", "butc.tc_dumpStat.spare2", FT_UINT32
, BASE_DEC
,
2421 { &hf_butc_tc_dumpStat_spare3
,
2422 { "spare3", "butc.tc_dumpStat.spare3", FT_UINT32
, BASE_DEC
,
2426 { &hf_butc_tc_dumpStat_spare4
,
2427 { "spare4", "butc.tc_dumpStat.spare4", FT_UINT32
, BASE_DEC
,
2431 { &hf_butc_tc_tapeLabel_size
,
2432 { "size", "butc.tc_tapeLabel.size", FT_UINT32
, BASE_DEC
,
2436 { &hf_butc_tc_tapeLabel_size_ext
,
2437 { "size_ext", "butc.tc_tapeLabel.size_ext", FT_UINT32
, BASE_DEC
,
2441 { &hf_butc_tc_tapeLabel_spare1
,
2442 { "spare1", "butc.tc_tapeLabel.spare1", FT_UINT32
, BASE_DEC
,
2446 { &hf_butc_tc_tapeLabel_spare2
,
2447 { "spare2", "butc.tc_tapeLabel.spare2", FT_UINT32
, BASE_DEC
,
2451 { &hf_butc_tc_tapeLabel_spare3
,
2452 { "spare3", "butc.tc_tapeLabel.spare3", FT_UINT32
, BASE_DEC
,
2456 { &hf_butc_tc_tapeLabel_spare4
,
2457 { "spare4", "butc.tc_tapeLabel.spare4", FT_UINT32
, BASE_DEC
,
2461 { &hf_butc_tc_tapeLabel_nameLen
,
2462 { "nameLen", "butc.tc_tapeLabel.nameLen", FT_UINT32
, BASE_DEC
,
2466 { &hf_butc_tc_tapeLabel_name
,
2467 { "name", "butc.tc_tapeLabel.name", FT_STRING
, BASE_NONE
,
2471 { &hf_butc_tc_tapeSet_id
,
2472 { "id", "butc.tc_tapeSet.id", FT_INT32
, BASE_DEC
,
2476 { &hf_butc_tc_tapeSet_tapeServer
,
2477 { "tapeServer", "butc.tc_tapeSet.tapeServer", FT_STRING
, BASE_NONE
,
2481 { &hf_butc_tc_tapeSet_format
,
2482 { "format", "butc.tc_tapeSet.format", FT_STRING
, BASE_NONE
,
2486 { &hf_butc_tc_tapeSet_maxTapes
,
2487 { "maxTapes", "butc.tc_tapeSet.maxTapes", FT_INT32
, BASE_DEC
,
2491 { &hf_butc_tc_tapeSet_a
,
2492 { "a", "butc.tc_tapeSet.a", FT_INT32
, BASE_DEC
,
2496 { &hf_butc_tc_tapeSet_b
,
2497 { "b", "butc.tc_tapeSet.b", FT_INT32
, BASE_DEC
,
2501 { &hf_butc_tc_tapeSet_expDate
,
2502 { "expDate", "butc.tc_tapeSet.expDate", FT_INT32
, BASE_DEC
,
2506 { &hf_butc_tc_tapeSet_expType
,
2507 { "expType", "butc.tc_tapeSet.expType", FT_INT32
, BASE_DEC
,
2511 { &hf_butc_tc_tapeSet_spare1
,
2512 { "spare1", "butc.tc_tapeSet.spare1", FT_UINT32
, BASE_DEC
,
2516 { &hf_butc_tc_tapeSet_spare2
,
2517 { "spare2", "butc.tc_tapeSet.spare2", FT_UINT32
, BASE_DEC
,
2521 { &hf_butc_tc_tapeSet_spare3
,
2522 { "spare3", "butc.tc_tapeSet.spare3", FT_UINT32
, BASE_DEC
,
2526 { &hf_butc_tc_tapeSet_spare4
,
2527 { "spare4", "butc.tc_tapeSet.spare4", FT_UINT32
, BASE_DEC
,
2531 { &hf_butc_tc_tcInfo_tcVersion
,
2532 { "tcVersion", "butc.tc_tcInfo.tcVersion", FT_INT32
, BASE_DEC
,
2536 { &hf_butc_tc_tcInfo_spare1
,
2537 { "spare1", "butc.tc_tcInfo.spare1", FT_UINT32
, BASE_DEC
,
2541 { &hf_butc_tc_tcInfo_spare2
,
2542 { "spare2", "butc.tc_tcInfo.spare2", FT_UINT32
, BASE_DEC
,
2546 { &hf_butc_tc_tcInfo_spare3
,
2547 { "spare3", "butc.tc_tcInfo.spare3", FT_UINT32
, BASE_DEC
,
2551 { &hf_butc_tc_tcInfo_spare4
,
2552 { "spare4", "butc.tc_tcInfo.spare4", FT_UINT32
, BASE_DEC
,
2556 { &hf_butc_tc_restoreArray_tc_restoreArray_len
,
2557 { "tc_restoreArray_len", "butc.tc_restoreArray.tc_restoreArray_len", FT_UINT32
, BASE_DEC
,
2561 { &hf_butc_tc_restoreArray_tc_restoreArray_val
,
2562 { "tc_restoreArray_val", "butc.tc_restoreArray.tc_restoreArray_val", FT_NONE
, BASE_NONE
,
2566 { &hf_butc_tc_dumpArray_tc_dumpArray_len
,
2567 { "tc_dumpArray_len", "butc.tc_dumpArray.tc_dumpArray_len", FT_UINT32
, BASE_DEC
,
2571 { &hf_butc_tc_dumpArray_tc_dumpArray
,
2572 { "tc_dumpArray", "butc.tc_dumpArray.tc_dumpArray", FT_NONE
, BASE_NONE
,
2576 { &hf_butc_tc_dumpInterface_dumpPath
,
2577 { "dumpPath", "butc.tc_dumpInterface.dumpPath", FT_STRING
, BASE_NONE
,
2581 { &hf_butc_tc_dumpInterface_volumeSetName
,
2582 { "volumeSetName", "butc.tc_dumpInterface.volumeSetName", FT_STRING
, BASE_NONE
,
2586 { &hf_butc_tc_dumpInterface_dumpName
,
2587 { "dumpName", "butc.tc_dumpInterface.dumpName", FT_STRING
, BASE_NONE
,
2591 { &hf_butc_tc_dumpInterface_tapeSet
,
2592 { "tapeSet", "butc.tc_dumpInterface.tapeSet", FT_NONE
, BASE_NONE
,
2596 { &hf_butc_tc_dumpInterface_parentDumpId
,
2597 { "parentDumpId", "butc.tc_dumpInterface.parentDumpId", FT_INT32
, BASE_DEC
,
2601 { &hf_butc_tc_dumpInterface_dumpLevel
,
2602 { "dumpLevel", "butc.tc_dumpInterface.dumpLevel", FT_INT32
, BASE_DEC
,
2606 { &hf_butc_tc_dumpInterface_spare1
,
2607 { "spare1", "butc.tc_dumpInterface.spare1", FT_UINT32
, BASE_DEC
,
2611 { &hf_butc_tc_dumpInterface_spare2
,
2612 { "spare2", "butc.tc_dumpInterface.spare2", FT_UINT32
, BASE_DEC
,
2616 { &hf_butc_tc_dumpInterface_spare3
,
2617 { "spare3", "butc.tc_dumpInterface.spare3", FT_UINT32
, BASE_DEC
,
2621 { &hf_butc_tc_dumpInterface_spare4
,
2622 { "spare4", "butc.tc_dumpInterface.spare4", FT_UINT32
, BASE_DEC
,
2626 { &hf_butc_tc_statusInfoSwitchVol_nKBytes
,
2627 { "nKBytes", "butc.tc_statusInfoSwitchVol.nKBytes", FT_UINT32
, BASE_DEC
,
2631 { &hf_butc_tc_statusInfoSwitchVol_volumeName
,
2632 { "volumeName", "butc.tc_statusInfoSwitchVol.volumeName", FT_STRING
, BASE_NONE
,
2636 { &hf_butc_tc_statusInfoSwitchVol_volsFailed
,
2637 { "volsFailed", "butc.tc_statusInfoSwitchVol.volsFailed", FT_INT32
, BASE_DEC
,
2641 { &hf_butc_tc_statusInfoSwitchVol_spare1
,
2642 { "spare1", "butc.tc_statusInfoSwitchVol.spare1", FT_UINT32
, BASE_DEC
,
2646 { &hf_butc_tc_statusInfoSwitchLabel_tapeLabel
,
2647 { "tapeLabel", "butc.tc_statusInfoSwitchLabel.tapeLabel", FT_NONE
, BASE_NONE
,
2651 { &hf_butc_tc_statusInfoSwitchLabel_spare1
,
2652 { "spare1", "butc.tc_statusInfoSwitchLabel.spare1", FT_UINT32
, BASE_DEC
,
2656 { &hf_butc_tc_statusInfoSwitch_TCOP_NONE_none
,
2657 { "none", "butc.tc_statusInfoSwitch.none", FT_UINT32
, BASE_DEC
,
2661 { &hf_butc_tc_statusInfoSwitch_TCOP_DUMP_vol
,
2662 { "vol", "butc.tc_statusInfoSwitch.vol", FT_NONE
, BASE_NONE
,
2666 { &hf_butc_tc_statusInfoSwitch_TCOP_RESTORE_vol
,
2667 { "vol", "butc.tc_statusInfoSwitch.vol", FT_NONE
, BASE_NONE
,
2671 { &hf_butc_tc_statusInfoSwitch_TCOP_LABELTAPE_label
,
2672 { "label", "butc.tc_statusInfoSwitch.label", FT_NONE
, BASE_NONE
,
2676 { &hf_butc_tc_statusInfoSwitch_TCOP_READLABEL_label
,
2677 { "label", "butc.tc_statusInfoSwitch.label", FT_NONE
, BASE_NONE
,
2681 { &hf_butc_tc_statusInfoSwitch_TCOP_SCANTAPE_spare1
,
2682 { "spare1", "butc.tc_statusInfoSwitch.spare1", FT_UINT32
, BASE_DEC
,
2686 { &hf_butc_tc_statusInfoSwitch_TCOP_STATUS_spare2
,
2687 { "spare2", "butc.tc_statusInfoSwitch.spare2", FT_UINT32
, BASE_DEC
,
2691 { &hf_butc_tc_statusInfoSwitch_TCOP_SAVEDB_spare3
,
2692 { "spare3", "butc.tc_statusInfoSwitch.spare3", FT_UINT32
, BASE_DEC
,
2696 { &hf_butc_tc_statusInfoSwitch_TCOP_RESTOREDB_spare4
,
2697 { "spare4", "butc.tc_statusInfoSwitch.spare4", FT_UINT32
, BASE_DEC
,
2701 { &hf_butc_tc_statusInfoSwitch_TCOP_SPARE_spare5
,
2702 { "spare5", "butc.tc_statusInfoSwitch.spare5", FT_UINT32
, BASE_DEC
,
2706 { &hf_butc_tciStatusS_taskName
,
2707 { "taskName", "butc.tciStatusS.taskName", FT_STRING
, BASE_NONE
,
2711 { &hf_butc_tciStatusS_flags
,
2712 { "flags", "butc.tciStatusS.flags", FT_UINT32
, BASE_DEC
,
2716 { &hf_butc_tciStatusS_lastPolled
,
2717 { "lastPolled", "butc.tciStatusS.lastPolled", FT_ABSOLUTE_TIME
, ABSOLUTE_TIME_LOCAL
,
2721 { &hf_butc_tciStatusS_info
,
2722 { "info", "butc.tciStatusS.info", FT_UINT32
, BASE_DEC
,
2726 { &hf_butc_tciStatusS_taskId
,
2727 { "taskId", "butc.tciStatusS.taskId", FT_UINT32
, BASE_DEC
,
2731 { &hf_butc_tciStatusS_spare2
,
2732 { "spare2", "butc.tciStatusS.spare2", FT_UINT32
, BASE_DEC
,
2736 { &hf_butc_tciStatusS_spare3
,
2737 { "spare3", "butc.tciStatusS.spare3", FT_UINT32
, BASE_DEC
,
2741 { &hf_butc_tciStatusS_spare4
,
2742 { "spare4", "butc.tciStatusS.spare4", FT_UINT32
, BASE_DEC
,
2746 { &hf_butc_BUTC_PerformDump_tcdiPtr
,
2747 { "tcdiPtr", "butc.BUTC_PerformDump.tcdiPtr", FT_NONE
, BASE_NONE
,
2751 { &hf_butc_BUTC_PerformDump_dumps
,
2752 { "dumps", "butc.BUTC_PerformDump.dumps", FT_NONE
, BASE_NONE
,
2756 { &hf_butc_BUTC_PerformDump_dumpID
,
2757 { "dumpID", "butc.BUTC_PerformDump.dumpID", FT_INT32
, BASE_DEC
,
2761 { &hf_butc_BUTC_PerformRestore_dumpSetName
,
2762 { "dumpSetName", "butc.BUTC_PerformRestore.dumpSetName", FT_STRING
, BASE_NONE
,
2766 { &hf_butc_BUTC_PerformRestore_restores
,
2767 { "restores", "butc.BUTC_PerformRestore.restores", FT_NONE
, BASE_NONE
,
2771 { &hf_butc_BUTC_PerformRestore_dumpID
,
2772 { "dumpID", "butc.BUTC_PerformRestore.dumpID", FT_INT32
, BASE_DEC
,
2776 { &hf_butc_BUTC_AbortDump_dumpID
,
2777 { "dumpID", "butc.BUTC_AbortDump.dumpID", FT_INT32
, BASE_DEC
,
2781 { &hf_butc_BUTC_LabelTape_label
,
2782 { "label", "butc.BUTC_LabelTape.label", FT_NONE
, BASE_NONE
,
2786 { &hf_butc_BUTC_LabelTape_taskId
,
2787 { "taskId", "butc.BUTC_LabelTape.taskId", FT_UINT32
, BASE_DEC
,
2791 { &hf_butc_BUTC_ReadLabel_taskId
,
2792 { "taskId", "butc.BUTC_ReadLabel.taskId", FT_UINT32
, BASE_DEC
,
2796 { &hf_butc_BUTC_ScanDumps_addDbFlag
,
2797 { "addDbFlag", "butc.BUTC_ScanDumps.addDbFlag", FT_INT32
, BASE_DEC
,
2801 { &hf_butc_BUTC_ScanDumps_taskId
,
2802 { "taskId", "butc.BUTC_ScanDumps.taskId", FT_UINT32
, BASE_DEC
,
2806 { &hf_butc_BUTC_TCInfo_tciptr
,
2807 { "tciptr", "butc.BUTC_TCInfo.tciptr", FT_NONE
, BASE_NONE
,
2811 { &hf_butc_BUTC_SaveDb_taskId
,
2812 { "taskId", "butc.BUTC_SaveDb.taskId", FT_UINT32
, BASE_DEC
,
2816 { &hf_butc_BUTC_RestoreDb_taskId
,
2817 { "taskId", "butc.BUTC_RestoreDb.taskId", FT_UINT32
, BASE_DEC
,
2821 { &hf_butc_BUTC_EndStatus_taskId
,
2822 { "taskId", "butc.BUTC_EndStatus.taskId", FT_UINT32
, BASE_DEC
,
2826 { &hf_butc_BUTC_GetStatus_taskId
,
2827 { "taskId", "butc.BUTC_GetStatus.taskId", FT_UINT32
, BASE_DEC
,
2831 { &hf_butc_BUTC_GetStatus_statusPtr
,
2832 { "statusPtr", "butc.BUTC_GetStatus.statusPtr", FT_NONE
, BASE_NONE
,
2836 { &hf_butc_BUTC_RequestAbort_taskId
,
2837 { "taskId", "butc.BUTC_RequestAbort.taskId", FT_UINT32
, BASE_DEC
,
2841 { &hf_butc_BUTC_ScanStatus_taskId
,
2842 { "taskId", "butc.BUTC_ScanStatus.taskId", FT_UINT32
, BASE_DEC
,
2846 { &hf_butc_BUTC_ScanStatus_statusPtr
,
2847 { "statusPtr", "butc.BUTC_ScanStatus.statusPtr", FT_NONE
, BASE_NONE
,
2851 { &hf_butc_BUTC_ScanStatus_flags
,
2852 { "flags", "butc.BUTC_ScanStatus.flags", FT_UINT32
, BASE_DEC
,
2856 /* END OF INCLUDED FILE : ETH_HFARR */
2861 static int *ett
[] = {
2864 /* INCLUDED FILE : ETH_ETTARR */
2866 &ett_butc_Restore_flags
,
2867 &ett_butc_afsNetAddr
,
2868 &ett_butc_tc_dumpDesc
,
2869 &ett_butc_tc_restoreDesc
,
2870 &ett_butc_tc_dumpStat
,
2871 &ett_butc_tc_tapeLabel
,
2872 &ett_butc_tc_tapeSet
,
2873 &ett_butc_tc_tcInfo
,
2874 &ett_butc_tc_restoreArray
,
2875 &ett_butc_tc_dumpArray
,
2876 &ett_butc_tc_dumpInterface
,
2877 &ett_butc_tc_statusInfoSwitchVol
,
2878 &ett_butc_tc_statusInfoSwitchLabel
,
2879 &ett_butc_tc_statusInfoSwitch
,
2880 &ett_butc_tciStatusS
,
2881 /* END OF INCLUDED FILE : ETH_ETTARR */
2886 proto_butc
= proto_register_protocol("DCE/RPC BUTC", "BUTC", "butc");
2887 proto_register_field_array(proto_butc
, hf
, array_length(hf
));
2888 proto_register_subtree_array(ett
, array_length(ett
));
2891 static const dcerpc_sub_dissector function_dissectors
[] = {
2894 /* INCLUDED FILE : ETH_FT */
2895 { 0, "BUTC_PerformDump",
2896 butc_dissect_BUTC_PerformDump_request
,
2897 butc_dissect_BUTC_PerformDump_response
},
2898 { 1, "BUTC_PerformRestore",
2899 butc_dissect_BUTC_PerformRestore_request
,
2900 butc_dissect_BUTC_PerformRestore_response
},
2901 { 2, "BUTC_AbortDump",
2902 butc_dissect_BUTC_AbortDump_request
,
2903 butc_dissect_BUTC_AbortDump_response
},
2904 { 3, "BUTC_LabelTape",
2905 butc_dissect_BUTC_LabelTape_request
,
2906 butc_dissect_BUTC_LabelTape_response
},
2907 { 4, "BUTC_ReadLabel",
2908 butc_dissect_BUTC_ReadLabel_request
,
2909 butc_dissect_BUTC_ReadLabel_response
},
2910 { 5, "BUTC_ScanDumps",
2911 butc_dissect_BUTC_ScanDumps_request
,
2912 butc_dissect_BUTC_ScanDumps_response
},
2914 butc_dissect_BUTC_TCInfo_request
,
2915 butc_dissect_BUTC_TCInfo_response
},
2917 butc_dissect_BUTC_SaveDb_request
,
2918 butc_dissect_BUTC_SaveDb_response
},
2919 { 8, "BUTC_RestoreDb",
2920 butc_dissect_BUTC_RestoreDb_request
,
2921 butc_dissect_BUTC_RestoreDb_response
},
2922 { 9, "BUTC_EndStatus",
2923 butc_dissect_BUTC_EndStatus_request
,
2924 butc_dissect_BUTC_EndStatus_response
},
2925 { 10, "BUTC_GetStatus",
2926 butc_dissect_BUTC_GetStatus_request
,
2927 butc_dissect_BUTC_GetStatus_response
},
2928 { 11, "BUTC_RequestAbort",
2929 butc_dissect_BUTC_RequestAbort_request
,
2930 butc_dissect_BUTC_RequestAbort_response
},
2931 { 12, "BUTC_ScanStatus",
2932 butc_dissect_BUTC_ScanStatus_request
,
2933 butc_dissect_BUTC_ScanStatus_response
},
2934 { 13, "BUTC_GetServerInterfaces",
2935 butc_dissect_BUTC_GetServerInterfaces_request
,
2936 butc_dissect_BUTC_GetServerInterfaces_response
},
2937 /* END OF INCLUDED FILE : ETH_FT */
2940 { 0, NULL
, NULL
, NULL
},
2944 proto_reg_handoff_butc(void)
2948 /* INCLUDED FILE : ETH_HANDOFF */
2949 dcerpc_init_uuid(proto_butc
, ett_butc
,
2950 &uuid_dcerpc_butc
, ver_butc
,
2951 function_dissectors
, hf_butc_opnum
);
2952 /* END OF INCLUDED FILE : ETH_HANDOFF */