Skip to content
Tom Barbette edited this page Nov 25, 2022 · 1 revision

ExactPaintSwitch Element Documentation

NAME

ExactPaintSwitch — Click element; classifies packets by paint annotation

SYNOPSIS

ExactPaintSwitch()

Batching: Batching natively supported
Ports: 1 input, 1 or more outputs
Processing: push

DESCRIPTION

Can have any number of outputs. Chooses the output on which to emit each packet based on packet's paint annotation. Contrary to PaintSwitch, the output is choosed using a vector mapping.

For instance, ExactPaintSwitch(IP6_NXT, MAP 6, MAP 17) will push IPv6 TCP packets on port 0, and UDP on port 1.

SEE ALSO

PaintSwitch

Generated by click-elem2man from ../elements/standard/exactpaintswitch.hh:7 on 2022/11/25.

Clone this wiki locally