Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 2 revisions

InputSwitch Element Documentation

NAME

InputSwitch — Click element; 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 2017/10/17.

Clone this wiki locally