From owner-svn-src-head@FreeBSD.ORG Sun Aug 31 16:08:03 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 969B7AE7; Sun, 31 Aug 2014 16:08:03 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 199511823; Sun, 31 Aug 2014 16:08:02 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.9/8.14.9) with ESMTP id s7VG80ix087180 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 31 Aug 2014 20:08:00 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.9/8.14.9/Submit) id s7VG80ww087179; Sun, 31 Aug 2014 20:08:00 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Sun, 31 Aug 2014 20:08:00 +0400 From: Gleb Smirnoff To: "Alexander V. Chernikov" Subject: Re: svn commit: r270870 - head/sys/net Message-ID: <20140831160800.GC7693@FreeBSD.org> References: <201408310646.s7V6kM1X050678@svn.freebsd.org> <5402DAB7.2040806@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5402DAB7.2040806@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sun, 31 Aug 2014 16:08:03 -0000 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.