CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/11/13 20:51:53
Modified files:
sys/net : if_bridge.c if_etherip.c pf.c
sys/netinet : ip_icmp.c ip_input.c ip_output.c ip_var.h
raw_ip.c
Log message:
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@