| BPFJIT(4) | Device Drivers Manual | BPFJIT(4) |
bpfjit —
options BPFJIT
options SLJIT
bpfjit kernel interface adds
Just-In-Time compilation of filter programs sent to a
bpf(4) device. Instead of being
interpreted for every packet, these filter programs are compiled into native
code and the code is being executed for every packet.
The implementation of bpfjit is based on
the Stack-Less Just-In-Time library, or
sljit for short. The library supports multiple
platforms including
bpfjit supports all architectures listed
above.
bpfjit is also available as a module in
modular kernels.
bpfjit is
enabled:
net.bpf.jitbpfjit interface first appeared in
NetBSD 7.0.
bpfjit code was written by
Alexander Nasonov
<alnsn@NetBSD.org>.
The sljit library was written by
Zoltan Herczeg
<hzmester@freemail.hu>.
| July 24, 2014 | NetBSD 9.4 |