libnl  3.2.3
rtnl_tc_ops Struct Reference

Traffic control object operationsThis structure holds function pointers and settings implementing the features of each traffic control object implementation. More...

#include <tc-api.h>

Data Fields

char * to_kind
 Name of traffic control module.
enum rtnl_tc_type to_type
 Type of traffic control object.
size_t to_size
 Size of private data.
void(* to_dump [NL_DUMP_MAX+1])(struct rtnl_tc *, void *, struct nl_dump_params *)
 Dump callbacks.
int(* to_msg_fill )(struct rtnl_tc *, void *, struct nl_msg *)
 Used to fill the contents of TCA_OPTIONS.
int(* to_msg_fill_raw )(struct rtnl_tc *, void *, struct nl_msg *)
 Uesd to to fill tc related messages, unlike with to_msg_fill, the contents is not encapsulated with a TCA_OPTIONS nested attribute.
int(* to_msg_parser )(struct rtnl_tc *, void *)
 TCA_OPTIONS message parser.
void(* to_free_data )(struct rtnl_tc *, void *)
 Called before a tc object is destroyed.
int(* to_clone )(void *, void *)
 Called whenever a classifier object needs to be cloned.
struct nl_list_head to_list
 Internal, don't touch.

Detailed Description

Traffic control object operations

This structure holds function pointers and settings implementing the features of each traffic control object implementation.

Definition at line 39 of file tc-api.h.