netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
rtnl_class_ops Struct Reference

Class operations. More...

#include <class-modules.h>

Collaboration diagram for rtnl_class_ops:

Data Fields

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

Detailed Description

Class operations.

Field Documentation

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

Called whenever a class object needs to be cloned.

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

Dump callbacks.

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

Called before a class object gets destroyed.

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

Must return the contents supposed to be in TCA_OPTIONS.

char rtnl_class_ops::co_kind[32]
int(* rtnl_class_ops::co_msg_parser)(struct rtnl_class *)

TCA_OPTIONS message parser.

struct rtnl_class_ops* rtnl_class_ops::co_next

INTERNAL (Do not use)

Referenced by __rtnl_class_lookup_ops(), rtnl_class_register(), and rtnl_class_unregister().


The documentation for this struct was generated from the following file: