This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

SimplePullSwitch Element Documentation

NAME

SimplePullSwitch -- Click element; forwards pull requests to settable input, without notification

SYNOPSIS

SimplePullSwitch([INPUT])

Ports: any number of inputs, 1 output
Processing: pull
Package: simple (core)

DESCRIPTION

On every pull, SimplePullSwitch 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.

ELEMENT HANDLERS

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.

SEE ALSO

PullSwitch, StaticPullSwitch, PrioSched, RoundRobinSched, StrideSched, Switch

Generated by 'click-elem2man' from '../elements/simple/simplepullswitch.hh' on 28/Feb/2010.

COMMENTS

 
elements/simplepullswitch.txt · Last modified: 2010/02/28 13:58 (external edit)
 
Recent changes RSS feed Driven by DokuWiki