Lines Matching refs:tc3

134 	ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target),  in test_tc_links_before_target()
145 pid3 = id_from_prog_fd(bpf_program__fd(skel->progs.tc3)); in test_tc_links_before_target()
207 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_before_target()
211 skel->links.tc3 = link; in test_tc_links_before_target()
213 lid3 = id_from_link_fd(bpf_link__fd(skel->links.tc3)); in test_tc_links_before_target()
288 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target), in test_tc_links_after_target()
299 pid3 = id_from_prog_fd(bpf_program__fd(skel->progs.tc3)); in test_tc_links_after_target()
361 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_after_target()
365 skel->links.tc3 = link; in test_tc_links_after_target()
367 lid3 = id_from_link_fd(bpf_link__fd(skel->links.tc3)); in test_tc_links_after_target()
549 pid3 = id_from_prog_fd(bpf_program__fd(skel->progs.tc3)); in test_tc_chain_classic()
566 tc_opts.prog_fd = bpf_program__fd(skel->progs.tc3); in test_tc_chain_classic()
647 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target), in test_tc_links_replace_target()
656 pid3 = id_from_prog_fd(bpf_program__fd(skel->progs.tc3)); in test_tc_links_replace_target()
724 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_replace_target()
738 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_replace_target()
751 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_replace_target()
759 err = bpf_link__update_program(skel->links.tc2, skel->progs.tc3); in test_tc_links_replace_target()
1186 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target), in test_tc_links_prepend_target()
1197 pid3 = id_from_prog_fd(bpf_program__fd(skel->progs.tc3)); in test_tc_links_prepend_target()
1262 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_prepend_target()
1266 skel->links.tc3 = link; in test_tc_links_prepend_target()
1268 lid3 = id_from_link_fd(bpf_link__fd(skel->links.tc3)); in test_tc_links_prepend_target()
1342 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target), in test_tc_links_append_target()
1353 pid3 = id_from_prog_fd(bpf_program__fd(skel->progs.tc3)); in test_tc_links_append_target()
1418 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_append_target()
1422 skel->links.tc3 = link; in test_tc_links_append_target()
1424 lid3 = id_from_link_fd(bpf_link__fd(skel->links.tc3)); in test_tc_links_append_target()
1500 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target), in test_tc_links_dev_cleanup_target()
1511 pid3 = id_from_prog_fd(bpf_program__fd(skel->progs.tc3)); in test_tc_links_dev_cleanup_target()
1536 link = bpf_program__attach_tcx(skel->progs.tc3, ifindex, &optl); in test_tc_links_dev_cleanup_target()
1540 skel->links.tc3 = link; in test_tc_links_dev_cleanup_target()
1558 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc3)), 0, "tc3_ifindex"); in test_tc_links_dev_cleanup_target()
1715 pid3 = id_from_prog_fd(bpf_program__fd(skel->progs.tc3)); in test_tc_links_ingress()
1726 tc_opts.prog_fd = bpf_program__fd(skel->progs.tc3); in test_tc_links_ingress()
1873 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target), in test_tc_links_dev_mixed()
1884 pid3 = id_from_prog_fd(bpf_program__fd(skel->progs.tc3)); in test_tc_links_dev_mixed()
1909 link = bpf_program__attach_tcx(skel->progs.tc3, ifindex, &optl); in test_tc_links_dev_mixed()
1913 skel->links.tc3 = link; in test_tc_links_dev_mixed()
1945 ASSERT_EQ(ifindex_from_link_fd(bpf_link__fd(skel->links.tc3)), 0, "tc3_ifindex"); in test_tc_links_dev_mixed()