diff options
author | Jiri Pirko <jiri@resnulli.us> | 2015-01-15 09:52:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-17 23:51:10 -0500 |
commit | d23b8ad8ab23f5a18b91e2396fb63d10f66b08d6 (patch) | |
tree | 2a6e96dd2d53d3508be53c751a7476881b0283ff /net/sched/Kconfig | |
parent | 02dba4388d1691a087f40fe8acd2e1ffd577a07f (diff) | |
download | linux-d23b8ad8ab23f5a18b91e2396fb63d10f66b08d6.tar.gz linux-d23b8ad8ab23f5a18b91e2396fb63d10f66b08d6.tar.bz2 linux-d23b8ad8ab23f5a18b91e2396fb63d10f66b08d6.zip |
tc: add BPF based action
This action provides a possibility to exec custom BPF code.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/Kconfig')
-rw-r--r-- | net/sched/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/sched/Kconfig b/net/sched/Kconfig index c54c9d9d1ffb..466943551581 100644 --- a/net/sched/Kconfig +++ b/net/sched/Kconfig @@ -698,6 +698,18 @@ config NET_ACT_VLAN To compile this code as a module, choose M here: the module will be called act_vlan. +config NET_ACT_BPF + tristate "BPF based action" + depends on NET_CLS_ACT + ---help--- + Say Y here to execute BPF code on packets. The BPF code will decide + if the packet should be dropped or not. + + If unsure, say N. + + To compile this code as a module, choose M here: the + module will be called act_bpf. + config NET_CLS_IND bool "Incoming device classification" depends on NET_CLS_U32 || NET_CLS_FW |