Home
last modified time | relevance | path

Searched refs:tcm_handle (Results 1 – 25 of 36) sorted by relevance

12

/Linux-v5.10/net/sched/
Dcls_tcindex.c646 t->tcm_handle = ~0; /* whatever ... */ in tcindex_dump()
655 t->tcm_handle = r - p->perfect; in tcindex_dump()
661 t->tcm_handle = 0; in tcindex_dump()
662 for (i = 0; !t->tcm_handle && i < p->hash; i++) { in tcindex_dump()
665 !t->tcm_handle && f; in tcindex_dump()
668 t->tcm_handle = f->key; in tcindex_dump()
672 pr_debug("handle = %d\n", t->tcm_handle); in tcindex_dump()
Dsch_api.c900 tcm->tcm_handle = q->handle; in tc_fill_qdisc()
1463 if (tcm->tcm_handle && q->handle != tcm->tcm_handle) { in tc_get_qdisc()
1468 q = qdisc_lookup(dev, tcm->tcm_handle); in tc_get_qdisc()
1552 if (!q || !tcm->tcm_handle || q->handle != tcm->tcm_handle) { in tc_modify_qdisc()
1553 if (tcm->tcm_handle) { in tc_modify_qdisc()
1558 if (TC_H_MIN(tcm->tcm_handle)) { in tc_modify_qdisc()
1562 q = qdisc_lookup(dev, tcm->tcm_handle); in tc_modify_qdisc()
1613 if (!tcm->tcm_handle) { in tc_modify_qdisc()
1617 q = qdisc_lookup(dev, tcm->tcm_handle); in tc_modify_qdisc()
1663 tcm->tcm_parent, tcm->tcm_handle, in tc_modify_qdisc()
[all …]
Dcls_cgroup.c176 t->tcm_handle = head->handle; in cls_cgroup_dump()
Dsch_skbprio.c249 tcm->tcm_handle |= TC_H_MIN(cl); in skbprio_dump_class()
Dsch_mq.c238 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class()
Dcls_basic.c290 t->tcm_handle = f->handle; in basic_dump()
Dcls_api.c1827 tcm->tcm_handle = 0; in tcf_fill_node()
2108 fh = tp->ops->get(tp, t->tcm_handle); in tc_new_tfilter()
2129 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_new_tfilter()
2205 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) { in tc_del_tfilter()
2282 } else if (t->tcm_handle == 0) { in tc_del_tfilter()
2295 fh = tp->ops->get(tp, t->tcm_handle); in tc_del_tfilter()
2426 fh = tp->ops->get(tp, t->tcm_handle); in tc_get_tfilter()
2666 tcm->tcm_handle = 0; in tc_chain_fill_node()
Dsch_multiq.c329 tcm->tcm_handle |= TC_H_MIN(cl); in multiq_dump_class()
Dsch_prio.c352 tcm->tcm_handle |= TC_H_MIN(cl); in prio_dump_class()
Dcls_matchall.c361 t->tcm_handle = head->handle; in mall_dump()
Dcls_fw.c385 t->tcm_handle = f->id; in fw_dump()
Dsch_cbs.c485 tcm->tcm_handle |= TC_H_MIN(1); in cbs_dump_class()
Dsch_drr.c242 tcm->tcm_handle = cl->common.classid; in drr_dump_class()
Dsch_dsmark.c437 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl - 1); in dsmark_dump_class()
Dsch_tbf.c535 tcm->tcm_handle |= TC_H_MIN(1); in tbf_dump_class()
Dsch_red.c474 tcm->tcm_handle |= TC_H_MIN(1); in red_dump_class()
Dcls_route.c605 t->tcm_handle = f->handle; in route4_dump()
Dsch_atm.c611 tcm->tcm_handle = flow->common.classid; in atm_tc_dump_class()
Dsch_mqprio.c504 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class()
Dcls_flow.c627 t->tcm_handle = f->handle; in flow_dump()
Dsch_fq_codel.c610 tcm->tcm_handle |= TC_H_MIN(cl); in fq_codel_dump_class()
Dcls_bpf.c592 tm->tcm_handle = prog->handle; in cls_bpf_dump()
Dcls_rsvp.h702 t->tcm_handle = f->handle; in rsvp_dump()
/Linux-v5.10/tools/bpf/bpftool/
Dnet.c392 if (info->tcm_handle == 0) in dump_class_qdisc_nlmsg()
404 tcinfo->handle_array[tcinfo->used_len].handle = info->tcm_handle; in dump_class_qdisc_nlmsg()
/Linux-v5.10/include/uapi/linux/
Drtnetlink.h582 __u32 tcm_handle; member

12