From owner-cvs-all Fri Oct 20 13:51:32 2000 Delivered-To: cvs-all@freebsd.org Received: from genius.systems.pavilion.net (termroom.bsdcon.org [206.55.247.2]) by hub.freebsd.org (Postfix) with ESMTP id 53B1C37B479; Fri, 20 Oct 2000 13:51:26 -0700 (PDT) Received: by genius.systems.pavilion.net (Postfix, from userid 100) id 19BB59B12; Fri, 20 Oct 2000 13:32:37 -0700 (PDT) Date: Fri, 20 Oct 2000 13:32:36 -0700 From: Josef Karthauser To: Josef Karthauser Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/netstat if.c src/sys/net if_var.h src/sys/netinet ip_input.c ip_output.c src/sys/netinet6 ip6_input.c ip6_output.c Message-ID: <20001020133236.A7498@pavilion.net> References: <200010192315.QAA62247@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: <200010192315.QAA62247@freefall.freebsd.org>; from joe@FreeBSD.org on Thu, Oct 19, 2000 at 04:15:55PM -0700 X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, Lees House, 21-23 Dyke Road, Brighton, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Oct 19, 2000 at 04:15:55PM -0700, Josef Karthauser wrote: > joe 2000/10/19 16:15:55 PDT > > Modified files: > usr.bin/netstat if.c > sys/net if_var.h > sys/netinet ip_input.c ip_output.c > sys/netinet6 ip6_input.c ip6_output.c > Log: > Augment the 'ifaddr' structure with a 'struct if_data' to keep > statistics on a per network address basis. > > Teach the IPv4 and IPv6 input/output routines to log packets/bytes > against the network address connected to the flow. > > Teach netstat to display the per-address stats for IP protocols > when 'netstat -i' is evoked, instead of displaying the per-interface > stats. I forgot to mention: Inspired by: BSD/OS Joe -- Josef Karthauser FreeBSD: How many times have you booted today? Technical Manager Viagra for your server (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message