xref: /openbmc/linux/fs/afs/protocol_afs.h (revision b537a3c2)
1*b537a3c2SDavid Howells /* SPDX-License-Identifier: GPL-2.0-or-later */
2*b537a3c2SDavid Howells /* AFS protocol bits
3*b537a3c2SDavid Howells  *
4*b537a3c2SDavid Howells  * Copyright (C) 2021 Red Hat, Inc. All Rights Reserved.
5*b537a3c2SDavid Howells  * Written by David Howells (dhowells@redhat.com)
6*b537a3c2SDavid Howells  */
7*b537a3c2SDavid Howells 
8*b537a3c2SDavid Howells 
9*b537a3c2SDavid Howells #define AFSCAPABILITIESMAX 196 /* Maximum number of words in a capability set */
10*b537a3c2SDavid Howells 
11*b537a3c2SDavid Howells /* AFS3 Fileserver capabilities word 0 */
12*b537a3c2SDavid Howells #define AFS3_VICED_CAPABILITY_ERRORTRANS	0x0001 /* Uses UAE errors */
13*b537a3c2SDavid Howells #define AFS3_VICED_CAPABILITY_64BITFILES	0x0002 /* FetchData64 & StoreData64 supported */
14*b537a3c2SDavid Howells #define AFS3_VICED_CAPABILITY_WRITELOCKACL	0x0004 /* Can lock a file even without lock perm */
15*b537a3c2SDavid Howells #define AFS3_VICED_CAPABILITY_SANEACLS		0x0008 /* ACLs reviewed for sanity - don't use */
16