Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dsection_names.c93 {0, BPF_PROG_TYPE_SK_MSG, BPF_SK_MSG_VERDICT},
94 {0, BPF_SK_MSG_VERDICT},
Dsockmap_basic.c123 err = bpf_prog_attach(verdict, map, BPF_SK_MSG_VERDICT, 0); in test_skmsg_helpers()
127 err = bpf_prog_detach2(verdict, map, BPF_SK_MSG_VERDICT); in test_skmsg_helpers()
329 if (attach_type == BPF_SK_MSG_VERDICT) in test_sockmap_progs_query()
554 test_sockmap_progs_query(BPF_SK_MSG_VERDICT); in test_sockmap_basic()
Dnetns_cookie.c37 err = bpf_prog_attach(verdict, map, BPF_SK_MSG_VERDICT, 0); in test_netns_cookie()
Dsockmap_listen.c313 { msg_verdict, BPF_SK_MSG_VERDICT }, in test_destroy_orphan_child()
761 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_MSG_VERDICT, 0); in test_msg_redir_to_connected()
767 xbpf_prog_detach2(verdict, sock_map, BPF_SK_MSG_VERDICT); in test_msg_redir_to_connected()
863 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_MSG_VERDICT, 0); in test_msg_redir_to_listening()
869 xbpf_prog_detach2(verdict, sock_map, BPF_SK_MSG_VERDICT); in test_msg_redir_to_listening()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_sockmap.c1036 map_fd[1], BPF_SK_MSG_VERDICT, 0); in run_options()
1289 bpf_prog_detach2(tx_prog_fd, map_fd[1], BPF_SK_MSG_VERDICT); in run_options()
1791 BPF_SK_MSG_VERDICT,
1792 BPF_SK_MSG_VERDICT,
1793 BPF_SK_MSG_VERDICT,
1794 BPF_SK_MSG_VERDICT,
1795 BPF_SK_MSG_VERDICT,
1796 BPF_SK_MSG_VERDICT,
1797 BPF_SK_MSG_VERDICT,
Dtest_maps.c789 err = bpf_prog_attach(-1, fd, BPF_SK_MSG_VERDICT, 0); in test_sockmap()
813 err = bpf_prog_detach(fd, BPF_SK_MSG_VERDICT); in test_sockmap()
916 err = bpf_prog_attach(msg_prog, map_fd_msg, BPF_SK_MSG_VERDICT, 0); in test_sockmap()
Dveristat.c845 { "sk_msg_md", "sk_msg", BPF_PROG_TYPE_SK_MSG, BPF_SK_MSG_VERDICT }, in guess_prog_type_by_ctx_name()
/Linux-v6.6/Documentation/bpf/libbpf/
Dprogram_types.rst132 | ``BPF_PROG_TYPE_SK_MSG`` | ``BPF_SK_MSG_VERDICT`` | ``sk_msg`` …
/Linux-v6.6/tools/bpf/bpftool/
Dprog.c50 [BPF_SK_MSG_VERDICT] = true,
62 [BPF_SK_MSG_VERDICT] = "msg_verdict",
/Linux-v6.6/Documentation/bpf/
Dmap_sockmap.rst59 - ``msg_parser`` program - ``BPF_SK_MSG_VERDICT``.
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h1001 BPF_SK_MSG_VERDICT, enumerator
/Linux-v6.6/include/uapi/linux/
Dbpf.h1001 BPF_SK_MSG_VERDICT, enumerator
/Linux-v6.6/net/core/
Dsock_map.c1464 case BPF_SK_MSG_VERDICT: in sock_map_prog_lookup()
/Linux-v6.6/kernel/bpf/
Dsyscall.c3688 case BPF_SK_MSG_VERDICT: in attach_type_to_prog_type()
3970 case BPF_SK_MSG_VERDICT: in bpf_prog_query()
/Linux-v6.6/tools/lib/bpf/
Dlibbpf.c101 [BPF_SK_MSG_VERDICT] = "sk_msg_verdict",
8830 SEC_DEF("sk_msg", SK_MSG, BPF_SK_MSG_VERDICT, SEC_ATTACHABLE_OPT),