2 * Definitions for packet disassembly structures and routines
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
29 #define AFS_PORT_FS 7000
30 #define AFS_PORT_CB 7001
31 #define AFS_PORT_PROT 7002
32 #define AFS_PORT_VLDB 7003
33 #define AFS_PORT_KAUTH 7004
34 #define AFS_PORT_VOL 7005
35 #define AFS_PORT_ERROR 7006 /* Doesn't seem to be used */
36 #define AFS_PORT_BOS 7007
37 #define AFS_PORT_UPDATE 7008
38 #define AFS_PORT_RMTSYS 7009
39 #define AFS_PORT_BACKUP 7021
42 #define AFSNAMEMAX 256
46 #define AFSOPAQUEMAX 1024
52 #define BOSNAMEMAX 256
54 #define PRSFS_READ 1 /* Read files */
55 #define PRSFS_WRITE 2 /* Write files */
56 #define PRSFS_INSERT 4 /* Insert files into a directory */
57 #define PRSFS_LOOKUP 8 /* Lookup files into a directory */
58 #define PRSFS_DELETE 16 /* Delete files */
59 #define PRSFS_LOCK 32 /* Lock files */
60 #define PRSFS_ADMINISTER 64 /* Change ACL's */
62 #define CB_TYPE_EXCLUSIVE 1
63 #define CB_TYPE_SHARED 2
64 #define CB_TYPE_DROPPED 3
67 #define OPCODE_HIGH 66000 /* arbitrary, is just a fuzzy check for encrypted traffic */
68 #define VOTE_LOW 10000
69 #define VOTE_HIGH 10007
70 #define DISK_LOW 20000
71 #define DISK_HIGH 20013
73 #define FILE_TYPE_FILE 1
74 #define FILE_TYPE_DIR 2
75 #define FILE_TYPE_LINK 3
91 guint32 InterfaceVersion;
99 guint32 AnonymousAccess;
100 guint32 UnixModeBits;
102 guint32 ParentUnique;
104 guint32 ClientModTime;
105 guint32 ServerModTime;
114 struct afs_volumeinfo {