Searched refs:KEY_SERVER_B (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_lookup.c | 65 static const __u32 KEY_SERVER_B = SERVER_B; variable 200 __u32 key = KEY_SERVER_B; in select_sock_b() 215 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_B); in sk_assign_eexist() 233 ret = SK_PASS; /* Success, redirect to KEY_SERVER_B */ in sk_assign_eexist() 256 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_B); in sk_assign_replace_flag() 265 ret = SK_PASS; /* Success, redirect to KEY_SERVER_B */ in sk_assign_replace_flag() 287 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_B); in sk_assign_null() 308 ret = SK_PASS; /* Success, redirect to KEY_SERVER_B */ in sk_assign_null() 352 sk2 = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_B); in access_ctx_sk() 367 ret = SK_PASS; /* Success, redirect to KEY_SERVER_B */ in access_ctx_sk() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_lookup.c | 65 static const __u32 KEY_SERVER_B = SERVER_B; variable 208 __u32 key = KEY_SERVER_B; in select_sock_b() 223 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_B); in sk_assign_eexist() 241 ret = SK_PASS; /* Success, redirect to KEY_SERVER_B */ in sk_assign_eexist() 264 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_B); in sk_assign_replace_flag() 273 ret = SK_PASS; /* Success, redirect to KEY_SERVER_B */ in sk_assign_replace_flag() 295 sk = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_B); in sk_assign_null() 316 ret = SK_PASS; /* Success, redirect to KEY_SERVER_B */ in sk_assign_null() 360 sk2 = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_B); in access_ctx_sk() 375 ret = SK_PASS; /* Success, redirect to KEY_SERVER_B */ in access_ctx_sk() [all...] |
Completed in 2 milliseconds