-
Notifications
You must be signed in to change notification settings - Fork 81
PaintTee
Tom Barbette edited this page May 7, 2020
·
3 revisions
PaintTee — Click element; duplicates packets with given paint annotation
PaintTee(COLOR [, ANNO])
Batching: Batching natively supported
Ports: 1 input, 2 outputs
Processing: agnostic, but output 1 is push
PaintTee sends every packet through output 0. If the packet's paint annotation is equal to COLOR (an integer), it also sends a copy through output 1.
PaintTee uses the PAINT annotation by default, but the ANNO argument can specify any one-byte annotation.
Intended to produce redirects in conjunction with Paint and ICMPError as follows:
FromDevice(eth7) -> Paint(7) -> ...
routingtable[7] -> pt :: PaintTee(7) -> ... -> ToDevice(eth7)
pt[1] -> ICMPError(18.26.4.24, 5, 1) -> [0]routingtable;
Generated by click-elem2man from ../elements/standard/painttee.hh:6
on 2020/05/07.