2 * This dissector is autogenerated
5 /* packet-dcerpc-butc.c
6 * Routines for BUTC packet disassembly
10 * Ethereal - Network traffic analyzer
11 * By Gerald Combs <gerald@ethereal.com>
12 * Copyright 1998 Gerald Combs
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
36 #include <epan/packet.h>
37 #include "packet-dcerpc.h"
38 #include "packet-dcerpc-nt.h"
39 #include "packet-windows-common.h"
40 #include "packet-dcerpc-butc.h"
42 static int proto_butc = -1;
45 /* INCLUDED FILE : ETH_HF */
46 static int hf_butc_opnum = -1;
47 static int hf_butc_rc = -1;
48 static int hf_butc_Restore_flags_TC_RESTORE_CREATE = -1;
49 static int hf_butc_Restore_flags_TC_RESTORE_INCR = -1;
50 static int hf_butc_afsNetAddr_type = -1;
51 static int hf_butc_afsNetAddr_data = -1;
52 static int hf_butc_tc_dumpDesc_vid = -1;
53 static int hf_butc_tc_dumpDesc_name = -1;
54 static int hf_butc_tc_dumpDesc_partition = -1;
55 static int hf_butc_tc_dumpDesc_date = -1;
56 static int hf_butc_tc_dumpDesc_cloneDate = -1;
57 static int hf_butc_tc_dumpDesc_hostAddr = -1;
58 static int hf_butc_tc_dumpDesc_spare1 = -1;
59 static int hf_butc_tc_dumpDesc_spare2 = -1;
60 static int hf_butc_tc_dumpDesc_spare3 = -1;
61 static int hf_butc_tc_dumpDesc_spare4 = -1;
62 static int hf_butc_tc_restoreDesc_frag = -1;
63 static int hf_butc_tc_restoreDesc_tapeName = -1;
64 static int hf_butc_tc_restoreDesc_position = -1;
65 static int hf_butc_tc_restoreDesc_origVid = -1;
66 static int hf_butc_tc_restoreDesc_vid = -1;
67 static int hf_butc_tc_restoreDesc_partition = -1;
68 static int hf_butc_tc_restoreDesc_flags = -1;
69 static int hf_butc_tc_restoreDesc_hostAddr = -1;
70 static int hf_butc_tc_restoreDesc_realDumpId = -1;
71 static int hf_butc_tc_restoreDesc_spare2 = -1;
72 static int hf_butc_tc_restoreDesc_spare3 = -1;
73 static int hf_butc_tc_restoreDesc_spare4 = -1;
74 static int hf_butc_tc_restoreDesc_oldName = -1;
75 static int hf_butc_tc_restoreDesc_newName = -1;
76 static int hf_butc_tc_dumpStat_dumpID = -1;
77 static int hf_butc_tc_dumpStat_bytesDumped = -1;
78 static int hf_butc_tc_dumpStat_volumeBeingDumped = -1;
79 static int hf_butc_tc_dumpStat_numVolErrs = -1;
80 static int hf_butc_tc_dumpStat_flags = -1;
81 static int hf_butc_tc_dumpStat_spare1 = -1;
82 static int hf_butc_tc_dumpStat_spare2 = -1;
83 static int hf_butc_tc_dumpStat_spare3 = -1;
84 static int hf_butc_tc_dumpStat_spare4 = -1;
85 static int hf_butc_tc_tapeLabel_size = -1;
86 static int hf_butc_tc_tapeLabel_size_ext = -1;
87 static int hf_butc_tc_tapeLabel_spare1 = -1;
88 static int hf_butc_tc_tapeLabel_spare2 = -1;
89 static int hf_butc_tc_tapeLabel_spare3 = -1;
90 static int hf_butc_tc_tapeLabel_spare4 = -1;
91 static int hf_butc_tc_tapeLabel_nameLen = -1;
92 static int hf_butc_tc_tapeLabel_name = -1;
93 static int hf_butc_tc_tapeSet_id = -1;
94 static int hf_butc_tc_tapeSet_tapeServer = -1;
95 static int hf_butc_tc_tapeSet_format = -1;
96 static int hf_butc_tc_tapeSet_maxTapes = -1;
97 static int hf_butc_tc_tapeSet_a = -1;
98 static int hf_butc_tc_tapeSet_b = -1;
99 static int hf_butc_tc_tapeSet_expDate = -1;
100 static int hf_butc_tc_tapeSet_expType = -1;
101 static int hf_butc_tc_tapeSet_spare1 = -1;
102 static int hf_butc_tc_tapeSet_spare2 = -1;
103 static int hf_butc_tc_tapeSet_spare3 = -1;
104 static int hf_butc_tc_tapeSet_spare4 = -1;
105 static int hf_butc_tc_tcInfo_tcVersion = -1;
106 static int hf_butc_tc_tcInfo_spare1 = -1;
107 static int hf_butc_tc_tcInfo_spare2 = -1;
108 static int hf_butc_tc_tcInfo_spare3 = -1;
109 static int hf_butc_tc_tcInfo_spare4 = -1;
110 static int hf_butc_tc_restoreArray_tc_restoreArray_len = -1;
111 static int hf_butc_tc_restoreArray_tc_restoreArray_val = -1;
112 static int hf_butc_tc_dumpArray_tc_dumpArray_len = -1;
113 static int hf_butc_tc_dumpArray_tc_dumpArray = -1;
114 static int hf_butc_tc_dumpInterface_dumpPath = -1;
115 static int hf_butc_tc_dumpInterface_volumeSetName = -1;
116 static int hf_butc_tc_dumpInterface_dumpName = -1;
117 static int hf_butc_tc_dumpInterface_tapeSet = -1;
118 static int hf_butc_tc_dumpInterface_parentDumpId = -1;
119 static int hf_butc_tc_dumpInterface_dumpLevel = -1;
120 static int hf_butc_tc_dumpInterface_spare1 = -1;
121 static int hf_butc_tc_dumpInterface_spare2 = -1;
122 static int hf_butc_tc_dumpInterface_spare3 = -1;
123 static int hf_butc_tc_dumpInterface_spare4 = -1;
124 static int hf_butc_tc_statusInfoSwitchVol_nKBytes = -1;
125 static int hf_butc_tc_statusInfoSwitchVol_volumeName = -1;
126 static int hf_butc_tc_statusInfoSwitchVol_volsFailed = -1;
127 static int hf_butc_tc_statusInfoSwitchVol_spare1 = -1;
128 static int hf_butc_tc_statusInfoSwitchLabel_tapeLabel = -1;
129 static int hf_butc_tc_statusInfoSwitchLabel_spare1 = -1;
130 static int hf_butc_tc_statusInfoSwitch_TCOP_NONE_none = -1;
131 static int hf_butc_tc_statusInfoSwitch_TCOP_DUMP_vol = -1;
132 static int hf_butc_tc_statusInfoSwitch_TCOP_RESTORE_vol = -1;
133 static int hf_butc_tc_statusInfoSwitch_TCOP_LABELTAPE_label = -1;
134 static int hf_butc_tc_statusInfoSwitch_TCOP_READLABEL_label = -1;
135 static int hf_butc_tc_statusInfoSwitch_TCOP_SCANTAPE_spare1 = -1;
136 static int hf_butc_tc_statusInfoSwitch_TCOP_STATUS_spare2 = -1;
137 static int hf_butc_tc_statusInfoSwitch_TCOP_SAVEDB_spare3 = -1;
138 static int hf_butc_tc_statusInfoSwitch_TCOP_RESTOREDB_spare4 = -1;
139 static int hf_butc_tc_statusInfoSwitch_TCOP_SPARE_spare5 = -1;
140 static int hf_butc_tciStatusS_taskName = -1;
141 static int hf_butc_tciStatusS_flags = -1;
142 static int hf_butc_tciStatusS_lastPolled = -1;
143 static int hf_butc_tciStatusS_info = -1;
144 static int hf_butc_tciStatusS_taskId = -1;
145 static int hf_butc_tciStatusS_spare2 = -1;
146 static int hf_butc_tciStatusS_spare3 = -1;
147 static int hf_butc_tciStatusS_spare4 = -1;
148 static int hf_butc_BUTC_PerformDump_tcdiPtr = -1;
149 static int hf_butc_BUTC_PerformDump_dumps = -1;
150 static int hf_butc_BUTC_PerformDump_dumpID = -1;
151 static int hf_butc_BUTC_PerformRestore_dumpSetName = -1;
152 static int hf_butc_BUTC_PerformRestore_restores = -1;
153 static int hf_butc_BUTC_PerformRestore_dumpID = -1;
154 static int hf_butc_BUTC_AbortDump_dumpID = -1;
155 static int hf_butc_BUTC_LabelTape_label = -1;
156 static int hf_butc_BUTC_LabelTape_taskId = -1;
157 static int hf_butc_BUTC_ReadLabel_taskId = -1;
158 static int hf_butc_BUTC_ScanDumps_addDbFlag = -1;
159 static int hf_butc_BUTC_ScanDumps_taskId = -1;
160 static int hf_butc_BUTC_TCInfo_tciptr = -1;
161 static int hf_butc_BUTC_SaveDb_taskId = -1;
162 static int hf_butc_BUTC_RestoreDb_taskId = -1;
163 static int hf_butc_BUTC_EndStatus_taskId = -1;
164 static int hf_butc_BUTC_GetStatus_taskId = -1;
165 static int hf_butc_BUTC_GetStatus_statusPtr = -1;
166 static int hf_butc_BUTC_RequestAbort_taskId = -1;
167 static int hf_butc_BUTC_ScanStatus_taskId = -1;
168 static int hf_butc_BUTC_ScanStatus_statusPtr = -1;
169 static int hf_butc_BUTC_ScanStatus_flags = -1;
170 /* END OF INCLUDED FILE : ETH_HF */
176 /* INCLUDED FILE : ETH_ETT */
177 static gint ett_butc = -1;
178 static gint ett_butc_Restore_flags = -1;
179 static gint ett_butc_afsNetAddr = -1;
180 static gint ett_butc_tc_dumpDesc = -1;
181 static gint ett_butc_tc_restoreDesc = -1;
182 static gint ett_butc_tc_dumpStat = -1;
183 static gint ett_butc_tc_tapeLabel = -1;
184 static gint ett_butc_tc_tapeSet = -1;
185 static gint ett_butc_tc_tcInfo = -1;
186 static gint ett_butc_tc_restoreArray = -1;
187 static gint ett_butc_tc_dumpArray = -1;
188 static gint ett_butc_tc_dumpInterface = -1;
189 static gint ett_butc_tc_statusInfoSwitchVol = -1;
190 static gint ett_butc_tc_statusInfoSwitchLabel = -1;
191 static gint ett_butc_tc_statusInfoSwitch = -1;
192 static gint ett_butc_tciStatusS = -1;
193 /* END OF INCLUDED FILE : ETH_ETT */
198 butc_dissect_NameString_t(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
200 offset=dissect_ndr_vstring(tvb, offset, pinfo, tree, drep, 1, hf_index, FALSE, NULL);
206 /* INCLUDED FILE : ETH_CODE */
207 static e_uuid_t uuid_dcerpc_butc = {
208 0x1d193c08, 0x000b, 0x11ca,
209 { 0xba, 0x1d, 0x02, 0x60, 0x8c, 0x2e, 0xa9, 0x6e}
212 static guint16 ver_butc = 4;
214 static const true_false_string TC_RESTORE_CREATE_tfs = {
215 "TC_RESTORE_CREATE is SET",
216 "TC_RESTORE_CREATE is NOT set"
219 static const true_false_string TC_RESTORE_INCR_tfs = {
220 "TC_RESTORE_INCR is SET",
221 "TC_RESTORE_INCR is NOT set"
226 butc_dissect_Restore_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
228 proto_item *item=NULL;
229 proto_tree *tree=NULL;
235 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
236 tree=proto_item_add_subtree(item, ett_butc_Restore_flags);
239 offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
242 proto_tree_add_boolean(tree, hf_butc_Restore_flags_TC_RESTORE_CREATE, tvb, offset-4, 4, flags);
243 if(flags&0x00000001){
244 proto_item_append_text(item, " TC_RESTORE_CREATE");
246 flags&=(~0x00000001);
248 proto_tree_add_boolean(tree, hf_butc_Restore_flags_TC_RESTORE_INCR, tvb, offset-4, 4, flags);
249 if(flags&0x00000002){
250 proto_item_append_text(item, " TC_RESTORE_INCR");
252 flags&=(~0x00000002);
255 proto_item_append_text(item, "UNKNOWN-FLAGS");
262 butc_dissect_uint16(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
264 offset=dissect_ndr_uint16(tvb, offset, pinfo, tree, drep, hf_index, NULL);
269 butc_dissect_afsNetAddr_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
272 offset=butc_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_butc_afsNetAddr_type, param);
278 butc_dissect_uint8(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
280 offset=dissect_ndr_uint8(tvb, offset, pinfo, tree, drep, hf_index, NULL);
285 butc_dissect_afsNetAddr_data(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
288 offset=butc_dissect_uint8(tvb, offset, pinfo, tree, drep, hf_butc_afsNetAddr_data, param);
293 fixedarray_butc_dissect_afsNetAddr_data(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
297 offset=butc_dissect_afsNetAddr_data(tvb, offset, pinfo, tree, drep);
305 butc_dissect_afsNetAddr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
307 proto_item *item=NULL;
308 proto_tree *tree=NULL;
315 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
316 tree=proto_item_add_subtree(item, ett_butc_afsNetAddr);
319 offset=butc_dissect_afsNetAddr_type(tvb, offset, pinfo, tree, drep);
321 offset=fixedarray_butc_dissect_afsNetAddr_data(tvb, offset, pinfo, tree, drep);
323 proto_item_set_len(item, offset-old_offset);
329 butc_dissect_udlong(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
332 offset=dissect_ndr_duint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
338 butc_dissect_tc_dumpDesc_vid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
341 offset=butc_dissect_udlong(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpDesc_vid, param);
346 butc_dissect_tc_dumpDesc_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
349 offset=butc_dissect_NameString_t(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpDesc_name, param);
355 butc_dissect_int32(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
357 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
362 butc_dissect_tc_dumpDesc_partition(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
365 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpDesc_partition, param);
371 butc_dissect_time_t(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
374 offset=dissect_ndr_time_t(tvb, offset, pinfo, tree, drep, hf_index, NULL);
380 butc_dissect_tc_dumpDesc_date(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
383 offset=butc_dissect_time_t(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpDesc_date, param);
388 butc_dissect_tc_dumpDesc_cloneDate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
391 offset=butc_dissect_time_t(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpDesc_cloneDate, param);
396 butc_dissect_tc_dumpDesc_hostAddr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
399 offset=butc_dissect_afsNetAddr(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpDesc_hostAddr, param);
405 butc_dissect_uint32(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
407 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
412 butc_dissect_tc_dumpDesc_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
415 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpDesc_spare1, param);
420 butc_dissect_tc_dumpDesc_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
423 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpDesc_spare2, param);
428 butc_dissect_tc_dumpDesc_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
431 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpDesc_spare3, param);
436 butc_dissect_tc_dumpDesc_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
439 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpDesc_spare4, param);
445 butc_dissect_tc_dumpDesc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
447 proto_item *item=NULL;
448 proto_tree *tree=NULL;
455 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
456 tree=proto_item_add_subtree(item, ett_butc_tc_dumpDesc);
459 offset=butc_dissect_tc_dumpDesc_vid(tvb, offset, pinfo, tree, drep);
461 offset=butc_dissect_tc_dumpDesc_name(tvb, offset, pinfo, tree, drep);
463 offset=butc_dissect_tc_dumpDesc_partition(tvb, offset, pinfo, tree, drep);
465 offset=butc_dissect_tc_dumpDesc_date(tvb, offset, pinfo, tree, drep);
467 offset=butc_dissect_tc_dumpDesc_cloneDate(tvb, offset, pinfo, tree, drep);
469 offset=butc_dissect_tc_dumpDesc_hostAddr(tvb, offset, pinfo, tree, drep);
471 offset=butc_dissect_tc_dumpDesc_spare1(tvb, offset, pinfo, tree, drep);
473 offset=butc_dissect_tc_dumpDesc_spare2(tvb, offset, pinfo, tree, drep);
475 offset=butc_dissect_tc_dumpDesc_spare3(tvb, offset, pinfo, tree, drep);
477 offset=butc_dissect_tc_dumpDesc_spare4(tvb, offset, pinfo, tree, drep);
479 proto_item_set_len(item, offset-old_offset);
484 butc_dissect_tc_restoreDesc_frag(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
487 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreDesc_frag, param);
492 butc_dissect_tc_restoreDesc_tapeName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
495 offset=butc_dissect_NameString_t(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreDesc_tapeName, param);
500 butc_dissect_tc_restoreDesc_position(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
503 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreDesc_position, param);
508 butc_dissect_tc_restoreDesc_origVid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
511 offset=butc_dissect_udlong(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreDesc_origVid, param);
516 butc_dissect_tc_restoreDesc_vid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
519 offset=butc_dissect_udlong(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreDesc_vid, param);
524 butc_dissect_tc_restoreDesc_partition(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
527 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreDesc_partition, param);
532 butc_dissect_tc_restoreDesc_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
535 offset=butc_dissect_Restore_flags(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreDesc_flags, param);
540 butc_dissect_tc_restoreDesc_hostAddr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
543 offset=butc_dissect_afsNetAddr(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreDesc_hostAddr, param);
548 butc_dissect_tc_restoreDesc_realDumpId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
551 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreDesc_realDumpId, param);
556 butc_dissect_tc_restoreDesc_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
559 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreDesc_spare2, param);
564 butc_dissect_tc_restoreDesc_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
567 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreDesc_spare3, param);
572 butc_dissect_tc_restoreDesc_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
575 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreDesc_spare4, param);
580 butc_dissect_tc_restoreDesc_oldName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
583 offset=butc_dissect_NameString_t(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreDesc_oldName, param);
588 butc_dissect_tc_restoreDesc_newName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
591 offset=butc_dissect_NameString_t(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreDesc_newName, param);
597 butc_dissect_tc_restoreDesc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
599 proto_item *item=NULL;
600 proto_tree *tree=NULL;
607 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
608 tree=proto_item_add_subtree(item, ett_butc_tc_restoreDesc);
611 offset=butc_dissect_tc_restoreDesc_frag(tvb, offset, pinfo, tree, drep);
613 offset=butc_dissect_tc_restoreDesc_tapeName(tvb, offset, pinfo, tree, drep);
615 offset=butc_dissect_tc_restoreDesc_position(tvb, offset, pinfo, tree, drep);
617 offset=butc_dissect_tc_restoreDesc_origVid(tvb, offset, pinfo, tree, drep);
619 offset=butc_dissect_tc_restoreDesc_vid(tvb, offset, pinfo, tree, drep);
621 offset=butc_dissect_tc_restoreDesc_partition(tvb, offset, pinfo, tree, drep);
623 offset=butc_dissect_tc_restoreDesc_flags(tvb, offset, pinfo, tree, drep);
625 offset=butc_dissect_tc_restoreDesc_hostAddr(tvb, offset, pinfo, tree, drep);
627 offset=butc_dissect_tc_restoreDesc_realDumpId(tvb, offset, pinfo, tree, drep);
629 offset=butc_dissect_tc_restoreDesc_spare2(tvb, offset, pinfo, tree, drep);
631 offset=butc_dissect_tc_restoreDesc_spare3(tvb, offset, pinfo, tree, drep);
633 offset=butc_dissect_tc_restoreDesc_spare4(tvb, offset, pinfo, tree, drep);
635 offset=butc_dissect_tc_restoreDesc_oldName(tvb, offset, pinfo, tree, drep);
637 offset=butc_dissect_tc_restoreDesc_newName(tvb, offset, pinfo, tree, drep);
639 proto_item_set_len(item, offset-old_offset);
644 butc_dissect_tc_dumpStat_dumpID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
647 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpStat_dumpID, param);
652 butc_dissect_tc_dumpStat_bytesDumped(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
655 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpStat_bytesDumped, param);
660 butc_dissect_tc_dumpStat_volumeBeingDumped(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
663 offset=butc_dissect_udlong(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpStat_volumeBeingDumped, param);
668 butc_dissect_tc_dumpStat_numVolErrs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
671 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpStat_numVolErrs, param);
676 butc_dissect_tc_dumpStat_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
679 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpStat_flags, param);
684 butc_dissect_tc_dumpStat_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
687 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpStat_spare1, param);
692 butc_dissect_tc_dumpStat_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
695 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpStat_spare2, param);
700 butc_dissect_tc_dumpStat_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
703 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpStat_spare3, param);
708 butc_dissect_tc_dumpStat_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
711 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpStat_spare4, param);
717 butc_dissect_tc_dumpStat(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
719 proto_item *item=NULL;
720 proto_tree *tree=NULL;
727 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
728 tree=proto_item_add_subtree(item, ett_butc_tc_dumpStat);
731 offset=butc_dissect_tc_dumpStat_dumpID(tvb, offset, pinfo, tree, drep);
733 offset=butc_dissect_tc_dumpStat_bytesDumped(tvb, offset, pinfo, tree, drep);
735 offset=butc_dissect_tc_dumpStat_volumeBeingDumped(tvb, offset, pinfo, tree, drep);
737 offset=butc_dissect_tc_dumpStat_numVolErrs(tvb, offset, pinfo, tree, drep);
739 offset=butc_dissect_tc_dumpStat_flags(tvb, offset, pinfo, tree, drep);
741 offset=butc_dissect_tc_dumpStat_spare1(tvb, offset, pinfo, tree, drep);
743 offset=butc_dissect_tc_dumpStat_spare2(tvb, offset, pinfo, tree, drep);
745 offset=butc_dissect_tc_dumpStat_spare3(tvb, offset, pinfo, tree, drep);
747 offset=butc_dissect_tc_dumpStat_spare4(tvb, offset, pinfo, tree, drep);
749 proto_item_set_len(item, offset-old_offset);
754 butc_dissect_tc_tapeLabel_size(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
757 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeLabel_size, param);
762 butc_dissect_tc_tapeLabel_size_ext(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
765 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeLabel_size_ext, param);
770 butc_dissect_tc_tapeLabel_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
773 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeLabel_spare1, param);
778 butc_dissect_tc_tapeLabel_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
781 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeLabel_spare2, param);
786 butc_dissect_tc_tapeLabel_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
789 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeLabel_spare3, param);
794 butc_dissect_tc_tapeLabel_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
797 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeLabel_spare4, param);
802 butc_dissect_tc_tapeLabel_nameLen(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
805 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeLabel_nameLen, param);
810 butc_dissect_tc_tapeLabel_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
813 offset=butc_dissect_NameString_t(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeLabel_name, param);
819 butc_dissect_tc_tapeLabel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
821 proto_item *item=NULL;
822 proto_tree *tree=NULL;
829 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
830 tree=proto_item_add_subtree(item, ett_butc_tc_tapeLabel);
833 offset=butc_dissect_tc_tapeLabel_size(tvb, offset, pinfo, tree, drep);
835 offset=butc_dissect_tc_tapeLabel_size_ext(tvb, offset, pinfo, tree, drep);
837 offset=butc_dissect_tc_tapeLabel_spare1(tvb, offset, pinfo, tree, drep);
839 offset=butc_dissect_tc_tapeLabel_spare2(tvb, offset, pinfo, tree, drep);
841 offset=butc_dissect_tc_tapeLabel_spare3(tvb, offset, pinfo, tree, drep);
843 offset=butc_dissect_tc_tapeLabel_spare4(tvb, offset, pinfo, tree, drep);
845 offset=butc_dissect_tc_tapeLabel_nameLen(tvb, offset, pinfo, tree, drep);
847 offset=butc_dissect_tc_tapeLabel_name(tvb, offset, pinfo, tree, drep);
849 proto_item_set_len(item, offset-old_offset);
854 butc_dissect_tc_tapeSet_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
857 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeSet_id, param);
862 butc_dissect_tc_tapeSet_tapeServer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
865 offset=butc_dissect_NameString_t(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeSet_tapeServer, param);
870 butc_dissect_tc_tapeSet_format(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
873 offset=butc_dissect_NameString_t(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeSet_format, param);
878 butc_dissect_tc_tapeSet_maxTapes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
881 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeSet_maxTapes, param);
886 butc_dissect_tc_tapeSet_a(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
889 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeSet_a, param);
894 butc_dissect_tc_tapeSet_b(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
897 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeSet_b, param);
902 butc_dissect_tc_tapeSet_expDate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
905 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeSet_expDate, param);
910 butc_dissect_tc_tapeSet_expType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
913 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeSet_expType, param);
918 butc_dissect_tc_tapeSet_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
921 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeSet_spare1, param);
926 butc_dissect_tc_tapeSet_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
929 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeSet_spare2, param);
934 butc_dissect_tc_tapeSet_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
937 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeSet_spare3, param);
942 butc_dissect_tc_tapeSet_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
945 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tapeSet_spare4, param);
951 butc_dissect_tc_tapeSet(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
953 proto_item *item=NULL;
954 proto_tree *tree=NULL;
961 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
962 tree=proto_item_add_subtree(item, ett_butc_tc_tapeSet);
965 offset=butc_dissect_tc_tapeSet_id(tvb, offset, pinfo, tree, drep);
967 offset=butc_dissect_tc_tapeSet_tapeServer(tvb, offset, pinfo, tree, drep);
969 offset=butc_dissect_tc_tapeSet_format(tvb, offset, pinfo, tree, drep);
971 offset=butc_dissect_tc_tapeSet_maxTapes(tvb, offset, pinfo, tree, drep);
973 offset=butc_dissect_tc_tapeSet_a(tvb, offset, pinfo, tree, drep);
975 offset=butc_dissect_tc_tapeSet_b(tvb, offset, pinfo, tree, drep);
977 offset=butc_dissect_tc_tapeSet_expDate(tvb, offset, pinfo, tree, drep);
979 offset=butc_dissect_tc_tapeSet_expType(tvb, offset, pinfo, tree, drep);
981 offset=butc_dissect_tc_tapeSet_spare1(tvb, offset, pinfo, tree, drep);
983 offset=butc_dissect_tc_tapeSet_spare2(tvb, offset, pinfo, tree, drep);
985 offset=butc_dissect_tc_tapeSet_spare3(tvb, offset, pinfo, tree, drep);
987 offset=butc_dissect_tc_tapeSet_spare4(tvb, offset, pinfo, tree, drep);
989 proto_item_set_len(item, offset-old_offset);
994 butc_dissect_tc_tcInfo_tcVersion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
997 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tcInfo_tcVersion, param);
1002 butc_dissect_tc_tcInfo_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1005 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tcInfo_spare1, param);
1010 butc_dissect_tc_tcInfo_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1013 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tcInfo_spare2, param);
1018 butc_dissect_tc_tcInfo_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1021 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tcInfo_spare3, param);
1026 butc_dissect_tc_tcInfo_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1029 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_tcInfo_spare4, param);
1035 butc_dissect_tc_tcInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1037 proto_item *item=NULL;
1038 proto_tree *tree=NULL;
1045 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1046 tree=proto_item_add_subtree(item, ett_butc_tc_tcInfo);
1049 offset=butc_dissect_tc_tcInfo_tcVersion(tvb, offset, pinfo, tree, drep);
1051 offset=butc_dissect_tc_tcInfo_spare1(tvb, offset, pinfo, tree, drep);
1053 offset=butc_dissect_tc_tcInfo_spare2(tvb, offset, pinfo, tree, drep);
1055 offset=butc_dissect_tc_tcInfo_spare3(tvb, offset, pinfo, tree, drep);
1057 offset=butc_dissect_tc_tcInfo_spare4(tvb, offset, pinfo, tree, drep);
1059 proto_item_set_len(item, offset-old_offset);
1064 butc_dissect_tc_restoreArray_tc_restoreArray_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1067 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreArray_tc_restoreArray_len, param);
1072 butc_dissect_tc_restoreArray_tc_restoreArray_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1075 offset=butc_dissect_tc_restoreDesc(tvb, offset, pinfo, tree, drep, hf_butc_tc_restoreArray_tc_restoreArray_val, param);
1080 ptr_butc_dissect_tc_restoreArray_tc_restoreArray_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1082 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_tc_restoreArray_tc_restoreArray_val, NDR_POINTER_PTR, "tc_restoreArray_val", -1);
1087 ucarray_ptr_butc_dissect_tc_restoreArray_tc_restoreArray_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1089 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, ptr_butc_dissect_tc_restoreArray_tc_restoreArray_val);
1095 butc_dissect_tc_restoreArray(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1097 proto_item *item=NULL;
1098 proto_tree *tree=NULL;
1105 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1106 tree=proto_item_add_subtree(item, ett_butc_tc_restoreArray);
1109 offset=butc_dissect_tc_restoreArray_tc_restoreArray_len(tvb, offset, pinfo, tree, drep);
1111 offset=ucarray_ptr_butc_dissect_tc_restoreArray_tc_restoreArray_val(tvb, offset, pinfo, tree, drep);
1113 proto_item_set_len(item, offset-old_offset);
1118 butc_dissect_tc_dumpArray_tc_dumpArray_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1121 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpArray_tc_dumpArray_len, param);
1126 butc_dissect_tc_dumpArray_tc_dumpArray(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1129 offset=butc_dissect_tc_dumpDesc(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpArray_tc_dumpArray, param);
1134 ptr_butc_dissect_tc_dumpArray_tc_dumpArray(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1136 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_tc_dumpArray_tc_dumpArray, NDR_POINTER_PTR, "tc_dumpArray", -1);
1141 ucarray_ptr_butc_dissect_tc_dumpArray_tc_dumpArray(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1143 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, ptr_butc_dissect_tc_dumpArray_tc_dumpArray);
1149 butc_dissect_tc_dumpArray(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1151 proto_item *item=NULL;
1152 proto_tree *tree=NULL;
1159 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1160 tree=proto_item_add_subtree(item, ett_butc_tc_dumpArray);
1163 offset=butc_dissect_tc_dumpArray_tc_dumpArray_len(tvb, offset, pinfo, tree, drep);
1165 offset=ucarray_ptr_butc_dissect_tc_dumpArray_tc_dumpArray(tvb, offset, pinfo, tree, drep);
1167 proto_item_set_len(item, offset-old_offset);
1172 butc_dissect_tc_dumpInterface_dumpPath(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1175 offset=butc_dissect_NameString_t(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpInterface_dumpPath, param);
1180 butc_dissect_tc_dumpInterface_volumeSetName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1183 offset=butc_dissect_NameString_t(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpInterface_volumeSetName, param);
1188 butc_dissect_tc_dumpInterface_dumpName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1191 offset=butc_dissect_NameString_t(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpInterface_dumpName, param);
1196 butc_dissect_tc_dumpInterface_tapeSet(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1199 offset=butc_dissect_tc_tapeSet(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpInterface_tapeSet, param);
1204 butc_dissect_tc_dumpInterface_parentDumpId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1207 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpInterface_parentDumpId, param);
1212 butc_dissect_tc_dumpInterface_dumpLevel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1215 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpInterface_dumpLevel, param);
1220 butc_dissect_tc_dumpInterface_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1223 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpInterface_spare1, param);
1228 butc_dissect_tc_dumpInterface_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1231 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpInterface_spare2, param);
1236 butc_dissect_tc_dumpInterface_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1239 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpInterface_spare3, param);
1244 butc_dissect_tc_dumpInterface_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1247 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_dumpInterface_spare4, param);
1253 butc_dissect_tc_dumpInterface(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1255 proto_item *item=NULL;
1256 proto_tree *tree=NULL;
1263 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1264 tree=proto_item_add_subtree(item, ett_butc_tc_dumpInterface);
1267 offset=butc_dissect_tc_dumpInterface_dumpPath(tvb, offset, pinfo, tree, drep);
1269 offset=butc_dissect_tc_dumpInterface_volumeSetName(tvb, offset, pinfo, tree, drep);
1271 offset=butc_dissect_tc_dumpInterface_dumpName(tvb, offset, pinfo, tree, drep);
1273 offset=butc_dissect_tc_dumpInterface_tapeSet(tvb, offset, pinfo, tree, drep);
1275 offset=butc_dissect_tc_dumpInterface_parentDumpId(tvb, offset, pinfo, tree, drep);
1277 offset=butc_dissect_tc_dumpInterface_dumpLevel(tvb, offset, pinfo, tree, drep);
1279 offset=butc_dissect_tc_dumpInterface_spare1(tvb, offset, pinfo, tree, drep);
1281 offset=butc_dissect_tc_dumpInterface_spare2(tvb, offset, pinfo, tree, drep);
1283 offset=butc_dissect_tc_dumpInterface_spare3(tvb, offset, pinfo, tree, drep);
1285 offset=butc_dissect_tc_dumpInterface_spare4(tvb, offset, pinfo, tree, drep);
1287 proto_item_set_len(item, offset-old_offset);
1292 butc_dissect_tc_statusInfoSwitchVol_nKBytes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1295 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitchVol_nKBytes, param);
1300 butc_dissect_tc_statusInfoSwitchVol_volumeName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1303 offset=butc_dissect_NameString_t(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitchVol_volumeName, param);
1308 butc_dissect_tc_statusInfoSwitchVol_volsFailed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1311 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitchVol_volsFailed, param);
1316 butc_dissect_tc_statusInfoSwitchVol_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1319 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitchVol_spare1, param);
1325 butc_dissect_tc_statusInfoSwitchVol(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1327 proto_item *item=NULL;
1328 proto_tree *tree=NULL;
1335 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1336 tree=proto_item_add_subtree(item, ett_butc_tc_statusInfoSwitchVol);
1339 offset=butc_dissect_tc_statusInfoSwitchVol_nKBytes(tvb, offset, pinfo, tree, drep);
1341 offset=butc_dissect_tc_statusInfoSwitchVol_volumeName(tvb, offset, pinfo, tree, drep);
1343 offset=butc_dissect_tc_statusInfoSwitchVol_volsFailed(tvb, offset, pinfo, tree, drep);
1345 offset=butc_dissect_tc_statusInfoSwitchVol_spare1(tvb, offset, pinfo, tree, drep);
1347 proto_item_set_len(item, offset-old_offset);
1352 butc_dissect_tc_statusInfoSwitchLabel_tapeLabel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1355 offset=butc_dissect_tc_tapeLabel(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitchLabel_tapeLabel, param);
1360 butc_dissect_tc_statusInfoSwitchLabel_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1363 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitchLabel_spare1, param);
1369 butc_dissect_tc_statusInfoSwitchLabel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1371 proto_item *item=NULL;
1372 proto_tree *tree=NULL;
1379 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1380 tree=proto_item_add_subtree(item, ett_butc_tc_statusInfoSwitchLabel);
1383 offset=butc_dissect_tc_statusInfoSwitchLabel_tapeLabel(tvb, offset, pinfo, tree, drep);
1385 offset=butc_dissect_tc_statusInfoSwitchLabel_spare1(tvb, offset, pinfo, tree, drep);
1387 proto_item_set_len(item, offset-old_offset);
1392 butc_dissect_union_tc_statusInfoSwitch_TCOP_NONE_none(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1395 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitch_TCOP_NONE_none, param);
1400 butc_dissect_union_tc_statusInfoSwitch_TCOP_DUMP_vol(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1403 offset=butc_dissect_tc_statusInfoSwitchVol(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitch_TCOP_DUMP_vol, param);
1408 butc_dissect_union_tc_statusInfoSwitch_TCOP_RESTORE_vol(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1411 offset=butc_dissect_tc_statusInfoSwitchVol(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitch_TCOP_RESTORE_vol, param);
1416 butc_dissect_union_tc_statusInfoSwitch_TCOP_LABELTAPE_label(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1419 offset=butc_dissect_tc_statusInfoSwitchLabel(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitch_TCOP_LABELTAPE_label, param);
1424 butc_dissect_union_tc_statusInfoSwitch_TCOP_READLABEL_label(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1427 offset=butc_dissect_tc_statusInfoSwitchLabel(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitch_TCOP_READLABEL_label, param);
1432 butc_dissect_union_tc_statusInfoSwitch_TCOP_SCANTAPE_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1435 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitch_TCOP_SCANTAPE_spare1, param);
1440 butc_dissect_union_tc_statusInfoSwitch_TCOP_STATUS_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1443 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitch_TCOP_STATUS_spare2, param);
1448 butc_dissect_union_tc_statusInfoSwitch_TCOP_SAVEDB_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1451 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitch_TCOP_SAVEDB_spare3, param);
1456 butc_dissect_union_tc_statusInfoSwitch_TCOP_RESTOREDB_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1459 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitch_TCOP_RESTOREDB_spare4, param);
1464 butc_dissect_union_tc_statusInfoSwitch_TCOP_SPARE_spare5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1467 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tc_statusInfoSwitch_TCOP_SPARE_spare5, param);
1473 butc_dissect_union_tc_statusInfoSwitch(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1475 proto_item *item=NULL;
1476 proto_tree *tree=NULL;
1484 item=proto_tree_add_text(parent_tree, tvb, offset, -1, "tc_statusInfoSwitch");
1485 tree=proto_item_add_subtree(item, ett_butc_tc_statusInfoSwitch);
1488 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
1489 drep, hf_index, &level);
1494 offset=butc_dissect_union_tc_statusInfoSwitch_TCOP_NONE_none(tvb, offset, pinfo, tree, drep);
1499 offset=butc_dissect_union_tc_statusInfoSwitch_TCOP_DUMP_vol(tvb, offset, pinfo, tree, drep);
1504 offset=butc_dissect_union_tc_statusInfoSwitch_TCOP_RESTORE_vol(tvb, offset, pinfo, tree, drep);
1507 case TCOP_LABELTAPE:
1509 offset=butc_dissect_union_tc_statusInfoSwitch_TCOP_LABELTAPE_label(tvb, offset, pinfo, tree, drep);
1512 case TCOP_READLABEL:
1514 offset=butc_dissect_union_tc_statusInfoSwitch_TCOP_READLABEL_label(tvb, offset, pinfo, tree, drep);
1519 offset=butc_dissect_union_tc_statusInfoSwitch_TCOP_SCANTAPE_spare1(tvb, offset, pinfo, tree, drep);
1524 offset=butc_dissect_union_tc_statusInfoSwitch_TCOP_STATUS_spare2(tvb, offset, pinfo, tree, drep);
1529 offset=butc_dissect_union_tc_statusInfoSwitch_TCOP_SAVEDB_spare3(tvb, offset, pinfo, tree, drep);
1532 case TCOP_RESTOREDB:
1534 offset=butc_dissect_union_tc_statusInfoSwitch_TCOP_RESTOREDB_spare4(tvb, offset, pinfo, tree, drep);
1539 offset=butc_dissect_union_tc_statusInfoSwitch_TCOP_SPARE_spare5(tvb, offset, pinfo, tree, drep);
1544 proto_item_set_len(item, offset-old_offset);
1549 butc_dissect_tciStatusS_taskName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1552 offset=butc_dissect_NameString_t(tvb, offset, pinfo, tree, drep, hf_butc_tciStatusS_taskName, param);
1557 butc_dissect_tciStatusS_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1560 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tciStatusS_flags, param);
1565 butc_dissect_tciStatusS_lastPolled(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1568 offset=butc_dissect_time_t(tvb, offset, pinfo, tree, drep, hf_butc_tciStatusS_lastPolled, param);
1573 butc_dissect_tciStatusS_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1576 offset=butc_dissect_union_tc_statusInfoSwitch(tvb, offset, pinfo, tree, drep, hf_butc_tciStatusS_info, param);
1581 butc_dissect_tciStatusS_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1584 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tciStatusS_taskId, param);
1589 butc_dissect_tciStatusS_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1592 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tciStatusS_spare2, param);
1597 butc_dissect_tciStatusS_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1600 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tciStatusS_spare3, param);
1605 butc_dissect_tciStatusS_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1608 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_tciStatusS_spare4, param);
1614 butc_dissect_tciStatusS(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1616 proto_item *item=NULL;
1617 proto_tree *tree=NULL;
1624 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1625 tree=proto_item_add_subtree(item, ett_butc_tciStatusS);
1628 offset=butc_dissect_tciStatusS_taskName(tvb, offset, pinfo, tree, drep);
1630 offset=butc_dissect_tciStatusS_flags(tvb, offset, pinfo, tree, drep);
1632 offset=butc_dissect_tciStatusS_lastPolled(tvb, offset, pinfo, tree, drep);
1634 offset=butc_dissect_tciStatusS_info(tvb, offset, pinfo, tree, drep);
1636 offset=butc_dissect_tciStatusS_taskId(tvb, offset, pinfo, tree, drep);
1638 offset=butc_dissect_tciStatusS_spare2(tvb, offset, pinfo, tree, drep);
1640 offset=butc_dissect_tciStatusS_spare3(tvb, offset, pinfo, tree, drep);
1642 offset=butc_dissect_tciStatusS_spare4(tvb, offset, pinfo, tree, drep);
1644 proto_item_set_len(item, offset-old_offset);
1649 butc_dissect_BUTC_PerformDump_tcdiPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1652 offset=butc_dissect_tc_dumpInterface(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_PerformDump_tcdiPtr, param);
1657 ref_butc_dissect_BUTC_PerformDump_tcdiPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1659 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_PerformDump_tcdiPtr, NDR_POINTER_REF, "tcdiPtr", -1);
1664 butc_dissect_BUTC_PerformDump_dumps(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1667 offset=butc_dissect_tc_dumpArray(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_PerformDump_dumps, param);
1672 ref_butc_dissect_BUTC_PerformDump_dumps(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1674 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_PerformDump_dumps, NDR_POINTER_REF, "dumps", -1);
1679 butc_dissect_BUTC_PerformDump_dumpID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1682 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_PerformDump_dumpID, param);
1687 ref_butc_dissect_BUTC_PerformDump_dumpID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1689 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_PerformDump_dumpID, NDR_POINTER_REF, "dumpID", -1);
1695 butc_dissect_BUTC_PerformDump_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1697 offset=ref_butc_dissect_BUTC_PerformDump_tcdiPtr(tvb, offset, pinfo, tree, drep);
1699 offset=ref_butc_dissect_BUTC_PerformDump_dumps(tvb, offset, pinfo, tree, drep);
1706 butc_dissect_BUTC_PerformDump_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1708 offset=ref_butc_dissect_BUTC_PerformDump_dumpID(tvb, offset, pinfo, tree, drep);
1710 offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_butc_rc, NULL);
1716 butc_dissect_BUTC_PerformRestore_dumpSetName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1719 offset=butc_dissect_NameString_t(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_PerformRestore_dumpSetName, param);
1724 ptr_butc_dissect_BUTC_PerformRestore_dumpSetName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1726 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_PerformRestore_dumpSetName, NDR_POINTER_PTR, "dumpSetName", -1);
1731 butc_dissect_BUTC_PerformRestore_restores(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1734 offset=butc_dissect_tc_restoreArray(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_PerformRestore_restores, param);
1739 ref_butc_dissect_BUTC_PerformRestore_restores(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1741 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_PerformRestore_restores, NDR_POINTER_REF, "restores", -1);
1746 butc_dissect_BUTC_PerformRestore_dumpID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1749 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_PerformRestore_dumpID, param);
1754 ref_butc_dissect_BUTC_PerformRestore_dumpID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1756 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_PerformRestore_dumpID, NDR_POINTER_REF, "dumpID", -1);
1762 butc_dissect_BUTC_PerformRestore_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1764 offset=ptr_butc_dissect_BUTC_PerformRestore_dumpSetName(tvb, offset, pinfo, tree, drep);
1766 offset=ref_butc_dissect_BUTC_PerformRestore_restores(tvb, offset, pinfo, tree, drep);
1773 butc_dissect_BUTC_PerformRestore_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1775 offset=ref_butc_dissect_BUTC_PerformRestore_dumpID(tvb, offset, pinfo, tree, drep);
1777 offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_butc_rc, NULL);
1783 butc_dissect_BUTC_AbortDump_dumpID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1786 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_AbortDump_dumpID, param);
1792 butc_dissect_BUTC_AbortDump_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1794 offset=butc_dissect_BUTC_AbortDump_dumpID(tvb, offset, pinfo, tree, drep);
1801 butc_dissect_BUTC_AbortDump_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1803 offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_butc_rc, NULL);
1809 butc_dissect_BUTC_LabelTape_label(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1812 offset=butc_dissect_tc_tapeLabel(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_LabelTape_label, param);
1817 ref_butc_dissect_BUTC_LabelTape_label(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1819 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_LabelTape_label, NDR_POINTER_REF, "label", -1);
1824 butc_dissect_BUTC_LabelTape_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1827 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_LabelTape_taskId, param);
1832 ref_butc_dissect_BUTC_LabelTape_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1834 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_LabelTape_taskId, NDR_POINTER_REF, "taskId", -1);
1840 butc_dissect_BUTC_LabelTape_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1842 offset=ref_butc_dissect_BUTC_LabelTape_label(tvb, offset, pinfo, tree, drep);
1849 butc_dissect_BUTC_LabelTape_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1851 offset=ref_butc_dissect_BUTC_LabelTape_taskId(tvb, offset, pinfo, tree, drep);
1853 offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_butc_rc, NULL);
1859 butc_dissect_BUTC_ReadLabel_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1862 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_ReadLabel_taskId, param);
1867 ref_butc_dissect_BUTC_ReadLabel_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1869 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_ReadLabel_taskId, NDR_POINTER_REF, "taskId", -1);
1875 butc_dissect_BUTC_ReadLabel_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1882 butc_dissect_BUTC_ReadLabel_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1884 offset=ref_butc_dissect_BUTC_ReadLabel_taskId(tvb, offset, pinfo, tree, drep);
1886 offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_butc_rc, NULL);
1892 butc_dissect_BUTC_ScanDumps_addDbFlag(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1895 offset=butc_dissect_int32(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_ScanDumps_addDbFlag, param);
1900 butc_dissect_BUTC_ScanDumps_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1903 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_ScanDumps_taskId, param);
1908 ref_butc_dissect_BUTC_ScanDumps_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1910 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_ScanDumps_taskId, NDR_POINTER_REF, "taskId", -1);
1916 butc_dissect_BUTC_ScanDumps_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1918 offset=butc_dissect_BUTC_ScanDumps_addDbFlag(tvb, offset, pinfo, tree, drep);
1925 butc_dissect_BUTC_ScanDumps_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1927 offset=ref_butc_dissect_BUTC_ScanDumps_taskId(tvb, offset, pinfo, tree, drep);
1929 offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_butc_rc, NULL);
1935 butc_dissect_BUTC_TCInfo_tciptr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1938 offset=butc_dissect_tc_tcInfo(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_TCInfo_tciptr, param);
1943 ref_butc_dissect_BUTC_TCInfo_tciptr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1945 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_TCInfo_tciptr, NDR_POINTER_REF, "tciptr", -1);
1951 butc_dissect_BUTC_TCInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1958 butc_dissect_BUTC_TCInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1960 offset=ref_butc_dissect_BUTC_TCInfo_tciptr(tvb, offset, pinfo, tree, drep);
1962 offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_butc_rc, NULL);
1968 butc_dissect_BUTC_SaveDb_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1971 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_SaveDb_taskId, param);
1976 ref_butc_dissect_BUTC_SaveDb_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1978 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_SaveDb_taskId, NDR_POINTER_REF, "taskId", -1);
1984 butc_dissect_BUTC_SaveDb_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1991 butc_dissect_BUTC_SaveDb_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1993 offset=ref_butc_dissect_BUTC_SaveDb_taskId(tvb, offset, pinfo, tree, drep);
1995 offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_butc_rc, NULL);
2001 butc_dissect_BUTC_RestoreDb_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2004 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_RestoreDb_taskId, param);
2009 ref_butc_dissect_BUTC_RestoreDb_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2011 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_RestoreDb_taskId, NDR_POINTER_REF, "taskId", -1);
2017 butc_dissect_BUTC_RestoreDb_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2024 butc_dissect_BUTC_RestoreDb_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2026 offset=ref_butc_dissect_BUTC_RestoreDb_taskId(tvb, offset, pinfo, tree, drep);
2028 offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_butc_rc, NULL);
2034 butc_dissect_BUTC_EndStatus_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2037 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, 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_, guint8 *drep _U_)
2045 offset=butc_dissect_BUTC_EndStatus_taskId(tvb, offset, pinfo, tree, drep);
2052 butc_dissect_BUTC_EndStatus_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2054 offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_butc_rc, NULL);
2060 butc_dissect_BUTC_GetStatus_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2063 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_GetStatus_taskId, param);
2068 butc_dissect_BUTC_GetStatus_statusPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2071 offset=butc_dissect_tciStatusS(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_GetStatus_statusPtr, param);
2076 ref_butc_dissect_BUTC_GetStatus_statusPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2078 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_GetStatus_statusPtr, NDR_POINTER_REF, "statusPtr", -1);
2084 butc_dissect_BUTC_GetStatus_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2086 offset=butc_dissect_BUTC_GetStatus_taskId(tvb, offset, pinfo, tree, drep);
2093 butc_dissect_BUTC_GetStatus_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2095 offset=ref_butc_dissect_BUTC_GetStatus_statusPtr(tvb, offset, pinfo, tree, drep);
2097 offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_butc_rc, NULL);
2103 butc_dissect_BUTC_RequestAbort_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2106 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_RequestAbort_taskId, param);
2112 butc_dissect_BUTC_RequestAbort_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2114 offset=butc_dissect_BUTC_RequestAbort_taskId(tvb, offset, pinfo, tree, drep);
2121 butc_dissect_BUTC_RequestAbort_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2123 offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_butc_rc, NULL);
2129 butc_dissect_BUTC_ScanStatus_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2132 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_ScanStatus_taskId, param);
2137 ref_butc_dissect_BUTC_ScanStatus_taskId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2139 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_ScanStatus_taskId, NDR_POINTER_REF, "taskId", -1);
2144 butc_dissect_BUTC_ScanStatus_statusPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2147 offset=butc_dissect_tciStatusS(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_ScanStatus_statusPtr, param);
2152 ref_butc_dissect_BUTC_ScanStatus_statusPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2154 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_ScanStatus_statusPtr, NDR_POINTER_REF, "statusPtr", -1);
2159 butc_dissect_BUTC_ScanStatus_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2162 offset=butc_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_butc_BUTC_ScanStatus_flags, param);
2167 ref_butc_dissect_BUTC_ScanStatus_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2169 offset=dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, butc_dissect_BUTC_ScanStatus_flags, NDR_POINTER_REF, "flags", -1);
2175 butc_dissect_BUTC_ScanStatus_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2177 offset=ref_butc_dissect_BUTC_ScanStatus_taskId(tvb, offset, pinfo, tree, drep);
2179 offset=ref_butc_dissect_BUTC_ScanStatus_flags(tvb, offset, pinfo, tree, drep);
2186 butc_dissect_BUTC_ScanStatus_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2188 offset=ref_butc_dissect_BUTC_ScanStatus_taskId(tvb, offset, pinfo, tree, drep);
2190 offset=ref_butc_dissect_BUTC_ScanStatus_statusPtr(tvb, offset, pinfo, tree, drep);
2192 offset=ref_butc_dissect_BUTC_ScanStatus_flags(tvb, offset, pinfo, tree, drep);
2194 offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_butc_rc, NULL);
2201 butc_dissect_BUTC_GetServerInterfaces_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2208 butc_dissect_BUTC_GetServerInterfaces_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
2210 offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_butc_rc, NULL);
2215 /* END OF INCLUDED FILE : ETH_CODE */
2220 proto_register_butc(void)
2222 static hf_register_info hf[] = {
2226 /* INCLUDED FILE : ETH_HFARR */
2228 { "Operation", "butc.opnum", FT_UINT16, BASE_DEC,
2233 { "Return code", "butc.rc", FT_UINT32, BASE_HEX,
2237 { &hf_butc_Restore_flags_TC_RESTORE_CREATE,
2238 { "TC_RESTORE_CREATE", "butc.Restore_flags.TC_RESTORE_CREATE", FT_BOOLEAN, 32,
2239 TFS(&TC_RESTORE_CREATE_tfs), 0x00000001,
2242 { &hf_butc_Restore_flags_TC_RESTORE_INCR,
2243 { "TC_RESTORE_INCR", "butc.Restore_flags.TC_RESTORE_INCR", FT_BOOLEAN, 32,
2244 TFS(&TC_RESTORE_INCR_tfs), 0x00000002,
2247 { &hf_butc_afsNetAddr_type,
2248 { "type", "butc.afsNetAddr.type", FT_UINT16, BASE_DEC,
2252 { &hf_butc_afsNetAddr_data,
2253 { "data", "butc.afsNetAddr.data", FT_UINT8, BASE_DEC,
2257 { &hf_butc_tc_dumpDesc_vid,
2258 { "vid", "butc.tc_dumpDesc.vid", FT_UINT64, BASE_DEC,
2262 { &hf_butc_tc_dumpDesc_name,
2263 { "name", "butc.tc_dumpDesc.name", FT_STRING, BASE_NONE,
2267 { &hf_butc_tc_dumpDesc_partition,
2268 { "partition", "butc.tc_dumpDesc.partition", FT_INT32, BASE_DEC,
2272 { &hf_butc_tc_dumpDesc_date,
2273 { "date", "butc.tc_dumpDesc.date", FT_ABSOLUTE_TIME, BASE_DEC,
2277 { &hf_butc_tc_dumpDesc_cloneDate,
2278 { "cloneDate", "butc.tc_dumpDesc.cloneDate", FT_ABSOLUTE_TIME, BASE_DEC,
2282 { &hf_butc_tc_dumpDesc_hostAddr,
2283 { "hostAddr", "butc.tc_dumpDesc.hostAddr", FT_NONE, BASE_NONE,
2287 { &hf_butc_tc_dumpDesc_spare1,
2288 { "spare1", "butc.tc_dumpDesc.spare1", FT_UINT32, BASE_DEC,
2292 { &hf_butc_tc_dumpDesc_spare2,
2293 { "spare2", "butc.tc_dumpDesc.spare2", FT_UINT32, BASE_DEC,
2297 { &hf_butc_tc_dumpDesc_spare3,
2298 { "spare3", "butc.tc_dumpDesc.spare3", FT_UINT32, BASE_DEC,
2302 { &hf_butc_tc_dumpDesc_spare4,
2303 { "spare4", "butc.tc_dumpDesc.spare4", FT_UINT32, BASE_DEC,
2307 { &hf_butc_tc_restoreDesc_frag,
2308 { "frag", "butc.tc_restoreDesc.frag", FT_INT32, BASE_DEC,
2312 { &hf_butc_tc_restoreDesc_tapeName,
2313 { "tapeName", "butc.tc_restoreDesc.tapeName", FT_STRING, BASE_NONE,
2317 { &hf_butc_tc_restoreDesc_position,
2318 { "position", "butc.tc_restoreDesc.position", FT_INT32, BASE_DEC,
2322 { &hf_butc_tc_restoreDesc_origVid,
2323 { "origVid", "butc.tc_restoreDesc.origVid", FT_UINT64, BASE_DEC,
2327 { &hf_butc_tc_restoreDesc_vid,
2328 { "vid", "butc.tc_restoreDesc.vid", FT_UINT64, BASE_DEC,
2332 { &hf_butc_tc_restoreDesc_partition,
2333 { "partition", "butc.tc_restoreDesc.partition", FT_INT32, BASE_DEC,
2337 { &hf_butc_tc_restoreDesc_flags,
2338 { "flags", "butc.tc_restoreDesc.flags", FT_UINT32, BASE_HEX,
2342 { &hf_butc_tc_restoreDesc_hostAddr,
2343 { "hostAddr", "butc.tc_restoreDesc.hostAddr", FT_NONE, BASE_NONE,
2347 { &hf_butc_tc_restoreDesc_realDumpId,
2348 { "realDumpId", "butc.tc_restoreDesc.realDumpId", FT_UINT32, BASE_DEC,
2352 { &hf_butc_tc_restoreDesc_spare2,
2353 { "spare2", "butc.tc_restoreDesc.spare2", FT_UINT32, BASE_DEC,
2357 { &hf_butc_tc_restoreDesc_spare3,
2358 { "spare3", "butc.tc_restoreDesc.spare3", FT_UINT32, BASE_DEC,
2362 { &hf_butc_tc_restoreDesc_spare4,
2363 { "spare4", "butc.tc_restoreDesc.spare4", FT_UINT32, BASE_DEC,
2367 { &hf_butc_tc_restoreDesc_oldName,
2368 { "oldName", "butc.tc_restoreDesc.oldName", FT_STRING, BASE_NONE,
2372 { &hf_butc_tc_restoreDesc_newName,
2373 { "newName", "butc.tc_restoreDesc.newName", FT_STRING, BASE_NONE,
2377 { &hf_butc_tc_dumpStat_dumpID,
2378 { "dumpID", "butc.tc_dumpStat.dumpID", FT_INT32, BASE_DEC,
2382 { &hf_butc_tc_dumpStat_bytesDumped,
2383 { "bytesDumped", "butc.tc_dumpStat.bytesDumped", FT_INT32, BASE_DEC,
2387 { &hf_butc_tc_dumpStat_volumeBeingDumped,
2388 { "volumeBeingDumped", "butc.tc_dumpStat.volumeBeingDumped", FT_UINT64, BASE_DEC,
2392 { &hf_butc_tc_dumpStat_numVolErrs,
2393 { "numVolErrs", "butc.tc_dumpStat.numVolErrs", FT_INT32, BASE_DEC,
2397 { &hf_butc_tc_dumpStat_flags,
2398 { "flags", "butc.tc_dumpStat.flags", FT_INT32, BASE_DEC,
2402 { &hf_butc_tc_dumpStat_spare1,
2403 { "spare1", "butc.tc_dumpStat.spare1", FT_UINT32, BASE_DEC,
2407 { &hf_butc_tc_dumpStat_spare2,
2408 { "spare2", "butc.tc_dumpStat.spare2", FT_UINT32, BASE_DEC,
2412 { &hf_butc_tc_dumpStat_spare3,
2413 { "spare3", "butc.tc_dumpStat.spare3", FT_UINT32, BASE_DEC,
2417 { &hf_butc_tc_dumpStat_spare4,
2418 { "spare4", "butc.tc_dumpStat.spare4", FT_UINT32, BASE_DEC,
2422 { &hf_butc_tc_tapeLabel_size,
2423 { "size", "butc.tc_tapeLabel.size", FT_UINT32, BASE_DEC,
2427 { &hf_butc_tc_tapeLabel_size_ext,
2428 { "size_ext", "butc.tc_tapeLabel.size_ext", FT_UINT32, BASE_DEC,
2432 { &hf_butc_tc_tapeLabel_spare1,
2433 { "spare1", "butc.tc_tapeLabel.spare1", FT_UINT32, BASE_DEC,
2437 { &hf_butc_tc_tapeLabel_spare2,
2438 { "spare2", "butc.tc_tapeLabel.spare2", FT_UINT32, BASE_DEC,
2442 { &hf_butc_tc_tapeLabel_spare3,
2443 { "spare3", "butc.tc_tapeLabel.spare3", FT_UINT32, BASE_DEC,
2447 { &hf_butc_tc_tapeLabel_spare4,
2448 { "spare4", "butc.tc_tapeLabel.spare4", FT_UINT32, BASE_DEC,
2452 { &hf_butc_tc_tapeLabel_nameLen,
2453 { "nameLen", "butc.tc_tapeLabel.nameLen", FT_UINT32, BASE_DEC,
2457 { &hf_butc_tc_tapeLabel_name,
2458 { "name", "butc.tc_tapeLabel.name", FT_STRING, BASE_NONE,
2462 { &hf_butc_tc_tapeSet_id,
2463 { "id", "butc.tc_tapeSet.id", FT_INT32, BASE_DEC,
2467 { &hf_butc_tc_tapeSet_tapeServer,
2468 { "tapeServer", "butc.tc_tapeSet.tapeServer", FT_STRING, BASE_NONE,
2472 { &hf_butc_tc_tapeSet_format,
2473 { "format", "butc.tc_tapeSet.format", FT_STRING, BASE_NONE,
2477 { &hf_butc_tc_tapeSet_maxTapes,
2478 { "maxTapes", "butc.tc_tapeSet.maxTapes", FT_INT32, BASE_DEC,
2482 { &hf_butc_tc_tapeSet_a,
2483 { "a", "butc.tc_tapeSet.a", FT_INT32, BASE_DEC,
2487 { &hf_butc_tc_tapeSet_b,
2488 { "b", "butc.tc_tapeSet.b", FT_INT32, BASE_DEC,
2492 { &hf_butc_tc_tapeSet_expDate,
2493 { "expDate", "butc.tc_tapeSet.expDate", FT_INT32, BASE_DEC,
2497 { &hf_butc_tc_tapeSet_expType,
2498 { "expType", "butc.tc_tapeSet.expType", FT_INT32, BASE_DEC,
2502 { &hf_butc_tc_tapeSet_spare1,
2503 { "spare1", "butc.tc_tapeSet.spare1", FT_UINT32, BASE_DEC,
2507 { &hf_butc_tc_tapeSet_spare2,
2508 { "spare2", "butc.tc_tapeSet.spare2", FT_UINT32, BASE_DEC,
2512 { &hf_butc_tc_tapeSet_spare3,
2513 { "spare3", "butc.tc_tapeSet.spare3", FT_UINT32, BASE_DEC,
2517 { &hf_butc_tc_tapeSet_spare4,
2518 { "spare4", "butc.tc_tapeSet.spare4", FT_UINT32, BASE_DEC,
2522 { &hf_butc_tc_tcInfo_tcVersion,
2523 { "tcVersion", "butc.tc_tcInfo.tcVersion", FT_INT32, BASE_DEC,
2527 { &hf_butc_tc_tcInfo_spare1,
2528 { "spare1", "butc.tc_tcInfo.spare1", FT_UINT32, BASE_DEC,
2532 { &hf_butc_tc_tcInfo_spare2,
2533 { "spare2", "butc.tc_tcInfo.spare2", FT_UINT32, BASE_DEC,
2537 { &hf_butc_tc_tcInfo_spare3,
2538 { "spare3", "butc.tc_tcInfo.spare3", FT_UINT32, BASE_DEC,
2542 { &hf_butc_tc_tcInfo_spare4,
2543 { "spare4", "butc.tc_tcInfo.spare4", FT_UINT32, BASE_DEC,
2547 { &hf_butc_tc_restoreArray_tc_restoreArray_len,
2548 { "tc_restoreArray_len", "butc.tc_restoreArray.tc_restoreArray_len", FT_UINT32, BASE_DEC,
2552 { &hf_butc_tc_restoreArray_tc_restoreArray_val,
2553 { "tc_restoreArray_val", "butc.tc_restoreArray.tc_restoreArray_val", FT_NONE, BASE_NONE,
2557 { &hf_butc_tc_dumpArray_tc_dumpArray_len,
2558 { "tc_dumpArray_len", "butc.tc_dumpArray.tc_dumpArray_len", FT_UINT32, BASE_DEC,
2562 { &hf_butc_tc_dumpArray_tc_dumpArray,
2563 { "tc_dumpArray", "butc.tc_dumpArray.tc_dumpArray", FT_NONE, BASE_NONE,
2567 { &hf_butc_tc_dumpInterface_dumpPath,
2568 { "dumpPath", "butc.tc_dumpInterface.dumpPath", FT_STRING, BASE_NONE,
2572 { &hf_butc_tc_dumpInterface_volumeSetName,
2573 { "volumeSetName", "butc.tc_dumpInterface.volumeSetName", FT_STRING, BASE_NONE,
2577 { &hf_butc_tc_dumpInterface_dumpName,
2578 { "dumpName", "butc.tc_dumpInterface.dumpName", FT_STRING, BASE_NONE,
2582 { &hf_butc_tc_dumpInterface_tapeSet,
2583 { "tapeSet", "butc.tc_dumpInterface.tapeSet", FT_NONE, BASE_NONE,
2587 { &hf_butc_tc_dumpInterface_parentDumpId,
2588 { "parentDumpId", "butc.tc_dumpInterface.parentDumpId", FT_INT32, BASE_DEC,
2592 { &hf_butc_tc_dumpInterface_dumpLevel,
2593 { "dumpLevel", "butc.tc_dumpInterface.dumpLevel", FT_INT32, BASE_DEC,
2597 { &hf_butc_tc_dumpInterface_spare1,
2598 { "spare1", "butc.tc_dumpInterface.spare1", FT_UINT32, BASE_DEC,
2602 { &hf_butc_tc_dumpInterface_spare2,
2603 { "spare2", "butc.tc_dumpInterface.spare2", FT_UINT32, BASE_DEC,
2607 { &hf_butc_tc_dumpInterface_spare3,
2608 { "spare3", "butc.tc_dumpInterface.spare3", FT_UINT32, BASE_DEC,
2612 { &hf_butc_tc_dumpInterface_spare4,
2613 { "spare4", "butc.tc_dumpInterface.spare4", FT_UINT32, BASE_DEC,
2617 { &hf_butc_tc_statusInfoSwitchVol_nKBytes,
2618 { "nKBytes", "butc.tc_statusInfoSwitchVol.nKBytes", FT_UINT32, BASE_DEC,
2622 { &hf_butc_tc_statusInfoSwitchVol_volumeName,
2623 { "volumeName", "butc.tc_statusInfoSwitchVol.volumeName", FT_STRING, BASE_NONE,
2627 { &hf_butc_tc_statusInfoSwitchVol_volsFailed,
2628 { "volsFailed", "butc.tc_statusInfoSwitchVol.volsFailed", FT_INT32, BASE_DEC,
2632 { &hf_butc_tc_statusInfoSwitchVol_spare1,
2633 { "spare1", "butc.tc_statusInfoSwitchVol.spare1", FT_UINT32, BASE_DEC,
2637 { &hf_butc_tc_statusInfoSwitchLabel_tapeLabel,
2638 { "tapeLabel", "butc.tc_statusInfoSwitchLabel.tapeLabel", FT_NONE, BASE_NONE,
2642 { &hf_butc_tc_statusInfoSwitchLabel_spare1,
2643 { "spare1", "butc.tc_statusInfoSwitchLabel.spare1", FT_UINT32, BASE_DEC,
2647 { &hf_butc_tc_statusInfoSwitch_TCOP_NONE_none,
2648 { "none", "butc.tc_statusInfoSwitch.none", FT_UINT32, BASE_DEC,
2652 { &hf_butc_tc_statusInfoSwitch_TCOP_DUMP_vol,
2653 { "vol", "butc.tc_statusInfoSwitch.vol", FT_NONE, BASE_NONE,
2657 { &hf_butc_tc_statusInfoSwitch_TCOP_RESTORE_vol,
2658 { "vol", "butc.tc_statusInfoSwitch.vol", FT_NONE, BASE_NONE,
2662 { &hf_butc_tc_statusInfoSwitch_TCOP_LABELTAPE_label,
2663 { "label", "butc.tc_statusInfoSwitch.label", FT_NONE, BASE_NONE,
2667 { &hf_butc_tc_statusInfoSwitch_TCOP_READLABEL_label,
2668 { "label", "butc.tc_statusInfoSwitch.label", FT_NONE, BASE_NONE,
2672 { &hf_butc_tc_statusInfoSwitch_TCOP_SCANTAPE_spare1,
2673 { "spare1", "butc.tc_statusInfoSwitch.spare1", FT_UINT32, BASE_DEC,
2677 { &hf_butc_tc_statusInfoSwitch_TCOP_STATUS_spare2,
2678 { "spare2", "butc.tc_statusInfoSwitch.spare2", FT_UINT32, BASE_DEC,
2682 { &hf_butc_tc_statusInfoSwitch_TCOP_SAVEDB_spare3,
2683 { "spare3", "butc.tc_statusInfoSwitch.spare3", FT_UINT32, BASE_DEC,
2687 { &hf_butc_tc_statusInfoSwitch_TCOP_RESTOREDB_spare4,
2688 { "spare4", "butc.tc_statusInfoSwitch.spare4", FT_UINT32, BASE_DEC,
2692 { &hf_butc_tc_statusInfoSwitch_TCOP_SPARE_spare5,
2693 { "spare5", "butc.tc_statusInfoSwitch.spare5", FT_UINT32, BASE_DEC,
2697 { &hf_butc_tciStatusS_taskName,
2698 { "taskName", "butc.tciStatusS.taskName", FT_STRING, BASE_NONE,
2702 { &hf_butc_tciStatusS_flags,
2703 { "flags", "butc.tciStatusS.flags", FT_UINT32, BASE_DEC,
2707 { &hf_butc_tciStatusS_lastPolled,
2708 { "lastPolled", "butc.tciStatusS.lastPolled", FT_ABSOLUTE_TIME, BASE_DEC,
2712 { &hf_butc_tciStatusS_info,
2713 { "info", "butc.tciStatusS.info", FT_UINT32, BASE_DEC,
2717 { &hf_butc_tciStatusS_taskId,
2718 { "taskId", "butc.tciStatusS.taskId", FT_UINT32, BASE_DEC,
2722 { &hf_butc_tciStatusS_spare2,
2723 { "spare2", "butc.tciStatusS.spare2", FT_UINT32, BASE_DEC,
2727 { &hf_butc_tciStatusS_spare3,
2728 { "spare3", "butc.tciStatusS.spare3", FT_UINT32, BASE_DEC,
2732 { &hf_butc_tciStatusS_spare4,
2733 { "spare4", "butc.tciStatusS.spare4", FT_UINT32, BASE_DEC,
2737 { &hf_butc_BUTC_PerformDump_tcdiPtr,
2738 { "tcdiPtr", "butc.BUTC_PerformDump.tcdiPtr", FT_NONE, BASE_NONE,
2742 { &hf_butc_BUTC_PerformDump_dumps,
2743 { "dumps", "butc.BUTC_PerformDump.dumps", FT_NONE, BASE_NONE,
2747 { &hf_butc_BUTC_PerformDump_dumpID,
2748 { "dumpID", "butc.BUTC_PerformDump.dumpID", FT_INT32, BASE_DEC,
2752 { &hf_butc_BUTC_PerformRestore_dumpSetName,
2753 { "dumpSetName", "butc.BUTC_PerformRestore.dumpSetName", FT_STRING, BASE_NONE,
2757 { &hf_butc_BUTC_PerformRestore_restores,
2758 { "restores", "butc.BUTC_PerformRestore.restores", FT_NONE, BASE_NONE,
2762 { &hf_butc_BUTC_PerformRestore_dumpID,
2763 { "dumpID", "butc.BUTC_PerformRestore.dumpID", FT_INT32, BASE_DEC,
2767 { &hf_butc_BUTC_AbortDump_dumpID,
2768 { "dumpID", "butc.BUTC_AbortDump.dumpID", FT_INT32, BASE_DEC,
2772 { &hf_butc_BUTC_LabelTape_label,
2773 { "label", "butc.BUTC_LabelTape.label", FT_NONE, BASE_NONE,
2777 { &hf_butc_BUTC_LabelTape_taskId,
2778 { "taskId", "butc.BUTC_LabelTape.taskId", FT_UINT32, BASE_DEC,
2782 { &hf_butc_BUTC_ReadLabel_taskId,
2783 { "taskId", "butc.BUTC_ReadLabel.taskId", FT_UINT32, BASE_DEC,
2787 { &hf_butc_BUTC_ScanDumps_addDbFlag,
2788 { "addDbFlag", "butc.BUTC_ScanDumps.addDbFlag", FT_INT32, BASE_DEC,
2792 { &hf_butc_BUTC_ScanDumps_taskId,
2793 { "taskId", "butc.BUTC_ScanDumps.taskId", FT_UINT32, BASE_DEC,
2797 { &hf_butc_BUTC_TCInfo_tciptr,
2798 { "tciptr", "butc.BUTC_TCInfo.tciptr", FT_NONE, BASE_NONE,
2802 { &hf_butc_BUTC_SaveDb_taskId,
2803 { "taskId", "butc.BUTC_SaveDb.taskId", FT_UINT32, BASE_DEC,
2807 { &hf_butc_BUTC_RestoreDb_taskId,
2808 { "taskId", "butc.BUTC_RestoreDb.taskId", FT_UINT32, BASE_DEC,
2812 { &hf_butc_BUTC_EndStatus_taskId,
2813 { "taskId", "butc.BUTC_EndStatus.taskId", FT_UINT32, BASE_DEC,
2817 { &hf_butc_BUTC_GetStatus_taskId,
2818 { "taskId", "butc.BUTC_GetStatus.taskId", FT_UINT32, BASE_DEC,
2822 { &hf_butc_BUTC_GetStatus_statusPtr,
2823 { "statusPtr", "butc.BUTC_GetStatus.statusPtr", FT_NONE, BASE_NONE,
2827 { &hf_butc_BUTC_RequestAbort_taskId,
2828 { "taskId", "butc.BUTC_RequestAbort.taskId", FT_UINT32, BASE_DEC,
2832 { &hf_butc_BUTC_ScanStatus_taskId,
2833 { "taskId", "butc.BUTC_ScanStatus.taskId", FT_UINT32, BASE_DEC,
2837 { &hf_butc_BUTC_ScanStatus_statusPtr,
2838 { "statusPtr", "butc.BUTC_ScanStatus.statusPtr", FT_NONE, BASE_NONE,
2842 { &hf_butc_BUTC_ScanStatus_flags,
2843 { "flags", "butc.BUTC_ScanStatus.flags", FT_UINT32, BASE_DEC,
2847 /* END OF INCLUDED FILE : ETH_HFARR */
2852 static gint *ett[] = {
2855 /* INCLUDED FILE : ETH_ETTARR */
2857 &ett_butc_Restore_flags,
2858 &ett_butc_afsNetAddr,
2859 &ett_butc_tc_dumpDesc,
2860 &ett_butc_tc_restoreDesc,
2861 &ett_butc_tc_dumpStat,
2862 &ett_butc_tc_tapeLabel,
2863 &ett_butc_tc_tapeSet,
2864 &ett_butc_tc_tcInfo,
2865 &ett_butc_tc_restoreArray,
2866 &ett_butc_tc_dumpArray,
2867 &ett_butc_tc_dumpInterface,
2868 &ett_butc_tc_statusInfoSwitchVol,
2869 &ett_butc_tc_statusInfoSwitchLabel,
2870 &ett_butc_tc_statusInfoSwitch,
2871 &ett_butc_tciStatusS,
2872 /* END OF INCLUDED FILE : ETH_ETTARR */
2877 proto_butc = proto_register_protocol(
2880 proto_register_field_array(proto_butc, hf, array_length(hf));
2881 proto_register_subtree_array(ett, array_length(ett));
2884 static dcerpc_sub_dissector function_dissectors[] = {
2887 /* INCLUDED FILE : ETH_FT */
2888 { 0, "BUTC_PerformDump",
2889 butc_dissect_BUTC_PerformDump_request,
2890 butc_dissect_BUTC_PerformDump_response },
2891 { 1, "BUTC_PerformRestore",
2892 butc_dissect_BUTC_PerformRestore_request,
2893 butc_dissect_BUTC_PerformRestore_response },
2894 { 2, "BUTC_AbortDump",
2895 butc_dissect_BUTC_AbortDump_request,
2896 butc_dissect_BUTC_AbortDump_response },
2897 { 3, "BUTC_LabelTape",
2898 butc_dissect_BUTC_LabelTape_request,
2899 butc_dissect_BUTC_LabelTape_response },
2900 { 4, "BUTC_ReadLabel",
2901 butc_dissect_BUTC_ReadLabel_request,
2902 butc_dissect_BUTC_ReadLabel_response },
2903 { 5, "BUTC_ScanDumps",
2904 butc_dissect_BUTC_ScanDumps_request,
2905 butc_dissect_BUTC_ScanDumps_response },
2907 butc_dissect_BUTC_TCInfo_request,
2908 butc_dissect_BUTC_TCInfo_response },
2910 butc_dissect_BUTC_SaveDb_request,
2911 butc_dissect_BUTC_SaveDb_response },
2912 { 8, "BUTC_RestoreDb",
2913 butc_dissect_BUTC_RestoreDb_request,
2914 butc_dissect_BUTC_RestoreDb_response },
2915 { 9, "BUTC_EndStatus",
2916 butc_dissect_BUTC_EndStatus_request,
2917 butc_dissect_BUTC_EndStatus_response },
2918 { 10, "BUTC_GetStatus",
2919 butc_dissect_BUTC_GetStatus_request,
2920 butc_dissect_BUTC_GetStatus_response },
2921 { 11, "BUTC_RequestAbort",
2922 butc_dissect_BUTC_RequestAbort_request,
2923 butc_dissect_BUTC_RequestAbort_response },
2924 { 12, "BUTC_ScanStatus",
2925 butc_dissect_BUTC_ScanStatus_request,
2926 butc_dissect_BUTC_ScanStatus_response },
2927 { 13, "BUTC_GetServerInterfaces",
2928 butc_dissect_BUTC_GetServerInterfaces_request,
2929 butc_dissect_BUTC_GetServerInterfaces_response },
2930 /* END OF INCLUDED FILE : ETH_FT */
2933 { 0, NULL, NULL, NULL },
2937 proto_reg_handoff_butc(void)
2941 /* INCLUDED FILE : ETH_HANDOFF */
2942 dcerpc_init_uuid(proto_butc, ett_butc,
2943 &uuid_dcerpc_butc, ver_butc,
2944 function_dissectors, hf_butc_opnum);
2945 /* END OF INCLUDED FILE : ETH_HANDOFF */