Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2009 18:33:44 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Bruce Simpson <bms@incunabulum.net>
Cc:        svn-src-head@freebsd.org, "George V. Neville-Neil" <gnn@FreeBSD.org>, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r196797 - in head: sys/net sys/netinet usr.bin/netstat
Message-ID:  <alpine.BSF.2.00.0909041832280.39164@fledge.watson.org>
In-Reply-To: <4AA09B41.3040103@incunabulum.net>
References:  <200909032110.n83LAvUF044731@svn.freebsd.org> <4AA09B41.3040103@incunabulum.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0909041832280.39164>