diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2016-11-14 03:51:54 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2016-11-14 03:51:54 +0000 |
commit | fc674f9894d986b47cfa77e09298d752aaf88a86 (patch) | |
tree | 5f6625cc3c701dbec6e85a033c355f4ff47ab185 /sys/net/route.c | |
parent | e0ce1e1136e22dfdf32c6e56000621f1fc333891 (diff) |
turn ipstat into a set of percpu counters.
each counter is identified by an enum value which correspond to the
original members of the ipstat struct.
ipstat_inc(ips_foo) replaces ipstat.ips_foo++ for the actual updates.
ipstat_inc is a thin wrapper around counters_inc.
counters are still returned to userland via the ipstat struct for now.
ok mpi@ mikeb@
Diffstat (limited to 'sys/net/route.c')
0 files changed, 0 insertions, 0 deletions