Lines Matching refs:qdisc
84 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) obj; in print_qdisc() local
86 uint32_t parent = rtnl_tc_get_handle((struct rtnl_tc *) qdisc); in print_qdisc()
91 print_tc_childs(TC_CAST(qdisc), (char *) arg + 2); in print_qdisc()
104 struct rtnl_qdisc *qdisc; in print_link() local
113 qdisc = rtnl_qdisc_get_by_parent(qdisc_cache, ifindex, TC_H_ROOT); in print_link()
114 if (qdisc) { in print_link()
115 print_qdisc((struct nl_object *) qdisc, (void *) 2); in print_link()
116 rtnl_qdisc_put(qdisc); in print_link()
119 qdisc = rtnl_qdisc_get_by_parent(qdisc_cache, ifindex, 0); in print_link()
120 if (qdisc) { in print_link()
121 print_qdisc((struct nl_object *) qdisc, (void *) 2); in print_link()
122 rtnl_qdisc_put(qdisc); in print_link()
125 qdisc = rtnl_qdisc_get_by_parent(qdisc_cache, ifindex, TC_H_INGRESS); in print_link()
126 if (qdisc) { in print_link()
127 print_qdisc((struct nl_object *) qdisc, (void *) 2); in print_link()
128 rtnl_qdisc_put(qdisc); in print_link()