blob: 8b9cfc2c469a6f20783aefab03144cd26ec1290c [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
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 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _UAPINFSD_EXPORT_H
8#define _UAPINFSD_EXPORT_H
9#include <linux/types.h>
10#define NFSCLNT_IDMAX 1024
Ben Cheng655a7c02013-10-16 16:09:24 -070011#define NFSCLNT_ADDRMAX 16
12#define NFSCLNT_KEYMAX 32
13#define NFSEXP_READONLY 0x0001
14#define NFSEXP_INSECURE_PORT 0x0002
Ben Cheng655a7c02013-10-16 16:09:24 -070015#define NFSEXP_ROOTSQUASH 0x0004
16#define NFSEXP_ALLSQUASH 0x0008
17#define NFSEXP_ASYNC 0x0010
18#define NFSEXP_GATHERED_WRITES 0x0020
Christopher Ferris82d75042015-01-26 10:57:07 -080019#define NFSEXP_NOREADDIRPLUS 0x0040
Christopher Ferris525ce912017-07-26 13:12:53 -070020#define NFSEXP_SECURITY_LABEL 0x0080
Ben Cheng655a7c02013-10-16 16:09:24 -070021#define NFSEXP_NOHIDE 0x0200
22#define NFSEXP_NOSUBTREECHECK 0x0400
23#define NFSEXP_NOAUTHNLM 0x0800
Christopher Ferris82d75042015-01-26 10:57:07 -080024#define NFSEXP_MSNFS 0x1000
Ben Cheng655a7c02013-10-16 16:09:24 -070025#define NFSEXP_FSID 0x2000
26#define NFSEXP_CROSSMOUNT 0x4000
27#define NFSEXP_NOACL 0x8000
Christopher Ferris82d75042015-01-26 10:57:07 -080028#define NFSEXP_V4ROOT 0x10000
Christopher Ferris05d08e92016-02-04 13:16:38 -080029#define NFSEXP_PNFS 0x20000
Christopher Ferris525ce912017-07-26 13:12:53 -070030#define NFSEXP_ALLFLAGS 0x3FEFF
Tao Baod7db5942015-01-28 10:07:51 -080031#define NFSEXP_SECINFO_FLAGS (NFSEXP_READONLY | NFSEXP_ROOTSQUASH | NFSEXP_ALLSQUASH | NFSEXP_INSECURE_PORT)
Christopher Ferris37c3f3c2023-07-10 10:59:05 -070032#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)
Christopher Ferris05d08e92016-02-04 13:16:38 -080037#endif