Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 menuconfig BPFILTER
0003         bool "BPF based packet filtering framework (BPFILTER)"
0004         depends on BPF && INET
0005         select USERMODE_DRIVER
0006         help
0007           This builds experimental bpfilter framework that is aiming to
0008           provide netfilter compatible functionality via BPF
0009 
0010 if BPFILTER
0011 config BPFILTER_UMH
0012         tristate "bpfilter kernel module with user mode helper"
0013         depends on CC_CAN_LINK
0014         depends on m || CC_CAN_LINK_STATIC
0015         default m
0016         help
0017           This builds bpfilter kernel module with embedded user mode helper
0018 
0019           Note: To compile this as built-in, your toolchain must support
0020           building static binaries, since rootfs isn't mounted at the time
0021           when __init functions are called and do_execv won't be able to find
0022           the elf interpreter.
0023 endif