Home
last modified time | relevance | path

Searched defs:tap_fd (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_redirect.c159 static void send_and_capture_test_packets(const char *test_name, int tap_fd, in send_and_capture_test_packets()
196 int tap_fd = -1; in setup_redirect_target() local
230 int tap_fd = -1; in test_lwt_redirect_normal() local
244 int tap_fd = -1; in test_lwt_redirect_normal_nomac() local
261 int tap_fd = -1; in __test_lwt_redirect_dev_down() local
292 int tap_fd = -1; in test_lwt_redirect_dev_carrier_down() local
H A Dflow_dissector.c537 static void run_tests_skb_less(int tap_fd, struct bpf_map *keys) in run_tests_skb_less()
578 static void test_skb_less_prog_attach(struct bpf_flow *skel, int tap_fd) in test_skb_less_prog_attach()
596 static void test_skb_less_link_create(struct bpf_flow *skel, int tap_fd) in test_skb_less_link_create()
619 int i, err, prog_fd, keys_fd = -1, tap_fd; in test_flow_dissector() local
H A Dlwt_reroute.c153 int tap_fd = -1; in setup() local
/openbmc/qemu/net/
H A Dtap-solaris.c64 int tap_fd, if_fd, ppa = -1; in tap_alloc() local