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