Class operations. More...
#include <class-modules.h>

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_ops * | co_next |
| INTERNAL (Do not use) More... | |
Class operations.
| 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] |
Kind/Name of class.
Referenced by __rtnl_class_lookup_ops(), rtnl_class_register(), and rtnl_class_unregister().
| 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().