Home
last modified time | relevance | path

Searched refs:tcm_handle (Results 1 - 25 of 69) sorted by relevance

123

/kernel/linux/linux-5.10/net/sched/
H A Dsch_api.c907 tcm->tcm_handle = q->handle; in tc_fill_qdisc()
1481 if (tcm->tcm_handle && q->handle != tcm->tcm_handle) { in tc_get_qdisc()
1486 q = qdisc_lookup(dev, tcm->tcm_handle); in tc_get_qdisc()
1588 if (!q || !tcm->tcm_handle || q->handle != tcm->tcm_handle) { in tc_modify_qdisc()
1589 if (tcm->tcm_handle) { in tc_modify_qdisc()
1594 if (TC_H_MIN(tcm->tcm_handle)) { in tc_modify_qdisc()
1598 q = qdisc_lookup(dev, tcm->tcm_handle); in tc_modify_qdisc()
1645 * then the qdisc tcm_handle i in tc_modify_qdisc()
[all...]
H A Dcls_cgroup.c176 t->tcm_handle = head->handle; in cls_cgroup_dump()
H A Dsch_mq.c261 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class()
H A Dsch_skbprio.c246 tcm->tcm_handle |= TC_H_MIN(cl); in skbprio_dump_class()
H A Dcls_api.c1829 tcm->tcm_handle = 0; in tcf_fill_node()
2112 fh = tp->ops->get(tp, t->tcm_handle); in tc_new_tfilter()
2134 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_new_tfilter()
2210 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) { in tc_del_tfilter()
2287 } else if (t->tcm_handle == 0) { in tc_del_tfilter()
2300 fh = tp->ops->get(tp, t->tcm_handle); in tc_del_tfilter()
2431 fh = tp->ops->get(tp, t->tcm_handle); in tc_get_tfilter()
2671 tcm->tcm_handle = 0; in tc_chain_fill_node()
H A Dcls_matchall.c361 t->tcm_handle = head->handle; in mall_dump()
H A Dcls_fw.c384 t->tcm_handle = f->id; in fw_dump()
H A Dcls_basic.c290 t->tcm_handle = f->handle; in basic_dump()
H A Dsch_multiq.c328 tcm->tcm_handle |= TC_H_MIN(cl); in multiq_dump_class()
H A Dsch_dsmark.c436 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl - 1); in dsmark_dump_class()
H A Dsch_prio.c350 tcm->tcm_handle |= TC_H_MIN(cl); in prio_dump_class()
H A Dsch_cbs.c485 tcm->tcm_handle |= TC_H_MIN(1); in cbs_dump_class()
H A Dsch_drr.c242 tcm->tcm_handle = cl->common.classid; in drr_dump_class()
/kernel/linux/linux-6.6/net/sched/
H A Dsch_api.c936 tcm->tcm_handle = q->handle; in tc_fill_qdisc()
1515 if (tcm->tcm_handle && q->handle != tcm->tcm_handle) { in tc_get_qdisc()
1520 q = qdisc_lookup(dev, tcm->tcm_handle); in tc_get_qdisc()
1619 if (!q || !tcm->tcm_handle || q->handle != tcm->tcm_handle) { in tc_modify_qdisc()
1620 if (tcm->tcm_handle) { in tc_modify_qdisc()
1625 if (TC_H_MIN(tcm->tcm_handle)) { in tc_modify_qdisc()
1629 q = qdisc_lookup(dev, tcm->tcm_handle); in tc_modify_qdisc()
1676 * then the qdisc tcm_handle i in tc_modify_qdisc()
[all...]
H A Dcls_cgroup.c178 t->tcm_handle = head->handle; in cls_cgroup_dump()
H A Dsch_skbprio.c246 tcm->tcm_handle |= TC_H_MIN(cl); in skbprio_dump_class()
H A Dsch_mq.c223 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class()
H A Dcls_api.c2001 tcm->tcm_handle = 0; in tcf_fill_node()
2289 fh = tp->ops->get(tp, t->tcm_handle); in tc_new_tfilter()
2317 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_new_tfilter()
2389 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) { in tc_del_tfilter()
2466 } else if (t->tcm_handle == 0) { in tc_del_tfilter()
2479 fh = tp->ops->get(tp, t->tcm_handle); in tc_del_tfilter()
2610 fh = tp->ops->get(tp, t->tcm_handle); in tc_get_tfilter()
2851 tcm->tcm_handle = 0; in tc_chain_fill_node()
H A Dsch_cbs.c486 tcm->tcm_handle |= TC_H_MIN(1); in cbs_dump_class()
H A Dsch_drr.c242 tcm->tcm_handle = cl->common.classid; in drr_dump_class()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dnetlink.c537 req->tc.tcm_handle = TC_H_MAKE(TC_H_CLSACT, 0); in clsact_config()
674 OPTS_SET(info->opts, handle, tc->tcm_handle); in __get_tc_info()
758 req.tc.tcm_handle = handle; in bpf_tc_attach()
835 req.tc.tcm_handle = handle; in __bpf_tc_detach()
901 req.tc.tcm_handle = handle; in bpf_tc_query()
/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A Dnet.c391 if (info->tcm_handle == 0) in dump_class_qdisc_nlmsg()
403 tcinfo->handle_array[tcinfo->used_len].handle = info->tcm_handle; in dump_class_qdisc_nlmsg()
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dnet.c398 if (info->tcm_handle == 0) in dump_class_qdisc_nlmsg()
410 tcinfo->handle_array[tcinfo->used_len].handle = info->tcm_handle; in dump_class_qdisc_nlmsg()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Drtnetlink.h582 __u32 tcm_handle; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Drtnetlink.h606 __u32 tcm_handle; member

Completed in 31 milliseconds

123