diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2011-05-04 13:36:18 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2011-05-04 13:36:18 +0000 |
commit | 109912f8c759bb1aff80672847bb78ce95e0de85 (patch) | |
tree | 33fae0e68f006d769c099720ec0d4fe4b4acb28e /sys/nfs | |
parent | c281a5b19811e96480cb7faf970ddd258f751ce9 (diff) | |
download | FreeBSD-src-109912f8c759bb1aff80672847bb78ce95e0de85.zip FreeBSD-src-109912f8c759bb1aff80672847bb78ce95e0de85.tar.gz |
Add kernel support for NFSSVC_ZEROCLTSTATS and NFSSVC_ZEROSRVSTATS
so that they can be used by nfsstat(1) to implement the "-z" option
for the new NFS subsystem.
MFC after: 2 weeks
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfssvc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/nfs/nfssvc.h b/sys/nfs/nfssvc.h index d756dbf..2615d07 100644 --- a/sys/nfs/nfssvc.h +++ b/sys/nfs/nfssvc.h @@ -64,5 +64,7 @@ #define NFSSVC_CBADDSOCK 0x00200000 #define NFSSVC_GETSTATS 0x00400000 #define NFSSVC_BACKUPSTABLE 0x00800000 +#define NFSSVC_ZEROCLTSTATS 0x01000000 /* modifier for GETSTATS */ +#define NFSSVC_ZEROSRVSTATS 0x02000000 /* modifier for GETSTATS */ #endif /* _NFS_NFSSVC_H */ |