Lines Matching refs:actionset
692 enum vcap_type vt, enum vcap_actionfield_set actionset) in vcap_actionfields() argument
695 if (actionset >= vctrl->vcaps[vt].actionfield_set_size) in vcap_actionfields()
697 return vctrl->vcaps[vt].actionfield_set_map[actionset]; in vcap_actionfields()
702 enum vcap_type vt, enum vcap_actionfield_set actionset) in vcap_actionfieldset() argument
707 if (actionset >= vctrl->vcaps[vt].actionfield_set_size) in vcap_actionfieldset()
709 aset = &vctrl->vcaps[vt].actionfield_set[actionset]; in vcap_actionfieldset()
718 enum vcap_type vt, enum vcap_actionfield_set actionset) in vcap_actionfield_typegroup() argument
720 const struct vcap_set *aset = vcap_actionfieldset(vctrl, vt, actionset); in vcap_actionfield_typegroup()
731 enum vcap_actionfield_set actionset) in vcap_actionfield_count() argument
734 if (actionset >= vctrl->vcaps[vt].actionfield_set_size) in vcap_actionfield_count()
736 return vctrl->vcaps[vt].actionfield_set_map_size[actionset]; in vcap_actionfield_count()
803 ri->data.actionset); in vcap_encode_rule_actionset()
806 __func__, __LINE__, ri->data.actionset); in vcap_encode_rule_actionset()
811 ri->data.actionset); in vcap_encode_rule_actionset()
814 __func__, __LINE__, ri->data.actionset); in vcap_encode_rule_actionset()
819 ri->data.actionset); in vcap_encode_rule_actionset()
822 __func__, __LINE__, ri->data.actionset); in vcap_encode_rule_actionset()
905 enum vcap_actionfield_set actionset) in vcap_set_rule_set_actionset() argument
911 aset = vcap_actionfieldset(ri->vctrl, ri->admin->vtype, actionset); in vcap_set_rule_set_actionset()
918 ri->data.actionset = actionset; in vcap_set_rule_set_actionset()
1329 enum vcap_actionfield_set actionset) in vcap_verify_actionstream_actionset() argument
1335 if (vcap_actionfield_count(vctrl, vt, actionset) == 0) in vcap_verify_actionstream_actionset()
1338 info = vcap_actionfieldset(vctrl, vt, actionset); in vcap_verify_actionstream_actionset()
1348 tgt = vcap_actionfield_typegroup(vctrl, vt, actionset); in vcap_verify_actionstream_actionset()
1352 fields = vcap_actionfields(vctrl, vt, actionset); in vcap_verify_actionstream_actionset()
1436 enum vcap_actionfield_set actionset; in vcap_decode_actionset() local
1451 actionset = res; in vcap_decode_actionset()
1452 actfield_count = vcap_actionfield_count(vctrl, vt, actionset); in vcap_decode_actionset()
1453 actionfield = vcap_actionfields(vctrl, vt, actionset); in vcap_decode_actionset()
1454 tgt = vcap_actionfield_typegroup(vctrl, vt, actionset); in vcap_decode_actionset()
1471 return vcap_set_rule_set_actionset((struct vcap_rule *)ri, actionset); in vcap_decode_actionset()
1746 enum vcap_actionfield_set actionset = rule->actionset; in vcap_add_type_actionfield() local
1753 aset = vcap_actionfieldset(ri->vctrl, vt, actionset); in vcap_add_type_actionfield()
1759 fields = vcap_actionfields(ri->vctrl, vt, actionset); in vcap_add_type_actionfield()
1795 enum vcap_actionfield_set actionset) in vcap_actionset_list_add() argument
1802 if (actionsetlist->actionsets[idx] == actionset) in vcap_actionset_list_add()
1804 actionsetlist->actionsets[actionsetlist->cnt++] = actionset; in vcap_actionset_list_add()
1827 enum vcap_actionfield_set actionset) in vcap_actionset_name() argument
1829 return vctrl->stats->actionfield_set_names[actionset]; in vcap_actionset_name()
1921 enum vcap_actionfield_set actionset, in vcap_find_actionset_actionfield() argument
1927 fields = vcap_actionfields(vctrl, vtype, actionset); in vcap_find_actionset_actionfield()
1932 count = vcap_actionfield_count(vctrl, vtype, actionset); in vcap_find_actionset_actionfield()
1948 int actionset, found, actioncount, map_size; in vcap_rule_find_actionsets() local
1964 for (actionset = 0; actionset < map_size; ++actionset) { in vcap_rule_find_actionsets()
1965 if (!map[actionset]) in vcap_rule_find_actionsets()
1972 actionset, in vcap_rule_find_actionsets()
1978 if (!vcap_actionset_list_add(matches, actionset)) in vcap_rule_find_actionsets()
2036 if (ri->data.actionset == VCAP_AFS_NO_VALUE) { in vcap_val_rule()
2359 ri->data.actionset = VCAP_AFS_NO_VALUE; in vcap_alloc_rule()
2823 enum vcap_actionfield_set actionset = rule->actionset; in vcap_actionfield_match_actionset() local
2829 if (actionset == VCAP_AFS_NO_VALUE) in vcap_actionfield_match_actionset()
2831 fields = vcap_actionfields(ri->vctrl, vt, actionset); in vcap_actionfield_match_actionset()