freebsd-dev/usr.bin/netstat
Mike Karels 231092bb6f netstat -i: do not truncate interface names
The field for interface names for netstat -i was 5 characters by
default, which is no longer sufficient with names like "vlan1234"
and "vtnet0".  netstat -iW computed the necessary field width, but
also enlarged the address field by a lot (especially with IPv6 enabled).
Make netstat -i compute the field width for interface names with or
without -W.  Note that the existing default output does not fit in
80 columns in any case.  Update the man page accordingly, documenting
the remaining effect of -W with -i.  Also add -W to the list of
General Options, as there are numerous pointers to this.

Reported by:	Chris Ross
Reviewed by:	melifaro, rgrimes, cy
Differential Revision: https://reviews.freebsd.org/D35703
MFC after:	1 week
2022-07-06 07:12:16 -05:00
..
bpf.c
common.c usr.bin/netstat: use roundup2 when rounding up to power of 2. 2021-05-02 09:30:22 -07:00
common.h Introduce scalable route multipath. 2020-10-03 10:47:17 +00:00
if.c netstat -i: do not truncate interface names 2022-07-06 07:12:16 -05:00
inet6.c netinet6: Fix mbuf leak in NDP 2022-05-31 21:06:14 +00:00
inet.c sockbuf: remove unused mbuf counter and cluster counter 2022-05-27 08:20:17 -07:00
ipsec.c ipsec(4): Fix a few typos in error messages 2022-02-06 13:43:42 +01:00
main.c Extend netstat to display TCP stack and detailed congestion state 2020-10-09 10:07:41 +00:00
Makefile Introduce scalable route multipath. 2020-10-03 10:47:17 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
mbuf.c
mroute6.c
mroute.c ip_mroute: refactor bw_meter API 2021-05-21 06:43:41 +02:00
netgraph.c
netisr.c
netstat.1 netstat -i: do not truncate interface names 2022-07-06 07:12:16 -05:00
netstat.h Extend netstat to display TCP stack and detailed congestion state 2020-10-09 10:07:41 +00:00
nhgrp.c Introduce scalable route multipath. 2020-10-03 10:47:17 +00:00
nhops.c netstat: fix nhop prepend printing. 2021-12-26 15:05:10 +00:00
nlist_symbols Fix netstat -rs reporting. 2021-03-31 20:59:10 +00:00
pfkey.c
route.c netstat: print path weight when showing routes in structured output. 2022-06-22 12:47:06 +00:00
sctp.c
unix.c Use uintptr_t alone when assigning to kvaddr_t variables. 2018-07-10 13:03:06 +00:00