LQL Reference Manual |
---|
LQLQDiscSFQ — LQLQDiscSFQ models a SFQ queueing discipline.
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);
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.
LQLQDiscSFQ* lql_qdisc_sfq_new (void);
Build a new instance of LQLQDiscSFQ.
Returns : | A new LQLQDiscSFQ instance. |
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. |
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. |
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. |
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. |
<< LQLQDiscPriomap | LQLQDiscDSMark >> |