CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/02/05 16:16:39
Modified files:
sys/net : route.c
sys/netinet : ip_var.h
sys/netinet6 : ip6_var.h
usr.bin/netstat: inet.c inet6.c
Log message:
Add netstat counter for route cache.
To optimize route caching, count cache hits and misses. This is
shown in netstat -s for both inet and inet6. Reuse the old IPv6
forward cache counter. Sort ip6s_wrongif consistently. For now
only IPv4 cache counter has been implemented.
OK mvs@
