2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 /* VLDB structures for VLDB version 1. */
11 struct vital_vlheader_1 {
12 afs_int32 vldbversion;
18 afs_int32 MaxVolumeId;
19 afs_int32 totalEntries[3];
22 typedef struct vital_vlheader_1 vital_vlheader1;
25 vital_vlheader1 vital_header;
26 afs_uint32 IpMappedAddr[31];
27 afs_int32 VolnameHash[8191];
28 afs_int32 VolidHash[3][8191];
31 afs_uint32 volumeId[3];
34 afs_int32 LockTimestamp;
37 afs_int32 nextIdHash[3];
38 afs_int32 nextNameHash;
42 unsigned char serverNumber[8];
43 unsigned char serverPartition[8];
44 unsigned char serverFlags[8];
49 /* VLDB structures for VLDB version 2. */
50 typedef struct vital_vlheader_1 vital_vlheader2;
53 vital_vlheader2 vital_header;
54 afs_uint32 IpMappedAddr[255]; /* == 0..254 */
55 afs_int32 VolnameHash[8191];
56 afs_int32 VolidHash[3][8191];
61 afs_uint32 volumeId[3];
64 afs_int32 LockTimestamp;
67 afs_int32 nextIdHash[3];
68 afs_int32 nextNameHash;
72 unsigned char serverNumber[8];
73 unsigned char serverPartition[8];
74 unsigned char serverFlags[8];
79 typedef struct vital_vlheader_1 vital_vlheader3;
82 vital_vlheader3 vital_header;
83 afs_uint32 IpMappedAddr[255]; /* == 0..254 */
84 afs_int32 VolnameHash[8191];
85 afs_int32 VolidHash[3][8191];
91 afs_uint32 volumeId[3];
94 afs_int32 LockTimestamp;
96 afs_int32 nextIdHash[3];
97 afs_int32 nextNameHash;
99 unsigned char serverNumber[MAXSERVERS];
100 unsigned char serverPartition[MAXSERVERS];
101 unsigned char serverFlags[MAXSERVERS];
103 #ifdef obsolete_vldb_fields
104 afs_int32 spares0; /* AssociatedChain */
105 afs_int32 spares1[0];
106 afs_int32 spares1[1];
107 char spares3; /* volumeType */
108 char spares4; /* RefCount */