LQLQDiscPFIFO

LQLQDiscPFIFO — LQLQDiscPFIFO models the PFIFO queueing discipline.

Synopsis




struct      LQLQDiscPFIFO;
LQLQDiscPFIFO* lql_qdisc_pfifo_new          (void);
unsigned int lql_qdisc_pfifo_get_queueLength
                                            (LQLQDiscPFIFO *self);
gboolean    lql_qdisc_pfifo_set_queueLength (LQLQDiscPFIFO *self,
                                             unsigned int queueLength);

Object Hierarchy


  GObject
   +----LQLElement
         +----LQLQDisc
               +----LQLQDiscPFIFO

Properties


  "queue-length"         guint                : Read / Write

Description

LQLQDiscPFIFO models the PFIFO queueing discipline.

Details

struct LQLQDiscPFIFO

struct LQLQDiscPFIFO;

This should not be accessed directly.


lql_qdisc_pfifo_new ()

LQLQDiscPFIFO* lql_qdisc_pfifo_new          (void);

Build a new instance of LQLQDiscPFIFO.

Returns : A new LQLQDiscPFIFO instance.

lql_qdisc_pfifo_get_queueLength ()

unsigned int lql_qdisc_pfifo_get_queueLength
                                            (LQLQDiscPFIFO *self);

Get the maximum length of the packet queue.

self : The LQLQDiscPFIFO object to work with.
Returns : The length of the packet queue.

lql_qdisc_pfifo_set_queueLength ()

gboolean    lql_qdisc_pfifo_set_queueLength (LQLQDiscPFIFO *self,
                                             unsigned int queueLength);

Set the maximum length of the packet queue on this LQLQDiscPFIFO.

self : The LQLQDisc object to work with.
queueLength : The length of the packet queue.
Returns : TRUE on success, FALSE on error.

Properties

"queue-length" (guint : Read / Write)

Set/Get the length of the queue.