Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add 'vendor' toplevel name. To be used as vendor.<ve...
details: https://anonhg.NetBSD.org/src/rev/66bf75c90592
branches: trunk
changeset: 501962:66bf75c90592
user: fvdl <fvdl%NetBSD.org@localhost>
date: Tue Jan 09 21:30:25 2001 +0000
description:
Add 'vendor' toplevel name. To be used as vendor.<vendorname>.* for
vendor-specific data.
diffstat:
sys/sys/sysctl.h | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 87f3b8311edb -r 66bf75c90592 sys/sys/sysctl.h
--- a/sys/sys/sysctl.h Tue Jan 09 21:26:30 2001 +0000
+++ b/sys/sys/sysctl.h Tue Jan 09 21:30:25 2001 +0000
@@ -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 @@
#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,9 +106,16 @@
{ "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
*/
#define KERN_OSTYPE 1 /* string: system version */
Home |
Main Index |
Thread Index |
Old Index