freebsd-skq/usr.bin/netstat
Bjoern A. Zeeb b25d74e06c Improve ARP logging.
r344504 added an extra ARP_LOG() call in case of an if_output() failure.
It turns out IPv4 can be noisy. In order to not spam the console by default:
(a) add a counter for these events so people can keep better track of how
    often it happens, and
(b) add a sysctl to select the default ARP_LOG log level and set it to
    INFO avoiding the one (the new) DEBUG level by default.

Claim a spare (1st one after 10 years since the stats were added) in order
to not break netstat from FreeBSD 12->13 updates in the future.

Reviewed by:		karels
Differential Revision:	https://reviews.freebsd.org/D19490
2019-03-09 01:12:59 +00:00
..
bpf.c
if.c
inet6.c
inet.c Improve ARP logging. 2019-03-09 01:12:59 +00:00
ipsec.c Add a SPD cache to speed up lookups. 2018-05-22 15:54:25 +00:00
main.c Add the "TCP Blackbox Recorder" which we discussed at the developer 2018-03-22 09:40:08 +00:00
Makefile
Makefile.depend
mbuf.c
mroute6.c
mroute.c
netgraph.c
netisr.c
netstat.1 Bump netstat.1's .Dd after r331347. 2018-03-22 09:43:15 +00:00
netstat.h Add the "TCP Blackbox Recorder" which we discussed at the developer 2018-03-22 09:40:08 +00:00
nlist_symbols
pfkey.c
route.c
sctp.c
unix.c Use uintptr_t alone when assigning to kvaddr_t variables. 2018-07-10 13:03:06 +00:00