Lines Matching refs:act

158 #define NEXT_ITEM_OF_ACTION(act, actions, index)\  argument
160 act = actions + index;\
161 while (act->type == RTE_FLOW_ACTION_TYPE_VOID) {\
163 act = actions + index;\
206 const struct rte_flow_action *act; in classify_parse_ntuple_filter() local
476 NEXT_ITEM_OF_ACTION(act, actions, index); in classify_parse_ntuple_filter()
477 switch (act->type) { in classify_parse_ntuple_filter()
480 count = act->conf; in classify_parse_ntuple_filter()
481 memcpy(&action.act.counter, count, sizeof(action.act.counter)); in classify_parse_ntuple_filter()
485 mark_spec = act->conf; in classify_parse_ntuple_filter()
486 memcpy(&action.act.mark, mark_spec, sizeof(action.act.mark)); in classify_parse_ntuple_filter()
491 RTE_FLOW_ERROR_TYPE_ACTION, act, in classify_parse_ntuple_filter()
498 NEXT_ITEM_OF_ACTION(act, actions, index); in classify_parse_ntuple_filter()
499 switch (act->type) { in classify_parse_ntuple_filter()
502 count = act->conf; in classify_parse_ntuple_filter()
503 memcpy(&action.act.counter, count, sizeof(action.act.counter)); in classify_parse_ntuple_filter()
507 mark_spec = act->conf; in classify_parse_ntuple_filter()
508 memcpy(&action.act.mark, mark_spec, sizeof(action.act.mark)); in classify_parse_ntuple_filter()
515 RTE_FLOW_ERROR_TYPE_ACTION, act, in classify_parse_ntuple_filter()
522 NEXT_ITEM_OF_ACTION(act, actions, index); in classify_parse_ntuple_filter()
523 if (act->type != RTE_FLOW_ACTION_TYPE_END) { in classify_parse_ntuple_filter()
526 RTE_FLOW_ERROR_TYPE_ACTION, act, in classify_parse_ntuple_filter()