2 * Definitions for packet disassembly structures and routines
4 * $Id: packet-afs.h,v 1.2 2000/02/15 21:01:57 gram Exp $
6 * Ethereal - Network traffic analyzer
7 * By Gerald Combs <gerald@zing.org>
8 * Copyright 1998 Gerald Combs
9 * Joerg Mayer <jmayer@telemation.de>
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
30 void dissect_afs(const u_char *, int, frame_data *, proto_tree *);
32 #define AFS_PORT_FS 7000
33 #define AFS_PORT_CB 7001
34 #define AFS_PORT_PROT 7002
35 #define AFS_PORT_VLDB 7003
36 #define AFS_PORT_KAUTH 7004
37 #define AFS_PORT_VOL 7005
38 #define AFS_PORT_ERROR 7006 /* Doesn't seem to be used */
39 #define AFS_PORT_BOS 7007
40 #define AFS_PORT_UPDATE 7008
41 #define AFS_PORT_RMTSYS 7009
42 #define AFS_PORT_BACKUP 7021
45 #define AFSNAMEMAX 256
49 #define AFSOPAQUEMAX 1024
55 #define BOSNAMEMAX 256
57 #define PRSFS_READ 1 /* Read files */
58 #define PRSFS_WRITE 2 /* Write files */
59 #define PRSFS_INSERT 4 /* Insert files into a directory */
60 #define PRSFS_LOOKUP 8 /* Lookup files into a directory */
61 #define PRSFS_DELETE 16 /* Delete files */
62 #define PRSFS_LOCK 32 /* Lock files */
63 #define PRSFS_ADMINISTER 64 /* Change ACL's */
65 #define CB_TYPE_EXCLUSIVE 1
66 #define CB_TYPE_SHARED 2
67 #define CB_TYPE_DROPPED 3
69 #define VOTE_LOW 10000
70 #define VOTE_HIGH 10005
71 #define DISK_LOW 20000
72 #define DISK_HIGH 20013
74 #define FILE_TYPE_FILE 1
75 #define FILE_TYPE_DIR 2
76 #define FILE_TYPE_LINK 3
92 guint32 InterfaceVersion;
100 guint32 AnonymousAccess;
101 guint32 UnixModeBits;
103 guint32 ParentUnique;
105 guint32 ClientModTime;
106 guint32 ServerModTime;
115 struct afs_volumeinfo {