From d82b5992148d959ad4596bde8f34f7b7c5ab82b7 Mon Sep 17 00:00:00 2001 From: fvdl Date: Tue, 9 Jan 2001 21:30:25 +0000 Subject: [PATCH] Add 'vendor' toplevel name. To be used as vendor..* for vendor-specific data. --- sys/sys/sysctl.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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 */