Home
last modified time | relevance | path

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

/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/
Dsockmap_basic.c185 link = bpf_program__attach_sockmap(prog, map); in test_skmsg_helpers_with_link()
195 link2 = bpf_program__attach_sockmap(prog_clone, map); in test_skmsg_helpers_with_link()
406 link = bpf_program__attach_sockmap(prog, map); in test_sockmap_skb_verdict_attach_with_link()
417 link = bpf_program__attach_sockmap(prog, map); in test_sockmap_skb_verdict_attach_with_link()
713 link = bpf_program__attach_sockmap(prog, map); in test_sockmap_skb_verdict_peek_with_link()
991 link = bpf_program__attach_sockmap(prog, map); in test_sockmap_skb_verdict_vsock_poll()
Dsockmap_listen.c896 link = bpf_program__attach_sockmap(verdict, sock_map); in test_msg_redir_to_listening_with_link()
/linux-6.14.4/tools/lib/bpf/
Dlibbpf.map429 bpf_program__attach_sockmap;
Dlibbpf.h815 bpf_program__attach_sockmap(const struct bpf_program *prog, int map_fd);
Dlibbpf.c12760 bpf_program__attach_sockmap(const struct bpf_program *prog, int map_fd) in bpf_program__attach_sockmap() function
/linux-6.14.4/tools/testing/selftests/bpf/
Dtest_sockmap.c1060 links[0] = bpf_program__attach_sockmap(progs[0], map_fd[0]); in run_options()
1069 links[1] = bpf_program__attach_sockmap(progs[1], map_fd[0]); in run_options()
1079 links[2] = bpf_program__attach_sockmap(progs[0], map_fd[8]); in run_options()
1088 links[3] = bpf_program__attach_sockmap(progs[2], map_fd[8]); in run_options()
1128 links[4] = bpf_program__attach_sockmap(tx_prog, map_fd[1]); in run_options()