From owner-freebsd-hackers Thu Jun 29 15:30:19 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from maynard.mail.mindspring.net (maynard.mail.mindspring.net [207.69.200.243]) by hub.freebsd.org (Postfix) with ESMTP id BE42437C1D3 for ; Thu, 29 Jun 2000 15:30:15 -0700 (PDT) (envelope-from vsilyaev@mindspring.com) Received: from jupiter.delta.ny.us (nyf-ny9-20.ix.netcom.com [198.211.18.20]) by maynard.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id SAA14824; Thu, 29 Jun 2000 18:30:10 -0400 (EDT) Received: (from vsilyaev@localhost) by jupiter.delta.ny.us (8.9.3/8.9.3) id SAA00463; Thu, 29 Jun 2000 18:30:05 -0400 (EDT) (envelope-from vsilyaev) Date: Thu, 29 Jun 2000 18:30:05 -0400 From: "Vladimir N. Silyaev" To: "Jorge Sa' Silva" Cc: freebsd-hackers@FreeBSD.org Subject: Re: kernel function Message-ID: <20000629183005.A439@jupiter.delta.ny.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the kernel space you are have to use not the sysctl, but the kernel_sysctl function. But for this function (as and for sysctl BTW) you are need to specify MIB. To found MIB via name you are need to use some magic. Vladimir >Hi >I tried to use the sysctl() function in the kernel space, >but when I do the "kernel make" it doesn't recognize the sysctl(). I did the >include of and . >Do you know where is the problem? >Thanks in advance >Jorge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message