summaryrefslogtreecommitdiffstats
path: root/sys/net/if_mib.c
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/net/if_mib.c
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/net/if_mib.c')
-rw-r--r--sys/net/if_mib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_mib.c b/sys/net/if_mib.c
index 2e8f331..b079273 100644
--- a/sys/net/if_mib.c
+++ b/sys/net/if_mib.c
@@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_mib.c,v 1.5 1997/08/02 14:32:38 bde Exp $
+ * $Id: if_mib.c,v 1.6 1998/12/04 22:54:52 archie Exp $
*/
#include <sys/param.h>
@@ -61,6 +61,7 @@
* services stuff).
*/
+SYSCTL_DECL(_net_link_generic);
SYSCTL_NODE(_net_link_generic, IFMIB_SYSTEM, system, CTLFLAG_RW, 0,
"Variables global to all interfaces");
SYSCTL_INT(_net_link_generic_system, IFMIB_IFCOUNT, ifcount, CTLFLAG_RD,
OpenPOWER on IntegriCloud