OpenBSD/src nozBEta — sys/net if.c if_var.h
add optional per-cpu counters for interface stats. these exist so interfaces that want to do mpsafe work outside the ifq machinery have a place to allocate and update stats in. the generic ioctl handling for getting stats to userland knows how to roll the new per cpu stats into the rest before export. ok visa@
Version | Delta | File | |
---|---|---|---|
1.569 | +41 | -1 | sys/net/if.c |
1.91 | +23 | -1 | sys/net/if_var.h |
+64 | -2 | 2 files |