FastClick

Elements / Grid

IncrementSeqNo

SYNOPSIS --------

SYNOPSIS§

IncrementSeqNo([KEYWORDS])

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION§

Store a 32-bit unsigned integer sequence number in packets, at a specified offset. The number is incremented with each packet that passes through the element.

Keywords are:

  • OFFSET — Unsigned integer. Byte offset at which to store sequence number. Defaults to 0.
  • FIRST — Unsigned integer. First sequence number to use. Defaults to 0.
  • NET_BYTE_ORDER — Boolean. Should the sequence number be stored in network byte order? If not, host byte order is used. Defaults to false.

ELEMENT HANDLERS§

  • seq (read-only) — The next sequence number that will be written into a packet.

SEE ALSO§

InfiniteSource

Generated by click-elem2man from ../elements/grid/incseqno.hh:4 on 2026/11/02.