2 * This dissector is autogenerated
5 /* packet-dcerpc-budb.h
6 * Routines for BUDB packet disassembly
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1998 Gerald Combs
12 * SPDX-License-Identifier: GPL-2.0-or-later
15 #ifndef __PACKET_DCERPC_BUDB_H
16 #define __PACKET_DCERPC_BUDB_H
20 /* INCLUDED FILE : ETH_HDR */
21 #define BU_MAXNAMELEN 128
22 #define BU_MAXTAPELEN 256
23 #define BU_MAXHOSTLEN 128
24 #define BU_MAXTOKENLEN 16
25 #define BU_MAXUNAMELEN 256
26 #define BU_MAXCELLLEN 256
27 #define BU_MAXINAMELEN 128
28 #define BU_MAXPATHLEN 256
29 #define BU_MAXGENNAMELEN 512
30 #define BU_MAXVOLCOUNT 64
31 #define BUDB_MAJORVERSION 1
32 #define BUDB_PROVIDER_VERSION 2
33 #define TB_DUMPSCHEDULE 0
34 #define TB_VOLUMESET 1
35 #define TB_TAPEHOSTS 2
38 #define BUDB_DUMP_INCOMPLETE 1<<0
39 #define BUDB_DUMP_TAPEERROR 1<<1
40 #define BUDB_DUMP_INPROGRESS 1<<2
41 #define BUDB_DUMP_ABORTED 1<<3
42 #define BUDB_TAPE_TAPEERROR 1<<0
43 #define BUDB_TAPE_DELETED 1<<1
44 #define BUDB_TAPE_BEINGWRITTEN 1<<2
45 #define BUDB_TAPE_ABORTED 1<<3
46 #define BUDB_TAPE_STAGED 1<<4
47 #define BUDB_TAPE_WRITTEN 1<<5
48 #define BUDB_VOL_TAPEERROR 1<<0
49 #define BUDB_VOL_FILEERROR 1<<1
50 #define BUDB_VOL_BEINGWRITTEN 1<<2
51 #define BUDB_VOL_FIRSTFRAG 1<<3
52 #define BUDB_VOL_LASTFRAG 1<<4
53 #define BUDB_VOL_ABORTED 1<<5
54 #define BUDB_OP_NAMES 0x7
55 #define BUDB_OP_STARTS 0x7<<3
56 #define BUDB_OP_ENDS 0x7<<6
57 #define BUDB_OP_TIMES 0x3<<9
58 #define BUDB_OP_MISC 0xff<<16
59 #define BUDB_OP_DUMPNAME 1<<0
60 #define BUDB_OP_VOLUMENAME 2<<0
61 #define BUDB_OP_TAPENAME 3<<0
62 #define BUDB_OP_STARTTIME 1<<3
63 #define BUDB_OP_RANGE 1<<6
64 #define BUDB_OP_NPREVIOUS 2<<6
65 #define BUDB_OP_NFOLLOWING 3<<6
66 #define BUDB_OP_DUMPID 2<<3
67 #define BUDB_OP_CLONETIME 1<<9
68 #define BUDB_OP_DUMPTIME 2<<9
69 #define BUDB_OP_INCTIME 3<<9
70 #define BUDB_OP_FIRSTFRAG 1<<16
71 #define BUDB_MAX_RETURN_LIST 1000
72 #define BUDB_MAX_CHAR_LIST 1024
73 #define BUDB_MAX_VOL_COUNT 64
74 #define BUDB_TEXT_COMPLETE 1
79 #define SD_TEXT_DUMPSCHEDULE 5
80 #define SD_TEXT_VOLUMESET 6
81 #define SD_TEXT_TAPEHOSTS 7
83 int budb_dissect_principal(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param
);
84 int budb_dissect_tapeSet(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param
);
85 int budb_dissect_dumpEntry(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param
);
86 int budb_dissect_tapeEntry(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param
);
87 int budb_dissect_volumeEntry(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param
);
88 int budb_dissect_volumeList(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param
);
89 int budb_dissect_dumpList(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param
);
90 int budb_dissect_tapeList(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param
);
91 int budb_dissect_charListT(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param
);
92 int budb_dissect_DbHeader(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param
);
93 int budb_dissect_dbVolume(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param
);
94 int budb_dissect_structDumpHeader(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param
);
95 int budb_dissect_dfs_interfaceDescription(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param
);
96 int budb_dissect_dfs_interfaceList(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, uint8_t *drep
, int hf_index
, uint32_t param
);
97 /* END OF INCLUDED FILE : ETH_HDR */
101 #endif /* packet-dcerpc-budb.h */