FastClick

Elements / Classification

InputSwitch

accepts packet stream from settable input

SYNOPSIS§

InputSwitch([INPUT])

Ports: any number of inputs, 1 output
Processing: push

DESCRIPTION§

InputSwitch only accepts incoming packet on one of its input ports -- specifically, INPUT. The default INPUT is zero; negative INPUT means to destroy input packets instead of forwarding them. You can change INPUT with a write handler. InputSwitch has an unlimited number of inputs.

ELEMENT HANDLERS§

  • switch (read/write) — Return or set the INPUT parameter.

SEE ALSO§

Switch, PullSwitch

Generated by click-elem2man from ../elements/standard/inputswitch.hh:6 on 2026/11/02.