]> git.decadent.org.uk Git - nfs-utils.git/blob - support/include/nfs/export.h
9c73aaa2d3eb4b2fe0baafed51e5fcd0beb3a7f6
[nfs-utils.git] / support / include / nfs / export.h
1 #ifndef _NSF_EXPORT_H
2 #define _NSF_EXPORT_H
3
4 /*
5  * Important limits for the exports stuff.
6  */
7 #define NFSCLNT_IDMAX           1024
8 #define NFSCLNT_ADDRMAX         16
9 #define NFSCLNT_KEYMAX          32
10
11 /*
12  * Export flags.
13  */
14 #define NFSEXP_READONLY         0x0001
15 #define NFSEXP_INSECURE_PORT    0x0002
16 #define NFSEXP_ROOTSQUASH       0x0004
17 #define NFSEXP_ALLSQUASH        0x0008
18 #define NFSEXP_ASYNC            0x0010
19 #define NFSEXP_GATHERED_WRITES  0x0020
20 #define NFSEXP_UIDMAP           0x0040
21 #define NFSEXP_KERBEROS         0x0080          /* not available */
22 #define NFSEXP_SUNSECURE        0x0100
23 #define NFSEXP_NOHIDE           0x0200
24 #define NFSEXP_NOSUBTREECHECK   0x0400
25 #define NFSEXP_NOAUTHNLM        0x0800
26 #define NFSEXP_FSID             0x2000
27 #define NFSEXP_CROSSMNT         0x4000
28 #define NFSEXP_NOACL            0x8000 /* reserved for possible ACL related use */
29 #define NFSEXP_ALLFLAGS         0xFFFF
30
31 #endif /* _NSF_EXPORT_H */