Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Alexei Starovoitov | d2ba09c | 2018-05-21 19:22:30 -0700 | [diff] [blame] | 2 | menuconfig BPFILTER |
| 3 | bool "BPF based packet filtering framework (BPFILTER)" |
Alexei Starovoitov | 61a552e | 2018-05-23 21:29:05 -0700 | [diff] [blame] | 4 | depends on NET && BPF && INET |
Alexei Starovoitov | d2ba09c | 2018-05-21 19:22:30 -0700 | [diff] [blame] | 5 | help |
| 6 | This builds experimental bpfilter framework that is aiming to |
| 7 | provide netfilter compatible functionality via BPF |
| 8 | |
| 9 | if BPFILTER |
| 10 | config BPFILTER_UMH |
| 11 | tristate "bpfilter kernel module with user mode helper" |
Masahiro Yamada | 9326e0f | 2020-07-01 18:26:44 +0900 | [diff] [blame] | 12 | depends on CC_CAN_LINK |
| 13 | depends on m || CC_CAN_LINK_STATIC |
Alexei Starovoitov | d2ba09c | 2018-05-21 19:22:30 -0700 | [diff] [blame] | 14 | default m |
| 15 | help |
| 16 | This builds bpfilter kernel module with embedded user mode helper |
Valdis Kl ē tnieks | 9f64fbd | 2020-05-09 00:47:19 -0400 | [diff] [blame] | 17 | |
Masahiro Yamada | 9326e0f | 2020-07-01 18:26:44 +0900 | [diff] [blame] | 18 | Note: To compile this as built-in, your toolchain must support |
| 19 | building static binaries, since rootfs isn't mounted at the time |
| 20 | when __init functions are called and do_execv won't be able to find |
| 21 | the elf interpreter. |
Alexei Starovoitov | d2ba09c | 2018-05-21 19:22:30 -0700 | [diff] [blame] | 22 | endif |