| * include/linux/nfsd/const.h |
| * Various constants related to NFS. |
| * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de> |
| #ifndef _LINUX_NFSD_CONST_H |
| #define _LINUX_NFSD_CONST_H |
| * Maximum protocol version supported by knfsd |
| * Maximum blocksize supported by daemon currently at 32K |
| #define NFSSVC_MAXBLKSIZE (32*1024) |
| # define NFS_SUPER_MAGIC 0x6969 |
| #define NFSD_BUFSIZE (1024 + NFSSVC_MAXBLKSIZE) |
| # define NFSSVC_XDRSIZE NFS4_SVC_XDRSIZE |
| #elif defined(CONFIG_NFSD_V3) |
| # define NFSSVC_XDRSIZE NFS3_SVC_XDRSIZE |
| # define NFSSVC_XDRSIZE NFS2_SVC_XDRSIZE |
| #endif /* _LINUX_NFSD_CONST_H */ |