From owner-svn-src-head@FreeBSD.ORG Fri Sep 4 17:33:44 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E52EF106566B; Fri, 4 Sep 2009 17:33:44 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id BDD648FC15; Fri, 4 Sep 2009 17:33:44 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 3B9ED46B1A; Fri, 4 Sep 2009 13:33:44 -0400 (EDT) Date: Fri, 4 Sep 2009 18:33:44 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Bruce Simpson In-Reply-To: <4AA09B41.3040103@incunabulum.net> Message-ID: References: <200909032110.n83LAvUF044731@svn.freebsd.org> <4AA09B41.3040103@incunabulum.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, "George V. Neville-Neil" , svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r196797 - in head: sys/net sys/netinet usr.bin/netstat X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 17:33:45 -0000 On Fri, 4 Sep 2009, Bruce Simpson wrote: > George V. Neville-Neil wrote: >> Author: gnn >> Date: Thu Sep 3 21:10:57 2009 >> New Revision: 196797 >> URL: http://svn.freebsd.org/changeset/base/196797 >> >> Log: >> Add ARP statistics to the kernel and netstat. > > Thanks very much for this change. Any chance this struct can get explicitly > versioned (i.e. as for struct igmpstat) as it is a new struct? For sysctls, explicit versioning doesn't help too much -- what I've been pondering for another structure was including spares and having a capabilities field in the structure where flags are set when fields are known by the kernel. That way userspace can tell if the kernel knows about the field it cares about and therefore whether they're worth looking at. Robert N M Watson Computer Laboratory University of Cambridge