-
Notifications
You must be signed in to change notification settings - Fork 321
Switch
Eddie Kohler edited this page Oct 17, 2017
·
4 revisions
Switch — Click element; sends packet stream to settable output
Switch([OUTPUT])
Ports: 1 input, any number of outputs
Processing: push
Switch sends every incoming packet to one of its output ports -- specifically, OUTPUT. The default OUTPUT is zero; negative OUTPUT means to destroy input packets instead of forwarding them. You can change OUTPUT with a write handler. Switch has an unlimited number of outputs.
- switch (read/write) — Return or set the OUTPUT parameter.
- CLICK_LLRPC_GET_SWITCH (llrpc) — Argument is a pointer to an integer, in which the Switch's K parameter is stored.
- CLICK_LLRPC_SET_SWITCH (llrpc) — Argument is a pointer to an integer. Sets the K parameter to that integer.
StaticSwitch, PullSwitch, RoundRobinSwitch, StrideSwitch, HashSwitch, RandomSwitch
Generated by click-elem2man from ../elements/standard/switch.hh:6
on 2017/10/17.