freebsd-nq/usr.bin/netstat
Bruce M Simpson d092c06c3a Retire most of the classful network behaviour of netstat -r output, for IPv4.
Without -n, we now only print a "network name" without the prefix length
 under the following conditions:
  1) the network address and mask matches a classful network prefix;
  2) getnetbyaddr(3) returns a network name for this network address.

 With -n, we unconditionally print the full unabbreviated CIDR network
 prefix in the form "a.b.c.d/p". 0.0.0.0/0 is still printed as "default".

This change is in preparation for changes such as equal-cost multipath, and
to more generally assist operational deployment of FreeBSD as a modern IPv4
router. There are currently no plans to backport this change.

Discussed on:	freebsd-net
2007-02-14 14:17:01 +00:00
..
atalk.c
bpf.c Don't shadow globals. 2006-11-27 19:50:50 +00:00
if.c Don't always print a space character in show_stat(), since a space 2006-11-08 15:15:05 +00:00
inet6.c
inet.c
ipsec.c Don't shadow globals. 2006-11-27 19:50:50 +00:00
ipx.c
main.c
Makefile
mbuf.c
mcast.c
mroute6.c Nits. 2006-09-29 16:16:41 +00:00
mroute.c Nits. 2006-09-29 16:16:41 +00:00
netgraph.c
netstat.1 Markup fixes. 2006-09-29 15:20:48 +00:00
netstat.h
pfkey.c Don't shadow globals. 2006-11-27 19:50:50 +00:00
route.c Retire most of the classful network behaviour of netstat -r output, for IPv4. 2007-02-14 14:17:01 +00:00
unix.c