/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_basic.c | 375 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 D | section_names.c | 87 {0, BPF_PROG_TYPE_SK_SKB, BPF_SK_SKB_STREAM_VERDICT}, 88 {0, BPF_SK_SKB_STREAM_VERDICT},
|
H A D | sockmap_listen.c | 740 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 D | test_sockmap.c | 975 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 D | test_maps.c | 783 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 D | program_types.rst | 142 | | ``BPF_SK_SKB_STREAM_VERDICT`` | ``sk_skb/str…
|
/openbmc/linux/Documentation/bpf/ |
H A D | map_sockmap.rst | 61 - ``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 D | prog.c | 48 [BPF_SK_SKB_STREAM_VERDICT] = true, 60 [BPF_SK_SKB_STREAM_VERDICT] = "stream_verdict",
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 1016 BPF_SK_SKB_STREAM_VERDICT, enumerator
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1016 BPF_SK_SKB_STREAM_VERDICT, enumerator
|
/openbmc/linux/net/core/ |
H A D | sock_map.c | 1474 case BPF_SK_SKB_STREAM_VERDICT: in sock_map_prog_lookup()
|
/openbmc/linux/kernel/bpf/ |
H A D | syscall.c | 3765 case BPF_SK_SKB_STREAM_VERDICT: in attach_type_to_prog_type() 4048 case BPF_SK_SKB_STREAM_VERDICT: in bpf_prog_query()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf.c | 100 [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),
|