netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
qdisc_obj.c File Reference
Include dependency graph for qdisc_obj.c:

Functions

Allocation/Freeing
struct rtnl_qdiscrtnl_qdisc_alloc (void)
 
void rtnl_qdisc_put (struct rtnl_qdisc *qdisc)
 
Iterators
void rtnl_qdisc_foreach_child (struct rtnl_qdisc *qdisc, struct nl_cache *cache, void(*cb)(struct nl_object *, void *), void *arg)
 Call a callback for each child class of a qdisc. More...
 
void rtnl_qdisc_foreach_cls (struct rtnl_qdisc *qdisc, struct nl_cache *cache, void(*cb)(struct nl_object *, void *), void *arg)
 Call a callback for each filter attached to the qdisc. More...
 
Attributes
void rtnl_qdisc_set_ifindex (struct rtnl_qdisc *qdisc, int ifindex)
 
int rtnl_qdisc_get_ifindex (struct rtnl_qdisc *qdisc)
 
void rtnl_qdisc_set_handle (struct rtnl_qdisc *qdisc, uint32_t handle)
 
uint32_t rtnl_qdisc_get_handle (struct rtnl_qdisc *qdisc)
 
void rtnl_qdisc_set_parent (struct rtnl_qdisc *qdisc, uint32_t parent)
 
uint32_t rtnl_qdisc_get_parent (struct rtnl_qdisc *qdisc)
 
void rtnl_qdisc_set_kind (struct rtnl_qdisc *qdisc, const char *name)
 
char * rtnl_qdisc_get_kind (struct rtnl_qdisc *qdisc)
 
uint64_t rtnl_qdisc_get_stat (struct rtnl_qdisc *qdisc, enum rtnl_tc_stats_id id)
 
Qdisc Specific Options
struct nl_msgrtnl_qdisc_get_opts (struct rtnl_qdisc *qdisc)
 Return qdisc specific options for use in TCA_OPTIONS. More...
 

Variables

struct nl_object_ops qdisc_obj_ops