linux/include/uapi/linux/nfs3.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
 * NFSv3 protocol definitions
 */
#ifndef _UAPI_LINUX_NFS3_H
#define _UAPI_LINUX_NFS3_H

#define NFS3_PORT
#define NFS3_MAXDATA
#define NFS3_MAXPATHLEN
#define NFS3_MAXNAMLEN
#define NFS3_MAXGROUPS
#define NFS3_FHSIZE
#define NFS3_COOKIESIZE
#define NFS3_CREATEVERFSIZE
#define NFS3_COOKIEVERFSIZE
#define NFS3_WRITEVERFSIZE
#define NFS3_FIFO_DEV
#define NFS3MODE_FMT
#define NFS3MODE_DIR
#define NFS3MODE_CHR
#define NFS3MODE_BLK
#define NFS3MODE_REG
#define NFS3MODE_LNK
#define NFS3MODE_SOCK
#define NFS3MODE_FIFO

/* Flags for access() call */
#define NFS3_ACCESS_READ
#define NFS3_ACCESS_LOOKUP
#define NFS3_ACCESS_MODIFY
#define NFS3_ACCESS_EXTEND
#define NFS3_ACCESS_DELETE
#define NFS3_ACCESS_EXECUTE
#define NFS3_ACCESS_FULL

/* Flags for create mode */
enum nfs3_createmode {};

/* NFSv3 file system properties */
#define NFS3_FSF_LINK
#define NFS3_FSF_SYMLINK
#define NFS3_FSF_HOMOGENEOUS
#define NFS3_FSF_CANSETTIME
/* Some shorthands. See fs/nfsd/nfs3proc.c */
#define NFS3_FSF_DEFAULT
#define NFS3_FSF_BILLYBOY
#define NFS3_FSF_READONLY

enum nfs3_ftype {};

enum nfs3_time_how {};

struct nfs3_fh {};

#define NFS3_VERSION
#define NFS3PROC_NULL
#define NFS3PROC_GETATTR
#define NFS3PROC_SETATTR
#define NFS3PROC_LOOKUP
#define NFS3PROC_ACCESS
#define NFS3PROC_READLINK
#define NFS3PROC_READ
#define NFS3PROC_WRITE
#define NFS3PROC_CREATE
#define NFS3PROC_MKDIR
#define NFS3PROC_SYMLINK
#define NFS3PROC_MKNOD
#define NFS3PROC_REMOVE
#define NFS3PROC_RMDIR
#define NFS3PROC_RENAME
#define NFS3PROC_LINK
#define NFS3PROC_READDIR
#define NFS3PROC_READDIRPLUS
#define NFS3PROC_FSSTAT
#define NFS3PROC_FSINFO
#define NFS3PROC_PATHCONF
#define NFS3PROC_COMMIT

#define NFS_MNT3_VERSION
 

#endif /* _UAPI_LINUX_NFS3_H */