Lines Matching refs:progs

182 	ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1,  in serial_test_tc_netkit_basic()
184 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, in serial_test_tc_netkit_basic()
191 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1)); in serial_test_tc_netkit_basic()
192 pid2 = id_from_prog_fd(bpf_program__fd(skel->progs.tc2)); in serial_test_tc_netkit_basic()
202 link = bpf_program__attach_netkit(skel->progs.tc1, ifindex, &optl); in serial_test_tc_netkit_basic()
237 link = bpf_program__attach_netkit(skel->progs.tc2, ifindex, &optl); in serial_test_tc_netkit_basic()
296 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, in serial_test_tc_netkit_multi_links_target()
298 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, in serial_test_tc_netkit_multi_links_target()
305 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1)); in serial_test_tc_netkit_multi_links_target()
306 pid2 = id_from_prog_fd(bpf_program__fd(skel->progs.tc2)); in serial_test_tc_netkit_multi_links_target()
316 link = bpf_program__attach_netkit(skel->progs.tc1, ifindex, &optl); in serial_test_tc_netkit_multi_links_target()
353 .relative_fd = bpf_program__fd(skel->progs.tc1), in serial_test_tc_netkit_multi_links_target()
356 link = bpf_program__attach_netkit(skel->progs.tc2, ifindex, &optl); in serial_test_tc_netkit_multi_links_target()
424 fd1 = bpf_program__fd(skel->progs.tc1); in serial_test_tc_netkit_multi_opts_target()
425 fd2 = bpf_program__fd(skel->progs.tc2); in serial_test_tc_netkit_multi_opts_target()
541 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, in serial_test_tc_netkit_device()
543 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, in serial_test_tc_netkit_device()
545 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, in serial_test_tc_netkit_device()
552 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1)); in serial_test_tc_netkit_device()
553 pid2 = id_from_prog_fd(bpf_program__fd(skel->progs.tc2)); in serial_test_tc_netkit_device()
563 link = bpf_program__attach_netkit(skel->progs.tc1, ifindex, &optl); in serial_test_tc_netkit_device()
608 link = bpf_program__attach_netkit(skel->progs.tc2, ifindex2, &optl); in serial_test_tc_netkit_device()
614 link = bpf_program__attach_netkit(skel->progs.tc3, ifindex2, &optl); in serial_test_tc_netkit_device()
649 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, in serial_test_tc_netkit_neigh_links_target()
656 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1)); in serial_test_tc_netkit_neigh_links_target()
663 link = bpf_program__attach_netkit(skel->progs.tc1, ifindex, &optl); in serial_test_tc_netkit_neigh_links_target()
729 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, in serial_test_tc_netkit_pkt_type_mode()
731 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc7, in serial_test_tc_netkit_pkt_type_mode()
741 link = bpf_program__attach_netkit(skel->progs.tc1, ifindex, &optl_nk); in serial_test_tc_netkit_pkt_type_mode()
750 link = bpf_program__attach_tcx(skel->progs.tc7, ifindex2, &optl_tcx); in serial_test_tc_netkit_pkt_type_mode()