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

MSQueue Element Documentation

NAME

MSQueue -- Click element; stores packets in a FIFO queue

SYNOPSIS

MSQueue
MSQueue(CAPACITY)

Ports: 1 input, 1-2 outputs
Package: standard (core)

DESCRIPTION

Stores incoming packets in a multiple producer single consumer first-in-first-out queue. Enqueue operations are synchronized, dequeue operations are not. Drops incoming packets if the queue already holds CAPACITY packets. The default for CAPACITY is 1000.

ELEMENT HANDLERS

length (read-only)
Returns the current number of packets in the queue.
dropd (read-only)
Returns the number of packets dropped by the queue so far.
capacity (read/write)
Returns or sets the queue's capacity.

SEE ALSO

Queue

Generated by 'click-elem2man' from '../elements/standard/msqueue.hh' on 7/Mar/2009.

COMMENTS

 
elements/msqueue.txt · Last modified: 2009/03/07 17:24 (external edit)
 
Recent changes RSS feed Driven by DokuWiki