LQL Reference Manual |
---|
LQLClassDSMark — LQLClassDSMark models a DSMark class.
struct LQLClassDSMark; LQLClassDSMark* lql_class_dsmark_new (void); guint8 lql_class_dsmark_get_mask (LQLClassDSMark *self); gboolean lql_class_dsmark_set_mask (LQLClassDSMark *self, guint8 mask); guint8 lql_class_dsmark_get_value (LQLClassDSMark *self); gboolean lql_class_dsmark_set_value (LQLClassDSMark *self, guint8 value);
LQLClassDSMark models a DSMark class.
For more information on the DSMark QDisc see the LARTC DSMark documentation.
LQLClassDSMark* lql_class_dsmark_new (void);
Build a new instance of LQLClassDSMark.
Returns : | A new LQLClassDSMark instance. |
guint8 lql_class_dsmark_get_mask (LQLClassDSMark *self);
Get the mask value for this class.
self : | The LQLClassDSMark instance. |
Returns : | The mask value. |
gboolean lql_class_dsmark_set_mask (LQLClassDSMark *self, guint8 mask);
Set the mask value for this class.
self : | The LQLClassDSMark instance. |
mask : | The new mask value. |
Returns : | TRUE on success, FALSE on error. |
guint8 lql_class_dsmark_get_value (LQLClassDSMark *self);
Get the value parameter for this class.
self : | The LQLClassDSMark instance. |
Returns : | The value parameter. |
gboolean lql_class_dsmark_set_value (LQLClassDSMark *self, guint8 value);
Set the value parameter for this class.
self : | The LQLClassDSMark instance. |
value : | The new value. |
Returns : | TRUE on success, FALSE on failure. |
<< LQLClassPriomap | LQLClassNetem >> |