diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h index 2a17fb7fadde..ed9222d573c6 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -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..* + */ + /* * CTL_KERN identifiers */