Actions
Bug #3387
openThe BPF interpreter should support XOR and MOD operations
Start date:
11/09/2025
Due date:
% Done:
0%
Estimated time:
Description
Linux introduced two new BPF instructions - BPF_XOR, doing a exclusive-or, and BPF_MOD, doing a C-style modulo operation.
NetBSD and FreeBSD have added them as well, as has libpcap's user-mode interpreter, and libpcap's compiler for filter expressions supports XOR and modulo perationsl
I've attached a patch to add this to the DragonFly BSD interpreter, based on the FreeBSD change; I have not tested it, but it should be a straightforward change.
Files
No data to display
Actions