Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsk_assign.c269 int server_map; in test_sk_assign() local
284 server_map = bpf_obj_get(SERVER_MAP_PATH); in test_sk_assign()
285 if (CHECK_FAIL(server_map < 0)) { in test_sk_assign()
304 err = bpf_map_update_elem(server_map, &zero, &server, BPF_ANY); in test_sk_assign()
322 close(server_map); in test_sk_assign()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_sk_assign.c31 } server_map SEC("maps") = {
112 sk = bpf_map_lookup_elem(&server_map, &zero); in handle_udp()
147 sk = bpf_map_lookup_elem(&server_map, &zero); in handle_tcp()