/* Look up qdisc by its handle in the provided cache  */
struct rtnl_qdisc* rtnl_qdisc_get(struct nl_cache *cache, int ifindex, uint32_t handle)
/* Look up qdisc by its handle in the provided cache  */
struct rtnl_qdisc* rtnl_qdisc_get(struct nl_cache *cache, int ifindex, uint32_t handle)
{
	struct rtnl_qdisc *q;
	if (cache->c_ops != &rtnl_qdisc_ops)
		return NULL;
	nl_list_for_each_entry(q, &cache->c_items, ce_list) {
		if (q->q_handle == handle && q->q_ifindex == ifindex) {
			nl_object_get((struct nl_object *) q);
			return q;
		}
	}
	return NULL;
}