xref: /openbmc/linux/net/bpfilter/Kconfig (revision f20c7d91)
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_STATIC
13	default m
14	help
15	  This builds bpfilter kernel module with embedded user mode helper
16
17	  Note: your toolchain must support building static binaries, since
18	  rootfs isn't mounted at the time when __init functions are called
19	  and do_execv won't be able to find the elf interpreter.
20endif
21