mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 17:44:17 +01:00
f3a097d031
Now that we export the relevant stats via the net.route.stats sysctl,
switch to using that to avoid having to dig around in mem(4) for live
kernel statistics. Based on callers of kresolve_list(), this is the
last live path using mem(4) that could be functional today.
Tested both with `netstat -rs` and `netstat -rs -M`.
Note that this will not be able to extract stats from a running kernel
that predates
|
||
---|---|---|
.. | ||
bpf.c | ||
common.c | ||
common.h | ||
if.c | ||
inet6.c | ||
inet.c | ||
ipsec.c | ||
main.c | ||
Makefile | ||
Makefile.depend | ||
Makefile.depend.options | ||
mbuf.c | ||
mroute6.c | ||
mroute.c | ||
netgraph.c | ||
netisr.c | ||
netstat.1 | ||
netstat.h | ||
nhgrp.c | ||
nhops.c | ||
nlist_symbols | ||
pfkey.c | ||
route_netlink.c | ||
route.c | ||
sctp.c | ||
unix.c |