Lines Matching refs:keysets
43 if (kslist->keysets[idx] == VCAP_KFS_ETAG) in test_val_keyset()
44 return kslist->keysets[idx]; in test_val_keyset()
45 if (kslist->keysets[idx] == VCAP_KFS_PURE_5TUPLE_IP4) in test_val_keyset()
46 return kslist->keysets[idx]; in test_val_keyset()
47 if (kslist->keysets[idx] == VCAP_KFS_NORMAL_5TUPLE_IP4) in test_val_keyset()
48 return kslist->keysets[idx]; in test_val_keyset()
49 if (kslist->keysets[idx] == VCAP_KFS_NORMAL_7TUPLE) in test_val_keyset()
50 return kslist->keysets[idx]; in test_val_keyset()
55 if (kslist->keysets[idx] == VCAP_KFS_MAC_ETYPE) in test_val_keyset()
56 return kslist->keysets[idx]; in test_val_keyset()
57 if (kslist->keysets[idx] == VCAP_KFS_ARP) in test_val_keyset()
58 return kslist->keysets[idx]; in test_val_keyset()
59 if (kslist->keysets[idx] == VCAP_KFS_IP_7TUPLE) in test_val_keyset()
60 return kslist->keysets[idx]; in test_val_keyset()
1218 enum vcap_keyfield_set keysets[10] = {}; in vcap_api_rule_find_keyset_basic_test() enum
1220 matches.keysets = keysets; in vcap_api_rule_find_keyset_basic_test()
1221 matches.max = ARRAY_SIZE(keysets); in vcap_api_rule_find_keyset_basic_test()
1231 KUNIT_EXPECT_EQ(test, VCAP_KFS_MAC_ETYPE, matches.keysets[0]); in vcap_api_rule_find_keyset_basic_test()
1265 enum vcap_keyfield_set keysets[10] = {}; in vcap_api_rule_find_keyset_failed_test() enum
1267 matches.keysets = keysets; in vcap_api_rule_find_keyset_failed_test()
1268 matches.max = ARRAY_SIZE(keysets); in vcap_api_rule_find_keyset_failed_test()
1278 KUNIT_EXPECT_EQ(test, VCAP_KFS_NO_VALUE, matches.keysets[0]); in vcap_api_rule_find_keyset_failed_test()
1312 enum vcap_keyfield_set keysets[10] = {}; in vcap_api_rule_find_keyset_many_test() enum
1314 matches.keysets = keysets; in vcap_api_rule_find_keyset_many_test()
1315 matches.max = ARRAY_SIZE(keysets); in vcap_api_rule_find_keyset_many_test()
1325 KUNIT_EXPECT_EQ(test, VCAP_KFS_ARP, matches.keysets[0]); in vcap_api_rule_find_keyset_many_test()
1326 KUNIT_EXPECT_EQ(test, VCAP_KFS_IP4_OTHER, matches.keysets[1]); in vcap_api_rule_find_keyset_many_test()
1327 KUNIT_EXPECT_EQ(test, VCAP_KFS_IP4_TCP_UDP, matches.keysets[2]); in vcap_api_rule_find_keyset_many_test()
1328 KUNIT_EXPECT_EQ(test, VCAP_KFS_IP6_STD, matches.keysets[3]); in vcap_api_rule_find_keyset_many_test()
1329 KUNIT_EXPECT_EQ(test, VCAP_KFS_IP_7TUPLE, matches.keysets[4]); in vcap_api_rule_find_keyset_many_test()
1330 KUNIT_EXPECT_EQ(test, VCAP_KFS_MAC_ETYPE, matches.keysets[5]); in vcap_api_rule_find_keyset_many_test()