LQLQDiscSFQ

LQLQDiscSFQ — LQLQDiscSFQ models a SFQ queueing discipline.

Synopsis




struct      LQLQDiscSFQ;
LQLQDiscSFQ* lql_qdisc_sfq_new              (void);
int         lql_qdisc_sfq_get_perturb       (LQLQDiscSFQ *self);
gboolean    lql_qdisc_sfq_set_perturb       (LQLQDiscSFQ *self,
                                             int perturb);
unsigned    lql_qdisc_sfq_get_quantum       (LQLQDiscSFQ *self);
gboolean    lql_qdisc_sfq_set_quantum       (LQLQDiscSFQ *self,
                                             unsigned int quantum);

Object Hierarchy


  GObject
   +----LQLElement
         +----LQLQDisc
               +----LQLQDiscSFQ

Properties


  "perturb"              gint                 : Read / Write
  "quantum"              guint                : Read / Write

Description

LQLQDiscSFQ models a SFQ queueing discipline.

Note: The SFQ queueing discipline does not support modification of parameters after the discipline has been added. A call to lql_qdisc_modify() on a SFQ qdisc will simply return FALSE.

Details

struct LQLQDiscSFQ

struct LQLQDiscSFQ;

This should not be accessed directly


lql_qdisc_sfq_new ()

LQLQDiscSFQ* lql_qdisc_sfq_new              (void);

Build a new instance of LQLQDiscSFQ.

Returns : A new LQLQDiscSFQ instance.

lql_qdisc_sfq_get_perturb ()

int         lql_qdisc_sfq_get_perturb       (LQLQDiscSFQ *self);

Get the perturb value for this LQLQDiscSFQ. The perturb value specifies how often the SFQ QDisc will change it's hashing algorithm.

self : The LQLQDiscSFQ object to work with.
Returns : The perturb value.

lql_qdisc_sfq_set_perturb ()

gboolean    lql_qdisc_sfq_set_perturb       (LQLQDiscSFQ *self,
                                             int perturb);

Set the perturb value for this LQLQDiscSFQ. The perturb value specifies how often the SFQ QDisc will change it's hashing algorithm.

self : The LQLQDisc object to work with.
perturb : The value to set perturb to.
Returns : TRUE on success, FALSE on error.

lql_qdisc_sfq_get_quantum ()

unsigned    lql_qdisc_sfq_get_quantum       (LQLQDiscSFQ *self);

Get the value of the quantum field.

self : The LQLQDiscSFQ object to work with.
Returns : The quantum.

lql_qdisc_sfq_set_quantum ()

gboolean    lql_qdisc_sfq_set_quantum       (LQLQDiscSFQ *self,
                                             unsigned int quantum);

Set the quantum for this LQLQDiscSFQ.

self : The LQLQDisc object to work with.
quantum : The quantum value.
Returns : TRUE on success, FALSE on error.

Properties

"perturb" (gint : Read / Write)

Set/Get how often to this QDisc will change it's hashing algorithm.

"quantum" (guint : Read / Write)

Set/Get the quantum.