2 * Definitions for packet disassembly structures and routines
4 * $Id: packet-afs.h,v 1.1 1999/10/20 16:41:18 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 #define AFS_PORT_FS 7000
31 #define AFS_PORT_CB 7001
32 #define AFS_PORT_PROT 7002
33 #define AFS_PORT_VLDB 7003
34 #define AFS_PORT_KAUTH 7004
35 #define AFS_PORT_VOL 7005
36 #define AFS_PORT_ERROR 7006 /* Doesn't seem to be used */
37 #define AFS_PORT_BOS 7007
38 #define AFS_PORT_UPDATE 7008
39 #define AFS_PORT_RMTSYS 7009
40 #define AFS_PORT_BACKUP 7021
43 #define AFSNAMEMAX 256
47 #define AFSOPAQUEMAX 1024
53 #define BOSNAMEMAX 256
55 #define PRSFS_READ 1 /* Read files */
56 #define PRSFS_WRITE 2 /* Write files */
57 #define PRSFS_INSERT 4 /* Insert files into a directory */
58 #define PRSFS_LOOKUP 8 /* Lookup files into a directory */
59 #define PRSFS_DELETE 16 /* Delete files */
60 #define PRSFS_LOCK 32 /* Lock files */
61 #define PRSFS_ADMINISTER 64 /* Change ACL's */
63 #define CB_TYPE_EXCLUSIVE 1
64 #define CB_TYPE_SHARED 2
65 #define CB_TYPE_DROPPED 3
67 #define VOTE_LOW 10000
68 #define VOTE_HIGH 10005
69 #define DISK_LOW 20000
70 #define DISK_HIGH 20013
72 #define FILE_TYPE_FILE 1
73 #define FILE_TYPE_DIR 2
74 #define FILE_TYPE_LINK 3
90 guint32 InterfaceVersion;
98 guint32 AnonymousAccess;
101 guint32 ParentUnique;
103 guint32 ClientModTime;
104 guint32 ServerModTime;
113 struct afs_volumeinfo {