FastClick

Elements / Paint

CheckPaint

checks packets' paint annotation

SYNOPSIS§

CheckPaint(COLOR [, ANNO])

Ports: 1 input, 1-2 outputs
Processing: agnostic, but output 1 is push

DESCRIPTION§

Checks that incoming packets have paint annotation equal to COLOR. If their paints are not equal to COLOR, then they are dropped or emitted on output 1, depending on how many outputs were used.

CheckPaint uses the packet's PAINT annotation by default, but the ANNO argument can specify any one-byte annotation.

SEE ALSO§

Paint, PaintTee

Generated by click-elem2man from ../elements/standard/checkpaint.hh:6 on 2026/11/02.