Searched refs:bpf_program__attach_sockmap (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sockmap_basic.c | 195 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 D | sockmap_listen.c | 896 link = bpf_program__attach_sockmap(verdict, sock_map); in test_msg_redir_to_listening_with_link()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_sockmap.c | 1060 links[0] = bpf_program__attach_sockmap(progs[0], map_fd[0]); in run_options() 1063 "ERROR: bpf_program__attach_sockmap (sockmap %i->%i): (%s)\n", in run_options() 1069 links[1] = bpf_program__attach_sockmap(progs[1], map_fd[0]); in run_options() 1071 fprintf(stderr, "ERROR: bpf_program__attach_sockmap (sockmap): (%s)\n", in run_options() 1079 links[2] = bpf_program__attach_sockmap(progs[0], map_fd[8]); in run_options() 1082 "ERROR: bpf_program__attach_sockmap (TLS sockmap %i->%i): (%s)\n", in run_options() 1088 links[3] = bpf_program__attach_sockmap(progs[2], map_fd[8]); in run_options() 1090 fprintf(stderr, "ERROR: bpf_program__attach_sockmap (TLS sockmap): (%s)\n", in run_options() 1128 links[4] = bpf_program__attach_sockmap(tx_prog, map_fd[1]); in run_options() 1131 "ERROR: bpf_program__attach_sockmap (txms in run_options() [all...] |
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 13196 bpf_program__attach_sockmap(const struct bpf_program *prog, int map_fd) in bpf_program__attach_sockmap() function
|