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

DelayShaper Element Documentation

NAME

DelayShaper — Click element; shapes traffic to meet delay requirements

SYNOPSIS

DelayShaper(DELAY)

Ports: 1 input, 1 output
Processing: pull

DESCRIPTION

Pulls packets from the single input port. Delays them for at least DELAY seconds, with microsecond precision. A packet with timestamp T will be emitted no earlier than time (T + DELAY). On output, the packet's timestamp is set to the current time.

Differs from DelayUnqueue in that both its input and output are pull. Packets being delayed are enqueued until the necessary time has passed. At most one packet is enqueued at a time. DelayUnqueue returns null for every pull request until the enqueued packet is ready.

SetTimestamp element can be used to stamp the packet.

ELEMENT HANDLERS

  • delay (read/write) — Returns or sets the DELAY parameter.

SEE ALSO

BandwidthShaper, DelayUnqueue, SetTimestamp

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

Clone this wiki locally