1105197Ssam/* SPDX-License-Identifier: GPL-2.0-or-later */
2105197Ssam/* AFS protocol bits
3105197Ssam *
4139823Simp * Copyright (C) 2021 Red Hat, Inc. All Rights Reserved.
5105197Ssam * Written by David Howells (dhowells@redhat.com)
6105197Ssam */
7105197Ssam
8105197Ssam
9105197Ssam#define AFSCAPABILITIESMAX 196 /* Maximum number of words in a capability set */
10105197Ssam
11105197Ssam/* AFS3 Fileserver capabilities word 0 */
12105197Ssam#define AFS3_VICED_CAPABILITY_ERRORTRANS	0x0001 /* Uses UAE errors */
13105197Ssam#define AFS3_VICED_CAPABILITY_64BITFILES	0x0002 /* FetchData64 & StoreData64 supported */
14105197Ssam#define AFS3_VICED_CAPABILITY_WRITELOCKACL	0x0004 /* Can lock a file even without lock perm */
15105197Ssam#define AFS3_VICED_CAPABILITY_SANEACLS		0x0008 /* ACLs reviewed for sanity - don't use */
16105197Ssam