2 * This dissector is autogenerated
5 /* packet-dcerpc-budb.h
6 * Routines for BUDB packet disassembly
10 * Wireshark - Network traffic analyzer
11 * By Gerald Combs <gerald@wireshark.org>
12 * Copyright 1998 Gerald Combs
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
29 #ifndef __PACKET_DCERPC_BUDB_H
30 #define __PACKET_DCERPC_BUDB_H
34 /* INCLUDED FILE : ETH_HDR */
35 #define BU_MAXNAMELEN 128
36 #define BU_MAXTAPELEN 256
37 #define BU_MAXHOSTLEN 128
38 #define BU_MAXTOKENLEN 16
39 #define BU_MAXUNAMELEN 256
40 #define BU_MAXCELLLEN 256
41 #define BU_MAXINAMELEN 128
42 #define BU_MAXPATHLEN 256
43 #define BU_MAXGENNAMELEN 512
44 #define BU_MAXVOLCOUNT 64
45 #define BUDB_MAJORVERSION 1
46 #define BUDB_PROVIDER_VERSION 2
47 #define TB_DUMPSCHEDULE 0
48 #define TB_VOLUMESET 1
49 #define TB_TAPEHOSTS 2
52 #define BUDB_DUMP_INCOMPLETE 1<<0
53 #define BUDB_DUMP_TAPEERROR 1<<1
54 #define BUDB_DUMP_INPROGRESS 1<<2
55 #define BUDB_DUMP_ABORTED 1<<3
56 #define BUDB_TAPE_TAPEERROR 1<<0
57 #define BUDB_TAPE_DELETED 1<<1
58 #define BUDB_TAPE_BEINGWRITTEN 1<<2
59 #define BUDB_TAPE_ABORTED 1<<3
60 #define BUDB_TAPE_STAGED 1<<4
61 #define BUDB_TAPE_WRITTEN 1<<5
62 #define BUDB_VOL_TAPEERROR 1<<0
63 #define BUDB_VOL_FILEERROR 1<<1
64 #define BUDB_VOL_BEINGWRITTEN 1<<2
65 #define BUDB_VOL_FIRSTFRAG 1<<3
66 #define BUDB_VOL_LASTFRAG 1<<4
67 #define BUDB_VOL_ABORTED 1<<5
68 #define BUDB_OP_NAMES 0x7
69 #define BUDB_OP_STARTS 0x7<<3
70 #define BUDB_OP_ENDS 0x7<<6
71 #define BUDB_OP_TIMES 0x3<<9
72 #define BUDB_OP_MISC 0xff<<16
73 #define BUDB_OP_DUMPNAME 1<<0
74 #define BUDB_OP_VOLUMENAME 2<<0
75 #define BUDB_OP_TAPENAME 3<<0
76 #define BUDB_OP_STARTTIME 1<<3
77 #define BUDB_OP_RANGE 1<<6
78 #define BUDB_OP_NPREVIOUS 2<<6
79 #define BUDB_OP_NFOLLOWING 3<<6
80 #define BUDB_OP_DUMPID 2<<3
81 #define BUDB_OP_CLONETIME 1<<9
82 #define BUDB_OP_DUMPTIME 2<<9
83 #define BUDB_OP_INCTIME 3<<9
84 #define BUDB_OP_FIRSTFRAG 1<<16
85 #define BUDB_MAX_RETURN_LIST 1000
86 #define BUDB_MAX_CHAR_LIST 1024
87 #define BUDB_MAX_VOL_COUNT 64
88 #define BUDB_TEXT_COMPLETE 1
93 #define SD_TEXT_DUMPSCHEDULE 5
94 #define SD_TEXT_VOLUMESET 6
95 #define SD_TEXT_TAPEHOSTS 7
97 int budb_dissect_principal(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
, int hf_index
, guint32 param
);
98 int budb_dissect_tapeSet(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
, int hf_index
, guint32 param
);
99 int budb_dissect_dumpEntry(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
, int hf_index
, guint32 param
);
100 int budb_dissect_tapeEntry(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
, int hf_index
, guint32 param
);
101 int budb_dissect_volumeEntry(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
, int hf_index
, guint32 param
);
102 int budb_dissect_volumeList(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
, int hf_index
, guint32 param
);
103 int budb_dissect_dumpList(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
, int hf_index
, guint32 param
);
104 int budb_dissect_tapeList(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
, int hf_index
, guint32 param
);
105 int budb_dissect_charListT(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
, int hf_index
, guint32 param
);
106 int budb_dissect_DbHeader(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
, int hf_index
, guint32 param
);
107 int budb_dissect_dbVolume(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
, int hf_index
, guint32 param
);
108 int budb_dissect_structDumpHeader(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
, int hf_index
, guint32 param
);
109 int budb_dissect_dfs_interfaceDescription(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
, int hf_index
, guint32 param
);
110 int budb_dissect_dfs_interfaceList(tvbuff_t
*tvb
, int offset
, packet_info
*pinfo
, proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
, int hf_index
, guint32 param
);
111 /* END OF INCLUDED FILE : ETH_HDR */
115 #endif /* packet-dcerpc-budb.h */