linux/include/uapi/linux/nfs2.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
 * NFS protocol definitions
 *
 * This file contains constants for Version 2 of the protocol.
 */
#ifndef _LINUX_NFS2_H
#define _LINUX_NFS2_H

#define NFS2_PORT
#define NFS2_MAXDATA
#define NFS2_MAXPATHLEN
#define NFS2_MAXNAMLEN
#define NFS2_MAXGROUPS
#define NFS2_FHSIZE
#define NFS2_COOKIESIZE
#define NFS2_FIFO_DEV
#define NFS2MODE_FMT
#define NFS2MODE_DIR
#define NFS2MODE_CHR
#define NFS2MODE_BLK
#define NFS2MODE_REG
#define NFS2MODE_LNK
#define NFS2MODE_SOCK
#define NFS2MODE_FIFO


/* NFSv2 file types - beware, these are not the same in NFSv3 */
enum nfs2_ftype {};

struct nfs2_fh {};

/*
 * Procedure numbers for NFSv2
 */
#define NFS2_VERSION
#define NFSPROC_NULL
#define NFSPROC_GETATTR
#define NFSPROC_SETATTR
#define NFSPROC_ROOT
#define NFSPROC_LOOKUP
#define NFSPROC_READLINK
#define NFSPROC_READ
#define NFSPROC_WRITECACHE
#define NFSPROC_WRITE
#define NFSPROC_CREATE
#define NFSPROC_REMOVE
#define NFSPROC_RENAME
#define NFSPROC_LINK
#define NFSPROC_SYMLINK
#define NFSPROC_MKDIR
#define NFSPROC_RMDIR
#define NFSPROC_READDIR
#define NFSPROC_STATFS

#endif /* _LINUX_NFS2_H */