summaryrefslogtreecommitdiffstats
path: root/sys/netipx
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-02-16 10:49:55 +0000
committerdfr <dfr@FreeBSD.org>1999-02-16 10:49:55 +0000
commit22ceb237f0acde5a7f56b22bcbec381eb41db3f8 (patch)
tree7ff504a77dea2abe8ecf3178beb55d9d3592a1b9 /sys/netipx
parenta90ae0fb61f0e918e3cafba8d21edfe5a29559b9 (diff)
downloadFreeBSD-src-22ceb237f0acde5a7f56b22bcbec381eb41db3f8.zip
FreeBSD-src-22ceb237f0acde5a7f56b22bcbec381eb41db3f8.tar.gz
* Change sysctl from using linker_set to construct its tree using SLISTs.
This makes it possible to change the sysctl tree at runtime. * Change KLD to find and register any sysctl nodes contained in the loaded file and to unregister them when the file is unloaded. Reviewed by: Archie Cobbs <archie@whistle.com>, Peter Wemm <peter@netplex.com.au> (well they looked at it anyway)
Diffstat (limited to 'sys/netipx')
-rw-r--r--sys/netipx/ipx_proto.c3
-rw-r--r--sys/netipx/ipx_var.h7
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/netipx/ipx_proto.c b/sys/netipx/ipx_proto.c
index bbb6b93..f7b8e59 100644
--- a/sys/netipx/ipx_proto.c
+++ b/sys/netipx/ipx_proto.c
@@ -33,7 +33,7 @@
*
* @(#)ipx_proto.c
*
- * $Id: ipx_proto.c,v 1.12 1997/12/15 20:31:14 eivind Exp $
+ * $Id: ipx_proto.c,v 1.13 1998/02/09 06:10:24 eivind Exp $
*/
#include "opt_ipx.h"
@@ -43,6 +43,7 @@
#include <sys/protosw.h>
#include <sys/domain.h>
#include <sys/kernel.h>
+#include <sys/queue.h>
#include <sys/sysctl.h>
#include <net/radix.h>
diff --git a/sys/netipx/ipx_var.h b/sys/netipx/ipx_var.h
index bda0533..8d521a0 100644
--- a/sys/netipx/ipx_var.h
+++ b/sys/netipx/ipx_var.h
@@ -33,7 +33,7 @@
*
* @(#)ipx_var.h
*
- * $Id: ipx_var.h,v 1.10 1998/06/07 17:12:20 dfr Exp $
+ * $Id: ipx_var.h,v 1.11 1998/08/23 03:07:15 wollman Exp $
*/
#ifndef _NETIPX_IPX_VAR_H_
@@ -58,6 +58,11 @@ struct ipxstat {
#ifdef KERNEL
+#ifdef SYSCTL_DECL
+SYSCTL_DECL(_net_ipx);
+SYSCTL_DECL(_net_ipx_ipx);
+#endif
+
extern int ipxcksum;
extern long ipx_pexseq;
extern struct ipxstat ipxstat;
OpenPOWER on IntegriCloud