-
Notifications
You must be signed in to change notification settings - Fork 82
Block
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
Block — Click element; drops packets with high rate
Block(THRESH)
Ports: 1 input, 2 outputs
Processing: agnostic
THRESH is an integer.
Splits packets based on the dst rate annotation set by Monitor. If the annotation is less or equal to THRESH, the packet is pushed on output 0, otherwise on 1.
Is THRESH is 0 then all packets are pushed on output 0.
b :: Block(500);
... -> Monitor(...) ->
... -> b[0] -> ...
... -> b[1] -> Discard;
Discards all packets that are preceded by more than 500 siblings.
- thresh (read/write) — value of THRESH
Generated by click-elem2man from ../elements/standard/block.hh:6
on 2018/10/03.