FastClick

Elements / Timestamps

SetTimestamp

store the time in the packet's timestamp annotation

SYNOPSIS§

SetTimestamp([TIMESTAMP, keyword FIRST])

Batching: Batching natively supported
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 2026/11/02.