From owner-cvs-all Thu Oct 19 16:15:58 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7781837B4D7; Thu, 19 Oct 2000 16:15:55 -0700 (PDT) Received: (from joe@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA62247; Thu, 19 Oct 2000 16:15:55 -0700 (PDT) (envelope-from joe@FreeBSD.org) Message-Id: <200010192315.QAA62247@freefall.freebsd.org> From: Josef Karthauser Date: Thu, 19 Oct 2000 16:15:55 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 X-FreeBSD-CVS-Branch: HEAD 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. Revision Changes Path 1.34 +48 -10 src/usr.bin/netstat/if.c 1.27 +2 -1 src/sys/net/if_var.h 1.144 +7 -2 src/sys/netinet/ip_input.c 1.112 +8 -1 src/sys/netinet/ip_output.c 1.17 +6 -1 src/sys/netinet6/ip6_input.c 1.19 +8 -2 src/sys/netinet6/ip6_output.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message