summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfs/nfs.h')
-rw-r--r--sys/nfs/nfs.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/nfs/nfs.h b/sys/nfs/nfs.h
index 6956ce54b26..56840a40208 100644
--- a/sys/nfs/nfs.h
+++ b/sys/nfs/nfs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs.h,v 1.15 2001/12/19 08:58:06 art Exp $ */
+/* $OpenBSD: nfs.h,v 1.16 2002/01/11 01:20:56 nate Exp $ */
/* $NetBSD: nfs.h,v 1.10.4.1 1996/05/27 11:23:56 fvdl Exp $ */
/*
@@ -225,12 +225,14 @@ struct nfsstats {
*/
#define NFS_NFSSTATS 1 /* struct: struct nfsstats */
#define NFS_NIOTHREADS 2 /* number of i/o threads */
-#define NFS_MAXID 3
+#define NFS_NORSVPORT 3 /* if > 0, don't require reserved port */
+#define NFS_MAXID 4
#define FS_NFS_NAMES { \
{ 0, 0 }, \
{ "nfsstats", CTLTYPE_STRUCT }, \
- { "iothreads", CTLTYPE_INT } \
+ { "iothreads", CTLTYPE_INT }, \
+ { "norsvport", CTLTYPE_INT } \
}
/*
@@ -243,6 +245,7 @@ struct nfsstats {
*/
#ifdef _KERNEL
extern int nfs_niothreads;
+extern int nfs_norsvport;
struct uio; struct buf; struct vattr; struct nameidata; /* XXX */