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

Qdisc Operations. More...

#include <qdisc-modules.h>

Collaboration diagram for rtnl_qdisc_ops:

Data Fields

char qo_kind [32]
 Kind/Name of Qdisc. More...
 
void(* qo_dump [NL_DUMP_MAX+1])(struct rtnl_qdisc *, struct nl_dump_params *)
 Dump callbacks. More...
 
struct nl_msg *(* qo_get_opts )(struct rtnl_qdisc *)
 Must return the contents supposed to be in TCA_OPTIONS. More...
 
int(* qo_build_msg )(struct rtnl_qdisc *, struct nl_msg *)
 
int(* qo_msg_parser )(struct rtnl_qdisc *)
 TCA_OPTIONS message parser. More...
 
void(* qo_free_data )(struct rtnl_qdisc *)
 Called before a Qdisc object gets destroyed. More...
 
int(* qo_clone )(struct rtnl_qdisc *, struct rtnl_qdisc *)
 Called whenever a qdisc object needs to be cloned. More...
 
struct rtnl_qdisc_opsqo_next
 INTERNAL (Do not use) More...
 

Detailed Description

Qdisc Operations.

Field Documentation

int(* rtnl_qdisc_ops::qo_build_msg)(struct rtnl_qdisc *, struct nl_msg *)
int(* rtnl_qdisc_ops::qo_clone)(struct rtnl_qdisc *, struct rtnl_qdisc *)

Called whenever a qdisc object needs to be cloned.

void(* rtnl_qdisc_ops::qo_dump[NL_DUMP_MAX+1])(struct rtnl_qdisc *, struct nl_dump_params *)

Dump callbacks.

void(* rtnl_qdisc_ops::qo_free_data)(struct rtnl_qdisc *)

Called before a Qdisc object gets destroyed.

struct nl_msg*(* rtnl_qdisc_ops::qo_get_opts)(struct rtnl_qdisc *)

Must return the contents supposed to be in TCA_OPTIONS.

Referenced by rtnl_qdisc_get_opts().

char rtnl_qdisc_ops::qo_kind[32]
int(* rtnl_qdisc_ops::qo_msg_parser)(struct rtnl_qdisc *)

TCA_OPTIONS message parser.

struct rtnl_qdisc_ops* rtnl_qdisc_ops::qo_next

INTERNAL (Do not use)

Referenced by __rtnl_qdisc_lookup_ops(), rtnl_qdisc_register(), and rtnl_qdisc_unregister().


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