LQLClassifierFwmark

LQLClassifierFwmark — LQLClassifierFwmark models the Fwmark packet classifier.

Synopsis




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);

Object Hierarchy


  GObject
   +----LQLClassifier
         +----LQLClassifierFwmark

Properties


  "mark"                 guint                : Read / Write

Description

Details

struct LQLClassifierFwmark

struct LQLClassifierFwmark;

This should not be accessed directly.


lql_classifier_fwmark_new ()

LQLClassifierFwmark* lql_classifier_fwmark_new
                                            (void);

Build a new instance of LQLClassifierFwmark.

Returns : A new LQLClassifierFwmark instance.

lql_classifier_fwmark_set_mark ()

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.

lql_classifier_fwmark_get_mark ()

guint32     lql_classifier_fwmark_get_mark  (LQLClassifierFwmark *self);

Get the mark.

self : The LQLClassifierFwmark object to work with.
Returns : The mark for this filter.

Properties

"mark" (guint : Read / Write)

Set/Get the FW mark this classifier is looking for.