FastClick

Elements / Classification

StaticSwitch

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 2026/11/02.