Searched refs:local_ip_map_fd (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_tunnel.c | 312 int local_ip_map_fd = -1; in test_vxlan_tunnel() local 370 local_ip_map_fd = bpf_map__fd(skel->maps.local_ip_map); in test_vxlan_tunnel() 371 if (!ASSERT_GE(local_ip_map_fd, 0, "bpf_map__fd")) in test_vxlan_tunnel() 374 err = bpf_map_update_elem(local_ip_map_fd, &key, &local_ip, BPF_ANY); in test_vxlan_tunnel() 386 if (local_ip_map_fd >= 0) in test_vxlan_tunnel() 387 close(local_ip_map_fd); in test_vxlan_tunnel() 396 int local_ip_map_fd = -1; in test_ip6vxlan_tunnel() local 443 local_ip_map_fd = bpf_map__fd(skel->maps.local_ip_map); in test_ip6vxlan_tunnel() 444 if (!ASSERT_GE(local_ip_map_fd, 0, "get local_ip_map fd")) in test_ip6vxlan_tunnel() 447 err = bpf_map_update_elem(local_ip_map_fd, &key, &local_ip, BPF_ANY); in test_ip6vxlan_tunnel() [all …]
|