Re: [PATCH bpf-next 00/11] bpfilter
From: Song Liu <hidden>
Date: 2021-05-20 04:55:08
Also in:
bpf
On May 17, 2021, at 3:52 PM, Dmitrii Banshchikov [off-list ref] wrote: The patchset is based on the patches from David S. Miller [1] and Daniel Borkmann [2]. The main goal of the patchset is to prepare bpfilter for iptables' configuration blob parsing and code generation. The patchset introduces data structures and code for matches, targets, rules and tables. It seems inconvenient to continue to use the same blob internally in bpfilter in parts other than the blob parsing. That is why a superstructure with native types is introduced. It provides a more convenient way to iterate over the blob and limit the crazy structs widespread in the bpfilter code.
[...]
1. https://lore.kernel.org/patchwork/patch/902785/
[1] used bpfilter_ prefix on struct definitions, like "struct bpfilter_target" I think we should do the same in this version. (Or were there discussions on removing the prefix?). Thanks, Song [...]