Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dxdp_attach.c41 err = bpf_set_link_xdp_fd_opts(IFINDEX_LO, fd1, XDP_FLAGS_REPLACE, in test_xdp_attach()
51 err = bpf_set_link_xdp_fd_opts(IFINDEX_LO, fd2, XDP_FLAGS_REPLACE, in test_xdp_attach()
57 err = bpf_set_link_xdp_fd_opts(IFINDEX_LO, fd2, 0, &opts); in test_xdp_attach()
65 err = bpf_set_link_xdp_fd_opts(IFINDEX_LO, fd3, 0, &opts); in test_xdp_attach()
69 err = bpf_set_link_xdp_fd_opts(IFINDEX_LO, -1, 0, &opts); in test_xdp_attach()
74 err = bpf_set_link_xdp_fd_opts(IFINDEX_LO, -1, 0, &opts); in test_xdp_attach()
Dxdp_link.c43 err = bpf_set_link_xdp_fd_opts(IFINDEX_LO, prog_fd1, XDP_FLAGS_REPLACE, &opts); in test_xdp_link()
58 bpf_set_link_xdp_fd_opts(IFINDEX_LO, -1, XDP_FLAGS_REPLACE, &opts); in test_xdp_link()
64 err = bpf_set_link_xdp_fd_opts(IFINDEX_LO, -1, XDP_FLAGS_REPLACE, &opts); in test_xdp_link()
82 err = bpf_set_link_xdp_fd_opts(IFINDEX_LO, prog_fd2, XDP_FLAGS_REPLACE, &opts); in test_xdp_link()
/Linux-v5.10/tools/lib/bpf/
Dlibbpf.map255 bpf_set_link_xdp_fd_opts;
Dnetlink.c202 int bpf_set_link_xdp_fd_opts(int ifindex, int fd, __u32 flags, in bpf_set_link_xdp_fd_opts() function
Dlibbpf.h514 LIBBPF_API int bpf_set_link_xdp_fd_opts(int ifindex, int fd, __u32 flags,