Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-budb.c
blobff7fdc7d227874944bd47027a9152f07dad04b93
1 /* DO NOT EDIT
2 * This dissector is autogenerated
3 */
5 /* packet-dcerpc-budb.c
6 * Routines for BUDB packet disassembly
7 * ronnie sahlberg 2005
9 * Wireshark - Network traffic analyzer
10 * By Gerald Combs <gerald@wireshark.org>
11 * Copyright 1998 Gerald Combs
13 * SPDX-License-Identifier: GPL-2.0-or-later
16 #include "config.h"
18 #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-budb.h"
25 void proto_register_budb(void);
26 void proto_reg_handoff_budb(void);
28 static int proto_budb;
31 /* INCLUDED FILE : ETH_HF */
32 static int hf_budb_opnum;
33 static int hf_budb_rc;
34 static int hf_budb_principal_name;
35 static int hf_budb_principal_instance;
36 static int hf_budb_principal_cell;
37 static int hf_budb_principal_spare;
38 static int hf_budb_principal_spare1;
39 static int hf_budb_principal_spare2;
40 static int hf_budb_principal_spare3;
41 static int hf_budb_principal_spare4;
42 static int hf_budb_tapeSet_id;
43 static int hf_budb_tapeSet_tapeServer;
44 static int hf_budb_tapeSet_format;
45 static int hf_budb_tapeSet_maxTapes;
46 static int hf_budb_tapeSet_a;
47 static int hf_budb_tapeSet_b;
48 static int hf_budb_tapeSet_spare1;
49 static int hf_budb_tapeSet_spare2;
50 static int hf_budb_tapeSet_spare3;
51 static int hf_budb_tapeSet_spare4;
52 static int hf_budb_dumpEntry_id;
53 static int hf_budb_dumpEntry_parent;
54 static int hf_budb_dumpEntry_level;
55 static int hf_budb_dumpEntry_flags;
56 static int hf_budb_dumpEntry_volumeSetName;
57 static int hf_budb_dumpEntry_dumpPath;
58 static int hf_budb_dumpEntry_name;
59 static int hf_budb_dumpEntry_created;
60 static int hf_budb_dumpEntry_incTime;
61 static int hf_budb_dumpEntry_nVolumes;
62 static int hf_budb_dumpEntry_tapes;
63 static int hf_budb_dumpEntry_dumper;
64 static int hf_budb_dumpEntry_spare1;
65 static int hf_budb_dumpEntry_spare2;
66 static int hf_budb_dumpEntry_spare3;
67 static int hf_budb_dumpEntry_spare4;
68 static int hf_budb_tapeEntry_name;
69 static int hf_budb_tapeEntry_flags;
70 static int hf_budb_tapeEntry_written;
71 static int hf_budb_tapeEntry_expires;
72 static int hf_budb_tapeEntry_nMBytes;
73 static int hf_budb_tapeEntry_nBytes;
74 static int hf_budb_tapeEntry_nFiles;
75 static int hf_budb_tapeEntry_nVolumes;
76 static int hf_budb_tapeEntry_seq;
77 static int hf_budb_tapeEntry_tapeid;
78 static int hf_budb_tapeEntry_useCount;
79 static int hf_budb_tapeEntry_mediaType;
80 static int hf_budb_tapeEntry_dump;
81 static int hf_budb_tapeEntry_spare1;
82 static int hf_budb_tapeEntry_spare2;
83 static int hf_budb_tapeEntry_spare3;
84 static int hf_budb_tapeEntry_spare4;
85 static int hf_budb_volumeEntry_name;
86 static int hf_budb_volumeEntry_flags;
87 static int hf_budb_volumeEntry_id;
88 static int hf_budb_volumeEntry_server;
89 static int hf_budb_volumeEntry_partition;
90 static int hf_budb_volumeEntry_nFrags;
91 static int hf_budb_volumeEntry_position;
92 static int hf_budb_volumeEntry_clone;
93 static int hf_budb_volumeEntry_incTime;
94 static int hf_budb_volumeEntry_startByte;
95 static int hf_budb_volumeEntry_nBytes;
96 static int hf_budb_volumeEntry_seq;
97 static int hf_budb_volumeEntry_dump;
98 static int hf_budb_volumeEntry_tape;
99 static int hf_budb_volumeEntry_spare1;
100 static int hf_budb_volumeEntry_spare2;
101 static int hf_budb_volumeEntry_spare3;
102 static int hf_budb_volumeEntry_spare4;
103 static int hf_budb_volumeList_volumeList_len;
104 static int hf_budb_volumeList_volumeList_val;
105 static int hf_budb_dumpList_dumpList_len;
106 static int hf_budb_dumpList_dumpList_val;
107 static int hf_budb_tapeList_tapeList_len;
108 static int hf_budb_tapeList_tapeList_val;
109 static int hf_budb_charListT_charListT_len;
110 static int hf_budb_charListT_charListT_val;
111 static int hf_budb_DbHeader_dbversion;
112 static int hf_budb_DbHeader_created;
113 static int hf_budb_DbHeader_cell;
114 static int hf_budb_DbHeader_lastDumpId;
115 static int hf_budb_DbHeader_lastInstanceId;
116 static int hf_budb_DbHeader_lastTapeId;
117 static int hf_budb_DbHeader_spare1;
118 static int hf_budb_DbHeader_spare2;
119 static int hf_budb_DbHeader_spare3;
120 static int hf_budb_DbHeader_spare4;
121 static int hf_budb_dbVolume_name;
122 static int hf_budb_dbVolume_flags;
123 static int hf_budb_dbVolume_id;
124 static int hf_budb_dbVolume_server;
125 static int hf_budb_dbVolume_partition;
126 static int hf_budb_dbVolume_nFrags;
127 static int hf_budb_dbVolume_position;
128 static int hf_budb_dbVolume_clone;
129 static int hf_budb_dbVolume_incTime;
130 static int hf_budb_dbVolume_startByte;
131 static int hf_budb_dbVolume_nBytes;
132 static int hf_budb_dbVolume_seq;
133 static int hf_budb_dbVolume_dump;
134 static int hf_budb_dbVolume_tape;
135 static int hf_budb_dbVolume_spare1;
136 static int hf_budb_dbVolume_spare2;
137 static int hf_budb_dbVolume_spare3;
138 static int hf_budb_dbVolume_spare4;
139 static int hf_budb_structDumpHeader_type;
140 static int hf_budb_structDumpHeader_structversion;
141 static int hf_budb_structDumpHeader_size;
142 static int hf_budb_structDumpHeader_spare1;
143 static int hf_budb_structDumpHeader_spare2;
144 static int hf_budb_structDumpHeader_spare3;
145 static int hf_budb_structDumpHeader_spare4;
146 static int hf_budb_AddVolume_vol;
147 static int hf_budb_CreateDump_dump;
148 static int hf_budb_DeleteDump_id;
149 static int hf_budb_DeleteTape_tape;
150 static int hf_budb_DeleteVDP_dsname;
151 static int hf_budb_DeleteVDP_dumpPath;
152 static int hf_budb_DeleteVDP_curDumpId;
153 static int hf_budb_FindClone_dumpID;
154 static int hf_budb_FindClone_volName;
155 static int hf_budb_FindClone_clonetime;
156 static int hf_budb_FindClone_cloneSpare;
157 static int hf_budb_FindDump_volName;
158 static int hf_budb_FindDump_beforeDate;
159 static int hf_budb_FindDump_dateSpare;
160 static int hf_budb_FindDump_deptr;
161 static int hf_budb_FindLatestDump_vsname;
162 static int hf_budb_FindLatestDump_dname;
163 static int hf_budb_FindLatestDump_dumpentry;
164 static int hf_budb_FinishDump_dump;
165 static int hf_budb_FinishTape_tape;
166 static int hf_budb_GetDumps_majorVersion;
167 static int hf_budb_GetDumps_flags;
168 static int hf_budb_GetDumps_name;
169 static int hf_budb_GetDumps_start;
170 static int hf_budb_GetDumps_end;
171 static int hf_budb_GetDumps_index;
172 static int hf_budb_GetDumps_nextIndex;
173 static int hf_budb_GetDumps_dbUpdate;
174 static int hf_budb_GetDumps_dumps;
175 static int hf_budb_GetTapes_majorVersion;
176 static int hf_budb_GetTapes_flags;
177 static int hf_budb_GetTapes_name;
178 static int hf_budb_GetTapes_start;
179 static int hf_budb_GetTapes_end;
180 static int hf_budb_GetTapes_index;
181 static int hf_budb_GetTapes_nextIndex;
182 static int hf_budb_GetTapes_dbUpdate;
183 static int hf_budb_GetTapes_tapes;
184 static int hf_budb_GetVolumes_majorVersion;
185 static int hf_budb_GetVolumes_flags;
186 static int hf_budb_GetVolumes_name;
187 static int hf_budb_GetVolumes_start;
188 static int hf_budb_GetVolumes_end;
189 static int hf_budb_GetVolumes_index;
190 static int hf_budb_GetVolumes_nextIndex;
191 static int hf_budb_GetVolumes_dbUpdate;
192 static int hf_budb_GetVolumes_volumes;
193 static int hf_budb_UseTape_tape;
194 static int hf_budb_UseTape_new;
195 static int hf_budb_GetText_lockHandle;
196 static int hf_budb_GetText_textType;
197 static int hf_budb_GetText_maxLength;
198 static int hf_budb_GetText_offset;
199 static int hf_budb_GetText_nextOffset;
200 static int hf_budb_GetText_charListPtr;
201 static int hf_budb_GetTextVersion_textType;
202 static int hf_budb_GetTextVersion_tversion;
203 static int hf_budb_SaveText_lockHandle;
204 static int hf_budb_SaveText_textType;
205 static int hf_budb_SaveText_offset;
206 static int hf_budb_SaveText_flags;
207 static int hf_budb_SaveText_charListPtr;
208 static int hf_budb_FreeAllLocks_instanceId;
209 static int hf_budb_FreeLock_lockHandle;
210 static int hf_budb_GetInstanceId_instanceId;
211 static int hf_budb_GetLock_instanceId;
212 static int hf_budb_GetLock_lockName;
213 static int hf_budb_GetLock_expiration;
214 static int hf_budb_GetLock_lockHandle;
215 static int hf_budb_DbVerify_status;
216 static int hf_budb_DbVerify_orphans;
217 static int hf_budb_DbVerify_host;
218 static int hf_budb_DumpDB_maxLength;
219 static int hf_budb_DumpDB_flags;
220 static int hf_budb_DumpDB_charListPtr;
221 static int hf_budb_RestoreDbHeader_header;
222 static int hf_budb_T_GetVersion_majorVersion;
223 static int hf_budb_T_DumpHashTable_type;
224 static int hf_budb_T_DumpHashTable_filename;
225 static int hf_budb_T_DumpDatabase_filename;
226 static int hf_budb_dfs_interfaceDescription_interface_uuid;
227 static int hf_budb_dfs_interfaceDescription_vers_major;
228 static int hf_budb_dfs_interfaceDescription_vers_minor;
229 static int hf_budb_dfs_interfaceDescription_vers_provider;
230 static int hf_budb_dfs_interfaceDescription_spare0;
231 static int hf_budb_dfs_interfaceDescription_spare1;
232 static int hf_budb_dfs_interfaceDescription_spare2;
233 static int hf_budb_dfs_interfaceDescription_spare3;
234 static int hf_budb_dfs_interfaceDescription_spare4;
235 static int hf_budb_dfs_interfaceDescription_spare5;
236 static int hf_budb_dfs_interfaceDescription_spare6;
237 static int hf_budb_dfs_interfaceDescription_spare7;
238 static int hf_budb_dfs_interfaceDescription_spare8;
239 static int hf_budb_dfs_interfaceDescription_spare9;
240 static int hf_budb_dfs_interfaceDescription_spareText;
241 static int hf_budb_dfs_interfaceList_dfs_interfaceList_len;
242 static int hf_budb_dfs_interfaceList_dfs_interfaceList_val;
243 static int hf_budb_GetServerInterfaces_serverInterfacesP;
244 static int hf_budb_AddVolumes_cnt;
245 static int hf_budb_AddVolumes_vol;
246 /* END OF INCLUDED FILE : ETH_HF */
252 /* INCLUDED FILE : ETH_ETT */
253 static int ett_budb;
254 static int ett_budb_principal;
255 static int ett_budb_tapeSet;
256 static int ett_budb_dumpEntry;
257 static int ett_budb_tapeEntry;
258 static int ett_budb_volumeEntry;
259 static int ett_budb_volumeList;
260 static int ett_budb_dumpList;
261 static int ett_budb_tapeList;
262 static int ett_budb_charListT;
263 static int ett_budb_DbHeader;
264 static int ett_budb_dbVolume;
265 static int ett_budb_structDumpHeader;
266 static int ett_budb_dfs_interfaceDescription;
267 static int ett_budb_dfs_interfaceList;
268 /* END OF INCLUDED FILE : ETH_ETT */
272 static int
273 budb_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_)
275 offset=dissect_ndr_vstring(tvb, offset, pinfo, tree, di, drep, 1, hf_index, false, NULL);
276 return offset;
281 /* INCLUDED FILE : ETH_CODE */
282 static e_guid_t uuid_dcerpc_budb = {
283 0xeb814e2a, 0x0099, 0x11ca,
284 { 0x86, 0x78, 0x02, 0x60, 0x8c, 0x2e, 0xa9, 0x6e}
287 static uint16_t ver_budb = 4;
289 static int
290 budb_dissect_principal_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
292 uint32_t param=0;
293 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_name, param);
294 return offset;
297 static int
298 budb_dissect_principal_instance(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
300 uint32_t param=0;
301 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_instance, param);
302 return offset;
305 static int
306 budb_dissect_principal_cell(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
308 uint32_t param=0;
309 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_cell, param);
310 return offset;
313 static int
314 budb_dissect_principal_spare(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
316 uint32_t param=0;
317 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_spare, param);
318 return offset;
322 static int
323 budb_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_)
325 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
326 return offset;
329 static int
330 budb_dissect_principal_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
332 uint32_t param=0;
333 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_spare1, param);
334 return offset;
337 static int
338 budb_dissect_principal_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
340 uint32_t param=0;
341 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_spare2, param);
342 return offset;
345 static int
346 budb_dissect_principal_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
348 uint32_t param=0;
349 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_spare3, param);
350 return offset;
353 static int
354 budb_dissect_principal_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
356 uint32_t param=0;
357 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_spare4, param);
358 return offset;
363 budb_dissect_principal(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_)
365 proto_item *item=NULL;
366 proto_tree *tree=NULL;
367 int old_offset;
369 ALIGN_TO_4_BYTES;
371 old_offset=offset;
372 if(parent_tree){
373 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
374 tree=proto_item_add_subtree(item, ett_budb_principal);
377 offset=budb_dissect_principal_name(tvb, offset, pinfo, tree, di, drep);
379 offset=budb_dissect_principal_instance(tvb, offset, pinfo, tree, di, drep);
381 offset=budb_dissect_principal_cell(tvb, offset, pinfo, tree, di, drep);
383 offset=budb_dissect_principal_spare(tvb, offset, pinfo, tree, di, drep);
385 offset=budb_dissect_principal_spare1(tvb, offset, pinfo, tree, di, drep);
387 offset=budb_dissect_principal_spare2(tvb, offset, pinfo, tree, di, drep);
389 offset=budb_dissect_principal_spare3(tvb, offset, pinfo, tree, di, drep);
391 offset=budb_dissect_principal_spare4(tvb, offset, pinfo, tree, di, drep);
393 proto_item_set_len(item, offset-old_offset);
395 return offset;
398 static int
399 budb_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_)
401 offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
402 return offset;
405 static int
406 budb_dissect_tapeSet_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
408 uint32_t param=0;
409 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_id, param);
410 return offset;
413 static int
414 budb_dissect_tapeSet_tapeServer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
416 uint32_t param=0;
417 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_tapeServer, param);
418 return offset;
421 static int
422 budb_dissect_tapeSet_format(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
424 uint32_t param=0;
425 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_format, param);
426 return offset;
429 static int
430 budb_dissect_tapeSet_maxTapes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
432 uint32_t param=0;
433 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_maxTapes, param);
434 return offset;
437 static int
438 budb_dissect_tapeSet_a(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
440 uint32_t param=0;
441 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_a, param);
442 return offset;
445 static int
446 budb_dissect_tapeSet_b(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
448 uint32_t param=0;
449 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_b, param);
450 return offset;
453 static int
454 budb_dissect_tapeSet_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
456 uint32_t param=0;
457 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_spare1, param);
458 return offset;
461 static int
462 budb_dissect_tapeSet_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
464 uint32_t param=0;
465 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_spare2, param);
466 return offset;
469 static int
470 budb_dissect_tapeSet_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
472 uint32_t param=0;
473 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_spare3, param);
474 return offset;
477 static int
478 budb_dissect_tapeSet_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
480 uint32_t param=0;
481 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_spare4, param);
482 return offset;
487 budb_dissect_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_)
489 proto_item *item=NULL;
490 proto_tree *tree=NULL;
491 int old_offset;
493 ALIGN_TO_4_BYTES;
495 old_offset=offset;
496 if(parent_tree){
497 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
498 tree=proto_item_add_subtree(item, ett_budb_tapeSet);
501 offset=budb_dissect_tapeSet_id(tvb, offset, pinfo, tree, di, drep);
503 offset=budb_dissect_tapeSet_tapeServer(tvb, offset, pinfo, tree, di, drep);
505 offset=budb_dissect_tapeSet_format(tvb, offset, pinfo, tree, di, drep);
507 offset=budb_dissect_tapeSet_maxTapes(tvb, offset, pinfo, tree, di, drep);
509 offset=budb_dissect_tapeSet_a(tvb, offset, pinfo, tree, di, drep);
511 offset=budb_dissect_tapeSet_b(tvb, offset, pinfo, tree, di, drep);
513 offset=budb_dissect_tapeSet_spare1(tvb, offset, pinfo, tree, di, drep);
515 offset=budb_dissect_tapeSet_spare2(tvb, offset, pinfo, tree, di, drep);
517 offset=budb_dissect_tapeSet_spare3(tvb, offset, pinfo, tree, di, drep);
519 offset=budb_dissect_tapeSet_spare4(tvb, offset, pinfo, tree, di, drep);
521 proto_item_set_len(item, offset-old_offset);
523 return offset;
525 static int
526 budb_dissect_dumpEntry_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
528 uint32_t param=0;
529 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_id, param);
530 return offset;
533 static int
534 budb_dissect_dumpEntry_parent(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
536 uint32_t param=0;
537 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_parent, param);
538 return offset;
541 static int
542 budb_dissect_dumpEntry_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
544 uint32_t param=0;
545 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_level, param);
546 return offset;
549 static int
550 budb_dissect_dumpEntry_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
552 uint32_t param=0;
553 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_flags, param);
554 return offset;
557 static int
558 budb_dissect_dumpEntry_volumeSetName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
560 uint32_t param=0;
561 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_volumeSetName, param);
562 return offset;
565 static int
566 budb_dissect_dumpEntry_dumpPath(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
568 uint32_t param=0;
569 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_dumpPath, param);
570 return offset;
573 static int
574 budb_dissect_dumpEntry_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
576 uint32_t param=0;
577 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_name, param);
578 return offset;
582 static int
583 budb_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_)
586 offset=dissect_ndr_time_t(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
588 return offset;
591 static int
592 budb_dissect_dumpEntry_created(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
594 uint32_t param=0;
595 offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_created, param);
596 return offset;
599 static int
600 budb_dissect_dumpEntry_incTime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
602 uint32_t param=0;
603 offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_incTime, param);
604 return offset;
607 static int
608 budb_dissect_dumpEntry_nVolumes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
610 uint32_t param=0;
611 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_nVolumes, param);
612 return offset;
615 static int
616 budb_dissect_dumpEntry_tapes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
618 uint32_t param=0;
619 offset=budb_dissect_tapeSet(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_tapes, param);
620 return offset;
623 static int
624 budb_dissect_dumpEntry_dumper(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
626 uint32_t param=0;
627 offset=budb_dissect_principal(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_dumper, param);
628 return offset;
631 static int
632 budb_dissect_dumpEntry_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
634 uint32_t param=0;
635 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_spare1, param);
636 return offset;
639 static int
640 budb_dissect_dumpEntry_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
642 uint32_t param=0;
643 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_spare2, param);
644 return offset;
647 static int
648 budb_dissect_dumpEntry_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
650 uint32_t param=0;
651 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_spare3, param);
652 return offset;
655 static int
656 budb_dissect_dumpEntry_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
658 uint32_t param=0;
659 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_spare4, param);
660 return offset;
665 budb_dissect_dumpEntry(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_)
667 proto_item *item=NULL;
668 proto_tree *tree=NULL;
669 int old_offset;
671 ALIGN_TO_4_BYTES;
673 old_offset=offset;
674 if(parent_tree){
675 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
676 tree=proto_item_add_subtree(item, ett_budb_dumpEntry);
679 offset=budb_dissect_dumpEntry_id(tvb, offset, pinfo, tree, di, drep);
681 offset=budb_dissect_dumpEntry_parent(tvb, offset, pinfo, tree, di, drep);
683 offset=budb_dissect_dumpEntry_level(tvb, offset, pinfo, tree, di, drep);
685 offset=budb_dissect_dumpEntry_flags(tvb, offset, pinfo, tree, di, drep);
687 offset=budb_dissect_dumpEntry_volumeSetName(tvb, offset, pinfo, tree, di, drep);
689 offset=budb_dissect_dumpEntry_dumpPath(tvb, offset, pinfo, tree, di, drep);
691 offset=budb_dissect_dumpEntry_name(tvb, offset, pinfo, tree, di, drep);
693 offset=budb_dissect_dumpEntry_created(tvb, offset, pinfo, tree, di, drep);
695 offset=budb_dissect_dumpEntry_incTime(tvb, offset, pinfo, tree, di, drep);
697 offset=budb_dissect_dumpEntry_nVolumes(tvb, offset, pinfo, tree, di, drep);
699 offset=budb_dissect_dumpEntry_tapes(tvb, offset, pinfo, tree, di, drep);
701 offset=budb_dissect_dumpEntry_dumper(tvb, offset, pinfo, tree, di, drep);
703 offset=budb_dissect_dumpEntry_spare1(tvb, offset, pinfo, tree, di, drep);
705 offset=budb_dissect_dumpEntry_spare2(tvb, offset, pinfo, tree, di, drep);
707 offset=budb_dissect_dumpEntry_spare3(tvb, offset, pinfo, tree, di, drep);
709 offset=budb_dissect_dumpEntry_spare4(tvb, offset, pinfo, tree, di, drep);
711 proto_item_set_len(item, offset-old_offset);
713 return offset;
715 static int
716 budb_dissect_tapeEntry_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
718 uint32_t param=0;
719 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_name, param);
720 return offset;
723 static int
724 budb_dissect_tapeEntry_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
726 uint32_t param=0;
727 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_flags, param);
728 return offset;
731 static int
732 budb_dissect_tapeEntry_written(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
734 uint32_t param=0;
735 offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_written, param);
736 return offset;
739 static int
740 budb_dissect_tapeEntry_expires(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
742 uint32_t param=0;
743 offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_expires, param);
744 return offset;
747 static int
748 budb_dissect_tapeEntry_nMBytes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
750 uint32_t param=0;
751 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_nMBytes, param);
752 return offset;
755 static int
756 budb_dissect_tapeEntry_nBytes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
758 uint32_t param=0;
759 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_nBytes, param);
760 return offset;
763 static int
764 budb_dissect_tapeEntry_nFiles(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
766 uint32_t param=0;
767 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_nFiles, param);
768 return offset;
771 static int
772 budb_dissect_tapeEntry_nVolumes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
774 uint32_t param=0;
775 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_nVolumes, param);
776 return offset;
779 static int
780 budb_dissect_tapeEntry_seq(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
782 uint32_t param=0;
783 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_seq, param);
784 return offset;
787 static int
788 budb_dissect_tapeEntry_tapeid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
790 uint32_t param=0;
791 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_tapeid, param);
792 return offset;
795 static int
796 budb_dissect_tapeEntry_useCount(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
798 uint32_t param=0;
799 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_useCount, param);
800 return offset;
803 static int
804 budb_dissect_tapeEntry_mediaType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
806 uint32_t param=0;
807 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_mediaType, param);
808 return offset;
811 static int
812 budb_dissect_tapeEntry_dump(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
814 uint32_t param=0;
815 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_dump, param);
816 return offset;
819 static int
820 budb_dissect_tapeEntry_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
822 uint32_t param=0;
823 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_spare1, param);
824 return offset;
827 static int
828 budb_dissect_tapeEntry_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
830 uint32_t param=0;
831 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_spare2, param);
832 return offset;
835 static int
836 budb_dissect_tapeEntry_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
838 uint32_t param=0;
839 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_spare3, param);
840 return offset;
843 static int
844 budb_dissect_tapeEntry_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
846 uint32_t param=0;
847 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_spare4, param);
848 return offset;
853 budb_dissect_tapeEntry(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_)
855 proto_item *item=NULL;
856 proto_tree *tree=NULL;
857 int old_offset;
859 ALIGN_TO_4_BYTES;
861 old_offset=offset;
862 if(parent_tree){
863 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
864 tree=proto_item_add_subtree(item, ett_budb_tapeEntry);
867 offset=budb_dissect_tapeEntry_name(tvb, offset, pinfo, tree, di, drep);
869 offset=budb_dissect_tapeEntry_flags(tvb, offset, pinfo, tree, di, drep);
871 offset=budb_dissect_tapeEntry_written(tvb, offset, pinfo, tree, di, drep);
873 offset=budb_dissect_tapeEntry_expires(tvb, offset, pinfo, tree, di, drep);
875 offset=budb_dissect_tapeEntry_nMBytes(tvb, offset, pinfo, tree, di, drep);
877 offset=budb_dissect_tapeEntry_nBytes(tvb, offset, pinfo, tree, di, drep);
879 offset=budb_dissect_tapeEntry_nFiles(tvb, offset, pinfo, tree, di, drep);
881 offset=budb_dissect_tapeEntry_nVolumes(tvb, offset, pinfo, tree, di, drep);
883 offset=budb_dissect_tapeEntry_seq(tvb, offset, pinfo, tree, di, drep);
885 offset=budb_dissect_tapeEntry_tapeid(tvb, offset, pinfo, tree, di, drep);
887 offset=budb_dissect_tapeEntry_useCount(tvb, offset, pinfo, tree, di, drep);
889 offset=budb_dissect_tapeEntry_mediaType(tvb, offset, pinfo, tree, di, drep);
891 offset=budb_dissect_tapeEntry_dump(tvb, offset, pinfo, tree, di, drep);
893 offset=budb_dissect_tapeEntry_spare1(tvb, offset, pinfo, tree, di, drep);
895 offset=budb_dissect_tapeEntry_spare2(tvb, offset, pinfo, tree, di, drep);
897 offset=budb_dissect_tapeEntry_spare3(tvb, offset, pinfo, tree, di, drep);
899 offset=budb_dissect_tapeEntry_spare4(tvb, offset, pinfo, tree, di, drep);
901 proto_item_set_len(item, offset-old_offset);
903 return offset;
905 static int
906 budb_dissect_volumeEntry_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
908 uint32_t param=0;
909 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_name, param);
910 return offset;
913 static int
914 budb_dissect_volumeEntry_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
916 uint32_t param=0;
917 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_flags, param);
918 return offset;
922 static int
923 budb_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_)
926 offset=dissect_ndr_duint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
928 return offset;
931 static int
932 budb_dissect_volumeEntry_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
934 uint32_t param=0;
935 offset=budb_dissect_udlong(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_id, param);
936 return offset;
939 static int
940 budb_dissect_volumeEntry_server(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
942 uint32_t param=0;
943 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_server, param);
944 return offset;
947 static int
948 budb_dissect_volumeEntry_partition(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
950 uint32_t param=0;
951 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_partition, param);
952 return offset;
955 static int
956 budb_dissect_volumeEntry_nFrags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
958 uint32_t param=0;
959 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_nFrags, param);
960 return offset;
963 static int
964 budb_dissect_volumeEntry_position(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
966 uint32_t param=0;
967 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_position, param);
968 return offset;
971 static int
972 budb_dissect_volumeEntry_clone(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
974 uint32_t param=0;
975 offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_clone, param);
976 return offset;
979 static int
980 budb_dissect_volumeEntry_incTime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
982 uint32_t param=0;
983 offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_incTime, param);
984 return offset;
987 static int
988 budb_dissect_volumeEntry_startByte(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
990 uint32_t param=0;
991 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_startByte, param);
992 return offset;
995 static int
996 budb_dissect_volumeEntry_nBytes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
998 uint32_t param=0;
999 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_nBytes, param);
1000 return offset;
1003 static int
1004 budb_dissect_volumeEntry_seq(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1006 uint32_t param=0;
1007 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_seq, param);
1008 return offset;
1011 static int
1012 budb_dissect_volumeEntry_dump(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1014 uint32_t param=0;
1015 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_dump, param);
1016 return offset;
1019 static int
1020 budb_dissect_volumeEntry_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1022 uint32_t param=0;
1023 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_tape, param);
1024 return offset;
1027 static int
1028 budb_dissect_volumeEntry_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1030 uint32_t param=0;
1031 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_spare1, param);
1032 return offset;
1035 static int
1036 budb_dissect_volumeEntry_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1038 uint32_t param=0;
1039 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_spare2, param);
1040 return offset;
1043 static int
1044 budb_dissect_volumeEntry_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1046 uint32_t param=0;
1047 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_spare3, param);
1048 return offset;
1051 static int
1052 budb_dissect_volumeEntry_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1054 uint32_t param=0;
1055 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_spare4, param);
1056 return offset;
1061 budb_dissect_volumeEntry(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_)
1063 proto_item *item=NULL;
1064 proto_tree *tree=NULL;
1065 int old_offset;
1067 ALIGN_TO_4_BYTES;
1069 old_offset=offset;
1070 if(parent_tree){
1071 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1072 tree=proto_item_add_subtree(item, ett_budb_volumeEntry);
1075 offset=budb_dissect_volumeEntry_name(tvb, offset, pinfo, tree, di, drep);
1077 offset=budb_dissect_volumeEntry_flags(tvb, offset, pinfo, tree, di, drep);
1079 offset=budb_dissect_volumeEntry_id(tvb, offset, pinfo, tree, di, drep);
1081 offset=budb_dissect_volumeEntry_server(tvb, offset, pinfo, tree, di, drep);
1083 offset=budb_dissect_volumeEntry_partition(tvb, offset, pinfo, tree, di, drep);
1085 offset=budb_dissect_volumeEntry_nFrags(tvb, offset, pinfo, tree, di, drep);
1087 offset=budb_dissect_volumeEntry_position(tvb, offset, pinfo, tree, di, drep);
1089 offset=budb_dissect_volumeEntry_clone(tvb, offset, pinfo, tree, di, drep);
1091 offset=budb_dissect_volumeEntry_incTime(tvb, offset, pinfo, tree, di, drep);
1093 offset=budb_dissect_volumeEntry_startByte(tvb, offset, pinfo, tree, di, drep);
1095 offset=budb_dissect_volumeEntry_nBytes(tvb, offset, pinfo, tree, di, drep);
1097 offset=budb_dissect_volumeEntry_seq(tvb, offset, pinfo, tree, di, drep);
1099 offset=budb_dissect_volumeEntry_dump(tvb, offset, pinfo, tree, di, drep);
1101 offset=budb_dissect_volumeEntry_tape(tvb, offset, pinfo, tree, di, drep);
1103 offset=budb_dissect_volumeEntry_spare1(tvb, offset, pinfo, tree, di, drep);
1105 offset=budb_dissect_volumeEntry_spare2(tvb, offset, pinfo, tree, di, drep);
1107 offset=budb_dissect_volumeEntry_spare3(tvb, offset, pinfo, tree, di, drep);
1109 offset=budb_dissect_volumeEntry_spare4(tvb, offset, pinfo, tree, di, drep);
1111 proto_item_set_len(item, offset-old_offset);
1113 return offset;
1115 static int
1116 budb_dissect_volumeList_volumeList_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1118 uint32_t param=0;
1119 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeList_volumeList_len, param);
1120 return offset;
1123 static int
1124 budb_dissect_volumeList_volumeList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1126 uint32_t param=0;
1127 offset=budb_dissect_volumeEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeList_volumeList_val, param);
1128 return offset;
1131 static int
1132 ptr_budb_dissect_volumeList_volumeList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1134 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_volumeList_volumeList_val, NDR_POINTER_PTR, "volumeList_val", -1);
1135 return offset;
1138 static int
1139 ucarray_ptr_budb_dissect_volumeList_volumeList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1141 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, ptr_budb_dissect_volumeList_volumeList_val);
1142 return offset;
1147 budb_dissect_volumeList(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_)
1149 proto_item *item=NULL;
1150 proto_tree *tree=NULL;
1151 int old_offset;
1153 ALIGN_TO_4_BYTES;
1155 old_offset=offset;
1156 if(parent_tree){
1157 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1158 tree=proto_item_add_subtree(item, ett_budb_volumeList);
1161 offset=budb_dissect_volumeList_volumeList_len(tvb, offset, pinfo, tree, di, drep);
1163 offset=ucarray_ptr_budb_dissect_volumeList_volumeList_val(tvb, offset, pinfo, tree, di, drep);
1165 proto_item_set_len(item, offset-old_offset);
1167 return offset;
1169 static int
1170 budb_dissect_dumpList_dumpList_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1172 uint32_t param=0;
1173 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpList_dumpList_len, param);
1174 return offset;
1177 static int
1178 budb_dissect_dumpList_dumpList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1180 uint32_t param=0;
1181 offset=budb_dissect_dumpEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpList_dumpList_val, param);
1182 return offset;
1185 static int
1186 ptr_budb_dissect_dumpList_dumpList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1188 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_dumpList_dumpList_val, NDR_POINTER_PTR, "dumpList_val", -1);
1189 return offset;
1192 static int
1193 ucarray_ptr_budb_dissect_dumpList_dumpList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1195 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, ptr_budb_dissect_dumpList_dumpList_val);
1196 return offset;
1201 budb_dissect_dumpList(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_)
1203 proto_item *item=NULL;
1204 proto_tree *tree=NULL;
1205 int old_offset;
1207 ALIGN_TO_4_BYTES;
1209 old_offset=offset;
1210 if(parent_tree){
1211 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1212 tree=proto_item_add_subtree(item, ett_budb_dumpList);
1215 offset=budb_dissect_dumpList_dumpList_len(tvb, offset, pinfo, tree, di, drep);
1217 offset=ucarray_ptr_budb_dissect_dumpList_dumpList_val(tvb, offset, pinfo, tree, di, drep);
1219 proto_item_set_len(item, offset-old_offset);
1221 return offset;
1223 static int
1224 budb_dissect_tapeList_tapeList_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1226 uint32_t param=0;
1227 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeList_tapeList_len, param);
1228 return offset;
1231 static int
1232 budb_dissect_tapeList_tapeList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1234 uint32_t param=0;
1235 offset=budb_dissect_tapeEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeList_tapeList_val, param);
1236 return offset;
1239 static int
1240 ptr_budb_dissect_tapeList_tapeList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1242 offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_tapeList_tapeList_val, NDR_POINTER_PTR, "tapeList_val", -1);
1243 return offset;
1246 static int
1247 ucarray_ptr_budb_dissect_tapeList_tapeList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1249 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, ptr_budb_dissect_tapeList_tapeList_val);
1250 return offset;
1255 budb_dissect_tapeList(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_)
1257 proto_item *item=NULL;
1258 proto_tree *tree=NULL;
1259 int old_offset;
1261 ALIGN_TO_4_BYTES;
1263 old_offset=offset;
1264 if(parent_tree){
1265 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1266 tree=proto_item_add_subtree(item, ett_budb_tapeList);
1269 offset=budb_dissect_tapeList_tapeList_len(tvb, offset, pinfo, tree, di, drep);
1271 offset=ucarray_ptr_budb_dissect_tapeList_tapeList_val(tvb, offset, pinfo, tree, di, drep);
1273 proto_item_set_len(item, offset-old_offset);
1275 return offset;
1277 static int
1278 budb_dissect_charListT_charListT_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1280 uint32_t param=0;
1281 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_charListT_charListT_len, param);
1282 return offset;
1286 static int
1287 budb_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_)
1289 offset=dissect_ndr_uint8(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
1290 return offset;
1293 static int
1294 budb_dissect_charListT_charListT_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1296 uint32_t param=0;
1297 offset=budb_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_budb_charListT_charListT_val, param);
1298 return offset;
1301 static int
1302 fixedarray_budb_dissect_charListT_charListT_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1304 int count=1024;
1305 while(count--){
1306 offset=budb_dissect_charListT_charListT_val(tvb, offset, pinfo, tree, di, drep);
1309 return offset;
1312 static int
1313 uvarray_fixedarray_budb_dissect_charListT_charListT_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1315 offset=dissect_ndr_uvarray(tvb, offset, pinfo, tree, di, drep, fixedarray_budb_dissect_charListT_charListT_val);
1316 return offset;
1321 budb_dissect_charListT(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_)
1323 proto_item *item=NULL;
1324 proto_tree *tree=NULL;
1325 int old_offset;
1327 ALIGN_TO_4_BYTES;
1329 old_offset=offset;
1330 if(parent_tree){
1331 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1332 tree=proto_item_add_subtree(item, ett_budb_charListT);
1335 offset=budb_dissect_charListT_charListT_len(tvb, offset, pinfo, tree, di, drep);
1337 offset=uvarray_fixedarray_budb_dissect_charListT_charListT_val(tvb, offset, pinfo, tree, di, drep);
1339 proto_item_set_len(item, offset-old_offset);
1341 return offset;
1343 static int
1344 budb_dissect_DbHeader_dbversion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1346 uint32_t param=0;
1347 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_dbversion, param);
1348 return offset;
1351 static int
1352 budb_dissect_DbHeader_created(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1354 uint32_t param=0;
1355 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_created, param);
1356 return offset;
1359 static int
1360 budb_dissect_DbHeader_cell(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1362 uint32_t param=0;
1363 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_cell, param);
1364 return offset;
1367 static int
1368 budb_dissect_DbHeader_lastDumpId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1370 uint32_t param=0;
1371 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_lastDumpId, param);
1372 return offset;
1375 static int
1376 budb_dissect_DbHeader_lastInstanceId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1378 uint32_t param=0;
1379 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_lastInstanceId, param);
1380 return offset;
1383 static int
1384 budb_dissect_DbHeader_lastTapeId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1386 uint32_t param=0;
1387 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_lastTapeId, param);
1388 return offset;
1391 static int
1392 budb_dissect_DbHeader_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1394 uint32_t param=0;
1395 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_spare1, param);
1396 return offset;
1399 static int
1400 budb_dissect_DbHeader_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1402 uint32_t param=0;
1403 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_spare2, param);
1404 return offset;
1407 static int
1408 budb_dissect_DbHeader_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1410 uint32_t param=0;
1411 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_spare3, param);
1412 return offset;
1415 static int
1416 budb_dissect_DbHeader_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1418 uint32_t param=0;
1419 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_spare4, param);
1420 return offset;
1425 budb_dissect_DbHeader(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_)
1427 proto_item *item=NULL;
1428 proto_tree *tree=NULL;
1429 int old_offset;
1431 ALIGN_TO_4_BYTES;
1433 old_offset=offset;
1434 if(parent_tree){
1435 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1436 tree=proto_item_add_subtree(item, ett_budb_DbHeader);
1439 offset=budb_dissect_DbHeader_dbversion(tvb, offset, pinfo, tree, di, drep);
1441 offset=budb_dissect_DbHeader_created(tvb, offset, pinfo, tree, di, drep);
1443 offset=budb_dissect_DbHeader_cell(tvb, offset, pinfo, tree, di, drep);
1445 offset=budb_dissect_DbHeader_lastDumpId(tvb, offset, pinfo, tree, di, drep);
1447 offset=budb_dissect_DbHeader_lastInstanceId(tvb, offset, pinfo, tree, di, drep);
1449 offset=budb_dissect_DbHeader_lastTapeId(tvb, offset, pinfo, tree, di, drep);
1451 offset=budb_dissect_DbHeader_spare1(tvb, offset, pinfo, tree, di, drep);
1453 offset=budb_dissect_DbHeader_spare2(tvb, offset, pinfo, tree, di, drep);
1455 offset=budb_dissect_DbHeader_spare3(tvb, offset, pinfo, tree, di, drep);
1457 offset=budb_dissect_DbHeader_spare4(tvb, offset, pinfo, tree, di, drep);
1459 proto_item_set_len(item, offset-old_offset);
1461 return offset;
1463 static int
1464 budb_dissect_dbVolume_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1466 uint32_t param=0;
1467 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_name, param);
1468 return offset;
1471 static int
1472 budb_dissect_dbVolume_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1474 uint32_t param=0;
1475 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_flags, param);
1476 return offset;
1479 static int
1480 budb_dissect_dbVolume_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1482 uint32_t param=0;
1483 offset=budb_dissect_udlong(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_id, param);
1484 return offset;
1487 static int
1488 budb_dissect_dbVolume_server(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1490 uint32_t param=0;
1491 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_server, param);
1492 return offset;
1495 static int
1496 budb_dissect_dbVolume_partition(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1498 uint32_t param=0;
1499 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_partition, param);
1500 return offset;
1503 static int
1504 budb_dissect_dbVolume_nFrags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1506 uint32_t param=0;
1507 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_nFrags, param);
1508 return offset;
1511 static int
1512 budb_dissect_dbVolume_position(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1514 uint32_t param=0;
1515 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_position, param);
1516 return offset;
1519 static int
1520 budb_dissect_dbVolume_clone(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1522 uint32_t param=0;
1523 offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_clone, param);
1524 return offset;
1527 static int
1528 budb_dissect_dbVolume_incTime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1530 uint32_t param=0;
1531 offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_incTime, param);
1532 return offset;
1535 static int
1536 budb_dissect_dbVolume_startByte(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1538 uint32_t param=0;
1539 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_startByte, param);
1540 return offset;
1543 static int
1544 budb_dissect_dbVolume_nBytes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1546 uint32_t param=0;
1547 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_nBytes, param);
1548 return offset;
1551 static int
1552 budb_dissect_dbVolume_seq(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1554 uint32_t param=0;
1555 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_seq, param);
1556 return offset;
1559 static int
1560 budb_dissect_dbVolume_dump(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1562 uint32_t param=0;
1563 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_dump, param);
1564 return offset;
1567 static int
1568 budb_dissect_dbVolume_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1570 uint32_t param=0;
1571 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_tape, param);
1572 return offset;
1575 static int
1576 budb_dissect_dbVolume_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1578 uint32_t param=0;
1579 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_spare1, param);
1580 return offset;
1583 static int
1584 budb_dissect_dbVolume_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1586 uint32_t param=0;
1587 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_spare2, param);
1588 return offset;
1591 static int
1592 budb_dissect_dbVolume_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1594 uint32_t param=0;
1595 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_spare3, param);
1596 return offset;
1599 static int
1600 budb_dissect_dbVolume_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1602 uint32_t param=0;
1603 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_spare4, param);
1604 return offset;
1609 budb_dissect_dbVolume(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_)
1611 proto_item *item=NULL;
1612 proto_tree *tree=NULL;
1613 int old_offset;
1615 ALIGN_TO_4_BYTES;
1617 old_offset=offset;
1618 if(parent_tree){
1619 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1620 tree=proto_item_add_subtree(item, ett_budb_dbVolume);
1623 offset=budb_dissect_dbVolume_name(tvb, offset, pinfo, tree, di, drep);
1625 offset=budb_dissect_dbVolume_flags(tvb, offset, pinfo, tree, di, drep);
1627 offset=budb_dissect_dbVolume_id(tvb, offset, pinfo, tree, di, drep);
1629 offset=budb_dissect_dbVolume_server(tvb, offset, pinfo, tree, di, drep);
1631 offset=budb_dissect_dbVolume_partition(tvb, offset, pinfo, tree, di, drep);
1633 offset=budb_dissect_dbVolume_nFrags(tvb, offset, pinfo, tree, di, drep);
1635 offset=budb_dissect_dbVolume_position(tvb, offset, pinfo, tree, di, drep);
1637 offset=budb_dissect_dbVolume_clone(tvb, offset, pinfo, tree, di, drep);
1639 offset=budb_dissect_dbVolume_incTime(tvb, offset, pinfo, tree, di, drep);
1641 offset=budb_dissect_dbVolume_startByte(tvb, offset, pinfo, tree, di, drep);
1643 offset=budb_dissect_dbVolume_nBytes(tvb, offset, pinfo, tree, di, drep);
1645 offset=budb_dissect_dbVolume_seq(tvb, offset, pinfo, tree, di, drep);
1647 offset=budb_dissect_dbVolume_dump(tvb, offset, pinfo, tree, di, drep);
1649 offset=budb_dissect_dbVolume_tape(tvb, offset, pinfo, tree, di, drep);
1651 offset=budb_dissect_dbVolume_spare1(tvb, offset, pinfo, tree, di, drep);
1653 offset=budb_dissect_dbVolume_spare2(tvb, offset, pinfo, tree, di, drep);
1655 offset=budb_dissect_dbVolume_spare3(tvb, offset, pinfo, tree, di, drep);
1657 offset=budb_dissect_dbVolume_spare4(tvb, offset, pinfo, tree, di, drep);
1659 proto_item_set_len(item, offset-old_offset);
1661 return offset;
1663 static int
1664 budb_dissect_structDumpHeader_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1666 uint32_t param=0;
1667 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_structDumpHeader_type, param);
1668 return offset;
1671 static int
1672 budb_dissect_structDumpHeader_structversion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1674 uint32_t param=0;
1675 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_structDumpHeader_structversion, param);
1676 return offset;
1679 static int
1680 budb_dissect_structDumpHeader_size(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1682 uint32_t param=0;
1683 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_structDumpHeader_size, param);
1684 return offset;
1687 static int
1688 budb_dissect_structDumpHeader_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1690 uint32_t param=0;
1691 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_structDumpHeader_spare1, param);
1692 return offset;
1695 static int
1696 budb_dissect_structDumpHeader_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1698 uint32_t param=0;
1699 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_structDumpHeader_spare2, param);
1700 return offset;
1703 static int
1704 budb_dissect_structDumpHeader_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1706 uint32_t param=0;
1707 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_structDumpHeader_spare3, param);
1708 return offset;
1711 static int
1712 budb_dissect_structDumpHeader_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1714 uint32_t param=0;
1715 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_structDumpHeader_spare4, param);
1716 return offset;
1721 budb_dissect_structDumpHeader(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_)
1723 proto_item *item=NULL;
1724 proto_tree *tree=NULL;
1725 int old_offset;
1727 ALIGN_TO_4_BYTES;
1729 old_offset=offset;
1730 if(parent_tree){
1731 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1732 tree=proto_item_add_subtree(item, ett_budb_structDumpHeader);
1735 offset=budb_dissect_structDumpHeader_type(tvb, offset, pinfo, tree, di, drep);
1737 offset=budb_dissect_structDumpHeader_structversion(tvb, offset, pinfo, tree, di, drep);
1739 offset=budb_dissect_structDumpHeader_size(tvb, offset, pinfo, tree, di, drep);
1741 offset=budb_dissect_structDumpHeader_spare1(tvb, offset, pinfo, tree, di, drep);
1743 offset=budb_dissect_structDumpHeader_spare2(tvb, offset, pinfo, tree, di, drep);
1745 offset=budb_dissect_structDumpHeader_spare3(tvb, offset, pinfo, tree, di, drep);
1747 offset=budb_dissect_structDumpHeader_spare4(tvb, offset, pinfo, tree, di, drep);
1749 proto_item_set_len(item, offset-old_offset);
1751 return offset;
1753 static int
1754 budb_dissect_AddVolume_vol(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1756 uint32_t param=0;
1757 offset=budb_dissect_volumeEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_AddVolume_vol, param);
1758 return offset;
1761 static int
1762 ref_budb_dissect_AddVolume_vol(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1764 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_AddVolume_vol, NDR_POINTER_REF, "vol", -1);
1765 return offset;
1769 static int
1770 budb_dissect_AddVolume_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1772 offset=ref_budb_dissect_AddVolume_vol(tvb, offset, pinfo, tree, di, drep);
1773 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1776 return offset;
1779 static int
1780 budb_dissect_AddVolume_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1782 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
1785 return offset;
1787 static int
1788 budb_dissect_CreateDump_dump(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1790 uint32_t param=0;
1791 offset=budb_dissect_dumpEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_CreateDump_dump, param);
1792 return offset;
1795 static int
1796 ref_budb_dissect_CreateDump_dump(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1798 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_CreateDump_dump, NDR_POINTER_REF, "dump", -1);
1799 return offset;
1803 static int
1804 budb_dissect_CreateDump_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1806 offset=ref_budb_dissect_CreateDump_dump(tvb, offset, pinfo, tree, di, drep);
1807 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1810 return offset;
1813 static int
1814 budb_dissect_CreateDump_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1816 offset=ref_budb_dissect_CreateDump_dump(tvb, offset, pinfo, tree, di, drep);
1817 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1819 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
1822 return offset;
1824 static int
1825 budb_dissect_DeleteDump_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1827 uint32_t param=0;
1828 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DeleteDump_id, param);
1829 return offset;
1833 static int
1834 budb_dissect_DeleteDump_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1836 offset=budb_dissect_DeleteDump_id(tvb, offset, pinfo, tree, di, drep);
1837 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1840 return offset;
1843 static int
1844 budb_dissect_DeleteDump_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1846 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
1849 return offset;
1851 static int
1852 budb_dissect_DeleteTape_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1854 uint32_t param=0;
1855 offset=budb_dissect_tapeEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_DeleteTape_tape, param);
1856 return offset;
1859 static int
1860 ref_budb_dissect_DeleteTape_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1862 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DeleteTape_tape, NDR_POINTER_REF, "tape", -1);
1863 return offset;
1867 static int
1868 budb_dissect_DeleteTape_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1870 offset=ref_budb_dissect_DeleteTape_tape(tvb, offset, pinfo, tree, di, drep);
1871 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1874 return offset;
1877 static int
1878 budb_dissect_DeleteTape_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1880 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
1883 return offset;
1885 static int
1886 budb_dissect_DeleteVDP_dsname(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1888 uint32_t param=0;
1889 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_DeleteVDP_dsname, param);
1890 return offset;
1893 static int
1894 ptr_budb_dissect_DeleteVDP_dsname(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1896 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DeleteVDP_dsname, NDR_POINTER_PTR, "dsname", -1);
1897 return offset;
1900 static int
1901 budb_dissect_DeleteVDP_dumpPath(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1903 uint32_t param=0;
1904 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_DeleteVDP_dumpPath, param);
1905 return offset;
1908 static int
1909 ptr_budb_dissect_DeleteVDP_dumpPath(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1911 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DeleteVDP_dumpPath, NDR_POINTER_PTR, "dumpPath", -1);
1912 return offset;
1915 static int
1916 budb_dissect_DeleteVDP_curDumpId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1918 uint32_t param=0;
1919 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DeleteVDP_curDumpId, param);
1920 return offset;
1924 static int
1925 budb_dissect_DeleteVDP_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1927 offset=ptr_budb_dissect_DeleteVDP_dsname(tvb, offset, pinfo, tree, di, drep);
1928 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1930 offset=ptr_budb_dissect_DeleteVDP_dumpPath(tvb, offset, pinfo, tree, di, drep);
1931 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1933 offset=budb_dissect_DeleteVDP_curDumpId(tvb, offset, pinfo, tree, di, drep);
1934 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1937 return offset;
1940 static int
1941 budb_dissect_DeleteVDP_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1943 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
1946 return offset;
1948 static int
1949 budb_dissect_FindClone_dumpID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1951 uint32_t param=0;
1952 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_FindClone_dumpID, param);
1953 return offset;
1956 static int
1957 budb_dissect_FindClone_volName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1959 uint32_t param=0;
1960 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_FindClone_volName, param);
1961 return offset;
1964 static int
1965 ptr_budb_dissect_FindClone_volName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1967 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindClone_volName, NDR_POINTER_PTR, "volName", -1);
1968 return offset;
1971 static int
1972 budb_dissect_FindClone_clonetime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1974 uint32_t param=0;
1975 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_FindClone_clonetime, param);
1976 return offset;
1979 static int
1980 ref_budb_dissect_FindClone_clonetime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1982 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindClone_clonetime, NDR_POINTER_REF, "clonetime", -1);
1983 return offset;
1986 static int
1987 budb_dissect_FindClone_cloneSpare(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1989 uint32_t param=0;
1990 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_FindClone_cloneSpare, param);
1991 return offset;
1994 static int
1995 ref_budb_dissect_FindClone_cloneSpare(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
1997 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindClone_cloneSpare, NDR_POINTER_REF, "cloneSpare", -1);
1998 return offset;
2002 static int
2003 budb_dissect_FindClone_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2005 offset=budb_dissect_FindClone_dumpID(tvb, offset, pinfo, tree, di, drep);
2006 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2008 offset=ptr_budb_dissect_FindClone_volName(tvb, offset, pinfo, tree, di, drep);
2009 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2012 return offset;
2015 static int
2016 budb_dissect_FindClone_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2018 offset=ref_budb_dissect_FindClone_clonetime(tvb, offset, pinfo, tree, di, drep);
2019 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2021 offset=ref_budb_dissect_FindClone_cloneSpare(tvb, offset, pinfo, tree, di, drep);
2022 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2024 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
2027 return offset;
2029 static int
2030 budb_dissect_FindDump_volName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2032 uint32_t param=0;
2033 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_FindDump_volName, param);
2034 return offset;
2037 static int
2038 ptr_budb_dissect_FindDump_volName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2040 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindDump_volName, NDR_POINTER_PTR, "volName", -1);
2041 return offset;
2044 static int
2045 budb_dissect_FindDump_beforeDate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2047 uint32_t param=0;
2048 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_FindDump_beforeDate, param);
2049 return offset;
2052 static int
2053 budb_dissect_FindDump_dateSpare(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2055 uint32_t param=0;
2056 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_FindDump_dateSpare, param);
2057 return offset;
2060 static int
2061 budb_dissect_FindDump_deptr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2063 uint32_t param=0;
2064 offset=budb_dissect_dumpEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_FindDump_deptr, param);
2065 return offset;
2068 static int
2069 ref_budb_dissect_FindDump_deptr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2071 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindDump_deptr, NDR_POINTER_REF, "deptr", -1);
2072 return offset;
2076 static int
2077 budb_dissect_FindDump_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2079 offset=ptr_budb_dissect_FindDump_volName(tvb, offset, pinfo, tree, di, drep);
2080 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2082 offset=budb_dissect_FindDump_beforeDate(tvb, offset, pinfo, tree, di, drep);
2083 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2085 offset=budb_dissect_FindDump_dateSpare(tvb, offset, pinfo, tree, di, drep);
2086 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2089 return offset;
2092 static int
2093 budb_dissect_FindDump_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2095 offset=ref_budb_dissect_FindDump_deptr(tvb, offset, pinfo, tree, di, drep);
2096 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2098 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
2101 return offset;
2103 static int
2104 budb_dissect_FindLatestDump_vsname(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2106 uint32_t param=0;
2107 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_FindLatestDump_vsname, param);
2108 return offset;
2111 static int
2112 ptr_budb_dissect_FindLatestDump_vsname(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2114 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindLatestDump_vsname, NDR_POINTER_PTR, "vsname", -1);
2115 return offset;
2118 static int
2119 budb_dissect_FindLatestDump_dname(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2121 uint32_t param=0;
2122 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_FindLatestDump_dname, param);
2123 return offset;
2126 static int
2127 ptr_budb_dissect_FindLatestDump_dname(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2129 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindLatestDump_dname, NDR_POINTER_PTR, "dname", -1);
2130 return offset;
2133 static int
2134 budb_dissect_FindLatestDump_dumpentry(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2136 uint32_t param=0;
2137 offset=budb_dissect_dumpEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_FindLatestDump_dumpentry, param);
2138 return offset;
2141 static int
2142 ref_budb_dissect_FindLatestDump_dumpentry(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2144 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindLatestDump_dumpentry, NDR_POINTER_REF, "dumpentry", -1);
2145 return offset;
2149 static int
2150 budb_dissect_FindLatestDump_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2152 offset=ptr_budb_dissect_FindLatestDump_vsname(tvb, offset, pinfo, tree, di, drep);
2153 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2155 offset=ptr_budb_dissect_FindLatestDump_dname(tvb, offset, pinfo, tree, di, drep);
2156 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2159 return offset;
2162 static int
2163 budb_dissect_FindLatestDump_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2165 offset=ref_budb_dissect_FindLatestDump_dumpentry(tvb, offset, pinfo, tree, di, drep);
2166 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2168 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
2171 return offset;
2173 static int
2174 budb_dissect_FinishDump_dump(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2176 uint32_t param=0;
2177 offset=budb_dissect_dumpEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_FinishDump_dump, param);
2178 return offset;
2181 static int
2182 ref_budb_dissect_FinishDump_dump(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2184 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FinishDump_dump, NDR_POINTER_REF, "dump", -1);
2185 return offset;
2189 static int
2190 budb_dissect_FinishDump_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2192 offset=ref_budb_dissect_FinishDump_dump(tvb, offset, pinfo, tree, di, drep);
2193 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2196 return offset;
2199 static int
2200 budb_dissect_FinishDump_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2202 offset=ref_budb_dissect_FinishDump_dump(tvb, offset, pinfo, tree, di, drep);
2203 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2205 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
2208 return offset;
2210 static int
2211 budb_dissect_FinishTape_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2213 uint32_t param=0;
2214 offset=budb_dissect_tapeEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_FinishTape_tape, param);
2215 return offset;
2218 static int
2219 ref_budb_dissect_FinishTape_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2221 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FinishTape_tape, NDR_POINTER_REF, "tape", -1);
2222 return offset;
2226 static int
2227 budb_dissect_FinishTape_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2229 offset=ref_budb_dissect_FinishTape_tape(tvb, offset, pinfo, tree, di, drep);
2230 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2233 return offset;
2236 static int
2237 budb_dissect_FinishTape_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2239 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
2242 return offset;
2244 static int
2245 budb_dissect_GetDumps_majorVersion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2247 uint32_t param=0;
2248 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_majorVersion, param);
2249 return offset;
2252 static int
2253 budb_dissect_GetDumps_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2255 uint32_t param=0;
2256 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_flags, param);
2257 return offset;
2260 static int
2261 budb_dissect_GetDumps_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2263 uint32_t param=0;
2264 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_name, param);
2265 return offset;
2268 static int
2269 ptr_budb_dissect_GetDumps_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2271 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetDumps_name, NDR_POINTER_PTR, "name", -1);
2272 return offset;
2275 static int
2276 budb_dissect_GetDumps_start(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2278 uint32_t param=0;
2279 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_start, param);
2280 return offset;
2283 static int
2284 budb_dissect_GetDumps_end(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2286 uint32_t param=0;
2287 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_end, param);
2288 return offset;
2291 static int
2292 budb_dissect_GetDumps_index(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2294 uint32_t param=0;
2295 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_index, param);
2296 return offset;
2299 static int
2300 budb_dissect_GetDumps_nextIndex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2302 uint32_t param=0;
2303 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_nextIndex, param);
2304 return offset;
2307 static int
2308 ref_budb_dissect_GetDumps_nextIndex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2310 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetDumps_nextIndex, NDR_POINTER_REF, "nextIndex", -1);
2311 return offset;
2314 static int
2315 budb_dissect_GetDumps_dbUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2317 uint32_t param=0;
2318 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_dbUpdate, param);
2319 return offset;
2322 static int
2323 ref_budb_dissect_GetDumps_dbUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2325 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetDumps_dbUpdate, NDR_POINTER_REF, "dbUpdate", -1);
2326 return offset;
2329 static int
2330 budb_dissect_GetDumps_dumps(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2332 uint32_t param=0;
2333 offset=budb_dissect_dumpList(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_dumps, param);
2334 return offset;
2337 static int
2338 ptr_budb_dissect_GetDumps_dumps(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2340 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetDumps_dumps, NDR_POINTER_PTR, "dumps", -1);
2341 return offset;
2344 static int
2345 ptr_ptr_budb_dissect_GetDumps_dumps(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2347 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, ptr_budb_dissect_GetDumps_dumps, NDR_POINTER_PTR, "dumps", -1);
2348 return offset;
2352 static int
2353 budb_dissect_GetDumps_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2355 offset=budb_dissect_GetDumps_majorVersion(tvb, offset, pinfo, tree, di, drep);
2356 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2358 offset=budb_dissect_GetDumps_flags(tvb, offset, pinfo, tree, di, drep);
2359 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2361 offset=ptr_budb_dissect_GetDumps_name(tvb, offset, pinfo, tree, di, drep);
2362 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2364 offset=budb_dissect_GetDumps_start(tvb, offset, pinfo, tree, di, drep);
2365 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2367 offset=budb_dissect_GetDumps_end(tvb, offset, pinfo, tree, di, drep);
2368 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2370 offset=budb_dissect_GetDumps_index(tvb, offset, pinfo, tree, di, drep);
2371 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2374 return offset;
2377 static int
2378 budb_dissect_GetDumps_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2380 offset=ref_budb_dissect_GetDumps_nextIndex(tvb, offset, pinfo, tree, di, drep);
2381 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2383 offset=ref_budb_dissect_GetDumps_dbUpdate(tvb, offset, pinfo, tree, di, drep);
2384 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2386 offset=ptr_ptr_budb_dissect_GetDumps_dumps(tvb, offset, pinfo, tree, di, drep);
2387 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2389 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
2392 return offset;
2394 static int
2395 budb_dissect_GetTapes_majorVersion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2397 uint32_t param=0;
2398 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_majorVersion, param);
2399 return offset;
2402 static int
2403 budb_dissect_GetTapes_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2405 uint32_t param=0;
2406 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_flags, param);
2407 return offset;
2410 static int
2411 budb_dissect_GetTapes_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2413 uint32_t param=0;
2414 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_name, param);
2415 return offset;
2418 static int
2419 ptr_budb_dissect_GetTapes_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2421 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetTapes_name, NDR_POINTER_PTR, "name", -1);
2422 return offset;
2425 static int
2426 budb_dissect_GetTapes_start(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2428 uint32_t param=0;
2429 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_start, param);
2430 return offset;
2433 static int
2434 budb_dissect_GetTapes_end(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2436 uint32_t param=0;
2437 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_end, param);
2438 return offset;
2441 static int
2442 budb_dissect_GetTapes_index(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2444 uint32_t param=0;
2445 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_index, param);
2446 return offset;
2449 static int
2450 budb_dissect_GetTapes_nextIndex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2452 uint32_t param=0;
2453 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_nextIndex, param);
2454 return offset;
2457 static int
2458 ref_budb_dissect_GetTapes_nextIndex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2460 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetTapes_nextIndex, NDR_POINTER_REF, "nextIndex", -1);
2461 return offset;
2464 static int
2465 budb_dissect_GetTapes_dbUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2467 uint32_t param=0;
2468 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_dbUpdate, param);
2469 return offset;
2472 static int
2473 ref_budb_dissect_GetTapes_dbUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2475 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetTapes_dbUpdate, NDR_POINTER_REF, "dbUpdate", -1);
2476 return offset;
2479 static int
2480 budb_dissect_GetTapes_tapes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2482 uint32_t param=0;
2483 offset=budb_dissect_tapeList(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_tapes, param);
2484 return offset;
2487 static int
2488 ptr_budb_dissect_GetTapes_tapes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2490 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetTapes_tapes, NDR_POINTER_PTR, "tapes", -1);
2491 return offset;
2494 static int
2495 ptr_ptr_budb_dissect_GetTapes_tapes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2497 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, ptr_budb_dissect_GetTapes_tapes, NDR_POINTER_PTR, "tapes", -1);
2498 return offset;
2502 static int
2503 budb_dissect_GetTapes_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2505 offset=budb_dissect_GetTapes_majorVersion(tvb, offset, pinfo, tree, di, drep);
2506 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2508 offset=budb_dissect_GetTapes_flags(tvb, offset, pinfo, tree, di, drep);
2509 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2511 offset=ptr_budb_dissect_GetTapes_name(tvb, offset, pinfo, tree, di, drep);
2512 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2514 offset=budb_dissect_GetTapes_start(tvb, offset, pinfo, tree, di, drep);
2515 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2517 offset=budb_dissect_GetTapes_end(tvb, offset, pinfo, tree, di, drep);
2518 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2520 offset=budb_dissect_GetTapes_index(tvb, offset, pinfo, tree, di, drep);
2521 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2524 return offset;
2527 static int
2528 budb_dissect_GetTapes_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2530 offset=ref_budb_dissect_GetTapes_nextIndex(tvb, offset, pinfo, tree, di, drep);
2531 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2533 offset=ref_budb_dissect_GetTapes_dbUpdate(tvb, offset, pinfo, tree, di, drep);
2534 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2536 offset=ptr_ptr_budb_dissect_GetTapes_tapes(tvb, offset, pinfo, tree, di, drep);
2537 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2539 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
2542 return offset;
2544 static int
2545 budb_dissect_GetVolumes_majorVersion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2547 uint32_t param=0;
2548 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_majorVersion, param);
2549 return offset;
2552 static int
2553 budb_dissect_GetVolumes_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2555 uint32_t param=0;
2556 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_flags, param);
2557 return offset;
2560 static int
2561 budb_dissect_GetVolumes_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2563 uint32_t param=0;
2564 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_name, param);
2565 return offset;
2568 static int
2569 ptr_budb_dissect_GetVolumes_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2571 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetVolumes_name, NDR_POINTER_PTR, "name", -1);
2572 return offset;
2575 static int
2576 budb_dissect_GetVolumes_start(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2578 uint32_t param=0;
2579 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_start, param);
2580 return offset;
2583 static int
2584 budb_dissect_GetVolumes_end(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2586 uint32_t param=0;
2587 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_end, param);
2588 return offset;
2591 static int
2592 budb_dissect_GetVolumes_index(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2594 uint32_t param=0;
2595 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_index, param);
2596 return offset;
2599 static int
2600 budb_dissect_GetVolumes_nextIndex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2602 uint32_t param=0;
2603 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_nextIndex, param);
2604 return offset;
2607 static int
2608 ref_budb_dissect_GetVolumes_nextIndex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2610 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetVolumes_nextIndex, NDR_POINTER_REF, "nextIndex", -1);
2611 return offset;
2614 static int
2615 budb_dissect_GetVolumes_dbUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2617 uint32_t param=0;
2618 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_dbUpdate, param);
2619 return offset;
2622 static int
2623 ref_budb_dissect_GetVolumes_dbUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2625 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetVolumes_dbUpdate, NDR_POINTER_REF, "dbUpdate", -1);
2626 return offset;
2629 static int
2630 budb_dissect_GetVolumes_volumes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2632 uint32_t param=0;
2633 offset=budb_dissect_volumeList(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_volumes, param);
2634 return offset;
2637 static int
2638 ptr_budb_dissect_GetVolumes_volumes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2640 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetVolumes_volumes, NDR_POINTER_PTR, "volumes", -1);
2641 return offset;
2644 static int
2645 ptr_ptr_budb_dissect_GetVolumes_volumes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2647 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, ptr_budb_dissect_GetVolumes_volumes, NDR_POINTER_PTR, "volumes", -1);
2648 return offset;
2652 static int
2653 budb_dissect_GetVolumes_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2655 offset=budb_dissect_GetVolumes_majorVersion(tvb, offset, pinfo, tree, di, drep);
2656 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2658 offset=budb_dissect_GetVolumes_flags(tvb, offset, pinfo, tree, di, drep);
2659 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2661 offset=ptr_budb_dissect_GetVolumes_name(tvb, offset, pinfo, tree, di, drep);
2662 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2664 offset=budb_dissect_GetVolumes_start(tvb, offset, pinfo, tree, di, drep);
2665 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2667 offset=budb_dissect_GetVolumes_end(tvb, offset, pinfo, tree, di, drep);
2668 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2670 offset=budb_dissect_GetVolumes_index(tvb, offset, pinfo, tree, di, drep);
2671 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2674 return offset;
2677 static int
2678 budb_dissect_GetVolumes_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2680 offset=ref_budb_dissect_GetVolumes_nextIndex(tvb, offset, pinfo, tree, di, drep);
2681 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2683 offset=ref_budb_dissect_GetVolumes_dbUpdate(tvb, offset, pinfo, tree, di, drep);
2684 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2686 offset=ptr_ptr_budb_dissect_GetVolumes_volumes(tvb, offset, pinfo, tree, di, drep);
2687 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2689 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
2692 return offset;
2694 static int
2695 budb_dissect_UseTape_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2697 uint32_t param=0;
2698 offset=budb_dissect_tapeEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_UseTape_tape, param);
2699 return offset;
2702 static int
2703 ref_budb_dissect_UseTape_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2705 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_UseTape_tape, NDR_POINTER_REF, "tape", -1);
2706 return offset;
2709 static int
2710 budb_dissect_UseTape_new(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2712 uint32_t param=0;
2713 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_UseTape_new, param);
2714 return offset;
2717 static int
2718 ref_budb_dissect_UseTape_new(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2720 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_UseTape_new, NDR_POINTER_REF, "new", -1);
2721 return offset;
2725 static int
2726 budb_dissect_UseTape_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2728 offset=ref_budb_dissect_UseTape_tape(tvb, offset, pinfo, tree, di, drep);
2729 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2732 return offset;
2735 static int
2736 budb_dissect_UseTape_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2738 offset=ref_budb_dissect_UseTape_new(tvb, offset, pinfo, tree, di, drep);
2739 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2741 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
2744 return offset;
2746 static int
2747 budb_dissect_GetText_lockHandle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2749 uint32_t param=0;
2750 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetText_lockHandle, param);
2751 return offset;
2754 static int
2755 budb_dissect_GetText_textType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2757 uint32_t param=0;
2758 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetText_textType, param);
2759 return offset;
2762 static int
2763 budb_dissect_GetText_maxLength(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2765 uint32_t param=0;
2766 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetText_maxLength, param);
2767 return offset;
2770 static int
2771 budb_dissect_GetText_offset(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2773 uint32_t param=0;
2774 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetText_offset, param);
2775 return offset;
2778 static int
2779 budb_dissect_GetText_nextOffset(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2781 uint32_t param=0;
2782 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetText_nextOffset, param);
2783 return offset;
2786 static int
2787 ref_budb_dissect_GetText_nextOffset(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2789 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetText_nextOffset, NDR_POINTER_REF, "nextOffset", -1);
2790 return offset;
2793 static int
2794 budb_dissect_GetText_charListPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2796 uint32_t param=0;
2797 offset=budb_dissect_charListT(tvb, offset, pinfo, tree, di, drep, hf_budb_GetText_charListPtr, param);
2798 return offset;
2801 static int
2802 ref_budb_dissect_GetText_charListPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2804 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetText_charListPtr, NDR_POINTER_REF, "charListPtr", -1);
2805 return offset;
2809 static int
2810 budb_dissect_GetText_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2812 offset=budb_dissect_GetText_lockHandle(tvb, offset, pinfo, tree, di, drep);
2813 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2815 offset=budb_dissect_GetText_textType(tvb, offset, pinfo, tree, di, drep);
2816 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2818 offset=budb_dissect_GetText_maxLength(tvb, offset, pinfo, tree, di, drep);
2819 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2821 offset=budb_dissect_GetText_offset(tvb, offset, pinfo, tree, di, drep);
2822 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2825 return offset;
2828 static int
2829 budb_dissect_GetText_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2831 offset=ref_budb_dissect_GetText_nextOffset(tvb, offset, pinfo, tree, di, drep);
2832 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2834 offset=ref_budb_dissect_GetText_charListPtr(tvb, offset, pinfo, tree, di, drep);
2835 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2837 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
2840 return offset;
2842 static int
2843 budb_dissect_GetTextVersion_textType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2845 uint32_t param=0;
2846 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTextVersion_textType, param);
2847 return offset;
2850 static int
2851 budb_dissect_GetTextVersion_tversion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2853 uint32_t param=0;
2854 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTextVersion_tversion, param);
2855 return offset;
2858 static int
2859 ref_budb_dissect_GetTextVersion_tversion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2861 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetTextVersion_tversion, NDR_POINTER_REF, "tversion", -1);
2862 return offset;
2866 static int
2867 budb_dissect_GetTextVersion_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2869 offset=budb_dissect_GetTextVersion_textType(tvb, offset, pinfo, tree, di, drep);
2870 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2873 return offset;
2876 static int
2877 budb_dissect_GetTextVersion_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2879 offset=ref_budb_dissect_GetTextVersion_tversion(tvb, offset, pinfo, tree, di, drep);
2880 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2882 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
2885 return offset;
2887 static int
2888 budb_dissect_SaveText_lockHandle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2890 uint32_t param=0;
2891 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_SaveText_lockHandle, param);
2892 return offset;
2895 static int
2896 budb_dissect_SaveText_textType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2898 uint32_t param=0;
2899 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_SaveText_textType, param);
2900 return offset;
2903 static int
2904 budb_dissect_SaveText_offset(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2906 uint32_t param=0;
2907 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_SaveText_offset, param);
2908 return offset;
2911 static int
2912 budb_dissect_SaveText_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2914 uint32_t param=0;
2915 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_SaveText_flags, param);
2916 return offset;
2919 static int
2920 budb_dissect_SaveText_charListPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2922 uint32_t param=0;
2923 offset=budb_dissect_charListT(tvb, offset, pinfo, tree, di, drep, hf_budb_SaveText_charListPtr, param);
2924 return offset;
2927 static int
2928 ref_budb_dissect_SaveText_charListPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2930 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_SaveText_charListPtr, NDR_POINTER_REF, "charListPtr", -1);
2931 return offset;
2935 static int
2936 budb_dissect_SaveText_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2938 offset=budb_dissect_SaveText_lockHandle(tvb, offset, pinfo, tree, di, drep);
2939 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2941 offset=budb_dissect_SaveText_textType(tvb, offset, pinfo, tree, di, drep);
2942 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2944 offset=budb_dissect_SaveText_offset(tvb, offset, pinfo, tree, di, drep);
2945 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2947 offset=budb_dissect_SaveText_flags(tvb, offset, pinfo, tree, di, drep);
2948 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2950 offset=ref_budb_dissect_SaveText_charListPtr(tvb, offset, pinfo, tree, di, drep);
2951 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2954 return offset;
2957 static int
2958 budb_dissect_SaveText_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2960 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
2963 return offset;
2965 static int
2966 budb_dissect_FreeAllLocks_instanceId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2968 uint32_t param=0;
2969 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_FreeAllLocks_instanceId, param);
2970 return offset;
2974 static int
2975 budb_dissect_FreeAllLocks_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2977 offset=budb_dissect_FreeAllLocks_instanceId(tvb, offset, pinfo, tree, di, drep);
2978 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2981 return offset;
2984 static int
2985 budb_dissect_FreeAllLocks_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2987 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
2990 return offset;
2992 static int
2993 budb_dissect_FreeLock_lockHandle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
2995 uint32_t param=0;
2996 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_FreeLock_lockHandle, param);
2997 return offset;
3001 static int
3002 budb_dissect_FreeLock_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3004 offset=budb_dissect_FreeLock_lockHandle(tvb, offset, pinfo, tree, di, drep);
3005 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3008 return offset;
3011 static int
3012 budb_dissect_FreeLock_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3014 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
3017 return offset;
3019 static int
3020 budb_dissect_GetInstanceId_instanceId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3022 uint32_t param=0;
3023 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetInstanceId_instanceId, param);
3024 return offset;
3027 static int
3028 ref_budb_dissect_GetInstanceId_instanceId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3030 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetInstanceId_instanceId, NDR_POINTER_REF, "instanceId", -1);
3031 return offset;
3035 static int
3036 budb_dissect_GetInstanceId_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3039 return offset;
3042 static int
3043 budb_dissect_GetInstanceId_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3045 offset=ref_budb_dissect_GetInstanceId_instanceId(tvb, offset, pinfo, tree, di, drep);
3046 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3048 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
3051 return offset;
3053 static int
3054 budb_dissect_GetLock_instanceId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3056 uint32_t param=0;
3057 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetLock_instanceId, param);
3058 return offset;
3061 static int
3062 budb_dissect_GetLock_lockName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3064 uint32_t param=0;
3065 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetLock_lockName, param);
3066 return offset;
3069 static int
3070 budb_dissect_GetLock_expiration(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3072 uint32_t param=0;
3073 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetLock_expiration, param);
3074 return offset;
3077 static int
3078 budb_dissect_GetLock_lockHandle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3080 uint32_t param=0;
3081 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetLock_lockHandle, param);
3082 return offset;
3085 static int
3086 ref_budb_dissect_GetLock_lockHandle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3088 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetLock_lockHandle, NDR_POINTER_REF, "lockHandle", -1);
3089 return offset;
3093 static int
3094 budb_dissect_GetLock_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3096 offset=budb_dissect_GetLock_instanceId(tvb, offset, pinfo, tree, di, drep);
3097 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3099 offset=budb_dissect_GetLock_lockName(tvb, offset, pinfo, tree, di, drep);
3100 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3102 offset=budb_dissect_GetLock_expiration(tvb, offset, pinfo, tree, di, drep);
3103 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3106 return offset;
3109 static int
3110 budb_dissect_GetLock_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3112 offset=ref_budb_dissect_GetLock_lockHandle(tvb, offset, pinfo, tree, di, drep);
3113 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3115 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
3118 return offset;
3120 static int
3121 budb_dissect_DbVerify_status(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3123 uint32_t param=0;
3124 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbVerify_status, param);
3125 return offset;
3128 static int
3129 ref_budb_dissect_DbVerify_status(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3131 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DbVerify_status, NDR_POINTER_REF, "status", -1);
3132 return offset;
3135 static int
3136 budb_dissect_DbVerify_orphans(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3138 uint32_t param=0;
3139 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbVerify_orphans, param);
3140 return offset;
3143 static int
3144 ref_budb_dissect_DbVerify_orphans(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3146 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DbVerify_orphans, NDR_POINTER_REF, "orphans", -1);
3147 return offset;
3150 static int
3151 budb_dissect_DbVerify_host(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3153 uint32_t param=0;
3154 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbVerify_host, param);
3155 return offset;
3158 static int
3159 ref_budb_dissect_DbVerify_host(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3161 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DbVerify_host, NDR_POINTER_REF, "host", -1);
3162 return offset;
3166 static int
3167 budb_dissect_DbVerify_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3170 return offset;
3173 static int
3174 budb_dissect_DbVerify_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3176 offset=ref_budb_dissect_DbVerify_status(tvb, offset, pinfo, tree, di, drep);
3177 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3179 offset=ref_budb_dissect_DbVerify_orphans(tvb, offset, pinfo, tree, di, drep);
3180 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3182 offset=ref_budb_dissect_DbVerify_host(tvb, offset, pinfo, tree, di, drep);
3183 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3185 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
3188 return offset;
3190 static int
3191 budb_dissect_DumpDB_maxLength(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3193 uint32_t param=0;
3194 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DumpDB_maxLength, param);
3195 return offset;
3198 static int
3199 budb_dissect_DumpDB_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3201 uint32_t param=0;
3202 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DumpDB_flags, param);
3203 return offset;
3206 static int
3207 ref_budb_dissect_DumpDB_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3209 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DumpDB_flags, NDR_POINTER_REF, "flags", -1);
3210 return offset;
3213 static int
3214 budb_dissect_DumpDB_charListPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3216 uint32_t param=0;
3217 offset=budb_dissect_charListT(tvb, offset, pinfo, tree, di, drep, hf_budb_DumpDB_charListPtr, param);
3218 return offset;
3221 static int
3222 ref_budb_dissect_DumpDB_charListPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3224 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DumpDB_charListPtr, NDR_POINTER_REF, "charListPtr", -1);
3225 return offset;
3229 static int
3230 budb_dissect_DumpDB_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3232 offset=budb_dissect_DumpDB_maxLength(tvb, offset, pinfo, tree, di, drep);
3233 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3236 return offset;
3239 static int
3240 budb_dissect_DumpDB_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3242 offset=ref_budb_dissect_DumpDB_flags(tvb, offset, pinfo, tree, di, drep);
3243 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3245 offset=ref_budb_dissect_DumpDB_charListPtr(tvb, offset, pinfo, tree, di, drep);
3246 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3248 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
3251 return offset;
3253 static int
3254 budb_dissect_RestoreDbHeader_header(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3256 uint32_t param=0;
3257 offset=budb_dissect_DbHeader(tvb, offset, pinfo, tree, di, drep, hf_budb_RestoreDbHeader_header, param);
3258 return offset;
3261 static int
3262 ref_budb_dissect_RestoreDbHeader_header(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3264 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_RestoreDbHeader_header, NDR_POINTER_REF, "header", -1);
3265 return offset;
3269 static int
3270 budb_dissect_RestoreDbHeader_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3272 offset=ref_budb_dissect_RestoreDbHeader_header(tvb, offset, pinfo, tree, di, drep);
3273 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3276 return offset;
3279 static int
3280 budb_dissect_RestoreDbHeader_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3282 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
3285 return offset;
3287 static int
3288 budb_dissect_T_GetVersion_majorVersion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3290 uint32_t param=0;
3291 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_T_GetVersion_majorVersion, param);
3292 return offset;
3295 static int
3296 ref_budb_dissect_T_GetVersion_majorVersion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3298 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_T_GetVersion_majorVersion, NDR_POINTER_REF, "majorVersion", -1);
3299 return offset;
3303 static int
3304 budb_dissect_T_GetVersion_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3307 return offset;
3310 static int
3311 budb_dissect_T_GetVersion_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3313 offset=ref_budb_dissect_T_GetVersion_majorVersion(tvb, offset, pinfo, tree, di, drep);
3314 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3316 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
3319 return offset;
3321 static int
3322 budb_dissect_T_DumpHashTable_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3324 uint32_t param=0;
3325 offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_T_DumpHashTable_type, param);
3326 return offset;
3329 static int
3330 budb_dissect_T_DumpHashTable_filename(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3332 uint32_t param=0;
3333 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_T_DumpHashTable_filename, param);
3334 return offset;
3337 static int
3338 ptr_budb_dissect_T_DumpHashTable_filename(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3340 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_T_DumpHashTable_filename, NDR_POINTER_PTR, "filename", -1);
3341 return offset;
3345 static int
3346 budb_dissect_T_DumpHashTable_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3348 offset=budb_dissect_T_DumpHashTable_type(tvb, offset, pinfo, tree, di, drep);
3349 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3351 offset=ptr_budb_dissect_T_DumpHashTable_filename(tvb, offset, pinfo, tree, di, drep);
3352 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3355 return offset;
3358 static int
3359 budb_dissect_T_DumpHashTable_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3361 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
3364 return offset;
3366 static int
3367 budb_dissect_T_DumpDatabase_filename(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3369 uint32_t param=0;
3370 offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_T_DumpDatabase_filename, param);
3371 return offset;
3374 static int
3375 ptr_budb_dissect_T_DumpDatabase_filename(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3377 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_T_DumpDatabase_filename, NDR_POINTER_PTR, "filename", -1);
3378 return offset;
3382 static int
3383 budb_dissect_T_DumpDatabase_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3385 offset=ptr_budb_dissect_T_DumpDatabase_filename(tvb, offset, pinfo, tree, di, drep);
3386 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3389 return offset;
3392 static int
3393 budb_dissect_T_DumpDatabase_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3395 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
3398 return offset;
3401 static int
3402 budb_dissect_uuid_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_)
3404 offset=dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
3405 return offset;
3408 static int
3409 budb_dissect_dfs_interfaceDescription_interface_uuid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3411 uint32_t param=0;
3412 offset=budb_dissect_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_interface_uuid, param);
3413 return offset;
3417 static int
3418 budb_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_)
3420 offset=dissect_ndr_uint16(tvb, offset, pinfo, tree, di, drep, hf_index, NULL);
3421 return offset;
3424 static int
3425 budb_dissect_dfs_interfaceDescription_vers_major(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3427 uint32_t param=0;
3428 offset=budb_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_vers_major, param);
3429 return offset;
3432 static int
3433 budb_dissect_dfs_interfaceDescription_vers_minor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3435 uint32_t param=0;
3436 offset=budb_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_vers_minor, param);
3437 return offset;
3440 static int
3441 budb_dissect_dfs_interfaceDescription_vers_provider(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3443 uint32_t param=0;
3444 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_vers_provider, param);
3445 return offset;
3448 static int
3449 budb_dissect_dfs_interfaceDescription_spare0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3451 uint32_t param=0;
3452 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare0, param);
3453 return offset;
3456 static int
3457 budb_dissect_dfs_interfaceDescription_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3459 uint32_t param=0;
3460 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare1, param);
3461 return offset;
3464 static int
3465 budb_dissect_dfs_interfaceDescription_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3467 uint32_t param=0;
3468 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare2, param);
3469 return offset;
3472 static int
3473 budb_dissect_dfs_interfaceDescription_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3475 uint32_t param=0;
3476 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare3, param);
3477 return offset;
3480 static int
3481 budb_dissect_dfs_interfaceDescription_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3483 uint32_t param=0;
3484 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare4, param);
3485 return offset;
3488 static int
3489 budb_dissect_dfs_interfaceDescription_spare5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3491 uint32_t param=0;
3492 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare5, param);
3493 return offset;
3496 static int
3497 budb_dissect_dfs_interfaceDescription_spare6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3499 uint32_t param=0;
3500 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare6, param);
3501 return offset;
3504 static int
3505 budb_dissect_dfs_interfaceDescription_spare7(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3507 uint32_t param=0;
3508 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare7, param);
3509 return offset;
3512 static int
3513 budb_dissect_dfs_interfaceDescription_spare8(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3515 uint32_t param=0;
3516 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare8, param);
3517 return offset;
3520 static int
3521 budb_dissect_dfs_interfaceDescription_spare9(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3523 uint32_t param=0;
3524 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare9, param);
3525 return offset;
3528 static int
3529 budb_dissect_dfs_interfaceDescription_spareText(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3531 uint32_t param=0;
3532 offset=budb_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spareText, param);
3533 return offset;
3536 static int
3537 fixedarray_budb_dissect_dfs_interfaceDescription_spareText(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3539 int count=50;
3540 while(count--){
3541 offset=budb_dissect_dfs_interfaceDescription_spareText(tvb, offset, pinfo, tree, di, drep);
3544 return offset;
3549 budb_dissect_dfs_interfaceDescription(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_)
3551 proto_item *item=NULL;
3552 proto_tree *tree=NULL;
3553 int old_offset;
3555 ALIGN_TO_4_BYTES;
3557 old_offset=offset;
3558 if(parent_tree){
3559 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3560 tree=proto_item_add_subtree(item, ett_budb_dfs_interfaceDescription);
3563 offset=budb_dissect_dfs_interfaceDescription_interface_uuid(tvb, offset, pinfo, tree, di, drep);
3565 offset=budb_dissect_dfs_interfaceDescription_vers_major(tvb, offset, pinfo, tree, di, drep);
3567 offset=budb_dissect_dfs_interfaceDescription_vers_minor(tvb, offset, pinfo, tree, di, drep);
3569 offset=budb_dissect_dfs_interfaceDescription_vers_provider(tvb, offset, pinfo, tree, di, drep);
3571 offset=budb_dissect_dfs_interfaceDescription_spare0(tvb, offset, pinfo, tree, di, drep);
3573 offset=budb_dissect_dfs_interfaceDescription_spare1(tvb, offset, pinfo, tree, di, drep);
3575 offset=budb_dissect_dfs_interfaceDescription_spare2(tvb, offset, pinfo, tree, di, drep);
3577 offset=budb_dissect_dfs_interfaceDescription_spare3(tvb, offset, pinfo, tree, di, drep);
3579 offset=budb_dissect_dfs_interfaceDescription_spare4(tvb, offset, pinfo, tree, di, drep);
3581 offset=budb_dissect_dfs_interfaceDescription_spare5(tvb, offset, pinfo, tree, di, drep);
3583 offset=budb_dissect_dfs_interfaceDescription_spare6(tvb, offset, pinfo, tree, di, drep);
3585 offset=budb_dissect_dfs_interfaceDescription_spare7(tvb, offset, pinfo, tree, di, drep);
3587 offset=budb_dissect_dfs_interfaceDescription_spare8(tvb, offset, pinfo, tree, di, drep);
3589 offset=budb_dissect_dfs_interfaceDescription_spare9(tvb, offset, pinfo, tree, di, drep);
3591 offset=fixedarray_budb_dissect_dfs_interfaceDescription_spareText(tvb, offset, pinfo, tree, di, drep);
3593 proto_item_set_len(item, offset-old_offset);
3595 return offset;
3597 static int
3598 budb_dissect_dfs_interfaceList_dfs_interfaceList_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3600 uint32_t param=0;
3601 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceList_dfs_interfaceList_len, param);
3602 return offset;
3605 static int
3606 budb_dissect_dfs_interfaceList_dfs_interfaceList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3608 uint32_t param=0;
3609 offset=budb_dissect_dfs_interfaceDescription(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceList_dfs_interfaceList_val, param);
3610 return offset;
3613 static int
3614 uvarray_budb_dissect_dfs_interfaceList_dfs_interfaceList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3616 offset=dissect_ndr_uvarray(tvb, offset, pinfo, tree, di, drep, budb_dissect_dfs_interfaceList_dfs_interfaceList_val);
3617 return offset;
3622 budb_dissect_dfs_interfaceList(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_)
3624 proto_item *item=NULL;
3625 proto_tree *tree=NULL;
3626 int old_offset;
3628 ALIGN_TO_4_BYTES;
3630 old_offset=offset;
3631 if(parent_tree){
3632 item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
3633 tree=proto_item_add_subtree(item, ett_budb_dfs_interfaceList);
3636 offset=budb_dissect_dfs_interfaceList_dfs_interfaceList_len(tvb, offset, pinfo, tree, di, drep);
3638 offset=uvarray_budb_dissect_dfs_interfaceList_dfs_interfaceList_val(tvb, offset, pinfo, tree, di, drep);
3640 proto_item_set_len(item, offset-old_offset);
3642 return offset;
3644 static int
3645 budb_dissect_GetServerInterfaces_serverInterfacesP(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3647 uint32_t param=0;
3648 offset=budb_dissect_dfs_interfaceList(tvb, offset, pinfo, tree, di, drep, hf_budb_GetServerInterfaces_serverInterfacesP, param);
3649 return offset;
3652 static int
3653 ref_budb_dissect_GetServerInterfaces_serverInterfacesP(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3655 offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetServerInterfaces_serverInterfacesP, NDR_POINTER_REF, "serverInterfacesP", -1);
3656 return offset;
3660 static int
3661 budb_dissect_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_)
3663 offset=ref_budb_dissect_GetServerInterfaces_serverInterfacesP(tvb, offset, pinfo, tree, di, drep);
3664 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3667 return offset;
3670 static int
3671 budb_dissect_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_)
3673 offset=ref_budb_dissect_GetServerInterfaces_serverInterfacesP(tvb, offset, pinfo, tree, di, drep);
3674 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3676 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
3679 return offset;
3681 static int
3682 budb_dissect_AddVolumes_cnt(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3684 uint32_t param=0;
3685 offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_AddVolumes_cnt, param);
3686 return offset;
3689 static int
3690 budb_dissect_AddVolumes_vol(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3692 uint32_t param=0;
3693 offset=budb_dissect_volumeEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_AddVolumes_vol, param);
3694 return offset;
3697 static int
3698 ucarray_budb_dissect_AddVolumes_vol(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
3700 offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, budb_dissect_AddVolumes_vol);
3701 return offset;
3705 static int
3706 budb_dissect_AddVolumes_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3708 offset=budb_dissect_AddVolumes_cnt(tvb, offset, pinfo, tree, di, drep);
3709 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3711 offset=ucarray_budb_dissect_AddVolumes_vol(tvb, offset, pinfo, tree, di, drep);
3712 offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3715 return offset;
3718 static int
3719 budb_dissect_AddVolumes_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3721 offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL);
3724 return offset;
3726 /* END OF INCLUDED FILE : ETH_CODE */
3730 void
3731 proto_register_budb(void)
3733 static hf_register_info hf[] = {
3737 /* INCLUDED FILE : ETH_HFARR */
3738 { &hf_budb_opnum,
3739 { "Operation", "budb.opnum", FT_UINT16, BASE_DEC,
3740 NULL, 0,
3741 NULL, HFILL }},
3743 { &hf_budb_rc,
3744 { "Return code", "budb.rc", FT_UINT32, BASE_HEX|BASE_EXT_STRING,
3745 &NT_errors_ext, 0,
3746 NULL, HFILL }},
3748 { &hf_budb_principal_name,
3749 { "name", "budb.principal.name", FT_STRING, BASE_NONE,
3750 NULL, 0,
3751 NULL, HFILL }},
3753 { &hf_budb_principal_instance,
3754 { "instance", "budb.principal.instance", FT_STRING, BASE_NONE,
3755 NULL, 0,
3756 NULL, HFILL }},
3758 { &hf_budb_principal_cell,
3759 { "cell", "budb.principal.cell", FT_STRING, BASE_NONE,
3760 NULL, 0,
3761 NULL, HFILL }},
3763 { &hf_budb_principal_spare,
3764 { "spare", "budb.principal.spare", FT_STRING, BASE_NONE,
3765 NULL, 0,
3766 NULL, HFILL }},
3768 { &hf_budb_principal_spare1,
3769 { "spare1", "budb.principal.spare1", FT_UINT32, BASE_DEC,
3770 NULL, 0,
3771 NULL, HFILL }},
3773 { &hf_budb_principal_spare2,
3774 { "spare2", "budb.principal.spare2", FT_UINT32, BASE_DEC,
3775 NULL, 0,
3776 NULL, HFILL }},
3778 { &hf_budb_principal_spare3,
3779 { "spare3", "budb.principal.spare3", FT_UINT32, BASE_DEC,
3780 NULL, 0,
3781 NULL, HFILL }},
3783 { &hf_budb_principal_spare4,
3784 { "spare4", "budb.principal.spare4", FT_UINT32, BASE_DEC,
3785 NULL, 0,
3786 NULL, HFILL }},
3788 { &hf_budb_tapeSet_id,
3789 { "id", "budb.tapeSet.id", FT_INT32, BASE_DEC,
3790 NULL, 0,
3791 NULL, HFILL }},
3793 { &hf_budb_tapeSet_tapeServer,
3794 { "tapeServer", "budb.tapeSet.tapeServer", FT_STRING, BASE_NONE,
3795 NULL, 0,
3796 NULL, HFILL }},
3798 { &hf_budb_tapeSet_format,
3799 { "format", "budb.tapeSet.format", FT_STRING, BASE_NONE,
3800 NULL, 0,
3801 NULL, HFILL }},
3803 { &hf_budb_tapeSet_maxTapes,
3804 { "maxTapes", "budb.tapeSet.maxTapes", FT_INT32, BASE_DEC,
3805 NULL, 0,
3806 NULL, HFILL }},
3808 { &hf_budb_tapeSet_a,
3809 { "a", "budb.tapeSet.a", FT_INT32, BASE_DEC,
3810 NULL, 0,
3811 NULL, HFILL }},
3813 { &hf_budb_tapeSet_b,
3814 { "b", "budb.tapeSet.b", FT_INT32, BASE_DEC,
3815 NULL, 0,
3816 NULL, HFILL }},
3818 { &hf_budb_tapeSet_spare1,
3819 { "spare1", "budb.tapeSet.spare1", FT_UINT32, BASE_DEC,
3820 NULL, 0,
3821 NULL, HFILL }},
3823 { &hf_budb_tapeSet_spare2,
3824 { "spare2", "budb.tapeSet.spare2", FT_UINT32, BASE_DEC,
3825 NULL, 0,
3826 NULL, HFILL }},
3828 { &hf_budb_tapeSet_spare3,
3829 { "spare3", "budb.tapeSet.spare3", FT_UINT32, BASE_DEC,
3830 NULL, 0,
3831 NULL, HFILL }},
3833 { &hf_budb_tapeSet_spare4,
3834 { "spare4", "budb.tapeSet.spare4", FT_UINT32, BASE_DEC,
3835 NULL, 0,
3836 NULL, HFILL }},
3838 { &hf_budb_dumpEntry_id,
3839 { "id", "budb.dumpEntry.id", FT_UINT32, BASE_DEC,
3840 NULL, 0,
3841 NULL, HFILL }},
3843 { &hf_budb_dumpEntry_parent,
3844 { "parent", "budb.dumpEntry.parent", FT_UINT32, BASE_DEC,
3845 NULL, 0,
3846 NULL, HFILL }},
3848 { &hf_budb_dumpEntry_level,
3849 { "level", "budb.dumpEntry.level", FT_INT32, BASE_DEC,
3850 NULL, 0,
3851 NULL, HFILL }},
3853 { &hf_budb_dumpEntry_flags,
3854 { "flags", "budb.dumpEntry.flags", FT_INT32, BASE_DEC,
3855 NULL, 0,
3856 NULL, HFILL }},
3858 { &hf_budb_dumpEntry_volumeSetName,
3859 { "volumeSetName", "budb.dumpEntry.volumeSetName", FT_STRING, BASE_NONE,
3860 NULL, 0,
3861 NULL, HFILL }},
3863 { &hf_budb_dumpEntry_dumpPath,
3864 { "dumpPath", "budb.dumpEntry.dumpPath", FT_STRING, BASE_NONE,
3865 NULL, 0,
3866 NULL, HFILL }},
3868 { &hf_budb_dumpEntry_name,
3869 { "name", "budb.dumpEntry.name", FT_STRING, BASE_NONE,
3870 NULL, 0,
3871 NULL, HFILL }},
3873 { &hf_budb_dumpEntry_created,
3874 { "created", "budb.dumpEntry.created", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
3875 NULL, 0,
3876 NULL, HFILL }},
3878 { &hf_budb_dumpEntry_incTime,
3879 { "incTime", "budb.dumpEntry.incTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
3880 NULL, 0,
3881 NULL, HFILL }},
3883 { &hf_budb_dumpEntry_nVolumes,
3884 { "nVolumes", "budb.dumpEntry.nVolumes", FT_INT32, BASE_DEC,
3885 NULL, 0,
3886 NULL, HFILL }},
3888 { &hf_budb_dumpEntry_tapes,
3889 { "tapes", "budb.dumpEntry.tapes", FT_NONE, BASE_NONE,
3890 NULL, 0,
3891 NULL, HFILL }},
3893 { &hf_budb_dumpEntry_dumper,
3894 { "dumper", "budb.dumpEntry.dumper", FT_NONE, BASE_NONE,
3895 NULL, 0,
3896 NULL, HFILL }},
3898 { &hf_budb_dumpEntry_spare1,
3899 { "spare1", "budb.dumpEntry.spare1", FT_UINT32, BASE_DEC,
3900 NULL, 0,
3901 NULL, HFILL }},
3903 { &hf_budb_dumpEntry_spare2,
3904 { "spare2", "budb.dumpEntry.spare2", FT_UINT32, BASE_DEC,
3905 NULL, 0,
3906 NULL, HFILL }},
3908 { &hf_budb_dumpEntry_spare3,
3909 { "spare3", "budb.dumpEntry.spare3", FT_UINT32, BASE_DEC,
3910 NULL, 0,
3911 NULL, HFILL }},
3913 { &hf_budb_dumpEntry_spare4,
3914 { "spare4", "budb.dumpEntry.spare4", FT_UINT32, BASE_DEC,
3915 NULL, 0,
3916 NULL, HFILL }},
3918 { &hf_budb_tapeEntry_name,
3919 { "name", "budb.tapeEntry.name", FT_STRING, BASE_NONE,
3920 NULL, 0,
3921 NULL, HFILL }},
3923 { &hf_budb_tapeEntry_flags,
3924 { "flags", "budb.tapeEntry.flags", FT_UINT32, BASE_DEC,
3925 NULL, 0,
3926 NULL, HFILL }},
3928 { &hf_budb_tapeEntry_written,
3929 { "written", "budb.tapeEntry.written", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
3930 NULL, 0,
3931 NULL, HFILL }},
3933 { &hf_budb_tapeEntry_expires,
3934 { "expires", "budb.tapeEntry.expires", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
3935 NULL, 0,
3936 NULL, HFILL }},
3938 { &hf_budb_tapeEntry_nMBytes,
3939 { "nMBytes", "budb.tapeEntry.nMBytes", FT_UINT32, BASE_DEC,
3940 NULL, 0,
3941 NULL, HFILL }},
3943 { &hf_budb_tapeEntry_nBytes,
3944 { "nBytes", "budb.tapeEntry.nBytes", FT_UINT32, BASE_DEC,
3945 NULL, 0,
3946 NULL, HFILL }},
3948 { &hf_budb_tapeEntry_nFiles,
3949 { "nFiles", "budb.tapeEntry.nFiles", FT_INT32, BASE_DEC,
3950 NULL, 0,
3951 NULL, HFILL }},
3953 { &hf_budb_tapeEntry_nVolumes,
3954 { "nVolumes", "budb.tapeEntry.nVolumes", FT_INT32, BASE_DEC,
3955 NULL, 0,
3956 NULL, HFILL }},
3958 { &hf_budb_tapeEntry_seq,
3959 { "seq", "budb.tapeEntry.seq", FT_INT32, BASE_DEC,
3960 NULL, 0,
3961 NULL, HFILL }},
3963 { &hf_budb_tapeEntry_tapeid,
3964 { "tapeid", "budb.tapeEntry.tapeid", FT_INT32, BASE_DEC,
3965 NULL, 0,
3966 NULL, HFILL }},
3968 { &hf_budb_tapeEntry_useCount,
3969 { "useCount", "budb.tapeEntry.useCount", FT_INT32, BASE_DEC,
3970 NULL, 0,
3971 NULL, HFILL }},
3973 { &hf_budb_tapeEntry_mediaType,
3974 { "mediaType", "budb.tapeEntry.mediaType", FT_INT32, BASE_DEC,
3975 NULL, 0,
3976 NULL, HFILL }},
3978 { &hf_budb_tapeEntry_dump,
3979 { "dump", "budb.tapeEntry.dump", FT_UINT32, BASE_DEC,
3980 NULL, 0,
3981 NULL, HFILL }},
3983 { &hf_budb_tapeEntry_spare1,
3984 { "spare1", "budb.tapeEntry.spare1", FT_UINT32, BASE_DEC,
3985 NULL, 0,
3986 NULL, HFILL }},
3988 { &hf_budb_tapeEntry_spare2,
3989 { "spare2", "budb.tapeEntry.spare2", FT_UINT32, BASE_DEC,
3990 NULL, 0,
3991 NULL, HFILL }},
3993 { &hf_budb_tapeEntry_spare3,
3994 { "spare3", "budb.tapeEntry.spare3", FT_UINT32, BASE_DEC,
3995 NULL, 0,
3996 NULL, HFILL }},
3998 { &hf_budb_tapeEntry_spare4,
3999 { "spare4", "budb.tapeEntry.spare4", FT_UINT32, BASE_DEC,
4000 NULL, 0,
4001 NULL, HFILL }},
4003 { &hf_budb_volumeEntry_name,
4004 { "name", "budb.volumeEntry.name", FT_STRING, BASE_NONE,
4005 NULL, 0,
4006 NULL, HFILL }},
4008 { &hf_budb_volumeEntry_flags,
4009 { "flags", "budb.volumeEntry.flags", FT_UINT32, BASE_DEC,
4010 NULL, 0,
4011 NULL, HFILL }},
4013 { &hf_budb_volumeEntry_id,
4014 { "id", "budb.volumeEntry.id", FT_UINT64, BASE_DEC,
4015 NULL, 0,
4016 NULL, HFILL }},
4018 { &hf_budb_volumeEntry_server,
4019 { "server", "budb.volumeEntry.server", FT_STRING, BASE_NONE,
4020 NULL, 0,
4021 NULL, HFILL }},
4023 { &hf_budb_volumeEntry_partition,
4024 { "partition", "budb.volumeEntry.partition", FT_INT32, BASE_DEC,
4025 NULL, 0,
4026 NULL, HFILL }},
4028 { &hf_budb_volumeEntry_nFrags,
4029 { "nFrags", "budb.volumeEntry.nFrags", FT_INT32, BASE_DEC,
4030 NULL, 0,
4031 NULL, HFILL }},
4033 { &hf_budb_volumeEntry_position,
4034 { "position", "budb.volumeEntry.position", FT_INT32, BASE_DEC,
4035 NULL, 0,
4036 NULL, HFILL }},
4038 { &hf_budb_volumeEntry_clone,
4039 { "clone", "budb.volumeEntry.clone", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
4040 NULL, 0,
4041 NULL, HFILL }},
4043 { &hf_budb_volumeEntry_incTime,
4044 { "incTime", "budb.volumeEntry.incTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
4045 NULL, 0,
4046 NULL, HFILL }},
4048 { &hf_budb_volumeEntry_startByte,
4049 { "startByte", "budb.volumeEntry.startByte", FT_INT32, BASE_DEC,
4050 NULL, 0,
4051 NULL, HFILL }},
4053 { &hf_budb_volumeEntry_nBytes,
4054 { "nBytes", "budb.volumeEntry.nBytes", FT_INT32, BASE_DEC,
4055 NULL, 0,
4056 NULL, HFILL }},
4058 { &hf_budb_volumeEntry_seq,
4059 { "seq", "budb.volumeEntry.seq", FT_INT32, BASE_DEC,
4060 NULL, 0,
4061 NULL, HFILL }},
4063 { &hf_budb_volumeEntry_dump,
4064 { "dump", "budb.volumeEntry.dump", FT_UINT32, BASE_DEC,
4065 NULL, 0,
4066 NULL, HFILL }},
4068 { &hf_budb_volumeEntry_tape,
4069 { "tape", "budb.volumeEntry.tape", FT_STRING, BASE_NONE,
4070 NULL, 0,
4071 NULL, HFILL }},
4073 { &hf_budb_volumeEntry_spare1,
4074 { "spare1", "budb.volumeEntry.spare1", FT_UINT32, BASE_DEC,
4075 NULL, 0,
4076 NULL, HFILL }},
4078 { &hf_budb_volumeEntry_spare2,
4079 { "spare2", "budb.volumeEntry.spare2", FT_UINT32, BASE_DEC,
4080 NULL, 0,
4081 NULL, HFILL }},
4083 { &hf_budb_volumeEntry_spare3,
4084 { "spare3", "budb.volumeEntry.spare3", FT_UINT32, BASE_DEC,
4085 NULL, 0,
4086 NULL, HFILL }},
4088 { &hf_budb_volumeEntry_spare4,
4089 { "spare4", "budb.volumeEntry.spare4", FT_UINT32, BASE_DEC,
4090 NULL, 0,
4091 NULL, HFILL }},
4093 { &hf_budb_volumeList_volumeList_len,
4094 { "volumeList_len", "budb.volumeList.volumeList_len", FT_UINT32, BASE_DEC,
4095 NULL, 0,
4096 NULL, HFILL }},
4098 { &hf_budb_volumeList_volumeList_val,
4099 { "volumeList_val", "budb.volumeList.volumeList_val", FT_NONE, BASE_NONE,
4100 NULL, 0,
4101 NULL, HFILL }},
4103 { &hf_budb_dumpList_dumpList_len,
4104 { "dumpList_len", "budb.dumpList.dumpList_len", FT_UINT32, BASE_DEC,
4105 NULL, 0,
4106 NULL, HFILL }},
4108 { &hf_budb_dumpList_dumpList_val,
4109 { "dumpList_val", "budb.dumpList.dumpList_val", FT_NONE, BASE_NONE,
4110 NULL, 0,
4111 NULL, HFILL }},
4113 { &hf_budb_tapeList_tapeList_len,
4114 { "tapeList_len", "budb.tapeList.tapeList_len", FT_UINT32, BASE_DEC,
4115 NULL, 0,
4116 NULL, HFILL }},
4118 { &hf_budb_tapeList_tapeList_val,
4119 { "tapeList_val", "budb.tapeList.tapeList_val", FT_NONE, BASE_NONE,
4120 NULL, 0,
4121 NULL, HFILL }},
4123 { &hf_budb_charListT_charListT_len,
4124 { "charListT_len", "budb.charListT.charListT_len", FT_UINT32, BASE_DEC,
4125 NULL, 0,
4126 NULL, HFILL }},
4128 { &hf_budb_charListT_charListT_val,
4129 { "charListT_val", "budb.charListT.charListT_val", FT_UINT8, BASE_DEC,
4130 NULL, 0,
4131 NULL, HFILL }},
4133 { &hf_budb_DbHeader_dbversion,
4134 { "dbversion", "budb.DbHeader.dbversion", FT_INT32, BASE_DEC,
4135 NULL, 0,
4136 NULL, HFILL }},
4138 { &hf_budb_DbHeader_created,
4139 { "created", "budb.DbHeader.created", FT_INT32, BASE_DEC,
4140 NULL, 0,
4141 NULL, HFILL }},
4143 { &hf_budb_DbHeader_cell,
4144 { "cell", "budb.DbHeader.cell", FT_STRING, BASE_NONE,
4145 NULL, 0,
4146 NULL, HFILL }},
4148 { &hf_budb_DbHeader_lastDumpId,
4149 { "lastDumpId", "budb.DbHeader.lastDumpId", FT_UINT32, BASE_DEC,
4150 NULL, 0,
4151 NULL, HFILL }},
4153 { &hf_budb_DbHeader_lastInstanceId,
4154 { "lastInstanceId", "budb.DbHeader.lastInstanceId", FT_UINT32, BASE_DEC,
4155 NULL, 0,
4156 NULL, HFILL }},
4158 { &hf_budb_DbHeader_lastTapeId,
4159 { "lastTapeId", "budb.DbHeader.lastTapeId", FT_UINT32, BASE_DEC,
4160 NULL, 0,
4161 NULL, HFILL }},
4163 { &hf_budb_DbHeader_spare1,
4164 { "spare1", "budb.DbHeader.spare1", FT_UINT32, BASE_DEC,
4165 NULL, 0,
4166 NULL, HFILL }},
4168 { &hf_budb_DbHeader_spare2,
4169 { "spare2", "budb.DbHeader.spare2", FT_UINT32, BASE_DEC,
4170 NULL, 0,
4171 NULL, HFILL }},
4173 { &hf_budb_DbHeader_spare3,
4174 { "spare3", "budb.DbHeader.spare3", FT_UINT32, BASE_DEC,
4175 NULL, 0,
4176 NULL, HFILL }},
4178 { &hf_budb_DbHeader_spare4,
4179 { "spare4", "budb.DbHeader.spare4", FT_UINT32, BASE_DEC,
4180 NULL, 0,
4181 NULL, HFILL }},
4183 { &hf_budb_dbVolume_name,
4184 { "name", "budb.dbVolume.name", FT_STRING, BASE_NONE,
4185 NULL, 0,
4186 NULL, HFILL }},
4188 { &hf_budb_dbVolume_flags,
4189 { "flags", "budb.dbVolume.flags", FT_UINT32, BASE_DEC,
4190 NULL, 0,
4191 NULL, HFILL }},
4193 { &hf_budb_dbVolume_id,
4194 { "id", "budb.dbVolume.id", FT_UINT64, BASE_DEC,
4195 NULL, 0,
4196 NULL, HFILL }},
4198 { &hf_budb_dbVolume_server,
4199 { "server", "budb.dbVolume.server", FT_STRING, BASE_NONE,
4200 NULL, 0,
4201 NULL, HFILL }},
4203 { &hf_budb_dbVolume_partition,
4204 { "partition", "budb.dbVolume.partition", FT_INT32, BASE_DEC,
4205 NULL, 0,
4206 NULL, HFILL }},
4208 { &hf_budb_dbVolume_nFrags,
4209 { "nFrags", "budb.dbVolume.nFrags", FT_INT32, BASE_DEC,
4210 NULL, 0,
4211 NULL, HFILL }},
4213 { &hf_budb_dbVolume_position,
4214 { "position", "budb.dbVolume.position", FT_INT32, BASE_DEC,
4215 NULL, 0,
4216 NULL, HFILL }},
4218 { &hf_budb_dbVolume_clone,
4219 { "clone", "budb.dbVolume.clone", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
4220 NULL, 0,
4221 NULL, HFILL }},
4223 { &hf_budb_dbVolume_incTime,
4224 { "incTime", "budb.dbVolume.incTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
4225 NULL, 0,
4226 NULL, HFILL }},
4228 { &hf_budb_dbVolume_startByte,
4229 { "startByte", "budb.dbVolume.startByte", FT_INT32, BASE_DEC,
4230 NULL, 0,
4231 NULL, HFILL }},
4233 { &hf_budb_dbVolume_nBytes,
4234 { "nBytes", "budb.dbVolume.nBytes", FT_INT32, BASE_DEC,
4235 NULL, 0,
4236 NULL, HFILL }},
4238 { &hf_budb_dbVolume_seq,
4239 { "seq", "budb.dbVolume.seq", FT_INT32, BASE_DEC,
4240 NULL, 0,
4241 NULL, HFILL }},
4243 { &hf_budb_dbVolume_dump,
4244 { "dump", "budb.dbVolume.dump", FT_UINT32, BASE_DEC,
4245 NULL, 0,
4246 NULL, HFILL }},
4248 { &hf_budb_dbVolume_tape,
4249 { "tape", "budb.dbVolume.tape", FT_STRING, BASE_NONE,
4250 NULL, 0,
4251 NULL, HFILL }},
4253 { &hf_budb_dbVolume_spare1,
4254 { "spare1", "budb.dbVolume.spare1", FT_UINT32, BASE_DEC,
4255 NULL, 0,
4256 NULL, HFILL }},
4258 { &hf_budb_dbVolume_spare2,
4259 { "spare2", "budb.dbVolume.spare2", FT_UINT32, BASE_DEC,
4260 NULL, 0,
4261 NULL, HFILL }},
4263 { &hf_budb_dbVolume_spare3,
4264 { "spare3", "budb.dbVolume.spare3", FT_UINT32, BASE_DEC,
4265 NULL, 0,
4266 NULL, HFILL }},
4268 { &hf_budb_dbVolume_spare4,
4269 { "spare4", "budb.dbVolume.spare4", FT_UINT32, BASE_DEC,
4270 NULL, 0,
4271 NULL, HFILL }},
4273 { &hf_budb_structDumpHeader_type,
4274 { "type", "budb.structDumpHeader.type", FT_INT32, BASE_DEC,
4275 NULL, 0,
4276 NULL, HFILL }},
4278 { &hf_budb_structDumpHeader_structversion,
4279 { "structversion", "budb.structDumpHeader.structversion", FT_INT32, BASE_DEC,
4280 NULL, 0,
4281 NULL, HFILL }},
4283 { &hf_budb_structDumpHeader_size,
4284 { "size", "budb.structDumpHeader.size", FT_INT32, BASE_DEC,
4285 NULL, 0,
4286 NULL, HFILL }},
4288 { &hf_budb_structDumpHeader_spare1,
4289 { "spare1", "budb.structDumpHeader.spare1", FT_UINT32, BASE_DEC,
4290 NULL, 0,
4291 NULL, HFILL }},
4293 { &hf_budb_structDumpHeader_spare2,
4294 { "spare2", "budb.structDumpHeader.spare2", FT_UINT32, BASE_DEC,
4295 NULL, 0,
4296 NULL, HFILL }},
4298 { &hf_budb_structDumpHeader_spare3,
4299 { "spare3", "budb.structDumpHeader.spare3", FT_UINT32, BASE_DEC,
4300 NULL, 0,
4301 NULL, HFILL }},
4303 { &hf_budb_structDumpHeader_spare4,
4304 { "spare4", "budb.structDumpHeader.spare4", FT_UINT32, BASE_DEC,
4305 NULL, 0,
4306 NULL, HFILL }},
4308 { &hf_budb_AddVolume_vol,
4309 { "vol", "budb.AddVolume.vol", FT_NONE, BASE_NONE,
4310 NULL, 0,
4311 NULL, HFILL }},
4313 { &hf_budb_CreateDump_dump,
4314 { "dump", "budb.CreateDump.dump", FT_NONE, BASE_NONE,
4315 NULL, 0,
4316 NULL, HFILL }},
4318 { &hf_budb_DeleteDump_id,
4319 { "id", "budb.DeleteDump.id", FT_UINT32, BASE_DEC,
4320 NULL, 0,
4321 NULL, HFILL }},
4323 { &hf_budb_DeleteTape_tape,
4324 { "tape", "budb.DeleteTape.tape", FT_NONE, BASE_NONE,
4325 NULL, 0,
4326 NULL, HFILL }},
4328 { &hf_budb_DeleteVDP_dsname,
4329 { "dsname", "budb.DeleteVDP.dsname", FT_STRING, BASE_NONE,
4330 NULL, 0,
4331 NULL, HFILL }},
4333 { &hf_budb_DeleteVDP_dumpPath,
4334 { "dumpPath", "budb.DeleteVDP.dumpPath", FT_STRING, BASE_NONE,
4335 NULL, 0,
4336 NULL, HFILL }},
4338 { &hf_budb_DeleteVDP_curDumpId,
4339 { "curDumpId", "budb.DeleteVDP.curDumpId", FT_INT32, BASE_DEC,
4340 NULL, 0,
4341 NULL, HFILL }},
4343 { &hf_budb_FindClone_dumpID,
4344 { "dumpID", "budb.FindClone.dumpID", FT_INT32, BASE_DEC,
4345 NULL, 0,
4346 NULL, HFILL }},
4348 { &hf_budb_FindClone_volName,
4349 { "volName", "budb.FindClone.volName", FT_STRING, BASE_NONE,
4350 NULL, 0,
4351 NULL, HFILL }},
4353 { &hf_budb_FindClone_clonetime,
4354 { "clonetime", "budb.FindClone.clonetime", FT_UINT32, BASE_DEC,
4355 NULL, 0,
4356 NULL, HFILL }},
4358 { &hf_budb_FindClone_cloneSpare,
4359 { "cloneSpare", "budb.FindClone.cloneSpare", FT_UINT32, BASE_DEC,
4360 NULL, 0,
4361 NULL, HFILL }},
4363 { &hf_budb_FindDump_volName,
4364 { "volName", "budb.FindDump.volName", FT_STRING, BASE_NONE,
4365 NULL, 0,
4366 NULL, HFILL }},
4368 { &hf_budb_FindDump_beforeDate,
4369 { "beforeDate", "budb.FindDump.beforeDate", FT_UINT32, BASE_DEC,
4370 NULL, 0,
4371 NULL, HFILL }},
4373 { &hf_budb_FindDump_dateSpare,
4374 { "dateSpare", "budb.FindDump.dateSpare", FT_UINT32, BASE_DEC,
4375 NULL, 0,
4376 NULL, HFILL }},
4378 { &hf_budb_FindDump_deptr,
4379 { "deptr", "budb.FindDump.deptr", FT_NONE, BASE_NONE,
4380 NULL, 0,
4381 NULL, HFILL }},
4383 { &hf_budb_FindLatestDump_vsname,
4384 { "vsname", "budb.FindLatestDump.vsname", FT_STRING, BASE_NONE,
4385 NULL, 0,
4386 NULL, HFILL }},
4388 { &hf_budb_FindLatestDump_dname,
4389 { "dname", "budb.FindLatestDump.dname", FT_STRING, BASE_NONE,
4390 NULL, 0,
4391 NULL, HFILL }},
4393 { &hf_budb_FindLatestDump_dumpentry,
4394 { "dumpentry", "budb.FindLatestDump.dumpentry", FT_NONE, BASE_NONE,
4395 NULL, 0,
4396 NULL, HFILL }},
4398 { &hf_budb_FinishDump_dump,
4399 { "dump", "budb.FinishDump.dump", FT_NONE, BASE_NONE,
4400 NULL, 0,
4401 NULL, HFILL }},
4403 { &hf_budb_FinishTape_tape,
4404 { "tape", "budb.FinishTape.tape", FT_NONE, BASE_NONE,
4405 NULL, 0,
4406 NULL, HFILL }},
4408 { &hf_budb_GetDumps_majorVersion,
4409 { "majorVersion", "budb.GetDumps.majorVersion", FT_INT32, BASE_DEC,
4410 NULL, 0,
4411 NULL, HFILL }},
4413 { &hf_budb_GetDumps_flags,
4414 { "flags", "budb.GetDumps.flags", FT_INT32, BASE_DEC,
4415 NULL, 0,
4416 NULL, HFILL }},
4418 { &hf_budb_GetDumps_name,
4419 { "name", "budb.GetDumps.name", FT_STRING, BASE_NONE,
4420 NULL, 0,
4421 NULL, HFILL }},
4423 { &hf_budb_GetDumps_start,
4424 { "start", "budb.GetDumps.start", FT_INT32, BASE_DEC,
4425 NULL, 0,
4426 NULL, HFILL }},
4428 { &hf_budb_GetDumps_end,
4429 { "end", "budb.GetDumps.end", FT_INT32, BASE_DEC,
4430 NULL, 0,
4431 NULL, HFILL }},
4433 { &hf_budb_GetDumps_index,
4434 { "index", "budb.GetDumps.index", FT_INT32, BASE_DEC,
4435 NULL, 0,
4436 NULL, HFILL }},
4438 { &hf_budb_GetDumps_nextIndex,
4439 { "nextIndex", "budb.GetDumps.nextIndex", FT_INT32, BASE_DEC,
4440 NULL, 0,
4441 NULL, HFILL }},
4443 { &hf_budb_GetDumps_dbUpdate,
4444 { "dbUpdate", "budb.GetDumps.dbUpdate", FT_INT32, BASE_DEC,
4445 NULL, 0,
4446 NULL, HFILL }},
4448 { &hf_budb_GetDumps_dumps,
4449 { "dumps", "budb.GetDumps.dumps", FT_NONE, BASE_NONE,
4450 NULL, 0,
4451 NULL, HFILL }},
4453 { &hf_budb_GetTapes_majorVersion,
4454 { "majorVersion", "budb.GetTapes.majorVersion", FT_INT32, BASE_DEC,
4455 NULL, 0,
4456 NULL, HFILL }},
4458 { &hf_budb_GetTapes_flags,
4459 { "flags", "budb.GetTapes.flags", FT_INT32, BASE_DEC,
4460 NULL, 0,
4461 NULL, HFILL }},
4463 { &hf_budb_GetTapes_name,
4464 { "name", "budb.GetTapes.name", FT_STRING, BASE_NONE,
4465 NULL, 0,
4466 NULL, HFILL }},
4468 { &hf_budb_GetTapes_start,
4469 { "start", "budb.GetTapes.start", FT_INT32, BASE_DEC,
4470 NULL, 0,
4471 NULL, HFILL }},
4473 { &hf_budb_GetTapes_end,
4474 { "end", "budb.GetTapes.end", FT_INT32, BASE_DEC,
4475 NULL, 0,
4476 NULL, HFILL }},
4478 { &hf_budb_GetTapes_index,
4479 { "index", "budb.GetTapes.index", FT_INT32, BASE_DEC,
4480 NULL, 0,
4481 NULL, HFILL }},
4483 { &hf_budb_GetTapes_nextIndex,
4484 { "nextIndex", "budb.GetTapes.nextIndex", FT_INT32, BASE_DEC,
4485 NULL, 0,
4486 NULL, HFILL }},
4488 { &hf_budb_GetTapes_dbUpdate,
4489 { "dbUpdate", "budb.GetTapes.dbUpdate", FT_INT32, BASE_DEC,
4490 NULL, 0,
4491 NULL, HFILL }},
4493 { &hf_budb_GetTapes_tapes,
4494 { "tapes", "budb.GetTapes.tapes", FT_NONE, BASE_NONE,
4495 NULL, 0,
4496 NULL, HFILL }},
4498 { &hf_budb_GetVolumes_majorVersion,
4499 { "majorVersion", "budb.GetVolumes.majorVersion", FT_INT32, BASE_DEC,
4500 NULL, 0,
4501 NULL, HFILL }},
4503 { &hf_budb_GetVolumes_flags,
4504 { "flags", "budb.GetVolumes.flags", FT_INT32, BASE_DEC,
4505 NULL, 0,
4506 NULL, HFILL }},
4508 { &hf_budb_GetVolumes_name,
4509 { "name", "budb.GetVolumes.name", FT_STRING, BASE_NONE,
4510 NULL, 0,
4511 NULL, HFILL }},
4513 { &hf_budb_GetVolumes_start,
4514 { "start", "budb.GetVolumes.start", FT_INT32, BASE_DEC,
4515 NULL, 0,
4516 NULL, HFILL }},
4518 { &hf_budb_GetVolumes_end,
4519 { "end", "budb.GetVolumes.end", FT_INT32, BASE_DEC,
4520 NULL, 0,
4521 NULL, HFILL }},
4523 { &hf_budb_GetVolumes_index,
4524 { "index", "budb.GetVolumes.index", FT_INT32, BASE_DEC,
4525 NULL, 0,
4526 NULL, HFILL }},
4528 { &hf_budb_GetVolumes_nextIndex,
4529 { "nextIndex", "budb.GetVolumes.nextIndex", FT_INT32, BASE_DEC,
4530 NULL, 0,
4531 NULL, HFILL }},
4533 { &hf_budb_GetVolumes_dbUpdate,
4534 { "dbUpdate", "budb.GetVolumes.dbUpdate", FT_INT32, BASE_DEC,
4535 NULL, 0,
4536 NULL, HFILL }},
4538 { &hf_budb_GetVolumes_volumes,
4539 { "volumes", "budb.GetVolumes.volumes", FT_NONE, BASE_NONE,
4540 NULL, 0,
4541 NULL, HFILL }},
4543 { &hf_budb_UseTape_tape,
4544 { "tape", "budb.UseTape.tape", FT_NONE, BASE_NONE,
4545 NULL, 0,
4546 NULL, HFILL }},
4548 { &hf_budb_UseTape_new,
4549 { "new", "budb.UseTape.new", FT_INT32, BASE_DEC,
4550 NULL, 0,
4551 NULL, HFILL }},
4553 { &hf_budb_GetText_lockHandle,
4554 { "lockHandle", "budb.GetText.lockHandle", FT_INT32, BASE_DEC,
4555 NULL, 0,
4556 NULL, HFILL }},
4558 { &hf_budb_GetText_textType,
4559 { "textType", "budb.GetText.textType", FT_INT32, BASE_DEC,
4560 NULL, 0,
4561 NULL, HFILL }},
4563 { &hf_budb_GetText_maxLength,
4564 { "maxLength", "budb.GetText.maxLength", FT_INT32, BASE_DEC,
4565 NULL, 0,
4566 NULL, HFILL }},
4568 { &hf_budb_GetText_offset,
4569 { "offset", "budb.GetText.offset", FT_INT32, BASE_DEC,
4570 NULL, 0,
4571 NULL, HFILL }},
4573 { &hf_budb_GetText_nextOffset,
4574 { "nextOffset", "budb.GetText.nextOffset", FT_INT32, BASE_DEC,
4575 NULL, 0,
4576 NULL, HFILL }},
4578 { &hf_budb_GetText_charListPtr,
4579 { "charListPtr", "budb.GetText.charListPtr", FT_NONE, BASE_NONE,
4580 NULL, 0,
4581 NULL, HFILL }},
4583 { &hf_budb_GetTextVersion_textType,
4584 { "textType", "budb.GetTextVersion.textType", FT_INT32, BASE_DEC,
4585 NULL, 0,
4586 NULL, HFILL }},
4588 { &hf_budb_GetTextVersion_tversion,
4589 { "tversion", "budb.GetTextVersion.tversion", FT_INT32, BASE_DEC,
4590 NULL, 0,
4591 NULL, HFILL }},
4593 { &hf_budb_SaveText_lockHandle,
4594 { "lockHandle", "budb.SaveText.lockHandle", FT_INT32, BASE_DEC,
4595 NULL, 0,
4596 NULL, HFILL }},
4598 { &hf_budb_SaveText_textType,
4599 { "textType", "budb.SaveText.textType", FT_INT32, BASE_DEC,
4600 NULL, 0,
4601 NULL, HFILL }},
4603 { &hf_budb_SaveText_offset,
4604 { "offset", "budb.SaveText.offset", FT_INT32, BASE_DEC,
4605 NULL, 0,
4606 NULL, HFILL }},
4608 { &hf_budb_SaveText_flags,
4609 { "flags", "budb.SaveText.flags", FT_INT32, BASE_DEC,
4610 NULL, 0,
4611 NULL, HFILL }},
4613 { &hf_budb_SaveText_charListPtr,
4614 { "charListPtr", "budb.SaveText.charListPtr", FT_NONE, BASE_NONE,
4615 NULL, 0,
4616 NULL, HFILL }},
4618 { &hf_budb_FreeAllLocks_instanceId,
4619 { "instanceId", "budb.FreeAllLocks.instanceId", FT_UINT32, BASE_DEC,
4620 NULL, 0,
4621 NULL, HFILL }},
4623 { &hf_budb_FreeLock_lockHandle,
4624 { "lockHandle", "budb.FreeLock.lockHandle", FT_UINT32, BASE_DEC,
4625 NULL, 0,
4626 NULL, HFILL }},
4628 { &hf_budb_GetInstanceId_instanceId,
4629 { "instanceId", "budb.GetInstanceId.instanceId", FT_UINT32, BASE_DEC,
4630 NULL, 0,
4631 NULL, HFILL }},
4633 { &hf_budb_GetLock_instanceId,
4634 { "instanceId", "budb.GetLock.instanceId", FT_UINT32, BASE_DEC,
4635 NULL, 0,
4636 NULL, HFILL }},
4638 { &hf_budb_GetLock_lockName,
4639 { "lockName", "budb.GetLock.lockName", FT_INT32, BASE_DEC,
4640 NULL, 0,
4641 NULL, HFILL }},
4643 { &hf_budb_GetLock_expiration,
4644 { "expiration", "budb.GetLock.expiration", FT_INT32, BASE_DEC,
4645 NULL, 0,
4646 NULL, HFILL }},
4648 { &hf_budb_GetLock_lockHandle,
4649 { "lockHandle", "budb.GetLock.lockHandle", FT_UINT32, BASE_DEC,
4650 NULL, 0,
4651 NULL, HFILL }},
4653 { &hf_budb_DbVerify_status,
4654 { "status", "budb.DbVerify.status", FT_INT32, BASE_DEC,
4655 NULL, 0,
4656 NULL, HFILL }},
4658 { &hf_budb_DbVerify_orphans,
4659 { "orphans", "budb.DbVerify.orphans", FT_INT32, BASE_DEC,
4660 NULL, 0,
4661 NULL, HFILL }},
4663 { &hf_budb_DbVerify_host,
4664 { "host", "budb.DbVerify.host", FT_INT32, BASE_DEC,
4665 NULL, 0,
4666 NULL, HFILL }},
4668 { &hf_budb_DumpDB_maxLength,
4669 { "maxLength", "budb.DumpDB.maxLength", FT_INT32, BASE_DEC,
4670 NULL, 0,
4671 NULL, HFILL }},
4673 { &hf_budb_DumpDB_flags,
4674 { "flags", "budb.DumpDB.flags", FT_INT32, BASE_DEC,
4675 NULL, 0,
4676 NULL, HFILL }},
4678 { &hf_budb_DumpDB_charListPtr,
4679 { "charListPtr", "budb.DumpDB.charListPtr", FT_NONE, BASE_NONE,
4680 NULL, 0,
4681 NULL, HFILL }},
4683 { &hf_budb_RestoreDbHeader_header,
4684 { "header", "budb.RestoreDbHeader.header", FT_NONE, BASE_NONE,
4685 NULL, 0,
4686 NULL, HFILL }},
4688 { &hf_budb_T_GetVersion_majorVersion,
4689 { "majorVersion", "budb.T_GetVersion.majorVersion", FT_INT32, BASE_DEC,
4690 NULL, 0,
4691 NULL, HFILL }},
4693 { &hf_budb_T_DumpHashTable_type,
4694 { "type", "budb.T_DumpHashTable.type", FT_INT32, BASE_DEC,
4695 NULL, 0,
4696 NULL, HFILL }},
4698 { &hf_budb_T_DumpHashTable_filename,
4699 { "filename", "budb.T_DumpHashTable.filename", FT_STRING, BASE_NONE,
4700 NULL, 0,
4701 NULL, HFILL }},
4703 { &hf_budb_T_DumpDatabase_filename,
4704 { "filename", "budb.T_DumpDatabase.filename", FT_STRING, BASE_NONE,
4705 NULL, 0,
4706 NULL, HFILL }},
4708 { &hf_budb_dfs_interfaceDescription_interface_uuid,
4709 { "interface_uuid", "budb.dfs_interfaceDescription.interface_uuid", FT_GUID, BASE_NONE,
4710 NULL, 0,
4711 NULL, HFILL }},
4713 { &hf_budb_dfs_interfaceDescription_vers_major,
4714 { "vers_major", "budb.dfs_interfaceDescription.vers_major", FT_UINT16, BASE_DEC,
4715 NULL, 0,
4716 NULL, HFILL }},
4718 { &hf_budb_dfs_interfaceDescription_vers_minor,
4719 { "vers_minor", "budb.dfs_interfaceDescription.vers_minor", FT_UINT16, BASE_DEC,
4720 NULL, 0,
4721 NULL, HFILL }},
4723 { &hf_budb_dfs_interfaceDescription_vers_provider,
4724 { "vers_provider", "budb.dfs_interfaceDescription.vers_provider", FT_UINT32, BASE_DEC,
4725 NULL, 0,
4726 NULL, HFILL }},
4728 { &hf_budb_dfs_interfaceDescription_spare0,
4729 { "spare0", "budb.dfs_interfaceDescription.spare0", FT_UINT32, BASE_DEC,
4730 NULL, 0,
4731 NULL, HFILL }},
4733 { &hf_budb_dfs_interfaceDescription_spare1,
4734 { "spare1", "budb.dfs_interfaceDescription.spare1", FT_UINT32, BASE_DEC,
4735 NULL, 0,
4736 NULL, HFILL }},
4738 { &hf_budb_dfs_interfaceDescription_spare2,
4739 { "spare2", "budb.dfs_interfaceDescription.spare2", FT_UINT32, BASE_DEC,
4740 NULL, 0,
4741 NULL, HFILL }},
4743 { &hf_budb_dfs_interfaceDescription_spare3,
4744 { "spare3", "budb.dfs_interfaceDescription.spare3", FT_UINT32, BASE_DEC,
4745 NULL, 0,
4746 NULL, HFILL }},
4748 { &hf_budb_dfs_interfaceDescription_spare4,
4749 { "spare4", "budb.dfs_interfaceDescription.spare4", FT_UINT32, BASE_DEC,
4750 NULL, 0,
4751 NULL, HFILL }},
4753 { &hf_budb_dfs_interfaceDescription_spare5,
4754 { "spare5", "budb.dfs_interfaceDescription.spare5", FT_UINT32, BASE_DEC,
4755 NULL, 0,
4756 NULL, HFILL }},
4758 { &hf_budb_dfs_interfaceDescription_spare6,
4759 { "spare6", "budb.dfs_interfaceDescription.spare6", FT_UINT32, BASE_DEC,
4760 NULL, 0,
4761 NULL, HFILL }},
4763 { &hf_budb_dfs_interfaceDescription_spare7,
4764 { "spare7", "budb.dfs_interfaceDescription.spare7", FT_UINT32, BASE_DEC,
4765 NULL, 0,
4766 NULL, HFILL }},
4768 { &hf_budb_dfs_interfaceDescription_spare8,
4769 { "spare8", "budb.dfs_interfaceDescription.spare8", FT_UINT32, BASE_DEC,
4770 NULL, 0,
4771 NULL, HFILL }},
4773 { &hf_budb_dfs_interfaceDescription_spare9,
4774 { "spare9", "budb.dfs_interfaceDescription.spare9", FT_UINT32, BASE_DEC,
4775 NULL, 0,
4776 NULL, HFILL }},
4778 { &hf_budb_dfs_interfaceDescription_spareText,
4779 { "spareText", "budb.dfs_interfaceDescription.spareText", FT_UINT8, BASE_DEC,
4780 NULL, 0,
4781 NULL, HFILL }},
4783 { &hf_budb_dfs_interfaceList_dfs_interfaceList_len,
4784 { "dfs_interfaceList_len", "budb.dfs_interfaceList.dfs_interfaceList_len", FT_UINT32, BASE_DEC,
4785 NULL, 0,
4786 NULL, HFILL }},
4788 { &hf_budb_dfs_interfaceList_dfs_interfaceList_val,
4789 { "dfs_interfaceList_val", "budb.dfs_interfaceList.dfs_interfaceList_val", FT_NONE, BASE_NONE,
4790 NULL, 0,
4791 NULL, HFILL }},
4793 { &hf_budb_GetServerInterfaces_serverInterfacesP,
4794 { "serverInterfacesP", "budb.GetServerInterfaces.serverInterfacesP", FT_NONE, BASE_NONE,
4795 NULL, 0,
4796 NULL, HFILL }},
4798 { &hf_budb_AddVolumes_cnt,
4799 { "cnt", "budb.AddVolumes.cnt", FT_UINT32, BASE_DEC,
4800 NULL, 0,
4801 NULL, HFILL }},
4803 { &hf_budb_AddVolumes_vol,
4804 { "vol", "budb.AddVolumes.vol", FT_NONE, BASE_NONE,
4805 NULL, 0,
4806 NULL, HFILL }},
4808 /* END OF INCLUDED FILE : ETH_HFARR */
4813 static int *ett[] = {
4816 /* INCLUDED FILE : ETH_ETTARR */
4817 &ett_budb,
4818 &ett_budb_principal,
4819 &ett_budb_tapeSet,
4820 &ett_budb_dumpEntry,
4821 &ett_budb_tapeEntry,
4822 &ett_budb_volumeEntry,
4823 &ett_budb_volumeList,
4824 &ett_budb_dumpList,
4825 &ett_budb_tapeList,
4826 &ett_budb_charListT,
4827 &ett_budb_DbHeader,
4828 &ett_budb_dbVolume,
4829 &ett_budb_structDumpHeader,
4830 &ett_budb_dfs_interfaceDescription,
4831 &ett_budb_dfs_interfaceList,
4832 /* END OF INCLUDED FILE : ETH_ETTARR */
4837 proto_budb = proto_register_protocol("DCE/DFS BUDB", "BUDB", "budb");
4838 proto_register_field_array(proto_budb, hf, array_length(hf));
4839 proto_register_subtree_array(ett, array_length(ett));
4842 static const dcerpc_sub_dissector function_dissectors[] = {
4845 /* INCLUDED FILE : ETH_FT */
4846 { 0, "AddVolume",
4847 budb_dissect_AddVolume_request,
4848 budb_dissect_AddVolume_response },
4849 { 1, "CreateDump",
4850 budb_dissect_CreateDump_request,
4851 budb_dissect_CreateDump_response },
4852 { 2, "DeleteDump",
4853 budb_dissect_DeleteDump_request,
4854 budb_dissect_DeleteDump_response },
4855 { 3, "DeleteTape",
4856 budb_dissect_DeleteTape_request,
4857 budb_dissect_DeleteTape_response },
4858 { 4, "DeleteVDP",
4859 budb_dissect_DeleteVDP_request,
4860 budb_dissect_DeleteVDP_response },
4861 { 5, "FindClone",
4862 budb_dissect_FindClone_request,
4863 budb_dissect_FindClone_response },
4864 { 6, "FindDump",
4865 budb_dissect_FindDump_request,
4866 budb_dissect_FindDump_response },
4867 { 7, "FindLatestDump",
4868 budb_dissect_FindLatestDump_request,
4869 budb_dissect_FindLatestDump_response },
4870 { 8, "FinishDump",
4871 budb_dissect_FinishDump_request,
4872 budb_dissect_FinishDump_response },
4873 { 9, "FinishTape",
4874 budb_dissect_FinishTape_request,
4875 budb_dissect_FinishTape_response },
4876 { 10, "GetDumps",
4877 budb_dissect_GetDumps_request,
4878 budb_dissect_GetDumps_response },
4879 { 11, "GetTapes",
4880 budb_dissect_GetTapes_request,
4881 budb_dissect_GetTapes_response },
4882 { 12, "GetVolumes",
4883 budb_dissect_GetVolumes_request,
4884 budb_dissect_GetVolumes_response },
4885 { 13, "UseTape",
4886 budb_dissect_UseTape_request,
4887 budb_dissect_UseTape_response },
4888 { 14, "GetText",
4889 budb_dissect_GetText_request,
4890 budb_dissect_GetText_response },
4891 { 15, "GetTextVersion",
4892 budb_dissect_GetTextVersion_request,
4893 budb_dissect_GetTextVersion_response },
4894 { 16, "SaveText",
4895 budb_dissect_SaveText_request,
4896 budb_dissect_SaveText_response },
4897 { 17, "FreeAllLocks",
4898 budb_dissect_FreeAllLocks_request,
4899 budb_dissect_FreeAllLocks_response },
4900 { 18, "FreeLock",
4901 budb_dissect_FreeLock_request,
4902 budb_dissect_FreeLock_response },
4903 { 19, "GetInstanceId",
4904 budb_dissect_GetInstanceId_request,
4905 budb_dissect_GetInstanceId_response },
4906 { 20, "GetLock",
4907 budb_dissect_GetLock_request,
4908 budb_dissect_GetLock_response },
4909 { 21, "DbVerify",
4910 budb_dissect_DbVerify_request,
4911 budb_dissect_DbVerify_response },
4912 { 22, "DumpDB",
4913 budb_dissect_DumpDB_request,
4914 budb_dissect_DumpDB_response },
4915 { 23, "RestoreDbHeader",
4916 budb_dissect_RestoreDbHeader_request,
4917 budb_dissect_RestoreDbHeader_response },
4918 { 24, "T_GetVersion",
4919 budb_dissect_T_GetVersion_request,
4920 budb_dissect_T_GetVersion_response },
4921 { 25, "T_DumpHashTable",
4922 budb_dissect_T_DumpHashTable_request,
4923 budb_dissect_T_DumpHashTable_response },
4924 { 26, "T_DumpDatabase",
4925 budb_dissect_T_DumpDatabase_request,
4926 budb_dissect_T_DumpDatabase_response },
4927 { 27, "GetServerInterfaces",
4928 budb_dissect_GetServerInterfaces_request,
4929 budb_dissect_GetServerInterfaces_response },
4930 { 28, "AddVolumes",
4931 budb_dissect_AddVolumes_request,
4932 budb_dissect_AddVolumes_response },
4933 /* END OF INCLUDED FILE : ETH_FT */
4936 { 0, NULL, NULL, NULL },
4939 void
4940 proto_reg_handoff_budb(void)
4944 /* INCLUDED FILE : ETH_HANDOFF */
4945 dcerpc_init_uuid(proto_budb, ett_budb,
4946 &uuid_dcerpc_budb, ver_budb,
4947 function_dissectors, hf_budb_opnum);
4948 /* END OF INCLUDED FILE : ETH_HANDOFF */