summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2020-09-04 15:18:05 +0000
committervisa <visa@openbsd.org>2020-09-04 15:18:05 +0000
commit6ece48cc0fee1ba7d98321a0c92c092f0e3dcb8c (patch)
tree5d7bc6b3096adcab8fbce17e0ea3ce7aa64697fa /lib/libc
parentReplace TAILQ concatenation loop with TAILQ_CONCAT (diff)
downloadwireguard-openbsd-6ece48cc0fee1ba7d98321a0c92c092f0e3dcb8c.tar.xz
wireguard-openbsd-6ece48cc0fee1ba7d98321a0c92c092f0e3dcb8c.zip
Add kstat to cnmac(4)
This makes various receive and transmit event counters readable. This additionally replaces the old, and somewhat unusual, way of updating error counters in ifp. Most of the hardware counters are 32 bits wide. Hence the code polls them periodically and adds the values to 64-bit software counters. The hardware counters are cleared when read.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions