Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_link.c12 __u32 id1, id2, id0 = 0, prog_fd1, prog_fd2; in serial_test_xdp_link() local
29 prog_fd2 = bpf_program__fd(skel2->progs.xdp_handler); in serial_test_xdp_link()
38 err = bpf_prog_get_info_by_fd(prog_fd2, &prog_info, &prog_info_len); in serial_test_xdp_link()
82 err = bpf_xdp_attach(IFINDEX_LO, prog_fd2, XDP_FLAGS_REPLACE, &opts); in serial_test_xdp_link()
87 err = bpf_xdp_attach(IFINDEX_LO, prog_fd2, 0, NULL); in serial_test_xdp_link()