Home
last modified time | relevance | path

Searched refs:BPF_SK_SKB_STREAM_VERDICT (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_basic.c375 err = bpf_prog_attach(verdict, map, BPF_SK_SKB_STREAM_VERDICT, 0); in test_sockmap_skb_verdict_shutdown()
440 err = bpf_prog_attach(verdict, map, BPF_SK_SKB_STREAM_VERDICT, 0); in test_sockmap_skb_verdict_fionread()
491 err = bpf_prog_attach(verdict, map, BPF_SK_SKB_STREAM_VERDICT, 0); in test_sockmap_skb_verdict_peek()
549 BPF_SK_SKB_STREAM_VERDICT); in test_sockmap_basic()
550 test_sockmap_skb_verdict_attach(BPF_SK_SKB_STREAM_VERDICT, in test_sockmap_basic()
558 test_sockmap_progs_query(BPF_SK_SKB_STREAM_VERDICT); in test_sockmap_basic()
H A Dsection_names.c87 {0, BPF_PROG_TYPE_SK_SKB, BPF_SK_SKB_STREAM_VERDICT},
88 {0, BPF_SK_SKB_STREAM_VERDICT},
H A Dsockmap_listen.c740 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_SKB_STREAM_VERDICT, 0); in test_skb_redir_to_connected()
747 xbpf_prog_detach2(verdict, sock_map, BPF_SK_SKB_STREAM_VERDICT); in test_skb_redir_to_connected()
842 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_SKB_STREAM_VERDICT, 0); in test_skb_redir_to_listening()
849 xbpf_prog_detach2(verdict, sock_map, BPF_SK_SKB_STREAM_VERDICT); in test_skb_redir_to_listening()
932 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_SKB_STREAM_VERDICT, 0); in test_skb_redir_partial()
938 xbpf_prog_detach2(verdict, sock_map, BPF_SK_SKB_STREAM_VERDICT); in test_skb_redir_partial()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_sockmap.c975 BPF_SK_SKB_STREAM_VERDICT, 0); in run_options()
996 BPF_SK_SKB_STREAM_VERDICT, 0); in run_options()
1285 bpf_prog_detach2(prog_fd[1], map_fd[0], BPF_SK_SKB_STREAM_VERDICT); in run_options()
1287 bpf_prog_detach2(prog_fd[2], map_fd[8], BPF_SK_SKB_STREAM_VERDICT); in run_options()
1789 BPF_SK_SKB_STREAM_VERDICT,
1790 BPF_SK_SKB_STREAM_VERDICT,
H A Dtest_maps.c783 err = bpf_prog_attach(-1, fd, BPF_SK_SKB_STREAM_VERDICT, 0); in test_sockmap()
807 err = bpf_prog_detach(fd, BPF_SK_SKB_STREAM_VERDICT); in test_sockmap()
910 BPF_SK_SKB_STREAM_VERDICT, 0); in test_sockmap()
1050 BPF_SK_SKB_STREAM_VERDICT, 0); in test_sockmap()
1115 err = bpf_prog_detach2(verdict_prog, map_fd_rx, BPF_SK_SKB_STREAM_VERDICT); in test_sockmap()
/openbmc/linux/Documentation/bpf/libbpf/
H A Dprogram_types.rst142 | | ``BPF_SK_SKB_STREAM_VERDICT`` | ``sk_skb/str…
/openbmc/linux/Documentation/bpf/
H A Dmap_sockmap.rst61 - ``stream_verdict`` program - ``BPF_SK_SKB_STREAM_VERDICT``.
465 err = bpf_prog_attach(verdict_prog_fd, map, BPF_SK_SKB_STREAM_VERDICT, 0);
/openbmc/linux/tools/bpf/bpftool/
H A Dprog.c48 [BPF_SK_SKB_STREAM_VERDICT] = true,
60 [BPF_SK_SKB_STREAM_VERDICT] = "stream_verdict",
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h1016 BPF_SK_SKB_STREAM_VERDICT, enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h1016 BPF_SK_SKB_STREAM_VERDICT, enumerator
/openbmc/linux/net/core/
H A Dsock_map.c1483 case BPF_SK_SKB_STREAM_VERDICT: in sock_map_prog_lookup()
/openbmc/linux/kernel/bpf/
H A Dsyscall.c3790 case BPF_SK_SKB_STREAM_VERDICT: in attach_type_to_prog_type()
4073 case BPF_SK_SKB_STREAM_VERDICT: in bpf_prog_query()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.c100 [BPF_SK_SKB_STREAM_VERDICT] = "sk_skb_stream_verdict",
8834 SEC_DEF("sk_skb/stream_verdict",SK_SKB, BPF_SK_SKB_STREAM_VERDICT, SEC_ATTACHABLE_OPT),