summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-02-07 02:30:00 +0000
committerdlg <dlg@openbsd.org>2015-02-07 02:30:00 +0000
commitf41c85295fb128a37f0d5b02429da174d8367ae5 (patch)
tree52feddf7950ff4a77484bb36cb92a3f75e83b9e9 /sys/kern/subr_hibernate.c
parentWhen getopt processing flags, many should be flag=1 instead of flag++ (diff)
downloadwireguard-openbsd-f41c85295fb128a37f0d5b02429da174d8367ae5.tar.xz
wireguard-openbsd-f41c85295fb128a37f0d5b02429da174d8367ae5.zip
add ml_filter and mq_filter functions to the mbuf list and queue apis.
this lets you run a filter function against each mbuf on a list or queue. if the filter matches on an mbuf, it can return non-zero to have ml_filter or mq_filter remove the mbuf and return it as part of a chain of mbufs. ok mpi@ claudio@ henning@ and s2k15 generally.
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions