1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef _LINUX_NFS4_MOUNT_H 7 #define _LINUX_NFS4_MOUNT_H 8 #define NFS4_MOUNT_VERSION 1 9 struct nfs_string { 10 unsigned int len; 11 const char __user * data; 12 }; 13 struct nfs4_mount_data { 14 int version; 15 int flags; 16 int rsize; 17 int wsize; 18 int timeo; 19 int retrans; 20 int acregmin; 21 int acregmax; 22 int acdirmin; 23 int acdirmax; 24 25 struct nfs_string client_addr; 26 27 struct nfs_string mnt_path; 28 29 struct nfs_string hostname; 30 31 unsigned int host_addrlen; 32 struct sockaddr __user * host_addr; 33 34 int proto; 35 36 int auth_flavourlen; 37 int __user *auth_flavours; 38 }; 39 #define NFS4_MOUNT_SOFT 0x0001 40 #define NFS4_MOUNT_INTR 0x0002 41 #define NFS4_MOUNT_NOCTO 0x0010 42 #define NFS4_MOUNT_NOAC 0x0020 43 #define NFS4_MOUNT_STRICTLOCK 0x1000 44 #define NFS4_MOUNT_UNSHARED 0x8000 45 #define NFS4_MOUNT_FLAGMASK 0x9033 46 #endif 47