rtnl_cls_ops Struct Reference
[Classifiers]

#include <classifier-modules.h>


Detailed Description

Classifier operations.

Definition at line 21 of file classifier-modules.h.

Data Fields

char co_kind [32]
 Kind/Name of classifier.
int(* co_dump [NL_DUMP_MAX+1])(struct rtnl_cls *, struct nl_dump_params *, int)
 Dump callbacks.
nl_msg *(* co_get_opts )(struct rtnl_cls *)
 Must return the contents supposed to be in TCA_OPTIONS.
int(* co_msg_parser )(struct rtnl_cls *)
 TCA_OPTIONS message parser.
void(* co_free_data )(struct rtnl_cls *)
 Called before a class object gets destroyed.
rtnl_cls_opsco_next
 INTERNAL (Do not use).


Field Documentation

char rtnl_cls_ops::co_kind[32]

Kind/Name of classifier.

Definition at line 26 of file classifier-modules.h.

Referenced by rtnl_cls_register(), and rtnl_cls_unregister().

int(* rtnl_cls_ops::co_dump[NL_DUMP_MAX+1])(struct rtnl_cls *, struct nl_dump_params *, int)

Dump callbacks.

struct nl_msg*(* rtnl_cls_ops::co_get_opts)(struct rtnl_cls *)

Must return the contents supposed to be in TCA_OPTIONS.

int(* rtnl_cls_ops::co_msg_parser)(struct rtnl_cls *)

TCA_OPTIONS message parser.

void(* rtnl_cls_ops::co_free_data)(struct rtnl_cls *)

Called before a class object gets destroyed.

struct rtnl_cls_ops* rtnl_cls_ops::co_next

INTERNAL (Do not use).

Definition at line 51 of file classifier-modules.h.

Referenced by rtnl_cls_register(), and rtnl_cls_unregister().


Generated on Fri Apr 27 14:14:08 2007 for libnl by  doxygen 1.5.1