Searched refs:redir_map (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sk_lookup.c | 612 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 620 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 629 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 639 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 648 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 656 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 664 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 673 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 683 .sock_map = skel->maps.redir_map, in test_redirect_lookup() 692 .sock_map = skel->maps.redir_map, in test_redirect_lookup() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_lookup.c | 40 } 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() 211 err = bpf_sk_select_reuseport(ctx, &redir_map, &key, 0); in select_sock_b() 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() [all …]
|