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

Discard Element Documentation

NAME

Discard -- Click element; drops all packets

SYNOPSIS

Discard

Ports: 1 input, no outputs
Processing: agnostic
Package: standard (core)

DESCRIPTION

Discards all packets received on its single input. If used in a pull context, it initiates pulls whenever packets are available, and listens for activity notification, such as that available from Queue.

ELEMENT HANDLERS

count (read-only)
Returns the number of packets discarded.
reset_counts (write-only)
Resets "count" to 0.

SEE ALSO

Queue

Generated by 'click-elem2man' from '../elements/standard/discard.hh' on 24/May/2007.

COMMENTS

 
elements/discard.txt · Last modified: 2007/05/24 00:16 (external edit)
 
Recent changes RSS feed Driven by DokuWiki