Searched refs:TAP_NAME (Results 1 – 1 of 1) sorted by relevance
15 #define TAP_NAME "tap0" macro352 tap_fd = open_tuntap(TAP_NAME, true); in test_tuntap()356 SYS(close, "ip link set dev " TAP_NAME " up"); in test_tuntap()358 tap_ifindex = if_nametoindex(TAP_NAME); in test_tuntap()437 tap_fd = open_tuntap(TAP_NAME, true); in test_tuntap_mirred()441 SYS(close, "ip link set dev " TAP_NAME " up"); in test_tuntap_mirred()443 tap_ifindex = if_nametoindex(TAP_NAME); in test_tuntap_mirred()452 SYS(close, "tc qdisc add dev " TAP_NAME " clsact"); in test_tuntap_mirred()453 SYS(close, "tc filter add dev " TAP_NAME " ingress " in test_tuntap_mirred()632 tap_fd = open_tuntap(TAP_NAME, true); in test_lwt_encap()[all …]