BPF_MISC+BPF_COP and BPF_COPX
Guy Harris
guy at alum.mit.edu
Thu Aug 8 09:16:58 UTC 2013
On Aug 8, 2013, at 1:14 AM, Darren Reed <darrenr at netbsd.org> wrote:
> A BPF program generated on Linux is just as valid as on Solaris or NetBSD.
Not necessarily - negative offsets in load and store instructions are supported on Linux to access some metadata that's not in the packet data, but those aren't, as far as I know, supported on other platforms.
However, there is a subset of BPF that all kernel BPF implementations, and the userland implementation in libpcap, support.
More information about the freebsd-net
mailing list