Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_context_test_run.c15 #define TAP_NAME "tap0" macro
352 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 …]