Home
last modified time | relevance | path

Searched refs:redir_map (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sk_lookup.c40 } redir_map SEC(".maps");
117 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_A); in redir_port()
140 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_A); in redir_ip4()
166 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_A); in redir_ip6()
181 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_A); in select_sock_a()
196 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_A); in select_sock_a_no_reuseport()
223 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_B); in sk_assign_eexist()
231 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_A); in sk_assign_eexist()
256 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_A); in sk_assign_replace_flag()
264 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_B); in sk_assign_replace_flag()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsk_lookup.c676 .sock_map = skel->maps.redir_map, in test_redirect_lookup()
684 .sock_map = skel->maps.redir_map, in test_redirect_lookup()
693 .sock_map = skel->maps.redir_map, in test_redirect_lookup()
703 .sock_map = skel->maps.redir_map, in test_redirect_lookup()
712 .sock_map = skel->maps.redir_map, in test_redirect_lookup()
720 .sock_map = skel->maps.redir_map, in test_redirect_lookup()
728 .sock_map = skel->maps.redir_map, in test_redirect_lookup()
737 .sock_map = skel->maps.redir_map, in test_redirect_lookup()
747 .sock_map = skel->maps.redir_map, in test_redirect_lookup()
1211 struct bpf_map *redir_map; member
[all …]