Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dsection_names.c93 {0, BPF_PROG_TYPE_SK_MSG, BPF_SK_MSG_VERDICT},
94 {0, BPF_SK_MSG_VERDICT},
H A Dnetns_cookie.c41 err = bpf_prog_attach(verdict, map, BPF_SK_MSG_VERDICT, 0); in test_netns_cookie()
H A Dsockmap_basic.c157 err = bpf_prog_attach(verdict, map, BPF_SK_MSG_VERDICT, 0); in test_skmsg_helpers()
161 err = bpf_prog_detach2(verdict, map, BPF_SK_MSG_VERDICT); in test_skmsg_helpers()
190 err = bpf_prog_attach(bpf_program__fd(prog), map, BPF_SK_MSG_VERDICT, 0); in test_skmsg_helpers_with_link()
456 if (attach_type == BPF_SK_MSG_VERDICT) in test_sockmap_progs_query()
1076 test_sockmap_progs_query(BPF_SK_MSG_VERDICT); in test_sockmap_basic()
H A Dns_current_pid_tgid.c147 err = bpf_prog_attach(verdict, map, BPF_SK_MSG_VERDICT, 0); in test_current_pid_tgid_sk_msg()
H A Dsockmap_listen.c315 { msg_verdict, BPF_SK_MSG_VERDICT }, in test_destroy_orphan_child()
758 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_MSG_VERDICT, 0); in test_msg_redir_to_connected()
764 xbpf_prog_detach2(verdict, sock_map, BPF_SK_MSG_VERDICT); in test_msg_redir_to_connected()
776 link_fd = bpf_link_create(prog_msg_verdict, sock_map, BPF_SK_MSG_VERDICT, NULL); in test_msg_redir_to_connected_with_link()
878 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_MSG_VERDICT, 0); in test_msg_redir_to_listening()
884 xbpf_prog_detach2(verdict, sock_map, BPF_SK_MSG_VERDICT); in test_msg_redir_to_listening()
/linux-6.15/Documentation/bpf/libbpf/
H A Dprogram_types.rst156 | ``BPF_PROG_TYPE_SK_MSG`` | ``BPF_SK_MSG_VERDICT`` | ``sk_msg`` …
/linux-6.15/tools/testing/selftests/bpf/
H A Dtest_maps.c785 err = bpf_prog_attach(-1, fd, BPF_SK_MSG_VERDICT, 0); in test_sockmap()
809 err = bpf_prog_detach(fd, BPF_SK_MSG_VERDICT); in test_sockmap()
912 err = bpf_prog_attach(msg_prog, map_fd_msg, BPF_SK_MSG_VERDICT, 0); in test_sockmap()
H A Dveristat.c1104 { "sk_msg_md", "sk_msg", BPF_PROG_TYPE_SK_MSG, BPF_SK_MSG_VERDICT }, in guess_prog_type_by_ctx_name()
/linux-6.15/tools/bpf/bpftool/
H A Dprog.c50 [BPF_SK_MSG_VERDICT] = true,
62 [BPF_SK_MSG_VERDICT] = "msg_verdict",
/linux-6.15/tools/include/uapi/linux/
H A Dbpf.h1072 BPF_SK_MSG_VERDICT, enumerator
/linux-6.15/Documentation/bpf/
H A Dmap_sockmap.rst59 - ``msg_parser`` program - ``BPF_SK_MSG_VERDICT``.
/linux-6.15/include/uapi/linux/
H A Dbpf.h1072 BPF_SK_MSG_VERDICT, enumerator
/linux-6.15/net/core/
H A Dsock_map.c1486 case BPF_SK_MSG_VERDICT: in sock_map_prog_link_lookup()
/linux-6.15/kernel/bpf/
H A Dsyscall.c4076 case BPF_SK_MSG_VERDICT: in attach_type_to_prog_type()
4389 case BPF_SK_MSG_VERDICT: in bpf_prog_query()
/linux-6.15/tools/lib/bpf/
H A Dlibbpf.c110 [BPF_SK_MSG_VERDICT] = "sk_msg_verdict",
9548 SEC_DEF("sk_msg", SK_MSG, BPF_SK_MSG_VERDICT, SEC_ATTACHABLE_OPT),