Variables | |
| struct nl_object_ops | qdisc_obj_ops |
| void rtnl_qdisc_foreach_child | ( | struct rtnl_qdisc * | qdisc, | |
| struct nl_cache * | cache, | |||
| void(*)(struct nl_object *, void *) | cb, | |||
| void * | arg | |||
| ) |
| qdisc | the parent qdisc | |
| cache | a class cache including all classes of the interface the specified qdisc is attached to | |
| cb | callback function | |
| arg | argument to be passed to callback function |
Definition at line 139 of file qdisc_obj.c.
References nl_cache_foreach_filter().
| void rtnl_qdisc_foreach_cls | ( | struct rtnl_qdisc * | qdisc, | |
| struct nl_cache * | cache, | |||
| void(*)(struct nl_object *, void *) | cb, | |||
| void * | arg | |||
| ) |
| qdisc | the parent qdisc | |
| cache | a filter cache including at least all the filters attached to the specified qdisc | |
| cb | callback function | |
| arg | argument to be passed to callback function |
Definition at line 165 of file qdisc_obj.c.
References nl_cache_foreach_filter().
| struct nl_msg* rtnl_qdisc_get_opts | ( | struct rtnl_qdisc * | qdisc | ) | [read] |
| qdisc | qdisc carrying the optiosn |
Definition at line 248 of file qdisc_obj.c.
References rtnl_qdisc_ops::qo_get_opts.
| struct nl_object_ops qdisc_obj_ops |
Initial value:
{
.oo_name = "route/qdisc",
.oo_size = sizeof(struct rtnl_qdisc),
.oo_free_data = qdisc_free_data,
.oo_clone = qdisc_clone,
.oo_dump[NL_DUMP_BRIEF] = qdisc_dump_brief,
.oo_dump[NL_DUMP_FULL] = qdisc_dump_full,
.oo_dump[NL_DUMP_STATS] = qdisc_dump_stats,
.oo_compare = tca_compare,
.oo_id_attrs = (TCA_ATTR_IFINDEX | TCA_ATTR_HANDLE),
}
Definition at line 261 of file qdisc_obj.c.
1.5.7.1