2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2018-05-22 10:22:30 +08:00
|
|
|
menuconfig BPFILTER
|
|
|
|
bool "BPF based packet filtering framework (BPFILTER)"
|
2018-05-24 12:29:05 +08:00
|
|
|
depends on NET && BPF && INET
|
2020-08-19 12:27:58 +08:00
|
|
|
select USERMODE_DRIVER
|
2018-05-22 10:22:30 +08:00
|
|
|
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"
|
2020-07-01 17:26:44 +08:00
|
|
|
depends on CC_CAN_LINK
|
|
|
|
depends on m || CC_CAN_LINK_STATIC
|
2018-05-22 10:22:30 +08:00
|
|
|
default m
|
|
|
|
help
|
|
|
|
This builds bpfilter kernel module with embedded user mode helper
|
2020-05-09 12:47:19 +08:00
|
|
|
|
2020-07-01 17:26:44 +08:00
|
|
|
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.
|
2018-05-22 10:22:30 +08:00
|
|
|
endif
|