Lines Matching refs:kf

1020 	struct vcap_client_keyfield *kf;  in vcap_api_rule_add_keyvalue_test()  local
1033 kf = list_first_entry(&rule->keyfields, struct vcap_client_keyfield, in vcap_api_rule_add_keyvalue_test()
1035 KUNIT_EXPECT_EQ(test, VCAP_KF_LOOKUP_FIRST_IS, kf->ctrl.key); in vcap_api_rule_add_keyvalue_test()
1036 KUNIT_EXPECT_EQ(test, VCAP_FIELD_BIT, kf->ctrl.type); in vcap_api_rule_add_keyvalue_test()
1037 KUNIT_EXPECT_EQ(test, 0x0, kf->data.u1.value); in vcap_api_rule_add_keyvalue_test()
1038 KUNIT_EXPECT_EQ(test, 0x1, kf->data.u1.mask); in vcap_api_rule_add_keyvalue_test()
1046 kf = list_first_entry(&rule->keyfields, struct vcap_client_keyfield, in vcap_api_rule_add_keyvalue_test()
1048 KUNIT_EXPECT_EQ(test, VCAP_KF_LOOKUP_FIRST_IS, kf->ctrl.key); in vcap_api_rule_add_keyvalue_test()
1049 KUNIT_EXPECT_EQ(test, VCAP_FIELD_BIT, kf->ctrl.type); in vcap_api_rule_add_keyvalue_test()
1050 KUNIT_EXPECT_EQ(test, 0x1, kf->data.u1.value); in vcap_api_rule_add_keyvalue_test()
1051 KUNIT_EXPECT_EQ(test, 0x1, kf->data.u1.mask); in vcap_api_rule_add_keyvalue_test()
1060 kf = list_first_entry(&rule->keyfields, struct vcap_client_keyfield, in vcap_api_rule_add_keyvalue_test()
1062 KUNIT_EXPECT_EQ(test, VCAP_KF_LOOKUP_FIRST_IS, kf->ctrl.key); in vcap_api_rule_add_keyvalue_test()
1063 KUNIT_EXPECT_EQ(test, VCAP_FIELD_BIT, kf->ctrl.type); in vcap_api_rule_add_keyvalue_test()
1064 KUNIT_EXPECT_EQ(test, 0x0, kf->data.u1.value); in vcap_api_rule_add_keyvalue_test()
1065 KUNIT_EXPECT_EQ(test, 0x0, kf->data.u1.mask); in vcap_api_rule_add_keyvalue_test()
1073 kf = list_first_entry(&rule->keyfields, struct vcap_client_keyfield, in vcap_api_rule_add_keyvalue_test()
1075 KUNIT_EXPECT_EQ(test, VCAP_KF_TYPE, kf->ctrl.key); in vcap_api_rule_add_keyvalue_test()
1076 KUNIT_EXPECT_EQ(test, VCAP_FIELD_U32, kf->ctrl.type); in vcap_api_rule_add_keyvalue_test()
1077 KUNIT_EXPECT_EQ(test, 0x98765432, kf->data.u32.value); in vcap_api_rule_add_keyvalue_test()
1078 KUNIT_EXPECT_EQ(test, 0xff00ffab, kf->data.u32.mask); in vcap_api_rule_add_keyvalue_test()
1086 kf = list_first_entry(&rule->keyfields, struct vcap_client_keyfield, in vcap_api_rule_add_keyvalue_test()
1088 KUNIT_EXPECT_EQ(test, VCAP_KF_L3_IP6_SIP, kf->ctrl.key); in vcap_api_rule_add_keyvalue_test()
1089 KUNIT_EXPECT_EQ(test, VCAP_FIELD_U128, kf->ctrl.type); in vcap_api_rule_add_keyvalue_test()
1091 KUNIT_EXPECT_EQ(test, dip.value[idx], kf->data.u128.value[idx]); in vcap_api_rule_add_keyvalue_test()
1093 KUNIT_EXPECT_EQ(test, dip.mask[idx], kf->data.u128.mask[idx]); in vcap_api_rule_add_keyvalue_test()