From 3750ef06a03326849e61518c731374da7a100858 Mon Sep 17 00:00:00 2001 From: thorpej Date: Mon, 26 Apr 1999 21:54:46 +0000 Subject: [PATCH] Add mbuf sysctl definitions. --- sys/sys/sysctl.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h index 9eedfe3f5491..7b06feb77d60 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -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 @@ struct ctlname { #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 @@ struct ctlname { { "shortcorename", CTLTYPE_INT }, \ { "synchronized_io", CTLTYPE_INT }, \ { "iov_max", CTLTYPE_INT }, \ + { "mbuf", CTLTYPE_NODE }, \ } /* @@ -403,6 +405,7 @@ int sysctl_ntptime __P((char *, size_t *)); #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 *));