CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/01/19 20:48:03
Modified files:
sys/net : ifq.c ifq.h
Log message:
keep output packet counters on the ifq structure.
these copy what is counted on the output path on the ifnet struct,
except ifq counts both packets and bytes when a packet is queued
instead of just the bytes.
all the counters are protected by the ifq mutex except for ifq_errors,
which can be updated safely from inside a start routine because the
ifq machinery serialises them.
ok mpi@