Home
last modified time | relevance | path

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

/openbmc/linux/net/sched/
H A Dcls_api.c1989 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tcf_fill_node()
1992 tcm->tcm_ifindex = TCM_IFINDEX_MAGIC_BLOCK; in tcf_fill_node()
2753 if (tcm->tcm_ifindex == TCM_IFINDEX_MAGIC_BLOCK) { in tc_dump_tfilter()
2769 dev = __dev_get_by_index(net, tcm->tcm_ifindex); in tc_dump_tfilter()
2817 if (tcm->tcm_ifindex == TCM_IFINDEX_MAGIC_BLOCK) in tc_dump_tfilter()
2853 tcm->tcm_ifindex = qdisc_dev(block->q)->ifindex; in tc_chain_fill_node()
2856 tcm->tcm_ifindex = TCM_IFINDEX_MAGIC_BLOCK; in tc_chain_fill_node()
3015 t->tcm_ifindex, t->tcm_block_index, extack); in tc_ctl_chain()
3141 if (tcm->tcm_ifindex == TCM_IFINDEX_MAGIC_BLOCK) { in tc_dump_chain()
3150 dev = __dev_get_by_index(net, tcm->tcm_ifindex); in tc_dump_chain()
[all …]
H A Dsch_api.c933 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tc_fill_qdisc()
1496 dev = __dev_get_by_index(net, tcm->tcm_ifindex); in tc_get_qdisc()
1600 dev = __dev_get_by_index(net, tcm->tcm_ifindex); in tc_modify_qdisc()
1905 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tc_fill_tclass()
2098 dev = __dev_get_by_index(net, tcm->tcm_ifindex); in tc_ctl_tclass()
2296 dev = dev_get_by_index(net, tcm->tcm_ifindex); in tc_dump_tclass()
/openbmc/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()
/openbmc/linux/tools/bpf/bpftool/
H A Dnet.c231 .t.tcm_ifindex = ifindex, in netlink_get_class()
270 .t.tcm_ifindex = ifindex, in netlink_get_qdisc()
309 .t.tcm_ifindex = ifindex, in netlink_get_filter()
/openbmc/linux/include/uapi/linux/
H A Drtnetlink.h605 int tcm_ifindex; member
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_links.c1813 req.t.tcm_ifindex = ifindex; in qdisc_replace()