From owner-cvs-all Mon Aug 6 4:18:39 2001 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 74D8C37B401; Mon, 6 Aug 2001 04:18:24 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f76BIIJ28409; Mon, 6 Aug 2001 14:18:18 +0300 (EEST) (envelope-from ru) Date: Mon, 6 Aug 2001 14:18:18 +0300 From: Ruslan Ermilov To: Bill Fenner Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/netstat mroute.c src/sys/kern sys_socket.c src/sys/modules Makefile src/sys/modules/ip_mroute_mod Makefile src/sys/net route.c route.h src/sys/netinet ip_encap.c ip_mroute.c ip_mroute.h Message-ID: <20010806141818.B23195@sunbay.com> Mail-Followup-To: Bill Fenner , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200107252015.f6PKFn271754@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200107252015.f6PKFn271754@freefall.freebsd.org>; from fenner@FreeBSD.org on Wed, Jul 25, 2001 at 01:15:49PM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jul 25, 2001 at 01:15:49PM -0700, Bill Fenner wrote: > fenner 2001/07/25 13:15:49 PDT > > Modified files: > usr.bin/netstat mroute.c > Log: > Use sysctl to export multicast routing stats > > Revision Changes Path > 1.17 +14 -6 src/usr.bin/netstat/mroute.c > sysctl(3) interface can only be used to access data from the running kernel. This change also breaks -M support for -gs. Using kvm path is still useful when examining data from the kernel's core file. This is already implemented for the mbuf statistics (-m). It first checks to see if the -M in effect or not, and mbpr() uses either sysctl(3) or kread() version, respectively. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message