mirror of
https://github.com/opnsense/src.git
synced 2026-02-27 03:40:37 -05:00
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
|
||
|---|---|---|
| .. | ||
| bpf.c | ||
| if.c | ||
| inet.c | ||
| inet6.c | ||
| ipsec.c | ||
| main.c | ||
| Makefile | ||
| Makefile.depend | ||
| mbuf.c | ||
| mroute.c | ||
| mroute6.c | ||
| netgraph.c | ||
| netisr.c | ||
| netstat.1 | ||
| netstat.h | ||
| nlist_symbols | ||
| pfkey.c | ||
| route.c | ||
| sctp.c | ||
| unix.c | ||