Searched refs:tun_dev (Results 1 – 1 of 1) sorted by relevance
150 static int setup(const char *tun_dev) in setup() argument155 tap_fd = open_tuntap(tun_dev, false); in setup()159 target_index = if_nametoindex(tun_dev); in setup()167 SYS(fail, "ip link set %s up", tun_dev); in setup()174 SYS(fail, "ip route add t 100 default dev %s", tun_dev); in setup()186 const char *tun_dev = "tun0"; in test_lwt_reroute_normal_xmit() local195 tun_fd = setup(tun_dev); in test_lwt_reroute_normal_xmit()199 ifindex = if_nametoindex(tun_dev); in test_lwt_reroute_normal_xmit()219 const char *tun_dev = "tun0"; in test_lwt_reroute_qdisc_dropped() local224 tun_fd = setup(tun_dev); in test_lwt_reroute_qdisc_dropped()[all …]