From owner-freebsd-current@FreeBSD.ORG Sat Oct 13 01:16:30 2007 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8C1716A417 for ; Sat, 13 Oct 2007 01:16:30 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 771B613C448 for ; Sat, 13 Oct 2007 01:16:30 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.13.4) with ESMTP id l9D1E6fs009447; Fri, 12 Oct 2007 19:14:06 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 12 Oct 2007 19:14:17 -0600 (MDT) Message-Id: <20071012.191417.-1622602540.imp@bsdimp.com> To: jfvogel@gmail.com From: "M. Warner Losh" In-Reply-To: <2a41acea0710121611n4bb8d00egc104118cf7711537@mail.gmail.com> References: <2a41acea0710121611n4bb8d00egc104118cf7711537@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Fri, 12 Oct 2007 19:14:06 -0600 (MDT) Cc: freebsd-current@FreeBSD.ORG Subject: Re: examples of programmatic use of sysctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2007 01:16:30 -0000 In message: <2a41acea0710121611n4bb8d00egc104118cf7711537@mail.gmail.com> "Jack Vogel" writes: : In my PTP/IEEE 1588 implementation I was considering using sysctl : to pass data in and out of the driver and it needs to be from some app : program not interactive. Didn't want to pass it back via a socket/ioctl eh? : I was just wondering if anyone can point me at anything besides the : sysctl command that is doing this? man sysctlbyname. Warner