svn commit: r270870 - head/sys/net

Gleb Smirnoff glebius at FreeBSD.org
Sun Aug 31 16:08:03 UTC 2014


On Sun, Aug 31, 2014 at 12:20:07PM +0400, Alexander V. Chernikov wrote:
A> On 31.08.2014 10:46, Gleb Smirnoff wrote:
A> > Author: glebius
A> > Date: Sun Aug 31 06:46:21 2014
A> > New Revision: 270870
A> > URL: http://svnweb.freebsd.org/changeset/base/270870
A> >
A> > Log:
A> >    o Remove struct if_data from struct ifnet. Now it is merely API structure
A> >      for route(4) socket and ifmib(4) sysctl.
A> >    o Move fields from if_data to ifnet, but keep all statistic counters
A> >      separate, since they should disappear later.
A> >    o Provide function if_data_copy() to fill if_data, utilize it in routing
A> >      socket and ifmib handler.
A> >    o Provide overridable ifnet(9) method to fetch counters. If no provided,
A> >      if_get_counters_compat() would be used, that returns old counters.
A> Thanks!

This isn't yet finished, but you see the direction. :)

-- 
Totus tuus, Glebius.


More information about the svn-src-all mailing list