Home
last modified time | relevance | path

Searched refs:id_from_link_fd (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_links.c47 lid1 = id_from_link_fd(bpf_link__fd(skel->links.tc1)); in serial_test_tc_links_basic()
82 lid2 = id_from_link_fd(bpf_link__fd(skel->links.tc2)); in serial_test_tc_links_basic()
160 lid1 = id_from_link_fd(bpf_link__fd(skel->links.tc1)); in test_tc_links_before_target()
170 lid2 = id_from_link_fd(bpf_link__fd(skel->links.tc2)); in test_tc_links_before_target()
213 lid3 = id_from_link_fd(bpf_link__fd(skel->links.tc3)); in test_tc_links_before_target()
226 lid4 = id_from_link_fd(bpf_link__fd(skel->links.tc4)); in test_tc_links_before_target()
314 lid1 = id_from_link_fd(bpf_link__fd(skel->links.tc1)); in test_tc_links_after_target()
324 lid2 = id_from_link_fd(bpf_link__fd(skel->links.tc2)); in test_tc_links_after_target()
367 lid3 = id_from_link_fd(bpf_link__fd(skel->links.tc3)); in test_tc_links_after_target()
380 lid4 = id_from_link_fd(bpf_link__fd(skel->links.tc4)); in test_tc_links_after_target()
[all …]
H A Dtc_helpers.h21 static inline __u32 id_from_link_fd(int fd) in id_from_link_fd() function
H A Dtc_opts.c1451 lid2 = id_from_link_fd(bpf_link__fd(skel->links.tc2)); in test_tc_opts_mixed_target()
1507 lid4 = id_from_link_fd(bpf_link__fd(skel->links.tc4)); in test_tc_opts_mixed_target()