From a6e3c2a3ced8d886e252170fd0fbc11aedf9a3e2 Mon Sep 17 00:00:00 2001 From: wollman Date: Mon, 24 Feb 1997 20:30:58 +0000 Subject: Create a new branch of the kernel MIB, kern.ipc, to store all of the configurables and instrumentation related to inter-process communication mechanisms. Some variables, like mbuf statistics, are instrumented here for the first time. For mbuf statistics: also keep track of m_copym() and m_pullup() failures, and provide for the user's inspection the compiled-in values of MSIZE, MHLEN, MCLBYTES, and MINCLSIZE. --- sys/kern/uipc_proto.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'sys/kern/uipc_proto.c') diff --git a/sys/kern/uipc_proto.c b/sys/kern/uipc_proto.c index 35d0771..f652ce3 100644 --- a/sys/kern/uipc_proto.c +++ b/sys/kern/uipc_proto.c @@ -31,14 +31,16 @@ * SUCH DAMAGE. * * @(#)uipc_proto.c 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: uipc_proto.c,v 1.9 1997/02/22 09:39:27 peter Exp $ */ #include -#include -#include +#include #include #include +#include +#include +#include #include #include @@ -68,3 +70,7 @@ static struct protosw localsw[] = { struct domain localdomain = { AF_LOCAL, "local", 0, unp_externalize, unp_dispose, localsw, &localsw[sizeof(localsw)/sizeof(localsw[0])] }; + +SYSCTL_NODE(_net, PF_LOCAL, local, CTLFLAG_RW, 0, "Local domain"); +SYSCTL_NODE(_net_local, SOCK_STREAM, stream, CTLFLAG_RW, 0, "SOCK_STREAM"); +SYSCTL_NODE(_net_local, SOCK_DGRAM, dgram, CTLFLAG_RW, 0, "SOCK_DGRAM"); -- cgit v1.1