-
Notifications
You must be signed in to change notification settings - Fork 82
PullSwitch
PullSwitch — Click element; forwards pull requests to settable input
PullSwitch([INPUT])
Ports: any number of inputs, 1 output
Processing: pull
On every pull, PullSwitch returns the packet pulled from one of its input ports -- specifically, INPUT. The default INPUT is zero; negative INPUTs mean always return a null packet. You can change INPUT with a write handler. PullSwitch has an unlimited number of inputs.
PullSwitch supports notification, unlike SimplePullSwitch. An element downstream of PullSwitch will sleep when PullSwitch's active input is dormant. (In contrast, with SimplePullSwitch, a downstream element will sleep only when all inputs are dormant.)
- switch (read/write) — Return or set the K 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.
SimplePullSwitch, StaticPullSwitch, PrioSched, RoundRobinSched, StrideSched, Switch
Generated by click-elem2man from ../elements/standard/pullswitch.hh:7
on 2018/10/03.