/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_sockmap.c | 19 __uint(type, BPF_MAP_TYPE_SOCKHASH); 26 __uint(type, BPF_MAP_TYPE_SOCKHASH);
|
H A D | test_sockhash_kern.c | 4 #define TEST_MAP_TYPE BPF_MAP_TYPE_SOCKHASH
|
H A D | test_sockmap_update.c | 21 __uint(type, BPF_MAP_TYPE_SOCKHASH);
|
H A D | test_skmsg_load_helpers.c | 14 __uint(type, BPF_MAP_TYPE_SOCKHASH);
|
H A D | test_sockmap_listen.c | 18 __uint(type, BPF_MAP_TYPE_SOCKHASH);
|
H A D | map_ptr_kern.c | 497 __uint(type, BPF_MAP_TYPE_SOCKHASH); 688 VERIFY_TYPE(BPF_MAP_TYPE_SOCKHASH, check_sockhash); in cg_skb()
|
H A D | verifier_sock.c | 20 __uint(type, BPF_MAP_TYPE_SOCKHASH);
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_ktls.c | 168 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 D | sockmap_basic.c | 532 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 D | select_reuseport.c | 745 case BPF_MAP_TYPE_SOCKHASH: in maptype_str() 867 test_map_type(BPF_MAP_TYPE_SOCKHASH); in serial_test_select_reuseport()
|
H A D | sockmap_listen.c | 1231 case BPF_MAP_TYPE_SOCKHASH: in map_type_str()
|
/openbmc/linux/Documentation/bpf/ |
H A D | map_sockmap.rst | 5 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 D | bpf_types.h | 123 BPF_MAP_TYPE(BPF_MAP_TYPE_SOCKHASH, sock_hash_ops)
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf_probes.c | 351 case BPF_MAP_TYPE_SOCKHASH: in probe_map_create()
|
H A D | libbpf.c | 163 [BPF_MAP_TYPE_SOCKHASH] = "sockhash", 5151 case BPF_MAP_TYPE_SOCKHASH: in bpf_object__create_map()
|
/openbmc/linux/net/core/ |
H A D | sock_map.c | 1457 case BPF_MAP_TYPE_SOCKHASH: in sock_map_progs() 1574 case BPF_MAP_TYPE_SOCKHASH: in sock_map_unlink() 1688 map->map_type != BPF_MAP_TYPE_SOCKHASH) in sock_map_iter_attach_target()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 942 BPF_MAP_TYPE_SOCKHASH, enumerator
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 942 BPF_MAP_TYPE_SOCKHASH, enumerator
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_verifier.c | 1130 map_fds[10] = create_map(BPF_MAP_TYPE_SOCKHASH, sizeof(int), in do_test_fixup()
|
/openbmc/linux/kernel/bpf/ |
H A D | syscall.c | 164 } else if (map->map_type == BPF_MAP_TYPE_SOCKHASH || in bpf_map_update_value() 1224 case BPF_MAP_TYPE_SOCKHASH: in map_create()
|
H A D | verifier.c | 522 map_type == BPF_MAP_TYPE_SOCKHASH)) in is_acquire_function() 2189 map->map_type == BPF_MAP_TYPE_SOCKHASH) { in mark_ptr_not_null_reg() 8019 case BPF_MAP_TYPE_SOCKHASH: in resolve_map_arg_type() 8850 case BPF_MAP_TYPE_SOCKHASH: in check_map_func_compatibility() 8959 if (map->map_type != BPF_MAP_TYPE_SOCKHASH) in check_map_func_compatibility() 8970 map->map_type != BPF_MAP_TYPE_SOCKHASH) in check_map_func_compatibility()
|