Home
last modified time | relevance | path

Searched refs:tun_dev (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dlwt_reroute.c150 static int setup(const char *tun_dev) in setup() argument
155 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() local
195 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() local
224 tun_fd = setup(tun_dev); in test_lwt_reroute_qdisc_dropped()
[all …]