You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.