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 _LINUX_NFS4_MOUNT_H 8 #define _LINUX_NFS4_MOUNT_H 9 #define NFS4_MOUNT_VERSION 1 10 struct nfs_string { 11 unsigned int len; 12 const char * data; 13 }; 14 struct nfs4_mount_data { 15 int version; 16 int flags; 17 int rsize; 18 int wsize; 19 int timeo; 20 int retrans; 21 int acregmin; 22 int acregmax; 23 int acdirmin; 24 int acdirmax; 25 struct nfs_string client_addr; 26 struct nfs_string mnt_path; 27 struct nfs_string hostname; 28 unsigned int host_addrlen; 29 struct sockaddr * host_addr; 30 int proto; 31 int auth_flavourlen; 32 int * auth_flavours; 33 }; 34 #define NFS4_MOUNT_SOFT 0x0001 35 #define NFS4_MOUNT_INTR 0x0002 36 #define NFS4_MOUNT_NOCTO 0x0010 37 #define NFS4_MOUNT_NOAC 0x0020 38 #define NFS4_MOUNT_STRICTLOCK 0x1000 39 #define NFS4_MOUNT_UNSHARED 0x8000 40 #define NFS4_MOUNT_FLAGMASK 0x9033 41 #endif 42