diff options
Diffstat (limited to 'epan/dissectors/packet-dcerpc-budb.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-budb.c | 4953 |
1 files changed, 4953 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dcerpc-budb.c b/epan/dissectors/packet-dcerpc-budb.c new file mode 100644 index 00000000..a8330211 --- /dev/null +++ b/epan/dissectors/packet-dcerpc-budb.c @@ -0,0 +1,4953 @@ +/* DO NOT EDIT + * This dissector is autogenerated + */ + +/* packet-dcerpc-budb.c + * Routines for BUDB packet disassembly + * ronnie sahlberg 2005 + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "config.h" + +#include <glib.h> +#include <string.h> + +#include <epan/packet.h> +#include "packet-dcerpc.h" +#include "packet-dcerpc-nt.h" +#include "packet-windows-common.h" +#include "packet-dcerpc-budb.h" + +void proto_register_budb(void); +void proto_reg_handoff_budb(void); + +static int proto_budb = -1; + + +/* INCLUDED FILE : ETH_HF */ +static int hf_budb_opnum = -1; +static int hf_budb_rc = -1; +static int hf_budb_principal_name = -1; +static int hf_budb_principal_instance = -1; +static int hf_budb_principal_cell = -1; +static int hf_budb_principal_spare = -1; +static int hf_budb_principal_spare1 = -1; +static int hf_budb_principal_spare2 = -1; +static int hf_budb_principal_spare3 = -1; +static int hf_budb_principal_spare4 = -1; +static int hf_budb_tapeSet_id = -1; +static int hf_budb_tapeSet_tapeServer = -1; +static int hf_budb_tapeSet_format = -1; +static int hf_budb_tapeSet_maxTapes = -1; +static int hf_budb_tapeSet_a = -1; +static int hf_budb_tapeSet_b = -1; +static int hf_budb_tapeSet_spare1 = -1; +static int hf_budb_tapeSet_spare2 = -1; +static int hf_budb_tapeSet_spare3 = -1; +static int hf_budb_tapeSet_spare4 = -1; +static int hf_budb_dumpEntry_id = -1; +static int hf_budb_dumpEntry_parent = -1; +static int hf_budb_dumpEntry_level = -1; +static int hf_budb_dumpEntry_flags = -1; +static int hf_budb_dumpEntry_volumeSetName = -1; +static int hf_budb_dumpEntry_dumpPath = -1; +static int hf_budb_dumpEntry_name = -1; +static int hf_budb_dumpEntry_created = -1; +static int hf_budb_dumpEntry_incTime = -1; +static int hf_budb_dumpEntry_nVolumes = -1; +static int hf_budb_dumpEntry_tapes = -1; +static int hf_budb_dumpEntry_dumper = -1; +static int hf_budb_dumpEntry_spare1 = -1; +static int hf_budb_dumpEntry_spare2 = -1; +static int hf_budb_dumpEntry_spare3 = -1; +static int hf_budb_dumpEntry_spare4 = -1; +static int hf_budb_tapeEntry_name = -1; +static int hf_budb_tapeEntry_flags = -1; +static int hf_budb_tapeEntry_written = -1; +static int hf_budb_tapeEntry_expires = -1; +static int hf_budb_tapeEntry_nMBytes = -1; +static int hf_budb_tapeEntry_nBytes = -1; +static int hf_budb_tapeEntry_nFiles = -1; +static int hf_budb_tapeEntry_nVolumes = -1; +static int hf_budb_tapeEntry_seq = -1; +static int hf_budb_tapeEntry_tapeid = -1; +static int hf_budb_tapeEntry_useCount = -1; +static int hf_budb_tapeEntry_mediaType = -1; +static int hf_budb_tapeEntry_dump = -1; +static int hf_budb_tapeEntry_spare1 = -1; +static int hf_budb_tapeEntry_spare2 = -1; +static int hf_budb_tapeEntry_spare3 = -1; +static int hf_budb_tapeEntry_spare4 = -1; +static int hf_budb_volumeEntry_name = -1; +static int hf_budb_volumeEntry_flags = -1; +static int hf_budb_volumeEntry_id = -1; +static int hf_budb_volumeEntry_server = -1; +static int hf_budb_volumeEntry_partition = -1; +static int hf_budb_volumeEntry_nFrags = -1; +static int hf_budb_volumeEntry_position = -1; +static int hf_budb_volumeEntry_clone = -1; +static int hf_budb_volumeEntry_incTime = -1; +static int hf_budb_volumeEntry_startByte = -1; +static int hf_budb_volumeEntry_nBytes = -1; +static int hf_budb_volumeEntry_seq = -1; +static int hf_budb_volumeEntry_dump = -1; +static int hf_budb_volumeEntry_tape = -1; +static int hf_budb_volumeEntry_spare1 = -1; +static int hf_budb_volumeEntry_spare2 = -1; +static int hf_budb_volumeEntry_spare3 = -1; +static int hf_budb_volumeEntry_spare4 = -1; +static int hf_budb_volumeList_volumeList_len = -1; +static int hf_budb_volumeList_volumeList_val = -1; +static int hf_budb_dumpList_dumpList_len = -1; +static int hf_budb_dumpList_dumpList_val = -1; +static int hf_budb_tapeList_tapeList_len = -1; +static int hf_budb_tapeList_tapeList_val = -1; +static int hf_budb_charListT_charListT_len = -1; +static int hf_budb_charListT_charListT_val = -1; +static int hf_budb_DbHeader_dbversion = -1; +static int hf_budb_DbHeader_created = -1; +static int hf_budb_DbHeader_cell = -1; +static int hf_budb_DbHeader_lastDumpId = -1; +static int hf_budb_DbHeader_lastInstanceId = -1; +static int hf_budb_DbHeader_lastTapeId = -1; +static int hf_budb_DbHeader_spare1 = -1; +static int hf_budb_DbHeader_spare2 = -1; +static int hf_budb_DbHeader_spare3 = -1; +static int hf_budb_DbHeader_spare4 = -1; +static int hf_budb_dbVolume_name = -1; +static int hf_budb_dbVolume_flags = -1; +static int hf_budb_dbVolume_id = -1; +static int hf_budb_dbVolume_server = -1; +static int hf_budb_dbVolume_partition = -1; +static int hf_budb_dbVolume_nFrags = -1; +static int hf_budb_dbVolume_position = -1; +static int hf_budb_dbVolume_clone = -1; +static int hf_budb_dbVolume_incTime = -1; +static int hf_budb_dbVolume_startByte = -1; +static int hf_budb_dbVolume_nBytes = -1; +static int hf_budb_dbVolume_seq = -1; +static int hf_budb_dbVolume_dump = -1; +static int hf_budb_dbVolume_tape = -1; +static int hf_budb_dbVolume_spare1 = -1; +static int hf_budb_dbVolume_spare2 = -1; +static int hf_budb_dbVolume_spare3 = -1; +static int hf_budb_dbVolume_spare4 = -1; +static int hf_budb_structDumpHeader_type = -1; +static int hf_budb_structDumpHeader_structversion = -1; +static int hf_budb_structDumpHeader_size = -1; +static int hf_budb_structDumpHeader_spare1 = -1; +static int hf_budb_structDumpHeader_spare2 = -1; +static int hf_budb_structDumpHeader_spare3 = -1; +static int hf_budb_structDumpHeader_spare4 = -1; +static int hf_budb_AddVolume_vol = -1; +static int hf_budb_CreateDump_dump = -1; +static int hf_budb_DeleteDump_id = -1; +static int hf_budb_DeleteTape_tape = -1; +static int hf_budb_DeleteVDP_dsname = -1; +static int hf_budb_DeleteVDP_dumpPath = -1; +static int hf_budb_DeleteVDP_curDumpId = -1; +static int hf_budb_FindClone_dumpID = -1; +static int hf_budb_FindClone_volName = -1; +static int hf_budb_FindClone_clonetime = -1; +static int hf_budb_FindClone_cloneSpare = -1; +static int hf_budb_FindDump_volName = -1; +static int hf_budb_FindDump_beforeDate = -1; +static int hf_budb_FindDump_dateSpare = -1; +static int hf_budb_FindDump_deptr = -1; +static int hf_budb_FindLatestDump_vsname = -1; +static int hf_budb_FindLatestDump_dname = -1; +static int hf_budb_FindLatestDump_dumpentry = -1; +static int hf_budb_FinishDump_dump = -1; +static int hf_budb_FinishTape_tape = -1; +static int hf_budb_GetDumps_majorVersion = -1; +static int hf_budb_GetDumps_flags = -1; +static int hf_budb_GetDumps_name = -1; +static int hf_budb_GetDumps_start = -1; +static int hf_budb_GetDumps_end = -1; +static int hf_budb_GetDumps_index = -1; +static int hf_budb_GetDumps_nextIndex = -1; +static int hf_budb_GetDumps_dbUpdate = -1; +static int hf_budb_GetDumps_dumps = -1; +static int hf_budb_GetTapes_majorVersion = -1; +static int hf_budb_GetTapes_flags = -1; +static int hf_budb_GetTapes_name = -1; +static int hf_budb_GetTapes_start = -1; +static int hf_budb_GetTapes_end = -1; +static int hf_budb_GetTapes_index = -1; +static int hf_budb_GetTapes_nextIndex = -1; +static int hf_budb_GetTapes_dbUpdate = -1; +static int hf_budb_GetTapes_tapes = -1; +static int hf_budb_GetVolumes_majorVersion = -1; +static int hf_budb_GetVolumes_flags = -1; +static int hf_budb_GetVolumes_name = -1; +static int hf_budb_GetVolumes_start = -1; +static int hf_budb_GetVolumes_end = -1; +static int hf_budb_GetVolumes_index = -1; +static int hf_budb_GetVolumes_nextIndex = -1; +static int hf_budb_GetVolumes_dbUpdate = -1; +static int hf_budb_GetVolumes_volumes = -1; +static int hf_budb_UseTape_tape = -1; +static int hf_budb_UseTape_new = -1; +static int hf_budb_GetText_lockHandle = -1; +static int hf_budb_GetText_textType = -1; +static int hf_budb_GetText_maxLength = -1; +static int hf_budb_GetText_offset = -1; +static int hf_budb_GetText_nextOffset = -1; +static int hf_budb_GetText_charListPtr = -1; +static int hf_budb_GetTextVersion_textType = -1; +static int hf_budb_GetTextVersion_tversion = -1; +static int hf_budb_SaveText_lockHandle = -1; +static int hf_budb_SaveText_textType = -1; +static int hf_budb_SaveText_offset = -1; +static int hf_budb_SaveText_flags = -1; +static int hf_budb_SaveText_charListPtr = -1; +static int hf_budb_FreeAllLocks_instanceId = -1; +static int hf_budb_FreeLock_lockHandle = -1; +static int hf_budb_GetInstanceId_instanceId = -1; +static int hf_budb_GetLock_instanceId = -1; +static int hf_budb_GetLock_lockName = -1; +static int hf_budb_GetLock_expiration = -1; +static int hf_budb_GetLock_lockHandle = -1; +static int hf_budb_DbVerify_status = -1; +static int hf_budb_DbVerify_orphans = -1; +static int hf_budb_DbVerify_host = -1; +static int hf_budb_DumpDB_maxLength = -1; +static int hf_budb_DumpDB_flags = -1; +static int hf_budb_DumpDB_charListPtr = -1; +static int hf_budb_RestoreDbHeader_header = -1; +static int hf_budb_T_GetVersion_majorVersion = -1; +static int hf_budb_T_DumpHashTable_type = -1; +static int hf_budb_T_DumpHashTable_filename = -1; +static int hf_budb_T_DumpDatabase_filename = -1; +static int hf_budb_dfs_interfaceDescription_interface_uuid = -1; +static int hf_budb_dfs_interfaceDescription_vers_major = -1; +static int hf_budb_dfs_interfaceDescription_vers_minor = -1; +static int hf_budb_dfs_interfaceDescription_vers_provider = -1; +static int hf_budb_dfs_interfaceDescription_spare0 = -1; +static int hf_budb_dfs_interfaceDescription_spare1 = -1; +static int hf_budb_dfs_interfaceDescription_spare2 = -1; +static int hf_budb_dfs_interfaceDescription_spare3 = -1; +static int hf_budb_dfs_interfaceDescription_spare4 = -1; +static int hf_budb_dfs_interfaceDescription_spare5 = -1; +static int hf_budb_dfs_interfaceDescription_spare6 = -1; +static int hf_budb_dfs_interfaceDescription_spare7 = -1; +static int hf_budb_dfs_interfaceDescription_spare8 = -1; +static int hf_budb_dfs_interfaceDescription_spare9 = -1; +static int hf_budb_dfs_interfaceDescription_spareText = -1; +static int hf_budb_dfs_interfaceList_dfs_interfaceList_len = -1; +static int hf_budb_dfs_interfaceList_dfs_interfaceList_val = -1; +static int hf_budb_GetServerInterfaces_serverInterfacesP = -1; +static int hf_budb_AddVolumes_cnt = -1; +static int hf_budb_AddVolumes_vol = -1; +/* END OF INCLUDED FILE : ETH_HF */ + + + + + +/* INCLUDED FILE : ETH_ETT */ +static gint ett_budb = -1; +static gint ett_budb_principal = -1; +static gint ett_budb_tapeSet = -1; +static gint ett_budb_dumpEntry = -1; +static gint ett_budb_tapeEntry = -1; +static gint ett_budb_volumeEntry = -1; +static gint ett_budb_volumeList = -1; +static gint ett_budb_dumpList = -1; +static gint ett_budb_tapeList = -1; +static gint ett_budb_charListT = -1; +static gint ett_budb_DbHeader = -1; +static gint ett_budb_dbVolume = -1; +static gint ett_budb_structDumpHeader = -1; +static gint ett_budb_dfs_interfaceDescription = -1; +static gint ett_budb_dfs_interfaceList = -1; +/* END OF INCLUDED FILE : ETH_ETT */ + + + +static int +budb_dissect_NameString_t(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_) +{ + offset=dissect_ndr_vstring(tvb, offset, pinfo, tree, di, drep, 1, hf_index, FALSE, NULL); + return offset; +} + + + +/* INCLUDED FILE : ETH_CODE */ +static e_guid_t uuid_dcerpc_budb = { + 0xeb814e2a, 0x0099, 0x11ca, + { 0x86, 0x78, 0x02, 0x60, 0x8c, 0x2e, 0xa9, 0x6e} +}; + +static guint16 ver_budb = 4; + +static int +budb_dissect_principal_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_name, param); + return offset; +} + +static int +budb_dissect_principal_instance(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_instance, param); + return offset; +} + +static int +budb_dissect_principal_cell(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_cell, param); + return offset; +} + +static int +budb_dissect_principal_spare(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_spare, param); + return offset; +} + + +static int +budb_dissect_uint32(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_) +{ + offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL); + return offset; +} + +static int +budb_dissect_principal_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_spare1, param); + return offset; +} + +static int +budb_dissect_principal_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_spare2, param); + return offset; +} + +static int +budb_dissect_principal_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_spare3, param); + return offset; +} + +static int +budb_dissect_principal_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_principal_spare4, param); + return offset; +} + + +int +budb_dissect_principal(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, dcerpc_info *di _U_, guint8 *drep _U_, int hf_index, guint32 param _U_) +{ + proto_item *item=NULL; + proto_tree *tree=NULL; + int old_offset; + + ALIGN_TO_4_BYTES; + + old_offset=offset; + if(parent_tree){ + item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); + tree=proto_item_add_subtree(item, ett_budb_principal); + } + + offset=budb_dissect_principal_name(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_principal_instance(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_principal_cell(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_principal_spare(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_principal_spare1(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_principal_spare2(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_principal_spare3(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_principal_spare4(tvb, offset, pinfo, tree, di, drep); + + proto_item_set_len(item, offset-old_offset); + + return offset; +} + +static int +budb_dissect_int32(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_) +{ + offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL); + return offset; +} + +static int +budb_dissect_tapeSet_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_id, param); + return offset; +} + +static int +budb_dissect_tapeSet_tapeServer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_tapeServer, param); + return offset; +} + +static int +budb_dissect_tapeSet_format(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_format, param); + return offset; +} + +static int +budb_dissect_tapeSet_maxTapes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_maxTapes, param); + return offset; +} + +static int +budb_dissect_tapeSet_a(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_a, param); + return offset; +} + +static int +budb_dissect_tapeSet_b(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_b, param); + return offset; +} + +static int +budb_dissect_tapeSet_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_spare1, param); + return offset; +} + +static int +budb_dissect_tapeSet_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_spare2, param); + return offset; +} + +static int +budb_dissect_tapeSet_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_spare3, param); + return offset; +} + +static int +budb_dissect_tapeSet_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeSet_spare4, param); + return offset; +} + + +int +budb_dissect_tapeSet(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, dcerpc_info *di _U_, guint8 *drep _U_, int hf_index, guint32 param _U_) +{ + proto_item *item=NULL; + proto_tree *tree=NULL; + int old_offset; + + ALIGN_TO_4_BYTES; + + old_offset=offset; + if(parent_tree){ + item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); + tree=proto_item_add_subtree(item, ett_budb_tapeSet); + } + + offset=budb_dissect_tapeSet_id(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeSet_tapeServer(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeSet_format(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeSet_maxTapes(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeSet_a(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeSet_b(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeSet_spare1(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeSet_spare2(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeSet_spare3(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeSet_spare4(tvb, offset, pinfo, tree, di, drep); + + proto_item_set_len(item, offset-old_offset); + + return offset; +} +static int +budb_dissect_dumpEntry_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_id, param); + return offset; +} + +static int +budb_dissect_dumpEntry_parent(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_parent, param); + return offset; +} + +static int +budb_dissect_dumpEntry_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_level, param); + return offset; +} + +static int +budb_dissect_dumpEntry_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_flags, param); + return offset; +} + +static int +budb_dissect_dumpEntry_volumeSetName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_volumeSetName, param); + return offset; +} + +static int +budb_dissect_dumpEntry_dumpPath(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_dumpPath, param); + return offset; +} + +static int +budb_dissect_dumpEntry_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_name, param); + return offset; +} + + +static int +budb_dissect_time_t(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_) +{ + + offset=dissect_ndr_time_t(tvb, offset, pinfo, tree, di, drep, hf_index, NULL); + + return offset; +} + +static int +budb_dissect_dumpEntry_created(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_created, param); + return offset; +} + +static int +budb_dissect_dumpEntry_incTime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_incTime, param); + return offset; +} + +static int +budb_dissect_dumpEntry_nVolumes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_nVolumes, param); + return offset; +} + +static int +budb_dissect_dumpEntry_tapes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_tapeSet(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_tapes, param); + return offset; +} + +static int +budb_dissect_dumpEntry_dumper(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_principal(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_dumper, param); + return offset; +} + +static int +budb_dissect_dumpEntry_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_spare1, param); + return offset; +} + +static int +budb_dissect_dumpEntry_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_spare2, param); + return offset; +} + +static int +budb_dissect_dumpEntry_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_spare3, param); + return offset; +} + +static int +budb_dissect_dumpEntry_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpEntry_spare4, param); + return offset; +} + + +int +budb_dissect_dumpEntry(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, dcerpc_info *di _U_, guint8 *drep _U_, int hf_index, guint32 param _U_) +{ + proto_item *item=NULL; + proto_tree *tree=NULL; + int old_offset; + + ALIGN_TO_4_BYTES; + + old_offset=offset; + if(parent_tree){ + item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); + tree=proto_item_add_subtree(item, ett_budb_dumpEntry); + } + + offset=budb_dissect_dumpEntry_id(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_parent(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_level(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_flags(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_volumeSetName(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_dumpPath(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_name(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_created(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_incTime(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_nVolumes(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_tapes(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_dumper(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_spare1(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_spare2(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_spare3(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dumpEntry_spare4(tvb, offset, pinfo, tree, di, drep); + + proto_item_set_len(item, offset-old_offset); + + return offset; +} +static int +budb_dissect_tapeEntry_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_name, param); + return offset; +} + +static int +budb_dissect_tapeEntry_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_flags, param); + return offset; +} + +static int +budb_dissect_tapeEntry_written(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_written, param); + return offset; +} + +static int +budb_dissect_tapeEntry_expires(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_expires, param); + return offset; +} + +static int +budb_dissect_tapeEntry_nMBytes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_nMBytes, param); + return offset; +} + +static int +budb_dissect_tapeEntry_nBytes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_nBytes, param); + return offset; +} + +static int +budb_dissect_tapeEntry_nFiles(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_nFiles, param); + return offset; +} + +static int +budb_dissect_tapeEntry_nVolumes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_nVolumes, param); + return offset; +} + +static int +budb_dissect_tapeEntry_seq(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_seq, param); + return offset; +} + +static int +budb_dissect_tapeEntry_tapeid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_tapeid, param); + return offset; +} + +static int +budb_dissect_tapeEntry_useCount(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_useCount, param); + return offset; +} + +static int +budb_dissect_tapeEntry_mediaType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_mediaType, param); + return offset; +} + +static int +budb_dissect_tapeEntry_dump(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_dump, param); + return offset; +} + +static int +budb_dissect_tapeEntry_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_spare1, param); + return offset; +} + +static int +budb_dissect_tapeEntry_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_spare2, param); + return offset; +} + +static int +budb_dissect_tapeEntry_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_spare3, param); + return offset; +} + +static int +budb_dissect_tapeEntry_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeEntry_spare4, param); + return offset; +} + + +int +budb_dissect_tapeEntry(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, dcerpc_info *di _U_, guint8 *drep _U_, int hf_index, guint32 param _U_) +{ + proto_item *item=NULL; + proto_tree *tree=NULL; + int old_offset; + + ALIGN_TO_4_BYTES; + + old_offset=offset; + if(parent_tree){ + item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); + tree=proto_item_add_subtree(item, ett_budb_tapeEntry); + } + + offset=budb_dissect_tapeEntry_name(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_flags(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_written(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_expires(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_nMBytes(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_nBytes(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_nFiles(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_nVolumes(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_seq(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_tapeid(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_useCount(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_mediaType(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_dump(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_spare1(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_spare2(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_spare3(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_tapeEntry_spare4(tvb, offset, pinfo, tree, di, drep); + + proto_item_set_len(item, offset-old_offset); + + return offset; +} +static int +budb_dissect_volumeEntry_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_name, param); + return offset; +} + +static int +budb_dissect_volumeEntry_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_flags, param); + return offset; +} + + +static int +budb_dissect_udlong(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_) +{ + + offset=dissect_ndr_duint32(tvb, offset, pinfo, tree, di, drep, hf_index, NULL); + + return offset; +} + +static int +budb_dissect_volumeEntry_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_udlong(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_id, param); + return offset; +} + +static int +budb_dissect_volumeEntry_server(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_server, param); + return offset; +} + +static int +budb_dissect_volumeEntry_partition(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_partition, param); + return offset; +} + +static int +budb_dissect_volumeEntry_nFrags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_nFrags, param); + return offset; +} + +static int +budb_dissect_volumeEntry_position(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_position, param); + return offset; +} + +static int +budb_dissect_volumeEntry_clone(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_clone, param); + return offset; +} + +static int +budb_dissect_volumeEntry_incTime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_incTime, param); + return offset; +} + +static int +budb_dissect_volumeEntry_startByte(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_startByte, param); + return offset; +} + +static int +budb_dissect_volumeEntry_nBytes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_nBytes, param); + return offset; +} + +static int +budb_dissect_volumeEntry_seq(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_seq, param); + return offset; +} + +static int +budb_dissect_volumeEntry_dump(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_dump, param); + return offset; +} + +static int +budb_dissect_volumeEntry_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_tape, param); + return offset; +} + +static int +budb_dissect_volumeEntry_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_spare1, param); + return offset; +} + +static int +budb_dissect_volumeEntry_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_spare2, param); + return offset; +} + +static int +budb_dissect_volumeEntry_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_spare3, param); + return offset; +} + +static int +budb_dissect_volumeEntry_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeEntry_spare4, param); + return offset; +} + + +int +budb_dissect_volumeEntry(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, dcerpc_info *di _U_, guint8 *drep _U_, int hf_index, guint32 param _U_) +{ + proto_item *item=NULL; + proto_tree *tree=NULL; + int old_offset; + + ALIGN_TO_4_BYTES; + + old_offset=offset; + if(parent_tree){ + item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); + tree=proto_item_add_subtree(item, ett_budb_volumeEntry); + } + + offset=budb_dissect_volumeEntry_name(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_flags(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_id(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_server(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_partition(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_nFrags(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_position(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_clone(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_incTime(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_startByte(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_nBytes(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_seq(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_dump(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_tape(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_spare1(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_spare2(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_spare3(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_volumeEntry_spare4(tvb, offset, pinfo, tree, di, drep); + + proto_item_set_len(item, offset-old_offset); + + return offset; +} +static int +budb_dissect_volumeList_volumeList_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeList_volumeList_len, param); + return offset; +} + +static int +budb_dissect_volumeList_volumeList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_volumeEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_volumeList_volumeList_val, param); + return offset; +} + +static int +ptr_budb_dissect_volumeList_volumeList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_volumeList_volumeList_val, NDR_POINTER_PTR, "volumeList_val", -1); + return offset; +} + +static int +ucarray_ptr_budb_dissect_volumeList_volumeList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, ptr_budb_dissect_volumeList_volumeList_val); + return offset; +} + + +int +budb_dissect_volumeList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, dcerpc_info *di _U_, guint8 *drep _U_, int hf_index, guint32 param _U_) +{ + proto_item *item=NULL; + proto_tree *tree=NULL; + int old_offset; + + ALIGN_TO_4_BYTES; + + old_offset=offset; + if(parent_tree){ + item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); + tree=proto_item_add_subtree(item, ett_budb_volumeList); + } + + offset=budb_dissect_volumeList_volumeList_len(tvb, offset, pinfo, tree, di, drep); + + offset=ucarray_ptr_budb_dissect_volumeList_volumeList_val(tvb, offset, pinfo, tree, di, drep); + + proto_item_set_len(item, offset-old_offset); + + return offset; +} +static int +budb_dissect_dumpList_dumpList_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpList_dumpList_len, param); + return offset; +} + +static int +budb_dissect_dumpList_dumpList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_dumpEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_dumpList_dumpList_val, param); + return offset; +} + +static int +ptr_budb_dissect_dumpList_dumpList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_dumpList_dumpList_val, NDR_POINTER_PTR, "dumpList_val", -1); + return offset; +} + +static int +ucarray_ptr_budb_dissect_dumpList_dumpList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, ptr_budb_dissect_dumpList_dumpList_val); + return offset; +} + + +int +budb_dissect_dumpList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, dcerpc_info *di _U_, guint8 *drep _U_, int hf_index, guint32 param _U_) +{ + proto_item *item=NULL; + proto_tree *tree=NULL; + int old_offset; + + ALIGN_TO_4_BYTES; + + old_offset=offset; + if(parent_tree){ + item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); + tree=proto_item_add_subtree(item, ett_budb_dumpList); + } + + offset=budb_dissect_dumpList_dumpList_len(tvb, offset, pinfo, tree, di, drep); + + offset=ucarray_ptr_budb_dissect_dumpList_dumpList_val(tvb, offset, pinfo, tree, di, drep); + + proto_item_set_len(item, offset-old_offset); + + return offset; +} +static int +budb_dissect_tapeList_tapeList_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeList_tapeList_len, param); + return offset; +} + +static int +budb_dissect_tapeList_tapeList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_tapeEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_tapeList_tapeList_val, param); + return offset; +} + +static int +ptr_budb_dissect_tapeList_tapeList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_tapeList_tapeList_val, NDR_POINTER_PTR, "tapeList_val", -1); + return offset; +} + +static int +ucarray_ptr_budb_dissect_tapeList_tapeList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, ptr_budb_dissect_tapeList_tapeList_val); + return offset; +} + + +int +budb_dissect_tapeList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, dcerpc_info *di _U_, guint8 *drep _U_, int hf_index, guint32 param _U_) +{ + proto_item *item=NULL; + proto_tree *tree=NULL; + int old_offset; + + ALIGN_TO_4_BYTES; + + old_offset=offset; + if(parent_tree){ + item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); + tree=proto_item_add_subtree(item, ett_budb_tapeList); + } + + offset=budb_dissect_tapeList_tapeList_len(tvb, offset, pinfo, tree, di, drep); + + offset=ucarray_ptr_budb_dissect_tapeList_tapeList_val(tvb, offset, pinfo, tree, di, drep); + + proto_item_set_len(item, offset-old_offset); + + return offset; +} +static int +budb_dissect_charListT_charListT_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_charListT_charListT_len, param); + return offset; +} + + +static int +budb_dissect_uint8(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_) +{ + offset=dissect_ndr_uint8(tvb, offset, pinfo, tree, di, drep, hf_index, NULL); + return offset; +} + +static int +budb_dissect_charListT_charListT_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_budb_charListT_charListT_val, param); + return offset; +} + +static int +fixedarray_budb_dissect_charListT_charListT_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + int count=1024; + while(count--){ + offset=budb_dissect_charListT_charListT_val(tvb, offset, pinfo, tree, di, drep); + } + + return offset; +} + +static int +uvarray_fixedarray_budb_dissect_charListT_charListT_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_uvarray(tvb, offset, pinfo, tree, di, drep, fixedarray_budb_dissect_charListT_charListT_val); + return offset; +} + + +int +budb_dissect_charListT(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, dcerpc_info *di _U_, guint8 *drep _U_, int hf_index, guint32 param _U_) +{ + proto_item *item=NULL; + proto_tree *tree=NULL; + int old_offset; + + ALIGN_TO_4_BYTES; + + old_offset=offset; + if(parent_tree){ + item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); + tree=proto_item_add_subtree(item, ett_budb_charListT); + } + + offset=budb_dissect_charListT_charListT_len(tvb, offset, pinfo, tree, di, drep); + + offset=uvarray_fixedarray_budb_dissect_charListT_charListT_val(tvb, offset, pinfo, tree, di, drep); + + proto_item_set_len(item, offset-old_offset); + + return offset; +} +static int +budb_dissect_DbHeader_dbversion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_dbversion, param); + return offset; +} + +static int +budb_dissect_DbHeader_created(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_created, param); + return offset; +} + +static int +budb_dissect_DbHeader_cell(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_cell, param); + return offset; +} + +static int +budb_dissect_DbHeader_lastDumpId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_lastDumpId, param); + return offset; +} + +static int +budb_dissect_DbHeader_lastInstanceId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_lastInstanceId, param); + return offset; +} + +static int +budb_dissect_DbHeader_lastTapeId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_lastTapeId, param); + return offset; +} + +static int +budb_dissect_DbHeader_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_spare1, param); + return offset; +} + +static int +budb_dissect_DbHeader_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_spare2, param); + return offset; +} + +static int +budb_dissect_DbHeader_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_spare3, param); + return offset; +} + +static int +budb_dissect_DbHeader_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbHeader_spare4, param); + return offset; +} + + +int +budb_dissect_DbHeader(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, dcerpc_info *di _U_, guint8 *drep _U_, int hf_index, guint32 param _U_) +{ + proto_item *item=NULL; + proto_tree *tree=NULL; + int old_offset; + + ALIGN_TO_4_BYTES; + + old_offset=offset; + if(parent_tree){ + item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); + tree=proto_item_add_subtree(item, ett_budb_DbHeader); + } + + offset=budb_dissect_DbHeader_dbversion(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_DbHeader_created(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_DbHeader_cell(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_DbHeader_lastDumpId(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_DbHeader_lastInstanceId(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_DbHeader_lastTapeId(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_DbHeader_spare1(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_DbHeader_spare2(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_DbHeader_spare3(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_DbHeader_spare4(tvb, offset, pinfo, tree, di, drep); + + proto_item_set_len(item, offset-old_offset); + + return offset; +} +static int +budb_dissect_dbVolume_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_name, param); + return offset; +} + +static int +budb_dissect_dbVolume_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_flags, param); + return offset; +} + +static int +budb_dissect_dbVolume_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_udlong(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_id, param); + return offset; +} + +static int +budb_dissect_dbVolume_server(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_server, param); + return offset; +} + +static int +budb_dissect_dbVolume_partition(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_partition, param); + return offset; +} + +static int +budb_dissect_dbVolume_nFrags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_nFrags, param); + return offset; +} + +static int +budb_dissect_dbVolume_position(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_position, param); + return offset; +} + +static int +budb_dissect_dbVolume_clone(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_clone, param); + return offset; +} + +static int +budb_dissect_dbVolume_incTime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_time_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_incTime, param); + return offset; +} + +static int +budb_dissect_dbVolume_startByte(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_startByte, param); + return offset; +} + +static int +budb_dissect_dbVolume_nBytes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_nBytes, param); + return offset; +} + +static int +budb_dissect_dbVolume_seq(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_seq, param); + return offset; +} + +static int +budb_dissect_dbVolume_dump(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_dump, param); + return offset; +} + +static int +budb_dissect_dbVolume_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_tape, param); + return offset; +} + +static int +budb_dissect_dbVolume_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_spare1, param); + return offset; +} + +static int +budb_dissect_dbVolume_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_spare2, param); + return offset; +} + +static int +budb_dissect_dbVolume_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_spare3, param); + return offset; +} + +static int +budb_dissect_dbVolume_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dbVolume_spare4, param); + return offset; +} + + +int +budb_dissect_dbVolume(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, dcerpc_info *di _U_, guint8 *drep _U_, int hf_index, guint32 param _U_) +{ + proto_item *item=NULL; + proto_tree *tree=NULL; + int old_offset; + + ALIGN_TO_4_BYTES; + + old_offset=offset; + if(parent_tree){ + item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); + tree=proto_item_add_subtree(item, ett_budb_dbVolume); + } + + offset=budb_dissect_dbVolume_name(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_flags(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_id(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_server(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_partition(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_nFrags(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_position(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_clone(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_incTime(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_startByte(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_nBytes(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_seq(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_dump(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_tape(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_spare1(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_spare2(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_spare3(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dbVolume_spare4(tvb, offset, pinfo, tree, di, drep); + + proto_item_set_len(item, offset-old_offset); + + return offset; +} +static int +budb_dissect_structDumpHeader_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_structDumpHeader_type, param); + return offset; +} + +static int +budb_dissect_structDumpHeader_structversion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_structDumpHeader_structversion, param); + return offset; +} + +static int +budb_dissect_structDumpHeader_size(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_structDumpHeader_size, param); + return offset; +} + +static int +budb_dissect_structDumpHeader_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_structDumpHeader_spare1, param); + return offset; +} + +static int +budb_dissect_structDumpHeader_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_structDumpHeader_spare2, param); + return offset; +} + +static int +budb_dissect_structDumpHeader_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_structDumpHeader_spare3, param); + return offset; +} + +static int +budb_dissect_structDumpHeader_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_structDumpHeader_spare4, param); + return offset; +} + + +int +budb_dissect_structDumpHeader(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, dcerpc_info *di _U_, guint8 *drep _U_, int hf_index, guint32 param _U_) +{ + proto_item *item=NULL; + proto_tree *tree=NULL; + int old_offset; + + ALIGN_TO_4_BYTES; + + old_offset=offset; + if(parent_tree){ + item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); + tree=proto_item_add_subtree(item, ett_budb_structDumpHeader); + } + + offset=budb_dissect_structDumpHeader_type(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_structDumpHeader_structversion(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_structDumpHeader_size(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_structDumpHeader_spare1(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_structDumpHeader_spare2(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_structDumpHeader_spare3(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_structDumpHeader_spare4(tvb, offset, pinfo, tree, di, drep); + + proto_item_set_len(item, offset-old_offset); + + return offset; +} +static int +budb_dissect_AddVolume_vol(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_volumeEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_AddVolume_vol, param); + return offset; +} + +static int +ref_budb_dissect_AddVolume_vol(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_AddVolume_vol, NDR_POINTER_REF, "vol", -1); + return offset; +} + + +static int +budb_dissect_AddVolume_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_AddVolume_vol(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_AddVolume_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_CreateDump_dump(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_dumpEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_CreateDump_dump, param); + return offset; +} + +static int +ref_budb_dissect_CreateDump_dump(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_CreateDump_dump, NDR_POINTER_REF, "dump", -1); + return offset; +} + + +static int +budb_dissect_CreateDump_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_CreateDump_dump(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_CreateDump_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_CreateDump_dump(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_DeleteDump_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_DeleteDump_id, param); + return offset; +} + + +static int +budb_dissect_DeleteDump_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=budb_dissect_DeleteDump_id(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_DeleteDump_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_DeleteTape_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_tapeEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_DeleteTape_tape, param); + return offset; +} + +static int +ref_budb_dissect_DeleteTape_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DeleteTape_tape, NDR_POINTER_REF, "tape", -1); + return offset; +} + + +static int +budb_dissect_DeleteTape_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_DeleteTape_tape(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_DeleteTape_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_DeleteVDP_dsname(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_DeleteVDP_dsname, param); + return offset; +} + +static int +ptr_budb_dissect_DeleteVDP_dsname(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DeleteVDP_dsname, NDR_POINTER_PTR, "dsname", -1); + return offset; +} + +static int +budb_dissect_DeleteVDP_dumpPath(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_DeleteVDP_dumpPath, param); + return offset; +} + +static int +ptr_budb_dissect_DeleteVDP_dumpPath(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DeleteVDP_dumpPath, NDR_POINTER_PTR, "dumpPath", -1); + return offset; +} + +static int +budb_dissect_DeleteVDP_curDumpId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DeleteVDP_curDumpId, param); + return offset; +} + + +static int +budb_dissect_DeleteVDP_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ptr_budb_dissect_DeleteVDP_dsname(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ptr_budb_dissect_DeleteVDP_dumpPath(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_DeleteVDP_curDumpId(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_DeleteVDP_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_FindClone_dumpID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_FindClone_dumpID, param); + return offset; +} + +static int +budb_dissect_FindClone_volName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_FindClone_volName, param); + return offset; +} + +static int +ptr_budb_dissect_FindClone_volName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindClone_volName, NDR_POINTER_PTR, "volName", -1); + return offset; +} + +static int +budb_dissect_FindClone_clonetime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_FindClone_clonetime, param); + return offset; +} + +static int +ref_budb_dissect_FindClone_clonetime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindClone_clonetime, NDR_POINTER_REF, "clonetime", -1); + return offset; +} + +static int +budb_dissect_FindClone_cloneSpare(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_FindClone_cloneSpare, param); + return offset; +} + +static int +ref_budb_dissect_FindClone_cloneSpare(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindClone_cloneSpare, NDR_POINTER_REF, "cloneSpare", -1); + return offset; +} + + +static int +budb_dissect_FindClone_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=budb_dissect_FindClone_dumpID(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ptr_budb_dissect_FindClone_volName(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_FindClone_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_FindClone_clonetime(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ref_budb_dissect_FindClone_cloneSpare(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_FindDump_volName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_FindDump_volName, param); + return offset; +} + +static int +ptr_budb_dissect_FindDump_volName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindDump_volName, NDR_POINTER_PTR, "volName", -1); + return offset; +} + +static int +budb_dissect_FindDump_beforeDate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_FindDump_beforeDate, param); + return offset; +} + +static int +budb_dissect_FindDump_dateSpare(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_FindDump_dateSpare, param); + return offset; +} + +static int +budb_dissect_FindDump_deptr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_dumpEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_FindDump_deptr, param); + return offset; +} + +static int +ref_budb_dissect_FindDump_deptr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindDump_deptr, NDR_POINTER_REF, "deptr", -1); + return offset; +} + + +static int +budb_dissect_FindDump_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ptr_budb_dissect_FindDump_volName(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_FindDump_beforeDate(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_FindDump_dateSpare(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_FindDump_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_FindDump_deptr(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_FindLatestDump_vsname(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_FindLatestDump_vsname, param); + return offset; +} + +static int +ptr_budb_dissect_FindLatestDump_vsname(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindLatestDump_vsname, NDR_POINTER_PTR, "vsname", -1); + return offset; +} + +static int +budb_dissect_FindLatestDump_dname(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_FindLatestDump_dname, param); + return offset; +} + +static int +ptr_budb_dissect_FindLatestDump_dname(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindLatestDump_dname, NDR_POINTER_PTR, "dname", -1); + return offset; +} + +static int +budb_dissect_FindLatestDump_dumpentry(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_dumpEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_FindLatestDump_dumpentry, param); + return offset; +} + +static int +ref_budb_dissect_FindLatestDump_dumpentry(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FindLatestDump_dumpentry, NDR_POINTER_REF, "dumpentry", -1); + return offset; +} + + +static int +budb_dissect_FindLatestDump_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ptr_budb_dissect_FindLatestDump_vsname(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ptr_budb_dissect_FindLatestDump_dname(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_FindLatestDump_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_FindLatestDump_dumpentry(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_FinishDump_dump(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_dumpEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_FinishDump_dump, param); + return offset; +} + +static int +ref_budb_dissect_FinishDump_dump(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FinishDump_dump, NDR_POINTER_REF, "dump", -1); + return offset; +} + + +static int +budb_dissect_FinishDump_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_FinishDump_dump(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_FinishDump_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_FinishDump_dump(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_FinishTape_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_tapeEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_FinishTape_tape, param); + return offset; +} + +static int +ref_budb_dissect_FinishTape_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_FinishTape_tape, NDR_POINTER_REF, "tape", -1); + return offset; +} + + +static int +budb_dissect_FinishTape_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_FinishTape_tape(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_FinishTape_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_GetDumps_majorVersion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_majorVersion, param); + return offset; +} + +static int +budb_dissect_GetDumps_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_flags, param); + return offset; +} + +static int +budb_dissect_GetDumps_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_name, param); + return offset; +} + +static int +ptr_budb_dissect_GetDumps_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetDumps_name, NDR_POINTER_PTR, "name", -1); + return offset; +} + +static int +budb_dissect_GetDumps_start(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_start, param); + return offset; +} + +static int +budb_dissect_GetDumps_end(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_end, param); + return offset; +} + +static int +budb_dissect_GetDumps_index(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_index, param); + return offset; +} + +static int +budb_dissect_GetDumps_nextIndex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_nextIndex, param); + return offset; +} + +static int +ref_budb_dissect_GetDumps_nextIndex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetDumps_nextIndex, NDR_POINTER_REF, "nextIndex", -1); + return offset; +} + +static int +budb_dissect_GetDumps_dbUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_dbUpdate, param); + return offset; +} + +static int +ref_budb_dissect_GetDumps_dbUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetDumps_dbUpdate, NDR_POINTER_REF, "dbUpdate", -1); + return offset; +} + +static int +budb_dissect_GetDumps_dumps(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_dumpList(tvb, offset, pinfo, tree, di, drep, hf_budb_GetDumps_dumps, param); + return offset; +} + +static int +ptr_budb_dissect_GetDumps_dumps(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetDumps_dumps, NDR_POINTER_PTR, "dumps", -1); + return offset; +} + +static int +ptr_ptr_budb_dissect_GetDumps_dumps(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, ptr_budb_dissect_GetDumps_dumps, NDR_POINTER_PTR, "dumps", -1); + return offset; +} + + +static int +budb_dissect_GetDumps_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=budb_dissect_GetDumps_majorVersion(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetDumps_flags(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ptr_budb_dissect_GetDumps_name(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetDumps_start(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetDumps_end(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetDumps_index(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_GetDumps_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_GetDumps_nextIndex(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ref_budb_dissect_GetDumps_dbUpdate(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ptr_ptr_budb_dissect_GetDumps_dumps(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_GetTapes_majorVersion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_majorVersion, param); + return offset; +} + +static int +budb_dissect_GetTapes_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_flags, param); + return offset; +} + +static int +budb_dissect_GetTapes_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_name, param); + return offset; +} + +static int +ptr_budb_dissect_GetTapes_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetTapes_name, NDR_POINTER_PTR, "name", -1); + return offset; +} + +static int +budb_dissect_GetTapes_start(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_start, param); + return offset; +} + +static int +budb_dissect_GetTapes_end(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_end, param); + return offset; +} + +static int +budb_dissect_GetTapes_index(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_index, param); + return offset; +} + +static int +budb_dissect_GetTapes_nextIndex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_nextIndex, param); + return offset; +} + +static int +ref_budb_dissect_GetTapes_nextIndex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetTapes_nextIndex, NDR_POINTER_REF, "nextIndex", -1); + return offset; +} + +static int +budb_dissect_GetTapes_dbUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_dbUpdate, param); + return offset; +} + +static int +ref_budb_dissect_GetTapes_dbUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetTapes_dbUpdate, NDR_POINTER_REF, "dbUpdate", -1); + return offset; +} + +static int +budb_dissect_GetTapes_tapes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_tapeList(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTapes_tapes, param); + return offset; +} + +static int +ptr_budb_dissect_GetTapes_tapes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetTapes_tapes, NDR_POINTER_PTR, "tapes", -1); + return offset; +} + +static int +ptr_ptr_budb_dissect_GetTapes_tapes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, ptr_budb_dissect_GetTapes_tapes, NDR_POINTER_PTR, "tapes", -1); + return offset; +} + + +static int +budb_dissect_GetTapes_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=budb_dissect_GetTapes_majorVersion(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetTapes_flags(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ptr_budb_dissect_GetTapes_name(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetTapes_start(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetTapes_end(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetTapes_index(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_GetTapes_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_GetTapes_nextIndex(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ref_budb_dissect_GetTapes_dbUpdate(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ptr_ptr_budb_dissect_GetTapes_tapes(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_GetVolumes_majorVersion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_majorVersion, param); + return offset; +} + +static int +budb_dissect_GetVolumes_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_flags, param); + return offset; +} + +static int +budb_dissect_GetVolumes_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_name, param); + return offset; +} + +static int +ptr_budb_dissect_GetVolumes_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetVolumes_name, NDR_POINTER_PTR, "name", -1); + return offset; +} + +static int +budb_dissect_GetVolumes_start(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_start, param); + return offset; +} + +static int +budb_dissect_GetVolumes_end(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_end, param); + return offset; +} + +static int +budb_dissect_GetVolumes_index(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_index, param); + return offset; +} + +static int +budb_dissect_GetVolumes_nextIndex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_nextIndex, param); + return offset; +} + +static int +ref_budb_dissect_GetVolumes_nextIndex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetVolumes_nextIndex, NDR_POINTER_REF, "nextIndex", -1); + return offset; +} + +static int +budb_dissect_GetVolumes_dbUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_dbUpdate, param); + return offset; +} + +static int +ref_budb_dissect_GetVolumes_dbUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetVolumes_dbUpdate, NDR_POINTER_REF, "dbUpdate", -1); + return offset; +} + +static int +budb_dissect_GetVolumes_volumes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_volumeList(tvb, offset, pinfo, tree, di, drep, hf_budb_GetVolumes_volumes, param); + return offset; +} + +static int +ptr_budb_dissect_GetVolumes_volumes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetVolumes_volumes, NDR_POINTER_PTR, "volumes", -1); + return offset; +} + +static int +ptr_ptr_budb_dissect_GetVolumes_volumes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, ptr_budb_dissect_GetVolumes_volumes, NDR_POINTER_PTR, "volumes", -1); + return offset; +} + + +static int +budb_dissect_GetVolumes_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=budb_dissect_GetVolumes_majorVersion(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetVolumes_flags(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ptr_budb_dissect_GetVolumes_name(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetVolumes_start(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetVolumes_end(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetVolumes_index(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_GetVolumes_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_GetVolumes_nextIndex(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ref_budb_dissect_GetVolumes_dbUpdate(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ptr_ptr_budb_dissect_GetVolumes_volumes(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_UseTape_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_tapeEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_UseTape_tape, param); + return offset; +} + +static int +ref_budb_dissect_UseTape_tape(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_UseTape_tape, NDR_POINTER_REF, "tape", -1); + return offset; +} + +static int +budb_dissect_UseTape_new(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_UseTape_new, param); + return offset; +} + +static int +ref_budb_dissect_UseTape_new(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_UseTape_new, NDR_POINTER_REF, "new", -1); + return offset; +} + + +static int +budb_dissect_UseTape_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_UseTape_tape(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_UseTape_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_UseTape_new(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_GetText_lockHandle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetText_lockHandle, param); + return offset; +} + +static int +budb_dissect_GetText_textType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetText_textType, param); + return offset; +} + +static int +budb_dissect_GetText_maxLength(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetText_maxLength, param); + return offset; +} + +static int +budb_dissect_GetText_offset(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetText_offset, param); + return offset; +} + +static int +budb_dissect_GetText_nextOffset(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetText_nextOffset, param); + return offset; +} + +static int +ref_budb_dissect_GetText_nextOffset(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetText_nextOffset, NDR_POINTER_REF, "nextOffset", -1); + return offset; +} + +static int +budb_dissect_GetText_charListPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_charListT(tvb, offset, pinfo, tree, di, drep, hf_budb_GetText_charListPtr, param); + return offset; +} + +static int +ref_budb_dissect_GetText_charListPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetText_charListPtr, NDR_POINTER_REF, "charListPtr", -1); + return offset; +} + + +static int +budb_dissect_GetText_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=budb_dissect_GetText_lockHandle(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetText_textType(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetText_maxLength(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetText_offset(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_GetText_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_GetText_nextOffset(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ref_budb_dissect_GetText_charListPtr(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_GetTextVersion_textType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTextVersion_textType, param); + return offset; +} + +static int +budb_dissect_GetTextVersion_tversion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetTextVersion_tversion, param); + return offset; +} + +static int +ref_budb_dissect_GetTextVersion_tversion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetTextVersion_tversion, NDR_POINTER_REF, "tversion", -1); + return offset; +} + + +static int +budb_dissect_GetTextVersion_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=budb_dissect_GetTextVersion_textType(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_GetTextVersion_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_GetTextVersion_tversion(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_SaveText_lockHandle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_SaveText_lockHandle, param); + return offset; +} + +static int +budb_dissect_SaveText_textType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_SaveText_textType, param); + return offset; +} + +static int +budb_dissect_SaveText_offset(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_SaveText_offset, param); + return offset; +} + +static int +budb_dissect_SaveText_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_SaveText_flags, param); + return offset; +} + +static int +budb_dissect_SaveText_charListPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_charListT(tvb, offset, pinfo, tree, di, drep, hf_budb_SaveText_charListPtr, param); + return offset; +} + +static int +ref_budb_dissect_SaveText_charListPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_SaveText_charListPtr, NDR_POINTER_REF, "charListPtr", -1); + return offset; +} + + +static int +budb_dissect_SaveText_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=budb_dissect_SaveText_lockHandle(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_SaveText_textType(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_SaveText_offset(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_SaveText_flags(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ref_budb_dissect_SaveText_charListPtr(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_SaveText_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_FreeAllLocks_instanceId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_FreeAllLocks_instanceId, param); + return offset; +} + + +static int +budb_dissect_FreeAllLocks_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=budb_dissect_FreeAllLocks_instanceId(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_FreeAllLocks_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_FreeLock_lockHandle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_FreeLock_lockHandle, param); + return offset; +} + + +static int +budb_dissect_FreeLock_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=budb_dissect_FreeLock_lockHandle(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_FreeLock_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_GetInstanceId_instanceId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetInstanceId_instanceId, param); + return offset; +} + +static int +ref_budb_dissect_GetInstanceId_instanceId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetInstanceId_instanceId, NDR_POINTER_REF, "instanceId", -1); + return offset; +} + + +static int +budb_dissect_GetInstanceId_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + + return offset; +} + +static int +budb_dissect_GetInstanceId_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_GetInstanceId_instanceId(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_GetLock_instanceId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetLock_instanceId, param); + return offset; +} + +static int +budb_dissect_GetLock_lockName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetLock_lockName, param); + return offset; +} + +static int +budb_dissect_GetLock_expiration(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetLock_expiration, param); + return offset; +} + +static int +budb_dissect_GetLock_lockHandle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_GetLock_lockHandle, param); + return offset; +} + +static int +ref_budb_dissect_GetLock_lockHandle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetLock_lockHandle, NDR_POINTER_REF, "lockHandle", -1); + return offset; +} + + +static int +budb_dissect_GetLock_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=budb_dissect_GetLock_instanceId(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetLock_lockName(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=budb_dissect_GetLock_expiration(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_GetLock_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_GetLock_lockHandle(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_DbVerify_status(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbVerify_status, param); + return offset; +} + +static int +ref_budb_dissect_DbVerify_status(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DbVerify_status, NDR_POINTER_REF, "status", -1); + return offset; +} + +static int +budb_dissect_DbVerify_orphans(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbVerify_orphans, param); + return offset; +} + +static int +ref_budb_dissect_DbVerify_orphans(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DbVerify_orphans, NDR_POINTER_REF, "orphans", -1); + return offset; +} + +static int +budb_dissect_DbVerify_host(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DbVerify_host, param); + return offset; +} + +static int +ref_budb_dissect_DbVerify_host(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DbVerify_host, NDR_POINTER_REF, "host", -1); + return offset; +} + + +static int +budb_dissect_DbVerify_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + + return offset; +} + +static int +budb_dissect_DbVerify_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_DbVerify_status(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ref_budb_dissect_DbVerify_orphans(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ref_budb_dissect_DbVerify_host(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_DumpDB_maxLength(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DumpDB_maxLength, param); + return offset; +} + +static int +budb_dissect_DumpDB_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_DumpDB_flags, param); + return offset; +} + +static int +ref_budb_dissect_DumpDB_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DumpDB_flags, NDR_POINTER_REF, "flags", -1); + return offset; +} + +static int +budb_dissect_DumpDB_charListPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_charListT(tvb, offset, pinfo, tree, di, drep, hf_budb_DumpDB_charListPtr, param); + return offset; +} + +static int +ref_budb_dissect_DumpDB_charListPtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_DumpDB_charListPtr, NDR_POINTER_REF, "charListPtr", -1); + return offset; +} + + +static int +budb_dissect_DumpDB_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=budb_dissect_DumpDB_maxLength(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_DumpDB_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_DumpDB_flags(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ref_budb_dissect_DumpDB_charListPtr(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_RestoreDbHeader_header(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_DbHeader(tvb, offset, pinfo, tree, di, drep, hf_budb_RestoreDbHeader_header, param); + return offset; +} + +static int +ref_budb_dissect_RestoreDbHeader_header(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_RestoreDbHeader_header, NDR_POINTER_REF, "header", -1); + return offset; +} + + +static int +budb_dissect_RestoreDbHeader_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_RestoreDbHeader_header(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_RestoreDbHeader_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_T_GetVersion_majorVersion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_T_GetVersion_majorVersion, param); + return offset; +} + +static int +ref_budb_dissect_T_GetVersion_majorVersion(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_T_GetVersion_majorVersion, NDR_POINTER_REF, "majorVersion", -1); + return offset; +} + + +static int +budb_dissect_T_GetVersion_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + + return offset; +} + +static int +budb_dissect_T_GetVersion_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_T_GetVersion_majorVersion(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_T_DumpHashTable_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_int32(tvb, offset, pinfo, tree, di, drep, hf_budb_T_DumpHashTable_type, param); + return offset; +} + +static int +budb_dissect_T_DumpHashTable_filename(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_T_DumpHashTable_filename, param); + return offset; +} + +static int +ptr_budb_dissect_T_DumpHashTable_filename(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_T_DumpHashTable_filename, NDR_POINTER_PTR, "filename", -1); + return offset; +} + + +static int +budb_dissect_T_DumpHashTable_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=budb_dissect_T_DumpHashTable_type(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ptr_budb_dissect_T_DumpHashTable_filename(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_T_DumpHashTable_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_T_DumpDatabase_filename(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_NameString_t(tvb, offset, pinfo, tree, di, drep, hf_budb_T_DumpDatabase_filename, param); + return offset; +} + +static int +ptr_budb_dissect_T_DumpDatabase_filename(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_T_DumpDatabase_filename, NDR_POINTER_PTR, "filename", -1); + return offset; +} + + +static int +budb_dissect_T_DumpDatabase_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ptr_budb_dissect_T_DumpDatabase_filename(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_T_DumpDatabase_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} + +static int +budb_dissect_uuid_t(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_) +{ + offset=dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_index, NULL); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_interface_uuid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_interface_uuid, param); + return offset; +} + + +static int +budb_dissect_uint16(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index, guint32 param _U_) +{ + offset=dissect_ndr_uint16(tvb, offset, pinfo, tree, di, drep, hf_index, NULL); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_vers_major(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_vers_major, param); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_vers_minor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_vers_minor, param); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_vers_provider(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_vers_provider, param); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_spare0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare0, param); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_spare1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare1, param); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_spare2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare2, param); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_spare3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare3, param); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_spare4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare4, param); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_spare5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare5, param); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_spare6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare6, param); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_spare7(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare7, param); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_spare8(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare8, param); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_spare9(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spare9, param); + return offset; +} + +static int +budb_dissect_dfs_interfaceDescription_spareText(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceDescription_spareText, param); + return offset; +} + +static int +fixedarray_budb_dissect_dfs_interfaceDescription_spareText(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + int count=50; + while(count--){ + offset=budb_dissect_dfs_interfaceDescription_spareText(tvb, offset, pinfo, tree, di, drep); + } + + return offset; +} + + +int +budb_dissect_dfs_interfaceDescription(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, dcerpc_info *di _U_, guint8 *drep _U_, int hf_index, guint32 param _U_) +{ + proto_item *item=NULL; + proto_tree *tree=NULL; + int old_offset; + + ALIGN_TO_4_BYTES; + + old_offset=offset; + if(parent_tree){ + item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); + tree=proto_item_add_subtree(item, ett_budb_dfs_interfaceDescription); + } + + offset=budb_dissect_dfs_interfaceDescription_interface_uuid(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dfs_interfaceDescription_vers_major(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dfs_interfaceDescription_vers_minor(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dfs_interfaceDescription_vers_provider(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dfs_interfaceDescription_spare0(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dfs_interfaceDescription_spare1(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dfs_interfaceDescription_spare2(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dfs_interfaceDescription_spare3(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dfs_interfaceDescription_spare4(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dfs_interfaceDescription_spare5(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dfs_interfaceDescription_spare6(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dfs_interfaceDescription_spare7(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dfs_interfaceDescription_spare8(tvb, offset, pinfo, tree, di, drep); + + offset=budb_dissect_dfs_interfaceDescription_spare9(tvb, offset, pinfo, tree, di, drep); + + offset=fixedarray_budb_dissect_dfs_interfaceDescription_spareText(tvb, offset, pinfo, tree, di, drep); + + proto_item_set_len(item, offset-old_offset); + + return offset; +} +static int +budb_dissect_dfs_interfaceList_dfs_interfaceList_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceList_dfs_interfaceList_len, param); + return offset; +} + +static int +budb_dissect_dfs_interfaceList_dfs_interfaceList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_dfs_interfaceDescription(tvb, offset, pinfo, tree, di, drep, hf_budb_dfs_interfaceList_dfs_interfaceList_val, param); + return offset; +} + +static int +uvarray_budb_dissect_dfs_interfaceList_dfs_interfaceList_val(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_uvarray(tvb, offset, pinfo, tree, di, drep, budb_dissect_dfs_interfaceList_dfs_interfaceList_val); + return offset; +} + + +int +budb_dissect_dfs_interfaceList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, dcerpc_info *di _U_, guint8 *drep _U_, int hf_index, guint32 param _U_) +{ + proto_item *item=NULL; + proto_tree *tree=NULL; + int old_offset; + + ALIGN_TO_4_BYTES; + + old_offset=offset; + if(parent_tree){ + item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA); + tree=proto_item_add_subtree(item, ett_budb_dfs_interfaceList); + } + + offset=budb_dissect_dfs_interfaceList_dfs_interfaceList_len(tvb, offset, pinfo, tree, di, drep); + + offset=uvarray_budb_dissect_dfs_interfaceList_dfs_interfaceList_val(tvb, offset, pinfo, tree, di, drep); + + proto_item_set_len(item, offset-old_offset); + + return offset; +} +static int +budb_dissect_GetServerInterfaces_serverInterfacesP(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_dfs_interfaceList(tvb, offset, pinfo, tree, di, drep, hf_budb_GetServerInterfaces_serverInterfacesP, param); + return offset; +} + +static int +ref_budb_dissect_GetServerInterfaces_serverInterfacesP(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, budb_dissect_GetServerInterfaces_serverInterfacesP, NDR_POINTER_REF, "serverInterfacesP", -1); + return offset; +} + + +static int +budb_dissect_GetServerInterfaces_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_GetServerInterfaces_serverInterfacesP(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_GetServerInterfaces_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=ref_budb_dissect_GetServerInterfaces_serverInterfacesP(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +static int +budb_dissect_AddVolumes_cnt(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_budb_AddVolumes_cnt, param); + return offset; +} + +static int +budb_dissect_AddVolumes_vol(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + guint32 param=0; + offset=budb_dissect_volumeEntry(tvb, offset, pinfo, tree, di, drep, hf_budb_AddVolumes_vol, param); + return offset; +} + +static int +ucarray_budb_dissect_AddVolumes_vol(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) +{ + offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, budb_dissect_AddVolumes_vol); + return offset; +} + + +static int +budb_dissect_AddVolumes_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=budb_dissect_AddVolumes_cnt(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + offset=ucarray_budb_dissect_AddVolumes_vol(tvb, offset, pinfo, tree, di, drep); + offset=dissect_deferred_pointers(pinfo, tvb, offset, di, drep); + + + return offset; +} + +static int +budb_dissect_AddVolumes_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +{ + offset=dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf_budb_rc, NULL); + + + return offset; +} +/* END OF INCLUDED FILE : ETH_CODE */ + + + +void +proto_register_budb(void) +{ + static hf_register_info hf[] = { + + + +/* INCLUDED FILE : ETH_HFARR */ + { &hf_budb_opnum, + { "Operation", "budb.opnum", FT_UINT16, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_rc, + { "Return code", "budb.rc", FT_UINT32, BASE_HEX, + VALS(NT_errors), 0, + NULL, HFILL }}, + + { &hf_budb_principal_name, + { "name", "budb.principal.name", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_principal_instance, + { "instance", "budb.principal.instance", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_principal_cell, + { "cell", "budb.principal.cell", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_principal_spare, + { "spare", "budb.principal.spare", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_principal_spare1, + { "spare1", "budb.principal.spare1", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_principal_spare2, + { "spare2", "budb.principal.spare2", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_principal_spare3, + { "spare3", "budb.principal.spare3", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_principal_spare4, + { "spare4", "budb.principal.spare4", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeSet_id, + { "id", "budb.tapeSet.id", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeSet_tapeServer, + { "tapeServer", "budb.tapeSet.tapeServer", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeSet_format, + { "format", "budb.tapeSet.format", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeSet_maxTapes, + { "maxTapes", "budb.tapeSet.maxTapes", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeSet_a, + { "a", "budb.tapeSet.a", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeSet_b, + { "b", "budb.tapeSet.b", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeSet_spare1, + { "spare1", "budb.tapeSet.spare1", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeSet_spare2, + { "spare2", "budb.tapeSet.spare2", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeSet_spare3, + { "spare3", "budb.tapeSet.spare3", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeSet_spare4, + { "spare4", "budb.tapeSet.spare4", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_id, + { "id", "budb.dumpEntry.id", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_parent, + { "parent", "budb.dumpEntry.parent", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_level, + { "level", "budb.dumpEntry.level", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_flags, + { "flags", "budb.dumpEntry.flags", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_volumeSetName, + { "volumeSetName", "budb.dumpEntry.volumeSetName", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_dumpPath, + { "dumpPath", "budb.dumpEntry.dumpPath", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_name, + { "name", "budb.dumpEntry.name", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_created, + { "created", "budb.dumpEntry.created", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_incTime, + { "incTime", "budb.dumpEntry.incTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_nVolumes, + { "nVolumes", "budb.dumpEntry.nVolumes", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_tapes, + { "tapes", "budb.dumpEntry.tapes", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_dumper, + { "dumper", "budb.dumpEntry.dumper", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_spare1, + { "spare1", "budb.dumpEntry.spare1", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_spare2, + { "spare2", "budb.dumpEntry.spare2", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_spare3, + { "spare3", "budb.dumpEntry.spare3", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpEntry_spare4, + { "spare4", "budb.dumpEntry.spare4", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_name, + { "name", "budb.tapeEntry.name", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_flags, + { "flags", "budb.tapeEntry.flags", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_written, + { "written", "budb.tapeEntry.written", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_expires, + { "expires", "budb.tapeEntry.expires", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_nMBytes, + { "nMBytes", "budb.tapeEntry.nMBytes", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_nBytes, + { "nBytes", "budb.tapeEntry.nBytes", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_nFiles, + { "nFiles", "budb.tapeEntry.nFiles", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_nVolumes, + { "nVolumes", "budb.tapeEntry.nVolumes", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_seq, + { "seq", "budb.tapeEntry.seq", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_tapeid, + { "tapeid", "budb.tapeEntry.tapeid", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_useCount, + { "useCount", "budb.tapeEntry.useCount", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_mediaType, + { "mediaType", "budb.tapeEntry.mediaType", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_dump, + { "dump", "budb.tapeEntry.dump", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_spare1, + { "spare1", "budb.tapeEntry.spare1", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_spare2, + { "spare2", "budb.tapeEntry.spare2", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_spare3, + { "spare3", "budb.tapeEntry.spare3", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeEntry_spare4, + { "spare4", "budb.tapeEntry.spare4", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_name, + { "name", "budb.volumeEntry.name", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_flags, + { "flags", "budb.volumeEntry.flags", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_id, + { "id", "budb.volumeEntry.id", FT_UINT64, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_server, + { "server", "budb.volumeEntry.server", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_partition, + { "partition", "budb.volumeEntry.partition", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_nFrags, + { "nFrags", "budb.volumeEntry.nFrags", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_position, + { "position", "budb.volumeEntry.position", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_clone, + { "clone", "budb.volumeEntry.clone", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_incTime, + { "incTime", "budb.volumeEntry.incTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_startByte, + { "startByte", "budb.volumeEntry.startByte", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_nBytes, + { "nBytes", "budb.volumeEntry.nBytes", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_seq, + { "seq", "budb.volumeEntry.seq", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_dump, + { "dump", "budb.volumeEntry.dump", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_tape, + { "tape", "budb.volumeEntry.tape", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_spare1, + { "spare1", "budb.volumeEntry.spare1", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_spare2, + { "spare2", "budb.volumeEntry.spare2", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_spare3, + { "spare3", "budb.volumeEntry.spare3", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeEntry_spare4, + { "spare4", "budb.volumeEntry.spare4", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeList_volumeList_len, + { "volumeList_len", "budb.volumeList.volumeList_len", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_volumeList_volumeList_val, + { "volumeList_val", "budb.volumeList.volumeList_val", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpList_dumpList_len, + { "dumpList_len", "budb.dumpList.dumpList_len", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dumpList_dumpList_val, + { "dumpList_val", "budb.dumpList.dumpList_val", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeList_tapeList_len, + { "tapeList_len", "budb.tapeList.tapeList_len", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_tapeList_tapeList_val, + { "tapeList_val", "budb.tapeList.tapeList_val", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_charListT_charListT_len, + { "charListT_len", "budb.charListT.charListT_len", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_charListT_charListT_val, + { "charListT_val", "budb.charListT.charListT_val", FT_UINT8, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DbHeader_dbversion, + { "dbversion", "budb.DbHeader.dbversion", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DbHeader_created, + { "created", "budb.DbHeader.created", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DbHeader_cell, + { "cell", "budb.DbHeader.cell", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DbHeader_lastDumpId, + { "lastDumpId", "budb.DbHeader.lastDumpId", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DbHeader_lastInstanceId, + { "lastInstanceId", "budb.DbHeader.lastInstanceId", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DbHeader_lastTapeId, + { "lastTapeId", "budb.DbHeader.lastTapeId", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DbHeader_spare1, + { "spare1", "budb.DbHeader.spare1", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DbHeader_spare2, + { "spare2", "budb.DbHeader.spare2", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DbHeader_spare3, + { "spare3", "budb.DbHeader.spare3", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DbHeader_spare4, + { "spare4", "budb.DbHeader.spare4", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_name, + { "name", "budb.dbVolume.name", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_flags, + { "flags", "budb.dbVolume.flags", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_id, + { "id", "budb.dbVolume.id", FT_UINT64, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_server, + { "server", "budb.dbVolume.server", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_partition, + { "partition", "budb.dbVolume.partition", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_nFrags, + { "nFrags", "budb.dbVolume.nFrags", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_position, + { "position", "budb.dbVolume.position", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_clone, + { "clone", "budb.dbVolume.clone", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_incTime, + { "incTime", "budb.dbVolume.incTime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_startByte, + { "startByte", "budb.dbVolume.startByte", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_nBytes, + { "nBytes", "budb.dbVolume.nBytes", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_seq, + { "seq", "budb.dbVolume.seq", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_dump, + { "dump", "budb.dbVolume.dump", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_tape, + { "tape", "budb.dbVolume.tape", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_spare1, + { "spare1", "budb.dbVolume.spare1", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_spare2, + { "spare2", "budb.dbVolume.spare2", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_spare3, + { "spare3", "budb.dbVolume.spare3", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dbVolume_spare4, + { "spare4", "budb.dbVolume.spare4", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_structDumpHeader_type, + { "type", "budb.structDumpHeader.type", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_structDumpHeader_structversion, + { "structversion", "budb.structDumpHeader.structversion", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_structDumpHeader_size, + { "size", "budb.structDumpHeader.size", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_structDumpHeader_spare1, + { "spare1", "budb.structDumpHeader.spare1", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_structDumpHeader_spare2, + { "spare2", "budb.structDumpHeader.spare2", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_structDumpHeader_spare3, + { "spare3", "budb.structDumpHeader.spare3", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_structDumpHeader_spare4, + { "spare4", "budb.structDumpHeader.spare4", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_AddVolume_vol, + { "vol", "budb.AddVolume.vol", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_CreateDump_dump, + { "dump", "budb.CreateDump.dump", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DeleteDump_id, + { "id", "budb.DeleteDump.id", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DeleteTape_tape, + { "tape", "budb.DeleteTape.tape", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DeleteVDP_dsname, + { "dsname", "budb.DeleteVDP.dsname", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DeleteVDP_dumpPath, + { "dumpPath", "budb.DeleteVDP.dumpPath", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DeleteVDP_curDumpId, + { "curDumpId", "budb.DeleteVDP.curDumpId", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FindClone_dumpID, + { "dumpID", "budb.FindClone.dumpID", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FindClone_volName, + { "volName", "budb.FindClone.volName", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FindClone_clonetime, + { "clonetime", "budb.FindClone.clonetime", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FindClone_cloneSpare, + { "cloneSpare", "budb.FindClone.cloneSpare", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FindDump_volName, + { "volName", "budb.FindDump.volName", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FindDump_beforeDate, + { "beforeDate", "budb.FindDump.beforeDate", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FindDump_dateSpare, + { "dateSpare", "budb.FindDump.dateSpare", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FindDump_deptr, + { "deptr", "budb.FindDump.deptr", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FindLatestDump_vsname, + { "vsname", "budb.FindLatestDump.vsname", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FindLatestDump_dname, + { "dname", "budb.FindLatestDump.dname", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FindLatestDump_dumpentry, + { "dumpentry", "budb.FindLatestDump.dumpentry", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FinishDump_dump, + { "dump", "budb.FinishDump.dump", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FinishTape_tape, + { "tape", "budb.FinishTape.tape", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetDumps_majorVersion, + { "majorVersion", "budb.GetDumps.majorVersion", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetDumps_flags, + { "flags", "budb.GetDumps.flags", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetDumps_name, + { "name", "budb.GetDumps.name", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetDumps_start, + { "start", "budb.GetDumps.start", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetDumps_end, + { "end", "budb.GetDumps.end", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetDumps_index, + { "index", "budb.GetDumps.index", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetDumps_nextIndex, + { "nextIndex", "budb.GetDumps.nextIndex", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetDumps_dbUpdate, + { "dbUpdate", "budb.GetDumps.dbUpdate", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetDumps_dumps, + { "dumps", "budb.GetDumps.dumps", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetTapes_majorVersion, + { "majorVersion", "budb.GetTapes.majorVersion", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetTapes_flags, + { "flags", "budb.GetTapes.flags", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetTapes_name, + { "name", "budb.GetTapes.name", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetTapes_start, + { "start", "budb.GetTapes.start", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetTapes_end, + { "end", "budb.GetTapes.end", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetTapes_index, + { "index", "budb.GetTapes.index", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetTapes_nextIndex, + { "nextIndex", "budb.GetTapes.nextIndex", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetTapes_dbUpdate, + { "dbUpdate", "budb.GetTapes.dbUpdate", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetTapes_tapes, + { "tapes", "budb.GetTapes.tapes", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetVolumes_majorVersion, + { "majorVersion", "budb.GetVolumes.majorVersion", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetVolumes_flags, + { "flags", "budb.GetVolumes.flags", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetVolumes_name, + { "name", "budb.GetVolumes.name", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetVolumes_start, + { "start", "budb.GetVolumes.start", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetVolumes_end, + { "end", "budb.GetVolumes.end", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetVolumes_index, + { "index", "budb.GetVolumes.index", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetVolumes_nextIndex, + { "nextIndex", "budb.GetVolumes.nextIndex", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetVolumes_dbUpdate, + { "dbUpdate", "budb.GetVolumes.dbUpdate", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetVolumes_volumes, + { "volumes", "budb.GetVolumes.volumes", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_UseTape_tape, + { "tape", "budb.UseTape.tape", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_UseTape_new, + { "new", "budb.UseTape.new", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetText_lockHandle, + { "lockHandle", "budb.GetText.lockHandle", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetText_textType, + { "textType", "budb.GetText.textType", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetText_maxLength, + { "maxLength", "budb.GetText.maxLength", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetText_offset, + { "offset", "budb.GetText.offset", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetText_nextOffset, + { "nextOffset", "budb.GetText.nextOffset", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetText_charListPtr, + { "charListPtr", "budb.GetText.charListPtr", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetTextVersion_textType, + { "textType", "budb.GetTextVersion.textType", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetTextVersion_tversion, + { "tversion", "budb.GetTextVersion.tversion", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_SaveText_lockHandle, + { "lockHandle", "budb.SaveText.lockHandle", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_SaveText_textType, + { "textType", "budb.SaveText.textType", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_SaveText_offset, + { "offset", "budb.SaveText.offset", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_SaveText_flags, + { "flags", "budb.SaveText.flags", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_SaveText_charListPtr, + { "charListPtr", "budb.SaveText.charListPtr", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FreeAllLocks_instanceId, + { "instanceId", "budb.FreeAllLocks.instanceId", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_FreeLock_lockHandle, + { "lockHandle", "budb.FreeLock.lockHandle", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetInstanceId_instanceId, + { "instanceId", "budb.GetInstanceId.instanceId", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetLock_instanceId, + { "instanceId", "budb.GetLock.instanceId", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetLock_lockName, + { "lockName", "budb.GetLock.lockName", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetLock_expiration, + { "expiration", "budb.GetLock.expiration", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetLock_lockHandle, + { "lockHandle", "budb.GetLock.lockHandle", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DbVerify_status, + { "status", "budb.DbVerify.status", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DbVerify_orphans, + { "orphans", "budb.DbVerify.orphans", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DbVerify_host, + { "host", "budb.DbVerify.host", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DumpDB_maxLength, + { "maxLength", "budb.DumpDB.maxLength", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DumpDB_flags, + { "flags", "budb.DumpDB.flags", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_DumpDB_charListPtr, + { "charListPtr", "budb.DumpDB.charListPtr", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_RestoreDbHeader_header, + { "header", "budb.RestoreDbHeader.header", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_T_GetVersion_majorVersion, + { "majorVersion", "budb.T_GetVersion.majorVersion", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_T_DumpHashTable_type, + { "type", "budb.T_DumpHashTable.type", FT_INT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_T_DumpHashTable_filename, + { "filename", "budb.T_DumpHashTable.filename", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_T_DumpDatabase_filename, + { "filename", "budb.T_DumpDatabase.filename", FT_STRING, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_interface_uuid, + { "interface_uuid", "budb.dfs_interfaceDescription.interface_uuid", FT_GUID, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_vers_major, + { "vers_major", "budb.dfs_interfaceDescription.vers_major", FT_UINT16, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_vers_minor, + { "vers_minor", "budb.dfs_interfaceDescription.vers_minor", FT_UINT16, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_vers_provider, + { "vers_provider", "budb.dfs_interfaceDescription.vers_provider", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_spare0, + { "spare0", "budb.dfs_interfaceDescription.spare0", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_spare1, + { "spare1", "budb.dfs_interfaceDescription.spare1", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_spare2, + { "spare2", "budb.dfs_interfaceDescription.spare2", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_spare3, + { "spare3", "budb.dfs_interfaceDescription.spare3", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_spare4, + { "spare4", "budb.dfs_interfaceDescription.spare4", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_spare5, + { "spare5", "budb.dfs_interfaceDescription.spare5", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_spare6, + { "spare6", "budb.dfs_interfaceDescription.spare6", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_spare7, + { "spare7", "budb.dfs_interfaceDescription.spare7", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_spare8, + { "spare8", "budb.dfs_interfaceDescription.spare8", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_spare9, + { "spare9", "budb.dfs_interfaceDescription.spare9", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceDescription_spareText, + { "spareText", "budb.dfs_interfaceDescription.spareText", FT_UINT8, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceList_dfs_interfaceList_len, + { "dfs_interfaceList_len", "budb.dfs_interfaceList.dfs_interfaceList_len", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_dfs_interfaceList_dfs_interfaceList_val, + { "dfs_interfaceList_val", "budb.dfs_interfaceList.dfs_interfaceList_val", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_GetServerInterfaces_serverInterfacesP, + { "serverInterfacesP", "budb.GetServerInterfaces.serverInterfacesP", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_AddVolumes_cnt, + { "cnt", "budb.AddVolumes.cnt", FT_UINT32, BASE_DEC, + NULL, 0, + NULL, HFILL }}, + + { &hf_budb_AddVolumes_vol, + { "vol", "budb.AddVolumes.vol", FT_NONE, BASE_NONE, + NULL, 0, + NULL, HFILL }}, + +/* END OF INCLUDED FILE : ETH_HFARR */ + + + }; + + static gint *ett[] = { + + +/* INCLUDED FILE : ETH_ETTARR */ + &ett_budb, + &ett_budb_principal, + &ett_budb_tapeSet, + &ett_budb_dumpEntry, + &ett_budb_tapeEntry, + &ett_budb_volumeEntry, + &ett_budb_volumeList, + &ett_budb_dumpList, + &ett_budb_tapeList, + &ett_budb_charListT, + &ett_budb_DbHeader, + &ett_budb_dbVolume, + &ett_budb_structDumpHeader, + &ett_budb_dfs_interfaceDescription, + &ett_budb_dfs_interfaceList, +/* END OF INCLUDED FILE : ETH_ETTARR */ + + + }; + + proto_budb = proto_register_protocol("DCE/DFS BUDB", "BUDB", "budb"); + proto_register_field_array(proto_budb, hf, array_length(hf)); + proto_register_subtree_array(ett, array_length(ett)); +} + +static dcerpc_sub_dissector function_dissectors[] = { + + +/* INCLUDED FILE : ETH_FT */ + { 0, "AddVolume", + budb_dissect_AddVolume_request, + budb_dissect_AddVolume_response }, + { 1, "CreateDump", + budb_dissect_CreateDump_request, + budb_dissect_CreateDump_response }, + { 2, "DeleteDump", + budb_dissect_DeleteDump_request, + budb_dissect_DeleteDump_response }, + { 3, "DeleteTape", + budb_dissect_DeleteTape_request, + budb_dissect_DeleteTape_response }, + { 4, "DeleteVDP", + budb_dissect_DeleteVDP_request, + budb_dissect_DeleteVDP_response }, + { 5, "FindClone", + budb_dissect_FindClone_request, + budb_dissect_FindClone_response }, + { 6, "FindDump", + budb_dissect_FindDump_request, + budb_dissect_FindDump_response }, + { 7, "FindLatestDump", + budb_dissect_FindLatestDump_request, + budb_dissect_FindLatestDump_response }, + { 8, "FinishDump", + budb_dissect_FinishDump_request, + budb_dissect_FinishDump_response }, + { 9, "FinishTape", + budb_dissect_FinishTape_request, + budb_dissect_FinishTape_response }, + { 10, "GetDumps", + budb_dissect_GetDumps_request, + budb_dissect_GetDumps_response }, + { 11, "GetTapes", + budb_dissect_GetTapes_request, + budb_dissect_GetTapes_response }, + { 12, "GetVolumes", + budb_dissect_GetVolumes_request, + budb_dissect_GetVolumes_response }, + { 13, "UseTape", + budb_dissect_UseTape_request, + budb_dissect_UseTape_response }, + { 14, "GetText", + budb_dissect_GetText_request, + budb_dissect_GetText_response }, + { 15, "GetTextVersion", + budb_dissect_GetTextVersion_request, + budb_dissect_GetTextVersion_response }, + { 16, "SaveText", + budb_dissect_SaveText_request, + budb_dissect_SaveText_response }, + { 17, "FreeAllLocks", + budb_dissect_FreeAllLocks_request, + budb_dissect_FreeAllLocks_response }, + { 18, "FreeLock", + budb_dissect_FreeLock_request, + budb_dissect_FreeLock_response }, + { 19, "GetInstanceId", + budb_dissect_GetInstanceId_request, + budb_dissect_GetInstanceId_response }, + { 20, "GetLock", + budb_dissect_GetLock_request, + budb_dissect_GetLock_response }, + { 21, "DbVerify", + budb_dissect_DbVerify_request, + budb_dissect_DbVerify_response }, + { 22, "DumpDB", + budb_dissect_DumpDB_request, + budb_dissect_DumpDB_response }, + { 23, "RestoreDbHeader", + budb_dissect_RestoreDbHeader_request, + budb_dissect_RestoreDbHeader_response }, + { 24, "T_GetVersion", + budb_dissect_T_GetVersion_request, + budb_dissect_T_GetVersion_response }, + { 25, "T_DumpHashTable", + budb_dissect_T_DumpHashTable_request, + budb_dissect_T_DumpHashTable_response }, + { 26, "T_DumpDatabase", + budb_dissect_T_DumpDatabase_request, + budb_dissect_T_DumpDatabase_response }, + { 27, "GetServerInterfaces", + budb_dissect_GetServerInterfaces_request, + budb_dissect_GetServerInterfaces_response }, + { 28, "AddVolumes", + budb_dissect_AddVolumes_request, + budb_dissect_AddVolumes_response }, +/* END OF INCLUDED FILE : ETH_FT */ + + + { 0, NULL, NULL, NULL }, +}; + +void +proto_reg_handoff_budb(void) +{ + + +/* INCLUDED FILE : ETH_HANDOFF */ + dcerpc_init_uuid(proto_budb, ett_budb, + &uuid_dcerpc_budb, ver_budb, + function_dissectors, hf_budb_opnum); +/* END OF INCLUDED FILE : ETH_HANDOFF */ + + +} |