Commit 1b973b54 authored by Kevin Darbyshire-Bryant's avatar Kevin Darbyshire-Bryant
Browse files

kmod-sched: add act_police

"Whoop whoop, sound of da police"

Add an ingress capable traffic policer module configurable with tc.

From the man page:

The police action allows to limit bandwidth of traffic matched by the
filter it is attached to. Basically there are two different algorithms
available to measure the packet rate: The first one uses an internal
dual token bucket and is configured using the rate, burst, mtu,
peakrate, overhead and linklayer parameters. The second one uses an
in-kernel sampling mechanism. It can be fine-tuned using the estimator
filter parameter.
Signed-off-by: default avatarKevin Darbyshire-Bryant <>
parent c39d0159
......@@ -867,6 +867,16 @@ define KernelPackage/sched-ctinfo
$(eval $(call KernelPackage,sched-ctinfo))
define KernelPackage/sched-police
TITLE:=Traffic shaper police support
AUTOLOAD:=$(call AutoLoad,71, act_police)
$(eval $(call KernelPackage,sched-police))
define KernelPackage/sched-ipset
TITLE:=Traffic shaper ipset support
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment