Lines Matching refs:test_netdev

25 static struct net_device test_netdev = {};  variable
288 rule = vcap_alloc_rule(&test_vctrl, &test_netdev, cid, user, priority, in test_vcap_xn_rule_creator()
1377 rule = vcap_alloc_rule(&test_vctrl, &test_netdev, vcap_chain_id, user, in vcap_api_encode_rule_test()
1426 ret = vcap_enable_lookups(&test_vctrl, &test_netdev, 0, in vcap_api_encode_rule_test()
1442 vcap_enable_lookups(&test_vctrl, &test_netdev, 0, 0, in vcap_api_encode_rule_test()
1445 ret = vcap_del_rule(&test_vctrl, &test_netdev, id); in vcap_api_encode_rule_test()
1593 vcap_del_rule(&test_vctrl, &test_netdev, 200); in vcap_api_rule_insert_in_order_test()
1594 vcap_del_rule(&test_vctrl, &test_netdev, 300); in vcap_api_rule_insert_in_order_test()
1595 vcap_del_rule(&test_vctrl, &test_netdev, 400); in vcap_api_rule_insert_in_order_test()
1596 vcap_del_rule(&test_vctrl, &test_netdev, 500); in vcap_api_rule_insert_in_order_test()
1656 vcap_del_rule(&test_vctrl, &test_netdev, 500); in vcap_api_rule_insert_reverse_order_test()
1657 vcap_del_rule(&test_vctrl, &test_netdev, 400); in vcap_api_rule_insert_reverse_order_test()
1658 vcap_del_rule(&test_vctrl, &test_netdev, 300); in vcap_api_rule_insert_reverse_order_test()
1659 vcap_del_rule(&test_vctrl, &test_netdev, 200); in vcap_api_rule_insert_reverse_order_test()
1697 ret = vcap_del_rule(&test_vctrl, &test_netdev, 200); in vcap_api_rule_remove_at_end_test()
1706 ret = vcap_del_rule(&test_vctrl, &test_netdev, 300); in vcap_api_rule_remove_at_end_test()
1715 ret = vcap_del_rule(&test_vctrl, &test_netdev, 400); in vcap_api_rule_remove_at_end_test()
1724 ret = vcap_del_rule(&test_vctrl, &test_netdev, 500); in vcap_api_rule_remove_at_end_test()
1769 ret = vcap_del_rule(&test_vctrl, &test_netdev, 400); in vcap_api_rule_remove_in_middle_test()
1779 ret = vcap_del_rule(&test_vctrl, &test_netdev, 300); in vcap_api_rule_remove_in_middle_test()
1789 ret = vcap_del_rule(&test_vctrl, &test_netdev, 500); in vcap_api_rule_remove_in_middle_test()
1799 ret = vcap_del_rule(&test_vctrl, &test_netdev, 200); in vcap_api_rule_remove_in_middle_test()
1838 ret = vcap_del_rule(&test_vctrl, &test_netdev, 500); in vcap_api_rule_remove_in_front_test()
1852 ret = vcap_del_rule(&test_vctrl, &test_netdev, 400); in vcap_api_rule_remove_in_front_test()
1861 vcap_del_rule(&test_vctrl, &test_netdev, 200); in vcap_api_rule_remove_in_front_test()
1862 vcap_del_rule(&test_vctrl, &test_netdev, 300); in vcap_api_rule_remove_in_front_test()
2198 .ndev = &test_netdev, in vcap_api_rule_chain_path_test()
2204 .ndev = &test_netdev, in vcap_api_rule_chain_path_test()
2210 .ndev = &test_netdev, in vcap_api_rule_chain_path_test()
2223 ret = vcap_path_exist(&test_vctrl, &test_netdev, 1000000); in vcap_api_rule_chain_path_test()
2226 ret = vcap_path_exist(&test_vctrl, &test_netdev, 1100000); in vcap_api_rule_chain_path_test()
2229 ret = vcap_path_exist(&test_vctrl, &test_netdev, 1200000); in vcap_api_rule_chain_path_test()
2232 chain = vcap_get_next_chain(&test_vctrl, &test_netdev, 0); in vcap_api_rule_chain_path_test()
2235 chain = vcap_get_next_chain(&test_vctrl, &test_netdev, 1000000); in vcap_api_rule_chain_path_test()
2238 chain = vcap_get_next_chain(&test_vctrl, &test_netdev, 1100000); in vcap_api_rule_chain_path_test()