Home
last modified time | relevance | path

Searched refs:map_fd_msg (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
812 map_fd_msg = bpf_map__fd(bpf_map_msg); in test_sockmap()
813 if (map_fd_msg < 0) { in test_sockmap()
851 err = bpf_prog_attach(msg_prog, map_fd_msg, BPF_SK_MSG_VERDICT, 0); in test_sockmap()
898 err = bpf_map_update_elem(map_fd_msg, &i, &sfd[2], BPF_ANY); in test_sockmap()