Home
last modified time | relevance | path

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

12

/linux/net/sched/
A Dcls_tcindex.c653 t->tcm_handle = ~0; /* whatever ... */ in tcindex_dump()
662 t->tcm_handle = r - p->perfect; in tcindex_dump()
668 t->tcm_handle = 0; in tcindex_dump()
669 for (i = 0; !t->tcm_handle && i < p->hash; i++) { in tcindex_dump()
672 !t->tcm_handle && f; in tcindex_dump()
675 t->tcm_handle = f->key; in tcindex_dump()
679 pr_debug("handle = %d\n", t->tcm_handle); in tcindex_dump()
A Dsch_api.c908 tcm->tcm_handle = q->handle; in tc_fill_qdisc()
1461 if (tcm->tcm_handle && q->handle != tcm->tcm_handle) { in tc_get_qdisc()
1466 q = qdisc_lookup(dev, tcm->tcm_handle); in tc_get_qdisc()
1550 if (!q || !tcm->tcm_handle || q->handle != tcm->tcm_handle) { in tc_modify_qdisc()
1551 if (tcm->tcm_handle) { in tc_modify_qdisc()
1556 if (TC_H_MIN(tcm->tcm_handle)) { in tc_modify_qdisc()
1611 if (!tcm->tcm_handle) { in tc_modify_qdisc()
1615 q = qdisc_lookup(dev, tcm->tcm_handle); in tc_modify_qdisc()
1661 tcm->tcm_parent, tcm->tcm_handle, in tc_modify_qdisc()
1813 tcm->tcm_handle = q->handle; in tc_fill_tclass()
[all …]
A Dcls_cgroup.c176 t->tcm_handle = head->handle; in cls_cgroup_dump()
A Dsch_mq.c223 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class()
A Dsch_skbprio.c249 tcm->tcm_handle |= TC_H_MIN(cl); in skbprio_dump_class()
A Dcls_api.c1823 tcm->tcm_handle = 0; in tcf_fill_node()
2100 fh = tp->ops->get(tp, t->tcm_handle); in tc_new_tfilter()
2125 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh, in tc_new_tfilter()
2200 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) { in tc_del_tfilter()
2277 } else if (t->tcm_handle == 0) { in tc_del_tfilter()
2290 fh = tp->ops->get(tp, t->tcm_handle); in tc_del_tfilter()
2421 fh = tp->ops->get(tp, t->tcm_handle); in tc_get_tfilter()
2661 tcm->tcm_handle = 0; in tc_chain_fill_node()
A Dcls_basic.c290 t->tcm_handle = f->handle; in basic_dump()
A Dsch_multiq.c329 tcm->tcm_handle |= TC_H_MIN(cl); in multiq_dump_class()
A Dcls_matchall.c360 t->tcm_handle = head->handle; in mall_dump()
A Dsch_prio.c352 tcm->tcm_handle |= TC_H_MIN(cl); in prio_dump_class()
A Dcls_fw.c384 t->tcm_handle = f->id; in fw_dump()
A Dsch_cbs.c486 tcm->tcm_handle |= TC_H_MIN(1); in cbs_dump_class()
A Dsch_drr.c241 tcm->tcm_handle = cl->common.classid; in drr_dump_class()
A Dsch_dsmark.c439 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl - 1); in dsmark_dump_class()
A Dsch_tbf.c549 tcm->tcm_handle |= TC_H_MIN(1); in tbf_dump_class()
A Dcls_route.c605 t->tcm_handle = f->handle; in route4_dump()
A Dsch_mqprio.c490 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class()
A Dsch_red.c477 tcm->tcm_handle |= TC_H_MIN(1); in red_dump_class()
A Dcls_flow.c627 t->tcm_handle = f->handle; in flow_dump()
A Dsch_atm.c613 tcm->tcm_handle = flow->common.classid; in atm_tc_dump_class()
A Dsch_fq_codel.c630 tcm->tcm_handle |= TC_H_MIN(cl); in fq_codel_dump_class()
A Dcls_bpf.c589 tm->tcm_handle = prog->handle; in cls_bpf_dump()
/linux/tools/lib/bpf/
A Dnetlink.c376 req->tc.tcm_handle = TC_H_MAKE(TC_H_CLSACT, 0); in clsact_config()
513 OPTS_SET(info->opts, handle, tc->tcm_handle); in __get_tc_info()
596 req.tc.tcm_handle = handle; in bpf_tc_attach()
672 req.tc.tcm_handle = handle; in __bpf_tc_detach()
738 req.tc.tcm_handle = handle; in bpf_tc_query()
/linux/tools/bpf/bpftool/
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()
/linux/include/uapi/linux/
A Drtnetlink.h597 __u32 tcm_handle; member

Completed in 50 milliseconds

12