Lines Matching refs:xdp_handler
24 prog_fd1 = bpf_program__fd(skel1->progs.xdp_handler); in serial_test_xdp_link()
29 prog_fd2 = bpf_program__fd(skel2->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()
97 link = bpf_program__attach_xdp(skel2->progs.xdp_handler, IFINDEX_LO); 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()
107 link = bpf_program__attach_xdp(skel2->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link()
110 skel2->links.xdp_handler = link; in serial_test_xdp_link()
117 err = bpf_link__update_program(link, skel1->progs.xdp_handler); in serial_test_xdp_link()