| 72ce0f6d | 01-May-2005 |
Hiten Pandya <hmp@dragonflybsd.org> |
Networking routing statistics on a per-CPU basis:
(a) sysctl node net.route introduced.
(b) sysctl leaf node net.route.stats can be used for retrieving a cpu indexed array of struct rtstatis
Networking routing statistics on a per-CPU basis:
(a) sysctl node net.route introduced.
(b) sysctl leaf node net.route.stats can be used for retrieving a cpu indexed array of struct rtstatistics.
(a) add a function kinfo_get_net_rtstatistics(3), which will be responsible for providing an aggregated view of the routing statistics; part of libkinfo(3).
(d) adapt netstat(8) to make use of the new libkinfo interface for retrieving routing statistics.
Discussed-with: Jeffrey Hsu <hsu at dragonflybsd.org> (long time ago)
show more ...
|