Skip to content

BandwidthRatedUnqueue

Eddie Kohler edited this page Oct 17, 2017 · 2 revisions

BandwidthRatedUnqueue Element Documentation

NAME

BandwidthRatedUnqueue — Click element; pull-to-push converter

SYNOPSIS

BandwidthRatedUnqueue(RATE, I[])

Ports: 1 input, 1 output
Processing: pull inputs, push outputs

DESCRIPTION

Pulls packets at the given RATE, and pushes them out its single output. This rate is implemented using a token bucket. The capacity of this token bucket defaults to 20 milliseconds worth of tokens, but can be customized by setting one of BURST_DURATION or BURST_SIZE.

Keyword arguments are:

  • RATE — Bandwidth. Token bucket fill rate.
  • BURST_DURATION — Time. If specified, the capacity of the token bucket is calculated as rate * burst_duration.
  • BURST_BYTES — Integer. If specified, the capacity of the token bucket is set to this value in bytes.

ELEMENT HANDLERS

  • rate (read/write) —

SEE ALSO

RatedUnqueue, Unqueue, BandwidthShaper, BandwidthRatedSplitter

Generated by click-elem2man from ../elements/standard/bwratedunqueue.hh:7 on 2017/10/17.

Clone this wiki locally