svn commit: r196797 - in head: sys/net sys/netinet
usr.bin/netstat
Robert Watson
rwatson at FreeBSD.org
Fri Sep 4 17:33:45 UTC 2009
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
More information about the svn-src-all
mailing list