https://github.com/torvalds/linux
Raw File
Tip revision: 45a3e24f65e90a047bef86f927ebdc4c710edaa1 authored by Linus Torvalds on 18 June 2023, 21:06:27 UTC
Linux 6.4-rc7
Tip revision: 45a3e24
Kconfig
# SPDX-License-Identifier: GPL-2.0-only
menuconfig BPFILTER
	bool "BPF based packet filtering framework (BPFILTER)"
	depends on BPF && INET
	select USERMODE_DRIVER
	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
back to top