diff options
author | wollman <wollman@FreeBSD.org> | 1994-10-23 23:26:18 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-10-23 23:26:18 +0000 |
commit | a9f28ccb91ab50e877abb29ad84b5d50562048bb (patch) | |
tree | bc43b9ec1138e7190337db179f03ed4f972d4341 /sys/nfsserver/nfs.h | |
parent | d958f3e8e7f059b4398a5025a72f86d6cb0362f6 (diff) | |
download | FreeBSD-src-a9f28ccb91ab50e877abb29ad84b5d50562048bb.zip FreeBSD-src-a9f28ccb91ab50e877abb29ad84b5d50562048bb.tar.gz |
Implement fs.nfs MIB variables.
Diffstat (limited to 'sys/nfsserver/nfs.h')
-rw-r--r-- | sys/nfsserver/nfs.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sys/nfsserver/nfs.h b/sys/nfsserver/nfs.h index c79eefb..e77353f 100644 --- a/sys/nfsserver/nfs.h +++ b/sys/nfsserver/nfs.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs.h 8.1 (Berkeley) 6/10/93 - * $Id: nfs.h,v 1.5 1994/10/02 17:26:54 phk Exp $ + * $Id: nfs.h,v 1.6 1994/10/17 17:47:30 phk Exp $ */ #ifndef _NFS_NFS_H_ @@ -156,6 +156,16 @@ struct nfsstats { #define NFSSVC_MNTD 0x100 /* + * fs.nfs sysctl(3) identifiers + */ +#define NFS_NFSSTATS 1 /* struct: struct nfsstats */ + +#define FS_NFS_NAMES { \ + { 0, 0 }, \ + { "nfsstats", CTLTYPE_STRUCT }, \ +} + +/* * The set of signals the interrupt an I/O in progress for NFSMNT_INT mounts. * What should be in this set is open to debate, but I believe that since * I/O system calls on ufs are never interrupted by signals the set should @@ -211,7 +221,7 @@ TAILQ_HEAD(, nfsreq) nfs_reqq; #define R_MUSTRESEND 0x40 /* Must resend request */ #define R_GETONEREP 0x80 /* Probe for one reply only */ -struct nfsstats nfsstats; +extern struct nfsstats nfsstats; /* * A list of nfssvc_sock structures is maintained with all the sockets |