Searched refs:tun_fd (Results 1 – 1 of 1) sorted by relevance
189 int tun_fd = -1; in test_lwt_reroute_normal_xmit() local197 tun_fd = setup(tun_dev); in test_lwt_reroute_normal_xmit()198 if (!ASSERT_GE(tun_fd, 0, "setup_reroute")) in test_lwt_reroute_normal_xmit()210 if (!ASSERT_EQ(wait_for_packet(tun_fd, __expect_icmp_ipv4, &timeo), 1, in test_lwt_reroute_normal_xmit()222 int tun_fd = -1; in test_lwt_reroute_qdisc_dropped() local226 tun_fd = setup(tun_dev); in test_lwt_reroute_qdisc_dropped()227 if (!ASSERT_GE(tun_fd, 0, "setup_reroute")) in test_lwt_reroute_qdisc_dropped()240 if (tun_fd >= 0) in test_lwt_reroute_qdisc_dropped()241 close(tun_fd); in test_lwt_reroute_qdisc_dropped()