Searched refs:local_ip_map_fd (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_tunnel.c | 404 int local_ip_map_fd = -1; in test_vxlan_tunnel() local 462 local_ip_map_fd = bpf_map__fd(skel->maps.local_ip_map); in test_vxlan_tunnel() 463 if (!ASSERT_GE(local_ip_map_fd, 0, "bpf_map__fd")) in test_vxlan_tunnel() 466 err = bpf_map_update_elem(local_ip_map_fd, &key, &local_ip, BPF_ANY); in test_vxlan_tunnel() 478 if (local_ip_map_fd >= 0) in test_vxlan_tunnel() 479 close(local_ip_map_fd); in test_vxlan_tunnel() 488 int local_ip_map_fd = -1; in test_ip6vxlan_tunnel() local 535 local_ip_map_fd = bpf_map__fd(skel->maps.local_ip_map); in test_ip6vxlan_tunnel() 536 if (!ASSERT_GE(local_ip_map_fd, 0, "get local_ip_map fd")) in test_ip6vxlan_tunnel() 539 err = bpf_map_update_elem(local_ip_map_fd, &key, &local_ip, BPF_ANY); in test_ip6vxlan_tunnel() [all …]
|