Skip to content
Tom Barbette edited this page Oct 3, 2018 · 2 revisions

StaticSwitch Element Documentation

NAME

StaticSwitch — Click element; sends packet stream to fixed output

SYNOPSIS

StaticSwitch(OUTPUT)

Ports: 1 input, any number of outputs
Processing: push

DESCRIPTION

StaticSwitch sends every incoming packet to one of its output ports -- specifically, OUTPUT. Negative OUTPUT means to destroy input packets instead of forwarding them. StaticSwitch has an unlimited number of outputs.

NOTES

StaticSwitch differs from Switch in that it has no switch write handler, and thus does not allow OUTPUT to be changed at run time.

SEE ALSO

Switch, StrideSwitch, PullSwitch

Generated by click-elem2man from ../elements/standard/staticswitch.hh:6 on 2018/10/03.

Clone this wiki locally