LQLClassifierTCIndex

LQLClassifierTCIndex — LQLClassifierTCIndex models the TCIndex packet classifier.

Synopsis




struct      LQLClassifierTCIndex;
LQLClassifierTCIndex* lql_classifier_tcindex_new
                                            (void);
guint32     lql_classifier_tcindex_get_hash (LQLClassifierTCIndex *self);
gboolean    lql_classifier_tcindex_set_hash (LQLClassifierTCIndex *self,
                                             guint32 hash);
guint32     lql_classifier_tcindex_get_mask (LQLClassifierTCIndex *self);
gboolean    lql_classifier_tcindex_set_mask (LQLClassifierTCIndex *self,
                                             guint32 mask);
guint32     lql_classifier_tcindex_get_shift
                                            (LQLClassifierTCIndex *self);
gboolean    lql_classifier_tcindex_set_shift
                                            (LQLClassifierTCIndex *self,
                                             guint32 shift);
gboolean    lql_classifier_tcindex_get_fallThrough
                                            (LQLClassifierTCIndex *self);
gboolean    lql_classifier_tcindex_set_fallThrough
                                            (LQLClassifierTCIndex *self,
                                             gboolean fallThrough);
guint32     lql_classifier_tcindex_get_classHandle
                                            (LQLClassifierTCIndex *self);
gboolean    lql_classifier_tcindex_set_class
                                            (LQLClassifierTCIndex *self,
                                             LQLClass *klass);

Object Hierarchy


  GObject
   +----LQLClassifier
         +----LQLClassifierTCIndex

Properties


  "class"                guint                : Read / Write
  "fall-through"         gboolean             : Read / Write
  "hash"                 guint                : Read / Write
  "mask"                 guint                : Read / Write
  "shift"                guint                : Read / Write

Description

LQLClassifierTCIndex models the TCIndex packet classifier.

Details

struct LQLClassifierTCIndex

struct LQLClassifierTCIndex;


lql_classifier_tcindex_new ()

LQLClassifierTCIndex* lql_classifier_tcindex_new
                                            (void);

Build a new instance of LQLClassifierTCIndex.

Returns : A new LQLClassifierTCIndex instance.

lql_classifier_tcindex_get_hash ()

guint32     lql_classifier_tcindex_get_hash (LQLClassifierTCIndex *self);

Get the hash value for this classifier.

self : The LQLClassifierTCIndex instance.
Returns : The hash value.

lql_classifier_tcindex_set_hash ()

gboolean    lql_classifier_tcindex_set_hash (LQLClassifierTCIndex *self,
                                             guint32 hash);

Get the hash value for this classifier.

self : The LQLClassifierTCIndex instance.
hash : The new hash value.
Returns : TRUE on success, FALSE on failure.

lql_classifier_tcindex_get_mask ()

guint32     lql_classifier_tcindex_get_mask (LQLClassifierTCIndex *self);

Get the mask value for this classifier.

self : The LQLClassifierTCIndex instance.
Returns : TRUE on success, FALSE on failure.

lql_classifier_tcindex_set_mask ()

gboolean    lql_classifier_tcindex_set_mask (LQLClassifierTCIndex *self,
                                             guint32 mask);

Set the mask value for this classifier.

self : The LQLClassifierTCIndex instance.
mask : The new mask value.
Returns : TRUE on success, FALSE on failure.

lql_classifier_tcindex_get_shift ()

guint32     lql_classifier_tcindex_get_shift
                                            (LQLClassifierTCIndex *self);

Get the shift value for this classifier.

self : The LQLClassifierTCIndex instance.
Returns : The shift value.

lql_classifier_tcindex_set_shift ()

gboolean    lql_classifier_tcindex_set_shift
                                            (LQLClassifierTCIndex *self,
                                             guint32 shift);

Set the shift value for this classifier.

self : The LQLClassifierTCIndex instance.
shift : The new shift value.
Returns : TRUE on success, FALSE on failure.

lql_classifier_tcindex_get_fallThrough ()

gboolean    lql_classifier_tcindex_get_fallThrough
                                            (LQLClassifierTCIndex *self);

Get the current state of the TCIndex fall-through flag.

self : The LQLClassifierTCIndex instance.
Returns : The state of the fall-through flag.

lql_classifier_tcindex_set_fallThrough ()

gboolean    lql_classifier_tcindex_set_fallThrough
                                            (LQLClassifierTCIndex *self,
                                             gboolean fallThrough);

Set the current state of the TCIndex fall-through flag.

self : The LQLClassifierTCIndex instance.
fallThrough : The new state of the fall-through flag.
Returns : TRUE on success, FALSE on failure.

lql_classifier_tcindex_get_classHandle ()

guint32     lql_classifier_tcindex_get_classHandle
                                            (LQLClassifierTCIndex *self);

Get the handle of the class this classifier is directing packets to.

self : The LQLClassifierTCIndex instance.
Returns : The class handle.

lql_classifier_tcindex_set_class ()

gboolean    lql_classifier_tcindex_set_class
                                            (LQLClassifierTCIndex *self,
                                             LQLClass *klass);

Set the handle of the class this classifier is directing packets to.

self : The LQLClassifierTCIndex instance.
klass : The class handle.
Returns : TRUE on success, FALSE on failure.

Properties

"class" (guint : Read / Write)

Set/Get.

"fall-through" (gboolean : Read / Write)

Set/Get.

"hash" (guint : Read / Write)

Set/Get.

"mask" (guint : Read / Write)

Set/Get.

"shift" (guint : Read / Write)

Set/Get.