From owner-freebsd-hackers Tue Sep 1 02:53:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA19985 for freebsd-hackers-outgoing; Tue, 1 Sep 1998 02:53:28 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA19977 for ; Tue, 1 Sep 1998 02:53:25 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id JAA08942 for hackers@freebsd.org; Tue, 1 Sep 1998 09:57:21 +0200 From: Luigi Rizzo Message-Id: <199809010757.JAA08942@labinfo.iet.unipi.it> Subject: kernel sysctl interface question... To: hackers@FreeBSD.ORG Date: Tue, 1 Sep 1998 09:57:20 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, i notice that some (static) kernel data structures are exported to user space using the sysctl interface, and that makes life easy for programs that want to access these things -- examples are statistics etc. Now, i wonder if (and then how) i can use the same interface for exporting dynamic data structures, e.g. things like "struct ifnet" which are allocated more or less dynamically. thanks luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message