-
Notifications
You must be signed in to change notification settings - Fork 81
RatedUnqueue
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
RatedUnqueue — Click element; pull-to-push converter
RatedUnqueue(RATE, I[])
Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: pull inputs, push outputs
Pulls packets at the given RATE in packets per second, and pushes them out its single output. It is implemented with a token bucket. The capacity of this token bucket defaults to 20 milliseconds worth of tokens, but can be customized by setting BURST_DURATION or BURST_SIZE.
Keyword arguments are:
- RATE — Integer. Token bucket fill rate in packets per second.
- BURST_DURATION — Time. If specified, the capacity of the token bucket is calculated as rate * burst_duration.
- BURST_SIZE — Integer. If specified, the capacity of the token bucket is set to this value.
- rate (read/write) —
BandwidthRatedUnqueue, Unqueue, Shaper, RatedSplitter
Generated by click-elem2man from ../elements/standard/ratedunqueue.hh:11
on 2018/10/03.