[PATCH] BPF Just-In-Time compiler
jkim at FreeBSD.org
Thu Dec 1 11:17:37 PST 2005
I ported 'jitter' from WinPcap 3.1 to FreeBSD for i386 and wrote amd64
I didn't do much testing but it seems working pretty well for me so
You need the following line in the kernel configuration:
You can turn off filtering through JIT-compiled filter by setting:
If you are using very complex filters, it may be useful for you.
1. BIOCSETWF is not supported.
2. bpf_mtap2() is not supported and bpf_mtap() is partially
3. amd64 and i386 only.
4. Intel assembler notation. :-(
Testing, benchmarking, reviews, comments, complaints, patches for
other architectures, etc, all welcome.
More information about the freebsd-current