libnl 1.1.4
Data Fields

Class operations. More...

#include <class-modules.h>

Data Fields

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

Detailed Description

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

Field Documentation

◆ co_kind

char rtnl_class_ops::co_kind[32]

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

Referenced by rtnl_class_register(), and rtnl_class_unregister().

◆ co_dump

int(* rtnl_class_ops::co_dump[NL_DUMP_MAX+1])(struct rtnl_class *, struct nl_dump_params *, int)

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

◆ co_get_opts

struct nl_msg *(* rtnl_class_ops::co_get_opts) (struct rtnl_class *)

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

◆ co_msg_parser

int(* rtnl_class_ops::co_msg_parser) (struct rtnl_class *)

Definition at line 46 of file class-modules.h.

◆ co_free_data

void(* rtnl_class_ops::co_free_data) (struct rtnl_class *)

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

◆ co_clone

int(* rtnl_class_ops::co_clone) (struct rtnl_class *, struct rtnl_class *)

Definition at line 56 of file class-modules.h.

◆ co_next

struct rtnl_class_ops* rtnl_class_ops::co_next

Definition at line 61 of file class-modules.h.

Referenced by rtnl_class_register(), and rtnl_class_unregister().