From owner-freebsd-questions Tue Mar 27 1:46:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mss.rdc2.nsw.optushome.com.au (ha1.rdc2.nsw.optushome.com.au [203.164.2.50]) by hub.freebsd.org (Postfix) with ESMTP id 3626337B719; Tue, 27 Mar 2001 01:46:27 -0800 (PST) (envelope-from s2209866@cse.unsw.edu.au) Received: from co3038206a ([203.164.177.110]) by mss.rdc2.nsw.optushome.com.au (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20010327094625.VUUC21116.mss.rdc2.nsw.optushome.com.au@co3038206a>; Tue, 27 Mar 2001 19:46:25 +1000 Reply-To: From: "Daniel Wong" To: "FreeBSD" , Subject: How to see kernel in userland ? Date: Tue, 27 Mar 2001 19:47:04 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I need some help with kernel programming. I'm trying to find out how to get my application to see kernel variables. I've tried to used sysctl_struct calls on my variable but I couldn't get sysctl command to see it... how do allow application to observer and maybe modify a variable inside a kernel ? Please suggest the best way to do this... All I want to do is to be able to monitor IP activity in my kernel. I've been trying to add stuff to the kernel as I'm playing around with experiemental code trying to monitor network activity under IP Cheers Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message