-
Notifications
You must be signed in to change notification settings - Fork 321
MSQueue
Eddie Kohler edited this page Oct 18, 2017
·
1 revision
MSQueue — Click element; stores packets in a FIFO queue
MSQueue
MSQueue(CAPACITY)
Ports: 1 input, 1-2 outputs
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.
- 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.
Generated by click-elem2man from ../../elements/standard/msqueue.hh:6
on 2017/10/17.