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)"
|
2018-05-24 04:29:05 +00:00
|
|
|
depends on NET && BPF && INET
|
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-05-09 07:39:15 +00:00
|
|
|
depends on 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
|
|
|
|
|
|
|
Note: 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
|