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