xref: /aosp_15_r20/bionic/libc/kernel/uapi/linux/nfsd/export.h (revision 8d67ca893c1523eb926b9080dbe4e2ffd2a27ba1)
1 /*
2  * This file is auto-generated. Modifications will be lost.
3  *
4  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5  * for more information.
6  */
7 #ifndef _UAPINFSD_EXPORT_H
8 #define _UAPINFSD_EXPORT_H
9 #include <linux/types.h>
10 #define NFSCLNT_IDMAX 1024
11 #define NFSCLNT_ADDRMAX 16
12 #define NFSCLNT_KEYMAX 32
13 #define NFSEXP_READONLY 0x0001
14 #define NFSEXP_INSECURE_PORT 0x0002
15 #define NFSEXP_ROOTSQUASH 0x0004
16 #define NFSEXP_ALLSQUASH 0x0008
17 #define NFSEXP_ASYNC 0x0010
18 #define NFSEXP_GATHERED_WRITES 0x0020
19 #define NFSEXP_NOREADDIRPLUS 0x0040
20 #define NFSEXP_SECURITY_LABEL 0x0080
21 #define NFSEXP_NOHIDE 0x0200
22 #define NFSEXP_NOSUBTREECHECK 0x0400
23 #define NFSEXP_NOAUTHNLM 0x0800
24 #define NFSEXP_MSNFS 0x1000
25 #define NFSEXP_FSID 0x2000
26 #define NFSEXP_CROSSMOUNT 0x4000
27 #define NFSEXP_NOACL 0x8000
28 #define NFSEXP_V4ROOT 0x10000
29 #define NFSEXP_PNFS 0x20000
30 #define NFSEXP_ALLFLAGS 0x3FEFF
31 #define NFSEXP_SECINFO_FLAGS (NFSEXP_READONLY | NFSEXP_ROOTSQUASH | NFSEXP_ALLSQUASH | NFSEXP_INSECURE_PORT)
32 #define NFSEXP_XPRTSEC_NONE 0x0001
33 #define NFSEXP_XPRTSEC_TLS 0x0002
34 #define NFSEXP_XPRTSEC_MTLS 0x0004
35 #define NFSEXP_XPRTSEC_NUM (3)
36 #define NFSEXP_XPRTSEC_ALL (NFSEXP_XPRTSEC_NONE | NFSEXP_XPRTSEC_TLS | NFSEXP_XPRTSEC_MTLS)
37 #endif
38