Home
last modified time | relevance | path

Searched refs:sockmap (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_sockmap.c16 } sockmap SEC(".maps");
35 SEC("iter/sockmap")
H A Dmap_ptr_kern.c431 struct bpf_stab *sockmap = (struct bpf_stab *)&m_sockmap; in check_sockmap() local
434 VERIFY(check_default(&sockmap->map, map)); in check_sockmap()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_sockmap.c16 } sockmap SEC(".maps");
35 SEC("iter/sockmap")
H A Dmap_ptr_kern.c442 struct bpf_stab *sockmap = (struct bpf_stab *)&m_sockmap; in check_sockmap() local
445 VERIFY(check_default(&sockmap->map, map)); in check_sockmap()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_basic.c215 src = skel->maps.sockmap; in test_sockmap_copy()
286 if (test__start_subtest("sockmap create_update_free")) in test_sockmap_basic()
290 if (test__start_subtest("sockmap sk_msg load helpers")) in test_sockmap_basic()
294 if (test__start_subtest("sockmap update")) in test_sockmap_basic()
298 if (test__start_subtest("sockmap update in unsafe context")) in test_sockmap_basic()
300 if (test__start_subtest("sockmap copy")) in test_sockmap_basic()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_basic.c207 src = skel->maps.sockmap; in test_sockmap_copy()
529 if (test__start_subtest("sockmap create_update_free")) in test_sockmap_basic()
533 if (test__start_subtest("sockmap sk_msg load helpers")) in test_sockmap_basic()
537 if (test__start_subtest("sockmap update")) in test_sockmap_basic()
541 if (test__start_subtest("sockmap update in unsafe context")) in test_sockmap_basic()
543 if (test__start_subtest("sockmap copy")) in test_sockmap_basic()
547 if (test__start_subtest("sockmap skb_verdict attach")) { in test_sockmap_basic()
553 if (test__start_subtest("sockmap msg_verdict progs query")) in test_sockmap_basic()
555 if (test__start_subtest("sockmap stream_parser progs query")) in test_sockmap_basic()
557 if (test__start_subtest("sockmap stream_verdic in test_sockmap_basic()
[all...]
H A Dbpf_iter.c1549 do_read_map_iter_fd(&skel->skeleton, skel->progs.copy, skel->maps.sockmap); in test_bpf_sockmap_map_iter_fd()
/kernel/linux/linux-5.10/net/core/
H A Dsock_map.c734 DEFINE_BPF_ITER_FUNC(sockmap, struct bpf_iter_meta *meta,
1621 .target = "sockmap",
/kernel/linux/linux-6.6/net/core/
H A Dsock_map.c704 DEFINE_BPF_ITER_FUNC(sockmap, struct bpf_iter_meta *meta,
1697 .target = "sockmap",

Completed in 18 milliseconds