Add 'vendor' toplevel name. To be used as vendor.<vendorname>.* for

vendor-specific data.
This commit is contained in:
fvdl 2001-01-09 21:30:25 +00:00
parent ba45ad64d3
commit d82b599214

View File

@ -1,4 +1,4 @@
/* $NetBSD: sysctl.h,v 1.59 2000/11/20 01:46:56 simonb Exp $ */
/* $NetBSD: sysctl.h,v 1.60 2001/01/09 21:30:25 fvdl Exp $ */
/*
* Copyright (c) 1989, 1993
@ -91,7 +91,8 @@ struct ctlname {
#define CTL_USER 8 /* user-level */
#define CTL_DDB 9 /* in-kernel debugger */
#define CTL_PROC 10 /* per-proc attr */
#define CTL_MAXID 11 /* number of valid top-level ids */
#define CTL_VENDOR 11 /* vendor-specific data */
#define CTL_MAXID 12 /* number of valid top-level ids */
#define CTL_NAMES { \
{ 0, 0 }, \
@ -105,8 +106,15 @@ struct ctlname {
{ "user", CTLTYPE_NODE }, \
{ "ddb", CTLTYPE_NODE }, \
{ "proc", CTLTYPE_NODE }, \
{ "vendor", CTLTYPE_NODE }, \
}
/*
* The "vendor" toplevel name is to be used by vendors who wish to
* have their own private MIB tree. If you do that, please use
* vendor.<yourname>.*
*/
/*
* CTL_KERN identifiers
*/