LQL Reference Manual |
---|
LQLClassifierFwmark — LQLClassifierFwmark models the Fwmark packet classifier.
struct LQLClassifierFwmark; LQLClassifierFwmark* lql_classifier_fwmark_new (void); gboolean lql_classifier_fwmark_set_mark (LQLClassifierFwmark *self, guint32 mark); guint32 lql_classifier_fwmark_get_mark (LQLClassifierFwmark *self);
LQLClassifierFwmark* lql_classifier_fwmark_new (void);
Build a new instance of LQLClassifierFwmark.
Returns : | A new LQLClassifierFwmark instance. |
gboolean lql_classifier_fwmark_set_mark (LQLClassifierFwmark *self, guint32 mark);
Set the mark value for this classifier.
self : | The LQLClassifier object to work with. |
mark : | The mark value. |
Returns : | TRUE on success, FALSE on error. |
guint32 lql_classifier_fwmark_get_mark (LQLClassifierFwmark *self);
Get the mark.
self : | The LQLClassifierFwmark object to work with. |
Returns : | The mark for this filter. |
<< LQLClassifierU32 | LQLClassifierTCIndex >> |