summaryrefslogtreecommitdiff
path: root/net/bpfilter/Kconfig
blob: 73d0b12789f1e05454839982bccb1f5124a427db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# SPDX-License-Identifier: GPL-2.0-only
menuconfig BPFILTER
	bool "BPF based packet filtering framework (BPFILTER)"
	depends on NET && BPF && INET
	help
	  This builds experimental bpfilter framework that is aiming to
	  provide netfilter compatible functionality via BPF

if BPFILTER
config BPFILTER_UMH
	tristate "bpfilter kernel module with user mode helper"
	depends on CC_CAN_LINK
	depends on m || CC_CAN_LINK_STATIC
	default m
	help
	  This builds bpfilter kernel module with embedded user mode helper

	  Note: To compile this as built-in, your toolchain must support
	  building static binaries, since rootfs isn't mounted at the time
	  when __init functions are called and do_execv won't be able to find
	  the elf interpreter.
endif