Searched refs:target_ifindex (Results 1 – 5 of 5) sorted by relevance
| /linux/kernel/bpf/ |
| H A D | tcx.c | 20 dev = __dev_get_by_index(net, attr->target_ifindex); in tcx_prog_attach() 68 dev = __dev_get_by_index(net, attr->target_ifindex); in tcx_prog_detach() 130 dev = __dev_get_by_index(net, attr->query.target_ifindex); in tcx_prog_query() 319 dev = __dev_get_by_index(net, attr->link_create.target_ifindex); in tcx_link_attach()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tc_opts.c | 2555 attr.query.target_ifindex = loopback; in test_tc_opts_query_target() 2566 ASSERT_EQ(attr.query.target_ifindex, loopback, "target_ifindex"); in test_tc_opts_query_target() 2584 ASSERT_EQ(attr.query.target_ifindex, loopback, "target_ifindex"); in test_tc_opts_query_target() 2598 attr.query.target_ifindex = loopback; in test_tc_opts_query_target() 2613 ASSERT_EQ(attr.query.target_ifindex, loopback, "target_ifindex"); in test_tc_opts_query_target() 2627 attr.query.target_ifindex = loopback; in test_tc_opts_query_target() 2642 ASSERT_EQ(attr.query.target_ifindex, loopback, "target_ifindex"); in test_tc_opts_query_target() 2656 attr.query.target_ifindex = loopback; in test_tc_opts_query_target() 2670 ASSERT_EQ(attr.query.target_ifindex, loopback, "target_ifindex"); in test_tc_opts_query_target() 2684 attr.query.target_ifindex = loopback; in test_tc_opts_query_target() [all …]
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1690 __u32 target_ifindex; /* target ifindex */ member 1749 __u32 target_ifindex; /* target ifindex */ member 1817 __u32 target_ifindex; /* target ifindex */ member
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1690 __u32 target_ifindex; /* target ifindex */ member 1749 __u32 target_ifindex; /* target ifindex */ member 1817 __u32 target_ifindex; /* target ifindex */ member
|
| /linux/net/core/ |
| H A D | dev.c | 10741 dev = dev_get_by_index(net, attr->link_create.target_ifindex); in bpf_xdp_link_attach()
|