libnl 1.1.4
Data Fields

Classifier operations. More...

#include <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.
 
struct 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.
 
int(* co_clone )(struct rtnl_cls *, struct rtnl_cls *)
 Called whenever a classifier object needs to be cloned.
 
struct rtnl_cls_opsco_next
 INTERNAL (Do not use)
 

Detailed Description

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

Field Documentation

◆ co_kind

char rtnl_cls_ops::co_kind[32]

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

Referenced by rtnl_cls_register(), and rtnl_cls_unregister().

◆ co_dump

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

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

◆ co_get_opts

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

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

◆ co_msg_parser

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

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

◆ co_free_data

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

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

◆ co_clone

int(* rtnl_cls_ops::co_clone) (struct rtnl_cls *, struct rtnl_cls *)

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

◆ co_next

struct rtnl_cls_ops* rtnl_cls_ops::co_next

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

Referenced by rtnl_cls_register(), and rtnl_cls_unregister().