libnl 2.0
Data Fields

rtnl_cls_ops Struct Reference

Classifier operations.

#include <classifier-modules.h>

Data Fields

char co_kind [32]
 Name of classifier module.
size_t co_size
 Size of private classifier data.
void(* co_dump [NL_DUMP_MAX+1])(struct rtnl_cls *, struct nl_dump_params *)
 Dump callbacks.
int(* co_get_opts )(struct rtnl_cls *, struct nl_msg *)
 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.