This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

PaintTee Element Documentation

NAME

PaintTee -- Click element; duplicates packets with given paint annotation

SYNOPSIS

PaintTee(COLOR [, ANNO])

Ports: 1 input, 2 outputs
Processing: agnostic, but output 1 is push
Package: standard (core)

DESCRIPTION

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.

EXAMPLES

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;

SEE ALSO

Paint, ICMPError

Generated by 'click-elem2man' from '../elements/standard/painttee.hh:6' on 12/Jul/2011.

COMMENTS

 
elements/painttee.txt · Last modified: 2011/07/12 11:29 (external edit)
 
Recent changes RSS feed Driven by DokuWiki