Lines Matching refs:skel1
11 struct test_xdp_link *skel1 = NULL, *skel2 = NULL; in serial_test_xdp_link() local
21 skel1 = test_xdp_link__open_and_load(); in serial_test_xdp_link()
22 if (!ASSERT_OK_PTR(skel1, "skel_load")) in serial_test_xdp_link()
24 prog_fd1 = bpf_program__fd(skel1->progs.xdp_handler); in serial_test_xdp_link()
54 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link()
70 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link()
73 skel1->links.xdp_handler = link; in serial_test_xdp_link()
103 bpf_link__destroy(skel1->links.xdp_handler); in serial_test_xdp_link()
104 skel1->links.xdp_handler = NULL; in serial_test_xdp_link()
117 err = bpf_link__update_program(link, skel1->progs.xdp_handler); in serial_test_xdp_link()
132 err = bpf_link__update_program(link, skel1->progs.tc_handler); in serial_test_xdp_link()
150 test_xdp_link__destroy(skel1); in serial_test_xdp_link()