Lines Matching refs:test_vctrl
226 static struct vcap_control test_vctrl = { variable
235 INIT_LIST_HEAD(&test_vctrl.list); in vcap_test_api_init()
240 list_add_tail(&admin->list, &test_vctrl.list); in vcap_test_api_init()
288 rule = vcap_alloc_rule(&test_vctrl, &test_netdev, cid, user, priority, in test_vcap_xn_rule_creator()
594 .vctrl = &test_vctrl, in vcap_api_encode_keyfield_test()
655 .vctrl = &test_vctrl, in vcap_api_encode_max_keyfield_test()
718 .vctrl = &test_vctrl, in vcap_api_encode_actionfield_test()
754 tg = vcap_keyfield_typegroup(&test_vctrl, VCAP_TYPE_IS2, VCAP_KFS_MAC_ETYPE); in vcap_api_keyfield_typegroup_test()
766 tg = vcap_keyfield_typegroup(&test_vctrl, VCAP_TYPE_ES2, VCAP_KFS_LL_FULL); in vcap_api_keyfield_typegroup_test()
774 tg = vcap_actionfield_typegroup(&test_vctrl, VCAP_TYPE_IS0, VCAP_AFS_FULL); in vcap_api_actionfield_typegroup_test()
789 tg = vcap_actionfield_typegroup(&test_vctrl, VCAP_TYPE_IS2, VCAP_AFS_CLASSIFICATION); in vcap_api_actionfield_typegroup_test()
797 ft = vcap_keyfields(&test_vctrl, VCAP_TYPE_IS2, VCAP_KFS_MAC_ETYPE); in vcap_api_vcap_keyfields_test()
801 ft = vcap_keyfields(&test_vctrl, VCAP_TYPE_ES2, VCAP_KFS_PURE_5TUPLE_IP4); in vcap_api_vcap_keyfields_test()
805 ft = vcap_keyfields(&test_vctrl, VCAP_TYPE_ES2, VCAP_KFS_LL_FULL); in vcap_api_vcap_keyfields_test()
813 ft = vcap_actionfields(&test_vctrl, VCAP_TYPE_IS0, VCAP_AFS_FULL); in vcap_api_vcap_actionfields_test()
816 ft = vcap_actionfields(&test_vctrl, VCAP_TYPE_IS2, VCAP_AFS_FULL); in vcap_api_vcap_actionfields_test()
819 ft = vcap_actionfields(&test_vctrl, VCAP_TYPE_IS2, VCAP_AFS_CLASSIFICATION); in vcap_api_vcap_actionfields_test()
839 .vctrl = &test_vctrl, in vcap_api_encode_rule_keyset_test()
949 .vctrl = &test_vctrl, in vcap_api_encode_rule_actionset_test()
1017 .vctrl = &test_vctrl, in vcap_api_rule_add_keyvalue_test()
1192 .vctrl = &test_vctrl, in vcap_api_rule_find_keyset_basic_test()
1239 .vctrl = &test_vctrl, in vcap_api_rule_find_keyset_failed_test()
1286 .vctrl = &test_vctrl, in vcap_api_rule_find_keyset_many_test()
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()
1466 .vctrl = &test_vctrl, in vcap_api_set_rule_counter_test()
1475 .vctrl = &test_vctrl, in vcap_api_set_rule_counter_test()
1519 .vctrl = &test_vctrl, in vcap_api_get_rule_counter_test()
1528 .vctrl = &test_vctrl, in vcap_api_get_rule_counter_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()
1893 list_add_tail(&admin2.list, &test_vctrl.list); in vcap_api_next_lookup_basic_test()
1895 ret = vcap_is_next_lookup(&test_vctrl, 8000000, 1001000); in vcap_api_next_lookup_basic_test()
1897 ret = vcap_is_next_lookup(&test_vctrl, 8000000, 8001000); in vcap_api_next_lookup_basic_test()
1899 ret = vcap_is_next_lookup(&test_vctrl, 8000000, 8101000); in vcap_api_next_lookup_basic_test()
1902 ret = vcap_is_next_lookup(&test_vctrl, 8100000, 8101000); in vcap_api_next_lookup_basic_test()
1904 ret = vcap_is_next_lookup(&test_vctrl, 8100000, 8201000); in vcap_api_next_lookup_basic_test()
1907 ret = vcap_is_next_lookup(&test_vctrl, 8200000, 8201000); in vcap_api_next_lookup_basic_test()
1909 ret = vcap_is_next_lookup(&test_vctrl, 8200000, 8301000); in vcap_api_next_lookup_basic_test()
1912 ret = vcap_is_next_lookup(&test_vctrl, 8300000, 8301000); in vcap_api_next_lookup_basic_test()
1914 ret = vcap_is_next_lookup(&test_vctrl, 8300000, 8401000); in vcap_api_next_lookup_basic_test()
1961 list_add_tail(&admin[1].list, &test_vctrl.list); in vcap_api_next_lookup_advanced_test()
1962 list_add_tail(&admin[2].list, &test_vctrl.list); in vcap_api_next_lookup_advanced_test()
1963 list_add_tail(&admin[3].list, &test_vctrl.list); in vcap_api_next_lookup_advanced_test()
1964 list_add_tail(&admin[4].list, &test_vctrl.list); in vcap_api_next_lookup_advanced_test()
1966 ret = vcap_is_next_lookup(&test_vctrl, 1000000, 1001000); in vcap_api_next_lookup_advanced_test()
1968 ret = vcap_is_next_lookup(&test_vctrl, 1000000, 1101000); in vcap_api_next_lookup_advanced_test()
1971 ret = vcap_is_next_lookup(&test_vctrl, 1100000, 1201000); in vcap_api_next_lookup_advanced_test()
1973 ret = vcap_is_next_lookup(&test_vctrl, 1100000, 1301000); in vcap_api_next_lookup_advanced_test()
1975 ret = vcap_is_next_lookup(&test_vctrl, 1100000, 8101000); in vcap_api_next_lookup_advanced_test()
1977 ret = vcap_is_next_lookup(&test_vctrl, 1300000, 1401000); in vcap_api_next_lookup_advanced_test()
1979 ret = vcap_is_next_lookup(&test_vctrl, 1400000, 1501000); in vcap_api_next_lookup_advanced_test()
1981 ret = vcap_is_next_lookup(&test_vctrl, 1500000, 8001000); in vcap_api_next_lookup_advanced_test()
1984 ret = vcap_is_next_lookup(&test_vctrl, 8000000, 8001000); in vcap_api_next_lookup_advanced_test()
1986 ret = vcap_is_next_lookup(&test_vctrl, 8000000, 8101000); in vcap_api_next_lookup_advanced_test()
1989 ret = vcap_is_next_lookup(&test_vctrl, 8300000, 8301000); in vcap_api_next_lookup_advanced_test()
1991 ret = vcap_is_next_lookup(&test_vctrl, 8300000, 8401000); in vcap_api_next_lookup_advanced_test()
2002 .vctrl = &test_vctrl, in vcap_api_filter_unsupported_keys_test()
2069 .vctrl = &test_vctrl, in vcap_api_filter_keylist_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()