xref: /openbmc/linux/net/bpfilter/Kconfig (revision 37b9c7bb)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig BPFILTER
3	bool "BPF based packet filtering framework (BPFILTER)"
4	depends on NET && BPF && INET
5	select USERMODE_DRIVER
6	help
7	  This builds experimental bpfilter framework that is aiming to
8	  provide netfilter compatible functionality via BPF
9
10if BPFILTER
11config BPFILTER_UMH
12	tristate "bpfilter kernel module with user mode helper"
13	depends on CC_CAN_LINK
14	depends on m || CC_CAN_LINK_STATIC
15	default m
16	help
17	  This builds bpfilter kernel module with embedded user mode helper
18
19	  Note: To compile this as built-in, your toolchain must support
20	  building static binaries, since rootfs isn't mounted at the time
21	  when __init functions are called and do_execv won't be able to find
22	  the elf interpreter.
23endif
24