Blame view

net/bpfilter/Kconfig 768 Bytes
ec8f24b7f   Thomas Gleixner   treewide: Add SPD...
1
  # SPDX-License-Identifier: GPL-2.0-only
d2ba09c17   Alexei Starovoitov   net: add skeleton...
2
3
  menuconfig BPFILTER
  	bool "BPF based packet filtering framework (BPFILTER)"
61a552eb4   Alexei Starovoitov   bpfilter: fix bui...
4
  	depends on NET && BPF && INET
d71fa5c97   Alexei Starovoitov   bpf: Add kernel m...
5
  	select USERMODE_DRIVER
d2ba09c17   Alexei Starovoitov   net: add skeleton...
6
7
8
9
10
11
12
  	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"
9326e0f85   Masahiro Yamada   bpfilter: Allow t...
13
14
  	depends on CC_CAN_LINK
  	depends on m || CC_CAN_LINK_STATIC
d2ba09c17   Alexei Starovoitov   net: add skeleton...
15
16
17
  	default m
  	help
  	  This builds bpfilter kernel module with embedded user mode helper
9f64fbdb7   Valdis Kletnieks   bpfilter: documen...
18

9326e0f85   Masahiro Yamada   bpfilter: Allow t...
19
20
21
22
  	  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.
d2ba09c17   Alexei Starovoitov   net: add skeleton...
23
  endif