xref: /openbmc/linux/net/bpfilter/Kconfig (revision e0d07278)
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	help
6	  This builds experimental bpfilter framework that is aiming to
7	  provide netfilter compatible functionality via BPF
8
9if BPFILTER
10config BPFILTER_UMH
11	tristate "bpfilter kernel module with user mode helper"
12	depends on CC_CAN_LINK
13	depends on m || CC_CAN_LINK_STATIC
14	default m
15	help
16	  This builds bpfilter kernel module with embedded user mode helper
17
18	  Note: To compile this as built-in, your toolchain must support
19	  building static binaries, since rootfs isn't mounted at the time
20	  when __init functions are called and do_execv won't be able to find
21	  the elf interpreter.
22endif
23