Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c281 *values_map_fd = -1; in syncookie_open_bpf_maps()
330 *values_map_fd = map_fd; in syncookie_open_bpf_maps()
340 if (*values_map_fd != -1 && *ports_map_fd != -1) { in syncookie_open_bpf_maps()
348 if (*values_map_fd != -1) in syncookie_open_bpf_maps()
349 close(*values_map_fd); in syncookie_open_bpf_maps()
352 *values_map_fd = -1; in syncookie_open_bpf_maps()
362 int values_map_fd, ports_map_fd; in main() local
392 err = syncookie_open_bpf_maps(prog_id, &values_map_fd, &ports_map_fd); in main()
432 err = bpf_map_update_elem(values_map_fd, &key, &tcpipopts, BPF_ANY); in main()
448 err = bpf_map_lookup_elem(values_map_fd, &key, &value); in main()
[all …]