Home
last modified time | relevance | path

Searched refs:tcm_ifindex (Results 1 – 6 of 6) sorted by relevance

/linux/net/sched/
H A Dcls_api.c2070 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tcf_fill_node()
2073 tcm->tcm_ifindex = TCM_IFINDEX_MAGIC_BLOCK; in tcf_fill_node()
2267 err = __tcf_qdisc_find(net, &q, &parent, t->tcm_ifindex, false, extack); in tc_new_tfilter()
2288 err = __tcf_qdisc_cl_find(q, parent, &cl, t->tcm_ifindex, extack); in tc_new_tfilter()
2292 block = __tcf_block_find(net, q, cl, t->tcm_ifindex, t->tcm_block_index, in tc_new_tfilter()
2481 err = __tcf_qdisc_find(net, &q, &parent, t->tcm_ifindex, false, extack); in tc_del_tfilter()
2501 err = __tcf_qdisc_cl_find(q, parent, &cl, t->tcm_ifindex, extack); in tc_del_tfilter()
2505 block = __tcf_block_find(net, q, cl, t->tcm_ifindex, t->tcm_block_index, in tc_del_tfilter()
2637 err = __tcf_qdisc_find(net, &q, &parent, t->tcm_ifindex, false, extack); in tc_get_tfilter()
2656 err = __tcf_qdisc_cl_find(q, parent, &cl, t->tcm_ifindex, extack); in tc_get_tfilter()
[all …]
H A Dsch_api.c933 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tc_fill_qdisc()
1525 dev = __dev_get_by_index(net, tcm->tcm_ifindex); in tc_get_qdisc()
1629 dev = __dev_get_by_index(net, tcm->tcm_ifindex); in tc_modify_qdisc()
1934 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tc_fill_tclass()
2155 dev = __dev_get_by_index(net, tcm->tcm_ifindex); in tc_ctl_tclass()
2353 dev = dev_get_by_index(net, tcm->tcm_ifindex); in tc_dump_tclass()
/linux/tools/lib/bpf/
H A Dnetlink.c597 req.tc.tcm_ifindex = OPTS_GET(hook, ifindex, 0); in tc_qdisc_modify()
757 req.tc.tcm_ifindex = ifindex; in bpf_tc_attach()
833 req.tc.tcm_ifindex = ifindex; in __bpf_tc_detach()
900 req.tc.tcm_ifindex = ifindex; in bpf_tc_query()
/linux/tools/bpf/bpftool/
H A Dnet.c237 .t.tcm_ifindex = ifindex, in netlink_get_class()
276 .t.tcm_ifindex = ifindex, in netlink_get_qdisc()
315 .t.tcm_ifindex = ifindex, in netlink_get_filter()
/linux/include/uapi/linux/
H A Drtnetlink.h609 int tcm_ifindex; member
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_links.c1813 req.t.tcm_ifindex = ifindex; in qdisc_replace()