Date: Thu, 19 Oct 2000 16:15:55 -0700 (PDT) From: Josef Karthauser <joe@FreeBSD.org> 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 Message-ID: <200010192315.QAA62247@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010192315.QAA62247>
