Searched refs:tap_fd (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | flow_dissector.c | 478 static void run_tests_skb_less(int tap_fd, struct bpf_map *keys) in run_tests_skb_less() argument 502 err = tx_tap(tap_fd, &tests[i].pkt, sizeof(tests[i].pkt)); in run_tests_skb_less() 516 static void test_skb_less_prog_attach(struct bpf_flow *skel, int tap_fd) in test_skb_less_prog_attach() argument 528 run_tests_skb_less(tap_fd, skel->maps.last_dissection); in test_skb_less_prog_attach() 547 run_tests_skb_less(tap_fd, skel->maps.last_dissection); in test_skb_less_link_create() 557 int i, err, prog_fd, keys_fd = -1, tap_fd; in test_flow_dissector() local 606 tap_fd = create_tap("tap0"); in test_flow_dissector() 607 CHECK(tap_fd < 0, "create_tap", "tap_fd %d errno %d\n", tap_fd, errno); in test_flow_dissector() 612 test_skb_less_prog_attach(skel, tap_fd); in test_flow_dissector() 614 test_skb_less_link_create(skel, tap_fd); in test_flow_dissector() [all …]
|
Completed in 3 milliseconds