Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_basic.c195 link = bpf_program__attach_sockmap(prog, map); in test_skmsg_helpers_with_link()
205 link2 = bpf_program__attach_sockmap(prog_clone, map); in test_skmsg_helpers_with_link()
416 link = bpf_program__attach_sockmap(prog, map); in test_sockmap_skb_verdict_attach_with_link()
427 link = bpf_program__attach_sockmap(prog, map); in test_sockmap_skb_verdict_attach_with_link()
734 link = bpf_program__attach_sockmap(prog, map); in test_sockmap_skb_verdict_peek_with_link()
1012 link = bpf_program__attach_sockmap(prog, map); in test_sockmap_skb_verdict_vsock_poll()
H A Dsockmap_listen.c896 link = bpf_program__attach_sockmap(verdict, sock_map); in test_msg_redir_to_listening_with_link()
/linux/tools/testing/selftests/bpf/
H A 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()
/linux/tools/lib/bpf/
H A Dlibbpf.map429 bpf_program__attach_sockmap;
H A Dlibbpf.h853 bpf_program__attach_sockmap(const struct bpf_program *prog, int map_fd);
H A Dlibbpf.c13196 bpf_program__attach_sockmap(const struct bpf_program *prog, int map_fd) in bpf_program__attach_sockmap() function