From 22ceb237f0acde5a7f56b22bcbec381eb41db3f8 Mon Sep 17 00:00:00 2001 From: dfr Date: Tue, 16 Feb 1999 10:49:55 +0000 Subject: * 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 , Peter Wemm (well they looked at it anyway) --- sys/netipx/ipx_proto.c | 3 ++- sys/netipx/ipx_var.h | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'sys/netipx') 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 #include #include +#include #include #include 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; -- cgit v1.1