Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dsection_names.c82 {0, BPF_PROG_TYPE_SK_SKB, BPF_SK_SKB_STREAM_PARSER},
83 {0, BPF_SK_SKB_STREAM_PARSER},
Dsockmap_listen.c737 err = xbpf_prog_attach(parser, sock_map, BPF_SK_SKB_STREAM_PARSER, 0); in test_skb_redir_to_connected()
749 xbpf_prog_detach2(parser, sock_map, BPF_SK_SKB_STREAM_PARSER); in test_skb_redir_to_connected()
839 err = xbpf_prog_attach(parser, sock_map, BPF_SK_SKB_STREAM_PARSER, 0); in test_skb_redir_to_listening()
851 xbpf_prog_detach2(parser, sock_map, BPF_SK_SKB_STREAM_PARSER); in test_skb_redir_to_listening()
928 err = xbpf_prog_attach(parser, sock_map, BPF_SK_SKB_STREAM_PARSER, 0); in test_skb_redir_partial()
940 xbpf_prog_detach2(parser, sock_map, BPF_SK_SKB_STREAM_PARSER); in test_skb_redir_partial()
Dsockmap_basic.c556 test_sockmap_progs_query(BPF_SK_SKB_STREAM_PARSER); in test_sockmap_basic()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_maps.c777 err = bpf_prog_attach(-1, fd, BPF_SK_SKB_STREAM_PARSER, 0); in test_sockmap()
801 err = bpf_prog_detach(fd, BPF_SK_SKB_STREAM_PARSER); in test_sockmap()
896 BPF_SK_SKB_STREAM_PARSER, 0); in test_sockmap()
903 BPF_SK_SKB_STREAM_PARSER, 0); in test_sockmap()
1044 BPF_SK_SKB_STREAM_PARSER, 0); in test_sockmap()
1109 err = bpf_prog_detach2(parse_prog, map_fd_rx, BPF_SK_SKB_STREAM_PARSER); in test_sockmap()
Dtest_sockmap.c964 BPF_SK_SKB_STREAM_PARSER, 0); in run_options()
985 BPF_SK_SKB_STREAM_PARSER, 0); in run_options()
1283 bpf_prog_detach2(prog_fd[0], map_fd[0], BPF_SK_SKB_STREAM_PARSER); in run_options()
1285 bpf_prog_detach2(prog_fd[0], map_fd[8], BPF_SK_SKB_STREAM_PARSER); in run_options()
1787 BPF_SK_SKB_STREAM_PARSER,
/Linux-v6.6/Documentation/bpf/libbpf/
Dprogram_types.rst140 | | ``BPF_SK_SKB_STREAM_PARSER`` | ``sk_skb/str…
/Linux-v6.6/Documentation/bpf/
Dmap_sockmap.rst60 - ``stream_parser`` program - ``BPF_SK_SKB_STREAM_PARSER``.
459 err = bpf_prog_attach(parse_prog_fd, map, BPF_SK_SKB_STREAM_PARSER, 0);
/Linux-v6.6/tools/bpf/bpftool/
Dprog.c47 [BPF_SK_SKB_STREAM_PARSER] = true,
59 [BPF_SK_SKB_STREAM_PARSER] = "stream_parser",
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h998 BPF_SK_SKB_STREAM_PARSER, enumerator
/Linux-v6.6/include/uapi/linux/
Dbpf.h998 BPF_SK_SKB_STREAM_PARSER, enumerator
/Linux-v6.6/net/core/
Dsock_map.c1468 case BPF_SK_SKB_STREAM_PARSER: in sock_map_prog_lookup()
/Linux-v6.6/kernel/bpf/
Dsyscall.c3690 case BPF_SK_SKB_STREAM_PARSER: in attach_type_to_prog_type()
3968 case BPF_SK_SKB_STREAM_PARSER: in bpf_prog_query()
/Linux-v6.6/tools/lib/bpf/
Dlibbpf.c98 [BPF_SK_SKB_STREAM_PARSER] = "sk_skb_stream_parser",
8827 SEC_DEF("sk_skb/stream_parser", SK_SKB, BPF_SK_SKB_STREAM_PARSER, SEC_ATTACHABLE_OPT),