Searched refs:TAP_NAME (Results 1 – 1 of 1) sorted by relevance
11 #define TAP_NAME "tap0" macro311 tap_fd = open_tuntap(TAP_NAME, true); in test_tuntap()315 SYS(close, "ip link set dev " TAP_NAME " up"); in test_tuntap()317 tap_ifindex = if_nametoindex(TAP_NAME); in test_tuntap()396 tap_fd = open_tuntap(TAP_NAME, true); in test_tuntap_mirred()400 SYS(close, "ip link set dev " TAP_NAME " up"); in test_tuntap_mirred()402 tap_ifindex = if_nametoindex(TAP_NAME); in test_tuntap_mirred()411 SYS(close, "tc qdisc add dev " TAP_NAME " clsact"); in test_tuntap_mirred()412 SYS(close, "tc filter add dev " TAP_NAME " ingress " in test_tuntap_mirred()