Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Add mbuf sysctl definitions.



details:   https://anonhg.NetBSD.org/src/rev/3082248978e0
branches:  trunk
changeset: 472284:3082248978e0
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Apr 26 21:54:46 1999 +0000

description:
Add mbuf sysctl definitions.

diffstat:

 sys/sys/sysctl.h |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r d6d0cfbd47c6 -r 3082248978e0 sys/sys/sysctl.h
--- a/sys/sys/sysctl.h  Mon Apr 26 21:53:59 1999 +0000
+++ b/sys/sys/sysctl.h  Mon Apr 26 21:54:46 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysctl.h,v 1.33 1998/11/13 12:07:51 christos Exp $     */
+/*     $NetBSD: sysctl.h,v 1.34 1999/04/26 21:54:46 thorpej Exp $      */
 
 /*
  * Copyright (c) 1989, 1993
@@ -148,7 +148,8 @@
 #define        KERN_SHORTCORENAME      36      /* int: programs dump core as "core" */
 #define        KERN_SYNCHRONIZED_IO    37      /* int: POSIX synchronized I/O */
 #define        KERN_IOV_MAX            38      /* int: max iovec's for readv(2) etc. */
-#define        KERN_MAXID              39      /* number of valid kern ids */
+#define        KERN_MBUF               39      /* node: mbuf parameters */
+#define        KERN_MAXID              40      /* number of valid kern ids */
 
 #define CTL_KERN_NAMES { \
        { 0, 0 }, \
@@ -190,6 +191,7 @@
        { "shortcorename", CTLTYPE_INT }, \
        { "synchronized_io", CTLTYPE_INT }, \
        { "iov_max", CTLTYPE_INT }, \
+       { "mbuf", CTLTYPE_NODE }, \
 }
 
 /*
@@ -403,6 +405,7 @@
 #ifdef GPROF
 int sysctl_doprof __P((int *, u_int, void *, size_t *, void *, size_t));
 #endif
+int sysctl_dombuf __P((int *, u_int, void *, size_t *, void *, size_t));
 
 void fill_eproc __P((struct proc *, struct eproc *));
 



Home | Main Index | Thread Index | Old Index