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

SetTimestamp Element Documentation

NAME

SetTimestamp — Click element; store the time in the packet's timestamp annotation

SYNOPSIS

SetTimestamp([TIMESTAMP, keyword FIRST])

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Store the specified TIMESTAMP in the packet's timestamp annotation. If TIMESTAMP is not specified, then sets the annotation to the system time when the packet arrived at the SetTimestamp element.

Keyword arguments are:

  • FIRST — Boolean. If true, then set the packet's "first timestamp" annotation, not its timestamp annotation. Default is false.

SEE ALSO

StoreTimestamp, AdjustTimestamp, SetTimestampDelta, PrintOld

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

Clone this wiki locally