1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2d2ba09c1SAlexei Starovoitovmenuconfig BPFILTER 3d2ba09c1SAlexei Starovoitov bool "BPF based packet filtering framework (BPFILTER)" 4*864e898bSMasahiro Yamada depends on BPF && INET 5d71fa5c9SAlexei Starovoitov select USERMODE_DRIVER 6d2ba09c1SAlexei Starovoitov help 7d2ba09c1SAlexei Starovoitov This builds experimental bpfilter framework that is aiming to 8d2ba09c1SAlexei Starovoitov provide netfilter compatible functionality via BPF 9d2ba09c1SAlexei Starovoitov 10d2ba09c1SAlexei Starovoitovif BPFILTER 11d2ba09c1SAlexei Starovoitovconfig BPFILTER_UMH 12d2ba09c1SAlexei Starovoitov tristate "bpfilter kernel module with user mode helper" 139326e0f8SMasahiro Yamada depends on CC_CAN_LINK 149326e0f8SMasahiro Yamada depends on m || CC_CAN_LINK_STATIC 15d2ba09c1SAlexei Starovoitov default m 16d2ba09c1SAlexei Starovoitov help 17d2ba09c1SAlexei Starovoitov This builds bpfilter kernel module with embedded user mode helper 189f64fbdbSValdis Kl ē tnieks 199326e0f8SMasahiro Yamada Note: To compile this as built-in, your toolchain must support 209326e0f8SMasahiro Yamada building static binaries, since rootfs isn't mounted at the time 219326e0f8SMasahiro Yamada when __init functions are called and do_execv won't be able to find 229326e0f8SMasahiro Yamada the elf interpreter. 23d2ba09c1SAlexei Starovoitovendif 24