diff options
author | Jiri Pirko <jiri@resnulli.us> | 2015-01-15 03:52:39 -0500 |
---|---|---|
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) |
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 | |||
698 | To compile this code as a module, choose M here: the | 698 | To compile this code as a module, choose M here: the |
699 | module will be called act_vlan. | 699 | module will be called act_vlan. |
700 | 700 | ||
701 | config NET_ACT_BPF | ||
702 | tristate "BPF based action" | ||
703 | depends on NET_CLS_ACT | ||
704 | ---help--- | ||
705 | Say Y here to execute BPF code on packets. The BPF code will decide | ||
706 | if the packet should be dropped or not. | ||
707 | |||
708 | If unsure, say N. | ||
709 | |||
710 | To compile this code as a module, choose M here: the | ||
711 | module will be called act_bpf. | ||
712 | |||
701 | config NET_CLS_IND | 713 | config NET_CLS_IND |
702 | bool "Incoming device classification" | 714 | bool "Incoming device classification" |
703 | depends on NET_CLS_U32 || NET_CLS_FW | 715 | depends on NET_CLS_U32 || NET_CLS_FW |