Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 1 revision

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 2017/10/17.

Clone this wiki locally