Home
last modified time | relevance | path

Searched refs:BPF_MAP_TYPE_SOCKHASH (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_sockmap.c19 __uint(type, BPF_MAP_TYPE_SOCKHASH);
26 __uint(type, BPF_MAP_TYPE_SOCKHASH);
H A Dtest_sockhash_kern.c4 #define TEST_MAP_TYPE BPF_MAP_TYPE_SOCKHASH
H A Dtest_sockmap_update.c21 __uint(type, BPF_MAP_TYPE_SOCKHASH);
H A Dtest_skmsg_load_helpers.c14 __uint(type, BPF_MAP_TYPE_SOCKHASH);
H A Dtest_sockmap_listen.c18 __uint(type, BPF_MAP_TYPE_SOCKHASH);
H A Dmap_ptr_kern.c497 __uint(type, BPF_MAP_TYPE_SOCKHASH);
688 VERIFY_TYPE(BPF_MAP_TYPE_SOCKHASH, check_sockhash); in cg_skb()
H A Dverifier_sock.c20 __uint(type, BPF_MAP_TYPE_SOCKHASH);
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_ktls.c168 run_tests(AF_INET, BPF_MAP_TYPE_SOCKHASH); in test_sockmap_ktls()
170 run_tests(AF_INET6, BPF_MAP_TYPE_SOCKHASH); in test_sockmap_ktls()
H A Dsockmap_basic.c532 test_sockmap_create_update_free(BPF_MAP_TYPE_SOCKHASH); in test_sockmap_basic()
536 test_skmsg_helpers(BPF_MAP_TYPE_SOCKHASH); in test_sockmap_basic()
540 test_sockmap_update(BPF_MAP_TYPE_SOCKHASH); in test_sockmap_basic()
546 test_sockmap_copy(BPF_MAP_TYPE_SOCKHASH); in test_sockmap_basic()
H A Dselect_reuseport.c745 case BPF_MAP_TYPE_SOCKHASH: in maptype_str()
867 test_map_type(BPF_MAP_TYPE_SOCKHASH); in serial_test_select_reuseport()
H A Dsockmap_listen.c1231 case BPF_MAP_TYPE_SOCKHASH: in map_type_str()
/openbmc/linux/Documentation/bpf/
H A Dmap_sockmap.rst5 BPF_MAP_TYPE_SOCKMAP and BPF_MAP_TYPE_SOCKHASH
10 - ``BPF_MAP_TYPE_SOCKHASH`` was introduced in kernel version 4.18
12 ``BPF_MAP_TYPE_SOCKMAP`` and ``BPF_MAP_TYPE_SOCKHASH`` maps can be used to
20 descriptors. Similarly, ``BPF_MAP_TYPE_SOCKHASH`` is a hash backed BPF map that
172 ``BPF_MAP_TYPE_SOCKHASH``) using hash ``key``. Both ingress and egress
188 ``BPF_MAP_TYPE_SOCKHASH``) using hash ``key``. Both ingress and egress
404 __uint(type, BPF_MAP_TYPE_SOCKHASH);
/openbmc/linux/include/linux/
H A Dbpf_types.h123 BPF_MAP_TYPE(BPF_MAP_TYPE_SOCKHASH, sock_hash_ops)
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf_probes.c351 case BPF_MAP_TYPE_SOCKHASH: in probe_map_create()
H A Dlibbpf.c163 [BPF_MAP_TYPE_SOCKHASH] = "sockhash",
5151 case BPF_MAP_TYPE_SOCKHASH: in bpf_object__create_map()
/openbmc/linux/net/core/
H A Dsock_map.c1454 case BPF_MAP_TYPE_SOCKHASH: in sock_map_progs()
1571 case BPF_MAP_TYPE_SOCKHASH: in sock_map_unlink()
1685 map->map_type != BPF_MAP_TYPE_SOCKHASH) in sock_map_iter_attach_target()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h925 BPF_MAP_TYPE_SOCKHASH, enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h925 BPF_MAP_TYPE_SOCKHASH, enumerator
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c1130 map_fds[10] = create_map(BPF_MAP_TYPE_SOCKHASH, sizeof(int), in do_test_fixup()
/openbmc/linux/kernel/bpf/
H A Dsyscall.c164 } else if (map->map_type == BPF_MAP_TYPE_SOCKHASH || in bpf_map_update_value()
1224 case BPF_MAP_TYPE_SOCKHASH: in map_create()