Searched refs:ifindex_from_link_fd (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | tc_helpers.h | 35 static inline __u32 ifindex_from_link_fd(int fd) in ifindex_from_link_fd() function
|
D | tc_links.c | 1554 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc1)), 0, "tc1_ifindex"); in test_tc_links_dev_cleanup_target() 1555 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc2)), 0, "tc2_ifindex"); in test_tc_links_dev_cleanup_target() 1556 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc3)), 0, "tc3_ifindex"); in test_tc_links_dev_cleanup_target() 1557 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc4)), 0, "tc4_ifindex"); in test_tc_links_dev_cleanup_target() 1882 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc1)), 0, "tc1_ifindex"); in test_tc_links_dev_mixed() 1883 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc2)), 0, "tc2_ifindex"); in test_tc_links_dev_mixed() 1884 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc3)), 0, "tc3_ifindex"); in test_tc_links_dev_mixed() 1885 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc4)), 0, "tc4_ifindex"); in test_tc_links_dev_mixed()
|