From owner-cvs-all Fri Oct 20 8:51:20 2000 Delivered-To: cvs-all@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id 9436637B4CF; Fri, 20 Oct 2000 08:51:15 -0700 (PDT) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id IAA27464; Fri, 20 Oct 2000 08:51:09 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <200010201551.IAA27464@gndrsh.dnsmgr.net> 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 In-Reply-To: <200010192315.QAA62247@freefall.freebsd.org> from Josef Karthauser at "Oct 19, 2000 04:15:55 pm" To: joe@FreeBSD.org (Josef Karthauser) Date: Fri, 20 Oct 2000 08:51:09 -0700 (PDT) Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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. Changing the output of netstat -i is not a good idea, it will break humans who are use to what netstat -i displays. Also you failed to change the documentation. -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message