Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_maps.c602 int map_fd_msg = 0, map_fd_rx = 0, map_fd_tx = 0, map_fd_break; in test_sockmap() local
788 map_fd_rx = bpf_map__fd(bpf_map_rx); in test_sockmap()
789 if (map_fd_rx < 0) { in test_sockmap()
837 err = bpf_prog_attach(parse_prog, map_fd_rx, in test_sockmap()
844 err = bpf_prog_attach(verdict_prog, map_fd_rx, in test_sockmap()
857 err = bpf_prog_attach(verdict_prog, map_fd_rx, in test_sockmap()
866 err = bpf_map_update_elem(map_fd_rx, &i, &sfd[i], BPF_ANY); in test_sockmap()
882 err = bpf_map_delete_elem(map_fd_rx, &i); in test_sockmap()
1018 bpf_map_delete_elem(map_fd_rx, &i); in test_sockmap()
1021 bpf_map_update_elem(map_fd_rx, &i, in test_sockmap()
[all …]