From owner-freebsd-current@FreeBSD.ORG Fri Oct 12 23:11:14 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 21F7316A417 for ; Fri, 12 Oct 2007 23:11:14 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id BBB0913C465 for ; Fri, 12 Oct 2007 23:11:13 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so873955nfb for ; Fri, 12 Oct 2007 16:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=zlJdPC5uK0vxl0oAHUr0ypsXaqRm+aiggx4aYFIbxlA=; b=Lm0vN7Q2zwM+78vuk5eMqir3hatHy181ZnBOHsY2Q6508cSpnOgffrxKpXnrk7zDIW4lRB/w3Wdbryjdswh161pql8cFXUZ1g4VS00C/CS7O0B4DdLTrcTaYjD9GFBkAMiGw9RMIJ98sqpTwqjBfigvhh2TjBH9IMqu7qg6/h78= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Xvuz1XHE9m16Y7i38Gtu+5+oAg6hFlei6n+kyYKv2azwD1W3CfnJj5fUXjIP4Sm+lO35pQ6Wf0KJHhDrRvSoh2fi+xwMbtKt1/qX/XGBTsObXekpab224SCts8F0HE7Chx/roPjBJbhseREB13tvO6PbDmvGloJdWECadcEF2Xo= Received: by 10.86.76.16 with SMTP id y16mr2731529fga.1192230672190; Fri, 12 Oct 2007 16:11:12 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Fri, 12 Oct 2007 16:11:12 -0700 (PDT) Message-ID: <2a41acea0710121611n4bb8d00egc104118cf7711537@mail.gmail.com> Date: Fri, 12 Oct 2007 16:11:12 -0700 From: "Jack Vogel" To: "FreeBSD Current" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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: Fri, 12 Oct 2007 23:11:14 -0000 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. I was just wondering if anyone can point me at anything besides the sysctl command that is doing this? Jack