From owner-freebsd-hackers Sat Aug 1 19:10:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA18362 for freebsd-hackers-outgoing; Sat, 1 Aug 1998 19:10:48 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from spawn.nectar.com (spawn.nectar.com [204.27.67.86]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA18357 for ; Sat, 1 Aug 1998 19:10:47 -0700 (PDT) (envelope-from nectar@spawn.nectar.com) Received: from localhost.nectar.com ([127.0.0.1] helo=spawn.nectar.com) by spawn.nectar.com with esmtp (Exim 1.92 #1) id 0z2nbN-0001Zs-00; Sat, 1 Aug 1998 21:10:25 -0500 X-Mailer: exmh version 2.0.2 2/24/98 X-PGP-RSAfprint: 00 F9 E6 A2 C5 4D 0A 76 26 8B 8B 57 73 D0 DE EE X-PGP-RSAkey: http://www.nectar.com/nectar-pgp262.txt From: Jacques Vidrine In-reply-to: <199808020203.TAA05424@antipodes.cdrom.com> References: <199808020203.TAA05424@antipodes.cdrom.com> Subject: Re: sysctl example To: Mike Smith cc: hackers@FreeBSD.ORG Date: Sat, 01 Aug 1998 21:10:25 -0500 Message-Id: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- It's a TAILQ, and returning the whole enchilada is what I want. Although it might be useful to grab one at a time someday. I'll look at the SYSCTL_NODE stuff, thanks! Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org On 1 August 1998 at 19:03, Mike Smith wrote: > Is your table statically-sized, or does it vary in size at runtime? Do > you want to return just the entire table, or optionally just one entry? > > Look for SYSCTL_NODE() declarations eg. in the networking code. -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNcPKkTeRhT8JRySpAQEFMgQAhskJBGtuoWOrbxNxDEbcGgYoNf7bW2no 1v0qrrcCJVf4Y0cFsIiS9bVERAH43GDgKQ9d2giz+uIX5xk47gN+b7NnAvUCSPSe yhHOHtS2zzEXfYO48oN6i3pZDPZFUzwhh4XQjHmIt5qda/jIbBOkHRIAg2FwihEw eAF9STstTXA= =cuEm -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message