diff options
| author | 2015-02-07 02:30:00 +0000 | |
|---|---|---|
| committer | 2015-02-07 02:30:00 +0000 | |
| commit | f41c85295fb128a37f0d5b02429da174d8367ae5 (patch) | |
| tree | 52feddf7950ff4a77484bb36cb92a3f75e83b9e9 /sys/kern/subr_hibernate.c | |
| parent | When getopt processing flags, many should be flag=1 instead of flag++ (diff) | |
| download | wireguard-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
