freebsd-dev/usr.bin/netstat
Bruce M Simpson 443fc3176d Introduce a number of changes to the MROUTING code.
This is purely a forwarding plane cleanup; no control plane
code is involved.

Summary:
 * Split IPv4 and IPv6 MROUTING support. The static compile-time
   kernel option remains the same, however, the modules may now
   be built for IPv4 and IPv6 separately as ip_mroute_mod and
   ip6_mroute_mod.
 * Clean up the IPv4 multicast forwarding code to use BSD queue
   and hash table constructs. Don't build our own timer abstractions
   when ratecheck() and timevalclear() etc will do.
 * Expose the multicast forwarding cache (MFC) and virtual interface
   table (VIF) as sysctls, to reduce netstat's dependence on libkvm
   for this information for running kernels.
   * bandwidth meters however still require libkvm.
 * Make the MFC hash table size a boot/load-time tunable ULONG,
   net.inet.ip.mfchashsize (defaults to 256).
 * Remove unused members from struct vif and struct mfc.
 * Kill RSVP support, as no current RSVP implementation uses it.
   These stubs could be moved to raw_ip.c.
 * Don't share locks or initialization between IPv4 and IPv6.
 * Don't use a static struct route_in6 in ip6_mroute.c.
   The v6 code is still using a cached struct route_in6, this is
   moved to mif6 for the time being.
 * More cleanup remains to be merged from ip_mroute.c to ip6_mroute.c.

v4 path tested using ports/net/mcast-tools.
v6 changes are mostly mechanical locking and *have not* been tested.
As these changes partially break some kernel ABIs, they will not
be MFCed. There is a lot more work to be done here.

Reviewed by:	Pavlin Radoslavov
2009-03-19 01:43:03 +00:00
..
atalk.c style(9) 2008-01-02 23:26:11 +00:00
bpf.c Catch netstat up for the new bpf stats structures. Print 64 bit values 2008-03-24 13:50:39 +00:00
if.c style(9) 2008-01-02 23:26:11 +00:00
inet6.c Remove the single global unlocked route cache ip6_forward_rt 2009-02-01 21:11:08 +00:00
inet.c Correct a number of evolved problems with inp_vflag and inp_flags: 2009-03-15 09:58:31 +00:00
ipsec.c style(9) 2008-01-02 23:26:11 +00:00
ipx.c style(9) 2008-01-02 23:26:11 +00:00
main.c Introduce a number of changes to the MROUTING code. 2009-03-19 01:43:03 +00:00
Makefile Now that ifmcstat(8) does not suck, retire host-mode netstat -g. 2009-02-15 16:16:38 +00:00
mbuf.c style(9) 2008-01-02 23:26:11 +00:00
mroute6.c style(9) 2008-01-02 23:26:11 +00:00
mroute.c Introduce a number of changes to the MROUTING code. 2009-03-19 01:43:03 +00:00
netgraph.c style(9) 2008-01-02 23:26:11 +00:00
netstat.1 Now that ifmcstat(8) does not suck, retire host-mode netstat -g. 2009-02-15 16:16:38 +00:00
netstat.h Introduce a number of changes to the MROUTING code. 2009-03-19 01:43:03 +00:00
pfkey.c style(9) 2008-01-02 23:26:11 +00:00
route.c This main goals of this project are: 2008-12-15 06:10:57 +00:00
sctp.c Fixes typo's in sctp.c 2008-04-16 17:40:30 +00:00
unix.c o With -L flag show unix sockets listen queues stats. It is useful 2008-12-31 08:56:49 +00:00