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()
1215 enum vcap_keyfield_set keysets[10] = {}; in vcap_api_rule_find_keyset_basic_test() enum
1217 matches.keysets = keysets; in vcap_api_rule_find_keyset_basic_test()
1218 matches.max = ARRAY_SIZE(keysets); in vcap_api_rule_find_keyset_basic_test()
1228 KUNIT_EXPECT_EQ(test, VCAP_KFS_MAC_ETYPE, matches.keysets[0]); in vcap_api_rule_find_keyset_basic_test()
1262 enum vcap_keyfield_set keysets[10] = {}; in vcap_api_rule_find_keyset_failed_test() enum
1264 matches.keysets = keysets; in vcap_api_rule_find_keyset_failed_test()
1265 matches.max = ARRAY_SIZE(keysets); in vcap_api_rule_find_keyset_failed_test()
1275 KUNIT_EXPECT_EQ(test, VCAP_KFS_NO_VALUE, matches.keysets[0]); in vcap_api_rule_find_keyset_failed_test()
1309 enum vcap_keyfield_set keysets[10] = {}; in vcap_api_rule_find_keyset_many_test() enum
1311 matches.keysets = keysets; in vcap_api_rule_find_keyset_many_test()
1312 matches.max = ARRAY_SIZE(keysets); in vcap_api_rule_find_keyset_many_test()
1322 KUNIT_EXPECT_EQ(test, VCAP_KFS_ARP, matches.keysets[0]); in vcap_api_rule_find_keyset_many_test()
1323 KUNIT_EXPECT_EQ(test, VCAP_KFS_IP4_OTHER, matches.keysets[1]); in vcap_api_rule_find_keyset_many_test()
1324 KUNIT_EXPECT_EQ(test, VCAP_KFS_IP4_TCP_UDP, matches.keysets[2]); in vcap_api_rule_find_keyset_many_test()
1325 KUNIT_EXPECT_EQ(test, VCAP_KFS_IP6_STD, matches.keysets[3]); in vcap_api_rule_find_keyset_many_test()
1326 KUNIT_EXPECT_EQ(test, VCAP_KFS_IP_7TUPLE, matches.keysets[4]); in vcap_api_rule_find_keyset_many_test()
1327 KUNIT_EXPECT_EQ(test, VCAP_KFS_MAC_ETYPE, matches.keysets[5]); in vcap_api_rule_find_keyset_many_test()