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()
1185 enum vcap_keyfield_set keysets[10] = {}; in vcap_api_rule_find_keyset_basic_test() enum
1187 matches.keysets = keysets; in vcap_api_rule_find_keyset_basic_test()
1188 matches.max = ARRAY_SIZE(keysets); in vcap_api_rule_find_keyset_basic_test()
1198 KUNIT_EXPECT_EQ(test, VCAP_KFS_MAC_ETYPE, matches.keysets[0]); in vcap_api_rule_find_keyset_basic_test()
1232 enum vcap_keyfield_set keysets[10] = {}; in vcap_api_rule_find_keyset_failed_test() enum
1234 matches.keysets = keysets; in vcap_api_rule_find_keyset_failed_test()
1235 matches.max = ARRAY_SIZE(keysets); in vcap_api_rule_find_keyset_failed_test()
1245 KUNIT_EXPECT_EQ(test, VCAP_KFS_NO_VALUE, matches.keysets[0]); in vcap_api_rule_find_keyset_failed_test()
1279 enum vcap_keyfield_set keysets[10] = {}; in vcap_api_rule_find_keyset_many_test() enum
1281 matches.keysets = keysets; in vcap_api_rule_find_keyset_many_test()
1282 matches.max = ARRAY_SIZE(keysets); in vcap_api_rule_find_keyset_many_test()
1292 KUNIT_EXPECT_EQ(test, VCAP_KFS_ARP, matches.keysets[0]); in vcap_api_rule_find_keyset_many_test()
1293 KUNIT_EXPECT_EQ(test, VCAP_KFS_IP4_OTHER, matches.keysets[1]); in vcap_api_rule_find_keyset_many_test()
1294 KUNIT_EXPECT_EQ(test, VCAP_KFS_IP4_TCP_UDP, matches.keysets[2]); in vcap_api_rule_find_keyset_many_test()
1295 KUNIT_EXPECT_EQ(test, VCAP_KFS_IP6_STD, matches.keysets[3]); in vcap_api_rule_find_keyset_many_test()
1296 KUNIT_EXPECT_EQ(test, VCAP_KFS_IP_7TUPLE, matches.keysets[4]); in vcap_api_rule_find_keyset_many_test()
1297 KUNIT_EXPECT_EQ(test, VCAP_KFS_MAC_ETYPE, matches.keysets[5]); in vcap_api_rule_find_keyset_many_test()